Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-neomagic 1.3.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-neomagic/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://gitlab.freedesktop.org/xorg/driver/xf86-video-neomagic/issues
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-neomagic'
    593 PACKAGE_TARNAME='xf86-video-neomagic'
    594 PACKAGE_VERSION='1.3.0'
    595 PACKAGE_STRING='xf86-video-neomagic 1.3.0'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-neomagic/issues'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 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 LT_SYS_LIBRARY_PATH
    651 OTOOL64
    652 OTOOL
    653 LIPO
    654 NMEDIT
    655 DSYMUTIL
    656 MANIFEST_TOOL
    657 RANLIB
    658 ac_ct_AR
    659 AR
    660 DLLTOOL
    661 OBJDUMP
    662 LN_S
    663 NM
    664 ac_ct_DUMPBIN
    665 DUMPBIN
    666 LD
    667 FGREP
    668 LIBTOOL
    669 MAN_SUBSTS
    670 XORG_MAN_PAGE
    671 ADMIN_MAN_DIR
    672 DRIVER_MAN_DIR
    673 MISC_MAN_DIR
    674 FILE_MAN_DIR
    675 LIB_MAN_DIR
    676 APP_MAN_DIR
    677 ADMIN_MAN_SUFFIX
    678 DRIVER_MAN_SUFFIX
    679 MISC_MAN_SUFFIX
    680 FILE_MAN_SUFFIX
    681 LIB_MAN_SUFFIX
    682 APP_MAN_SUFFIX
    683 SED
    684 host_os
    685 host_vendor
    686 host_cpu
    687 host
    688 build_os
    689 build_vendor
    690 build_cpu
    691 build
    692 INSTALL_CMD
    693 PKG_CONFIG_LIBDIR
    694 PKG_CONFIG_PATH
    695 PKG_CONFIG
    696 CHANGELOG_CMD
    697 STRICT_CFLAGS
    698 CWARNFLAGS
    699 BASE_CFLAGS
    700 EGREP
    701 GREP
    702 CPP
    703 am__fastdepCC_FALSE
    704 am__fastdepCC_TRUE
    705 CCDEPMODE
    706 am__nodep
    707 AMDEPBACKSLASH
    708 AMDEP_FALSE
    709 AMDEP_TRUE
    710 am__quote
    711 am__include
    712 DEPDIR
    713 OBJEXT
    714 EXEEXT
    715 ac_ct_CC
    716 CPPFLAGS
    717 LDFLAGS
    718 CFLAGS
    719 CC
    720 AM_BACKSLASH
    721 AM_DEFAULT_VERBOSITY
    722 AM_DEFAULT_V
    723 AM_V
    724 am__untar
    725 am__tar
    726 AMTAR
    727 am__leading_dot
    728 SET_MAKE
    729 AWK
    730 mkdir_p
    731 MKDIR_P
    732 INSTALL_STRIP_PROGRAM
    733 STRIP
    734 install_sh
    735 MAKEINFO
    736 AUTOHEADER
    737 AUTOMAKE
    738 AUTOCONF
    739 ACLOCAL
    740 VERSION
    741 PACKAGE
    742 CYGPATH_W
    743 am__isrc
    744 INSTALL_DATA
    745 INSTALL_SCRIPT
    746 INSTALL_PROGRAM
    747 target_alias
    748 host_alias
    749 build_alias
    750 LIBS
    751 ECHO_T
    752 ECHO_N
    753 ECHO_C
    754 DEFS
    755 mandir
    756 localedir
    757 libdir
    758 psdir
    759 pdfdir
    760 dvidir
    761 htmldir
    762 infodir
    763 docdir
    764 oldincludedir
    765 includedir
    766 runstatedir
    767 localstatedir
    768 sharedstatedir
    769 sysconfdir
    770 datadir
    771 datarootdir
    772 libexecdir
    773 sbindir
    774 bindir
    775 program_transform_name
    776 prefix
    777 exec_prefix
    778 PACKAGE_URL
    779 PACKAGE_BUGREPORT
    780 PACKAGE_STRING
    781 PACKAGE_VERSION
    782 PACKAGE_TARNAME
    783 PACKAGE_NAME
    784 PATH_SEPARATOR
    785 SHELL'
    786 ac_subst_files=''
    787 ac_user_opts='
    788 enable_option_checking
    789 enable_silent_rules
    790 enable_dependency_tracking
    791 enable_selective_werror
    792 enable_strict_compilation
    793 enable_static
    794 enable_shared
    795 with_pic
    796 enable_fast_install
    797 with_aix_soname
    798 with_gnu_ld
    799 with_sysroot
    800 enable_libtool_lock
    801 with_xorg_module_dir
    802 enable_xaa
    803 '
    804       ac_precious_vars='build_alias
    805 host_alias
    806 target_alias
    807 CC
    808 CFLAGS
    809 LDFLAGS
    810 LIBS
    811 CPPFLAGS
    812 CPP
    813 PKG_CONFIG
    814 PKG_CONFIG_PATH
    815 PKG_CONFIG_LIBDIR
    816 LT_SYS_LIBRARY_PATH
    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 runstatedir='${localstatedir}/run'
    860 includedir='${prefix}/include'
    861 oldincludedir='/usr/include'
    862 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    863 infodir='${datarootdir}/info'
    864 htmldir='${docdir}'
    865 dvidir='${docdir}'
    866 pdfdir='${docdir}'
    867 psdir='${docdir}'
    868 libdir='${exec_prefix}/lib'
    869 localedir='${datarootdir}/locale'
    870 mandir='${datarootdir}/man'
    871 
    872 ac_prev=
    873 ac_dashdash=
    874 for ac_option
    875 do
    876   # If the previous option needs an argument, assign it.
    877   if test -n "$ac_prev"; then
    878     eval $ac_prev=\$ac_option
    879     ac_prev=
    880     continue
    881   fi
    882 
    883   case $ac_option in
    884   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    885   *=)   ac_optarg= ;;
    886   *)    ac_optarg=yes ;;
    887   esac
    888 
    889   # Accept the important Cygnus configure options, so we can diagnose typos.
    890 
    891   case $ac_dashdash$ac_option in
    892   --)
    893     ac_dashdash=yes ;;
    894 
    895   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    896     ac_prev=bindir ;;
    897   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    898     bindir=$ac_optarg ;;
    899 
    900   -build | --build | --buil | --bui | --bu)
    901     ac_prev=build_alias ;;
    902   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    903     build_alias=$ac_optarg ;;
    904 
    905   -cache-file | --cache-file | --cache-fil | --cache-fi \
    906   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    907     ac_prev=cache_file ;;
    908   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    909   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    910     cache_file=$ac_optarg ;;
    911 
    912   --config-cache | -C)
    913     cache_file=config.cache ;;
    914 
    915   -datadir | --datadir | --datadi | --datad)
    916     ac_prev=datadir ;;
    917   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    918     datadir=$ac_optarg ;;
    919 
    920   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    921   | --dataroo | --dataro | --datar)
    922     ac_prev=datarootdir ;;
    923   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    924   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    925     datarootdir=$ac_optarg ;;
    926 
    927   -disable-* | --disable-*)
    928     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    929     # Reject names that are not valid shell variable names.
    930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    931       as_fn_error $? "invalid feature name: $ac_useropt"
    932     ac_useropt_orig=$ac_useropt
    933     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    934     case $ac_user_opts in
    935       *"
    936 "enable_$ac_useropt"
    937 "*) ;;
    938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    939 	 ac_unrecognized_sep=', ';;
    940     esac
    941     eval enable_$ac_useropt=no ;;
    942 
    943   -docdir | --docdir | --docdi | --doc | --do)
    944     ac_prev=docdir ;;
    945   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    946     docdir=$ac_optarg ;;
    947 
    948   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    949     ac_prev=dvidir ;;
    950   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    951     dvidir=$ac_optarg ;;
    952 
    953   -enable-* | --enable-*)
    954     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    955     # Reject names that are not valid shell variable names.
    956     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    957       as_fn_error $? "invalid feature name: $ac_useropt"
    958     ac_useropt_orig=$ac_useropt
    959     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    960     case $ac_user_opts in
    961       *"
    962 "enable_$ac_useropt"
    963 "*) ;;
    964       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    965 	 ac_unrecognized_sep=', ';;
    966     esac
    967     eval enable_$ac_useropt=\$ac_optarg ;;
    968 
    969   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    970   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    971   | --exec | --exe | --ex)
    972     ac_prev=exec_prefix ;;
    973   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    974   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    975   | --exec=* | --exe=* | --ex=*)
    976     exec_prefix=$ac_optarg ;;
    977 
    978   -gas | --gas | --ga | --g)
    979     # Obsolete; use --with-gas.
    980     with_gas=yes ;;
    981 
    982   -help | --help | --hel | --he | -h)
    983     ac_init_help=long ;;
    984   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    985     ac_init_help=recursive ;;
    986   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    987     ac_init_help=short ;;
    988 
    989   -host | --host | --hos | --ho)
    990     ac_prev=host_alias ;;
    991   -host=* | --host=* | --hos=* | --ho=*)
    992     host_alias=$ac_optarg ;;
    993 
    994   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    995     ac_prev=htmldir ;;
    996   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    997   | --ht=*)
    998     htmldir=$ac_optarg ;;
    999 
   1000   -includedir | --includedir | --includedi | --included | --include \
   1001   | --includ | --inclu | --incl | --inc)
   1002     ac_prev=includedir ;;
   1003   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1004   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1005     includedir=$ac_optarg ;;
   1006 
   1007   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1008     ac_prev=infodir ;;
   1009   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1010     infodir=$ac_optarg ;;
   1011 
   1012   -libdir | --libdir | --libdi | --libd)
   1013     ac_prev=libdir ;;
   1014   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1015     libdir=$ac_optarg ;;
   1016 
   1017   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1018   | --libexe | --libex | --libe)
   1019     ac_prev=libexecdir ;;
   1020   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1021   | --libexe=* | --libex=* | --libe=*)
   1022     libexecdir=$ac_optarg ;;
   1023 
   1024   -localedir | --localedir | --localedi | --localed | --locale)
   1025     ac_prev=localedir ;;
   1026   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1027     localedir=$ac_optarg ;;
   1028 
   1029   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1030   | --localstate | --localstat | --localsta | --localst | --locals)
   1031     ac_prev=localstatedir ;;
   1032   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1033   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1034     localstatedir=$ac_optarg ;;
   1035 
   1036   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1037     ac_prev=mandir ;;
   1038   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1039     mandir=$ac_optarg ;;
   1040 
   1041   -nfp | --nfp | --nf)
   1042     # Obsolete; use --without-fp.
   1043     with_fp=no ;;
   1044 
   1045   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1046   | --no-cr | --no-c | -n)
   1047     no_create=yes ;;
   1048 
   1049   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1050   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1051     no_recursion=yes ;;
   1052 
   1053   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1054   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1055   | --oldin | --oldi | --old | --ol | --o)
   1056     ac_prev=oldincludedir ;;
   1057   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1058   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1059   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1060     oldincludedir=$ac_optarg ;;
   1061 
   1062   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1063     ac_prev=prefix ;;
   1064   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1065     prefix=$ac_optarg ;;
   1066 
   1067   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1068   | --program-pre | --program-pr | --program-p)
   1069     ac_prev=program_prefix ;;
   1070   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1071   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1072     program_prefix=$ac_optarg ;;
   1073 
   1074   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1075   | --program-suf | --program-su | --program-s)
   1076     ac_prev=program_suffix ;;
   1077   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1078   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1079     program_suffix=$ac_optarg ;;
   1080 
   1081   -program-transform-name | --program-transform-name \
   1082   | --program-transform-nam | --program-transform-na \
   1083   | --program-transform-n | --program-transform- \
   1084   | --program-transform | --program-transfor \
   1085   | --program-transfo | --program-transf \
   1086   | --program-trans | --program-tran \
   1087   | --progr-tra | --program-tr | --program-t)
   1088     ac_prev=program_transform_name ;;
   1089   -program-transform-name=* | --program-transform-name=* \
   1090   | --program-transform-nam=* | --program-transform-na=* \
   1091   | --program-transform-n=* | --program-transform-=* \
   1092   | --program-transform=* | --program-transfor=* \
   1093   | --program-transfo=* | --program-transf=* \
   1094   | --program-trans=* | --program-tran=* \
   1095   | --progr-tra=* | --program-tr=* | --program-t=*)
   1096     program_transform_name=$ac_optarg ;;
   1097 
   1098   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1099     ac_prev=pdfdir ;;
   1100   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1101     pdfdir=$ac_optarg ;;
   1102 
   1103   -psdir | --psdir | --psdi | --psd | --ps)
   1104     ac_prev=psdir ;;
   1105   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1106     psdir=$ac_optarg ;;
   1107 
   1108   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1109   | -silent | --silent | --silen | --sile | --sil)
   1110     silent=yes ;;
   1111 
   1112   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1113   | --runstate | --runstat | --runsta | --runst | --runs \
   1114   | --run | --ru | --r)
   1115     ac_prev=runstatedir ;;
   1116   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1117   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1118   | --run=* | --ru=* | --r=*)
   1119     runstatedir=$ac_optarg ;;
   1120 
   1121   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1122     ac_prev=sbindir ;;
   1123   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1124   | --sbi=* | --sb=*)
   1125     sbindir=$ac_optarg ;;
   1126 
   1127   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1128   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1129   | --sharedst | --shareds | --shared | --share | --shar \
   1130   | --sha | --sh)
   1131     ac_prev=sharedstatedir ;;
   1132   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1133   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1134   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1135   | --sha=* | --sh=*)
   1136     sharedstatedir=$ac_optarg ;;
   1137 
   1138   -site | --site | --sit)
   1139     ac_prev=site ;;
   1140   -site=* | --site=* | --sit=*)
   1141     site=$ac_optarg ;;
   1142 
   1143   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1144     ac_prev=srcdir ;;
   1145   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1146     srcdir=$ac_optarg ;;
   1147 
   1148   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1149   | --syscon | --sysco | --sysc | --sys | --sy)
   1150     ac_prev=sysconfdir ;;
   1151   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1152   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1153     sysconfdir=$ac_optarg ;;
   1154 
   1155   -target | --target | --targe | --targ | --tar | --ta | --t)
   1156     ac_prev=target_alias ;;
   1157   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1158     target_alias=$ac_optarg ;;
   1159 
   1160   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1161     verbose=yes ;;
   1162 
   1163   -version | --version | --versio | --versi | --vers | -V)
   1164     ac_init_version=: ;;
   1165 
   1166   -with-* | --with-*)
   1167     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1168     # Reject names that are not valid shell variable names.
   1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1170       as_fn_error $? "invalid package name: $ac_useropt"
   1171     ac_useropt_orig=$ac_useropt
   1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1173     case $ac_user_opts in
   1174       *"
   1175 "with_$ac_useropt"
   1176 "*) ;;
   1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1178 	 ac_unrecognized_sep=', ';;
   1179     esac
   1180     eval with_$ac_useropt=\$ac_optarg ;;
   1181 
   1182   -without-* | --without-*)
   1183     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1184     # Reject names that are not valid shell variable names.
   1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1186       as_fn_error $? "invalid package name: $ac_useropt"
   1187     ac_useropt_orig=$ac_useropt
   1188     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1189     case $ac_user_opts in
   1190       *"
   1191 "with_$ac_useropt"
   1192 "*) ;;
   1193       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1194 	 ac_unrecognized_sep=', ';;
   1195     esac
   1196     eval with_$ac_useropt=no ;;
   1197 
   1198   --x)
   1199     # Obsolete; use --with-x.
   1200     with_x=yes ;;
   1201 
   1202   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1203   | --x-incl | --x-inc | --x-in | --x-i)
   1204     ac_prev=x_includes ;;
   1205   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1206   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1207     x_includes=$ac_optarg ;;
   1208 
   1209   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1210   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1211     ac_prev=x_libraries ;;
   1212   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1213   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1214     x_libraries=$ac_optarg ;;
   1215 
   1216   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1217 Try \`$0 --help' for more information"
   1218     ;;
   1219 
   1220   *=*)
   1221     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1222     # Reject names that are not valid shell variable names.
   1223     case $ac_envvar in #(
   1224       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1225       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1226     esac
   1227     eval $ac_envvar=\$ac_optarg
   1228     export $ac_envvar ;;
   1229 
   1230   *)
   1231     # FIXME: should be removed in autoconf 3.0.
   1232     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1233     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1234       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1235     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1236     ;;
   1237 
   1238   esac
   1239 done
   1240 
   1241 if test -n "$ac_prev"; then
   1242   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1243   as_fn_error $? "missing argument to $ac_option"
   1244 fi
   1245 
   1246 if test -n "$ac_unrecognized_opts"; then
   1247   case $enable_option_checking in
   1248     no) ;;
   1249     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1250     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1251   esac
   1252 fi
   1253 
   1254 # Check all directory arguments for consistency.
   1255 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1256 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1257 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1258 		libdir localedir mandir runstatedir
   1259 do
   1260   eval ac_val=\$$ac_var
   1261   # Remove trailing slashes.
   1262   case $ac_val in
   1263     */ )
   1264       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1265       eval $ac_var=\$ac_val;;
   1266   esac
   1267   # Be sure to have absolute directory names.
   1268   case $ac_val in
   1269     [\\/$]* | ?:[\\/]* )  continue;;
   1270     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1271   esac
   1272   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1273 done
   1274 
   1275 # There might be people who depend on the old broken behavior: `$host'
   1276 # used to hold the argument of --host etc.
   1277 # FIXME: To remove some day.
   1278 build=$build_alias
   1279 host=$host_alias
   1280 target=$target_alias
   1281 
   1282 # FIXME: To remove some day.
   1283 if test "x$host_alias" != x; then
   1284   if test "x$build_alias" = x; then
   1285     cross_compiling=maybe
   1286   elif test "x$build_alias" != "x$host_alias"; then
   1287     cross_compiling=yes
   1288   fi
   1289 fi
   1290 
   1291 ac_tool_prefix=
   1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1293 
   1294 test "$silent" = yes && exec 6>/dev/null
   1295 
   1296 
   1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1298 ac_ls_di=`ls -di .` &&
   1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1300   as_fn_error $? "working directory cannot be determined"
   1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1302   as_fn_error $? "pwd does not report name of working directory"
   1303 
   1304 
   1305 # Find the source files, if location was not specified.
   1306 if test -z "$srcdir"; then
   1307   ac_srcdir_defaulted=yes
   1308   # Try the directory containing this script, then the parent directory.
   1309   ac_confdir=`$as_dirname -- "$as_myself" ||
   1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1311 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1312 	 X"$as_myself" : 'X\(//\)$' \| \
   1313 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1314 $as_echo X"$as_myself" |
   1315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1316 	    s//\1/
   1317 	    q
   1318 	  }
   1319 	  /^X\(\/\/\)[^/].*/{
   1320 	    s//\1/
   1321 	    q
   1322 	  }
   1323 	  /^X\(\/\/\)$/{
   1324 	    s//\1/
   1325 	    q
   1326 	  }
   1327 	  /^X\(\/\).*/{
   1328 	    s//\1/
   1329 	    q
   1330 	  }
   1331 	  s/.*/./; q'`
   1332   srcdir=$ac_confdir
   1333   if test ! -r "$srcdir/$ac_unique_file"; then
   1334     srcdir=..
   1335   fi
   1336 else
   1337   ac_srcdir_defaulted=no
   1338 fi
   1339 if test ! -r "$srcdir/$ac_unique_file"; then
   1340   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1341   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1342 fi
   1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1344 ac_abs_confdir=`(
   1345 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1346 	pwd)`
   1347 # When building in place, set srcdir=.
   1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1349   srcdir=.
   1350 fi
   1351 # Remove unnecessary trailing slashes from srcdir.
   1352 # Double slashes in file names in object file debugging info
   1353 # mess up M-x gdb in Emacs.
   1354 case $srcdir in
   1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1356 esac
   1357 for ac_var in $ac_precious_vars; do
   1358   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1359   eval ac_env_${ac_var}_value=\$${ac_var}
   1360   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1361   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1362 done
   1363 
   1364 #
   1365 # Report the --help message.
   1366 #
   1367 if test "$ac_init_help" = "long"; then
   1368   # Omit some internal or obsolete options to make the list less imposing.
   1369   # This message is too long to be a string in the A/UX 3.1 sh.
   1370   cat <<_ACEOF
   1371 \`configure' configures xf86-video-neomagic 1.3.0 to adapt to many kinds of systems.
   1372 
   1373 Usage: $0 [OPTION]... [VAR=VALUE]...
   1374 
   1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1376 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1377 
   1378 Defaults for the options are specified in brackets.
   1379 
   1380 Configuration:
   1381   -h, --help              display this help and exit
   1382       --help=short        display options specific to this package
   1383       --help=recursive    display the short help of all the included packages
   1384   -V, --version           display version information and exit
   1385   -q, --quiet, --silent   do not print \`checking ...' messages
   1386       --cache-file=FILE   cache test results in FILE [disabled]
   1387   -C, --config-cache      alias for \`--cache-file=config.cache'
   1388   -n, --no-create         do not create output files
   1389       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1390 
   1391 Installation directories:
   1392   --prefix=PREFIX         install architecture-independent files in PREFIX
   1393                           [$ac_default_prefix]
   1394   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1395                           [PREFIX]
   1396 
   1397 By default, \`make install' will install all the files in
   1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1400 for instance \`--prefix=\$HOME'.
   1401 
   1402 For better control, use the options below.
   1403 
   1404 Fine tuning of the installation directories:
   1405   --bindir=DIR            user executables [EPREFIX/bin]
   1406   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1407   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1408   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1409   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1410   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1411   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1412   --libdir=DIR            object code libraries [EPREFIX/lib]
   1413   --includedir=DIR        C header files [PREFIX/include]
   1414   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1415   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1416   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1417   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1418   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1419   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1420   --docdir=DIR            documentation root
   1421                           [DATAROOTDIR/doc/xf86-video-neomagic]
   1422   --htmldir=DIR           html documentation [DOCDIR]
   1423   --dvidir=DIR            dvi documentation [DOCDIR]
   1424   --pdfdir=DIR            pdf documentation [DOCDIR]
   1425   --psdir=DIR             ps documentation [DOCDIR]
   1426 _ACEOF
   1427 
   1428   cat <<\_ACEOF
   1429 
   1430 Program names:
   1431   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1432   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1433   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1434 
   1435 System types:
   1436   --build=BUILD     configure for building on BUILD [guessed]
   1437   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1438 _ACEOF
   1439 fi
   1440 
   1441 if test -n "$ac_init_help"; then
   1442   case $ac_init_help in
   1443      short | recursive ) echo "Configuration of xf86-video-neomagic 1.3.0:";;
   1444    esac
   1445   cat <<\_ACEOF
   1446 
   1447 Optional Features:
   1448   --disable-option-checking  ignore unrecognized --enable/--with options
   1449   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1450   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1451   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1452   --disable-silent-rules  verbose build output (undo: "make V=0")
   1453   --enable-dependency-tracking
   1454                           do not reject slow dependency extractors
   1455   --disable-dependency-tracking
   1456                           speeds up one-time build
   1457   --disable-selective-werror
   1458                           Turn off selective compiler errors. (default:
   1459                           enabled)
   1460   --enable-strict-compilation
   1461                           Enable all warnings from compiler and make them
   1462                           errors (default: disabled)
   1463   --enable-static[=PKGS]  build static libraries [default=no]
   1464   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1465   --enable-fast-install[=PKGS]
   1466                           optimize for fast installation [default=yes]
   1467   --disable-libtool-lock  avoid locking (might break parallel builds)
   1468   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1469                           [default=auto]
   1470 
   1471 Optional Packages:
   1472   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1473   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1474   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1475                           both]
   1476   --with-aix-soname=aix|svr4|both
   1477                           shared library versioning (aka "SONAME") variant to
   1478                           provide on AIX, [default=aix].
   1479   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1480   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1481                           compiler's sysroot if not specified).
   1482   --with-xorg-module-dir=DIR
   1483                           Default xorg module directory
   1484                           [[default=$libdir/xorg/modules]]
   1485 
   1486 Some influential environment variables:
   1487   CC          C compiler command
   1488   CFLAGS      C compiler flags
   1489   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1490               nonstandard directory <lib dir>
   1491   LIBS        libraries to pass to the linker, e.g. -l<library>
   1492   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1493               you have headers in a nonstandard directory <include dir>
   1494   CPP         C preprocessor
   1495   PKG_CONFIG  path to pkg-config utility
   1496   PKG_CONFIG_PATH
   1497               directories to add to pkg-config's search path
   1498   PKG_CONFIG_LIBDIR
   1499               path overriding pkg-config's built-in search path
   1500   LT_SYS_LIBRARY_PATH
   1501               User-defined run-time library search path.
   1502   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1503   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1504   PCIACCESS_CFLAGS
   1505               C compiler flags for PCIACCESS, overriding pkg-config
   1506   PCIACCESS_LIBS
   1507               linker flags for PCIACCESS, overriding pkg-config
   1508 
   1509 Use these variables to override the choices made by `configure' or to help
   1510 it to find libraries and programs with nonstandard names/locations.
   1511 
   1512 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-neomagic/issues>.
   1513 _ACEOF
   1514 ac_status=$?
   1515 fi
   1516 
   1517 if test "$ac_init_help" = "recursive"; then
   1518   # If there are subdirs, report their specific --help.
   1519   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1520     test -d "$ac_dir" ||
   1521       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1522       continue
   1523     ac_builddir=.
   1524 
   1525 case "$ac_dir" in
   1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1527 *)
   1528   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1529   # A ".." for each directory in $ac_dir_suffix.
   1530   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1531   case $ac_top_builddir_sub in
   1532   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1533   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1534   esac ;;
   1535 esac
   1536 ac_abs_top_builddir=$ac_pwd
   1537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1538 # for backward compatibility:
   1539 ac_top_builddir=$ac_top_build_prefix
   1540 
   1541 case $srcdir in
   1542   .)  # We are building in place.
   1543     ac_srcdir=.
   1544     ac_top_srcdir=$ac_top_builddir_sub
   1545     ac_abs_top_srcdir=$ac_pwd ;;
   1546   [\\/]* | ?:[\\/]* )  # Absolute name.
   1547     ac_srcdir=$srcdir$ac_dir_suffix;
   1548     ac_top_srcdir=$srcdir
   1549     ac_abs_top_srcdir=$srcdir ;;
   1550   *) # Relative name.
   1551     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1552     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1553     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1554 esac
   1555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1556 
   1557     cd "$ac_dir" || { ac_status=$?; continue; }
   1558     # Check for guested configure.
   1559     if test -f "$ac_srcdir/configure.gnu"; then
   1560       echo &&
   1561       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1562     elif test -f "$ac_srcdir/configure"; then
   1563       echo &&
   1564       $SHELL "$ac_srcdir/configure" --help=recursive
   1565     else
   1566       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1567     fi || ac_status=$?
   1568     cd "$ac_pwd" || { ac_status=$?; break; }
   1569   done
   1570 fi
   1571 
   1572 test -n "$ac_init_help" && exit $ac_status
   1573 if $ac_init_version; then
   1574   cat <<\_ACEOF
   1575 xf86-video-neomagic configure 1.3.0
   1576 generated by GNU Autoconf 2.69
   1577 
   1578 Copyright (C) 2012 Free Software Foundation, Inc.
   1579 This configure script is free software; the Free Software Foundation
   1580 gives unlimited permission to copy, distribute and modify it.
   1581 _ACEOF
   1582   exit
   1583 fi
   1584 
   1585 ## ------------------------ ##
   1586 ## Autoconf initialization. ##
   1587 ## ------------------------ ##
   1588 
   1589 # ac_fn_c_try_compile LINENO
   1590 # --------------------------
   1591 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1592 ac_fn_c_try_compile ()
   1593 {
   1594   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1595   rm -f conftest.$ac_objext
   1596   if { { ac_try="$ac_compile"
   1597 case "(($ac_try" in
   1598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1599   *) ac_try_echo=$ac_try;;
   1600 esac
   1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1602 $as_echo "$ac_try_echo"; } >&5
   1603   (eval "$ac_compile") 2>conftest.err
   1604   ac_status=$?
   1605   if test -s conftest.err; then
   1606     grep -v '^ *+' conftest.err >conftest.er1
   1607     cat conftest.er1 >&5
   1608     mv -f conftest.er1 conftest.err
   1609   fi
   1610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1611   test $ac_status = 0; } && {
   1612 	 test -z "$ac_c_werror_flag" ||
   1613 	 test ! -s conftest.err
   1614        } && test -s conftest.$ac_objext; then :
   1615   ac_retval=0
   1616 else
   1617   $as_echo "$as_me: failed program was:" >&5
   1618 sed 's/^/| /' conftest.$ac_ext >&5
   1619 
   1620 	ac_retval=1
   1621 fi
   1622   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1623   as_fn_set_status $ac_retval
   1624 
   1625 } # ac_fn_c_try_compile
   1626 
   1627 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1628 # ---------------------------------------------
   1629 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1630 # accordingly.
   1631 ac_fn_c_check_decl ()
   1632 {
   1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1634   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1635   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1637 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1638 if eval \${$3+:} false; then :
   1639   $as_echo_n "(cached) " >&6
   1640 else
   1641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1642 /* end confdefs.h.  */
   1643 $4
   1644 int
   1645 main ()
   1646 {
   1647 #ifndef $as_decl_name
   1648 #ifdef __cplusplus
   1649   (void) $as_decl_use;
   1650 #else
   1651   (void) $as_decl_name;
   1652 #endif
   1653 #endif
   1654 
   1655   ;
   1656   return 0;
   1657 }
   1658 _ACEOF
   1659 if ac_fn_c_try_compile "$LINENO"; then :
   1660   eval "$3=yes"
   1661 else
   1662   eval "$3=no"
   1663 fi
   1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1665 fi
   1666 eval ac_res=\$$3
   1667 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1668 $as_echo "$ac_res" >&6; }
   1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670 
   1671 } # ac_fn_c_check_decl
   1672 
   1673 # ac_fn_c_try_cpp LINENO
   1674 # ----------------------
   1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1676 ac_fn_c_try_cpp ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1680 case "(($ac_try" in
   1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1682   *) ac_try_echo=$ac_try;;
   1683 esac
   1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1685 $as_echo "$ac_try_echo"; } >&5
   1686   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1687   ac_status=$?
   1688   if test -s conftest.err; then
   1689     grep -v '^ *+' conftest.err >conftest.er1
   1690     cat conftest.er1 >&5
   1691     mv -f conftest.er1 conftest.err
   1692   fi
   1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1694   test $ac_status = 0; } > conftest.i && {
   1695 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1696 	 test ! -s conftest.err
   1697        }; then :
   1698   ac_retval=0
   1699 else
   1700   $as_echo "$as_me: failed program was:" >&5
   1701 sed 's/^/| /' conftest.$ac_ext >&5
   1702 
   1703     ac_retval=1
   1704 fi
   1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1706   as_fn_set_status $ac_retval
   1707 
   1708 } # ac_fn_c_try_cpp
   1709 
   1710 # ac_fn_c_try_run LINENO
   1711 # ----------------------
   1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1713 # that executables *can* be run.
   1714 ac_fn_c_try_run ()
   1715 {
   1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1717   if { { ac_try="$ac_link"
   1718 case "(($ac_try" in
   1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1720   *) ac_try_echo=$ac_try;;
   1721 esac
   1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1723 $as_echo "$ac_try_echo"; } >&5
   1724   (eval "$ac_link") 2>&5
   1725   ac_status=$?
   1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1727   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1728   { { case "(($ac_try" in
   1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1730   *) ac_try_echo=$ac_try;;
   1731 esac
   1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1733 $as_echo "$ac_try_echo"; } >&5
   1734   (eval "$ac_try") 2>&5
   1735   ac_status=$?
   1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1737   test $ac_status = 0; }; }; then :
   1738   ac_retval=0
   1739 else
   1740   $as_echo "$as_me: program exited with status $ac_status" >&5
   1741        $as_echo "$as_me: failed program was:" >&5
   1742 sed 's/^/| /' conftest.$ac_ext >&5
   1743 
   1744        ac_retval=$ac_status
   1745 fi
   1746   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1748   as_fn_set_status $ac_retval
   1749 
   1750 } # ac_fn_c_try_run
   1751 
   1752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1753 # -------------------------------------------------------
   1754 # Tests whether HEADER exists and can be compiled using the include files in
   1755 # INCLUDES, setting the cache variable VAR accordingly.
   1756 ac_fn_c_check_header_compile ()
   1757 {
   1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1760 $as_echo_n "checking for $2... " >&6; }
   1761 if eval \${$3+:} false; then :
   1762   $as_echo_n "(cached) " >&6
   1763 else
   1764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1765 /* end confdefs.h.  */
   1766 $4
   1767 #include <$2>
   1768 _ACEOF
   1769 if ac_fn_c_try_compile "$LINENO"; then :
   1770   eval "$3=yes"
   1771 else
   1772   eval "$3=no"
   1773 fi
   1774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1775 fi
   1776 eval ac_res=\$$3
   1777 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1778 $as_echo "$ac_res" >&6; }
   1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1780 
   1781 } # ac_fn_c_check_header_compile
   1782 
   1783 # ac_fn_c_try_link LINENO
   1784 # -----------------------
   1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1786 ac_fn_c_try_link ()
   1787 {
   1788   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1789   rm -f conftest.$ac_objext conftest$ac_exeext
   1790   if { { ac_try="$ac_link"
   1791 case "(($ac_try" in
   1792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1793   *) ac_try_echo=$ac_try;;
   1794 esac
   1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1796 $as_echo "$ac_try_echo"; } >&5
   1797   (eval "$ac_link") 2>conftest.err
   1798   ac_status=$?
   1799   if test -s conftest.err; then
   1800     grep -v '^ *+' conftest.err >conftest.er1
   1801     cat conftest.er1 >&5
   1802     mv -f conftest.er1 conftest.err
   1803   fi
   1804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1805   test $ac_status = 0; } && {
   1806 	 test -z "$ac_c_werror_flag" ||
   1807 	 test ! -s conftest.err
   1808        } && test -s conftest$ac_exeext && {
   1809 	 test "$cross_compiling" = yes ||
   1810 	 test -x conftest$ac_exeext
   1811        }; then :
   1812   ac_retval=0
   1813 else
   1814   $as_echo "$as_me: failed program was:" >&5
   1815 sed 's/^/| /' conftest.$ac_ext >&5
   1816 
   1817 	ac_retval=1
   1818 fi
   1819   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1820   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1821   # interfere with the next link command; also delete a directory that is
   1822   # left behind by Apple's compiler.  We do this before executing the actions.
   1823   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1825   as_fn_set_status $ac_retval
   1826 
   1827 } # ac_fn_c_try_link
   1828 
   1829 # ac_fn_c_check_func LINENO FUNC VAR
   1830 # ----------------------------------
   1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1832 ac_fn_c_check_func ()
   1833 {
   1834   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1836 $as_echo_n "checking for $2... " >&6; }
   1837 if eval \${$3+:} false; then :
   1838   $as_echo_n "(cached) " >&6
   1839 else
   1840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1841 /* end confdefs.h.  */
   1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1844 #define $2 innocuous_$2
   1845 
   1846 /* System header to define __stub macros and hopefully few prototypes,
   1847     which can conflict with char $2 (); below.
   1848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1849     <limits.h> exists even on freestanding compilers.  */
   1850 
   1851 #ifdef __STDC__
   1852 # include <limits.h>
   1853 #else
   1854 # include <assert.h>
   1855 #endif
   1856 
   1857 #undef $2
   1858 
   1859 /* Override any GCC internal prototype to avoid an error.
   1860    Use char because int might match the return type of a GCC
   1861    builtin and then its argument prototype would still apply.  */
   1862 #ifdef __cplusplus
   1863 extern "C"
   1864 #endif
   1865 char $2 ();
   1866 /* The GNU C library defines this for functions which it implements
   1867     to always fail with ENOSYS.  Some functions are actually named
   1868     something starting with __ and the normal name is an alias.  */
   1869 #if defined __stub_$2 || defined __stub___$2
   1870 choke me
   1871 #endif
   1872 
   1873 int
   1874 main ()
   1875 {
   1876 return $2 ();
   1877   ;
   1878   return 0;
   1879 }
   1880 _ACEOF
   1881 if ac_fn_c_try_link "$LINENO"; then :
   1882   eval "$3=yes"
   1883 else
   1884   eval "$3=no"
   1885 fi
   1886 rm -f core conftest.err conftest.$ac_objext \
   1887     conftest$ac_exeext conftest.$ac_ext
   1888 fi
   1889 eval ac_res=\$$3
   1890 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1891 $as_echo "$ac_res" >&6; }
   1892   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1893 
   1894 } # ac_fn_c_check_func
   1895 
   1896 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1897 # -------------------------------------------------------
   1898 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1899 # the include files in INCLUDES and setting the cache variable VAR
   1900 # accordingly.
   1901 ac_fn_c_check_header_mongrel ()
   1902 {
   1903   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1904   if eval \${$3+:} false; then :
   1905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1906 $as_echo_n "checking for $2... " >&6; }
   1907 if eval \${$3+:} false; then :
   1908   $as_echo_n "(cached) " >&6
   1909 fi
   1910 eval ac_res=\$$3
   1911 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1912 $as_echo "$ac_res" >&6; }
   1913 else
   1914   # Is the header compilable?
   1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1916 $as_echo_n "checking $2 usability... " >&6; }
   1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1918 /* end confdefs.h.  */
   1919 $4
   1920 #include <$2>
   1921 _ACEOF
   1922 if ac_fn_c_try_compile "$LINENO"; then :
   1923   ac_header_compiler=yes
   1924 else
   1925   ac_header_compiler=no
   1926 fi
   1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1929 $as_echo "$ac_header_compiler" >&6; }
   1930 
   1931 # Is the header present?
   1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1933 $as_echo_n "checking $2 presence... " >&6; }
   1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1935 /* end confdefs.h.  */
   1936 #include <$2>
   1937 _ACEOF
   1938 if ac_fn_c_try_cpp "$LINENO"; then :
   1939   ac_header_preproc=yes
   1940 else
   1941   ac_header_preproc=no
   1942 fi
   1943 rm -f conftest.err conftest.i conftest.$ac_ext
   1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1945 $as_echo "$ac_header_preproc" >&6; }
   1946 
   1947 # So?  What about this header?
   1948 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1949   yes:no: )
   1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1951 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1954     ;;
   1955   no:yes:* )
   1956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1957 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1959 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1961 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1963 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1964     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1965 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1966 ( $as_echo "## ------------------------------------------------------------------------------------ ##
   1967 ## Report this to https://gitlab.freedesktop.org/xorg/driver/xf86-video-neomagic/issues ##
   1968 ## ------------------------------------------------------------------------------------ ##"
   1969      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1970     ;;
   1971 esac
   1972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1973 $as_echo_n "checking for $2... " >&6; }
   1974 if eval \${$3+:} false; then :
   1975   $as_echo_n "(cached) " >&6
   1976 else
   1977   eval "$3=\$ac_header_compiler"
   1978 fi
   1979 eval ac_res=\$$3
   1980 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1981 $as_echo "$ac_res" >&6; }
   1982 fi
   1983   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1984 
   1985 } # ac_fn_c_check_header_mongrel
   1986 cat >config.log <<_ACEOF
   1987 This file contains any messages produced by compilers while
   1988 running configure, to aid debugging if configure makes a mistake.
   1989 
   1990 It was created by xf86-video-neomagic $as_me 1.3.0, which was
   1991 generated by GNU Autoconf 2.69.  Invocation command line was
   1992 
   1993   $ $0 $@
   1994 
   1995 _ACEOF
   1996 exec 5>>config.log
   1997 {
   1998 cat <<_ASUNAME
   1999 ## --------- ##
   2000 ## Platform. ##
   2001 ## --------- ##
   2002 
   2003 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2004 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2005 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2006 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2007 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2008 
   2009 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2010 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2011 
   2012 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2013 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2014 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2015 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2016 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2017 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2018 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2019 
   2020 _ASUNAME
   2021 
   2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2023 for as_dir in $PATH
   2024 do
   2025   IFS=$as_save_IFS
   2026   test -z "$as_dir" && as_dir=.
   2027     $as_echo "PATH: $as_dir"
   2028   done
   2029 IFS=$as_save_IFS
   2030 
   2031 } >&5
   2032 
   2033 cat >&5 <<_ACEOF
   2034 
   2035 
   2036 ## ----------- ##
   2037 ## Core tests. ##
   2038 ## ----------- ##
   2039 
   2040 _ACEOF
   2041 
   2042 
   2043 # Keep a trace of the command line.
   2044 # Strip out --no-create and --no-recursion so they do not pile up.
   2045 # Strip out --silent because we don't want to record it for future runs.
   2046 # Also quote any args containing shell meta-characters.
   2047 # Make two passes to allow for proper duplicate-argument suppression.
   2048 ac_configure_args=
   2049 ac_configure_args0=
   2050 ac_configure_args1=
   2051 ac_must_keep_next=false
   2052 for ac_pass in 1 2
   2053 do
   2054   for ac_arg
   2055   do
   2056     case $ac_arg in
   2057     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2058     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2059     | -silent | --silent | --silen | --sile | --sil)
   2060       continue ;;
   2061     *\'*)
   2062       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2063     esac
   2064     case $ac_pass in
   2065     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2066     2)
   2067       as_fn_append ac_configure_args1 " '$ac_arg'"
   2068       if test $ac_must_keep_next = true; then
   2069 	ac_must_keep_next=false # Got value, back to normal.
   2070       else
   2071 	case $ac_arg in
   2072 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2073 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2074 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2075 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2076 	    case "$ac_configure_args0 " in
   2077 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2078 	    esac
   2079 	    ;;
   2080 	  -* ) ac_must_keep_next=true ;;
   2081 	esac
   2082       fi
   2083       as_fn_append ac_configure_args " '$ac_arg'"
   2084       ;;
   2085     esac
   2086   done
   2087 done
   2088 { ac_configure_args0=; unset ac_configure_args0;}
   2089 { ac_configure_args1=; unset ac_configure_args1;}
   2090 
   2091 # When interrupted or exit'd, cleanup temporary files, and complete
   2092 # config.log.  We remove comments because anyway the quotes in there
   2093 # would cause problems or look ugly.
   2094 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2095 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2096 trap 'exit_status=$?
   2097   # Save into config.log some information that might help in debugging.
   2098   {
   2099     echo
   2100 
   2101     $as_echo "## ---------------- ##
   2102 ## Cache variables. ##
   2103 ## ---------------- ##"
   2104     echo
   2105     # The following way of writing the cache mishandles newlines in values,
   2106 (
   2107   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2108     eval ac_val=\$$ac_var
   2109     case $ac_val in #(
   2110     *${as_nl}*)
   2111       case $ac_var in #(
   2112       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2113 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2114       esac
   2115       case $ac_var in #(
   2116       _ | IFS | as_nl) ;; #(
   2117       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2118       *) { eval $ac_var=; unset $ac_var;} ;;
   2119       esac ;;
   2120     esac
   2121   done
   2122   (set) 2>&1 |
   2123     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2124     *${as_nl}ac_space=\ *)
   2125       sed -n \
   2126 	"s/'\''/'\''\\\\'\'''\''/g;
   2127 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2128       ;; #(
   2129     *)
   2130       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2131       ;;
   2132     esac |
   2133     sort
   2134 )
   2135     echo
   2136 
   2137     $as_echo "## ----------------- ##
   2138 ## Output variables. ##
   2139 ## ----------------- ##"
   2140     echo
   2141     for ac_var in $ac_subst_vars
   2142     do
   2143       eval ac_val=\$$ac_var
   2144       case $ac_val in
   2145       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2146       esac
   2147       $as_echo "$ac_var='\''$ac_val'\''"
   2148     done | sort
   2149     echo
   2150 
   2151     if test -n "$ac_subst_files"; then
   2152       $as_echo "## ------------------- ##
   2153 ## File substitutions. ##
   2154 ## ------------------- ##"
   2155       echo
   2156       for ac_var in $ac_subst_files
   2157       do
   2158 	eval ac_val=\$$ac_var
   2159 	case $ac_val in
   2160 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2161 	esac
   2162 	$as_echo "$ac_var='\''$ac_val'\''"
   2163       done | sort
   2164       echo
   2165     fi
   2166 
   2167     if test -s confdefs.h; then
   2168       $as_echo "## ----------- ##
   2169 ## confdefs.h. ##
   2170 ## ----------- ##"
   2171       echo
   2172       cat confdefs.h
   2173       echo
   2174     fi
   2175     test "$ac_signal" != 0 &&
   2176       $as_echo "$as_me: caught signal $ac_signal"
   2177     $as_echo "$as_me: exit $exit_status"
   2178   } >&5
   2179   rm -f core *.core core.conftest.* &&
   2180     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2181     exit $exit_status
   2182 ' 0
   2183 for ac_signal in 1 2 13 15; do
   2184   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2185 done
   2186 ac_signal=0
   2187 
   2188 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2189 rm -f -r conftest* confdefs.h
   2190 
   2191 $as_echo "/* confdefs.h */" > confdefs.h
   2192 
   2193 # Predefined preprocessor variables.
   2194 
   2195 cat >>confdefs.h <<_ACEOF
   2196 #define PACKAGE_NAME "$PACKAGE_NAME"
   2197 _ACEOF
   2198 
   2199 cat >>confdefs.h <<_ACEOF
   2200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2201 _ACEOF
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2205 _ACEOF
   2206 
   2207 cat >>confdefs.h <<_ACEOF
   2208 #define PACKAGE_STRING "$PACKAGE_STRING"
   2209 _ACEOF
   2210 
   2211 cat >>confdefs.h <<_ACEOF
   2212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2213 _ACEOF
   2214 
   2215 cat >>confdefs.h <<_ACEOF
   2216 #define PACKAGE_URL "$PACKAGE_URL"
   2217 _ACEOF
   2218 
   2219 
   2220 # Let the site file select an alternate cache file if it wants to.
   2221 # Prefer an explicitly selected file to automatically selected ones.
   2222 ac_site_file1=NONE
   2223 ac_site_file2=NONE
   2224 if test -n "$CONFIG_SITE"; then
   2225   # We do not want a PATH search for config.site.
   2226   case $CONFIG_SITE in #((
   2227     -*)  ac_site_file1=./$CONFIG_SITE;;
   2228     */*) ac_site_file1=$CONFIG_SITE;;
   2229     *)   ac_site_file1=./$CONFIG_SITE;;
   2230   esac
   2231 elif test "x$prefix" != xNONE; then
   2232   ac_site_file1=$prefix/share/config.site
   2233   ac_site_file2=$prefix/etc/config.site
   2234 else
   2235   ac_site_file1=$ac_default_prefix/share/config.site
   2236   ac_site_file2=$ac_default_prefix/etc/config.site
   2237 fi
   2238 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2239 do
   2240   test "x$ac_site_file" = xNONE && continue
   2241   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2242     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2243 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2244     sed 's/^/| /' "$ac_site_file" >&5
   2245     . "$ac_site_file" \
   2246       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2248 as_fn_error $? "failed to load site script $ac_site_file
   2249 See \`config.log' for more details" "$LINENO" 5; }
   2250   fi
   2251 done
   2252 
   2253 if test -r "$cache_file"; then
   2254   # Some versions of bash will fail to source /dev/null (special files
   2255   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2256   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2257     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2258 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2259     case $cache_file in
   2260       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2261       *)                      . "./$cache_file";;
   2262     esac
   2263   fi
   2264 else
   2265   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2266 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2267   >$cache_file
   2268 fi
   2269 
   2270 # Check that the precious variables saved in the cache have kept the same
   2271 # value.
   2272 ac_cache_corrupted=false
   2273 for ac_var in $ac_precious_vars; do
   2274   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2275   eval ac_new_set=\$ac_env_${ac_var}_set
   2276   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2277   eval ac_new_val=\$ac_env_${ac_var}_value
   2278   case $ac_old_set,$ac_new_set in
   2279     set,)
   2280       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2281 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2282       ac_cache_corrupted=: ;;
   2283     ,set)
   2284       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2285 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2286       ac_cache_corrupted=: ;;
   2287     ,);;
   2288     *)
   2289       if test "x$ac_old_val" != "x$ac_new_val"; then
   2290 	# differences in whitespace do not lead to failure.
   2291 	ac_old_val_w=`echo x $ac_old_val`
   2292 	ac_new_val_w=`echo x $ac_new_val`
   2293 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2294 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2295 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2296 	  ac_cache_corrupted=:
   2297 	else
   2298 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2299 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2300 	  eval $ac_var=\$ac_old_val
   2301 	fi
   2302 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2303 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2304 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2305 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2306       fi;;
   2307   esac
   2308   # Pass precious variables to config.status.
   2309   if test "$ac_new_set" = set; then
   2310     case $ac_new_val in
   2311     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2312     *) ac_arg=$ac_var=$ac_new_val ;;
   2313     esac
   2314     case " $ac_configure_args " in
   2315       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2316       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2317     esac
   2318   fi
   2319 done
   2320 if $ac_cache_corrupted; then
   2321   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2323   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2324 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2325   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2326 fi
   2327 ## -------------------- ##
   2328 ## Main body of script. ##
   2329 ## -------------------- ##
   2330 
   2331 ac_ext=c
   2332 ac_cpp='$CPP $CPPFLAGS'
   2333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2336 
   2337 
   2338 
   2339 ac_config_headers="$ac_config_headers config.h"
   2340 
   2341 ac_aux_dir=
   2342 for ac_dir in . "$srcdir"/.; do
   2343   if test -f "$ac_dir/install-sh"; then
   2344     ac_aux_dir=$ac_dir
   2345     ac_install_sh="$ac_aux_dir/install-sh -c"
   2346     break
   2347   elif test -f "$ac_dir/install.sh"; then
   2348     ac_aux_dir=$ac_dir
   2349     ac_install_sh="$ac_aux_dir/install.sh -c"
   2350     break
   2351   elif test -f "$ac_dir/shtool"; then
   2352     ac_aux_dir=$ac_dir
   2353     ac_install_sh="$ac_aux_dir/shtool install -c"
   2354     break
   2355   fi
   2356 done
   2357 if test -z "$ac_aux_dir"; then
   2358   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2359 fi
   2360 
   2361 # These three variables are undocumented and unsupported,
   2362 # and are intended to be withdrawn in a future Autoconf release.
   2363 # They can cause serious problems if a builder's source tree is in a directory
   2364 # whose full name contains unusual characters.
   2365 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2366 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2367 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2368 
   2369 
   2370 
   2371 # Initialize Automake
   2372 am__api_version='1.15'
   2373 
   2374 # Find a good install program.  We prefer a C program (faster),
   2375 # so one script is as good as another.  But avoid the broken or
   2376 # incompatible versions:
   2377 # SysV /etc/install, /usr/sbin/install
   2378 # SunOS /usr/etc/install
   2379 # IRIX /sbin/install
   2380 # AIX /bin/install
   2381 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2382 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2383 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2384 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2385 # OS/2's system install, which has a completely different semantic
   2386 # ./install, which can be erroneously created by make from ./install.sh.
   2387 # Reject install programs that cannot install multiple files.
   2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2389 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2390 if test -z "$INSTALL"; then
   2391 if ${ac_cv_path_install+:} false; then :
   2392   $as_echo_n "(cached) " >&6
   2393 else
   2394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2395 for as_dir in $PATH
   2396 do
   2397   IFS=$as_save_IFS
   2398   test -z "$as_dir" && as_dir=.
   2399     # Account for people who put trailing slashes in PATH elements.
   2400 case $as_dir/ in #((
   2401   ./ | .// | /[cC]/* | \
   2402   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2403   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2404   /usr/ucb/* ) ;;
   2405   *)
   2406     # OSF1 and SCO ODT 3.0 have their own names for install.
   2407     # Don't use installbsd from OSF since it installs stuff as root
   2408     # by default.
   2409     for ac_prog in ginstall scoinst install; do
   2410       for ac_exec_ext in '' $ac_executable_extensions; do
   2411 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2412 	  if test $ac_prog = install &&
   2413 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2414 	    # AIX install.  It has an incompatible calling convention.
   2415 	    :
   2416 	  elif test $ac_prog = install &&
   2417 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2418 	    # program-specific install script used by HP pwplus--don't use.
   2419 	    :
   2420 	  else
   2421 	    rm -rf conftest.one conftest.two conftest.dir
   2422 	    echo one > conftest.one
   2423 	    echo two > conftest.two
   2424 	    mkdir conftest.dir
   2425 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2426 	      test -s conftest.one && test -s conftest.two &&
   2427 	      test -s conftest.dir/conftest.one &&
   2428 	      test -s conftest.dir/conftest.two
   2429 	    then
   2430 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2431 	      break 3
   2432 	    fi
   2433 	  fi
   2434 	fi
   2435       done
   2436     done
   2437     ;;
   2438 esac
   2439 
   2440   done
   2441 IFS=$as_save_IFS
   2442 
   2443 rm -rf conftest.one conftest.two conftest.dir
   2444 
   2445 fi
   2446   if test "${ac_cv_path_install+set}" = set; then
   2447     INSTALL=$ac_cv_path_install
   2448   else
   2449     # As a last resort, use the slow shell script.  Don't cache a
   2450     # value for INSTALL within a source directory, because that will
   2451     # break other packages using the cache if that directory is
   2452     # removed, or if the value is a relative name.
   2453     INSTALL=$ac_install_sh
   2454   fi
   2455 fi
   2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2457 $as_echo "$INSTALL" >&6; }
   2458 
   2459 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2460 # It thinks the first close brace ends the variable substitution.
   2461 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2462 
   2463 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2464 
   2465 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2466 
   2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2468 $as_echo_n "checking whether build environment is sane... " >&6; }
   2469 # Reject unsafe characters in $srcdir or the absolute working directory
   2470 # name.  Accept space and tab only in the latter.
   2471 am_lf='
   2472 '
   2473 case `pwd` in
   2474   *[\\\"\#\$\&\'\`$am_lf]*)
   2475     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2476 esac
   2477 case $srcdir in
   2478   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2479     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2480 esac
   2481 
   2482 # Do 'set' in a subshell so we don't clobber the current shell's
   2483 # arguments.  Must try -L first in case configure is actually a
   2484 # symlink; some systems play weird games with the mod time of symlinks
   2485 # (eg FreeBSD returns the mod time of the symlink's containing
   2486 # directory).
   2487 if (
   2488    am_has_slept=no
   2489    for am_try in 1 2; do
   2490      echo "timestamp, slept: $am_has_slept" > conftest.file
   2491      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2492      if test "$*" = "X"; then
   2493 	# -L didn't work.
   2494 	set X `ls -t "$srcdir/configure" conftest.file`
   2495      fi
   2496      if test "$*" != "X $srcdir/configure conftest.file" \
   2497 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2498 
   2499 	# If neither matched, then we have a broken ls.  This can happen
   2500 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2501 	# broken ls alias from the environment.  This has actually
   2502 	# happened.  Such a system could not be considered "sane".
   2503 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2504   alias in your environment" "$LINENO" 5
   2505      fi
   2506      if test "$2" = conftest.file || test $am_try -eq 2; then
   2507        break
   2508      fi
   2509      # Just in case.
   2510      sleep 1
   2511      am_has_slept=yes
   2512    done
   2513    test "$2" = conftest.file
   2514    )
   2515 then
   2516    # Ok.
   2517    :
   2518 else
   2519    as_fn_error $? "newly created file is older than distributed files!
   2520 Check your system clock" "$LINENO" 5
   2521 fi
   2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2523 $as_echo "yes" >&6; }
   2524 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2525 # generated files are strictly newer.
   2526 am_sleep_pid=
   2527 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2528   ( sleep 1 ) &
   2529   am_sleep_pid=$!
   2530 fi
   2531 
   2532 rm -f conftest.file
   2533 
   2534 test "$program_prefix" != NONE &&
   2535   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2536 # Use a double $ so make ignores it.
   2537 test "$program_suffix" != NONE &&
   2538   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2539 # Double any \ or $.
   2540 # By default was `s,x,x', remove it if useless.
   2541 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2542 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2543 
   2544 # Expand $ac_aux_dir to an absolute path.
   2545 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2546 
   2547 if test x"${MISSING+set}" != xset; then
   2548   case $am_aux_dir in
   2549   *\ * | *\	*)
   2550     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2551   *)
   2552     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2553   esac
   2554 fi
   2555 # Use eval to expand $SHELL
   2556 if eval "$MISSING --is-lightweight"; then
   2557   am_missing_run="$MISSING "
   2558 else
   2559   am_missing_run=
   2560   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2561 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2562 fi
   2563 
   2564 if test x"${install_sh+set}" != xset; then
   2565   case $am_aux_dir in
   2566   *\ * | *\	*)
   2567     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2568   *)
   2569     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2570   esac
   2571 fi
   2572 
   2573 # Installed binaries are usually stripped using 'strip' when the user
   2574 # run "make install-strip".  However 'strip' might not be the right
   2575 # tool to use in cross-compilation environments, therefore Automake
   2576 # will honor the 'STRIP' environment variable to overrule this program.
   2577 if test "$cross_compiling" != no; then
   2578   if test -n "$ac_tool_prefix"; then
   2579   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2580 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2582 $as_echo_n "checking for $ac_word... " >&6; }
   2583 if ${ac_cv_prog_STRIP+:} false; then :
   2584   $as_echo_n "(cached) " >&6
   2585 else
   2586   if test -n "$STRIP"; then
   2587   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2588 else
   2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2590 for as_dir in $PATH
   2591 do
   2592   IFS=$as_save_IFS
   2593   test -z "$as_dir" && as_dir=.
   2594     for ac_exec_ext in '' $ac_executable_extensions; do
   2595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2596     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2598     break 2
   2599   fi
   2600 done
   2601   done
   2602 IFS=$as_save_IFS
   2603 
   2604 fi
   2605 fi
   2606 STRIP=$ac_cv_prog_STRIP
   2607 if test -n "$STRIP"; then
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2609 $as_echo "$STRIP" >&6; }
   2610 else
   2611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2612 $as_echo "no" >&6; }
   2613 fi
   2614 
   2615 
   2616 fi
   2617 if test -z "$ac_cv_prog_STRIP"; then
   2618   ac_ct_STRIP=$STRIP
   2619   # Extract the first word of "strip", so it can be a program name with args.
   2620 set dummy strip; ac_word=$2
   2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2622 $as_echo_n "checking for $ac_word... " >&6; }
   2623 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2624   $as_echo_n "(cached) " >&6
   2625 else
   2626   if test -n "$ac_ct_STRIP"; then
   2627   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2628 else
   2629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2630 for as_dir in $PATH
   2631 do
   2632   IFS=$as_save_IFS
   2633   test -z "$as_dir" && as_dir=.
   2634     for ac_exec_ext in '' $ac_executable_extensions; do
   2635   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2636     ac_cv_prog_ac_ct_STRIP="strip"
   2637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2638     break 2
   2639   fi
   2640 done
   2641   done
   2642 IFS=$as_save_IFS
   2643 
   2644 fi
   2645 fi
   2646 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2647 if test -n "$ac_ct_STRIP"; then
   2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2649 $as_echo "$ac_ct_STRIP" >&6; }
   2650 else
   2651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2652 $as_echo "no" >&6; }
   2653 fi
   2654 
   2655   if test "x$ac_ct_STRIP" = x; then
   2656     STRIP=":"
   2657   else
   2658     case $cross_compiling:$ac_tool_warned in
   2659 yes:)
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2662 ac_tool_warned=yes ;;
   2663 esac
   2664     STRIP=$ac_ct_STRIP
   2665   fi
   2666 else
   2667   STRIP="$ac_cv_prog_STRIP"
   2668 fi
   2669 
   2670 fi
   2671 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2672 
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2674 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2675 if test -z "$MKDIR_P"; then
   2676   if ${ac_cv_path_mkdir+:} false; then :
   2677   $as_echo_n "(cached) " >&6
   2678 else
   2679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2680 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2681 do
   2682   IFS=$as_save_IFS
   2683   test -z "$as_dir" && as_dir=.
   2684     for ac_prog in mkdir gmkdir; do
   2685 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2686 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2687 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2688 	     'mkdir (GNU coreutils) '* | \
   2689 	     'mkdir (coreutils) '* | \
   2690 	     'mkdir (fileutils) '4.1*)
   2691 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2692 	       break 3;;
   2693 	   esac
   2694 	 done
   2695        done
   2696   done
   2697 IFS=$as_save_IFS
   2698 
   2699 fi
   2700 
   2701   test -d ./--version && rmdir ./--version
   2702   if test "${ac_cv_path_mkdir+set}" = set; then
   2703     MKDIR_P="$ac_cv_path_mkdir -p"
   2704   else
   2705     # As a last resort, use the slow shell script.  Don't cache a
   2706     # value for MKDIR_P within a source directory, because that will
   2707     # break other packages using the cache if that directory is
   2708     # removed, or if the value is a relative name.
   2709     MKDIR_P="$ac_install_sh -d"
   2710   fi
   2711 fi
   2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2713 $as_echo "$MKDIR_P" >&6; }
   2714 
   2715 for ac_prog in gawk mawk nawk awk
   2716 do
   2717   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2718 set dummy $ac_prog; ac_word=$2
   2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2720 $as_echo_n "checking for $ac_word... " >&6; }
   2721 if ${ac_cv_prog_AWK+:} false; then :
   2722   $as_echo_n "(cached) " >&6
   2723 else
   2724   if test -n "$AWK"; then
   2725   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2726 else
   2727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2728 for as_dir in $PATH
   2729 do
   2730   IFS=$as_save_IFS
   2731   test -z "$as_dir" && as_dir=.
   2732     for ac_exec_ext in '' $ac_executable_extensions; do
   2733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2734     ac_cv_prog_AWK="$ac_prog"
   2735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2736     break 2
   2737   fi
   2738 done
   2739   done
   2740 IFS=$as_save_IFS
   2741 
   2742 fi
   2743 fi
   2744 AWK=$ac_cv_prog_AWK
   2745 if test -n "$AWK"; then
   2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2747 $as_echo "$AWK" >&6; }
   2748 else
   2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2750 $as_echo "no" >&6; }
   2751 fi
   2752 
   2753 
   2754   test -n "$AWK" && break
   2755 done
   2756 
   2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2758 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2759 set x ${MAKE-make}
   2760 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2761 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2762   $as_echo_n "(cached) " >&6
   2763 else
   2764   cat >conftest.make <<\_ACEOF
   2765 SHELL = /bin/sh
   2766 all:
   2767 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2768 _ACEOF
   2769 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2770 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2771   *@@@%%%=?*=@@@%%%*)
   2772     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2773   *)
   2774     eval ac_cv_prog_make_${ac_make}_set=no;;
   2775 esac
   2776 rm -f conftest.make
   2777 fi
   2778 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2780 $as_echo "yes" >&6; }
   2781   SET_MAKE=
   2782 else
   2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2784 $as_echo "no" >&6; }
   2785   SET_MAKE="MAKE=${MAKE-make}"
   2786 fi
   2787 
   2788 rm -rf .tst 2>/dev/null
   2789 mkdir .tst 2>/dev/null
   2790 if test -d .tst; then
   2791   am__leading_dot=.
   2792 else
   2793   am__leading_dot=_
   2794 fi
   2795 rmdir .tst 2>/dev/null
   2796 
   2797 # Check whether --enable-silent-rules was given.
   2798 if test "${enable_silent_rules+set}" = set; then :
   2799   enableval=$enable_silent_rules;
   2800 fi
   2801 
   2802 case $enable_silent_rules in # (((
   2803   yes) AM_DEFAULT_VERBOSITY=0;;
   2804    no) AM_DEFAULT_VERBOSITY=1;;
   2805     *) AM_DEFAULT_VERBOSITY=1;;
   2806 esac
   2807 am_make=${MAKE-make}
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2809 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2810 if ${am_cv_make_support_nested_variables+:} false; then :
   2811   $as_echo_n "(cached) " >&6
   2812 else
   2813   if $as_echo 'TRUE=$(BAR$(V))
   2814 BAR0=false
   2815 BAR1=true
   2816 V=1
   2817 am__doit:
   2818 	@$(TRUE)
   2819 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2820   am_cv_make_support_nested_variables=yes
   2821 else
   2822   am_cv_make_support_nested_variables=no
   2823 fi
   2824 fi
   2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2826 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2827 if test $am_cv_make_support_nested_variables = yes; then
   2828     AM_V='$(V)'
   2829   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2830 else
   2831   AM_V=$AM_DEFAULT_VERBOSITY
   2832   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2833 fi
   2834 AM_BACKSLASH='\'
   2835 
   2836 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2837   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2838   # is not polluted with repeated "-I."
   2839   am__isrc=' -I$(srcdir)'
   2840   # test to see if srcdir already configured
   2841   if test -f $srcdir/config.status; then
   2842     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2843   fi
   2844 fi
   2845 
   2846 # test whether we have cygpath
   2847 if test -z "$CYGPATH_W"; then
   2848   if (cygpath --version) >/dev/null 2>/dev/null; then
   2849     CYGPATH_W='cygpath -w'
   2850   else
   2851     CYGPATH_W=echo
   2852   fi
   2853 fi
   2854 
   2855 
   2856 # Define the identity of the package.
   2857  PACKAGE='xf86-video-neomagic'
   2858  VERSION='1.3.0'
   2859 
   2860 
   2861 cat >>confdefs.h <<_ACEOF
   2862 #define PACKAGE "$PACKAGE"
   2863 _ACEOF
   2864 
   2865 
   2866 cat >>confdefs.h <<_ACEOF
   2867 #define VERSION "$VERSION"
   2868 _ACEOF
   2869 
   2870 # Some tools Automake needs.
   2871 
   2872 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2873 
   2874 
   2875 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2876 
   2877 
   2878 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2879 
   2880 
   2881 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2882 
   2883 
   2884 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2885 
   2886 # For better backward compatibility.  To be removed once Automake 1.9.x
   2887 # dies out for good.  For more background, see:
   2888 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2889 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2890 mkdir_p='$(MKDIR_P)'
   2891 
   2892 # We need awk for the "check" target (and possibly the TAP driver).  The
   2893 # system "awk" is bad on some platforms.
   2894 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2895 # in the wild :-(  We should find a proper way to deprecate it ...
   2896 AMTAR='$${TAR-tar}'
   2897 
   2898 
   2899 # We'll loop over all known methods to create a tar archive until one works.
   2900 _am_tools='gnutar  pax cpio none'
   2901 
   2902 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2903 
   2904 
   2905 
   2906 
   2907 
   2908 
   2909 # POSIX will say in a future version that running "rm -f" with no argument
   2910 # is OK; and we want to be able to make that assumption in our Makefile
   2911 # recipes.  So use an aggressive probe to check that the usage we want is
   2912 # actually supported "in the wild" to an acceptable degree.
   2913 # See automake bug#10828.
   2914 # To make any issue more visible, cause the running configure to be aborted
   2915 # by default if the 'rm' program in use doesn't match our expectations; the
   2916 # user can still override this though.
   2917 if rm -f && rm -fr && rm -rf; then : OK; else
   2918   cat >&2 <<'END'
   2919 Oops!
   2920 
   2921 Your 'rm' program seems unable to run without file operands specified
   2922 on the command line, even when the '-f' option is present.  This is contrary
   2923 to the behaviour of most rm programs out there, and not conforming with
   2924 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2925 
   2926 Please tell bug-automake@gnu.org about your system, including the value
   2927 of your $PATH and any error possibly output before this message.  This
   2928 can help us improve future automake versions.
   2929 
   2930 END
   2931   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2932     echo 'Configuration will proceed anyway, since you have set the' >&2
   2933     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2934     echo >&2
   2935   else
   2936     cat >&2 <<'END'
   2937 Aborting the configuration process, to ensure you take notice of the issue.
   2938 
   2939 You can download and install GNU coreutils to get an 'rm' implementation
   2940 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2941 
   2942 If you want to complete the configuration process using your problematic
   2943 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2944 to "yes", and re-run configure.
   2945 
   2946 END
   2947     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2948   fi
   2949 fi
   2950 
   2951 
   2952 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2953 
   2954 
   2955 
   2956 
   2957 
   2958 
   2959 
   2960 
   2961 
   2962 
   2963 
   2964 DEPDIR="${am__leading_dot}deps"
   2965 
   2966 ac_config_commands="$ac_config_commands depfiles"
   2967 
   2968 
   2969 am_make=${MAKE-make}
   2970 cat > confinc << 'END'
   2971 am__doit:
   2972 	@echo this is the am__doit target
   2973 .PHONY: am__doit
   2974 END
   2975 # If we don't find an include directive, just comment out the code.
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2977 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2978 am__include="#"
   2979 am__quote=
   2980 _am_result=none
   2981 # First try GNU make style include.
   2982 echo "include confinc" > confmf
   2983 # Ignore all kinds of additional output from 'make'.
   2984 case `$am_make -s -f confmf 2> /dev/null` in #(
   2985 *the\ am__doit\ target*)
   2986   am__include=include
   2987   am__quote=
   2988   _am_result=GNU
   2989   ;;
   2990 esac
   2991 # Now try BSD make style include.
   2992 if test "$am__include" = "#"; then
   2993    echo '.include "confinc"' > confmf
   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=BSD
   2999      ;;
   3000    esac
   3001 fi
   3002 
   3003 
   3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3005 $as_echo "$_am_result" >&6; }
   3006 rm -f confinc confmf
   3007 
   3008 # Check whether --enable-dependency-tracking was given.
   3009 if test "${enable_dependency_tracking+set}" = set; then :
   3010   enableval=$enable_dependency_tracking;
   3011 fi
   3012 
   3013 if test "x$enable_dependency_tracking" != xno; then
   3014   am_depcomp="$ac_aux_dir/depcomp"
   3015   AMDEPBACKSLASH='\'
   3016   am__nodep='_no'
   3017 fi
   3018  if test "x$enable_dependency_tracking" != xno; then
   3019   AMDEP_TRUE=
   3020   AMDEP_FALSE='#'
   3021 else
   3022   AMDEP_TRUE='#'
   3023   AMDEP_FALSE=
   3024 fi
   3025 
   3026 
   3027 ac_ext=c
   3028 ac_cpp='$CPP $CPPFLAGS'
   3029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3032 if test -n "$ac_tool_prefix"; then
   3033   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3034 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3036 $as_echo_n "checking for $ac_word... " >&6; }
   3037 if ${ac_cv_prog_CC+:} false; then :
   3038   $as_echo_n "(cached) " >&6
   3039 else
   3040   if test -n "$CC"; then
   3041   ac_cv_prog_CC="$CC" # Let the user override the test.
   3042 else
   3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3044 for as_dir in $PATH
   3045 do
   3046   IFS=$as_save_IFS
   3047   test -z "$as_dir" && as_dir=.
   3048     for ac_exec_ext in '' $ac_executable_extensions; do
   3049   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3050     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3052     break 2
   3053   fi
   3054 done
   3055   done
   3056 IFS=$as_save_IFS
   3057 
   3058 fi
   3059 fi
   3060 CC=$ac_cv_prog_CC
   3061 if test -n "$CC"; then
   3062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3063 $as_echo "$CC" >&6; }
   3064 else
   3065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3066 $as_echo "no" >&6; }
   3067 fi
   3068 
   3069 
   3070 fi
   3071 if test -z "$ac_cv_prog_CC"; then
   3072   ac_ct_CC=$CC
   3073   # Extract the first word of "gcc", so it can be a program name with args.
   3074 set dummy gcc; ac_word=$2
   3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3076 $as_echo_n "checking for $ac_word... " >&6; }
   3077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3078   $as_echo_n "(cached) " >&6
   3079 else
   3080   if test -n "$ac_ct_CC"; then
   3081   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3082 else
   3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3084 for as_dir in $PATH
   3085 do
   3086   IFS=$as_save_IFS
   3087   test -z "$as_dir" && as_dir=.
   3088     for ac_exec_ext in '' $ac_executable_extensions; do
   3089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3090     ac_cv_prog_ac_ct_CC="gcc"
   3091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3092     break 2
   3093   fi
   3094 done
   3095   done
   3096 IFS=$as_save_IFS
   3097 
   3098 fi
   3099 fi
   3100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3101 if test -n "$ac_ct_CC"; then
   3102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3103 $as_echo "$ac_ct_CC" >&6; }
   3104 else
   3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3106 $as_echo "no" >&6; }
   3107 fi
   3108 
   3109   if test "x$ac_ct_CC" = x; then
   3110     CC=""
   3111   else
   3112     case $cross_compiling:$ac_tool_warned in
   3113 yes:)
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3116 ac_tool_warned=yes ;;
   3117 esac
   3118     CC=$ac_ct_CC
   3119   fi
   3120 else
   3121   CC="$ac_cv_prog_CC"
   3122 fi
   3123 
   3124 if test -z "$CC"; then
   3125           if test -n "$ac_tool_prefix"; then
   3126     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3127 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3129 $as_echo_n "checking for $ac_word... " >&6; }
   3130 if ${ac_cv_prog_CC+:} false; then :
   3131   $as_echo_n "(cached) " >&6
   3132 else
   3133   if test -n "$CC"; then
   3134   ac_cv_prog_CC="$CC" # Let the user override the test.
   3135 else
   3136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3137 for as_dir in $PATH
   3138 do
   3139   IFS=$as_save_IFS
   3140   test -z "$as_dir" && as_dir=.
   3141     for ac_exec_ext in '' $ac_executable_extensions; do
   3142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3143     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3145     break 2
   3146   fi
   3147 done
   3148   done
   3149 IFS=$as_save_IFS
   3150 
   3151 fi
   3152 fi
   3153 CC=$ac_cv_prog_CC
   3154 if test -n "$CC"; then
   3155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3156 $as_echo "$CC" >&6; }
   3157 else
   3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3159 $as_echo "no" >&6; }
   3160 fi
   3161 
   3162 
   3163   fi
   3164 fi
   3165 if test -z "$CC"; then
   3166   # Extract the first word of "cc", so it can be a program name with args.
   3167 set dummy cc; ac_word=$2
   3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3169 $as_echo_n "checking for $ac_word... " >&6; }
   3170 if ${ac_cv_prog_CC+:} false; then :
   3171   $as_echo_n "(cached) " >&6
   3172 else
   3173   if test -n "$CC"; then
   3174   ac_cv_prog_CC="$CC" # Let the user override the test.
   3175 else
   3176   ac_prog_rejected=no
   3177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3178 for as_dir in $PATH
   3179 do
   3180   IFS=$as_save_IFS
   3181   test -z "$as_dir" && as_dir=.
   3182     for ac_exec_ext in '' $ac_executable_extensions; do
   3183   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3184     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3185        ac_prog_rejected=yes
   3186        continue
   3187      fi
   3188     ac_cv_prog_CC="cc"
   3189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3190     break 2
   3191   fi
   3192 done
   3193   done
   3194 IFS=$as_save_IFS
   3195 
   3196 if test $ac_prog_rejected = yes; then
   3197   # We found a bogon in the path, so make sure we never use it.
   3198   set dummy $ac_cv_prog_CC
   3199   shift
   3200   if test $# != 0; then
   3201     # We chose a different compiler from the bogus one.
   3202     # However, it has the same basename, so the bogon will be chosen
   3203     # first if we set CC to just the basename; use the full file name.
   3204     shift
   3205     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3206   fi
   3207 fi
   3208 fi
   3209 fi
   3210 CC=$ac_cv_prog_CC
   3211 if test -n "$CC"; then
   3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3213 $as_echo "$CC" >&6; }
   3214 else
   3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3216 $as_echo "no" >&6; }
   3217 fi
   3218 
   3219 
   3220 fi
   3221 if test -z "$CC"; then
   3222   if test -n "$ac_tool_prefix"; then
   3223   for ac_prog in cl.exe
   3224   do
   3225     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3228 $as_echo_n "checking for $ac_word... " >&6; }
   3229 if ${ac_cv_prog_CC+:} false; then :
   3230   $as_echo_n "(cached) " >&6
   3231 else
   3232   if test -n "$CC"; then
   3233   ac_cv_prog_CC="$CC" # Let the user override the test.
   3234 else
   3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3236 for as_dir in $PATH
   3237 do
   3238   IFS=$as_save_IFS
   3239   test -z "$as_dir" && as_dir=.
   3240     for ac_exec_ext in '' $ac_executable_extensions; do
   3241   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3242     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3244     break 2
   3245   fi
   3246 done
   3247   done
   3248 IFS=$as_save_IFS
   3249 
   3250 fi
   3251 fi
   3252 CC=$ac_cv_prog_CC
   3253 if test -n "$CC"; then
   3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3255 $as_echo "$CC" >&6; }
   3256 else
   3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3258 $as_echo "no" >&6; }
   3259 fi
   3260 
   3261 
   3262     test -n "$CC" && break
   3263   done
   3264 fi
   3265 if test -z "$CC"; then
   3266   ac_ct_CC=$CC
   3267   for ac_prog in cl.exe
   3268 do
   3269   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3270 set dummy $ac_prog; ac_word=$2
   3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3272 $as_echo_n "checking for $ac_word... " >&6; }
   3273 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3274   $as_echo_n "(cached) " >&6
   3275 else
   3276   if test -n "$ac_ct_CC"; then
   3277   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3278 else
   3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3280 for as_dir in $PATH
   3281 do
   3282   IFS=$as_save_IFS
   3283   test -z "$as_dir" && as_dir=.
   3284     for ac_exec_ext in '' $ac_executable_extensions; do
   3285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3286     ac_cv_prog_ac_ct_CC="$ac_prog"
   3287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3288     break 2
   3289   fi
   3290 done
   3291   done
   3292 IFS=$as_save_IFS
   3293 
   3294 fi
   3295 fi
   3296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3297 if test -n "$ac_ct_CC"; then
   3298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3299 $as_echo "$ac_ct_CC" >&6; }
   3300 else
   3301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3302 $as_echo "no" >&6; }
   3303 fi
   3304 
   3305 
   3306   test -n "$ac_ct_CC" && break
   3307 done
   3308 
   3309   if test "x$ac_ct_CC" = x; then
   3310     CC=""
   3311   else
   3312     case $cross_compiling:$ac_tool_warned in
   3313 yes:)
   3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3316 ac_tool_warned=yes ;;
   3317 esac
   3318     CC=$ac_ct_CC
   3319   fi
   3320 fi
   3321 
   3322 fi
   3323 
   3324 
   3325 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3327 as_fn_error $? "no acceptable C compiler found in \$PATH
   3328 See \`config.log' for more details" "$LINENO" 5; }
   3329 
   3330 # Provide some information about the compiler.
   3331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3332 set X $ac_compile
   3333 ac_compiler=$2
   3334 for ac_option in --version -v -V -qversion; do
   3335   { { ac_try="$ac_compiler $ac_option >&5"
   3336 case "(($ac_try" in
   3337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3338   *) ac_try_echo=$ac_try;;
   3339 esac
   3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3341 $as_echo "$ac_try_echo"; } >&5
   3342   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3343   ac_status=$?
   3344   if test -s conftest.err; then
   3345     sed '10a\
   3346 ... rest of stderr output deleted ...
   3347          10q' conftest.err >conftest.er1
   3348     cat conftest.er1 >&5
   3349   fi
   3350   rm -f conftest.er1 conftest.err
   3351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3352   test $ac_status = 0; }
   3353 done
   3354 
   3355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3356 /* end confdefs.h.  */
   3357 
   3358 int
   3359 main ()
   3360 {
   3361 
   3362   ;
   3363   return 0;
   3364 }
   3365 _ACEOF
   3366 ac_clean_files_save=$ac_clean_files
   3367 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3368 # Try to create an executable without -o first, disregard a.out.
   3369 # It will help us diagnose broken compilers, and finding out an intuition
   3370 # of exeext.
   3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3372 $as_echo_n "checking whether the C compiler works... " >&6; }
   3373 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3374 
   3375 # The possible output files:
   3376 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3377 
   3378 ac_rmfiles=
   3379 for ac_file in $ac_files
   3380 do
   3381   case $ac_file in
   3382     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3383     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3384   esac
   3385 done
   3386 rm -f $ac_rmfiles
   3387 
   3388 if { { ac_try="$ac_link_default"
   3389 case "(($ac_try" in
   3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3391   *) ac_try_echo=$ac_try;;
   3392 esac
   3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3394 $as_echo "$ac_try_echo"; } >&5
   3395   (eval "$ac_link_default") 2>&5
   3396   ac_status=$?
   3397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3398   test $ac_status = 0; }; then :
   3399   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3400 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3401 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3402 # so that the user can short-circuit this test for compilers unknown to
   3403 # Autoconf.
   3404 for ac_file in $ac_files ''
   3405 do
   3406   test -f "$ac_file" || continue
   3407   case $ac_file in
   3408     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3409 	;;
   3410     [ab].out )
   3411 	# We found the default executable, but exeext='' is most
   3412 	# certainly right.
   3413 	break;;
   3414     *.* )
   3415 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3416 	then :; else
   3417 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3418 	fi
   3419 	# We set ac_cv_exeext here because the later test for it is not
   3420 	# safe: cross compilers may not add the suffix if given an `-o'
   3421 	# argument, so we may need to know it at that point already.
   3422 	# Even if this section looks crufty: it has the advantage of
   3423 	# actually working.
   3424 	break;;
   3425     * )
   3426 	break;;
   3427   esac
   3428 done
   3429 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3430 
   3431 else
   3432   ac_file=''
   3433 fi
   3434 if test -z "$ac_file"; then :
   3435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3436 $as_echo "no" >&6; }
   3437 $as_echo "$as_me: failed program was:" >&5
   3438 sed 's/^/| /' conftest.$ac_ext >&5
   3439 
   3440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3442 as_fn_error 77 "C compiler cannot create executables
   3443 See \`config.log' for more details" "$LINENO" 5; }
   3444 else
   3445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3446 $as_echo "yes" >&6; }
   3447 fi
   3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3449 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3451 $as_echo "$ac_file" >&6; }
   3452 ac_exeext=$ac_cv_exeext
   3453 
   3454 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3455 ac_clean_files=$ac_clean_files_save
   3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3457 $as_echo_n "checking for suffix of executables... " >&6; }
   3458 if { { ac_try="$ac_link"
   3459 case "(($ac_try" in
   3460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3461   *) ac_try_echo=$ac_try;;
   3462 esac
   3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3464 $as_echo "$ac_try_echo"; } >&5
   3465   (eval "$ac_link") 2>&5
   3466   ac_status=$?
   3467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3468   test $ac_status = 0; }; then :
   3469   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3470 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3471 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3472 # `rm'.
   3473 for ac_file in conftest.exe conftest conftest.*; do
   3474   test -f "$ac_file" || continue
   3475   case $ac_file in
   3476     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3477     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3478 	  break;;
   3479     * ) break;;
   3480   esac
   3481 done
   3482 else
   3483   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3485 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3486 See \`config.log' for more details" "$LINENO" 5; }
   3487 fi
   3488 rm -f conftest conftest$ac_cv_exeext
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3490 $as_echo "$ac_cv_exeext" >&6; }
   3491 
   3492 rm -f conftest.$ac_ext
   3493 EXEEXT=$ac_cv_exeext
   3494 ac_exeext=$EXEEXT
   3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3496 /* end confdefs.h.  */
   3497 #include <stdio.h>
   3498 int
   3499 main ()
   3500 {
   3501 FILE *f = fopen ("conftest.out", "w");
   3502  return ferror (f) || fclose (f) != 0;
   3503 
   3504   ;
   3505   return 0;
   3506 }
   3507 _ACEOF
   3508 ac_clean_files="$ac_clean_files conftest.out"
   3509 # Check that the compiler produces executables we can run.  If not, either
   3510 # the compiler is broken, or we cross compile.
   3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3512 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3513 if test "$cross_compiling" != yes; then
   3514   { { ac_try="$ac_link"
   3515 case "(($ac_try" in
   3516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3517   *) ac_try_echo=$ac_try;;
   3518 esac
   3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3520 $as_echo "$ac_try_echo"; } >&5
   3521   (eval "$ac_link") 2>&5
   3522   ac_status=$?
   3523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3524   test $ac_status = 0; }
   3525   if { ac_try='./conftest$ac_cv_exeext'
   3526   { { case "(($ac_try" in
   3527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3528   *) ac_try_echo=$ac_try;;
   3529 esac
   3530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3531 $as_echo "$ac_try_echo"; } >&5
   3532   (eval "$ac_try") 2>&5
   3533   ac_status=$?
   3534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3535   test $ac_status = 0; }; }; then
   3536     cross_compiling=no
   3537   else
   3538     if test "$cross_compiling" = maybe; then
   3539 	cross_compiling=yes
   3540     else
   3541 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3543 as_fn_error $? "cannot run C compiled programs.
   3544 If you meant to cross compile, use \`--host'.
   3545 See \`config.log' for more details" "$LINENO" 5; }
   3546     fi
   3547   fi
   3548 fi
   3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3550 $as_echo "$cross_compiling" >&6; }
   3551 
   3552 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3553 ac_clean_files=$ac_clean_files_save
   3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3555 $as_echo_n "checking for suffix of object files... " >&6; }
   3556 if ${ac_cv_objext+:} false; then :
   3557   $as_echo_n "(cached) " >&6
   3558 else
   3559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3560 /* end confdefs.h.  */
   3561 
   3562 int
   3563 main ()
   3564 {
   3565 
   3566   ;
   3567   return 0;
   3568 }
   3569 _ACEOF
   3570 rm -f conftest.o conftest.obj
   3571 if { { ac_try="$ac_compile"
   3572 case "(($ac_try" in
   3573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3574   *) ac_try_echo=$ac_try;;
   3575 esac
   3576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3577 $as_echo "$ac_try_echo"; } >&5
   3578   (eval "$ac_compile") 2>&5
   3579   ac_status=$?
   3580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3581   test $ac_status = 0; }; then :
   3582   for ac_file in conftest.o conftest.obj conftest.*; do
   3583   test -f "$ac_file" || continue;
   3584   case $ac_file in
   3585     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3586     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3587        break;;
   3588   esac
   3589 done
   3590 else
   3591   $as_echo "$as_me: failed program was:" >&5
   3592 sed 's/^/| /' conftest.$ac_ext >&5
   3593 
   3594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3596 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3597 See \`config.log' for more details" "$LINENO" 5; }
   3598 fi
   3599 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3600 fi
   3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3602 $as_echo "$ac_cv_objext" >&6; }
   3603 OBJEXT=$ac_cv_objext
   3604 ac_objext=$OBJEXT
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3606 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3607 if ${ac_cv_c_compiler_gnu+:} false; then :
   3608   $as_echo_n "(cached) " >&6
   3609 else
   3610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3611 /* end confdefs.h.  */
   3612 
   3613 int
   3614 main ()
   3615 {
   3616 #ifndef __GNUC__
   3617        choke me
   3618 #endif
   3619 
   3620   ;
   3621   return 0;
   3622 }
   3623 _ACEOF
   3624 if ac_fn_c_try_compile "$LINENO"; then :
   3625   ac_compiler_gnu=yes
   3626 else
   3627   ac_compiler_gnu=no
   3628 fi
   3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3630 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3631 
   3632 fi
   3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3634 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3635 if test $ac_compiler_gnu = yes; then
   3636   GCC=yes
   3637 else
   3638   GCC=
   3639 fi
   3640 ac_test_CFLAGS=${CFLAGS+set}
   3641 ac_save_CFLAGS=$CFLAGS
   3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3643 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3644 if ${ac_cv_prog_cc_g+:} false; then :
   3645   $as_echo_n "(cached) " >&6
   3646 else
   3647   ac_save_c_werror_flag=$ac_c_werror_flag
   3648    ac_c_werror_flag=yes
   3649    ac_cv_prog_cc_g=no
   3650    CFLAGS="-g"
   3651    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3652 /* end confdefs.h.  */
   3653 
   3654 int
   3655 main ()
   3656 {
   3657 
   3658   ;
   3659   return 0;
   3660 }
   3661 _ACEOF
   3662 if ac_fn_c_try_compile "$LINENO"; then :
   3663   ac_cv_prog_cc_g=yes
   3664 else
   3665   CFLAGS=""
   3666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3667 /* end confdefs.h.  */
   3668 
   3669 int
   3670 main ()
   3671 {
   3672 
   3673   ;
   3674   return 0;
   3675 }
   3676 _ACEOF
   3677 if ac_fn_c_try_compile "$LINENO"; then :
   3678 
   3679 else
   3680   ac_c_werror_flag=$ac_save_c_werror_flag
   3681 	 CFLAGS="-g"
   3682 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3683 /* end confdefs.h.  */
   3684 
   3685 int
   3686 main ()
   3687 {
   3688 
   3689   ;
   3690   return 0;
   3691 }
   3692 _ACEOF
   3693 if ac_fn_c_try_compile "$LINENO"; then :
   3694   ac_cv_prog_cc_g=yes
   3695 fi
   3696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3697 fi
   3698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3699 fi
   3700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3701    ac_c_werror_flag=$ac_save_c_werror_flag
   3702 fi
   3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3704 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3705 if test "$ac_test_CFLAGS" = set; then
   3706   CFLAGS=$ac_save_CFLAGS
   3707 elif test $ac_cv_prog_cc_g = yes; then
   3708   if test "$GCC" = yes; then
   3709     CFLAGS="-g -O2"
   3710   else
   3711     CFLAGS="-g"
   3712   fi
   3713 else
   3714   if test "$GCC" = yes; then
   3715     CFLAGS="-O2"
   3716   else
   3717     CFLAGS=
   3718   fi
   3719 fi
   3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3721 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3722 if ${ac_cv_prog_cc_c89+:} false; then :
   3723   $as_echo_n "(cached) " >&6
   3724 else
   3725   ac_cv_prog_cc_c89=no
   3726 ac_save_CC=$CC
   3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 #include <stdarg.h>
   3730 #include <stdio.h>
   3731 struct stat;
   3732 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3733 struct buf { int x; };
   3734 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3735 static char *e (p, i)
   3736      char **p;
   3737      int i;
   3738 {
   3739   return p[i];
   3740 }
   3741 static char *f (char * (*g) (char **, int), char **p, ...)
   3742 {
   3743   char *s;
   3744   va_list v;
   3745   va_start (v,p);
   3746   s = g (p, va_arg (v,int));
   3747   va_end (v);
   3748   return s;
   3749 }
   3750 
   3751 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3752    function prototypes and stuff, but not '\xHH' hex character constants.
   3753    These don't provoke an error unfortunately, instead are silently treated
   3754    as 'x'.  The following induces an error, until -std is added to get
   3755    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3756    array size at least.  It's necessary to write '\x00'==0 to get something
   3757    that's true only with -std.  */
   3758 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3759 
   3760 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3761    inside strings and character constants.  */
   3762 #define FOO(x) 'x'
   3763 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3764 
   3765 int test (int i, double x);
   3766 struct s1 {int (*f) (int a);};
   3767 struct s2 {int (*f) (double a);};
   3768 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3769 int argc;
   3770 char **argv;
   3771 int
   3772 main ()
   3773 {
   3774 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3775   ;
   3776   return 0;
   3777 }
   3778 _ACEOF
   3779 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3780 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3781 do
   3782   CC="$ac_save_CC $ac_arg"
   3783   if ac_fn_c_try_compile "$LINENO"; then :
   3784   ac_cv_prog_cc_c89=$ac_arg
   3785 fi
   3786 rm -f core conftest.err conftest.$ac_objext
   3787   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3788 done
   3789 rm -f conftest.$ac_ext
   3790 CC=$ac_save_CC
   3791 
   3792 fi
   3793 # AC_CACHE_VAL
   3794 case "x$ac_cv_prog_cc_c89" in
   3795   x)
   3796     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3797 $as_echo "none needed" >&6; } ;;
   3798   xno)
   3799     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3800 $as_echo "unsupported" >&6; } ;;
   3801   *)
   3802     CC="$CC $ac_cv_prog_cc_c89"
   3803     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3804 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3805 esac
   3806 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3807 
   3808 fi
   3809 
   3810 ac_ext=c
   3811 ac_cpp='$CPP $CPPFLAGS'
   3812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3815 
   3816 ac_ext=c
   3817 ac_cpp='$CPP $CPPFLAGS'
   3818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3822 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3823 if ${am_cv_prog_cc_c_o+:} false; then :
   3824   $as_echo_n "(cached) " >&6
   3825 else
   3826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3827 /* end confdefs.h.  */
   3828 
   3829 int
   3830 main ()
   3831 {
   3832 
   3833   ;
   3834   return 0;
   3835 }
   3836 _ACEOF
   3837   # Make sure it works both with $CC and with simple cc.
   3838   # Following AC_PROG_CC_C_O, we do the test twice because some
   3839   # compilers refuse to overwrite an existing .o file with -o,
   3840   # though they will create one.
   3841   am_cv_prog_cc_c_o=yes
   3842   for am_i in 1 2; do
   3843     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3844    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3845    ac_status=$?
   3846    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3847    (exit $ac_status); } \
   3848          && test -f conftest2.$ac_objext; then
   3849       : OK
   3850     else
   3851       am_cv_prog_cc_c_o=no
   3852       break
   3853     fi
   3854   done
   3855   rm -f core conftest*
   3856   unset am_i
   3857 fi
   3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3859 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3860 if test "$am_cv_prog_cc_c_o" != yes; then
   3861    # Losing compiler, so override with the script.
   3862    # FIXME: It is wrong to rewrite CC.
   3863    # But if we don't then we get into trouble of one sort or another.
   3864    # A longer-term fix would be to have automake use am__CC in this case,
   3865    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3866    CC="$am_aux_dir/compile $CC"
   3867 fi
   3868 ac_ext=c
   3869 ac_cpp='$CPP $CPPFLAGS'
   3870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3873 
   3874 
   3875 depcc="$CC"   am_compiler_list=
   3876 
   3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3878 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3879 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3880   $as_echo_n "(cached) " >&6
   3881 else
   3882   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3883   # We make a subdir and do the tests there.  Otherwise we can end up
   3884   # making bogus files that we don't know about and never remove.  For
   3885   # instance it was reported that on HP-UX the gcc test will end up
   3886   # making a dummy file named 'D' -- because '-MD' means "put the output
   3887   # in D".
   3888   rm -rf conftest.dir
   3889   mkdir conftest.dir
   3890   # Copy depcomp to subdir because otherwise we won't find it if we're
   3891   # using a relative directory.
   3892   cp "$am_depcomp" conftest.dir
   3893   cd conftest.dir
   3894   # We will build objects and dependencies in a subdirectory because
   3895   # it helps to detect inapplicable dependency modes.  For instance
   3896   # both Tru64's cc and ICC support -MD to output dependencies as a
   3897   # side effect of compilation, but ICC will put the dependencies in
   3898   # the current directory while Tru64 will put them in the object
   3899   # directory.
   3900   mkdir sub
   3901 
   3902   am_cv_CC_dependencies_compiler_type=none
   3903   if test "$am_compiler_list" = ""; then
   3904      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3905   fi
   3906   am__universal=false
   3907   case " $depcc " in #(
   3908      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3909      esac
   3910 
   3911   for depmode in $am_compiler_list; do
   3912     # Setup a source with many dependencies, because some compilers
   3913     # like to wrap large dependency lists on column 80 (with \), and
   3914     # we should not choose a depcomp mode which is confused by this.
   3915     #
   3916     # We need to recreate these files for each test, as the compiler may
   3917     # overwrite some of them when testing with obscure command lines.
   3918     # This happens at least with the AIX C compiler.
   3919     : > sub/conftest.c
   3920     for i in 1 2 3 4 5 6; do
   3921       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3922       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3923       # Solaris 10 /bin/sh.
   3924       echo '/* dummy */' > sub/conftst$i.h
   3925     done
   3926     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3927 
   3928     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3929     # mode.  It turns out that the SunPro C++ compiler does not properly
   3930     # handle '-M -o', and we need to detect this.  Also, some Intel
   3931     # versions had trouble with output in subdirs.
   3932     am__obj=sub/conftest.${OBJEXT-o}
   3933     am__minus_obj="-o $am__obj"
   3934     case $depmode in
   3935     gcc)
   3936       # This depmode causes a compiler race in universal mode.
   3937       test "$am__universal" = false || continue
   3938       ;;
   3939     nosideeffect)
   3940       # After this tag, mechanisms are not by side-effect, so they'll
   3941       # only be used when explicitly requested.
   3942       if test "x$enable_dependency_tracking" = xyes; then
   3943 	continue
   3944       else
   3945 	break
   3946       fi
   3947       ;;
   3948     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3949       # This compiler won't grok '-c -o', but also, the minuso test has
   3950       # not run yet.  These depmodes are late enough in the game, and
   3951       # so weak that their functioning should not be impacted.
   3952       am__obj=conftest.${OBJEXT-o}
   3953       am__minus_obj=
   3954       ;;
   3955     none) break ;;
   3956     esac
   3957     if depmode=$depmode \
   3958        source=sub/conftest.c object=$am__obj \
   3959        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3960        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3961          >/dev/null 2>conftest.err &&
   3962        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3963        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3964        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3965        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3966       # icc doesn't choke on unknown options, it will just issue warnings
   3967       # or remarks (even with -Werror).  So we grep stderr for any message
   3968       # that says an option was ignored or not supported.
   3969       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3970       #   icc: Command line warning: ignoring option '-M'; no argument required
   3971       # The diagnosis changed in icc 8.0:
   3972       #   icc: Command line remark: option '-MP' not supported
   3973       if (grep 'ignoring option' conftest.err ||
   3974           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3975         am_cv_CC_dependencies_compiler_type=$depmode
   3976         break
   3977       fi
   3978     fi
   3979   done
   3980 
   3981   cd ..
   3982   rm -rf conftest.dir
   3983 else
   3984   am_cv_CC_dependencies_compiler_type=none
   3985 fi
   3986 
   3987 fi
   3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3989 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3990 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3991 
   3992  if
   3993   test "x$enable_dependency_tracking" != xno \
   3994   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3995   am__fastdepCC_TRUE=
   3996   am__fastdepCC_FALSE='#'
   3997 else
   3998   am__fastdepCC_TRUE='#'
   3999   am__fastdepCC_FALSE=
   4000 fi
   4001 
   4002 
   4003    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4004 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4005 if ${ac_cv_prog_cc_c99+:} false; then :
   4006   $as_echo_n "(cached) " >&6
   4007 else
   4008   ac_cv_prog_cc_c99=no
   4009 ac_save_CC=$CC
   4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4011 /* end confdefs.h.  */
   4012 #include <stdarg.h>
   4013 #include <stdbool.h>
   4014 #include <stdlib.h>
   4015 #include <wchar.h>
   4016 #include <stdio.h>
   4017 
   4018 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4019 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4020 #define showlist(...) puts (#__VA_ARGS__)
   4021 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4022 static void
   4023 test_varargs_macros (void)
   4024 {
   4025   int x = 1234;
   4026   int y = 5678;
   4027   debug ("Flag");
   4028   debug ("X = %d\n", x);
   4029   showlist (The first, second, and third items.);
   4030   report (x>y, "x is %d but y is %d", x, y);
   4031 }
   4032 
   4033 // Check long long types.
   4034 #define BIG64 18446744073709551615ull
   4035 #define BIG32 4294967295ul
   4036 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4037 #if !BIG_OK
   4038   your preprocessor is broken;
   4039 #endif
   4040 #if BIG_OK
   4041 #else
   4042   your preprocessor is broken;
   4043 #endif
   4044 static long long int bignum = -9223372036854775807LL;
   4045 static unsigned long long int ubignum = BIG64;
   4046 
   4047 struct incomplete_array
   4048 {
   4049   int datasize;
   4050   double data[];
   4051 };
   4052 
   4053 struct named_init {
   4054   int number;
   4055   const wchar_t *name;
   4056   double average;
   4057 };
   4058 
   4059 typedef const char *ccp;
   4060 
   4061 static inline int
   4062 test_restrict (ccp restrict text)
   4063 {
   4064   // See if C++-style comments work.
   4065   // Iterate through items via the restricted pointer.
   4066   // Also check for declarations in for loops.
   4067   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4068     continue;
   4069   return 0;
   4070 }
   4071 
   4072 // Check varargs and va_copy.
   4073 static void
   4074 test_varargs (const char *format, ...)
   4075 {
   4076   va_list args;
   4077   va_start (args, format);
   4078   va_list args_copy;
   4079   va_copy (args_copy, args);
   4080 
   4081   const char *str;
   4082   int number;
   4083   float fnumber;
   4084 
   4085   while (*format)
   4086     {
   4087       switch (*format++)
   4088 	{
   4089 	case 's': // string
   4090 	  str = va_arg (args_copy, const char *);
   4091 	  break;
   4092 	case 'd': // int
   4093 	  number = va_arg (args_copy, int);
   4094 	  break;
   4095 	case 'f': // float
   4096 	  fnumber = va_arg (args_copy, double);
   4097 	  break;
   4098 	default:
   4099 	  break;
   4100 	}
   4101     }
   4102   va_end (args_copy);
   4103   va_end (args);
   4104 }
   4105 
   4106 int
   4107 main ()
   4108 {
   4109 
   4110   // Check bool.
   4111   _Bool success = false;
   4112 
   4113   // Check restrict.
   4114   if (test_restrict ("String literal") == 0)
   4115     success = true;
   4116   char *restrict newvar = "Another string";
   4117 
   4118   // Check varargs.
   4119   test_varargs ("s, d' f .", "string", 65, 34.234);
   4120   test_varargs_macros ();
   4121 
   4122   // Check flexible array members.
   4123   struct incomplete_array *ia =
   4124     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4125   ia->datasize = 10;
   4126   for (int i = 0; i < ia->datasize; ++i)
   4127     ia->data[i] = i * 1.234;
   4128 
   4129   // Check named initializers.
   4130   struct named_init ni = {
   4131     .number = 34,
   4132     .name = L"Test wide string",
   4133     .average = 543.34343,
   4134   };
   4135 
   4136   ni.number = 58;
   4137 
   4138   int dynamic_array[ni.number];
   4139   dynamic_array[ni.number - 1] = 543;
   4140 
   4141   // work around unused variable warnings
   4142   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4143 	  || dynamic_array[ni.number - 1] != 543);
   4144 
   4145   ;
   4146   return 0;
   4147 }
   4148 _ACEOF
   4149 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4150 do
   4151   CC="$ac_save_CC $ac_arg"
   4152   if ac_fn_c_try_compile "$LINENO"; then :
   4153   ac_cv_prog_cc_c99=$ac_arg
   4154 fi
   4155 rm -f core conftest.err conftest.$ac_objext
   4156   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4157 done
   4158 rm -f conftest.$ac_ext
   4159 CC=$ac_save_CC
   4160 
   4161 fi
   4162 # AC_CACHE_VAL
   4163 case "x$ac_cv_prog_cc_c99" in
   4164   x)
   4165     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4166 $as_echo "none needed" >&6; } ;;
   4167   xno)
   4168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4169 $as_echo "unsupported" >&6; } ;;
   4170   *)
   4171     CC="$CC $ac_cv_prog_cc_c99"
   4172     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4173 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4174 esac
   4175 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4176 
   4177 fi
   4178 
   4179 
   4180 
   4181 ac_ext=c
   4182 ac_cpp='$CPP $CPPFLAGS'
   4183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4187 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4188 # On Suns, sometimes $CPP names a directory.
   4189 if test -n "$CPP" && test -d "$CPP"; then
   4190   CPP=
   4191 fi
   4192 if test -z "$CPP"; then
   4193   if ${ac_cv_prog_CPP+:} false; then :
   4194   $as_echo_n "(cached) " >&6
   4195 else
   4196       # Double quotes because CPP needs to be expanded
   4197     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4198     do
   4199       ac_preproc_ok=false
   4200 for ac_c_preproc_warn_flag in '' yes
   4201 do
   4202   # Use a header file that comes with gcc, so configuring glibc
   4203   # with a fresh cross-compiler works.
   4204   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4205   # <limits.h> exists even on freestanding compilers.
   4206   # On the NeXT, cc -E runs the code through the compiler's parser,
   4207   # not just through cpp. "Syntax error" is here to catch this case.
   4208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4209 /* end confdefs.h.  */
   4210 #ifdef __STDC__
   4211 # include <limits.h>
   4212 #else
   4213 # include <assert.h>
   4214 #endif
   4215 		     Syntax error
   4216 _ACEOF
   4217 if ac_fn_c_try_cpp "$LINENO"; then :
   4218 
   4219 else
   4220   # Broken: fails on valid input.
   4221 continue
   4222 fi
   4223 rm -f conftest.err conftest.i conftest.$ac_ext
   4224 
   4225   # OK, works on sane cases.  Now check whether nonexistent headers
   4226   # can be detected and how.
   4227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 #include <ac_nonexistent.h>
   4230 _ACEOF
   4231 if ac_fn_c_try_cpp "$LINENO"; then :
   4232   # Broken: success on invalid input.
   4233 continue
   4234 else
   4235   # Passes both tests.
   4236 ac_preproc_ok=:
   4237 break
   4238 fi
   4239 rm -f conftest.err conftest.i conftest.$ac_ext
   4240 
   4241 done
   4242 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4243 rm -f conftest.i conftest.err conftest.$ac_ext
   4244 if $ac_preproc_ok; then :
   4245   break
   4246 fi
   4247 
   4248     done
   4249     ac_cv_prog_CPP=$CPP
   4250 
   4251 fi
   4252   CPP=$ac_cv_prog_CPP
   4253 else
   4254   ac_cv_prog_CPP=$CPP
   4255 fi
   4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4257 $as_echo "$CPP" >&6; }
   4258 ac_preproc_ok=false
   4259 for ac_c_preproc_warn_flag in '' yes
   4260 do
   4261   # Use a header file that comes with gcc, so configuring glibc
   4262   # with a fresh cross-compiler works.
   4263   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4264   # <limits.h> exists even on freestanding compilers.
   4265   # On the NeXT, cc -E runs the code through the compiler's parser,
   4266   # not just through cpp. "Syntax error" is here to catch this case.
   4267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4268 /* end confdefs.h.  */
   4269 #ifdef __STDC__
   4270 # include <limits.h>
   4271 #else
   4272 # include <assert.h>
   4273 #endif
   4274 		     Syntax error
   4275 _ACEOF
   4276 if ac_fn_c_try_cpp "$LINENO"; then :
   4277 
   4278 else
   4279   # Broken: fails on valid input.
   4280 continue
   4281 fi
   4282 rm -f conftest.err conftest.i conftest.$ac_ext
   4283 
   4284   # OK, works on sane cases.  Now check whether nonexistent headers
   4285   # can be detected and how.
   4286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4287 /* end confdefs.h.  */
   4288 #include <ac_nonexistent.h>
   4289 _ACEOF
   4290 if ac_fn_c_try_cpp "$LINENO"; then :
   4291   # Broken: success on invalid input.
   4292 continue
   4293 else
   4294   # Passes both tests.
   4295 ac_preproc_ok=:
   4296 break
   4297 fi
   4298 rm -f conftest.err conftest.i conftest.$ac_ext
   4299 
   4300 done
   4301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4302 rm -f conftest.i conftest.err conftest.$ac_ext
   4303 if $ac_preproc_ok; then :
   4304 
   4305 else
   4306   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4308 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4309 See \`config.log' for more details" "$LINENO" 5; }
   4310 fi
   4311 
   4312 ac_ext=c
   4313 ac_cpp='$CPP $CPPFLAGS'
   4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4317 
   4318 
   4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4320 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4321 if ${ac_cv_path_GREP+:} false; then :
   4322   $as_echo_n "(cached) " >&6
   4323 else
   4324   if test -z "$GREP"; then
   4325   ac_path_GREP_found=false
   4326   # Loop through the user's path and test for each of PROGNAME-LIST
   4327   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4328 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4329 do
   4330   IFS=$as_save_IFS
   4331   test -z "$as_dir" && as_dir=.
   4332     for ac_prog in grep ggrep; do
   4333     for ac_exec_ext in '' $ac_executable_extensions; do
   4334       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4335       as_fn_executable_p "$ac_path_GREP" || continue
   4336 # Check for GNU ac_path_GREP and select it if it is found.
   4337   # Check for GNU $ac_path_GREP
   4338 case `"$ac_path_GREP" --version 2>&1` in
   4339 *GNU*)
   4340   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4341 *)
   4342   ac_count=0
   4343   $as_echo_n 0123456789 >"conftest.in"
   4344   while :
   4345   do
   4346     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4347     mv "conftest.tmp" "conftest.in"
   4348     cp "conftest.in" "conftest.nl"
   4349     $as_echo 'GREP' >> "conftest.nl"
   4350     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4351     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4352     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4353     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4354       # Best one so far, save it but keep looking for a better one
   4355       ac_cv_path_GREP="$ac_path_GREP"
   4356       ac_path_GREP_max=$ac_count
   4357     fi
   4358     # 10*(2^10) chars as input seems more than enough
   4359     test $ac_count -gt 10 && break
   4360   done
   4361   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4362 esac
   4363 
   4364       $ac_path_GREP_found && break 3
   4365     done
   4366   done
   4367   done
   4368 IFS=$as_save_IFS
   4369   if test -z "$ac_cv_path_GREP"; then
   4370     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4371   fi
   4372 else
   4373   ac_cv_path_GREP=$GREP
   4374 fi
   4375 
   4376 fi
   4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4378 $as_echo "$ac_cv_path_GREP" >&6; }
   4379  GREP="$ac_cv_path_GREP"
   4380 
   4381 
   4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4383 $as_echo_n "checking for egrep... " >&6; }
   4384 if ${ac_cv_path_EGREP+:} false; then :
   4385   $as_echo_n "(cached) " >&6
   4386 else
   4387   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4388    then ac_cv_path_EGREP="$GREP -E"
   4389    else
   4390      if test -z "$EGREP"; then
   4391   ac_path_EGREP_found=false
   4392   # Loop through the user's path and test for each of PROGNAME-LIST
   4393   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4394 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4395 do
   4396   IFS=$as_save_IFS
   4397   test -z "$as_dir" && as_dir=.
   4398     for ac_prog in egrep; do
   4399     for ac_exec_ext in '' $ac_executable_extensions; do
   4400       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4401       as_fn_executable_p "$ac_path_EGREP" || continue
   4402 # Check for GNU ac_path_EGREP and select it if it is found.
   4403   # Check for GNU $ac_path_EGREP
   4404 case `"$ac_path_EGREP" --version 2>&1` in
   4405 *GNU*)
   4406   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4407 *)
   4408   ac_count=0
   4409   $as_echo_n 0123456789 >"conftest.in"
   4410   while :
   4411   do
   4412     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4413     mv "conftest.tmp" "conftest.in"
   4414     cp "conftest.in" "conftest.nl"
   4415     $as_echo 'EGREP' >> "conftest.nl"
   4416     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4417     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4418     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4419     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4420       # Best one so far, save it but keep looking for a better one
   4421       ac_cv_path_EGREP="$ac_path_EGREP"
   4422       ac_path_EGREP_max=$ac_count
   4423     fi
   4424     # 10*(2^10) chars as input seems more than enough
   4425     test $ac_count -gt 10 && break
   4426   done
   4427   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4428 esac
   4429 
   4430       $ac_path_EGREP_found && break 3
   4431     done
   4432   done
   4433   done
   4434 IFS=$as_save_IFS
   4435   if test -z "$ac_cv_path_EGREP"; then
   4436     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4437   fi
   4438 else
   4439   ac_cv_path_EGREP=$EGREP
   4440 fi
   4441 
   4442    fi
   4443 fi
   4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4445 $as_echo "$ac_cv_path_EGREP" >&6; }
   4446  EGREP="$ac_cv_path_EGREP"
   4447 
   4448 
   4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4450 $as_echo_n "checking for ANSI C header files... " >&6; }
   4451 if ${ac_cv_header_stdc+:} false; then :
   4452   $as_echo_n "(cached) " >&6
   4453 else
   4454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4455 /* end confdefs.h.  */
   4456 #include <stdlib.h>
   4457 #include <stdarg.h>
   4458 #include <string.h>
   4459 #include <float.h>
   4460 
   4461 int
   4462 main ()
   4463 {
   4464 
   4465   ;
   4466   return 0;
   4467 }
   4468 _ACEOF
   4469 if ac_fn_c_try_compile "$LINENO"; then :
   4470   ac_cv_header_stdc=yes
   4471 else
   4472   ac_cv_header_stdc=no
   4473 fi
   4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4475 
   4476 if test $ac_cv_header_stdc = yes; then
   4477   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4479 /* end confdefs.h.  */
   4480 #include <string.h>
   4481 
   4482 _ACEOF
   4483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4484   $EGREP "memchr" >/dev/null 2>&1; then :
   4485 
   4486 else
   4487   ac_cv_header_stdc=no
   4488 fi
   4489 rm -f conftest*
   4490 
   4491 fi
   4492 
   4493 if test $ac_cv_header_stdc = yes; then
   4494   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4496 /* end confdefs.h.  */
   4497 #include <stdlib.h>
   4498 
   4499 _ACEOF
   4500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4501   $EGREP "free" >/dev/null 2>&1; then :
   4502 
   4503 else
   4504   ac_cv_header_stdc=no
   4505 fi
   4506 rm -f conftest*
   4507 
   4508 fi
   4509 
   4510 if test $ac_cv_header_stdc = yes; then
   4511   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4512   if test "$cross_compiling" = yes; then :
   4513   :
   4514 else
   4515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4516 /* end confdefs.h.  */
   4517 #include <ctype.h>
   4518 #include <stdlib.h>
   4519 #if ((' ' & 0x0FF) == 0x020)
   4520 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4521 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4522 #else
   4523 # define ISLOWER(c) \
   4524 		   (('a' <= (c) && (c) <= 'i') \
   4525 		     || ('j' <= (c) && (c) <= 'r') \
   4526 		     || ('s' <= (c) && (c) <= 'z'))
   4527 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4528 #endif
   4529 
   4530 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4531 int
   4532 main ()
   4533 {
   4534   int i;
   4535   for (i = 0; i < 256; i++)
   4536     if (XOR (islower (i), ISLOWER (i))
   4537 	|| toupper (i) != TOUPPER (i))
   4538       return 2;
   4539   return 0;
   4540 }
   4541 _ACEOF
   4542 if ac_fn_c_try_run "$LINENO"; then :
   4543 
   4544 else
   4545   ac_cv_header_stdc=no
   4546 fi
   4547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4548   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4549 fi
   4550 
   4551 fi
   4552 fi
   4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4554 $as_echo "$ac_cv_header_stdc" >&6; }
   4555 if test $ac_cv_header_stdc = yes; then
   4556 
   4557 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4558 
   4559 fi
   4560 
   4561 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4562 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4563 		  inttypes.h stdint.h unistd.h
   4564 do :
   4565   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4566 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4567 "
   4568 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4569   cat >>confdefs.h <<_ACEOF
   4570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4571 _ACEOF
   4572 
   4573 fi
   4574 
   4575 done
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4583 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4584   CLANGCC="yes"
   4585 else
   4586   CLANGCC="no"
   4587 fi
   4588 
   4589 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4590 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4591   INTELCC="yes"
   4592 else
   4593   INTELCC="no"
   4594 fi
   4595 
   4596 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4597 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4598   SUNCC="yes"
   4599 else
   4600   SUNCC="no"
   4601 fi
   4602 
   4603 
   4604 
   4605 
   4606 
   4607 
   4608 
   4609 
   4610 
   4611 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4612 	if test -n "$ac_tool_prefix"; then
   4613   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4614 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4616 $as_echo_n "checking for $ac_word... " >&6; }
   4617 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4618   $as_echo_n "(cached) " >&6
   4619 else
   4620   case $PKG_CONFIG in
   4621   [\\/]* | ?:[\\/]*)
   4622   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4623   ;;
   4624   *)
   4625   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4626 for as_dir in $PATH
   4627 do
   4628   IFS=$as_save_IFS
   4629   test -z "$as_dir" && as_dir=.
   4630     for ac_exec_ext in '' $ac_executable_extensions; do
   4631   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4632     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4634     break 2
   4635   fi
   4636 done
   4637   done
   4638 IFS=$as_save_IFS
   4639 
   4640   ;;
   4641 esac
   4642 fi
   4643 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4644 if test -n "$PKG_CONFIG"; then
   4645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4646 $as_echo "$PKG_CONFIG" >&6; }
   4647 else
   4648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4649 $as_echo "no" >&6; }
   4650 fi
   4651 
   4652 
   4653 fi
   4654 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4655   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4656   # Extract the first word of "pkg-config", so it can be a program name with args.
   4657 set dummy pkg-config; ac_word=$2
   4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4659 $as_echo_n "checking for $ac_word... " >&6; }
   4660 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4661   $as_echo_n "(cached) " >&6
   4662 else
   4663   case $ac_pt_PKG_CONFIG in
   4664   [\\/]* | ?:[\\/]*)
   4665   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4666   ;;
   4667   *)
   4668   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4669 for as_dir in $PATH
   4670 do
   4671   IFS=$as_save_IFS
   4672   test -z "$as_dir" && as_dir=.
   4673     for ac_exec_ext in '' $ac_executable_extensions; do
   4674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4675     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4677     break 2
   4678   fi
   4679 done
   4680   done
   4681 IFS=$as_save_IFS
   4682 
   4683   ;;
   4684 esac
   4685 fi
   4686 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4687 if test -n "$ac_pt_PKG_CONFIG"; then
   4688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4689 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4690 else
   4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4692 $as_echo "no" >&6; }
   4693 fi
   4694 
   4695   if test "x$ac_pt_PKG_CONFIG" = x; then
   4696     PKG_CONFIG=""
   4697   else
   4698     case $cross_compiling:$ac_tool_warned in
   4699 yes:)
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4702 ac_tool_warned=yes ;;
   4703 esac
   4704     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4705   fi
   4706 else
   4707   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4708 fi
   4709 
   4710 fi
   4711 if test -n "$PKG_CONFIG"; then
   4712 	_pkg_min_version=0.9.0
   4713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4714 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4715 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4717 $as_echo "yes" >&6; }
   4718 	else
   4719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4720 $as_echo "no" >&6; }
   4721 		PKG_CONFIG=""
   4722 	fi
   4723 fi
   4724 # Make sure we can run config.sub.
   4725 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4726   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4727 
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4729 $as_echo_n "checking build system type... " >&6; }
   4730 if ${ac_cv_build+:} false; then :
   4731   $as_echo_n "(cached) " >&6
   4732 else
   4733   ac_build_alias=$build_alias
   4734 test "x$ac_build_alias" = x &&
   4735   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4736 test "x$ac_build_alias" = x &&
   4737   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4738 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4739   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4740 
   4741 fi
   4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4743 $as_echo "$ac_cv_build" >&6; }
   4744 case $ac_cv_build in
   4745 *-*-*) ;;
   4746 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4747 esac
   4748 build=$ac_cv_build
   4749 ac_save_IFS=$IFS; IFS='-'
   4750 set x $ac_cv_build
   4751 shift
   4752 build_cpu=$1
   4753 build_vendor=$2
   4754 shift; shift
   4755 # Remember, the first character of IFS is used to create $*,
   4756 # except with old shells:
   4757 build_os=$*
   4758 IFS=$ac_save_IFS
   4759 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4760 
   4761 
   4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4763 $as_echo_n "checking host system type... " >&6; }
   4764 if ${ac_cv_host+:} false; then :
   4765   $as_echo_n "(cached) " >&6
   4766 else
   4767   if test "x$host_alias" = x; then
   4768   ac_cv_host=$ac_cv_build
   4769 else
   4770   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4771     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4772 fi
   4773 
   4774 fi
   4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4776 $as_echo "$ac_cv_host" >&6; }
   4777 case $ac_cv_host in
   4778 *-*-*) ;;
   4779 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4780 esac
   4781 host=$ac_cv_host
   4782 ac_save_IFS=$IFS; IFS='-'
   4783 set x $ac_cv_host
   4784 shift
   4785 host_cpu=$1
   4786 host_vendor=$2
   4787 shift; shift
   4788 # Remember, the first character of IFS is used to create $*,
   4789 # except with old shells:
   4790 host_os=$*
   4791 IFS=$ac_save_IFS
   4792 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4793 
   4794 
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4796 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4797 if ${ac_cv_path_SED+:} false; then :
   4798   $as_echo_n "(cached) " >&6
   4799 else
   4800             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4801      for ac_i in 1 2 3 4 5 6 7; do
   4802        ac_script="$ac_script$as_nl$ac_script"
   4803      done
   4804      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4805      { ac_script=; unset ac_script;}
   4806      if test -z "$SED"; then
   4807   ac_path_SED_found=false
   4808   # Loop through the user's path and test for each of PROGNAME-LIST
   4809   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4810 for as_dir in $PATH
   4811 do
   4812   IFS=$as_save_IFS
   4813   test -z "$as_dir" && as_dir=.
   4814     for ac_prog in sed gsed; do
   4815     for ac_exec_ext in '' $ac_executable_extensions; do
   4816       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4817       as_fn_executable_p "$ac_path_SED" || continue
   4818 # Check for GNU ac_path_SED and select it if it is found.
   4819   # Check for GNU $ac_path_SED
   4820 case `"$ac_path_SED" --version 2>&1` in
   4821 *GNU*)
   4822   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4823 *)
   4824   ac_count=0
   4825   $as_echo_n 0123456789 >"conftest.in"
   4826   while :
   4827   do
   4828     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4829     mv "conftest.tmp" "conftest.in"
   4830     cp "conftest.in" "conftest.nl"
   4831     $as_echo '' >> "conftest.nl"
   4832     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4833     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4834     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4835     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4836       # Best one so far, save it but keep looking for a better one
   4837       ac_cv_path_SED="$ac_path_SED"
   4838       ac_path_SED_max=$ac_count
   4839     fi
   4840     # 10*(2^10) chars as input seems more than enough
   4841     test $ac_count -gt 10 && break
   4842   done
   4843   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4844 esac
   4845 
   4846       $ac_path_SED_found && break 3
   4847     done
   4848   done
   4849   done
   4850 IFS=$as_save_IFS
   4851   if test -z "$ac_cv_path_SED"; then
   4852     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4853   fi
   4854 else
   4855   ac_cv_path_SED=$SED
   4856 fi
   4857 
   4858 fi
   4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4860 $as_echo "$ac_cv_path_SED" >&6; }
   4861  SED="$ac_cv_path_SED"
   4862   rm -f conftest.sed
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 # Check whether --enable-selective-werror was given.
   4870 if test "${enable_selective_werror+set}" = set; then :
   4871   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4872 else
   4873   SELECTIVE_WERROR=yes
   4874 fi
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4881 if test "x$SUNCC" = "xyes"; then
   4882     BASE_CFLAGS="-v"
   4883 else
   4884     BASE_CFLAGS=""
   4885 fi
   4886 
   4887 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 xorg_testset_save_CFLAGS="$CFLAGS"
   4902 
   4903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4908   $as_echo_n "(cached) " >&6
   4909 else
   4910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4911 /* end confdefs.h.  */
   4912 int i;
   4913 _ACEOF
   4914 if ac_fn_c_try_compile "$LINENO"; then :
   4915   xorg_cv_cc_flag_unknown_warning_option=yes
   4916 else
   4917   xorg_cv_cc_flag_unknown_warning_option=no
   4918 fi
   4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4920 fi
   4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4924 	CFLAGS="$xorg_testset_save_CFLAGS"
   4925 fi
   4926 
   4927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4930 	fi
   4931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4935   $as_echo_n "(cached) " >&6
   4936 else
   4937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4938 /* end confdefs.h.  */
   4939 int i;
   4940 _ACEOF
   4941 if ac_fn_c_try_compile "$LINENO"; then :
   4942   xorg_cv_cc_flag_unused_command_line_argument=yes
   4943 else
   4944   xorg_cv_cc_flag_unused_command_line_argument=no
   4945 fi
   4946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4947 fi
   4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4951 	CFLAGS="$xorg_testset_save_CFLAGS"
   4952 fi
   4953 
   4954 found="no"
   4955 
   4956 	if test $found = "no" ; then
   4957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4959 		fi
   4960 
   4961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4963 		fi
   4964 
   4965 		CFLAGS="$CFLAGS -Wall"
   4966 
   4967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4968 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4969 		cacheid=xorg_cv_cc_flag__Wall
   4970 		if eval \${$cacheid+:} false; then :
   4971   $as_echo_n "(cached) " >&6
   4972 else
   4973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4974 /* end confdefs.h.  */
   4975 int i;
   4976 int
   4977 main ()
   4978 {
   4979 
   4980   ;
   4981   return 0;
   4982 }
   4983 _ACEOF
   4984 if ac_fn_c_try_link "$LINENO"; then :
   4985   eval $cacheid=yes
   4986 else
   4987   eval $cacheid=no
   4988 fi
   4989 rm -f core conftest.err conftest.$ac_objext \
   4990     conftest$ac_exeext conftest.$ac_ext
   4991 fi
   4992 
   4993 
   4994 		CFLAGS="$xorg_testset_save_CFLAGS"
   4995 
   4996 		eval supported=\$$cacheid
   4997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4998 $as_echo "$supported" >&6; }
   4999 		if test "$supported" = "yes" ; then
   5000 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5001 			found="yes"
   5002 		fi
   5003 	fi
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 xorg_testset_save_CFLAGS="$CFLAGS"
   5020 
   5021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5029 /* end confdefs.h.  */
   5030 int i;
   5031 _ACEOF
   5032 if ac_fn_c_try_compile "$LINENO"; then :
   5033   xorg_cv_cc_flag_unknown_warning_option=yes
   5034 else
   5035   xorg_cv_cc_flag_unknown_warning_option=no
   5036 fi
   5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5038 fi
   5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5042 	CFLAGS="$xorg_testset_save_CFLAGS"
   5043 fi
   5044 
   5045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5048 	fi
   5049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5056 /* end confdefs.h.  */
   5057 int i;
   5058 _ACEOF
   5059 if ac_fn_c_try_compile "$LINENO"; then :
   5060   xorg_cv_cc_flag_unused_command_line_argument=yes
   5061 else
   5062   xorg_cv_cc_flag_unused_command_line_argument=no
   5063 fi
   5064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5065 fi
   5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5069 	CFLAGS="$xorg_testset_save_CFLAGS"
   5070 fi
   5071 
   5072 found="no"
   5073 
   5074 	if test $found = "no" ; then
   5075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5077 		fi
   5078 
   5079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5081 		fi
   5082 
   5083 		CFLAGS="$CFLAGS -Wpointer-arith"
   5084 
   5085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5086 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5087 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5088 		if eval \${$cacheid+:} false; then :
   5089   $as_echo_n "(cached) " >&6
   5090 else
   5091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5092 /* end confdefs.h.  */
   5093 int i;
   5094 int
   5095 main ()
   5096 {
   5097 
   5098   ;
   5099   return 0;
   5100 }
   5101 _ACEOF
   5102 if ac_fn_c_try_link "$LINENO"; then :
   5103   eval $cacheid=yes
   5104 else
   5105   eval $cacheid=no
   5106 fi
   5107 rm -f core conftest.err conftest.$ac_objext \
   5108     conftest$ac_exeext conftest.$ac_ext
   5109 fi
   5110 
   5111 
   5112 		CFLAGS="$xorg_testset_save_CFLAGS"
   5113 
   5114 		eval supported=\$$cacheid
   5115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5116 $as_echo "$supported" >&6; }
   5117 		if test "$supported" = "yes" ; then
   5118 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5119 			found="yes"
   5120 		fi
   5121 	fi
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 xorg_testset_save_CFLAGS="$CFLAGS"
   5138 
   5139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5141 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5142 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5143 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5144   $as_echo_n "(cached) " >&6
   5145 else
   5146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5147 /* end confdefs.h.  */
   5148 int i;
   5149 _ACEOF
   5150 if ac_fn_c_try_compile "$LINENO"; then :
   5151   xorg_cv_cc_flag_unknown_warning_option=yes
   5152 else
   5153   xorg_cv_cc_flag_unknown_warning_option=no
   5154 fi
   5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5156 fi
   5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5158 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5160 	CFLAGS="$xorg_testset_save_CFLAGS"
   5161 fi
   5162 
   5163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5166 	fi
   5167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5168 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5169 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5170 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5171   $as_echo_n "(cached) " >&6
   5172 else
   5173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5174 /* end confdefs.h.  */
   5175 int i;
   5176 _ACEOF
   5177 if ac_fn_c_try_compile "$LINENO"; then :
   5178   xorg_cv_cc_flag_unused_command_line_argument=yes
   5179 else
   5180   xorg_cv_cc_flag_unused_command_line_argument=no
   5181 fi
   5182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5183 fi
   5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5185 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5187 	CFLAGS="$xorg_testset_save_CFLAGS"
   5188 fi
   5189 
   5190 found="no"
   5191 
   5192 	if test $found = "no" ; then
   5193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5195 		fi
   5196 
   5197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5199 		fi
   5200 
   5201 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5202 
   5203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5204 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5205 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5206 		if eval \${$cacheid+:} false; then :
   5207   $as_echo_n "(cached) " >&6
   5208 else
   5209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5210 /* end confdefs.h.  */
   5211 int i;
   5212 int
   5213 main ()
   5214 {
   5215 
   5216   ;
   5217   return 0;
   5218 }
   5219 _ACEOF
   5220 if ac_fn_c_try_link "$LINENO"; then :
   5221   eval $cacheid=yes
   5222 else
   5223   eval $cacheid=no
   5224 fi
   5225 rm -f core conftest.err conftest.$ac_objext \
   5226     conftest$ac_exeext conftest.$ac_ext
   5227 fi
   5228 
   5229 
   5230 		CFLAGS="$xorg_testset_save_CFLAGS"
   5231 
   5232 		eval supported=\$$cacheid
   5233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5234 $as_echo "$supported" >&6; }
   5235 		if test "$supported" = "yes" ; then
   5236 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5237 			found="yes"
   5238 		fi
   5239 	fi
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 xorg_testset_save_CFLAGS="$CFLAGS"
   5256 
   5257 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5258 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5259 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5260 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5261 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5262   $as_echo_n "(cached) " >&6
   5263 else
   5264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5265 /* end confdefs.h.  */
   5266 int i;
   5267 _ACEOF
   5268 if ac_fn_c_try_compile "$LINENO"; then :
   5269   xorg_cv_cc_flag_unknown_warning_option=yes
   5270 else
   5271   xorg_cv_cc_flag_unknown_warning_option=no
   5272 fi
   5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5274 fi
   5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5276 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5278 	CFLAGS="$xorg_testset_save_CFLAGS"
   5279 fi
   5280 
   5281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5284 	fi
   5285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5286 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5287 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5288 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5289   $as_echo_n "(cached) " >&6
   5290 else
   5291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5292 /* end confdefs.h.  */
   5293 int i;
   5294 _ACEOF
   5295 if ac_fn_c_try_compile "$LINENO"; then :
   5296   xorg_cv_cc_flag_unused_command_line_argument=yes
   5297 else
   5298   xorg_cv_cc_flag_unused_command_line_argument=no
   5299 fi
   5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5301 fi
   5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5303 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5305 	CFLAGS="$xorg_testset_save_CFLAGS"
   5306 fi
   5307 
   5308 found="no"
   5309 
   5310 	if test $found = "no" ; then
   5311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5313 		fi
   5314 
   5315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5317 		fi
   5318 
   5319 		CFLAGS="$CFLAGS -Wformat=2"
   5320 
   5321 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5322 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5323 		cacheid=xorg_cv_cc_flag__Wformat_2
   5324 		if eval \${$cacheid+:} false; then :
   5325   $as_echo_n "(cached) " >&6
   5326 else
   5327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5328 /* end confdefs.h.  */
   5329 int i;
   5330 int
   5331 main ()
   5332 {
   5333 
   5334   ;
   5335   return 0;
   5336 }
   5337 _ACEOF
   5338 if ac_fn_c_try_link "$LINENO"; then :
   5339   eval $cacheid=yes
   5340 else
   5341   eval $cacheid=no
   5342 fi
   5343 rm -f core conftest.err conftest.$ac_objext \
   5344     conftest$ac_exeext conftest.$ac_ext
   5345 fi
   5346 
   5347 
   5348 		CFLAGS="$xorg_testset_save_CFLAGS"
   5349 
   5350 		eval supported=\$$cacheid
   5351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5352 $as_echo "$supported" >&6; }
   5353 		if test "$supported" = "yes" ; then
   5354 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5355 			found="yes"
   5356 		fi
   5357 	fi
   5358 
   5359 	if test $found = "no" ; then
   5360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5362 		fi
   5363 
   5364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5366 		fi
   5367 
   5368 		CFLAGS="$CFLAGS -Wformat"
   5369 
   5370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5371 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5372 		cacheid=xorg_cv_cc_flag__Wformat
   5373 		if eval \${$cacheid+:} false; then :
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5377 /* end confdefs.h.  */
   5378 int i;
   5379 int
   5380 main ()
   5381 {
   5382 
   5383   ;
   5384   return 0;
   5385 }
   5386 _ACEOF
   5387 if ac_fn_c_try_link "$LINENO"; then :
   5388   eval $cacheid=yes
   5389 else
   5390   eval $cacheid=no
   5391 fi
   5392 rm -f core conftest.err conftest.$ac_objext \
   5393     conftest$ac_exeext conftest.$ac_ext
   5394 fi
   5395 
   5396 
   5397 		CFLAGS="$xorg_testset_save_CFLAGS"
   5398 
   5399 		eval supported=\$$cacheid
   5400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5401 $as_echo "$supported" >&6; }
   5402 		if test "$supported" = "yes" ; then
   5403 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5404 			found="yes"
   5405 		fi
   5406 	fi
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 xorg_testset_save_CFLAGS="$CFLAGS"
   5425 
   5426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5429 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5430 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5431   $as_echo_n "(cached) " >&6
   5432 else
   5433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5434 /* end confdefs.h.  */
   5435 int i;
   5436 _ACEOF
   5437 if ac_fn_c_try_compile "$LINENO"; then :
   5438   xorg_cv_cc_flag_unknown_warning_option=yes
   5439 else
   5440   xorg_cv_cc_flag_unknown_warning_option=no
   5441 fi
   5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5443 fi
   5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5445 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5447 	CFLAGS="$xorg_testset_save_CFLAGS"
   5448 fi
   5449 
   5450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5453 	fi
   5454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5456 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5457 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5458   $as_echo_n "(cached) " >&6
   5459 else
   5460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 int i;
   5463 _ACEOF
   5464 if ac_fn_c_try_compile "$LINENO"; then :
   5465   xorg_cv_cc_flag_unused_command_line_argument=yes
   5466 else
   5467   xorg_cv_cc_flag_unused_command_line_argument=no
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5470 fi
   5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5472 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5473 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5474 	CFLAGS="$xorg_testset_save_CFLAGS"
   5475 fi
   5476 
   5477 found="no"
   5478 
   5479 	if test $found = "no" ; then
   5480 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5482 		fi
   5483 
   5484 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5486 		fi
   5487 
   5488 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5489 
   5490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5491 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5492 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5493 		if eval \${$cacheid+:} false; then :
   5494   $as_echo_n "(cached) " >&6
   5495 else
   5496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5497 /* end confdefs.h.  */
   5498 int i;
   5499 int
   5500 main ()
   5501 {
   5502 
   5503   ;
   5504   return 0;
   5505 }
   5506 _ACEOF
   5507 if ac_fn_c_try_link "$LINENO"; then :
   5508   eval $cacheid=yes
   5509 else
   5510   eval $cacheid=no
   5511 fi
   5512 rm -f core conftest.err conftest.$ac_objext \
   5513     conftest$ac_exeext conftest.$ac_ext
   5514 fi
   5515 
   5516 
   5517 		CFLAGS="$xorg_testset_save_CFLAGS"
   5518 
   5519 		eval supported=\$$cacheid
   5520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5521 $as_echo "$supported" >&6; }
   5522 		if test "$supported" = "yes" ; then
   5523 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5524 			found="yes"
   5525 		fi
   5526 	fi
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 xorg_testset_save_CFLAGS="$CFLAGS"
   5543 
   5544 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5545 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5547 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5548 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5549   $as_echo_n "(cached) " >&6
   5550 else
   5551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5552 /* end confdefs.h.  */
   5553 int i;
   5554 _ACEOF
   5555 if ac_fn_c_try_compile "$LINENO"; then :
   5556   xorg_cv_cc_flag_unknown_warning_option=yes
   5557 else
   5558   xorg_cv_cc_flag_unknown_warning_option=no
   5559 fi
   5560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5561 fi
   5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5563 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5564 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5565 	CFLAGS="$xorg_testset_save_CFLAGS"
   5566 fi
   5567 
   5568 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5569 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5570 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5571 	fi
   5572 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5574 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5575 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5576   $as_echo_n "(cached) " >&6
   5577 else
   5578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5579 /* end confdefs.h.  */
   5580 int i;
   5581 _ACEOF
   5582 if ac_fn_c_try_compile "$LINENO"; then :
   5583   xorg_cv_cc_flag_unused_command_line_argument=yes
   5584 else
   5585   xorg_cv_cc_flag_unused_command_line_argument=no
   5586 fi
   5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5588 fi
   5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5590 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5592 	CFLAGS="$xorg_testset_save_CFLAGS"
   5593 fi
   5594 
   5595 found="no"
   5596 
   5597 	if test $found = "no" ; then
   5598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5600 		fi
   5601 
   5602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5604 		fi
   5605 
   5606 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5607 
   5608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5609 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5610 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5611 		if eval \${$cacheid+:} false; then :
   5612   $as_echo_n "(cached) " >&6
   5613 else
   5614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5615 /* end confdefs.h.  */
   5616 int i;
   5617 int
   5618 main ()
   5619 {
   5620 
   5621   ;
   5622   return 0;
   5623 }
   5624 _ACEOF
   5625 if ac_fn_c_try_link "$LINENO"; then :
   5626   eval $cacheid=yes
   5627 else
   5628   eval $cacheid=no
   5629 fi
   5630 rm -f core conftest.err conftest.$ac_objext \
   5631     conftest$ac_exeext conftest.$ac_ext
   5632 fi
   5633 
   5634 
   5635 		CFLAGS="$xorg_testset_save_CFLAGS"
   5636 
   5637 		eval supported=\$$cacheid
   5638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5639 $as_echo "$supported" >&6; }
   5640 		if test "$supported" = "yes" ; then
   5641 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5642 			found="yes"
   5643 		fi
   5644 	fi
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 xorg_testset_save_CFLAGS="$CFLAGS"
   5661 
   5662 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5663 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5665 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5666 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5667   $as_echo_n "(cached) " >&6
   5668 else
   5669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5670 /* end confdefs.h.  */
   5671 int i;
   5672 _ACEOF
   5673 if ac_fn_c_try_compile "$LINENO"; then :
   5674   xorg_cv_cc_flag_unknown_warning_option=yes
   5675 else
   5676   xorg_cv_cc_flag_unknown_warning_option=no
   5677 fi
   5678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5679 fi
   5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5681 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5682 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5683 	CFLAGS="$xorg_testset_save_CFLAGS"
   5684 fi
   5685 
   5686 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5687 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5688 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5689 	fi
   5690 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5692 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5693 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5694   $as_echo_n "(cached) " >&6
   5695 else
   5696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5697 /* end confdefs.h.  */
   5698 int i;
   5699 _ACEOF
   5700 if ac_fn_c_try_compile "$LINENO"; then :
   5701   xorg_cv_cc_flag_unused_command_line_argument=yes
   5702 else
   5703   xorg_cv_cc_flag_unused_command_line_argument=no
   5704 fi
   5705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5706 fi
   5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5708 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5709 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5710 	CFLAGS="$xorg_testset_save_CFLAGS"
   5711 fi
   5712 
   5713 found="no"
   5714 
   5715 	if test $found = "no" ; then
   5716 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5717 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5718 		fi
   5719 
   5720 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5721 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5722 		fi
   5723 
   5724 		CFLAGS="$CFLAGS -Wnested-externs"
   5725 
   5726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5727 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5728 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5729 		if eval \${$cacheid+:} false; then :
   5730   $as_echo_n "(cached) " >&6
   5731 else
   5732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5733 /* end confdefs.h.  */
   5734 int i;
   5735 int
   5736 main ()
   5737 {
   5738 
   5739   ;
   5740   return 0;
   5741 }
   5742 _ACEOF
   5743 if ac_fn_c_try_link "$LINENO"; then :
   5744   eval $cacheid=yes
   5745 else
   5746   eval $cacheid=no
   5747 fi
   5748 rm -f core conftest.err conftest.$ac_objext \
   5749     conftest$ac_exeext conftest.$ac_ext
   5750 fi
   5751 
   5752 
   5753 		CFLAGS="$xorg_testset_save_CFLAGS"
   5754 
   5755 		eval supported=\$$cacheid
   5756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5757 $as_echo "$supported" >&6; }
   5758 		if test "$supported" = "yes" ; then
   5759 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5760 			found="yes"
   5761 		fi
   5762 	fi
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 xorg_testset_save_CFLAGS="$CFLAGS"
   5779 
   5780 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5781 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5783 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5784 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5785   $as_echo_n "(cached) " >&6
   5786 else
   5787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5788 /* end confdefs.h.  */
   5789 int i;
   5790 _ACEOF
   5791 if ac_fn_c_try_compile "$LINENO"; then :
   5792   xorg_cv_cc_flag_unknown_warning_option=yes
   5793 else
   5794   xorg_cv_cc_flag_unknown_warning_option=no
   5795 fi
   5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5797 fi
   5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5799 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5800 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5801 	CFLAGS="$xorg_testset_save_CFLAGS"
   5802 fi
   5803 
   5804 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5805 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5806 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5807 	fi
   5808 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5810 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5811 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5812   $as_echo_n "(cached) " >&6
   5813 else
   5814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5815 /* end confdefs.h.  */
   5816 int i;
   5817 _ACEOF
   5818 if ac_fn_c_try_compile "$LINENO"; then :
   5819   xorg_cv_cc_flag_unused_command_line_argument=yes
   5820 else
   5821   xorg_cv_cc_flag_unused_command_line_argument=no
   5822 fi
   5823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5824 fi
   5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5826 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5827 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5828 	CFLAGS="$xorg_testset_save_CFLAGS"
   5829 fi
   5830 
   5831 found="no"
   5832 
   5833 	if test $found = "no" ; then
   5834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5836 		fi
   5837 
   5838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5840 		fi
   5841 
   5842 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5843 
   5844 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5845 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5846 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5847 		if eval \${$cacheid+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5851 /* end confdefs.h.  */
   5852 int i;
   5853 int
   5854 main ()
   5855 {
   5856 
   5857   ;
   5858   return 0;
   5859 }
   5860 _ACEOF
   5861 if ac_fn_c_try_link "$LINENO"; then :
   5862   eval $cacheid=yes
   5863 else
   5864   eval $cacheid=no
   5865 fi
   5866 rm -f core conftest.err conftest.$ac_objext \
   5867     conftest$ac_exeext conftest.$ac_ext
   5868 fi
   5869 
   5870 
   5871 		CFLAGS="$xorg_testset_save_CFLAGS"
   5872 
   5873 		eval supported=\$$cacheid
   5874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5875 $as_echo "$supported" >&6; }
   5876 		if test "$supported" = "yes" ; then
   5877 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5878 			found="yes"
   5879 		fi
   5880 	fi
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 xorg_testset_save_CFLAGS="$CFLAGS"
   5897 
   5898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5901 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5902 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5903   $as_echo_n "(cached) " >&6
   5904 else
   5905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5906 /* end confdefs.h.  */
   5907 int i;
   5908 _ACEOF
   5909 if ac_fn_c_try_compile "$LINENO"; then :
   5910   xorg_cv_cc_flag_unknown_warning_option=yes
   5911 else
   5912   xorg_cv_cc_flag_unknown_warning_option=no
   5913 fi
   5914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5915 fi
   5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5917 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5918 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5919 	CFLAGS="$xorg_testset_save_CFLAGS"
   5920 fi
   5921 
   5922 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5923 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5924 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5925 	fi
   5926 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5928 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5929 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5933 /* end confdefs.h.  */
   5934 int i;
   5935 _ACEOF
   5936 if ac_fn_c_try_compile "$LINENO"; then :
   5937   xorg_cv_cc_flag_unused_command_line_argument=yes
   5938 else
   5939   xorg_cv_cc_flag_unused_command_line_argument=no
   5940 fi
   5941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5942 fi
   5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5944 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5946 	CFLAGS="$xorg_testset_save_CFLAGS"
   5947 fi
   5948 
   5949 found="no"
   5950 
   5951 	if test $found = "no" ; then
   5952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5954 		fi
   5955 
   5956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5958 		fi
   5959 
   5960 		CFLAGS="$CFLAGS -Wold-style-definition"
   5961 
   5962 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5963 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5964 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5965 		if eval \${$cacheid+:} false; then :
   5966   $as_echo_n "(cached) " >&6
   5967 else
   5968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5969 /* end confdefs.h.  */
   5970 int i;
   5971 int
   5972 main ()
   5973 {
   5974 
   5975   ;
   5976   return 0;
   5977 }
   5978 _ACEOF
   5979 if ac_fn_c_try_link "$LINENO"; then :
   5980   eval $cacheid=yes
   5981 else
   5982   eval $cacheid=no
   5983 fi
   5984 rm -f core conftest.err conftest.$ac_objext \
   5985     conftest$ac_exeext conftest.$ac_ext
   5986 fi
   5987 
   5988 
   5989 		CFLAGS="$xorg_testset_save_CFLAGS"
   5990 
   5991 		eval supported=\$$cacheid
   5992 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5993 $as_echo "$supported" >&6; }
   5994 		if test "$supported" = "yes" ; then
   5995 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5996 			found="yes"
   5997 		fi
   5998 	fi
   5999 
   6000 	if test $found = "no" ; then
   6001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 		fi
   6004 
   6005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6007 		fi
   6008 
   6009 		CFLAGS="$CFLAGS -fd"
   6010 
   6011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6012 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6013 		cacheid=xorg_cv_cc_flag__fd
   6014 		if eval \${$cacheid+:} false; then :
   6015   $as_echo_n "(cached) " >&6
   6016 else
   6017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6018 /* end confdefs.h.  */
   6019 int i;
   6020 int
   6021 main ()
   6022 {
   6023 
   6024   ;
   6025   return 0;
   6026 }
   6027 _ACEOF
   6028 if ac_fn_c_try_link "$LINENO"; then :
   6029   eval $cacheid=yes
   6030 else
   6031   eval $cacheid=no
   6032 fi
   6033 rm -f core conftest.err conftest.$ac_objext \
   6034     conftest$ac_exeext conftest.$ac_ext
   6035 fi
   6036 
   6037 
   6038 		CFLAGS="$xorg_testset_save_CFLAGS"
   6039 
   6040 		eval supported=\$$cacheid
   6041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6042 $as_echo "$supported" >&6; }
   6043 		if test "$supported" = "yes" ; then
   6044 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6045 			found="yes"
   6046 		fi
   6047 	fi
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 xorg_testset_save_CFLAGS="$CFLAGS"
   6064 
   6065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6070   $as_echo_n "(cached) " >&6
   6071 else
   6072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6073 /* end confdefs.h.  */
   6074 int i;
   6075 _ACEOF
   6076 if ac_fn_c_try_compile "$LINENO"; then :
   6077   xorg_cv_cc_flag_unknown_warning_option=yes
   6078 else
   6079   xorg_cv_cc_flag_unknown_warning_option=no
   6080 fi
   6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6082 fi
   6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6086 	CFLAGS="$xorg_testset_save_CFLAGS"
   6087 fi
   6088 
   6089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6092 	fi
   6093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6097   $as_echo_n "(cached) " >&6
   6098 else
   6099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6100 /* end confdefs.h.  */
   6101 int i;
   6102 _ACEOF
   6103 if ac_fn_c_try_compile "$LINENO"; then :
   6104   xorg_cv_cc_flag_unused_command_line_argument=yes
   6105 else
   6106   xorg_cv_cc_flag_unused_command_line_argument=no
   6107 fi
   6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6109 fi
   6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6113 	CFLAGS="$xorg_testset_save_CFLAGS"
   6114 fi
   6115 
   6116 found="no"
   6117 
   6118 	if test $found = "no" ; then
   6119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6121 		fi
   6122 
   6123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6125 		fi
   6126 
   6127 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6128 
   6129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6130 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6131 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6132 		if eval \${$cacheid+:} false; then :
   6133   $as_echo_n "(cached) " >&6
   6134 else
   6135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6136 /* end confdefs.h.  */
   6137 int i;
   6138 int
   6139 main ()
   6140 {
   6141 
   6142   ;
   6143   return 0;
   6144 }
   6145 _ACEOF
   6146 if ac_fn_c_try_link "$LINENO"; then :
   6147   eval $cacheid=yes
   6148 else
   6149   eval $cacheid=no
   6150 fi
   6151 rm -f core conftest.err conftest.$ac_objext \
   6152     conftest$ac_exeext conftest.$ac_ext
   6153 fi
   6154 
   6155 
   6156 		CFLAGS="$xorg_testset_save_CFLAGS"
   6157 
   6158 		eval supported=\$$cacheid
   6159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6160 $as_echo "$supported" >&6; }
   6161 		if test "$supported" = "yes" ; then
   6162 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6163 			found="yes"
   6164 		fi
   6165 	fi
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 # This chunk adds additional warnings that could catch undesired effects.
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 xorg_testset_save_CFLAGS="$CFLAGS"
   6186 
   6187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6190 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6191 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6192   $as_echo_n "(cached) " >&6
   6193 else
   6194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6195 /* end confdefs.h.  */
   6196 int i;
   6197 _ACEOF
   6198 if ac_fn_c_try_compile "$LINENO"; then :
   6199   xorg_cv_cc_flag_unknown_warning_option=yes
   6200 else
   6201   xorg_cv_cc_flag_unknown_warning_option=no
   6202 fi
   6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6204 fi
   6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6206 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6208 	CFLAGS="$xorg_testset_save_CFLAGS"
   6209 fi
   6210 
   6211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6214 	fi
   6215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6217 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6218 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6219   $as_echo_n "(cached) " >&6
   6220 else
   6221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6222 /* end confdefs.h.  */
   6223 int i;
   6224 _ACEOF
   6225 if ac_fn_c_try_compile "$LINENO"; then :
   6226   xorg_cv_cc_flag_unused_command_line_argument=yes
   6227 else
   6228   xorg_cv_cc_flag_unused_command_line_argument=no
   6229 fi
   6230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6231 fi
   6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6233 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6235 	CFLAGS="$xorg_testset_save_CFLAGS"
   6236 fi
   6237 
   6238 found="no"
   6239 
   6240 	if test $found = "no" ; then
   6241 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6243 		fi
   6244 
   6245 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6247 		fi
   6248 
   6249 		CFLAGS="$CFLAGS -Wunused"
   6250 
   6251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6252 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6253 		cacheid=xorg_cv_cc_flag__Wunused
   6254 		if eval \${$cacheid+:} false; then :
   6255   $as_echo_n "(cached) " >&6
   6256 else
   6257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6258 /* end confdefs.h.  */
   6259 int i;
   6260 int
   6261 main ()
   6262 {
   6263 
   6264   ;
   6265   return 0;
   6266 }
   6267 _ACEOF
   6268 if ac_fn_c_try_link "$LINENO"; then :
   6269   eval $cacheid=yes
   6270 else
   6271   eval $cacheid=no
   6272 fi
   6273 rm -f core conftest.err conftest.$ac_objext \
   6274     conftest$ac_exeext conftest.$ac_ext
   6275 fi
   6276 
   6277 
   6278 		CFLAGS="$xorg_testset_save_CFLAGS"
   6279 
   6280 		eval supported=\$$cacheid
   6281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6282 $as_echo "$supported" >&6; }
   6283 		if test "$supported" = "yes" ; then
   6284 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6285 			found="yes"
   6286 		fi
   6287 	fi
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 xorg_testset_save_CFLAGS="$CFLAGS"
   6304 
   6305 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6306 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6307 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6308 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6309 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6310   $as_echo_n "(cached) " >&6
   6311 else
   6312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6313 /* end confdefs.h.  */
   6314 int i;
   6315 _ACEOF
   6316 if ac_fn_c_try_compile "$LINENO"; then :
   6317   xorg_cv_cc_flag_unknown_warning_option=yes
   6318 else
   6319   xorg_cv_cc_flag_unknown_warning_option=no
   6320 fi
   6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6322 fi
   6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6324 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6326 	CFLAGS="$xorg_testset_save_CFLAGS"
   6327 fi
   6328 
   6329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6332 	fi
   6333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6335 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6336 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6337   $as_echo_n "(cached) " >&6
   6338 else
   6339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6340 /* end confdefs.h.  */
   6341 int i;
   6342 _ACEOF
   6343 if ac_fn_c_try_compile "$LINENO"; then :
   6344   xorg_cv_cc_flag_unused_command_line_argument=yes
   6345 else
   6346   xorg_cv_cc_flag_unused_command_line_argument=no
   6347 fi
   6348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6349 fi
   6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6351 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6353 	CFLAGS="$xorg_testset_save_CFLAGS"
   6354 fi
   6355 
   6356 found="no"
   6357 
   6358 	if test $found = "no" ; then
   6359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6361 		fi
   6362 
   6363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6365 		fi
   6366 
   6367 		CFLAGS="$CFLAGS -Wuninitialized"
   6368 
   6369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6370 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6371 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6372 		if eval \${$cacheid+:} false; then :
   6373   $as_echo_n "(cached) " >&6
   6374 else
   6375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6376 /* end confdefs.h.  */
   6377 int i;
   6378 int
   6379 main ()
   6380 {
   6381 
   6382   ;
   6383   return 0;
   6384 }
   6385 _ACEOF
   6386 if ac_fn_c_try_link "$LINENO"; then :
   6387   eval $cacheid=yes
   6388 else
   6389   eval $cacheid=no
   6390 fi
   6391 rm -f core conftest.err conftest.$ac_objext \
   6392     conftest$ac_exeext conftest.$ac_ext
   6393 fi
   6394 
   6395 
   6396 		CFLAGS="$xorg_testset_save_CFLAGS"
   6397 
   6398 		eval supported=\$$cacheid
   6399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6400 $as_echo "$supported" >&6; }
   6401 		if test "$supported" = "yes" ; then
   6402 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6403 			found="yes"
   6404 		fi
   6405 	fi
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 xorg_testset_save_CFLAGS="$CFLAGS"
   6422 
   6423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6425 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6426 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6427 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6428   $as_echo_n "(cached) " >&6
   6429 else
   6430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6431 /* end confdefs.h.  */
   6432 int i;
   6433 _ACEOF
   6434 if ac_fn_c_try_compile "$LINENO"; then :
   6435   xorg_cv_cc_flag_unknown_warning_option=yes
   6436 else
   6437   xorg_cv_cc_flag_unknown_warning_option=no
   6438 fi
   6439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6440 fi
   6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6442 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6443 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6444 	CFLAGS="$xorg_testset_save_CFLAGS"
   6445 fi
   6446 
   6447 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6448 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6449 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6450 	fi
   6451 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6453 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6454 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6455   $as_echo_n "(cached) " >&6
   6456 else
   6457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6458 /* end confdefs.h.  */
   6459 int i;
   6460 _ACEOF
   6461 if ac_fn_c_try_compile "$LINENO"; then :
   6462   xorg_cv_cc_flag_unused_command_line_argument=yes
   6463 else
   6464   xorg_cv_cc_flag_unused_command_line_argument=no
   6465 fi
   6466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6467 fi
   6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6469 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6470 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6471 	CFLAGS="$xorg_testset_save_CFLAGS"
   6472 fi
   6473 
   6474 found="no"
   6475 
   6476 	if test $found = "no" ; then
   6477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6479 		fi
   6480 
   6481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6483 		fi
   6484 
   6485 		CFLAGS="$CFLAGS -Wshadow"
   6486 
   6487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6488 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6489 		cacheid=xorg_cv_cc_flag__Wshadow
   6490 		if eval \${$cacheid+:} false; then :
   6491   $as_echo_n "(cached) " >&6
   6492 else
   6493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6494 /* end confdefs.h.  */
   6495 int i;
   6496 int
   6497 main ()
   6498 {
   6499 
   6500   ;
   6501   return 0;
   6502 }
   6503 _ACEOF
   6504 if ac_fn_c_try_link "$LINENO"; then :
   6505   eval $cacheid=yes
   6506 else
   6507   eval $cacheid=no
   6508 fi
   6509 rm -f core conftest.err conftest.$ac_objext \
   6510     conftest$ac_exeext conftest.$ac_ext
   6511 fi
   6512 
   6513 
   6514 		CFLAGS="$xorg_testset_save_CFLAGS"
   6515 
   6516 		eval supported=\$$cacheid
   6517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6518 $as_echo "$supported" >&6; }
   6519 		if test "$supported" = "yes" ; then
   6520 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6521 			found="yes"
   6522 		fi
   6523 	fi
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 xorg_testset_save_CFLAGS="$CFLAGS"
   6540 
   6541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6544 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6545 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6546   $as_echo_n "(cached) " >&6
   6547 else
   6548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6549 /* end confdefs.h.  */
   6550 int i;
   6551 _ACEOF
   6552 if ac_fn_c_try_compile "$LINENO"; then :
   6553   xorg_cv_cc_flag_unknown_warning_option=yes
   6554 else
   6555   xorg_cv_cc_flag_unknown_warning_option=no
   6556 fi
   6557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6558 fi
   6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6560 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6562 	CFLAGS="$xorg_testset_save_CFLAGS"
   6563 fi
   6564 
   6565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6568 	fi
   6569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6571 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6572 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6573   $as_echo_n "(cached) " >&6
   6574 else
   6575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6576 /* end confdefs.h.  */
   6577 int i;
   6578 _ACEOF
   6579 if ac_fn_c_try_compile "$LINENO"; then :
   6580   xorg_cv_cc_flag_unused_command_line_argument=yes
   6581 else
   6582   xorg_cv_cc_flag_unused_command_line_argument=no
   6583 fi
   6584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6585 fi
   6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6587 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6588 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6589 	CFLAGS="$xorg_testset_save_CFLAGS"
   6590 fi
   6591 
   6592 found="no"
   6593 
   6594 	if test $found = "no" ; then
   6595 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6596 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6597 		fi
   6598 
   6599 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6600 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6601 		fi
   6602 
   6603 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6604 
   6605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6606 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6607 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6608 		if eval \${$cacheid+:} false; then :
   6609   $as_echo_n "(cached) " >&6
   6610 else
   6611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6612 /* end confdefs.h.  */
   6613 int i;
   6614 int
   6615 main ()
   6616 {
   6617 
   6618   ;
   6619   return 0;
   6620 }
   6621 _ACEOF
   6622 if ac_fn_c_try_link "$LINENO"; then :
   6623   eval $cacheid=yes
   6624 else
   6625   eval $cacheid=no
   6626 fi
   6627 rm -f core conftest.err conftest.$ac_objext \
   6628     conftest$ac_exeext conftest.$ac_ext
   6629 fi
   6630 
   6631 
   6632 		CFLAGS="$xorg_testset_save_CFLAGS"
   6633 
   6634 		eval supported=\$$cacheid
   6635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6636 $as_echo "$supported" >&6; }
   6637 		if test "$supported" = "yes" ; then
   6638 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6639 			found="yes"
   6640 		fi
   6641 	fi
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 xorg_testset_save_CFLAGS="$CFLAGS"
   6658 
   6659 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6660 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6661 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6662 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6663 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6664   $as_echo_n "(cached) " >&6
   6665 else
   6666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6667 /* end confdefs.h.  */
   6668 int i;
   6669 _ACEOF
   6670 if ac_fn_c_try_compile "$LINENO"; then :
   6671   xorg_cv_cc_flag_unknown_warning_option=yes
   6672 else
   6673   xorg_cv_cc_flag_unknown_warning_option=no
   6674 fi
   6675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6676 fi
   6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6678 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6680 	CFLAGS="$xorg_testset_save_CFLAGS"
   6681 fi
   6682 
   6683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6686 	fi
   6687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6689 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6690 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6691   $as_echo_n "(cached) " >&6
   6692 else
   6693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6694 /* end confdefs.h.  */
   6695 int i;
   6696 _ACEOF
   6697 if ac_fn_c_try_compile "$LINENO"; then :
   6698   xorg_cv_cc_flag_unused_command_line_argument=yes
   6699 else
   6700   xorg_cv_cc_flag_unused_command_line_argument=no
   6701 fi
   6702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6703 fi
   6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6705 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6707 	CFLAGS="$xorg_testset_save_CFLAGS"
   6708 fi
   6709 
   6710 found="no"
   6711 
   6712 	if test $found = "no" ; then
   6713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6715 		fi
   6716 
   6717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6719 		fi
   6720 
   6721 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6722 
   6723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6724 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6725 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6726 		if eval \${$cacheid+:} false; then :
   6727   $as_echo_n "(cached) " >&6
   6728 else
   6729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6730 /* end confdefs.h.  */
   6731 int i;
   6732 int
   6733 main ()
   6734 {
   6735 
   6736   ;
   6737   return 0;
   6738 }
   6739 _ACEOF
   6740 if ac_fn_c_try_link "$LINENO"; then :
   6741   eval $cacheid=yes
   6742 else
   6743   eval $cacheid=no
   6744 fi
   6745 rm -f core conftest.err conftest.$ac_objext \
   6746     conftest$ac_exeext conftest.$ac_ext
   6747 fi
   6748 
   6749 
   6750 		CFLAGS="$xorg_testset_save_CFLAGS"
   6751 
   6752 		eval supported=\$$cacheid
   6753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6754 $as_echo "$supported" >&6; }
   6755 		if test "$supported" = "yes" ; then
   6756 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6757 			found="yes"
   6758 		fi
   6759 	fi
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 xorg_testset_save_CFLAGS="$CFLAGS"
   6776 
   6777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6780 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6781 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6782   $as_echo_n "(cached) " >&6
   6783 else
   6784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6785 /* end confdefs.h.  */
   6786 int i;
   6787 _ACEOF
   6788 if ac_fn_c_try_compile "$LINENO"; then :
   6789   xorg_cv_cc_flag_unknown_warning_option=yes
   6790 else
   6791   xorg_cv_cc_flag_unknown_warning_option=no
   6792 fi
   6793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6794 fi
   6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6796 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6797 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6798 	CFLAGS="$xorg_testset_save_CFLAGS"
   6799 fi
   6800 
   6801 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6802 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6803 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6804 	fi
   6805 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6807 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6808 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6809   $as_echo_n "(cached) " >&6
   6810 else
   6811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6812 /* end confdefs.h.  */
   6813 int i;
   6814 _ACEOF
   6815 if ac_fn_c_try_compile "$LINENO"; then :
   6816   xorg_cv_cc_flag_unused_command_line_argument=yes
   6817 else
   6818   xorg_cv_cc_flag_unused_command_line_argument=no
   6819 fi
   6820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6821 fi
   6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6823 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6824 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6825 	CFLAGS="$xorg_testset_save_CFLAGS"
   6826 fi
   6827 
   6828 found="no"
   6829 
   6830 	if test $found = "no" ; then
   6831 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6832 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6833 		fi
   6834 
   6835 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6836 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6837 		fi
   6838 
   6839 		CFLAGS="$CFLAGS -Wredundant-decls"
   6840 
   6841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6842 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6843 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6844 		if eval \${$cacheid+:} false; then :
   6845   $as_echo_n "(cached) " >&6
   6846 else
   6847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6848 /* end confdefs.h.  */
   6849 int i;
   6850 int
   6851 main ()
   6852 {
   6853 
   6854   ;
   6855   return 0;
   6856 }
   6857 _ACEOF
   6858 if ac_fn_c_try_link "$LINENO"; then :
   6859   eval $cacheid=yes
   6860 else
   6861   eval $cacheid=no
   6862 fi
   6863 rm -f core conftest.err conftest.$ac_objext \
   6864     conftest$ac_exeext conftest.$ac_ext
   6865 fi
   6866 
   6867 
   6868 		CFLAGS="$xorg_testset_save_CFLAGS"
   6869 
   6870 		eval supported=\$$cacheid
   6871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6872 $as_echo "$supported" >&6; }
   6873 		if test "$supported" = "yes" ; then
   6874 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6875 			found="yes"
   6876 		fi
   6877 	fi
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 xorg_testset_save_CFLAGS="$CFLAGS"
   6894 
   6895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6898 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6899 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6900   $as_echo_n "(cached) " >&6
   6901 else
   6902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6903 /* end confdefs.h.  */
   6904 int i;
   6905 _ACEOF
   6906 if ac_fn_c_try_compile "$LINENO"; then :
   6907   xorg_cv_cc_flag_unknown_warning_option=yes
   6908 else
   6909   xorg_cv_cc_flag_unknown_warning_option=no
   6910 fi
   6911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6912 fi
   6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6914 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6916 	CFLAGS="$xorg_testset_save_CFLAGS"
   6917 fi
   6918 
   6919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6922 	fi
   6923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6925 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6926 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6927   $as_echo_n "(cached) " >&6
   6928 else
   6929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6930 /* end confdefs.h.  */
   6931 int i;
   6932 _ACEOF
   6933 if ac_fn_c_try_compile "$LINENO"; then :
   6934   xorg_cv_cc_flag_unused_command_line_argument=yes
   6935 else
   6936   xorg_cv_cc_flag_unused_command_line_argument=no
   6937 fi
   6938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6939 fi
   6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6941 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6943 	CFLAGS="$xorg_testset_save_CFLAGS"
   6944 fi
   6945 
   6946 found="no"
   6947 
   6948 	if test $found = "no" ; then
   6949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 		fi
   6952 
   6953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6955 		fi
   6956 
   6957 		CFLAGS="$CFLAGS -Wlogical-op"
   6958 
   6959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6960 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6961 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6962 		if eval \${$cacheid+:} false; then :
   6963   $as_echo_n "(cached) " >&6
   6964 else
   6965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6966 /* end confdefs.h.  */
   6967 int i;
   6968 int
   6969 main ()
   6970 {
   6971 
   6972   ;
   6973   return 0;
   6974 }
   6975 _ACEOF
   6976 if ac_fn_c_try_link "$LINENO"; then :
   6977   eval $cacheid=yes
   6978 else
   6979   eval $cacheid=no
   6980 fi
   6981 rm -f core conftest.err conftest.$ac_objext \
   6982     conftest$ac_exeext conftest.$ac_ext
   6983 fi
   6984 
   6985 
   6986 		CFLAGS="$xorg_testset_save_CFLAGS"
   6987 
   6988 		eval supported=\$$cacheid
   6989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6990 $as_echo "$supported" >&6; }
   6991 		if test "$supported" = "yes" ; then
   6992 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6993 			found="yes"
   6994 		fi
   6995 	fi
   6996 
   6997 
   6998 
   6999 # These are currently disabled because they are noisy.  They will be enabled
   7000 # in the future once the codebase is sufficiently modernized to silence
   7001 # them.  For now, I don't want them to drown out the other warnings.
   7002 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7003 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7004 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7005 
   7006 # Turn some warnings into errors, so we don't accidently get successful builds
   7007 # when there are problems that should be fixed.
   7008 
   7009 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 xorg_testset_save_CFLAGS="$CFLAGS"
   7024 
   7025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7030   $as_echo_n "(cached) " >&6
   7031 else
   7032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7033 /* end confdefs.h.  */
   7034 int i;
   7035 _ACEOF
   7036 if ac_fn_c_try_compile "$LINENO"; then :
   7037   xorg_cv_cc_flag_unknown_warning_option=yes
   7038 else
   7039   xorg_cv_cc_flag_unknown_warning_option=no
   7040 fi
   7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7042 fi
   7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7046 	CFLAGS="$xorg_testset_save_CFLAGS"
   7047 fi
   7048 
   7049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7052 	fi
   7053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7057   $as_echo_n "(cached) " >&6
   7058 else
   7059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7060 /* end confdefs.h.  */
   7061 int i;
   7062 _ACEOF
   7063 if ac_fn_c_try_compile "$LINENO"; then :
   7064   xorg_cv_cc_flag_unused_command_line_argument=yes
   7065 else
   7066   xorg_cv_cc_flag_unused_command_line_argument=no
   7067 fi
   7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7069 fi
   7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7073 	CFLAGS="$xorg_testset_save_CFLAGS"
   7074 fi
   7075 
   7076 found="no"
   7077 
   7078 	if test $found = "no" ; then
   7079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7081 		fi
   7082 
   7083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7085 		fi
   7086 
   7087 		CFLAGS="$CFLAGS -Werror=implicit"
   7088 
   7089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7090 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7091 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7092 		if eval \${$cacheid+:} false; then :
   7093   $as_echo_n "(cached) " >&6
   7094 else
   7095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7096 /* end confdefs.h.  */
   7097 int i;
   7098 int
   7099 main ()
   7100 {
   7101 
   7102   ;
   7103   return 0;
   7104 }
   7105 _ACEOF
   7106 if ac_fn_c_try_link "$LINENO"; then :
   7107   eval $cacheid=yes
   7108 else
   7109   eval $cacheid=no
   7110 fi
   7111 rm -f core conftest.err conftest.$ac_objext \
   7112     conftest$ac_exeext conftest.$ac_ext
   7113 fi
   7114 
   7115 
   7116 		CFLAGS="$xorg_testset_save_CFLAGS"
   7117 
   7118 		eval supported=\$$cacheid
   7119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7120 $as_echo "$supported" >&6; }
   7121 		if test "$supported" = "yes" ; then
   7122 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7123 			found="yes"
   7124 		fi
   7125 	fi
   7126 
   7127 	if test $found = "no" ; then
   7128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7130 		fi
   7131 
   7132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7134 		fi
   7135 
   7136 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7137 
   7138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7139 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7140 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7141 		if eval \${$cacheid+:} false; then :
   7142   $as_echo_n "(cached) " >&6
   7143 else
   7144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7145 /* end confdefs.h.  */
   7146 int i;
   7147 int
   7148 main ()
   7149 {
   7150 
   7151   ;
   7152   return 0;
   7153 }
   7154 _ACEOF
   7155 if ac_fn_c_try_link "$LINENO"; then :
   7156   eval $cacheid=yes
   7157 else
   7158   eval $cacheid=no
   7159 fi
   7160 rm -f core conftest.err conftest.$ac_objext \
   7161     conftest$ac_exeext conftest.$ac_ext
   7162 fi
   7163 
   7164 
   7165 		CFLAGS="$xorg_testset_save_CFLAGS"
   7166 
   7167 		eval supported=\$$cacheid
   7168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7169 $as_echo "$supported" >&6; }
   7170 		if test "$supported" = "yes" ; then
   7171 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7172 			found="yes"
   7173 		fi
   7174 	fi
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 xorg_testset_save_CFLAGS="$CFLAGS"
   7191 
   7192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7195 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7196 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7197   $as_echo_n "(cached) " >&6
   7198 else
   7199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7200 /* end confdefs.h.  */
   7201 int i;
   7202 _ACEOF
   7203 if ac_fn_c_try_compile "$LINENO"; then :
   7204   xorg_cv_cc_flag_unknown_warning_option=yes
   7205 else
   7206   xorg_cv_cc_flag_unknown_warning_option=no
   7207 fi
   7208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7209 fi
   7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7211 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7213 	CFLAGS="$xorg_testset_save_CFLAGS"
   7214 fi
   7215 
   7216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7219 	fi
   7220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7222 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7223 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7224   $as_echo_n "(cached) " >&6
   7225 else
   7226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7227 /* end confdefs.h.  */
   7228 int i;
   7229 _ACEOF
   7230 if ac_fn_c_try_compile "$LINENO"; then :
   7231   xorg_cv_cc_flag_unused_command_line_argument=yes
   7232 else
   7233   xorg_cv_cc_flag_unused_command_line_argument=no
   7234 fi
   7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7236 fi
   7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7238 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7240 	CFLAGS="$xorg_testset_save_CFLAGS"
   7241 fi
   7242 
   7243 found="no"
   7244 
   7245 	if test $found = "no" ; then
   7246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7248 		fi
   7249 
   7250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7252 		fi
   7253 
   7254 		CFLAGS="$CFLAGS -Werror=nonnull"
   7255 
   7256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7257 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7258 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7259 		if eval \${$cacheid+:} false; then :
   7260   $as_echo_n "(cached) " >&6
   7261 else
   7262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7263 /* end confdefs.h.  */
   7264 int i;
   7265 int
   7266 main ()
   7267 {
   7268 
   7269   ;
   7270   return 0;
   7271 }
   7272 _ACEOF
   7273 if ac_fn_c_try_link "$LINENO"; then :
   7274   eval $cacheid=yes
   7275 else
   7276   eval $cacheid=no
   7277 fi
   7278 rm -f core conftest.err conftest.$ac_objext \
   7279     conftest$ac_exeext conftest.$ac_ext
   7280 fi
   7281 
   7282 
   7283 		CFLAGS="$xorg_testset_save_CFLAGS"
   7284 
   7285 		eval supported=\$$cacheid
   7286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7287 $as_echo "$supported" >&6; }
   7288 		if test "$supported" = "yes" ; then
   7289 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7290 			found="yes"
   7291 		fi
   7292 	fi
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 xorg_testset_save_CFLAGS="$CFLAGS"
   7309 
   7310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7313 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7314 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7315   $as_echo_n "(cached) " >&6
   7316 else
   7317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7318 /* end confdefs.h.  */
   7319 int i;
   7320 _ACEOF
   7321 if ac_fn_c_try_compile "$LINENO"; then :
   7322   xorg_cv_cc_flag_unknown_warning_option=yes
   7323 else
   7324   xorg_cv_cc_flag_unknown_warning_option=no
   7325 fi
   7326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7327 fi
   7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7329 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7331 	CFLAGS="$xorg_testset_save_CFLAGS"
   7332 fi
   7333 
   7334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7337 	fi
   7338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7340 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7341 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7342   $as_echo_n "(cached) " >&6
   7343 else
   7344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7345 /* end confdefs.h.  */
   7346 int i;
   7347 _ACEOF
   7348 if ac_fn_c_try_compile "$LINENO"; then :
   7349   xorg_cv_cc_flag_unused_command_line_argument=yes
   7350 else
   7351   xorg_cv_cc_flag_unused_command_line_argument=no
   7352 fi
   7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7354 fi
   7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7356 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7358 	CFLAGS="$xorg_testset_save_CFLAGS"
   7359 fi
   7360 
   7361 found="no"
   7362 
   7363 	if test $found = "no" ; then
   7364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7366 		fi
   7367 
   7368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7370 		fi
   7371 
   7372 		CFLAGS="$CFLAGS -Werror=init-self"
   7373 
   7374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7375 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7376 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7377 		if eval \${$cacheid+:} false; then :
   7378   $as_echo_n "(cached) " >&6
   7379 else
   7380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7381 /* end confdefs.h.  */
   7382 int i;
   7383 int
   7384 main ()
   7385 {
   7386 
   7387   ;
   7388   return 0;
   7389 }
   7390 _ACEOF
   7391 if ac_fn_c_try_link "$LINENO"; then :
   7392   eval $cacheid=yes
   7393 else
   7394   eval $cacheid=no
   7395 fi
   7396 rm -f core conftest.err conftest.$ac_objext \
   7397     conftest$ac_exeext conftest.$ac_ext
   7398 fi
   7399 
   7400 
   7401 		CFLAGS="$xorg_testset_save_CFLAGS"
   7402 
   7403 		eval supported=\$$cacheid
   7404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7405 $as_echo "$supported" >&6; }
   7406 		if test "$supported" = "yes" ; then
   7407 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7408 			found="yes"
   7409 		fi
   7410 	fi
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 xorg_testset_save_CFLAGS="$CFLAGS"
   7427 
   7428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7431 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7432 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7433   $as_echo_n "(cached) " >&6
   7434 else
   7435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7436 /* end confdefs.h.  */
   7437 int i;
   7438 _ACEOF
   7439 if ac_fn_c_try_compile "$LINENO"; then :
   7440   xorg_cv_cc_flag_unknown_warning_option=yes
   7441 else
   7442   xorg_cv_cc_flag_unknown_warning_option=no
   7443 fi
   7444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7445 fi
   7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7447 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7449 	CFLAGS="$xorg_testset_save_CFLAGS"
   7450 fi
   7451 
   7452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7455 	fi
   7456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7458 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7459 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7463 /* end confdefs.h.  */
   7464 int i;
   7465 _ACEOF
   7466 if ac_fn_c_try_compile "$LINENO"; then :
   7467   xorg_cv_cc_flag_unused_command_line_argument=yes
   7468 else
   7469   xorg_cv_cc_flag_unused_command_line_argument=no
   7470 fi
   7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7472 fi
   7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7474 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7476 	CFLAGS="$xorg_testset_save_CFLAGS"
   7477 fi
   7478 
   7479 found="no"
   7480 
   7481 	if test $found = "no" ; then
   7482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7484 		fi
   7485 
   7486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7488 		fi
   7489 
   7490 		CFLAGS="$CFLAGS -Werror=main"
   7491 
   7492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7493 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7494 		cacheid=xorg_cv_cc_flag__Werror_main
   7495 		if eval \${$cacheid+:} false; then :
   7496   $as_echo_n "(cached) " >&6
   7497 else
   7498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7499 /* end confdefs.h.  */
   7500 int i;
   7501 int
   7502 main ()
   7503 {
   7504 
   7505   ;
   7506   return 0;
   7507 }
   7508 _ACEOF
   7509 if ac_fn_c_try_link "$LINENO"; then :
   7510   eval $cacheid=yes
   7511 else
   7512   eval $cacheid=no
   7513 fi
   7514 rm -f core conftest.err conftest.$ac_objext \
   7515     conftest$ac_exeext conftest.$ac_ext
   7516 fi
   7517 
   7518 
   7519 		CFLAGS="$xorg_testset_save_CFLAGS"
   7520 
   7521 		eval supported=\$$cacheid
   7522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7523 $as_echo "$supported" >&6; }
   7524 		if test "$supported" = "yes" ; then
   7525 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7526 			found="yes"
   7527 		fi
   7528 	fi
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 xorg_testset_save_CFLAGS="$CFLAGS"
   7545 
   7546 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7547 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7549 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7550 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7551   $as_echo_n "(cached) " >&6
   7552 else
   7553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7554 /* end confdefs.h.  */
   7555 int i;
   7556 _ACEOF
   7557 if ac_fn_c_try_compile "$LINENO"; then :
   7558   xorg_cv_cc_flag_unknown_warning_option=yes
   7559 else
   7560   xorg_cv_cc_flag_unknown_warning_option=no
   7561 fi
   7562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7563 fi
   7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7565 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7566 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7567 	CFLAGS="$xorg_testset_save_CFLAGS"
   7568 fi
   7569 
   7570 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7571 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7572 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7573 	fi
   7574 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7576 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7577 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7578   $as_echo_n "(cached) " >&6
   7579 else
   7580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7581 /* end confdefs.h.  */
   7582 int i;
   7583 _ACEOF
   7584 if ac_fn_c_try_compile "$LINENO"; then :
   7585   xorg_cv_cc_flag_unused_command_line_argument=yes
   7586 else
   7587   xorg_cv_cc_flag_unused_command_line_argument=no
   7588 fi
   7589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7590 fi
   7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7592 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7593 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7594 	CFLAGS="$xorg_testset_save_CFLAGS"
   7595 fi
   7596 
   7597 found="no"
   7598 
   7599 	if test $found = "no" ; then
   7600 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7601 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7602 		fi
   7603 
   7604 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7605 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7606 		fi
   7607 
   7608 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7609 
   7610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7611 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7612 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7613 		if eval \${$cacheid+:} false; then :
   7614   $as_echo_n "(cached) " >&6
   7615 else
   7616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7617 /* end confdefs.h.  */
   7618 int i;
   7619 int
   7620 main ()
   7621 {
   7622 
   7623   ;
   7624   return 0;
   7625 }
   7626 _ACEOF
   7627 if ac_fn_c_try_link "$LINENO"; then :
   7628   eval $cacheid=yes
   7629 else
   7630   eval $cacheid=no
   7631 fi
   7632 rm -f core conftest.err conftest.$ac_objext \
   7633     conftest$ac_exeext conftest.$ac_ext
   7634 fi
   7635 
   7636 
   7637 		CFLAGS="$xorg_testset_save_CFLAGS"
   7638 
   7639 		eval supported=\$$cacheid
   7640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7641 $as_echo "$supported" >&6; }
   7642 		if test "$supported" = "yes" ; then
   7643 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7644 			found="yes"
   7645 		fi
   7646 	fi
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 xorg_testset_save_CFLAGS="$CFLAGS"
   7663 
   7664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7667 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7668 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7669   $as_echo_n "(cached) " >&6
   7670 else
   7671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7672 /* end confdefs.h.  */
   7673 int i;
   7674 _ACEOF
   7675 if ac_fn_c_try_compile "$LINENO"; then :
   7676   xorg_cv_cc_flag_unknown_warning_option=yes
   7677 else
   7678   xorg_cv_cc_flag_unknown_warning_option=no
   7679 fi
   7680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7681 fi
   7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7683 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7684 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7685 	CFLAGS="$xorg_testset_save_CFLAGS"
   7686 fi
   7687 
   7688 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7689 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7690 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7691 	fi
   7692 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7694 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7695 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7696   $as_echo_n "(cached) " >&6
   7697 else
   7698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7699 /* end confdefs.h.  */
   7700 int i;
   7701 _ACEOF
   7702 if ac_fn_c_try_compile "$LINENO"; then :
   7703   xorg_cv_cc_flag_unused_command_line_argument=yes
   7704 else
   7705   xorg_cv_cc_flag_unused_command_line_argument=no
   7706 fi
   7707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7708 fi
   7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7710 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7712 	CFLAGS="$xorg_testset_save_CFLAGS"
   7713 fi
   7714 
   7715 found="no"
   7716 
   7717 	if test $found = "no" ; then
   7718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7720 		fi
   7721 
   7722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7724 		fi
   7725 
   7726 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7727 
   7728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7729 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7730 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7731 		if eval \${$cacheid+:} false; then :
   7732   $as_echo_n "(cached) " >&6
   7733 else
   7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7735 /* end confdefs.h.  */
   7736 int i;
   7737 int
   7738 main ()
   7739 {
   7740 
   7741   ;
   7742   return 0;
   7743 }
   7744 _ACEOF
   7745 if ac_fn_c_try_link "$LINENO"; then :
   7746   eval $cacheid=yes
   7747 else
   7748   eval $cacheid=no
   7749 fi
   7750 rm -f core conftest.err conftest.$ac_objext \
   7751     conftest$ac_exeext conftest.$ac_ext
   7752 fi
   7753 
   7754 
   7755 		CFLAGS="$xorg_testset_save_CFLAGS"
   7756 
   7757 		eval supported=\$$cacheid
   7758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7759 $as_echo "$supported" >&6; }
   7760 		if test "$supported" = "yes" ; then
   7761 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7762 			found="yes"
   7763 		fi
   7764 	fi
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 xorg_testset_save_CFLAGS="$CFLAGS"
   7781 
   7782 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7783 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7785 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7786 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7787   $as_echo_n "(cached) " >&6
   7788 else
   7789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7790 /* end confdefs.h.  */
   7791 int i;
   7792 _ACEOF
   7793 if ac_fn_c_try_compile "$LINENO"; then :
   7794   xorg_cv_cc_flag_unknown_warning_option=yes
   7795 else
   7796   xorg_cv_cc_flag_unknown_warning_option=no
   7797 fi
   7798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7799 fi
   7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7801 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7802 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7803 	CFLAGS="$xorg_testset_save_CFLAGS"
   7804 fi
   7805 
   7806 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7807 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7808 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7809 	fi
   7810 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7812 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7813 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7814   $as_echo_n "(cached) " >&6
   7815 else
   7816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7817 /* end confdefs.h.  */
   7818 int i;
   7819 _ACEOF
   7820 if ac_fn_c_try_compile "$LINENO"; then :
   7821   xorg_cv_cc_flag_unused_command_line_argument=yes
   7822 else
   7823   xorg_cv_cc_flag_unused_command_line_argument=no
   7824 fi
   7825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7826 fi
   7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7828 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7830 	CFLAGS="$xorg_testset_save_CFLAGS"
   7831 fi
   7832 
   7833 found="no"
   7834 
   7835 	if test $found = "no" ; then
   7836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7838 		fi
   7839 
   7840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7842 		fi
   7843 
   7844 		CFLAGS="$CFLAGS -Werror=return-type"
   7845 
   7846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7847 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7848 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7849 		if eval \${$cacheid+:} false; then :
   7850   $as_echo_n "(cached) " >&6
   7851 else
   7852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7853 /* end confdefs.h.  */
   7854 int i;
   7855 int
   7856 main ()
   7857 {
   7858 
   7859   ;
   7860   return 0;
   7861 }
   7862 _ACEOF
   7863 if ac_fn_c_try_link "$LINENO"; then :
   7864   eval $cacheid=yes
   7865 else
   7866   eval $cacheid=no
   7867 fi
   7868 rm -f core conftest.err conftest.$ac_objext \
   7869     conftest$ac_exeext conftest.$ac_ext
   7870 fi
   7871 
   7872 
   7873 		CFLAGS="$xorg_testset_save_CFLAGS"
   7874 
   7875 		eval supported=\$$cacheid
   7876 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7877 $as_echo "$supported" >&6; }
   7878 		if test "$supported" = "yes" ; then
   7879 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7880 			found="yes"
   7881 		fi
   7882 	fi
   7883 
   7884 	if test $found = "no" ; then
   7885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7887 		fi
   7888 
   7889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7891 		fi
   7892 
   7893 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7894 
   7895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7896 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7897 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7898 		if eval \${$cacheid+:} false; then :
   7899   $as_echo_n "(cached) " >&6
   7900 else
   7901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7902 /* end confdefs.h.  */
   7903 int i;
   7904 int
   7905 main ()
   7906 {
   7907 
   7908   ;
   7909   return 0;
   7910 }
   7911 _ACEOF
   7912 if ac_fn_c_try_link "$LINENO"; then :
   7913   eval $cacheid=yes
   7914 else
   7915   eval $cacheid=no
   7916 fi
   7917 rm -f core conftest.err conftest.$ac_objext \
   7918     conftest$ac_exeext conftest.$ac_ext
   7919 fi
   7920 
   7921 
   7922 		CFLAGS="$xorg_testset_save_CFLAGS"
   7923 
   7924 		eval supported=\$$cacheid
   7925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7926 $as_echo "$supported" >&6; }
   7927 		if test "$supported" = "yes" ; then
   7928 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7929 			found="yes"
   7930 		fi
   7931 	fi
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 xorg_testset_save_CFLAGS="$CFLAGS"
   7948 
   7949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7952 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7953 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7954   $as_echo_n "(cached) " >&6
   7955 else
   7956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7957 /* end confdefs.h.  */
   7958 int i;
   7959 _ACEOF
   7960 if ac_fn_c_try_compile "$LINENO"; then :
   7961   xorg_cv_cc_flag_unknown_warning_option=yes
   7962 else
   7963   xorg_cv_cc_flag_unknown_warning_option=no
   7964 fi
   7965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7966 fi
   7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7968 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7970 	CFLAGS="$xorg_testset_save_CFLAGS"
   7971 fi
   7972 
   7973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7976 	fi
   7977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7979 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7980 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7981   $as_echo_n "(cached) " >&6
   7982 else
   7983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7984 /* end confdefs.h.  */
   7985 int i;
   7986 _ACEOF
   7987 if ac_fn_c_try_compile "$LINENO"; then :
   7988   xorg_cv_cc_flag_unused_command_line_argument=yes
   7989 else
   7990   xorg_cv_cc_flag_unused_command_line_argument=no
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7993 fi
   7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7995 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7997 	CFLAGS="$xorg_testset_save_CFLAGS"
   7998 fi
   7999 
   8000 found="no"
   8001 
   8002 	if test $found = "no" ; then
   8003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8005 		fi
   8006 
   8007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8009 		fi
   8010 
   8011 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8012 
   8013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8014 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8015 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8016 		if eval \${$cacheid+:} false; then :
   8017   $as_echo_n "(cached) " >&6
   8018 else
   8019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8020 /* end confdefs.h.  */
   8021 int i;
   8022 int
   8023 main ()
   8024 {
   8025 
   8026   ;
   8027   return 0;
   8028 }
   8029 _ACEOF
   8030 if ac_fn_c_try_link "$LINENO"; then :
   8031   eval $cacheid=yes
   8032 else
   8033   eval $cacheid=no
   8034 fi
   8035 rm -f core conftest.err conftest.$ac_objext \
   8036     conftest$ac_exeext conftest.$ac_ext
   8037 fi
   8038 
   8039 
   8040 		CFLAGS="$xorg_testset_save_CFLAGS"
   8041 
   8042 		eval supported=\$$cacheid
   8043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8044 $as_echo "$supported" >&6; }
   8045 		if test "$supported" = "yes" ; then
   8046 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8047 			found="yes"
   8048 		fi
   8049 	fi
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 xorg_testset_save_CFLAGS="$CFLAGS"
   8066 
   8067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8072   $as_echo_n "(cached) " >&6
   8073 else
   8074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8075 /* end confdefs.h.  */
   8076 int i;
   8077 _ACEOF
   8078 if ac_fn_c_try_compile "$LINENO"; then :
   8079   xorg_cv_cc_flag_unknown_warning_option=yes
   8080 else
   8081   xorg_cv_cc_flag_unknown_warning_option=no
   8082 fi
   8083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8084 fi
   8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8088 	CFLAGS="$xorg_testset_save_CFLAGS"
   8089 fi
   8090 
   8091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8094 	fi
   8095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8099   $as_echo_n "(cached) " >&6
   8100 else
   8101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8102 /* end confdefs.h.  */
   8103 int i;
   8104 _ACEOF
   8105 if ac_fn_c_try_compile "$LINENO"; then :
   8106   xorg_cv_cc_flag_unused_command_line_argument=yes
   8107 else
   8108   xorg_cv_cc_flag_unused_command_line_argument=no
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8111 fi
   8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8115 	CFLAGS="$xorg_testset_save_CFLAGS"
   8116 fi
   8117 
   8118 found="no"
   8119 
   8120 	if test $found = "no" ; then
   8121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8123 		fi
   8124 
   8125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8127 		fi
   8128 
   8129 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8130 
   8131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8132 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8133 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8134 		if eval \${$cacheid+:} false; then :
   8135   $as_echo_n "(cached) " >&6
   8136 else
   8137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8138 /* end confdefs.h.  */
   8139 int i;
   8140 int
   8141 main ()
   8142 {
   8143 
   8144   ;
   8145   return 0;
   8146 }
   8147 _ACEOF
   8148 if ac_fn_c_try_link "$LINENO"; then :
   8149   eval $cacheid=yes
   8150 else
   8151   eval $cacheid=no
   8152 fi
   8153 rm -f core conftest.err conftest.$ac_objext \
   8154     conftest$ac_exeext conftest.$ac_ext
   8155 fi
   8156 
   8157 
   8158 		CFLAGS="$xorg_testset_save_CFLAGS"
   8159 
   8160 		eval supported=\$$cacheid
   8161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8162 $as_echo "$supported" >&6; }
   8163 		if test "$supported" = "yes" ; then
   8164 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8165 			found="yes"
   8166 		fi
   8167 	fi
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 xorg_testset_save_CFLAGS="$CFLAGS"
   8184 
   8185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8188 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8189 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8190   $as_echo_n "(cached) " >&6
   8191 else
   8192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8193 /* end confdefs.h.  */
   8194 int i;
   8195 _ACEOF
   8196 if ac_fn_c_try_compile "$LINENO"; then :
   8197   xorg_cv_cc_flag_unknown_warning_option=yes
   8198 else
   8199   xorg_cv_cc_flag_unknown_warning_option=no
   8200 fi
   8201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8202 fi
   8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8204 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8206 	CFLAGS="$xorg_testset_save_CFLAGS"
   8207 fi
   8208 
   8209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8212 	fi
   8213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8215 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8216 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8217   $as_echo_n "(cached) " >&6
   8218 else
   8219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8220 /* end confdefs.h.  */
   8221 int i;
   8222 _ACEOF
   8223 if ac_fn_c_try_compile "$LINENO"; then :
   8224   xorg_cv_cc_flag_unused_command_line_argument=yes
   8225 else
   8226   xorg_cv_cc_flag_unused_command_line_argument=no
   8227 fi
   8228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8229 fi
   8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8231 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8233 	CFLAGS="$xorg_testset_save_CFLAGS"
   8234 fi
   8235 
   8236 found="no"
   8237 
   8238 	if test $found = "no" ; then
   8239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8241 		fi
   8242 
   8243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8245 		fi
   8246 
   8247 		CFLAGS="$CFLAGS -Werror=write-strings"
   8248 
   8249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8250 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8251 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8252 		if eval \${$cacheid+:} false; then :
   8253   $as_echo_n "(cached) " >&6
   8254 else
   8255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8256 /* end confdefs.h.  */
   8257 int i;
   8258 int
   8259 main ()
   8260 {
   8261 
   8262   ;
   8263   return 0;
   8264 }
   8265 _ACEOF
   8266 if ac_fn_c_try_link "$LINENO"; then :
   8267   eval $cacheid=yes
   8268 else
   8269   eval $cacheid=no
   8270 fi
   8271 rm -f core conftest.err conftest.$ac_objext \
   8272     conftest$ac_exeext conftest.$ac_ext
   8273 fi
   8274 
   8275 
   8276 		CFLAGS="$xorg_testset_save_CFLAGS"
   8277 
   8278 		eval supported=\$$cacheid
   8279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8280 $as_echo "$supported" >&6; }
   8281 		if test "$supported" = "yes" ; then
   8282 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8283 			found="yes"
   8284 		fi
   8285 	fi
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 xorg_testset_save_CFLAGS="$CFLAGS"
   8302 
   8303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8306 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8307 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8308   $as_echo_n "(cached) " >&6
   8309 else
   8310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8311 /* end confdefs.h.  */
   8312 int i;
   8313 _ACEOF
   8314 if ac_fn_c_try_compile "$LINENO"; then :
   8315   xorg_cv_cc_flag_unknown_warning_option=yes
   8316 else
   8317   xorg_cv_cc_flag_unknown_warning_option=no
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8320 fi
   8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8322 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8323 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8324 	CFLAGS="$xorg_testset_save_CFLAGS"
   8325 fi
   8326 
   8327 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8328 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8329 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8330 	fi
   8331 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8333 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8334 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8335   $as_echo_n "(cached) " >&6
   8336 else
   8337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8338 /* end confdefs.h.  */
   8339 int i;
   8340 _ACEOF
   8341 if ac_fn_c_try_compile "$LINENO"; then :
   8342   xorg_cv_cc_flag_unused_command_line_argument=yes
   8343 else
   8344   xorg_cv_cc_flag_unused_command_line_argument=no
   8345 fi
   8346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8347 fi
   8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8349 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8351 	CFLAGS="$xorg_testset_save_CFLAGS"
   8352 fi
   8353 
   8354 found="no"
   8355 
   8356 	if test $found = "no" ; then
   8357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8359 		fi
   8360 
   8361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8363 		fi
   8364 
   8365 		CFLAGS="$CFLAGS -Werror=address"
   8366 
   8367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8368 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8369 		cacheid=xorg_cv_cc_flag__Werror_address
   8370 		if eval \${$cacheid+:} false; then :
   8371   $as_echo_n "(cached) " >&6
   8372 else
   8373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8374 /* end confdefs.h.  */
   8375 int i;
   8376 int
   8377 main ()
   8378 {
   8379 
   8380   ;
   8381   return 0;
   8382 }
   8383 _ACEOF
   8384 if ac_fn_c_try_link "$LINENO"; then :
   8385   eval $cacheid=yes
   8386 else
   8387   eval $cacheid=no
   8388 fi
   8389 rm -f core conftest.err conftest.$ac_objext \
   8390     conftest$ac_exeext conftest.$ac_ext
   8391 fi
   8392 
   8393 
   8394 		CFLAGS="$xorg_testset_save_CFLAGS"
   8395 
   8396 		eval supported=\$$cacheid
   8397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8398 $as_echo "$supported" >&6; }
   8399 		if test "$supported" = "yes" ; then
   8400 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8401 			found="yes"
   8402 		fi
   8403 	fi
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 xorg_testset_save_CFLAGS="$CFLAGS"
   8420 
   8421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8424 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8425 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8426   $as_echo_n "(cached) " >&6
   8427 else
   8428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8429 /* end confdefs.h.  */
   8430 int i;
   8431 _ACEOF
   8432 if ac_fn_c_try_compile "$LINENO"; then :
   8433   xorg_cv_cc_flag_unknown_warning_option=yes
   8434 else
   8435   xorg_cv_cc_flag_unknown_warning_option=no
   8436 fi
   8437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8438 fi
   8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8440 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8441 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8442 	CFLAGS="$xorg_testset_save_CFLAGS"
   8443 fi
   8444 
   8445 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8446 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8447 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8448 	fi
   8449 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8451 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8452 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8453   $as_echo_n "(cached) " >&6
   8454 else
   8455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8456 /* end confdefs.h.  */
   8457 int i;
   8458 _ACEOF
   8459 if ac_fn_c_try_compile "$LINENO"; then :
   8460   xorg_cv_cc_flag_unused_command_line_argument=yes
   8461 else
   8462   xorg_cv_cc_flag_unused_command_line_argument=no
   8463 fi
   8464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8465 fi
   8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8467 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8468 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8469 	CFLAGS="$xorg_testset_save_CFLAGS"
   8470 fi
   8471 
   8472 found="no"
   8473 
   8474 	if test $found = "no" ; then
   8475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8477 		fi
   8478 
   8479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8481 		fi
   8482 
   8483 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8484 
   8485 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8486 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8487 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8488 		if eval \${$cacheid+:} false; then :
   8489   $as_echo_n "(cached) " >&6
   8490 else
   8491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8492 /* end confdefs.h.  */
   8493 int i;
   8494 int
   8495 main ()
   8496 {
   8497 
   8498   ;
   8499   return 0;
   8500 }
   8501 _ACEOF
   8502 if ac_fn_c_try_link "$LINENO"; then :
   8503   eval $cacheid=yes
   8504 else
   8505   eval $cacheid=no
   8506 fi
   8507 rm -f core conftest.err conftest.$ac_objext \
   8508     conftest$ac_exeext conftest.$ac_ext
   8509 fi
   8510 
   8511 
   8512 		CFLAGS="$xorg_testset_save_CFLAGS"
   8513 
   8514 		eval supported=\$$cacheid
   8515 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8516 $as_echo "$supported" >&6; }
   8517 		if test "$supported" = "yes" ; then
   8518 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8519 			found="yes"
   8520 		fi
   8521 	fi
   8522 
   8523 	if test $found = "no" ; then
   8524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8526 		fi
   8527 
   8528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8530 		fi
   8531 
   8532 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8533 
   8534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8535 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8536 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8537 		if eval \${$cacheid+:} false; then :
   8538   $as_echo_n "(cached) " >&6
   8539 else
   8540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8541 /* end confdefs.h.  */
   8542 int i;
   8543 int
   8544 main ()
   8545 {
   8546 
   8547   ;
   8548   return 0;
   8549 }
   8550 _ACEOF
   8551 if ac_fn_c_try_link "$LINENO"; then :
   8552   eval $cacheid=yes
   8553 else
   8554   eval $cacheid=no
   8555 fi
   8556 rm -f core conftest.err conftest.$ac_objext \
   8557     conftest$ac_exeext conftest.$ac_ext
   8558 fi
   8559 
   8560 
   8561 		CFLAGS="$xorg_testset_save_CFLAGS"
   8562 
   8563 		eval supported=\$$cacheid
   8564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8565 $as_echo "$supported" >&6; }
   8566 		if test "$supported" = "yes" ; then
   8567 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8568 			found="yes"
   8569 		fi
   8570 	fi
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 xorg_testset_save_CFLAGS="$CFLAGS"
   8587 
   8588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8591 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8592 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8593   $as_echo_n "(cached) " >&6
   8594 else
   8595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8596 /* end confdefs.h.  */
   8597 int i;
   8598 _ACEOF
   8599 if ac_fn_c_try_compile "$LINENO"; then :
   8600   xorg_cv_cc_flag_unknown_warning_option=yes
   8601 else
   8602   xorg_cv_cc_flag_unknown_warning_option=no
   8603 fi
   8604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8605 fi
   8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8607 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8609 	CFLAGS="$xorg_testset_save_CFLAGS"
   8610 fi
   8611 
   8612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8615 	fi
   8616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8618 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8619 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8620   $as_echo_n "(cached) " >&6
   8621 else
   8622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8623 /* end confdefs.h.  */
   8624 int i;
   8625 _ACEOF
   8626 if ac_fn_c_try_compile "$LINENO"; then :
   8627   xorg_cv_cc_flag_unused_command_line_argument=yes
   8628 else
   8629   xorg_cv_cc_flag_unused_command_line_argument=no
   8630 fi
   8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8632 fi
   8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8634 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8636 	CFLAGS="$xorg_testset_save_CFLAGS"
   8637 fi
   8638 
   8639 found="no"
   8640 
   8641 	if test $found = "no" ; then
   8642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8644 		fi
   8645 
   8646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8648 		fi
   8649 
   8650 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8651 
   8652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8653 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8654 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8655 		if eval \${$cacheid+:} false; then :
   8656   $as_echo_n "(cached) " >&6
   8657 else
   8658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8659 /* end confdefs.h.  */
   8660 int i;
   8661 int
   8662 main ()
   8663 {
   8664 
   8665   ;
   8666   return 0;
   8667 }
   8668 _ACEOF
   8669 if ac_fn_c_try_link "$LINENO"; then :
   8670   eval $cacheid=yes
   8671 else
   8672   eval $cacheid=no
   8673 fi
   8674 rm -f core conftest.err conftest.$ac_objext \
   8675     conftest$ac_exeext conftest.$ac_ext
   8676 fi
   8677 
   8678 
   8679 		CFLAGS="$xorg_testset_save_CFLAGS"
   8680 
   8681 		eval supported=\$$cacheid
   8682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8683 $as_echo "$supported" >&6; }
   8684 		if test "$supported" = "yes" ; then
   8685 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8686 			found="yes"
   8687 		fi
   8688 	fi
   8689 
   8690  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8691 else
   8692 { $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
   8693 $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;}
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 xorg_testset_save_CFLAGS="$CFLAGS"
   8708 
   8709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8714   $as_echo_n "(cached) " >&6
   8715 else
   8716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8717 /* end confdefs.h.  */
   8718 int i;
   8719 _ACEOF
   8720 if ac_fn_c_try_compile "$LINENO"; then :
   8721   xorg_cv_cc_flag_unknown_warning_option=yes
   8722 else
   8723   xorg_cv_cc_flag_unknown_warning_option=no
   8724 fi
   8725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8726 fi
   8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8730 	CFLAGS="$xorg_testset_save_CFLAGS"
   8731 fi
   8732 
   8733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8736 	fi
   8737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8741   $as_echo_n "(cached) " >&6
   8742 else
   8743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8744 /* end confdefs.h.  */
   8745 int i;
   8746 _ACEOF
   8747 if ac_fn_c_try_compile "$LINENO"; then :
   8748   xorg_cv_cc_flag_unused_command_line_argument=yes
   8749 else
   8750   xorg_cv_cc_flag_unused_command_line_argument=no
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8753 fi
   8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8757 	CFLAGS="$xorg_testset_save_CFLAGS"
   8758 fi
   8759 
   8760 found="no"
   8761 
   8762 	if test $found = "no" ; then
   8763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8765 		fi
   8766 
   8767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8769 		fi
   8770 
   8771 		CFLAGS="$CFLAGS -Wimplicit"
   8772 
   8773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8774 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8775 		cacheid=xorg_cv_cc_flag__Wimplicit
   8776 		if eval \${$cacheid+:} false; then :
   8777   $as_echo_n "(cached) " >&6
   8778 else
   8779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8780 /* end confdefs.h.  */
   8781 int i;
   8782 int
   8783 main ()
   8784 {
   8785 
   8786   ;
   8787   return 0;
   8788 }
   8789 _ACEOF
   8790 if ac_fn_c_try_link "$LINENO"; then :
   8791   eval $cacheid=yes
   8792 else
   8793   eval $cacheid=no
   8794 fi
   8795 rm -f core conftest.err conftest.$ac_objext \
   8796     conftest$ac_exeext conftest.$ac_ext
   8797 fi
   8798 
   8799 
   8800 		CFLAGS="$xorg_testset_save_CFLAGS"
   8801 
   8802 		eval supported=\$$cacheid
   8803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8804 $as_echo "$supported" >&6; }
   8805 		if test "$supported" = "yes" ; then
   8806 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8807 			found="yes"
   8808 		fi
   8809 	fi
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 xorg_testset_save_CFLAGS="$CFLAGS"
   8826 
   8827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8832   $as_echo_n "(cached) " >&6
   8833 else
   8834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8835 /* end confdefs.h.  */
   8836 int i;
   8837 _ACEOF
   8838 if ac_fn_c_try_compile "$LINENO"; then :
   8839   xorg_cv_cc_flag_unknown_warning_option=yes
   8840 else
   8841   xorg_cv_cc_flag_unknown_warning_option=no
   8842 fi
   8843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8844 fi
   8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8848 	CFLAGS="$xorg_testset_save_CFLAGS"
   8849 fi
   8850 
   8851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8854 	fi
   8855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8859   $as_echo_n "(cached) " >&6
   8860 else
   8861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8862 /* end confdefs.h.  */
   8863 int i;
   8864 _ACEOF
   8865 if ac_fn_c_try_compile "$LINENO"; then :
   8866   xorg_cv_cc_flag_unused_command_line_argument=yes
   8867 else
   8868   xorg_cv_cc_flag_unused_command_line_argument=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8871 fi
   8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8875 	CFLAGS="$xorg_testset_save_CFLAGS"
   8876 fi
   8877 
   8878 found="no"
   8879 
   8880 	if test $found = "no" ; then
   8881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8883 		fi
   8884 
   8885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8887 		fi
   8888 
   8889 		CFLAGS="$CFLAGS -Wnonnull"
   8890 
   8891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8892 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8893 		cacheid=xorg_cv_cc_flag__Wnonnull
   8894 		if eval \${$cacheid+:} false; then :
   8895   $as_echo_n "(cached) " >&6
   8896 else
   8897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8898 /* end confdefs.h.  */
   8899 int i;
   8900 int
   8901 main ()
   8902 {
   8903 
   8904   ;
   8905   return 0;
   8906 }
   8907 _ACEOF
   8908 if ac_fn_c_try_link "$LINENO"; then :
   8909   eval $cacheid=yes
   8910 else
   8911   eval $cacheid=no
   8912 fi
   8913 rm -f core conftest.err conftest.$ac_objext \
   8914     conftest$ac_exeext conftest.$ac_ext
   8915 fi
   8916 
   8917 
   8918 		CFLAGS="$xorg_testset_save_CFLAGS"
   8919 
   8920 		eval supported=\$$cacheid
   8921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8922 $as_echo "$supported" >&6; }
   8923 		if test "$supported" = "yes" ; then
   8924 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8925 			found="yes"
   8926 		fi
   8927 	fi
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 xorg_testset_save_CFLAGS="$CFLAGS"
   8944 
   8945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8948 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8949 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8950   $as_echo_n "(cached) " >&6
   8951 else
   8952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8953 /* end confdefs.h.  */
   8954 int i;
   8955 _ACEOF
   8956 if ac_fn_c_try_compile "$LINENO"; then :
   8957   xorg_cv_cc_flag_unknown_warning_option=yes
   8958 else
   8959   xorg_cv_cc_flag_unknown_warning_option=no
   8960 fi
   8961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8962 fi
   8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8964 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8966 	CFLAGS="$xorg_testset_save_CFLAGS"
   8967 fi
   8968 
   8969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8972 	fi
   8973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8975 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8976 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8977   $as_echo_n "(cached) " >&6
   8978 else
   8979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8980 /* end confdefs.h.  */
   8981 int i;
   8982 _ACEOF
   8983 if ac_fn_c_try_compile "$LINENO"; then :
   8984   xorg_cv_cc_flag_unused_command_line_argument=yes
   8985 else
   8986   xorg_cv_cc_flag_unused_command_line_argument=no
   8987 fi
   8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8989 fi
   8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8991 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8992 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8993 	CFLAGS="$xorg_testset_save_CFLAGS"
   8994 fi
   8995 
   8996 found="no"
   8997 
   8998 	if test $found = "no" ; then
   8999 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9000 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9001 		fi
   9002 
   9003 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9004 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9005 		fi
   9006 
   9007 		CFLAGS="$CFLAGS -Winit-self"
   9008 
   9009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9010 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9011 		cacheid=xorg_cv_cc_flag__Winit_self
   9012 		if eval \${$cacheid+:} false; then :
   9013   $as_echo_n "(cached) " >&6
   9014 else
   9015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9016 /* end confdefs.h.  */
   9017 int i;
   9018 int
   9019 main ()
   9020 {
   9021 
   9022   ;
   9023   return 0;
   9024 }
   9025 _ACEOF
   9026 if ac_fn_c_try_link "$LINENO"; then :
   9027   eval $cacheid=yes
   9028 else
   9029   eval $cacheid=no
   9030 fi
   9031 rm -f core conftest.err conftest.$ac_objext \
   9032     conftest$ac_exeext conftest.$ac_ext
   9033 fi
   9034 
   9035 
   9036 		CFLAGS="$xorg_testset_save_CFLAGS"
   9037 
   9038 		eval supported=\$$cacheid
   9039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9040 $as_echo "$supported" >&6; }
   9041 		if test "$supported" = "yes" ; then
   9042 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9043 			found="yes"
   9044 		fi
   9045 	fi
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 xorg_testset_save_CFLAGS="$CFLAGS"
   9062 
   9063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9066 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9067 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9068   $as_echo_n "(cached) " >&6
   9069 else
   9070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9071 /* end confdefs.h.  */
   9072 int i;
   9073 _ACEOF
   9074 if ac_fn_c_try_compile "$LINENO"; then :
   9075   xorg_cv_cc_flag_unknown_warning_option=yes
   9076 else
   9077   xorg_cv_cc_flag_unknown_warning_option=no
   9078 fi
   9079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9080 fi
   9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9082 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9084 	CFLAGS="$xorg_testset_save_CFLAGS"
   9085 fi
   9086 
   9087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9090 	fi
   9091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9093 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9094 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9095   $as_echo_n "(cached) " >&6
   9096 else
   9097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9098 /* end confdefs.h.  */
   9099 int i;
   9100 _ACEOF
   9101 if ac_fn_c_try_compile "$LINENO"; then :
   9102   xorg_cv_cc_flag_unused_command_line_argument=yes
   9103 else
   9104   xorg_cv_cc_flag_unused_command_line_argument=no
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9107 fi
   9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9109 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9111 	CFLAGS="$xorg_testset_save_CFLAGS"
   9112 fi
   9113 
   9114 found="no"
   9115 
   9116 	if test $found = "no" ; then
   9117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9119 		fi
   9120 
   9121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9123 		fi
   9124 
   9125 		CFLAGS="$CFLAGS -Wmain"
   9126 
   9127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9128 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9129 		cacheid=xorg_cv_cc_flag__Wmain
   9130 		if eval \${$cacheid+:} false; then :
   9131   $as_echo_n "(cached) " >&6
   9132 else
   9133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9134 /* end confdefs.h.  */
   9135 int i;
   9136 int
   9137 main ()
   9138 {
   9139 
   9140   ;
   9141   return 0;
   9142 }
   9143 _ACEOF
   9144 if ac_fn_c_try_link "$LINENO"; then :
   9145   eval $cacheid=yes
   9146 else
   9147   eval $cacheid=no
   9148 fi
   9149 rm -f core conftest.err conftest.$ac_objext \
   9150     conftest$ac_exeext conftest.$ac_ext
   9151 fi
   9152 
   9153 
   9154 		CFLAGS="$xorg_testset_save_CFLAGS"
   9155 
   9156 		eval supported=\$$cacheid
   9157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9158 $as_echo "$supported" >&6; }
   9159 		if test "$supported" = "yes" ; then
   9160 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9161 			found="yes"
   9162 		fi
   9163 	fi
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 xorg_testset_save_CFLAGS="$CFLAGS"
   9180 
   9181 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9182 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9184 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9185 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9186   $as_echo_n "(cached) " >&6
   9187 else
   9188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9189 /* end confdefs.h.  */
   9190 int i;
   9191 _ACEOF
   9192 if ac_fn_c_try_compile "$LINENO"; then :
   9193   xorg_cv_cc_flag_unknown_warning_option=yes
   9194 else
   9195   xorg_cv_cc_flag_unknown_warning_option=no
   9196 fi
   9197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9198 fi
   9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9200 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9202 	CFLAGS="$xorg_testset_save_CFLAGS"
   9203 fi
   9204 
   9205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9208 	fi
   9209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9211 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9212 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9213   $as_echo_n "(cached) " >&6
   9214 else
   9215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9216 /* end confdefs.h.  */
   9217 int i;
   9218 _ACEOF
   9219 if ac_fn_c_try_compile "$LINENO"; then :
   9220   xorg_cv_cc_flag_unused_command_line_argument=yes
   9221 else
   9222   xorg_cv_cc_flag_unused_command_line_argument=no
   9223 fi
   9224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9225 fi
   9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9227 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9229 	CFLAGS="$xorg_testset_save_CFLAGS"
   9230 fi
   9231 
   9232 found="no"
   9233 
   9234 	if test $found = "no" ; then
   9235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9237 		fi
   9238 
   9239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9241 		fi
   9242 
   9243 		CFLAGS="$CFLAGS -Wmissing-braces"
   9244 
   9245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9246 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9247 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9248 		if eval \${$cacheid+:} false; then :
   9249   $as_echo_n "(cached) " >&6
   9250 else
   9251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9252 /* end confdefs.h.  */
   9253 int i;
   9254 int
   9255 main ()
   9256 {
   9257 
   9258   ;
   9259   return 0;
   9260 }
   9261 _ACEOF
   9262 if ac_fn_c_try_link "$LINENO"; then :
   9263   eval $cacheid=yes
   9264 else
   9265   eval $cacheid=no
   9266 fi
   9267 rm -f core conftest.err conftest.$ac_objext \
   9268     conftest$ac_exeext conftest.$ac_ext
   9269 fi
   9270 
   9271 
   9272 		CFLAGS="$xorg_testset_save_CFLAGS"
   9273 
   9274 		eval supported=\$$cacheid
   9275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9276 $as_echo "$supported" >&6; }
   9277 		if test "$supported" = "yes" ; then
   9278 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9279 			found="yes"
   9280 		fi
   9281 	fi
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 xorg_testset_save_CFLAGS="$CFLAGS"
   9298 
   9299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9304   $as_echo_n "(cached) " >&6
   9305 else
   9306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9307 /* end confdefs.h.  */
   9308 int i;
   9309 _ACEOF
   9310 if ac_fn_c_try_compile "$LINENO"; then :
   9311   xorg_cv_cc_flag_unknown_warning_option=yes
   9312 else
   9313   xorg_cv_cc_flag_unknown_warning_option=no
   9314 fi
   9315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9316 fi
   9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9320 	CFLAGS="$xorg_testset_save_CFLAGS"
   9321 fi
   9322 
   9323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9326 	fi
   9327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9331   $as_echo_n "(cached) " >&6
   9332 else
   9333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9334 /* end confdefs.h.  */
   9335 int i;
   9336 _ACEOF
   9337 if ac_fn_c_try_compile "$LINENO"; then :
   9338   xorg_cv_cc_flag_unused_command_line_argument=yes
   9339 else
   9340   xorg_cv_cc_flag_unused_command_line_argument=no
   9341 fi
   9342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9343 fi
   9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9347 	CFLAGS="$xorg_testset_save_CFLAGS"
   9348 fi
   9349 
   9350 found="no"
   9351 
   9352 	if test $found = "no" ; then
   9353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9355 		fi
   9356 
   9357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9359 		fi
   9360 
   9361 		CFLAGS="$CFLAGS -Wsequence-point"
   9362 
   9363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9364 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9365 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9366 		if eval \${$cacheid+:} false; then :
   9367   $as_echo_n "(cached) " >&6
   9368 else
   9369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9370 /* end confdefs.h.  */
   9371 int i;
   9372 int
   9373 main ()
   9374 {
   9375 
   9376   ;
   9377   return 0;
   9378 }
   9379 _ACEOF
   9380 if ac_fn_c_try_link "$LINENO"; then :
   9381   eval $cacheid=yes
   9382 else
   9383   eval $cacheid=no
   9384 fi
   9385 rm -f core conftest.err conftest.$ac_objext \
   9386     conftest$ac_exeext conftest.$ac_ext
   9387 fi
   9388 
   9389 
   9390 		CFLAGS="$xorg_testset_save_CFLAGS"
   9391 
   9392 		eval supported=\$$cacheid
   9393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9394 $as_echo "$supported" >&6; }
   9395 		if test "$supported" = "yes" ; then
   9396 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9397 			found="yes"
   9398 		fi
   9399 	fi
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 xorg_testset_save_CFLAGS="$CFLAGS"
   9416 
   9417 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9418 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9420 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9421 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9422   $as_echo_n "(cached) " >&6
   9423 else
   9424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9425 /* end confdefs.h.  */
   9426 int i;
   9427 _ACEOF
   9428 if ac_fn_c_try_compile "$LINENO"; then :
   9429   xorg_cv_cc_flag_unknown_warning_option=yes
   9430 else
   9431   xorg_cv_cc_flag_unknown_warning_option=no
   9432 fi
   9433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9434 fi
   9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9436 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9438 	CFLAGS="$xorg_testset_save_CFLAGS"
   9439 fi
   9440 
   9441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9444 	fi
   9445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9447 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9448 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9449   $as_echo_n "(cached) " >&6
   9450 else
   9451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9452 /* end confdefs.h.  */
   9453 int i;
   9454 _ACEOF
   9455 if ac_fn_c_try_compile "$LINENO"; then :
   9456   xorg_cv_cc_flag_unused_command_line_argument=yes
   9457 else
   9458   xorg_cv_cc_flag_unused_command_line_argument=no
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9461 fi
   9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9463 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9464 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9465 	CFLAGS="$xorg_testset_save_CFLAGS"
   9466 fi
   9467 
   9468 found="no"
   9469 
   9470 	if test $found = "no" ; then
   9471 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9472 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9473 		fi
   9474 
   9475 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9476 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9477 		fi
   9478 
   9479 		CFLAGS="$CFLAGS -Wreturn-type"
   9480 
   9481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9482 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9483 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9484 		if eval \${$cacheid+:} false; then :
   9485   $as_echo_n "(cached) " >&6
   9486 else
   9487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9488 /* end confdefs.h.  */
   9489 int i;
   9490 int
   9491 main ()
   9492 {
   9493 
   9494   ;
   9495   return 0;
   9496 }
   9497 _ACEOF
   9498 if ac_fn_c_try_link "$LINENO"; then :
   9499   eval $cacheid=yes
   9500 else
   9501   eval $cacheid=no
   9502 fi
   9503 rm -f core conftest.err conftest.$ac_objext \
   9504     conftest$ac_exeext conftest.$ac_ext
   9505 fi
   9506 
   9507 
   9508 		CFLAGS="$xorg_testset_save_CFLAGS"
   9509 
   9510 		eval supported=\$$cacheid
   9511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9512 $as_echo "$supported" >&6; }
   9513 		if test "$supported" = "yes" ; then
   9514 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9515 			found="yes"
   9516 		fi
   9517 	fi
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 xorg_testset_save_CFLAGS="$CFLAGS"
   9534 
   9535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9538 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9539 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9540   $as_echo_n "(cached) " >&6
   9541 else
   9542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9543 /* end confdefs.h.  */
   9544 int i;
   9545 _ACEOF
   9546 if ac_fn_c_try_compile "$LINENO"; then :
   9547   xorg_cv_cc_flag_unknown_warning_option=yes
   9548 else
   9549   xorg_cv_cc_flag_unknown_warning_option=no
   9550 fi
   9551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9552 fi
   9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9554 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9556 	CFLAGS="$xorg_testset_save_CFLAGS"
   9557 fi
   9558 
   9559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9562 	fi
   9563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9565 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9566 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9567   $as_echo_n "(cached) " >&6
   9568 else
   9569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9570 /* end confdefs.h.  */
   9571 int i;
   9572 _ACEOF
   9573 if ac_fn_c_try_compile "$LINENO"; then :
   9574   xorg_cv_cc_flag_unused_command_line_argument=yes
   9575 else
   9576   xorg_cv_cc_flag_unused_command_line_argument=no
   9577 fi
   9578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9579 fi
   9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9581 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9583 	CFLAGS="$xorg_testset_save_CFLAGS"
   9584 fi
   9585 
   9586 found="no"
   9587 
   9588 	if test $found = "no" ; then
   9589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9591 		fi
   9592 
   9593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9595 		fi
   9596 
   9597 		CFLAGS="$CFLAGS -Wtrigraphs"
   9598 
   9599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9600 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9601 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9602 		if eval \${$cacheid+:} false; then :
   9603   $as_echo_n "(cached) " >&6
   9604 else
   9605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9606 /* end confdefs.h.  */
   9607 int i;
   9608 int
   9609 main ()
   9610 {
   9611 
   9612   ;
   9613   return 0;
   9614 }
   9615 _ACEOF
   9616 if ac_fn_c_try_link "$LINENO"; then :
   9617   eval $cacheid=yes
   9618 else
   9619   eval $cacheid=no
   9620 fi
   9621 rm -f core conftest.err conftest.$ac_objext \
   9622     conftest$ac_exeext conftest.$ac_ext
   9623 fi
   9624 
   9625 
   9626 		CFLAGS="$xorg_testset_save_CFLAGS"
   9627 
   9628 		eval supported=\$$cacheid
   9629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9630 $as_echo "$supported" >&6; }
   9631 		if test "$supported" = "yes" ; then
   9632 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9633 			found="yes"
   9634 		fi
   9635 	fi
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 xorg_testset_save_CFLAGS="$CFLAGS"
   9652 
   9653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9656 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9657 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9658   $as_echo_n "(cached) " >&6
   9659 else
   9660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9661 /* end confdefs.h.  */
   9662 int i;
   9663 _ACEOF
   9664 if ac_fn_c_try_compile "$LINENO"; then :
   9665   xorg_cv_cc_flag_unknown_warning_option=yes
   9666 else
   9667   xorg_cv_cc_flag_unknown_warning_option=no
   9668 fi
   9669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9670 fi
   9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9672 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9673 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9674 	CFLAGS="$xorg_testset_save_CFLAGS"
   9675 fi
   9676 
   9677 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9678 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9679 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9680 	fi
   9681 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9683 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9684 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9685   $as_echo_n "(cached) " >&6
   9686 else
   9687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9688 /* end confdefs.h.  */
   9689 int i;
   9690 _ACEOF
   9691 if ac_fn_c_try_compile "$LINENO"; then :
   9692   xorg_cv_cc_flag_unused_command_line_argument=yes
   9693 else
   9694   xorg_cv_cc_flag_unused_command_line_argument=no
   9695 fi
   9696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9697 fi
   9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9699 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9701 	CFLAGS="$xorg_testset_save_CFLAGS"
   9702 fi
   9703 
   9704 found="no"
   9705 
   9706 	if test $found = "no" ; then
   9707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9709 		fi
   9710 
   9711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9713 		fi
   9714 
   9715 		CFLAGS="$CFLAGS -Warray-bounds"
   9716 
   9717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9718 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9719 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9720 		if eval \${$cacheid+:} false; then :
   9721   $as_echo_n "(cached) " >&6
   9722 else
   9723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9724 /* end confdefs.h.  */
   9725 int i;
   9726 int
   9727 main ()
   9728 {
   9729 
   9730   ;
   9731   return 0;
   9732 }
   9733 _ACEOF
   9734 if ac_fn_c_try_link "$LINENO"; then :
   9735   eval $cacheid=yes
   9736 else
   9737   eval $cacheid=no
   9738 fi
   9739 rm -f core conftest.err conftest.$ac_objext \
   9740     conftest$ac_exeext conftest.$ac_ext
   9741 fi
   9742 
   9743 
   9744 		CFLAGS="$xorg_testset_save_CFLAGS"
   9745 
   9746 		eval supported=\$$cacheid
   9747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9748 $as_echo "$supported" >&6; }
   9749 		if test "$supported" = "yes" ; then
   9750 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9751 			found="yes"
   9752 		fi
   9753 	fi
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 xorg_testset_save_CFLAGS="$CFLAGS"
   9770 
   9771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9774 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9775 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9776   $as_echo_n "(cached) " >&6
   9777 else
   9778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9779 /* end confdefs.h.  */
   9780 int i;
   9781 _ACEOF
   9782 if ac_fn_c_try_compile "$LINENO"; then :
   9783   xorg_cv_cc_flag_unknown_warning_option=yes
   9784 else
   9785   xorg_cv_cc_flag_unknown_warning_option=no
   9786 fi
   9787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9788 fi
   9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9790 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9792 	CFLAGS="$xorg_testset_save_CFLAGS"
   9793 fi
   9794 
   9795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9798 	fi
   9799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9801 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9802 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9803   $as_echo_n "(cached) " >&6
   9804 else
   9805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9806 /* end confdefs.h.  */
   9807 int i;
   9808 _ACEOF
   9809 if ac_fn_c_try_compile "$LINENO"; then :
   9810   xorg_cv_cc_flag_unused_command_line_argument=yes
   9811 else
   9812   xorg_cv_cc_flag_unused_command_line_argument=no
   9813 fi
   9814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9815 fi
   9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9817 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9818 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9819 	CFLAGS="$xorg_testset_save_CFLAGS"
   9820 fi
   9821 
   9822 found="no"
   9823 
   9824 	if test $found = "no" ; then
   9825 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9826 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9827 		fi
   9828 
   9829 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9830 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9831 		fi
   9832 
   9833 		CFLAGS="$CFLAGS -Wwrite-strings"
   9834 
   9835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9836 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9837 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9838 		if eval \${$cacheid+:} false; then :
   9839   $as_echo_n "(cached) " >&6
   9840 else
   9841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9842 /* end confdefs.h.  */
   9843 int i;
   9844 int
   9845 main ()
   9846 {
   9847 
   9848   ;
   9849   return 0;
   9850 }
   9851 _ACEOF
   9852 if ac_fn_c_try_link "$LINENO"; then :
   9853   eval $cacheid=yes
   9854 else
   9855   eval $cacheid=no
   9856 fi
   9857 rm -f core conftest.err conftest.$ac_objext \
   9858     conftest$ac_exeext conftest.$ac_ext
   9859 fi
   9860 
   9861 
   9862 		CFLAGS="$xorg_testset_save_CFLAGS"
   9863 
   9864 		eval supported=\$$cacheid
   9865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9866 $as_echo "$supported" >&6; }
   9867 		if test "$supported" = "yes" ; then
   9868 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9869 			found="yes"
   9870 		fi
   9871 	fi
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 xorg_testset_save_CFLAGS="$CFLAGS"
   9888 
   9889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9894   $as_echo_n "(cached) " >&6
   9895 else
   9896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9897 /* end confdefs.h.  */
   9898 int i;
   9899 _ACEOF
   9900 if ac_fn_c_try_compile "$LINENO"; then :
   9901   xorg_cv_cc_flag_unknown_warning_option=yes
   9902 else
   9903   xorg_cv_cc_flag_unknown_warning_option=no
   9904 fi
   9905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9906 fi
   9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9910 	CFLAGS="$xorg_testset_save_CFLAGS"
   9911 fi
   9912 
   9913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9916 	fi
   9917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9921   $as_echo_n "(cached) " >&6
   9922 else
   9923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9924 /* end confdefs.h.  */
   9925 int i;
   9926 _ACEOF
   9927 if ac_fn_c_try_compile "$LINENO"; then :
   9928   xorg_cv_cc_flag_unused_command_line_argument=yes
   9929 else
   9930   xorg_cv_cc_flag_unused_command_line_argument=no
   9931 fi
   9932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9933 fi
   9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9937 	CFLAGS="$xorg_testset_save_CFLAGS"
   9938 fi
   9939 
   9940 found="no"
   9941 
   9942 	if test $found = "no" ; then
   9943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9945 		fi
   9946 
   9947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9949 		fi
   9950 
   9951 		CFLAGS="$CFLAGS -Waddress"
   9952 
   9953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9954 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9955 		cacheid=xorg_cv_cc_flag__Waddress
   9956 		if eval \${$cacheid+:} false; then :
   9957   $as_echo_n "(cached) " >&6
   9958 else
   9959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9960 /* end confdefs.h.  */
   9961 int i;
   9962 int
   9963 main ()
   9964 {
   9965 
   9966   ;
   9967   return 0;
   9968 }
   9969 _ACEOF
   9970 if ac_fn_c_try_link "$LINENO"; then :
   9971   eval $cacheid=yes
   9972 else
   9973   eval $cacheid=no
   9974 fi
   9975 rm -f core conftest.err conftest.$ac_objext \
   9976     conftest$ac_exeext conftest.$ac_ext
   9977 fi
   9978 
   9979 
   9980 		CFLAGS="$xorg_testset_save_CFLAGS"
   9981 
   9982 		eval supported=\$$cacheid
   9983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9984 $as_echo "$supported" >&6; }
   9985 		if test "$supported" = "yes" ; then
   9986 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9987 			found="yes"
   9988 		fi
   9989 	fi
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 xorg_testset_save_CFLAGS="$CFLAGS"
   10006 
   10007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10012   $as_echo_n "(cached) " >&6
   10013 else
   10014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10015 /* end confdefs.h.  */
   10016 int i;
   10017 _ACEOF
   10018 if ac_fn_c_try_compile "$LINENO"; then :
   10019   xorg_cv_cc_flag_unknown_warning_option=yes
   10020 else
   10021   xorg_cv_cc_flag_unknown_warning_option=no
   10022 fi
   10023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10024 fi
   10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10028 	CFLAGS="$xorg_testset_save_CFLAGS"
   10029 fi
   10030 
   10031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10034 	fi
   10035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10039   $as_echo_n "(cached) " >&6
   10040 else
   10041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10042 /* end confdefs.h.  */
   10043 int i;
   10044 _ACEOF
   10045 if ac_fn_c_try_compile "$LINENO"; then :
   10046   xorg_cv_cc_flag_unused_command_line_argument=yes
   10047 else
   10048   xorg_cv_cc_flag_unused_command_line_argument=no
   10049 fi
   10050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10051 fi
   10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10055 	CFLAGS="$xorg_testset_save_CFLAGS"
   10056 fi
   10057 
   10058 found="no"
   10059 
   10060 	if test $found = "no" ; then
   10061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10063 		fi
   10064 
   10065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10067 		fi
   10068 
   10069 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10070 
   10071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10072 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10073 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10074 		if eval \${$cacheid+:} false; then :
   10075   $as_echo_n "(cached) " >&6
   10076 else
   10077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10078 /* end confdefs.h.  */
   10079 int i;
   10080 int
   10081 main ()
   10082 {
   10083 
   10084   ;
   10085   return 0;
   10086 }
   10087 _ACEOF
   10088 if ac_fn_c_try_link "$LINENO"; then :
   10089   eval $cacheid=yes
   10090 else
   10091   eval $cacheid=no
   10092 fi
   10093 rm -f core conftest.err conftest.$ac_objext \
   10094     conftest$ac_exeext conftest.$ac_ext
   10095 fi
   10096 
   10097 
   10098 		CFLAGS="$xorg_testset_save_CFLAGS"
   10099 
   10100 		eval supported=\$$cacheid
   10101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10102 $as_echo "$supported" >&6; }
   10103 		if test "$supported" = "yes" ; then
   10104 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10105 			found="yes"
   10106 		fi
   10107 	fi
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 xorg_testset_save_CFLAGS="$CFLAGS"
   10124 
   10125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10130   $as_echo_n "(cached) " >&6
   10131 else
   10132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10133 /* end confdefs.h.  */
   10134 int i;
   10135 _ACEOF
   10136 if ac_fn_c_try_compile "$LINENO"; then :
   10137   xorg_cv_cc_flag_unknown_warning_option=yes
   10138 else
   10139   xorg_cv_cc_flag_unknown_warning_option=no
   10140 fi
   10141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10142 fi
   10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10146 	CFLAGS="$xorg_testset_save_CFLAGS"
   10147 fi
   10148 
   10149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10152 	fi
   10153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10157   $as_echo_n "(cached) " >&6
   10158 else
   10159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 int i;
   10162 _ACEOF
   10163 if ac_fn_c_try_compile "$LINENO"; then :
   10164   xorg_cv_cc_flag_unused_command_line_argument=yes
   10165 else
   10166   xorg_cv_cc_flag_unused_command_line_argument=no
   10167 fi
   10168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10169 fi
   10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10173 	CFLAGS="$xorg_testset_save_CFLAGS"
   10174 fi
   10175 
   10176 found="no"
   10177 
   10178 	if test $found = "no" ; then
   10179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10181 		fi
   10182 
   10183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10185 		fi
   10186 
   10187 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10188 
   10189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10190 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10191 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10192 		if eval \${$cacheid+:} false; then :
   10193   $as_echo_n "(cached) " >&6
   10194 else
   10195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10196 /* end confdefs.h.  */
   10197 int i;
   10198 int
   10199 main ()
   10200 {
   10201 
   10202   ;
   10203   return 0;
   10204 }
   10205 _ACEOF
   10206 if ac_fn_c_try_link "$LINENO"; then :
   10207   eval $cacheid=yes
   10208 else
   10209   eval $cacheid=no
   10210 fi
   10211 rm -f core conftest.err conftest.$ac_objext \
   10212     conftest$ac_exeext conftest.$ac_ext
   10213 fi
   10214 
   10215 
   10216 		CFLAGS="$xorg_testset_save_CFLAGS"
   10217 
   10218 		eval supported=\$$cacheid
   10219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10220 $as_echo "$supported" >&6; }
   10221 		if test "$supported" = "yes" ; then
   10222 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10223 			found="yes"
   10224 		fi
   10225 	fi
   10226 
   10227 
   10228 fi
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 		CWARNFLAGS="$BASE_CFLAGS"
   10237 		if  test "x$GCC" = xyes ; then
   10238 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10239 		fi
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 # Check whether --enable-strict-compilation was given.
   10249 if test "${enable_strict_compilation+set}" = set; then :
   10250   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10251 else
   10252   STRICT_COMPILE=no
   10253 fi
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 STRICT_CFLAGS=""
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 xorg_testset_save_CFLAGS="$CFLAGS"
   10275 
   10276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10279 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10280 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10281   $as_echo_n "(cached) " >&6
   10282 else
   10283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10284 /* end confdefs.h.  */
   10285 int i;
   10286 _ACEOF
   10287 if ac_fn_c_try_compile "$LINENO"; then :
   10288   xorg_cv_cc_flag_unknown_warning_option=yes
   10289 else
   10290   xorg_cv_cc_flag_unknown_warning_option=no
   10291 fi
   10292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10293 fi
   10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10295 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10297 	CFLAGS="$xorg_testset_save_CFLAGS"
   10298 fi
   10299 
   10300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10303 	fi
   10304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10306 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10307 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10308   $as_echo_n "(cached) " >&6
   10309 else
   10310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10311 /* end confdefs.h.  */
   10312 int i;
   10313 _ACEOF
   10314 if ac_fn_c_try_compile "$LINENO"; then :
   10315   xorg_cv_cc_flag_unused_command_line_argument=yes
   10316 else
   10317   xorg_cv_cc_flag_unused_command_line_argument=no
   10318 fi
   10319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10320 fi
   10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10322 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10324 	CFLAGS="$xorg_testset_save_CFLAGS"
   10325 fi
   10326 
   10327 found="no"
   10328 
   10329 	if test $found = "no" ; then
   10330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10332 		fi
   10333 
   10334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10336 		fi
   10337 
   10338 		CFLAGS="$CFLAGS -pedantic"
   10339 
   10340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10341 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10342 		cacheid=xorg_cv_cc_flag__pedantic
   10343 		if eval \${$cacheid+:} false; then :
   10344   $as_echo_n "(cached) " >&6
   10345 else
   10346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10347 /* end confdefs.h.  */
   10348 int i;
   10349 int
   10350 main ()
   10351 {
   10352 
   10353   ;
   10354   return 0;
   10355 }
   10356 _ACEOF
   10357 if ac_fn_c_try_link "$LINENO"; then :
   10358   eval $cacheid=yes
   10359 else
   10360   eval $cacheid=no
   10361 fi
   10362 rm -f core conftest.err conftest.$ac_objext \
   10363     conftest$ac_exeext conftest.$ac_ext
   10364 fi
   10365 
   10366 
   10367 		CFLAGS="$xorg_testset_save_CFLAGS"
   10368 
   10369 		eval supported=\$$cacheid
   10370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10371 $as_echo "$supported" >&6; }
   10372 		if test "$supported" = "yes" ; then
   10373 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10374 			found="yes"
   10375 		fi
   10376 	fi
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 xorg_testset_save_CFLAGS="$CFLAGS"
   10393 
   10394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10397 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10398 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10399   $as_echo_n "(cached) " >&6
   10400 else
   10401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10402 /* end confdefs.h.  */
   10403 int i;
   10404 _ACEOF
   10405 if ac_fn_c_try_compile "$LINENO"; then :
   10406   xorg_cv_cc_flag_unknown_warning_option=yes
   10407 else
   10408   xorg_cv_cc_flag_unknown_warning_option=no
   10409 fi
   10410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10411 fi
   10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10413 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10415 	CFLAGS="$xorg_testset_save_CFLAGS"
   10416 fi
   10417 
   10418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10421 	fi
   10422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10424 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10425 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10426   $as_echo_n "(cached) " >&6
   10427 else
   10428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10429 /* end confdefs.h.  */
   10430 int i;
   10431 _ACEOF
   10432 if ac_fn_c_try_compile "$LINENO"; then :
   10433   xorg_cv_cc_flag_unused_command_line_argument=yes
   10434 else
   10435   xorg_cv_cc_flag_unused_command_line_argument=no
   10436 fi
   10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10438 fi
   10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10440 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10442 	CFLAGS="$xorg_testset_save_CFLAGS"
   10443 fi
   10444 
   10445 found="no"
   10446 
   10447 	if test $found = "no" ; then
   10448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10450 		fi
   10451 
   10452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10454 		fi
   10455 
   10456 		CFLAGS="$CFLAGS -Werror"
   10457 
   10458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10459 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10460 		cacheid=xorg_cv_cc_flag__Werror
   10461 		if eval \${$cacheid+:} false; then :
   10462   $as_echo_n "(cached) " >&6
   10463 else
   10464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10465 /* end confdefs.h.  */
   10466 int i;
   10467 int
   10468 main ()
   10469 {
   10470 
   10471   ;
   10472   return 0;
   10473 }
   10474 _ACEOF
   10475 if ac_fn_c_try_link "$LINENO"; then :
   10476   eval $cacheid=yes
   10477 else
   10478   eval $cacheid=no
   10479 fi
   10480 rm -f core conftest.err conftest.$ac_objext \
   10481     conftest$ac_exeext conftest.$ac_ext
   10482 fi
   10483 
   10484 
   10485 		CFLAGS="$xorg_testset_save_CFLAGS"
   10486 
   10487 		eval supported=\$$cacheid
   10488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10489 $as_echo "$supported" >&6; }
   10490 		if test "$supported" = "yes" ; then
   10491 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10492 			found="yes"
   10493 		fi
   10494 	fi
   10495 
   10496 	if test $found = "no" ; then
   10497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10499 		fi
   10500 
   10501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10503 		fi
   10504 
   10505 		CFLAGS="$CFLAGS -errwarn"
   10506 
   10507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10508 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10509 		cacheid=xorg_cv_cc_flag__errwarn
   10510 		if eval \${$cacheid+:} false; then :
   10511   $as_echo_n "(cached) " >&6
   10512 else
   10513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10514 /* end confdefs.h.  */
   10515 int i;
   10516 int
   10517 main ()
   10518 {
   10519 
   10520   ;
   10521   return 0;
   10522 }
   10523 _ACEOF
   10524 if ac_fn_c_try_link "$LINENO"; then :
   10525   eval $cacheid=yes
   10526 else
   10527   eval $cacheid=no
   10528 fi
   10529 rm -f core conftest.err conftest.$ac_objext \
   10530     conftest$ac_exeext conftest.$ac_ext
   10531 fi
   10532 
   10533 
   10534 		CFLAGS="$xorg_testset_save_CFLAGS"
   10535 
   10536 		eval supported=\$$cacheid
   10537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10538 $as_echo "$supported" >&6; }
   10539 		if test "$supported" = "yes" ; then
   10540 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10541 			found="yes"
   10542 		fi
   10543 	fi
   10544 
   10545 
   10546 
   10547 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10548 # activate it with -Werror, so we add it here explicitly.
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 xorg_testset_save_CFLAGS="$CFLAGS"
   10563 
   10564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10569   $as_echo_n "(cached) " >&6
   10570 else
   10571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10572 /* end confdefs.h.  */
   10573 int i;
   10574 _ACEOF
   10575 if ac_fn_c_try_compile "$LINENO"; then :
   10576   xorg_cv_cc_flag_unknown_warning_option=yes
   10577 else
   10578   xorg_cv_cc_flag_unknown_warning_option=no
   10579 fi
   10580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10581 fi
   10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10585 	CFLAGS="$xorg_testset_save_CFLAGS"
   10586 fi
   10587 
   10588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10591 	fi
   10592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10596   $as_echo_n "(cached) " >&6
   10597 else
   10598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10599 /* end confdefs.h.  */
   10600 int i;
   10601 _ACEOF
   10602 if ac_fn_c_try_compile "$LINENO"; then :
   10603   xorg_cv_cc_flag_unused_command_line_argument=yes
   10604 else
   10605   xorg_cv_cc_flag_unused_command_line_argument=no
   10606 fi
   10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10608 fi
   10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10612 	CFLAGS="$xorg_testset_save_CFLAGS"
   10613 fi
   10614 
   10615 found="no"
   10616 
   10617 	if test $found = "no" ; then
   10618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10620 		fi
   10621 
   10622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10624 		fi
   10625 
   10626 		CFLAGS="$CFLAGS -Werror=attributes"
   10627 
   10628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10629 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10630 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10631 		if eval \${$cacheid+:} false; then :
   10632   $as_echo_n "(cached) " >&6
   10633 else
   10634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10635 /* end confdefs.h.  */
   10636 int i;
   10637 int
   10638 main ()
   10639 {
   10640 
   10641   ;
   10642   return 0;
   10643 }
   10644 _ACEOF
   10645 if ac_fn_c_try_link "$LINENO"; then :
   10646   eval $cacheid=yes
   10647 else
   10648   eval $cacheid=no
   10649 fi
   10650 rm -f core conftest.err conftest.$ac_objext \
   10651     conftest$ac_exeext conftest.$ac_ext
   10652 fi
   10653 
   10654 
   10655 		CFLAGS="$xorg_testset_save_CFLAGS"
   10656 
   10657 		eval supported=\$$cacheid
   10658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10659 $as_echo "$supported" >&6; }
   10660 		if test "$supported" = "yes" ; then
   10661 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10662 			found="yes"
   10663 		fi
   10664 	fi
   10665 
   10666 
   10667 
   10668 if test "x$STRICT_COMPILE" = "xyes"; then
   10669     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10670     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10671 fi
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 cat >>confdefs.h <<_ACEOF
   10679 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10680 _ACEOF
   10681 
   10682 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10683 	if test "x$PVM" = "x"; then
   10684 		PVM="0"
   10685 	fi
   10686 
   10687 cat >>confdefs.h <<_ACEOF
   10688 #define PACKAGE_VERSION_MINOR $PVM
   10689 _ACEOF
   10690 
   10691 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10692 	if test "x$PVP" = "x"; then
   10693 		PVP="0"
   10694 	fi
   10695 
   10696 cat >>confdefs.h <<_ACEOF
   10697 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10698 _ACEOF
   10699 
   10700 
   10701 
   10702 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10703 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10704 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10705 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10706 
   10707 
   10708 
   10709 
   10710 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10711 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10712 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10713 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10714 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 if test x$APP_MAN_SUFFIX = x    ; then
   10722     APP_MAN_SUFFIX=1
   10723 fi
   10724 if test x$APP_MAN_DIR = x    ; then
   10725     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10726 fi
   10727 
   10728 if test x$LIB_MAN_SUFFIX = x    ; then
   10729     LIB_MAN_SUFFIX=3
   10730 fi
   10731 if test x$LIB_MAN_DIR = x    ; then
   10732     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10733 fi
   10734 
   10735 if test x$FILE_MAN_SUFFIX = x    ; then
   10736     case $host_os in
   10737 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10738 	*)		FILE_MAN_SUFFIX=5  ;;
   10739     esac
   10740 fi
   10741 if test x$FILE_MAN_DIR = x    ; then
   10742     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10743 fi
   10744 
   10745 if test x$MISC_MAN_SUFFIX = x    ; then
   10746     case $host_os in
   10747 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10748 	*)		MISC_MAN_SUFFIX=7  ;;
   10749     esac
   10750 fi
   10751 if test x$MISC_MAN_DIR = x    ; then
   10752     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10753 fi
   10754 
   10755 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10756     case $host_os in
   10757 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10758 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10759     esac
   10760 fi
   10761 if test x$DRIVER_MAN_DIR = x    ; then
   10762     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10763 fi
   10764 
   10765 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10766     case $host_os in
   10767 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10768 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10769     esac
   10770 fi
   10771 if test x$ADMIN_MAN_DIR = x    ; then
   10772     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10773 fi
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 XORG_MAN_PAGE="X Version 11"
   10790 
   10791 MAN_SUBSTS="\
   10792 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10793 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10794 	-e 's|__xservername__|Xorg|g' \
   10795 	-e 's|__xconfigfile__|xorg.conf|g' \
   10796 	-e 's|__projectroot__|\$(prefix)|g' \
   10797 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10798 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10799 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10800 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10801 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10802 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10803 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10804 
   10805 
   10806 
   10807 # Check whether --enable-silent-rules was given.
   10808 if test "${enable_silent_rules+set}" = set; then :
   10809   enableval=$enable_silent_rules;
   10810 fi
   10811 
   10812 case $enable_silent_rules in # (((
   10813   yes) AM_DEFAULT_VERBOSITY=0;;
   10814    no) AM_DEFAULT_VERBOSITY=1;;
   10815     *) AM_DEFAULT_VERBOSITY=0;;
   10816 esac
   10817 am_make=${MAKE-make}
   10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10819 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10820 if ${am_cv_make_support_nested_variables+:} false; then :
   10821   $as_echo_n "(cached) " >&6
   10822 else
   10823   if $as_echo 'TRUE=$(BAR$(V))
   10824 BAR0=false
   10825 BAR1=true
   10826 V=1
   10827 am__doit:
   10828 	@$(TRUE)
   10829 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10830   am_cv_make_support_nested_variables=yes
   10831 else
   10832   am_cv_make_support_nested_variables=no
   10833 fi
   10834 fi
   10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10836 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10837 if test $am_cv_make_support_nested_variables = yes; then
   10838     AM_V='$(V)'
   10839   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10840 else
   10841   AM_V=$AM_DEFAULT_VERBOSITY
   10842   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10843 fi
   10844 AM_BACKSLASH='\'
   10845 
   10846 
   10847 
   10848 # Initialize libtool
   10849 # Check whether --enable-static was given.
   10850 if test "${enable_static+set}" = set; then :
   10851   enableval=$enable_static; p=${PACKAGE-default}
   10852     case $enableval in
   10853     yes) enable_static=yes ;;
   10854     no) enable_static=no ;;
   10855     *)
   10856      enable_static=no
   10857       # Look at the argument we got.  We use all the common list separators.
   10858       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10859       for pkg in $enableval; do
   10860 	IFS=$lt_save_ifs
   10861 	if test "X$pkg" = "X$p"; then
   10862 	  enable_static=yes
   10863 	fi
   10864       done
   10865       IFS=$lt_save_ifs
   10866       ;;
   10867     esac
   10868 else
   10869   enable_static=no
   10870 fi
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 case `pwd` in
   10881   *\ * | *\	*)
   10882     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10883 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10884 esac
   10885 
   10886 
   10887 
   10888 macro_version='2.4.6'
   10889 macro_revision='2.4.6'
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 ltmain=$ac_aux_dir/ltmain.sh
   10904 
   10905 # Backslashify metacharacters that are still active within
   10906 # double-quoted strings.
   10907 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10908 
   10909 # Same as above, but do not quote variable references.
   10910 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10911 
   10912 # Sed substitution to delay expansion of an escaped shell variable in a
   10913 # double_quote_subst'ed string.
   10914 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10915 
   10916 # Sed substitution to delay expansion of an escaped single quote.
   10917 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10918 
   10919 # Sed substitution to avoid accidental globbing in evaled expressions
   10920 no_glob_subst='s/\*/\\\*/g'
   10921 
   10922 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10923 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10924 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10925 
   10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10927 $as_echo_n "checking how to print strings... " >&6; }
   10928 # Test print first, because it will be a builtin if present.
   10929 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10930    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10931   ECHO='print -r --'
   10932 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10933   ECHO='printf %s\n'
   10934 else
   10935   # Use this function as a fallback that always works.
   10936   func_fallback_echo ()
   10937   {
   10938     eval 'cat <<_LTECHO_EOF
   10939 $1
   10940 _LTECHO_EOF'
   10941   }
   10942   ECHO='func_fallback_echo'
   10943 fi
   10944 
   10945 # func_echo_all arg...
   10946 # Invoke $ECHO with all args, space-separated.
   10947 func_echo_all ()
   10948 {
   10949     $ECHO ""
   10950 }
   10951 
   10952 case $ECHO in
   10953   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10954 $as_echo "printf" >&6; } ;;
   10955   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10956 $as_echo "print -r" >&6; } ;;
   10957   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10958 $as_echo "cat" >&6; } ;;
   10959 esac
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10975 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10976 if ${ac_cv_path_SED+:} false; then :
   10977   $as_echo_n "(cached) " >&6
   10978 else
   10979             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10980      for ac_i in 1 2 3 4 5 6 7; do
   10981        ac_script="$ac_script$as_nl$ac_script"
   10982      done
   10983      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10984      { ac_script=; unset ac_script;}
   10985      if test -z "$SED"; then
   10986   ac_path_SED_found=false
   10987   # Loop through the user's path and test for each of PROGNAME-LIST
   10988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10989 for as_dir in $PATH
   10990 do
   10991   IFS=$as_save_IFS
   10992   test -z "$as_dir" && as_dir=.
   10993     for ac_prog in sed gsed; do
   10994     for ac_exec_ext in '' $ac_executable_extensions; do
   10995       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10996       as_fn_executable_p "$ac_path_SED" || continue
   10997 # Check for GNU ac_path_SED and select it if it is found.
   10998   # Check for GNU $ac_path_SED
   10999 case `"$ac_path_SED" --version 2>&1` in
   11000 *GNU*)
   11001   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11002 *)
   11003   ac_count=0
   11004   $as_echo_n 0123456789 >"conftest.in"
   11005   while :
   11006   do
   11007     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11008     mv "conftest.tmp" "conftest.in"
   11009     cp "conftest.in" "conftest.nl"
   11010     $as_echo '' >> "conftest.nl"
   11011     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11012     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11013     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11014     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11015       # Best one so far, save it but keep looking for a better one
   11016       ac_cv_path_SED="$ac_path_SED"
   11017       ac_path_SED_max=$ac_count
   11018     fi
   11019     # 10*(2^10) chars as input seems more than enough
   11020     test $ac_count -gt 10 && break
   11021   done
   11022   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11023 esac
   11024 
   11025       $ac_path_SED_found && break 3
   11026     done
   11027   done
   11028   done
   11029 IFS=$as_save_IFS
   11030   if test -z "$ac_cv_path_SED"; then
   11031     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11032   fi
   11033 else
   11034   ac_cv_path_SED=$SED
   11035 fi
   11036 
   11037 fi
   11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11039 $as_echo "$ac_cv_path_SED" >&6; }
   11040  SED="$ac_cv_path_SED"
   11041   rm -f conftest.sed
   11042 
   11043 test -z "$SED" && SED=sed
   11044 Xsed="$SED -e 1s/^X//"
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11057 $as_echo_n "checking for fgrep... " >&6; }
   11058 if ${ac_cv_path_FGREP+:} false; then :
   11059   $as_echo_n "(cached) " >&6
   11060 else
   11061   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11062    then ac_cv_path_FGREP="$GREP -F"
   11063    else
   11064      if test -z "$FGREP"; then
   11065   ac_path_FGREP_found=false
   11066   # Loop through the user's path and test for each of PROGNAME-LIST
   11067   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11068 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11069 do
   11070   IFS=$as_save_IFS
   11071   test -z "$as_dir" && as_dir=.
   11072     for ac_prog in fgrep; do
   11073     for ac_exec_ext in '' $ac_executable_extensions; do
   11074       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11075       as_fn_executable_p "$ac_path_FGREP" || continue
   11076 # Check for GNU ac_path_FGREP and select it if it is found.
   11077   # Check for GNU $ac_path_FGREP
   11078 case `"$ac_path_FGREP" --version 2>&1` in
   11079 *GNU*)
   11080   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11081 *)
   11082   ac_count=0
   11083   $as_echo_n 0123456789 >"conftest.in"
   11084   while :
   11085   do
   11086     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11087     mv "conftest.tmp" "conftest.in"
   11088     cp "conftest.in" "conftest.nl"
   11089     $as_echo 'FGREP' >> "conftest.nl"
   11090     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11091     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11092     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11093     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11094       # Best one so far, save it but keep looking for a better one
   11095       ac_cv_path_FGREP="$ac_path_FGREP"
   11096       ac_path_FGREP_max=$ac_count
   11097     fi
   11098     # 10*(2^10) chars as input seems more than enough
   11099     test $ac_count -gt 10 && break
   11100   done
   11101   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11102 esac
   11103 
   11104       $ac_path_FGREP_found && break 3
   11105     done
   11106   done
   11107   done
   11108 IFS=$as_save_IFS
   11109   if test -z "$ac_cv_path_FGREP"; then
   11110     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11111   fi
   11112 else
   11113   ac_cv_path_FGREP=$FGREP
   11114 fi
   11115 
   11116    fi
   11117 fi
   11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11119 $as_echo "$ac_cv_path_FGREP" >&6; }
   11120  FGREP="$ac_cv_path_FGREP"
   11121 
   11122 
   11123 test -z "$GREP" && GREP=grep
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 # Check whether --with-gnu-ld was given.
   11144 if test "${with_gnu_ld+set}" = set; then :
   11145   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11146 else
   11147   with_gnu_ld=no
   11148 fi
   11149 
   11150 ac_prog=ld
   11151 if test yes = "$GCC"; then
   11152   # Check if gcc -print-prog-name=ld gives a path.
   11153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11154 $as_echo_n "checking for ld used by $CC... " >&6; }
   11155   case $host in
   11156   *-*-mingw*)
   11157     # gcc leaves a trailing carriage return, which upsets mingw
   11158     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11159   *)
   11160     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11161   esac
   11162   case $ac_prog in
   11163     # Accept absolute paths.
   11164     [\\/]* | ?:[\\/]*)
   11165       re_direlt='/[^/][^/]*/\.\./'
   11166       # Canonicalize the pathname of ld
   11167       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11168       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11169 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11170       done
   11171       test -z "$LD" && LD=$ac_prog
   11172       ;;
   11173   "")
   11174     # If it fails, then pretend we aren't using GCC.
   11175     ac_prog=ld
   11176     ;;
   11177   *)
   11178     # If it is relative, then search for the first ld in PATH.
   11179     with_gnu_ld=unknown
   11180     ;;
   11181   esac
   11182 elif test yes = "$with_gnu_ld"; then
   11183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11184 $as_echo_n "checking for GNU ld... " >&6; }
   11185 else
   11186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11187 $as_echo_n "checking for non-GNU ld... " >&6; }
   11188 fi
   11189 if ${lt_cv_path_LD+:} false; then :
   11190   $as_echo_n "(cached) " >&6
   11191 else
   11192   if test -z "$LD"; then
   11193   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11194   for ac_dir in $PATH; do
   11195     IFS=$lt_save_ifs
   11196     test -z "$ac_dir" && ac_dir=.
   11197     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11198       lt_cv_path_LD=$ac_dir/$ac_prog
   11199       # Check to see if the program is GNU ld.  I'd rather use --version,
   11200       # but apparently some variants of GNU ld only accept -v.
   11201       # Break only if it was the GNU/non-GNU ld that we prefer.
   11202       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11203       *GNU* | *'with BFD'*)
   11204 	test no != "$with_gnu_ld" && break
   11205 	;;
   11206       *)
   11207 	test yes != "$with_gnu_ld" && break
   11208 	;;
   11209       esac
   11210     fi
   11211   done
   11212   IFS=$lt_save_ifs
   11213 else
   11214   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11215 fi
   11216 fi
   11217 
   11218 LD=$lt_cv_path_LD
   11219 if test -n "$LD"; then
   11220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11221 $as_echo "$LD" >&6; }
   11222 else
   11223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11224 $as_echo "no" >&6; }
   11225 fi
   11226 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11228 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11229 if ${lt_cv_prog_gnu_ld+:} false; then :
   11230   $as_echo_n "(cached) " >&6
   11231 else
   11232   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11233 case `$LD -v 2>&1 </dev/null` in
   11234 *GNU* | *'with BFD'*)
   11235   lt_cv_prog_gnu_ld=yes
   11236   ;;
   11237 *)
   11238   lt_cv_prog_gnu_ld=no
   11239   ;;
   11240 esac
   11241 fi
   11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11243 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11244 with_gnu_ld=$lt_cv_prog_gnu_ld
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11255 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11256 if ${lt_cv_path_NM+:} false; then :
   11257   $as_echo_n "(cached) " >&6
   11258 else
   11259   if test -n "$NM"; then
   11260   # Let the user override the test.
   11261   lt_cv_path_NM=$NM
   11262 else
   11263   lt_nm_to_check=${ac_tool_prefix}nm
   11264   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11265     lt_nm_to_check="$lt_nm_to_check nm"
   11266   fi
   11267   for lt_tmp_nm in $lt_nm_to_check; do
   11268     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11269     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11270       IFS=$lt_save_ifs
   11271       test -z "$ac_dir" && ac_dir=.
   11272       tmp_nm=$ac_dir/$lt_tmp_nm
   11273       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11274 	# Check to see if the nm accepts a BSD-compat flag.
   11275 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11276 	#   nm: unknown option "B" ignored
   11277 	# Tru64's nm complains that /dev/null is an invalid object file
   11278 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11279 	case $build_os in
   11280 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11281 	*) lt_bad_file=/dev/null ;;
   11282 	esac
   11283 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11284 	*$lt_bad_file* | *'Invalid file or object type'*)
   11285 	  lt_cv_path_NM="$tmp_nm -B"
   11286 	  break 2
   11287 	  ;;
   11288 	*)
   11289 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11290 	  */dev/null*)
   11291 	    lt_cv_path_NM="$tmp_nm -p"
   11292 	    break 2
   11293 	    ;;
   11294 	  *)
   11295 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11296 	    continue # so that we can try to find one that supports BSD flags
   11297 	    ;;
   11298 	  esac
   11299 	  ;;
   11300 	esac
   11301       fi
   11302     done
   11303     IFS=$lt_save_ifs
   11304   done
   11305   : ${lt_cv_path_NM=no}
   11306 fi
   11307 fi
   11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11309 $as_echo "$lt_cv_path_NM" >&6; }
   11310 if test no != "$lt_cv_path_NM"; then
   11311   NM=$lt_cv_path_NM
   11312 else
   11313   # Didn't find any BSD compatible name lister, look for dumpbin.
   11314   if test -n "$DUMPBIN"; then :
   11315     # Let the user override the test.
   11316   else
   11317     if test -n "$ac_tool_prefix"; then
   11318   for ac_prog in dumpbin "link -dump"
   11319   do
   11320     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11321 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11323 $as_echo_n "checking for $ac_word... " >&6; }
   11324 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11325   $as_echo_n "(cached) " >&6
   11326 else
   11327   if test -n "$DUMPBIN"; then
   11328   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11329 else
   11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11331 for as_dir in $PATH
   11332 do
   11333   IFS=$as_save_IFS
   11334   test -z "$as_dir" && as_dir=.
   11335     for ac_exec_ext in '' $ac_executable_extensions; do
   11336   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11337     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11339     break 2
   11340   fi
   11341 done
   11342   done
   11343 IFS=$as_save_IFS
   11344 
   11345 fi
   11346 fi
   11347 DUMPBIN=$ac_cv_prog_DUMPBIN
   11348 if test -n "$DUMPBIN"; then
   11349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11350 $as_echo "$DUMPBIN" >&6; }
   11351 else
   11352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11353 $as_echo "no" >&6; }
   11354 fi
   11355 
   11356 
   11357     test -n "$DUMPBIN" && break
   11358   done
   11359 fi
   11360 if test -z "$DUMPBIN"; then
   11361   ac_ct_DUMPBIN=$DUMPBIN
   11362   for ac_prog in dumpbin "link -dump"
   11363 do
   11364   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11365 set dummy $ac_prog; ac_word=$2
   11366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11367 $as_echo_n "checking for $ac_word... " >&6; }
   11368 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11369   $as_echo_n "(cached) " >&6
   11370 else
   11371   if test -n "$ac_ct_DUMPBIN"; then
   11372   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11373 else
   11374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11375 for as_dir in $PATH
   11376 do
   11377   IFS=$as_save_IFS
   11378   test -z "$as_dir" && as_dir=.
   11379     for ac_exec_ext in '' $ac_executable_extensions; do
   11380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11381     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11383     break 2
   11384   fi
   11385 done
   11386   done
   11387 IFS=$as_save_IFS
   11388 
   11389 fi
   11390 fi
   11391 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11392 if test -n "$ac_ct_DUMPBIN"; then
   11393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11394 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11395 else
   11396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11397 $as_echo "no" >&6; }
   11398 fi
   11399 
   11400 
   11401   test -n "$ac_ct_DUMPBIN" && break
   11402 done
   11403 
   11404   if test "x$ac_ct_DUMPBIN" = x; then
   11405     DUMPBIN=":"
   11406   else
   11407     case $cross_compiling:$ac_tool_warned in
   11408 yes:)
   11409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11411 ac_tool_warned=yes ;;
   11412 esac
   11413     DUMPBIN=$ac_ct_DUMPBIN
   11414   fi
   11415 fi
   11416 
   11417     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11418     *COFF*)
   11419       DUMPBIN="$DUMPBIN -symbols -headers"
   11420       ;;
   11421     *)
   11422       DUMPBIN=:
   11423       ;;
   11424     esac
   11425   fi
   11426 
   11427   if test : != "$DUMPBIN"; then
   11428     NM=$DUMPBIN
   11429   fi
   11430 fi
   11431 test -z "$NM" && NM=nm
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11439 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11440 if ${lt_cv_nm_interface+:} false; then :
   11441   $as_echo_n "(cached) " >&6
   11442 else
   11443   lt_cv_nm_interface="BSD nm"
   11444   echo "int some_variable = 0;" > conftest.$ac_ext
   11445   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11446   (eval "$ac_compile" 2>conftest.err)
   11447   cat conftest.err >&5
   11448   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11449   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11450   cat conftest.err >&5
   11451   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11452   cat conftest.out >&5
   11453   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11454     lt_cv_nm_interface="MS dumpbin"
   11455   fi
   11456   rm -f conftest*
   11457 fi
   11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11459 $as_echo "$lt_cv_nm_interface" >&6; }
   11460 
   11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11462 $as_echo_n "checking whether ln -s works... " >&6; }
   11463 LN_S=$as_ln_s
   11464 if test "$LN_S" = "ln -s"; then
   11465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11466 $as_echo "yes" >&6; }
   11467 else
   11468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11469 $as_echo "no, using $LN_S" >&6; }
   11470 fi
   11471 
   11472 # find the maximum length of command line arguments
   11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11474 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11475 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11476   $as_echo_n "(cached) " >&6
   11477 else
   11478     i=0
   11479   teststring=ABCD
   11480 
   11481   case $build_os in
   11482   msdosdjgpp*)
   11483     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11484     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11485     # during glob expansion).  Even if it were fixed, the result of this
   11486     # check would be larger than it should be.
   11487     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11488     ;;
   11489 
   11490   gnu*)
   11491     # Under GNU Hurd, this test is not required because there is
   11492     # no limit to the length of command line arguments.
   11493     # Libtool will interpret -1 as no limit whatsoever
   11494     lt_cv_sys_max_cmd_len=-1;
   11495     ;;
   11496 
   11497   cygwin* | mingw* | cegcc*)
   11498     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11499     # about 5 minutes as the teststring grows exponentially.
   11500     # Worse, since 9x/ME are not pre-emptively multitasking,
   11501     # you end up with a "frozen" computer, even though with patience
   11502     # the test eventually succeeds (with a max line length of 256k).
   11503     # Instead, let's just punt: use the minimum linelength reported by
   11504     # all of the supported platforms: 8192 (on NT/2K/XP).
   11505     lt_cv_sys_max_cmd_len=8192;
   11506     ;;
   11507 
   11508   mint*)
   11509     # On MiNT this can take a long time and run out of memory.
   11510     lt_cv_sys_max_cmd_len=8192;
   11511     ;;
   11512 
   11513   amigaos*)
   11514     # On AmigaOS with pdksh, this test takes hours, literally.
   11515     # So we just punt and use a minimum line length of 8192.
   11516     lt_cv_sys_max_cmd_len=8192;
   11517     ;;
   11518 
   11519   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11520     # This has been around since 386BSD, at least.  Likely further.
   11521     if test -x /sbin/sysctl; then
   11522       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11523     elif test -x /usr/sbin/sysctl; then
   11524       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11525     else
   11526       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11527     fi
   11528     # And add a safety zone
   11529     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11530     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11531     ;;
   11532 
   11533   interix*)
   11534     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11535     lt_cv_sys_max_cmd_len=196608
   11536     ;;
   11537 
   11538   os2*)
   11539     # The test takes a long time on OS/2.
   11540     lt_cv_sys_max_cmd_len=8192
   11541     ;;
   11542 
   11543   osf*)
   11544     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11545     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11546     # nice to cause kernel panics so lets avoid the loop below.
   11547     # First set a reasonable default.
   11548     lt_cv_sys_max_cmd_len=16384
   11549     #
   11550     if test -x /sbin/sysconfig; then
   11551       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11552         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11553       esac
   11554     fi
   11555     ;;
   11556   sco3.2v5*)
   11557     lt_cv_sys_max_cmd_len=102400
   11558     ;;
   11559   sysv5* | sco5v6* | sysv4.2uw2*)
   11560     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11561     if test -n "$kargmax"; then
   11562       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11563     else
   11564       lt_cv_sys_max_cmd_len=32768
   11565     fi
   11566     ;;
   11567   *)
   11568     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11569     if test -n "$lt_cv_sys_max_cmd_len" && \
   11570        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11571       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11572       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11573     else
   11574       # Make teststring a little bigger before we do anything with it.
   11575       # a 1K string should be a reasonable start.
   11576       for i in 1 2 3 4 5 6 7 8; do
   11577         teststring=$teststring$teststring
   11578       done
   11579       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11580       # If test is not a shell built-in, we'll probably end up computing a
   11581       # maximum length that is only half of the actual maximum length, but
   11582       # we can't tell.
   11583       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11584 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11585 	      test 17 != "$i" # 1/2 MB should be enough
   11586       do
   11587         i=`expr $i + 1`
   11588         teststring=$teststring$teststring
   11589       done
   11590       # Only check the string length outside the loop.
   11591       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11592       teststring=
   11593       # Add a significant safety factor because C++ compilers can tack on
   11594       # massive amounts of additional arguments before passing them to the
   11595       # linker.  It appears as though 1/2 is a usable value.
   11596       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11597     fi
   11598     ;;
   11599   esac
   11600 
   11601 fi
   11602 
   11603 if test -n "$lt_cv_sys_max_cmd_len"; then
   11604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11605 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11606 else
   11607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11608 $as_echo "none" >&6; }
   11609 fi
   11610 max_cmd_len=$lt_cv_sys_max_cmd_len
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 : ${CP="cp -f"}
   11618 : ${MV="mv -f"}
   11619 : ${RM="rm -f"}
   11620 
   11621 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11622   lt_unset=unset
   11623 else
   11624   lt_unset=false
   11625 fi
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 # test EBCDIC or ASCII
   11632 case `echo X|tr X '\101'` in
   11633  A) # ASCII based system
   11634     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11635   lt_SP2NL='tr \040 \012'
   11636   lt_NL2SP='tr \015\012 \040\040'
   11637   ;;
   11638  *) # EBCDIC based system
   11639   lt_SP2NL='tr \100 \n'
   11640   lt_NL2SP='tr \r\n \100\100'
   11641   ;;
   11642 esac
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11653 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11654 if ${lt_cv_to_host_file_cmd+:} false; then :
   11655   $as_echo_n "(cached) " >&6
   11656 else
   11657   case $host in
   11658   *-*-mingw* )
   11659     case $build in
   11660       *-*-mingw* ) # actually msys
   11661         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11662         ;;
   11663       *-*-cygwin* )
   11664         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11665         ;;
   11666       * ) # otherwise, assume *nix
   11667         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11668         ;;
   11669     esac
   11670     ;;
   11671   *-*-cygwin* )
   11672     case $build in
   11673       *-*-mingw* ) # actually msys
   11674         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11675         ;;
   11676       *-*-cygwin* )
   11677         lt_cv_to_host_file_cmd=func_convert_file_noop
   11678         ;;
   11679       * ) # otherwise, assume *nix
   11680         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11681         ;;
   11682     esac
   11683     ;;
   11684   * ) # unhandled hosts (and "normal" native builds)
   11685     lt_cv_to_host_file_cmd=func_convert_file_noop
   11686     ;;
   11687 esac
   11688 
   11689 fi
   11690 
   11691 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11693 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11700 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11701 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11702   $as_echo_n "(cached) " >&6
   11703 else
   11704   #assume ordinary cross tools, or native build.
   11705 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11706 case $host in
   11707   *-*-mingw* )
   11708     case $build in
   11709       *-*-mingw* ) # actually msys
   11710         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11711         ;;
   11712     esac
   11713     ;;
   11714 esac
   11715 
   11716 fi
   11717 
   11718 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11720 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11727 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11728 if ${lt_cv_ld_reload_flag+:} false; then :
   11729   $as_echo_n "(cached) " >&6
   11730 else
   11731   lt_cv_ld_reload_flag='-r'
   11732 fi
   11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11734 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11735 reload_flag=$lt_cv_ld_reload_flag
   11736 case $reload_flag in
   11737 "" | " "*) ;;
   11738 *) reload_flag=" $reload_flag" ;;
   11739 esac
   11740 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11741 case $host_os in
   11742   cygwin* | mingw* | pw32* | cegcc*)
   11743     if test yes != "$GCC"; then
   11744       reload_cmds=false
   11745     fi
   11746     ;;
   11747   darwin*)
   11748     if test yes = "$GCC"; then
   11749       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11750     else
   11751       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11752     fi
   11753     ;;
   11754 esac
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 if test -n "$ac_tool_prefix"; then
   11765   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11766 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11768 $as_echo_n "checking for $ac_word... " >&6; }
   11769 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11770   $as_echo_n "(cached) " >&6
   11771 else
   11772   if test -n "$OBJDUMP"; then
   11773   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11774 else
   11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11776 for as_dir in $PATH
   11777 do
   11778   IFS=$as_save_IFS
   11779   test -z "$as_dir" && as_dir=.
   11780     for ac_exec_ext in '' $ac_executable_extensions; do
   11781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11782     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11784     break 2
   11785   fi
   11786 done
   11787   done
   11788 IFS=$as_save_IFS
   11789 
   11790 fi
   11791 fi
   11792 OBJDUMP=$ac_cv_prog_OBJDUMP
   11793 if test -n "$OBJDUMP"; then
   11794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11795 $as_echo "$OBJDUMP" >&6; }
   11796 else
   11797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11798 $as_echo "no" >&6; }
   11799 fi
   11800 
   11801 
   11802 fi
   11803 if test -z "$ac_cv_prog_OBJDUMP"; then
   11804   ac_ct_OBJDUMP=$OBJDUMP
   11805   # Extract the first word of "objdump", so it can be a program name with args.
   11806 set dummy objdump; ac_word=$2
   11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11808 $as_echo_n "checking for $ac_word... " >&6; }
   11809 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11810   $as_echo_n "(cached) " >&6
   11811 else
   11812   if test -n "$ac_ct_OBJDUMP"; then
   11813   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11814 else
   11815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11816 for as_dir in $PATH
   11817 do
   11818   IFS=$as_save_IFS
   11819   test -z "$as_dir" && as_dir=.
   11820     for ac_exec_ext in '' $ac_executable_extensions; do
   11821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11822     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11824     break 2
   11825   fi
   11826 done
   11827   done
   11828 IFS=$as_save_IFS
   11829 
   11830 fi
   11831 fi
   11832 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11833 if test -n "$ac_ct_OBJDUMP"; then
   11834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11835 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11836 else
   11837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11838 $as_echo "no" >&6; }
   11839 fi
   11840 
   11841   if test "x$ac_ct_OBJDUMP" = x; then
   11842     OBJDUMP="false"
   11843   else
   11844     case $cross_compiling:$ac_tool_warned in
   11845 yes:)
   11846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11848 ac_tool_warned=yes ;;
   11849 esac
   11850     OBJDUMP=$ac_ct_OBJDUMP
   11851   fi
   11852 else
   11853   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11854 fi
   11855 
   11856 test -z "$OBJDUMP" && OBJDUMP=objdump
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11867 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11868 if ${lt_cv_deplibs_check_method+:} false; then :
   11869   $as_echo_n "(cached) " >&6
   11870 else
   11871   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11872 lt_cv_file_magic_test_file=
   11873 lt_cv_deplibs_check_method='unknown'
   11874 # Need to set the preceding variable on all platforms that support
   11875 # interlibrary dependencies.
   11876 # 'none' -- dependencies not supported.
   11877 # 'unknown' -- same as none, but documents that we really don't know.
   11878 # 'pass_all' -- all dependencies passed with no checks.
   11879 # 'test_compile' -- check by making test program.
   11880 # 'file_magic [[regex]]' -- check by looking for files in library path
   11881 # that responds to the $file_magic_cmd with a given extended regex.
   11882 # If you have 'file' or equivalent on your system and you're not sure
   11883 # whether 'pass_all' will *always* work, you probably want this one.
   11884 
   11885 case $host_os in
   11886 aix[4-9]*)
   11887   lt_cv_deplibs_check_method=pass_all
   11888   ;;
   11889 
   11890 beos*)
   11891   lt_cv_deplibs_check_method=pass_all
   11892   ;;
   11893 
   11894 bsdi[45]*)
   11895   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11896   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11897   lt_cv_file_magic_test_file=/shlib/libc.so
   11898   ;;
   11899 
   11900 cygwin*)
   11901   # func_win32_libid is a shell function defined in ltmain.sh
   11902   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11903   lt_cv_file_magic_cmd='func_win32_libid'
   11904   ;;
   11905 
   11906 mingw* | pw32*)
   11907   # Base MSYS/MinGW do not provide the 'file' command needed by
   11908   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11909   # unless we find 'file', for example because we are cross-compiling.
   11910   if ( file / ) >/dev/null 2>&1; then
   11911     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11912     lt_cv_file_magic_cmd='func_win32_libid'
   11913   else
   11914     # Keep this pattern in sync with the one in func_win32_libid.
   11915     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11916     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11917   fi
   11918   ;;
   11919 
   11920 cegcc*)
   11921   # use the weaker test based on 'objdump'. See mingw*.
   11922   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11923   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11924   ;;
   11925 
   11926 darwin* | rhapsody*)
   11927   lt_cv_deplibs_check_method=pass_all
   11928   ;;
   11929 
   11930 freebsd* | dragonfly*)
   11931   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11932     case $host_cpu in
   11933     i*86 )
   11934       # Not sure whether the presence of OpenBSD here was a mistake.
   11935       # Let's accept both of them until this is cleared up.
   11936       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11937       lt_cv_file_magic_cmd=/usr/bin/file
   11938       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11939       ;;
   11940     esac
   11941   else
   11942     lt_cv_deplibs_check_method=pass_all
   11943   fi
   11944   ;;
   11945 
   11946 haiku*)
   11947   lt_cv_deplibs_check_method=pass_all
   11948   ;;
   11949 
   11950 hpux10.20* | hpux11*)
   11951   lt_cv_file_magic_cmd=/usr/bin/file
   11952   case $host_cpu in
   11953   ia64*)
   11954     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11955     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11956     ;;
   11957   hppa*64*)
   11958     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]'
   11959     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11960     ;;
   11961   *)
   11962     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11963     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11964     ;;
   11965   esac
   11966   ;;
   11967 
   11968 interix[3-9]*)
   11969   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11970   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11971   ;;
   11972 
   11973 irix5* | irix6* | nonstopux*)
   11974   case $LD in
   11975   *-32|*"-32 ") libmagic=32-bit;;
   11976   *-n32|*"-n32 ") libmagic=N32;;
   11977   *-64|*"-64 ") libmagic=64-bit;;
   11978   *) libmagic=never-match;;
   11979   esac
   11980   lt_cv_deplibs_check_method=pass_all
   11981   ;;
   11982 
   11983 # This must be glibc/ELF.
   11984 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11985   lt_cv_deplibs_check_method=pass_all
   11986   ;;
   11987 
   11988 netbsd* | netbsdelf*-gnu)
   11989   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11990     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11991   else
   11992     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11993   fi
   11994   ;;
   11995 
   11996 newos6*)
   11997   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11998   lt_cv_file_magic_cmd=/usr/bin/file
   11999   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12000   ;;
   12001 
   12002 *nto* | *qnx*)
   12003   lt_cv_deplibs_check_method=pass_all
   12004   ;;
   12005 
   12006 openbsd* | bitrig*)
   12007   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12008     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12009   else
   12010     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12011   fi
   12012   ;;
   12013 
   12014 osf3* | osf4* | osf5*)
   12015   lt_cv_deplibs_check_method=pass_all
   12016   ;;
   12017 
   12018 rdos*)
   12019   lt_cv_deplibs_check_method=pass_all
   12020   ;;
   12021 
   12022 solaris*)
   12023   lt_cv_deplibs_check_method=pass_all
   12024   ;;
   12025 
   12026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12027   lt_cv_deplibs_check_method=pass_all
   12028   ;;
   12029 
   12030 sysv4 | sysv4.3*)
   12031   case $host_vendor in
   12032   motorola)
   12033     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]'
   12034     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12035     ;;
   12036   ncr)
   12037     lt_cv_deplibs_check_method=pass_all
   12038     ;;
   12039   sequent)
   12040     lt_cv_file_magic_cmd='/bin/file'
   12041     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12042     ;;
   12043   sni)
   12044     lt_cv_file_magic_cmd='/bin/file'
   12045     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12046     lt_cv_file_magic_test_file=/lib/libc.so
   12047     ;;
   12048   siemens)
   12049     lt_cv_deplibs_check_method=pass_all
   12050     ;;
   12051   pc)
   12052     lt_cv_deplibs_check_method=pass_all
   12053     ;;
   12054   esac
   12055   ;;
   12056 
   12057 tpf*)
   12058   lt_cv_deplibs_check_method=pass_all
   12059   ;;
   12060 os2*)
   12061   lt_cv_deplibs_check_method=pass_all
   12062   ;;
   12063 esac
   12064 
   12065 fi
   12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12067 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12068 
   12069 file_magic_glob=
   12070 want_nocaseglob=no
   12071 if test "$build" = "$host"; then
   12072   case $host_os in
   12073   mingw* | pw32*)
   12074     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12075       want_nocaseglob=yes
   12076     else
   12077       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12078     fi
   12079     ;;
   12080   esac
   12081 fi
   12082 
   12083 file_magic_cmd=$lt_cv_file_magic_cmd
   12084 deplibs_check_method=$lt_cv_deplibs_check_method
   12085 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 if test -n "$ac_tool_prefix"; then
   12109   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12110 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12112 $as_echo_n "checking for $ac_word... " >&6; }
   12113 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12114   $as_echo_n "(cached) " >&6
   12115 else
   12116   if test -n "$DLLTOOL"; then
   12117   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12118 else
   12119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12120 for as_dir in $PATH
   12121 do
   12122   IFS=$as_save_IFS
   12123   test -z "$as_dir" && as_dir=.
   12124     for ac_exec_ext in '' $ac_executable_extensions; do
   12125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12126     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12128     break 2
   12129   fi
   12130 done
   12131   done
   12132 IFS=$as_save_IFS
   12133 
   12134 fi
   12135 fi
   12136 DLLTOOL=$ac_cv_prog_DLLTOOL
   12137 if test -n "$DLLTOOL"; then
   12138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12139 $as_echo "$DLLTOOL" >&6; }
   12140 else
   12141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12142 $as_echo "no" >&6; }
   12143 fi
   12144 
   12145 
   12146 fi
   12147 if test -z "$ac_cv_prog_DLLTOOL"; then
   12148   ac_ct_DLLTOOL=$DLLTOOL
   12149   # Extract the first word of "dlltool", so it can be a program name with args.
   12150 set dummy dlltool; ac_word=$2
   12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12152 $as_echo_n "checking for $ac_word... " >&6; }
   12153 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12154   $as_echo_n "(cached) " >&6
   12155 else
   12156   if test -n "$ac_ct_DLLTOOL"; then
   12157   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12158 else
   12159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12160 for as_dir in $PATH
   12161 do
   12162   IFS=$as_save_IFS
   12163   test -z "$as_dir" && as_dir=.
   12164     for ac_exec_ext in '' $ac_executable_extensions; do
   12165   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12166     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12168     break 2
   12169   fi
   12170 done
   12171   done
   12172 IFS=$as_save_IFS
   12173 
   12174 fi
   12175 fi
   12176 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12177 if test -n "$ac_ct_DLLTOOL"; then
   12178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12179 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12180 else
   12181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12182 $as_echo "no" >&6; }
   12183 fi
   12184 
   12185   if test "x$ac_ct_DLLTOOL" = x; then
   12186     DLLTOOL="false"
   12187   else
   12188     case $cross_compiling:$ac_tool_warned in
   12189 yes:)
   12190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12192 ac_tool_warned=yes ;;
   12193 esac
   12194     DLLTOOL=$ac_ct_DLLTOOL
   12195   fi
   12196 else
   12197   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12198 fi
   12199 
   12200 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12212 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12213 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12214   $as_echo_n "(cached) " >&6
   12215 else
   12216   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12217 
   12218 case $host_os in
   12219 cygwin* | mingw* | pw32* | cegcc*)
   12220   # two different shell functions defined in ltmain.sh;
   12221   # decide which one to use based on capabilities of $DLLTOOL
   12222   case `$DLLTOOL --help 2>&1` in
   12223   *--identify-strict*)
   12224     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12225     ;;
   12226   *)
   12227     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12228     ;;
   12229   esac
   12230   ;;
   12231 *)
   12232   # fallback: assume linklib IS sharedlib
   12233   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12234   ;;
   12235 esac
   12236 
   12237 fi
   12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12239 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12240 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12241 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 if test -n "$ac_tool_prefix"; then
   12250   for ac_prog in ar
   12251   do
   12252     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12253 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12255 $as_echo_n "checking for $ac_word... " >&6; }
   12256 if ${ac_cv_prog_AR+:} false; then :
   12257   $as_echo_n "(cached) " >&6
   12258 else
   12259   if test -n "$AR"; then
   12260   ac_cv_prog_AR="$AR" # Let the user override the test.
   12261 else
   12262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12263 for as_dir in $PATH
   12264 do
   12265   IFS=$as_save_IFS
   12266   test -z "$as_dir" && as_dir=.
   12267     for ac_exec_ext in '' $ac_executable_extensions; do
   12268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12269     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12271     break 2
   12272   fi
   12273 done
   12274   done
   12275 IFS=$as_save_IFS
   12276 
   12277 fi
   12278 fi
   12279 AR=$ac_cv_prog_AR
   12280 if test -n "$AR"; then
   12281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12282 $as_echo "$AR" >&6; }
   12283 else
   12284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12285 $as_echo "no" >&6; }
   12286 fi
   12287 
   12288 
   12289     test -n "$AR" && break
   12290   done
   12291 fi
   12292 if test -z "$AR"; then
   12293   ac_ct_AR=$AR
   12294   for ac_prog in ar
   12295 do
   12296   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12297 set dummy $ac_prog; ac_word=$2
   12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12299 $as_echo_n "checking for $ac_word... " >&6; }
   12300 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12301   $as_echo_n "(cached) " >&6
   12302 else
   12303   if test -n "$ac_ct_AR"; then
   12304   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12305 else
   12306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12307 for as_dir in $PATH
   12308 do
   12309   IFS=$as_save_IFS
   12310   test -z "$as_dir" && as_dir=.
   12311     for ac_exec_ext in '' $ac_executable_extensions; do
   12312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12313     ac_cv_prog_ac_ct_AR="$ac_prog"
   12314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12315     break 2
   12316   fi
   12317 done
   12318   done
   12319 IFS=$as_save_IFS
   12320 
   12321 fi
   12322 fi
   12323 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12324 if test -n "$ac_ct_AR"; then
   12325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12326 $as_echo "$ac_ct_AR" >&6; }
   12327 else
   12328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12329 $as_echo "no" >&6; }
   12330 fi
   12331 
   12332 
   12333   test -n "$ac_ct_AR" && break
   12334 done
   12335 
   12336   if test "x$ac_ct_AR" = x; then
   12337     AR="false"
   12338   else
   12339     case $cross_compiling:$ac_tool_warned in
   12340 yes:)
   12341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12343 ac_tool_warned=yes ;;
   12344 esac
   12345     AR=$ac_ct_AR
   12346   fi
   12347 fi
   12348 
   12349 : ${AR=ar}
   12350 : ${AR_FLAGS=cru}
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12363 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12364 if ${lt_cv_ar_at_file+:} false; then :
   12365   $as_echo_n "(cached) " >&6
   12366 else
   12367   lt_cv_ar_at_file=no
   12368    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12369 /* end confdefs.h.  */
   12370 
   12371 int
   12372 main ()
   12373 {
   12374 
   12375   ;
   12376   return 0;
   12377 }
   12378 _ACEOF
   12379 if ac_fn_c_try_compile "$LINENO"; then :
   12380   echo conftest.$ac_objext > conftest.lst
   12381       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12382       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12383   (eval $lt_ar_try) 2>&5
   12384   ac_status=$?
   12385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12386   test $ac_status = 0; }
   12387       if test 0 -eq "$ac_status"; then
   12388 	# Ensure the archiver fails upon bogus file names.
   12389 	rm -f conftest.$ac_objext libconftest.a
   12390 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12391   (eval $lt_ar_try) 2>&5
   12392   ac_status=$?
   12393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12394   test $ac_status = 0; }
   12395 	if test 0 -ne "$ac_status"; then
   12396           lt_cv_ar_at_file=@
   12397         fi
   12398       fi
   12399       rm -f conftest.* libconftest.a
   12400 
   12401 fi
   12402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12403 
   12404 fi
   12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12406 $as_echo "$lt_cv_ar_at_file" >&6; }
   12407 
   12408 if test no = "$lt_cv_ar_at_file"; then
   12409   archiver_list_spec=
   12410 else
   12411   archiver_list_spec=$lt_cv_ar_at_file
   12412 fi
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 if test -n "$ac_tool_prefix"; then
   12421   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12422 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12424 $as_echo_n "checking for $ac_word... " >&6; }
   12425 if ${ac_cv_prog_STRIP+:} false; then :
   12426   $as_echo_n "(cached) " >&6
   12427 else
   12428   if test -n "$STRIP"; then
   12429   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12430 else
   12431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12432 for as_dir in $PATH
   12433 do
   12434   IFS=$as_save_IFS
   12435   test -z "$as_dir" && as_dir=.
   12436     for ac_exec_ext in '' $ac_executable_extensions; do
   12437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12438     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12440     break 2
   12441   fi
   12442 done
   12443   done
   12444 IFS=$as_save_IFS
   12445 
   12446 fi
   12447 fi
   12448 STRIP=$ac_cv_prog_STRIP
   12449 if test -n "$STRIP"; then
   12450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12451 $as_echo "$STRIP" >&6; }
   12452 else
   12453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12454 $as_echo "no" >&6; }
   12455 fi
   12456 
   12457 
   12458 fi
   12459 if test -z "$ac_cv_prog_STRIP"; then
   12460   ac_ct_STRIP=$STRIP
   12461   # Extract the first word of "strip", so it can be a program name with args.
   12462 set dummy strip; ac_word=$2
   12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12464 $as_echo_n "checking for $ac_word... " >&6; }
   12465 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12466   $as_echo_n "(cached) " >&6
   12467 else
   12468   if test -n "$ac_ct_STRIP"; then
   12469   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12470 else
   12471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12472 for as_dir in $PATH
   12473 do
   12474   IFS=$as_save_IFS
   12475   test -z "$as_dir" && as_dir=.
   12476     for ac_exec_ext in '' $ac_executable_extensions; do
   12477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12478     ac_cv_prog_ac_ct_STRIP="strip"
   12479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12480     break 2
   12481   fi
   12482 done
   12483   done
   12484 IFS=$as_save_IFS
   12485 
   12486 fi
   12487 fi
   12488 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12489 if test -n "$ac_ct_STRIP"; then
   12490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12491 $as_echo "$ac_ct_STRIP" >&6; }
   12492 else
   12493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12494 $as_echo "no" >&6; }
   12495 fi
   12496 
   12497   if test "x$ac_ct_STRIP" = x; then
   12498     STRIP=":"
   12499   else
   12500     case $cross_compiling:$ac_tool_warned in
   12501 yes:)
   12502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12504 ac_tool_warned=yes ;;
   12505 esac
   12506     STRIP=$ac_ct_STRIP
   12507   fi
   12508 else
   12509   STRIP="$ac_cv_prog_STRIP"
   12510 fi
   12511 
   12512 test -z "$STRIP" && STRIP=:
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 if test -n "$ac_tool_prefix"; then
   12520   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12521 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12523 $as_echo_n "checking for $ac_word... " >&6; }
   12524 if ${ac_cv_prog_RANLIB+:} false; then :
   12525   $as_echo_n "(cached) " >&6
   12526 else
   12527   if test -n "$RANLIB"; then
   12528   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12529 else
   12530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12531 for as_dir in $PATH
   12532 do
   12533   IFS=$as_save_IFS
   12534   test -z "$as_dir" && as_dir=.
   12535     for ac_exec_ext in '' $ac_executable_extensions; do
   12536   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12537     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12538     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12539     break 2
   12540   fi
   12541 done
   12542   done
   12543 IFS=$as_save_IFS
   12544 
   12545 fi
   12546 fi
   12547 RANLIB=$ac_cv_prog_RANLIB
   12548 if test -n "$RANLIB"; then
   12549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12550 $as_echo "$RANLIB" >&6; }
   12551 else
   12552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12553 $as_echo "no" >&6; }
   12554 fi
   12555 
   12556 
   12557 fi
   12558 if test -z "$ac_cv_prog_RANLIB"; then
   12559   ac_ct_RANLIB=$RANLIB
   12560   # Extract the first word of "ranlib", so it can be a program name with args.
   12561 set dummy ranlib; ac_word=$2
   12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12563 $as_echo_n "checking for $ac_word... " >&6; }
   12564 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12565   $as_echo_n "(cached) " >&6
   12566 else
   12567   if test -n "$ac_ct_RANLIB"; then
   12568   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12569 else
   12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12571 for as_dir in $PATH
   12572 do
   12573   IFS=$as_save_IFS
   12574   test -z "$as_dir" && as_dir=.
   12575     for ac_exec_ext in '' $ac_executable_extensions; do
   12576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12577     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12579     break 2
   12580   fi
   12581 done
   12582   done
   12583 IFS=$as_save_IFS
   12584 
   12585 fi
   12586 fi
   12587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12588 if test -n "$ac_ct_RANLIB"; then
   12589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12590 $as_echo "$ac_ct_RANLIB" >&6; }
   12591 else
   12592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12593 $as_echo "no" >&6; }
   12594 fi
   12595 
   12596   if test "x$ac_ct_RANLIB" = x; then
   12597     RANLIB=":"
   12598   else
   12599     case $cross_compiling:$ac_tool_warned in
   12600 yes:)
   12601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12603 ac_tool_warned=yes ;;
   12604 esac
   12605     RANLIB=$ac_ct_RANLIB
   12606   fi
   12607 else
   12608   RANLIB="$ac_cv_prog_RANLIB"
   12609 fi
   12610 
   12611 test -z "$RANLIB" && RANLIB=:
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 # Determine commands to create old-style static archives.
   12619 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12620 old_postinstall_cmds='chmod 644 $oldlib'
   12621 old_postuninstall_cmds=
   12622 
   12623 if test -n "$RANLIB"; then
   12624   case $host_os in
   12625   bitrig* | openbsd*)
   12626     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12627     ;;
   12628   *)
   12629     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12630     ;;
   12631   esac
   12632   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12633 fi
   12634 
   12635 case $host_os in
   12636   darwin*)
   12637     lock_old_archive_extraction=yes ;;
   12638   *)
   12639     lock_old_archive_extraction=no ;;
   12640 esac
   12641 
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 # If no C compiler was specified, use CC.
   12681 LTCC=${LTCC-"$CC"}
   12682 
   12683 # If no C compiler flags were specified, use CFLAGS.
   12684 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12685 
   12686 # Allow CC to be a program name with arguments.
   12687 compiler=$CC
   12688 
   12689 
   12690 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12692 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12693 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12694   $as_echo_n "(cached) " >&6
   12695 else
   12696 
   12697 # These are sane defaults that work on at least a few old systems.
   12698 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12699 
   12700 # Character class describing NM global symbol codes.
   12701 symcode='[BCDEGRST]'
   12702 
   12703 # Regexp to match symbols that can be accessed directly from C.
   12704 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12705 
   12706 # Define system-specific variables.
   12707 case $host_os in
   12708 aix*)
   12709   symcode='[BCDT]'
   12710   ;;
   12711 cygwin* | mingw* | pw32* | cegcc*)
   12712   symcode='[ABCDGISTW]'
   12713   ;;
   12714 hpux*)
   12715   if test ia64 = "$host_cpu"; then
   12716     symcode='[ABCDEGRST]'
   12717   fi
   12718   ;;
   12719 irix* | nonstopux*)
   12720   symcode='[BCDEGRST]'
   12721   ;;
   12722 osf*)
   12723   symcode='[BCDEGQRST]'
   12724   ;;
   12725 solaris*)
   12726   symcode='[BDRT]'
   12727   ;;
   12728 sco3.2v5*)
   12729   symcode='[DT]'
   12730   ;;
   12731 sysv4.2uw2*)
   12732   symcode='[DT]'
   12733   ;;
   12734 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12735   symcode='[ABDT]'
   12736   ;;
   12737 sysv4)
   12738   symcode='[DFNSTU]'
   12739   ;;
   12740 esac
   12741 
   12742 # If we're using GNU nm, then use its standard symbol codes.
   12743 case `$NM -V 2>&1` in
   12744 *GNU* | *'with BFD'*)
   12745   symcode='[ABCDGIRSTW]' ;;
   12746 esac
   12747 
   12748 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12749   # Gets list of data symbols to import.
   12750   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12751   # Adjust the below global symbol transforms to fixup imported variables.
   12752   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12753   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12754   lt_c_name_lib_hook="\
   12755   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12756   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12757 else
   12758   # Disable hooks by default.
   12759   lt_cv_sys_global_symbol_to_import=
   12760   lt_cdecl_hook=
   12761   lt_c_name_hook=
   12762   lt_c_name_lib_hook=
   12763 fi
   12764 
   12765 # Transform an extracted symbol line into a proper C declaration.
   12766 # Some systems (esp. on ia64) link data and code symbols differently,
   12767 # so use this general approach.
   12768 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12769 $lt_cdecl_hook\
   12770 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12771 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12772 
   12773 # Transform an extracted symbol line into symbol name and symbol address
   12774 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12775 $lt_c_name_hook\
   12776 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12777 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12778 
   12779 # Transform an extracted symbol line into symbol name with lib prefix and
   12780 # symbol address.
   12781 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12782 $lt_c_name_lib_hook\
   12783 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12784 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12785 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12786 
   12787 # Handle CRLF in mingw tool chain
   12788 opt_cr=
   12789 case $build_os in
   12790 mingw*)
   12791   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12792   ;;
   12793 esac
   12794 
   12795 # Try without a prefix underscore, then with it.
   12796 for ac_symprfx in "" "_"; do
   12797 
   12798   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12799   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12800 
   12801   # Write the raw and C identifiers.
   12802   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12803     # Fake it for dumpbin and say T for any non-static function,
   12804     # D for any global variable and I for any imported variable.
   12805     # Also find C++ and __fastcall symbols from MSVC++,
   12806     # which start with @ or ?.
   12807     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12808 "     {last_section=section; section=\$ 3};"\
   12809 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12810 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12811 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12812 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12813 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12814 "     \$ 0!~/External *\|/{next};"\
   12815 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12816 "     {if(hide[section]) next};"\
   12817 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12818 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12819 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12820 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12821 "     ' prfx=^$ac_symprfx"
   12822   else
   12823     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12824   fi
   12825   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12826 
   12827   # Check to see that the pipe works correctly.
   12828   pipe_works=no
   12829 
   12830   rm -f conftest*
   12831   cat > conftest.$ac_ext <<_LT_EOF
   12832 #ifdef __cplusplus
   12833 extern "C" {
   12834 #endif
   12835 char nm_test_var;
   12836 void nm_test_func(void);
   12837 void nm_test_func(void){}
   12838 #ifdef __cplusplus
   12839 }
   12840 #endif
   12841 int main(){nm_test_var='a';nm_test_func();return(0);}
   12842 _LT_EOF
   12843 
   12844   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12845   (eval $ac_compile) 2>&5
   12846   ac_status=$?
   12847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12848   test $ac_status = 0; }; then
   12849     # Now try to grab the symbols.
   12850     nlist=conftest.nm
   12851     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12852   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12853   ac_status=$?
   12854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12855   test $ac_status = 0; } && test -s "$nlist"; then
   12856       # Try sorting and uniquifying the output.
   12857       if sort "$nlist" | uniq > "$nlist"T; then
   12858 	mv -f "$nlist"T "$nlist"
   12859       else
   12860 	rm -f "$nlist"T
   12861       fi
   12862 
   12863       # Make sure that we snagged all the symbols we need.
   12864       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12865 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12866 	  cat <<_LT_EOF > conftest.$ac_ext
   12867 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12868 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12869 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12870    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12871 # define LT_DLSYM_CONST
   12872 #elif defined __osf__
   12873 /* This system does not cope well with relocations in const data.  */
   12874 # define LT_DLSYM_CONST
   12875 #else
   12876 # define LT_DLSYM_CONST const
   12877 #endif
   12878 
   12879 #ifdef __cplusplus
   12880 extern "C" {
   12881 #endif
   12882 
   12883 _LT_EOF
   12884 	  # Now generate the symbol file.
   12885 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12886 
   12887 	  cat <<_LT_EOF >> conftest.$ac_ext
   12888 
   12889 /* The mapping between symbol names and symbols.  */
   12890 LT_DLSYM_CONST struct {
   12891   const char *name;
   12892   void       *address;
   12893 }
   12894 lt__PROGRAM__LTX_preloaded_symbols[] =
   12895 {
   12896   { "@PROGRAM@", (void *) 0 },
   12897 _LT_EOF
   12898 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12899 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12900   {0, (void *) 0}
   12901 };
   12902 
   12903 /* This works around a problem in FreeBSD linker */
   12904 #ifdef FREEBSD_WORKAROUND
   12905 static const void *lt_preloaded_setup() {
   12906   return lt__PROGRAM__LTX_preloaded_symbols;
   12907 }
   12908 #endif
   12909 
   12910 #ifdef __cplusplus
   12911 }
   12912 #endif
   12913 _LT_EOF
   12914 	  # Now try linking the two files.
   12915 	  mv conftest.$ac_objext conftstm.$ac_objext
   12916 	  lt_globsym_save_LIBS=$LIBS
   12917 	  lt_globsym_save_CFLAGS=$CFLAGS
   12918 	  LIBS=conftstm.$ac_objext
   12919 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12920 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12921   (eval $ac_link) 2>&5
   12922   ac_status=$?
   12923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12924   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12925 	    pipe_works=yes
   12926 	  fi
   12927 	  LIBS=$lt_globsym_save_LIBS
   12928 	  CFLAGS=$lt_globsym_save_CFLAGS
   12929 	else
   12930 	  echo "cannot find nm_test_func in $nlist" >&5
   12931 	fi
   12932       else
   12933 	echo "cannot find nm_test_var in $nlist" >&5
   12934       fi
   12935     else
   12936       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12937     fi
   12938   else
   12939     echo "$progname: failed program was:" >&5
   12940     cat conftest.$ac_ext >&5
   12941   fi
   12942   rm -rf conftest* conftst*
   12943 
   12944   # Do not use the global_symbol_pipe unless it works.
   12945   if test yes = "$pipe_works"; then
   12946     break
   12947   else
   12948     lt_cv_sys_global_symbol_pipe=
   12949   fi
   12950 done
   12951 
   12952 fi
   12953 
   12954 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12955   lt_cv_sys_global_symbol_to_cdecl=
   12956 fi
   12957 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12959 $as_echo "failed" >&6; }
   12960 else
   12961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12962 $as_echo "ok" >&6; }
   12963 fi
   12964 
   12965 # Response file support.
   12966 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12967   nm_file_list_spec='@'
   12968 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12969   nm_file_list_spec='@'
   12970 fi
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13009 $as_echo_n "checking for sysroot... " >&6; }
   13010 
   13011 # Check whether --with-sysroot was given.
   13012 if test "${with_sysroot+set}" = set; then :
   13013   withval=$with_sysroot;
   13014 else
   13015   with_sysroot=no
   13016 fi
   13017 
   13018 
   13019 lt_sysroot=
   13020 case $with_sysroot in #(
   13021  yes)
   13022    if test yes = "$GCC"; then
   13023      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13024    fi
   13025    ;; #(
   13026  /*)
   13027    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13028    ;; #(
   13029  no|'')
   13030    ;; #(
   13031  *)
   13032    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13033 $as_echo "$with_sysroot" >&6; }
   13034    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13035    ;;
   13036 esac
   13037 
   13038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13039 $as_echo "${lt_sysroot:-no}" >&6; }
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13046 $as_echo_n "checking for a working dd... " >&6; }
   13047 if ${ac_cv_path_lt_DD+:} false; then :
   13048   $as_echo_n "(cached) " >&6
   13049 else
   13050   printf 0123456789abcdef0123456789abcdef >conftest.i
   13051 cat conftest.i conftest.i >conftest2.i
   13052 : ${lt_DD:=$DD}
   13053 if test -z "$lt_DD"; then
   13054   ac_path_lt_DD_found=false
   13055   # Loop through the user's path and test for each of PROGNAME-LIST
   13056   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13057 for as_dir in $PATH
   13058 do
   13059   IFS=$as_save_IFS
   13060   test -z "$as_dir" && as_dir=.
   13061     for ac_prog in dd; do
   13062     for ac_exec_ext in '' $ac_executable_extensions; do
   13063       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13064       as_fn_executable_p "$ac_path_lt_DD" || continue
   13065 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13066   cmp -s conftest.i conftest.out \
   13067   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13068 fi
   13069       $ac_path_lt_DD_found && break 3
   13070     done
   13071   done
   13072   done
   13073 IFS=$as_save_IFS
   13074   if test -z "$ac_cv_path_lt_DD"; then
   13075     :
   13076   fi
   13077 else
   13078   ac_cv_path_lt_DD=$lt_DD
   13079 fi
   13080 
   13081 rm -f conftest.i conftest2.i conftest.out
   13082 fi
   13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13084 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13085 
   13086 
   13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13088 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13089 if ${lt_cv_truncate_bin+:} false; then :
   13090   $as_echo_n "(cached) " >&6
   13091 else
   13092   printf 0123456789abcdef0123456789abcdef >conftest.i
   13093 cat conftest.i conftest.i >conftest2.i
   13094 lt_cv_truncate_bin=
   13095 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13096   cmp -s conftest.i conftest.out \
   13097   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13098 fi
   13099 rm -f conftest.i conftest2.i conftest.out
   13100 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13101 fi
   13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13103 $as_echo "$lt_cv_truncate_bin" >&6; }
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13112 func_cc_basename ()
   13113 {
   13114     for cc_temp in $*""; do
   13115       case $cc_temp in
   13116         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13117         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13118         \-*) ;;
   13119         *) break;;
   13120       esac
   13121     done
   13122     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13123 }
   13124 
   13125 # Check whether --enable-libtool-lock was given.
   13126 if test "${enable_libtool_lock+set}" = set; then :
   13127   enableval=$enable_libtool_lock;
   13128 fi
   13129 
   13130 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13131 
   13132 # Some flags need to be propagated to the compiler or linker for good
   13133 # libtool support.
   13134 case $host in
   13135 ia64-*-hpux*)
   13136   # Find out what ABI is being produced by ac_compile, and set mode
   13137   # options accordingly.
   13138   echo 'int i;' > conftest.$ac_ext
   13139   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13140   (eval $ac_compile) 2>&5
   13141   ac_status=$?
   13142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13143   test $ac_status = 0; }; then
   13144     case `/usr/bin/file conftest.$ac_objext` in
   13145       *ELF-32*)
   13146 	HPUX_IA64_MODE=32
   13147 	;;
   13148       *ELF-64*)
   13149 	HPUX_IA64_MODE=64
   13150 	;;
   13151     esac
   13152   fi
   13153   rm -rf conftest*
   13154   ;;
   13155 *-*-irix6*)
   13156   # Find out what ABI is being produced by ac_compile, and set linker
   13157   # options accordingly.
   13158   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13159   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13160   (eval $ac_compile) 2>&5
   13161   ac_status=$?
   13162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13163   test $ac_status = 0; }; then
   13164     if test yes = "$lt_cv_prog_gnu_ld"; then
   13165       case `/usr/bin/file conftest.$ac_objext` in
   13166 	*32-bit*)
   13167 	  LD="${LD-ld} -melf32bsmip"
   13168 	  ;;
   13169 	*N32*)
   13170 	  LD="${LD-ld} -melf32bmipn32"
   13171 	  ;;
   13172 	*64-bit*)
   13173 	  LD="${LD-ld} -melf64bmip"
   13174 	;;
   13175       esac
   13176     else
   13177       case `/usr/bin/file conftest.$ac_objext` in
   13178 	*32-bit*)
   13179 	  LD="${LD-ld} -32"
   13180 	  ;;
   13181 	*N32*)
   13182 	  LD="${LD-ld} -n32"
   13183 	  ;;
   13184 	*64-bit*)
   13185 	  LD="${LD-ld} -64"
   13186 	  ;;
   13187       esac
   13188     fi
   13189   fi
   13190   rm -rf conftest*
   13191   ;;
   13192 
   13193 mips64*-*linux*)
   13194   # Find out what ABI is being produced by ac_compile, and set linker
   13195   # options accordingly.
   13196   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13197   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13198   (eval $ac_compile) 2>&5
   13199   ac_status=$?
   13200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13201   test $ac_status = 0; }; then
   13202     emul=elf
   13203     case `/usr/bin/file conftest.$ac_objext` in
   13204       *32-bit*)
   13205 	emul="${emul}32"
   13206 	;;
   13207       *64-bit*)
   13208 	emul="${emul}64"
   13209 	;;
   13210     esac
   13211     case `/usr/bin/file conftest.$ac_objext` in
   13212       *MSB*)
   13213 	emul="${emul}btsmip"
   13214 	;;
   13215       *LSB*)
   13216 	emul="${emul}ltsmip"
   13217 	;;
   13218     esac
   13219     case `/usr/bin/file conftest.$ac_objext` in
   13220       *N32*)
   13221 	emul="${emul}n32"
   13222 	;;
   13223     esac
   13224     LD="${LD-ld} -m $emul"
   13225   fi
   13226   rm -rf conftest*
   13227   ;;
   13228 
   13229 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13230 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13231   # Find out what ABI is being produced by ac_compile, and set linker
   13232   # options accordingly.  Note that the listed cases only cover the
   13233   # situations where additional linker options are needed (such as when
   13234   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13235   # vice versa); the common cases where no linker options are needed do
   13236   # not appear in the list.
   13237   echo 'int i;' > conftest.$ac_ext
   13238   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13239   (eval $ac_compile) 2>&5
   13240   ac_status=$?
   13241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13242   test $ac_status = 0; }; then
   13243     case `/usr/bin/file conftest.o` in
   13244       *32-bit*)
   13245 	case $host in
   13246 	  x86_64-*kfreebsd*-gnu)
   13247 	    LD="${LD-ld} -m elf_i386_fbsd"
   13248 	    ;;
   13249 	  x86_64-*linux*)
   13250 	    case `/usr/bin/file conftest.o` in
   13251 	      *x86-64*)
   13252 		LD="${LD-ld} -m elf32_x86_64"
   13253 		;;
   13254 	      *)
   13255 		LD="${LD-ld} -m elf_i386"
   13256 		;;
   13257 	    esac
   13258 	    ;;
   13259 	  powerpc64le-*linux*)
   13260 	    LD="${LD-ld} -m elf32lppclinux"
   13261 	    ;;
   13262 	  powerpc64-*linux*)
   13263 	    LD="${LD-ld} -m elf32ppclinux"
   13264 	    ;;
   13265 	  s390x-*linux*)
   13266 	    LD="${LD-ld} -m elf_s390"
   13267 	    ;;
   13268 	  sparc64-*linux*)
   13269 	    LD="${LD-ld} -m elf32_sparc"
   13270 	    ;;
   13271 	esac
   13272 	;;
   13273       *64-bit*)
   13274 	case $host in
   13275 	  x86_64-*kfreebsd*-gnu)
   13276 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13277 	    ;;
   13278 	  x86_64-*linux*)
   13279 	    LD="${LD-ld} -m elf_x86_64"
   13280 	    ;;
   13281 	  powerpcle-*linux*)
   13282 	    LD="${LD-ld} -m elf64lppc"
   13283 	    ;;
   13284 	  powerpc-*linux*)
   13285 	    LD="${LD-ld} -m elf64ppc"
   13286 	    ;;
   13287 	  s390*-*linux*|s390*-*tpf*)
   13288 	    LD="${LD-ld} -m elf64_s390"
   13289 	    ;;
   13290 	  sparc*-*linux*)
   13291 	    LD="${LD-ld} -m elf64_sparc"
   13292 	    ;;
   13293 	esac
   13294 	;;
   13295     esac
   13296   fi
   13297   rm -rf conftest*
   13298   ;;
   13299 
   13300 *-*-sco3.2v5*)
   13301   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13302   SAVE_CFLAGS=$CFLAGS
   13303   CFLAGS="$CFLAGS -belf"
   13304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13305 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13306 if ${lt_cv_cc_needs_belf+:} false; then :
   13307   $as_echo_n "(cached) " >&6
   13308 else
   13309   ac_ext=c
   13310 ac_cpp='$CPP $CPPFLAGS'
   13311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13314 
   13315      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13316 /* end confdefs.h.  */
   13317 
   13318 int
   13319 main ()
   13320 {
   13321 
   13322   ;
   13323   return 0;
   13324 }
   13325 _ACEOF
   13326 if ac_fn_c_try_link "$LINENO"; then :
   13327   lt_cv_cc_needs_belf=yes
   13328 else
   13329   lt_cv_cc_needs_belf=no
   13330 fi
   13331 rm -f core conftest.err conftest.$ac_objext \
   13332     conftest$ac_exeext conftest.$ac_ext
   13333      ac_ext=c
   13334 ac_cpp='$CPP $CPPFLAGS'
   13335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13338 
   13339 fi
   13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13341 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13342   if test yes != "$lt_cv_cc_needs_belf"; then
   13343     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13344     CFLAGS=$SAVE_CFLAGS
   13345   fi
   13346   ;;
   13347 *-*solaris*)
   13348   # Find out what ABI is being produced by ac_compile, and set linker
   13349   # options accordingly.
   13350   echo 'int i;' > conftest.$ac_ext
   13351   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13352   (eval $ac_compile) 2>&5
   13353   ac_status=$?
   13354   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13355   test $ac_status = 0; }; then
   13356     case `/usr/bin/file conftest.o` in
   13357     *64-bit*)
   13358       case $lt_cv_prog_gnu_ld in
   13359       yes*)
   13360         case $host in
   13361         i?86-*-solaris*|x86_64-*-solaris*)
   13362           LD="${LD-ld} -m elf_x86_64"
   13363           ;;
   13364         sparc*-*-solaris*)
   13365           LD="${LD-ld} -m elf64_sparc"
   13366           ;;
   13367         esac
   13368         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13369         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13370           LD=${LD-ld}_sol2
   13371         fi
   13372         ;;
   13373       *)
   13374 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13375 	  LD="${LD-ld} -64"
   13376 	fi
   13377 	;;
   13378       esac
   13379       ;;
   13380     esac
   13381   fi
   13382   rm -rf conftest*
   13383   ;;
   13384 esac
   13385 
   13386 need_locks=$enable_libtool_lock
   13387 
   13388 if test -n "$ac_tool_prefix"; then
   13389   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13390 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13392 $as_echo_n "checking for $ac_word... " >&6; }
   13393 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13394   $as_echo_n "(cached) " >&6
   13395 else
   13396   if test -n "$MANIFEST_TOOL"; then
   13397   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13398 else
   13399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13400 for as_dir in $PATH
   13401 do
   13402   IFS=$as_save_IFS
   13403   test -z "$as_dir" && as_dir=.
   13404     for ac_exec_ext in '' $ac_executable_extensions; do
   13405   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13406     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13408     break 2
   13409   fi
   13410 done
   13411   done
   13412 IFS=$as_save_IFS
   13413 
   13414 fi
   13415 fi
   13416 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13417 if test -n "$MANIFEST_TOOL"; then
   13418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13419 $as_echo "$MANIFEST_TOOL" >&6; }
   13420 else
   13421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13422 $as_echo "no" >&6; }
   13423 fi
   13424 
   13425 
   13426 fi
   13427 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13428   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13429   # Extract the first word of "mt", so it can be a program name with args.
   13430 set dummy mt; ac_word=$2
   13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13432 $as_echo_n "checking for $ac_word... " >&6; }
   13433 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13434   $as_echo_n "(cached) " >&6
   13435 else
   13436   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13437   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13438 else
   13439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13440 for as_dir in $PATH
   13441 do
   13442   IFS=$as_save_IFS
   13443   test -z "$as_dir" && as_dir=.
   13444     for ac_exec_ext in '' $ac_executable_extensions; do
   13445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13446     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13448     break 2
   13449   fi
   13450 done
   13451   done
   13452 IFS=$as_save_IFS
   13453 
   13454 fi
   13455 fi
   13456 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13457 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13459 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13460 else
   13461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13462 $as_echo "no" >&6; }
   13463 fi
   13464 
   13465   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13466     MANIFEST_TOOL=":"
   13467   else
   13468     case $cross_compiling:$ac_tool_warned in
   13469 yes:)
   13470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13472 ac_tool_warned=yes ;;
   13473 esac
   13474     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13475   fi
   13476 else
   13477   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13478 fi
   13479 
   13480 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13482 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13483 if ${lt_cv_path_mainfest_tool+:} false; then :
   13484   $as_echo_n "(cached) " >&6
   13485 else
   13486   lt_cv_path_mainfest_tool=no
   13487   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13488   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13489   cat conftest.err >&5
   13490   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13491     lt_cv_path_mainfest_tool=yes
   13492   fi
   13493   rm -f conftest*
   13494 fi
   13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13496 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13497 if test yes != "$lt_cv_path_mainfest_tool"; then
   13498   MANIFEST_TOOL=:
   13499 fi
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506   case $host_os in
   13507     rhapsody* | darwin*)
   13508     if test -n "$ac_tool_prefix"; then
   13509   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13510 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13512 $as_echo_n "checking for $ac_word... " >&6; }
   13513 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13514   $as_echo_n "(cached) " >&6
   13515 else
   13516   if test -n "$DSYMUTIL"; then
   13517   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13518 else
   13519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13520 for as_dir in $PATH
   13521 do
   13522   IFS=$as_save_IFS
   13523   test -z "$as_dir" && as_dir=.
   13524     for ac_exec_ext in '' $ac_executable_extensions; do
   13525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13526     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13528     break 2
   13529   fi
   13530 done
   13531   done
   13532 IFS=$as_save_IFS
   13533 
   13534 fi
   13535 fi
   13536 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13537 if test -n "$DSYMUTIL"; then
   13538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13539 $as_echo "$DSYMUTIL" >&6; }
   13540 else
   13541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13542 $as_echo "no" >&6; }
   13543 fi
   13544 
   13545 
   13546 fi
   13547 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13548   ac_ct_DSYMUTIL=$DSYMUTIL
   13549   # Extract the first word of "dsymutil", so it can be a program name with args.
   13550 set dummy dsymutil; ac_word=$2
   13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13552 $as_echo_n "checking for $ac_word... " >&6; }
   13553 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13554   $as_echo_n "(cached) " >&6
   13555 else
   13556   if test -n "$ac_ct_DSYMUTIL"; then
   13557   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13558 else
   13559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13560 for as_dir in $PATH
   13561 do
   13562   IFS=$as_save_IFS
   13563   test -z "$as_dir" && as_dir=.
   13564     for ac_exec_ext in '' $ac_executable_extensions; do
   13565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13566     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13568     break 2
   13569   fi
   13570 done
   13571   done
   13572 IFS=$as_save_IFS
   13573 
   13574 fi
   13575 fi
   13576 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13577 if test -n "$ac_ct_DSYMUTIL"; then
   13578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13579 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13580 else
   13581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13582 $as_echo "no" >&6; }
   13583 fi
   13584 
   13585   if test "x$ac_ct_DSYMUTIL" = x; then
   13586     DSYMUTIL=":"
   13587   else
   13588     case $cross_compiling:$ac_tool_warned in
   13589 yes:)
   13590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13592 ac_tool_warned=yes ;;
   13593 esac
   13594     DSYMUTIL=$ac_ct_DSYMUTIL
   13595   fi
   13596 else
   13597   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13598 fi
   13599 
   13600     if test -n "$ac_tool_prefix"; then
   13601   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13602 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13604 $as_echo_n "checking for $ac_word... " >&6; }
   13605 if ${ac_cv_prog_NMEDIT+:} false; then :
   13606   $as_echo_n "(cached) " >&6
   13607 else
   13608   if test -n "$NMEDIT"; then
   13609   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13610 else
   13611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13612 for as_dir in $PATH
   13613 do
   13614   IFS=$as_save_IFS
   13615   test -z "$as_dir" && as_dir=.
   13616     for ac_exec_ext in '' $ac_executable_extensions; do
   13617   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13618     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13620     break 2
   13621   fi
   13622 done
   13623   done
   13624 IFS=$as_save_IFS
   13625 
   13626 fi
   13627 fi
   13628 NMEDIT=$ac_cv_prog_NMEDIT
   13629 if test -n "$NMEDIT"; then
   13630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13631 $as_echo "$NMEDIT" >&6; }
   13632 else
   13633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13634 $as_echo "no" >&6; }
   13635 fi
   13636 
   13637 
   13638 fi
   13639 if test -z "$ac_cv_prog_NMEDIT"; then
   13640   ac_ct_NMEDIT=$NMEDIT
   13641   # Extract the first word of "nmedit", so it can be a program name with args.
   13642 set dummy nmedit; ac_word=$2
   13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13644 $as_echo_n "checking for $ac_word... " >&6; }
   13645 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13646   $as_echo_n "(cached) " >&6
   13647 else
   13648   if test -n "$ac_ct_NMEDIT"; then
   13649   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13650 else
   13651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13652 for as_dir in $PATH
   13653 do
   13654   IFS=$as_save_IFS
   13655   test -z "$as_dir" && as_dir=.
   13656     for ac_exec_ext in '' $ac_executable_extensions; do
   13657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13658     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13660     break 2
   13661   fi
   13662 done
   13663   done
   13664 IFS=$as_save_IFS
   13665 
   13666 fi
   13667 fi
   13668 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13669 if test -n "$ac_ct_NMEDIT"; then
   13670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13671 $as_echo "$ac_ct_NMEDIT" >&6; }
   13672 else
   13673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13674 $as_echo "no" >&6; }
   13675 fi
   13676 
   13677   if test "x$ac_ct_NMEDIT" = x; then
   13678     NMEDIT=":"
   13679   else
   13680     case $cross_compiling:$ac_tool_warned in
   13681 yes:)
   13682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13684 ac_tool_warned=yes ;;
   13685 esac
   13686     NMEDIT=$ac_ct_NMEDIT
   13687   fi
   13688 else
   13689   NMEDIT="$ac_cv_prog_NMEDIT"
   13690 fi
   13691 
   13692     if test -n "$ac_tool_prefix"; then
   13693   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13694 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13696 $as_echo_n "checking for $ac_word... " >&6; }
   13697 if ${ac_cv_prog_LIPO+:} false; then :
   13698   $as_echo_n "(cached) " >&6
   13699 else
   13700   if test -n "$LIPO"; then
   13701   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13702 else
   13703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13704 for as_dir in $PATH
   13705 do
   13706   IFS=$as_save_IFS
   13707   test -z "$as_dir" && as_dir=.
   13708     for ac_exec_ext in '' $ac_executable_extensions; do
   13709   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13710     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13712     break 2
   13713   fi
   13714 done
   13715   done
   13716 IFS=$as_save_IFS
   13717 
   13718 fi
   13719 fi
   13720 LIPO=$ac_cv_prog_LIPO
   13721 if test -n "$LIPO"; then
   13722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13723 $as_echo "$LIPO" >&6; }
   13724 else
   13725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13726 $as_echo "no" >&6; }
   13727 fi
   13728 
   13729 
   13730 fi
   13731 if test -z "$ac_cv_prog_LIPO"; then
   13732   ac_ct_LIPO=$LIPO
   13733   # Extract the first word of "lipo", so it can be a program name with args.
   13734 set dummy lipo; ac_word=$2
   13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13736 $as_echo_n "checking for $ac_word... " >&6; }
   13737 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13738   $as_echo_n "(cached) " >&6
   13739 else
   13740   if test -n "$ac_ct_LIPO"; then
   13741   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13742 else
   13743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13744 for as_dir in $PATH
   13745 do
   13746   IFS=$as_save_IFS
   13747   test -z "$as_dir" && as_dir=.
   13748     for ac_exec_ext in '' $ac_executable_extensions; do
   13749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13750     ac_cv_prog_ac_ct_LIPO="lipo"
   13751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13752     break 2
   13753   fi
   13754 done
   13755   done
   13756 IFS=$as_save_IFS
   13757 
   13758 fi
   13759 fi
   13760 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13761 if test -n "$ac_ct_LIPO"; then
   13762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13763 $as_echo "$ac_ct_LIPO" >&6; }
   13764 else
   13765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13766 $as_echo "no" >&6; }
   13767 fi
   13768 
   13769   if test "x$ac_ct_LIPO" = x; then
   13770     LIPO=":"
   13771   else
   13772     case $cross_compiling:$ac_tool_warned in
   13773 yes:)
   13774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13776 ac_tool_warned=yes ;;
   13777 esac
   13778     LIPO=$ac_ct_LIPO
   13779   fi
   13780 else
   13781   LIPO="$ac_cv_prog_LIPO"
   13782 fi
   13783 
   13784     if test -n "$ac_tool_prefix"; then
   13785   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13786 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13788 $as_echo_n "checking for $ac_word... " >&6; }
   13789 if ${ac_cv_prog_OTOOL+:} false; then :
   13790   $as_echo_n "(cached) " >&6
   13791 else
   13792   if test -n "$OTOOL"; then
   13793   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13794 else
   13795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13796 for as_dir in $PATH
   13797 do
   13798   IFS=$as_save_IFS
   13799   test -z "$as_dir" && as_dir=.
   13800     for ac_exec_ext in '' $ac_executable_extensions; do
   13801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13802     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13804     break 2
   13805   fi
   13806 done
   13807   done
   13808 IFS=$as_save_IFS
   13809 
   13810 fi
   13811 fi
   13812 OTOOL=$ac_cv_prog_OTOOL
   13813 if test -n "$OTOOL"; then
   13814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13815 $as_echo "$OTOOL" >&6; }
   13816 else
   13817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13818 $as_echo "no" >&6; }
   13819 fi
   13820 
   13821 
   13822 fi
   13823 if test -z "$ac_cv_prog_OTOOL"; then
   13824   ac_ct_OTOOL=$OTOOL
   13825   # Extract the first word of "otool", so it can be a program name with args.
   13826 set dummy otool; ac_word=$2
   13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13828 $as_echo_n "checking for $ac_word... " >&6; }
   13829 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13830   $as_echo_n "(cached) " >&6
   13831 else
   13832   if test -n "$ac_ct_OTOOL"; then
   13833   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13834 else
   13835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13836 for as_dir in $PATH
   13837 do
   13838   IFS=$as_save_IFS
   13839   test -z "$as_dir" && as_dir=.
   13840     for ac_exec_ext in '' $ac_executable_extensions; do
   13841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13842     ac_cv_prog_ac_ct_OTOOL="otool"
   13843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13844     break 2
   13845   fi
   13846 done
   13847   done
   13848 IFS=$as_save_IFS
   13849 
   13850 fi
   13851 fi
   13852 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13853 if test -n "$ac_ct_OTOOL"; then
   13854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13855 $as_echo "$ac_ct_OTOOL" >&6; }
   13856 else
   13857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13858 $as_echo "no" >&6; }
   13859 fi
   13860 
   13861   if test "x$ac_ct_OTOOL" = x; then
   13862     OTOOL=":"
   13863   else
   13864     case $cross_compiling:$ac_tool_warned in
   13865 yes:)
   13866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13868 ac_tool_warned=yes ;;
   13869 esac
   13870     OTOOL=$ac_ct_OTOOL
   13871   fi
   13872 else
   13873   OTOOL="$ac_cv_prog_OTOOL"
   13874 fi
   13875 
   13876     if test -n "$ac_tool_prefix"; then
   13877   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13878 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13880 $as_echo_n "checking for $ac_word... " >&6; }
   13881 if ${ac_cv_prog_OTOOL64+:} false; then :
   13882   $as_echo_n "(cached) " >&6
   13883 else
   13884   if test -n "$OTOOL64"; then
   13885   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13886 else
   13887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13888 for as_dir in $PATH
   13889 do
   13890   IFS=$as_save_IFS
   13891   test -z "$as_dir" && as_dir=.
   13892     for ac_exec_ext in '' $ac_executable_extensions; do
   13893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13894     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13896     break 2
   13897   fi
   13898 done
   13899   done
   13900 IFS=$as_save_IFS
   13901 
   13902 fi
   13903 fi
   13904 OTOOL64=$ac_cv_prog_OTOOL64
   13905 if test -n "$OTOOL64"; then
   13906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13907 $as_echo "$OTOOL64" >&6; }
   13908 else
   13909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13910 $as_echo "no" >&6; }
   13911 fi
   13912 
   13913 
   13914 fi
   13915 if test -z "$ac_cv_prog_OTOOL64"; then
   13916   ac_ct_OTOOL64=$OTOOL64
   13917   # Extract the first word of "otool64", so it can be a program name with args.
   13918 set dummy otool64; ac_word=$2
   13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13920 $as_echo_n "checking for $ac_word... " >&6; }
   13921 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13922   $as_echo_n "(cached) " >&6
   13923 else
   13924   if test -n "$ac_ct_OTOOL64"; then
   13925   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13926 else
   13927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13928 for as_dir in $PATH
   13929 do
   13930   IFS=$as_save_IFS
   13931   test -z "$as_dir" && as_dir=.
   13932     for ac_exec_ext in '' $ac_executable_extensions; do
   13933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13934     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13936     break 2
   13937   fi
   13938 done
   13939   done
   13940 IFS=$as_save_IFS
   13941 
   13942 fi
   13943 fi
   13944 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13945 if test -n "$ac_ct_OTOOL64"; then
   13946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13947 $as_echo "$ac_ct_OTOOL64" >&6; }
   13948 else
   13949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13950 $as_echo "no" >&6; }
   13951 fi
   13952 
   13953   if test "x$ac_ct_OTOOL64" = x; then
   13954     OTOOL64=":"
   13955   else
   13956     case $cross_compiling:$ac_tool_warned in
   13957 yes:)
   13958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13960 ac_tool_warned=yes ;;
   13961 esac
   13962     OTOOL64=$ac_ct_OTOOL64
   13963   fi
   13964 else
   13965   OTOOL64="$ac_cv_prog_OTOOL64"
   13966 fi
   13967 
   13968 
   13969 
   13970 
   13971 
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13995 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13996 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13997   $as_echo_n "(cached) " >&6
   13998 else
   13999   lt_cv_apple_cc_single_mod=no
   14000       if test -z "$LT_MULTI_MODULE"; then
   14001 	# By default we will add the -single_module flag. You can override
   14002 	# by either setting the environment variable LT_MULTI_MODULE
   14003 	# non-empty at configure time, or by adding -multi_module to the
   14004 	# link flags.
   14005 	rm -rf libconftest.dylib*
   14006 	echo "int foo(void){return 1;}" > conftest.c
   14007 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14008 -dynamiclib -Wl,-single_module conftest.c" >&5
   14009 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14010 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14011         _lt_result=$?
   14012 	# If there is a non-empty error log, and "single_module"
   14013 	# appears in it, assume the flag caused a linker warning
   14014         if test -s conftest.err && $GREP single_module conftest.err; then
   14015 	  cat conftest.err >&5
   14016 	# Otherwise, if the output was created with a 0 exit code from
   14017 	# the compiler, it worked.
   14018 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14019 	  lt_cv_apple_cc_single_mod=yes
   14020 	else
   14021 	  cat conftest.err >&5
   14022 	fi
   14023 	rm -rf libconftest.dylib*
   14024 	rm -f conftest.*
   14025       fi
   14026 fi
   14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14028 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14029 
   14030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14031 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14032 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14033   $as_echo_n "(cached) " >&6
   14034 else
   14035   lt_cv_ld_exported_symbols_list=no
   14036       save_LDFLAGS=$LDFLAGS
   14037       echo "_main" > conftest.sym
   14038       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14040 /* end confdefs.h.  */
   14041 
   14042 int
   14043 main ()
   14044 {
   14045 
   14046   ;
   14047   return 0;
   14048 }
   14049 _ACEOF
   14050 if ac_fn_c_try_link "$LINENO"; then :
   14051   lt_cv_ld_exported_symbols_list=yes
   14052 else
   14053   lt_cv_ld_exported_symbols_list=no
   14054 fi
   14055 rm -f core conftest.err conftest.$ac_objext \
   14056     conftest$ac_exeext conftest.$ac_ext
   14057 	LDFLAGS=$save_LDFLAGS
   14058 
   14059 fi
   14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14061 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14062 
   14063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14064 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14065 if ${lt_cv_ld_force_load+:} false; then :
   14066   $as_echo_n "(cached) " >&6
   14067 else
   14068   lt_cv_ld_force_load=no
   14069       cat > conftest.c << _LT_EOF
   14070 int forced_loaded() { return 2;}
   14071 _LT_EOF
   14072       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14073       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14074       echo "$AR cru libconftest.a conftest.o" >&5
   14075       $AR cru libconftest.a conftest.o 2>&5
   14076       echo "$RANLIB libconftest.a" >&5
   14077       $RANLIB libconftest.a 2>&5
   14078       cat > conftest.c << _LT_EOF
   14079 int main() { return 0;}
   14080 _LT_EOF
   14081       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14082       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14083       _lt_result=$?
   14084       if test -s conftest.err && $GREP force_load conftest.err; then
   14085 	cat conftest.err >&5
   14086       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14087 	lt_cv_ld_force_load=yes
   14088       else
   14089 	cat conftest.err >&5
   14090       fi
   14091         rm -f conftest.err libconftest.a conftest conftest.c
   14092         rm -rf conftest.dSYM
   14093 
   14094 fi
   14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14096 $as_echo "$lt_cv_ld_force_load" >&6; }
   14097     case $host_os in
   14098     rhapsody* | darwin1.[012])
   14099       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14100     darwin1.*)
   14101       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14102     darwin*) # darwin 5.x on
   14103       # if running on 10.5 or later, the deployment target defaults
   14104       # to the OS version, if on x86, and 10.4, the deployment
   14105       # target defaults to 10.4. Don't you love it?
   14106       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14107 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14108 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14109 	10.[012][,.]*)
   14110 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14111 	10.*)
   14112 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14113       esac
   14114     ;;
   14115   esac
   14116     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14117       _lt_dar_single_mod='$single_module'
   14118     fi
   14119     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14120       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14121     else
   14122       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14123     fi
   14124     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14125       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14126     else
   14127       _lt_dsymutil=
   14128     fi
   14129     ;;
   14130   esac
   14131 
   14132 # func_munge_path_list VARIABLE PATH
   14133 # -----------------------------------
   14134 # VARIABLE is name of variable containing _space_ separated list of
   14135 # directories to be munged by the contents of PATH, which is string
   14136 # having a format:
   14137 # "DIR[:DIR]:"
   14138 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14139 # ":DIR[:DIR]"
   14140 #       string "DIR[ DIR]" will be appended to VARIABLE
   14141 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14142 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14143 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14144 # "DIR[:DIR]"
   14145 #       VARIABLE will be replaced by "DIR[ DIR]"
   14146 func_munge_path_list ()
   14147 {
   14148     case x$2 in
   14149     x)
   14150         ;;
   14151     *:)
   14152         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14153         ;;
   14154     x:*)
   14155         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14156         ;;
   14157     *::*)
   14158         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14159         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14160         ;;
   14161     *)
   14162         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14163         ;;
   14164     esac
   14165 }
   14166 
   14167 for ac_header in dlfcn.h
   14168 do :
   14169   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14170 "
   14171 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14172   cat >>confdefs.h <<_ACEOF
   14173 #define HAVE_DLFCN_H 1
   14174 _ACEOF
   14175 
   14176 fi
   14177 
   14178 done
   14179 
   14180 
   14181 
   14182 
   14183 
   14184 # Set options
   14185 
   14186 
   14187 
   14188         enable_dlopen=no
   14189 
   14190 
   14191   enable_win32_dll=no
   14192 
   14193 
   14194             # Check whether --enable-shared was given.
   14195 if test "${enable_shared+set}" = set; then :
   14196   enableval=$enable_shared; p=${PACKAGE-default}
   14197     case $enableval in
   14198     yes) enable_shared=yes ;;
   14199     no) enable_shared=no ;;
   14200     *)
   14201       enable_shared=no
   14202       # Look at the argument we got.  We use all the common list separators.
   14203       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14204       for pkg in $enableval; do
   14205 	IFS=$lt_save_ifs
   14206 	if test "X$pkg" = "X$p"; then
   14207 	  enable_shared=yes
   14208 	fi
   14209       done
   14210       IFS=$lt_save_ifs
   14211       ;;
   14212     esac
   14213 else
   14214   enable_shared=yes
   14215 fi
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 # Check whether --with-pic was given.
   14228 if test "${with_pic+set}" = set; then :
   14229   withval=$with_pic; lt_p=${PACKAGE-default}
   14230     case $withval in
   14231     yes|no) pic_mode=$withval ;;
   14232     *)
   14233       pic_mode=default
   14234       # Look at the argument we got.  We use all the common list separators.
   14235       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14236       for lt_pkg in $withval; do
   14237 	IFS=$lt_save_ifs
   14238 	if test "X$lt_pkg" = "X$lt_p"; then
   14239 	  pic_mode=yes
   14240 	fi
   14241       done
   14242       IFS=$lt_save_ifs
   14243       ;;
   14244     esac
   14245 else
   14246   pic_mode=default
   14247 fi
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 
   14254 
   14255 
   14256   # Check whether --enable-fast-install was given.
   14257 if test "${enable_fast_install+set}" = set; then :
   14258   enableval=$enable_fast_install; p=${PACKAGE-default}
   14259     case $enableval in
   14260     yes) enable_fast_install=yes ;;
   14261     no) enable_fast_install=no ;;
   14262     *)
   14263       enable_fast_install=no
   14264       # Look at the argument we got.  We use all the common list separators.
   14265       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14266       for pkg in $enableval; do
   14267 	IFS=$lt_save_ifs
   14268 	if test "X$pkg" = "X$p"; then
   14269 	  enable_fast_install=yes
   14270 	fi
   14271       done
   14272       IFS=$lt_save_ifs
   14273       ;;
   14274     esac
   14275 else
   14276   enable_fast_install=yes
   14277 fi
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286   shared_archive_member_spec=
   14287 case $host,$enable_shared in
   14288 power*-*-aix[5-9]*,yes)
   14289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14290 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14291 
   14292 # Check whether --with-aix-soname was given.
   14293 if test "${with_aix_soname+set}" = set; then :
   14294   withval=$with_aix_soname; case $withval in
   14295     aix|svr4|both)
   14296       ;;
   14297     *)
   14298       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14299       ;;
   14300     esac
   14301     lt_cv_with_aix_soname=$with_aix_soname
   14302 else
   14303   if ${lt_cv_with_aix_soname+:} false; then :
   14304   $as_echo_n "(cached) " >&6
   14305 else
   14306   lt_cv_with_aix_soname=aix
   14307 fi
   14308 
   14309     with_aix_soname=$lt_cv_with_aix_soname
   14310 fi
   14311 
   14312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14313 $as_echo "$with_aix_soname" >&6; }
   14314   if test aix != "$with_aix_soname"; then
   14315     # For the AIX way of multilib, we name the shared archive member
   14316     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14317     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14318     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14319     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14320     if test 64 = "${OBJECT_MODE-32}"; then
   14321       shared_archive_member_spec=shr_64
   14322     else
   14323       shared_archive_member_spec=shr
   14324     fi
   14325   fi
   14326   ;;
   14327 *)
   14328   with_aix_soname=aix
   14329   ;;
   14330 esac
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 # This can be used to rebuild libtool when needed
   14342 LIBTOOL_DEPS=$ltmain
   14343 
   14344 # Always use our own libtool.
   14345 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 test -z "$LN_S" && LN_S="ln -s"
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 if test -n "${ZSH_VERSION+set}"; then
   14392    setopt NO_GLOB_SUBST
   14393 fi
   14394 
   14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14396 $as_echo_n "checking for objdir... " >&6; }
   14397 if ${lt_cv_objdir+:} false; then :
   14398   $as_echo_n "(cached) " >&6
   14399 else
   14400   rm -f .libs 2>/dev/null
   14401 mkdir .libs 2>/dev/null
   14402 if test -d .libs; then
   14403   lt_cv_objdir=.libs
   14404 else
   14405   # MS-DOS does not allow filenames that begin with a dot.
   14406   lt_cv_objdir=_libs
   14407 fi
   14408 rmdir .libs 2>/dev/null
   14409 fi
   14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14411 $as_echo "$lt_cv_objdir" >&6; }
   14412 objdir=$lt_cv_objdir
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 cat >>confdefs.h <<_ACEOF
   14419 #define LT_OBJDIR "$lt_cv_objdir/"
   14420 _ACEOF
   14421 
   14422 
   14423 
   14424 
   14425 case $host_os in
   14426 aix3*)
   14427   # AIX sometimes has problems with the GCC collect2 program.  For some
   14428   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14429   # vanish in a puff of smoke.
   14430   if test set != "${COLLECT_NAMES+set}"; then
   14431     COLLECT_NAMES=
   14432     export COLLECT_NAMES
   14433   fi
   14434   ;;
   14435 esac
   14436 
   14437 # Global variables:
   14438 ofile=libtool
   14439 can_build_shared=yes
   14440 
   14441 # All known linkers require a '.a' archive for static linking (except MSVC,
   14442 # which needs '.lib').
   14443 libext=a
   14444 
   14445 with_gnu_ld=$lt_cv_prog_gnu_ld
   14446 
   14447 old_CC=$CC
   14448 old_CFLAGS=$CFLAGS
   14449 
   14450 # Set sane defaults for various variables
   14451 test -z "$CC" && CC=cc
   14452 test -z "$LTCC" && LTCC=$CC
   14453 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14454 test -z "$LD" && LD=ld
   14455 test -z "$ac_objext" && ac_objext=o
   14456 
   14457 func_cc_basename $compiler
   14458 cc_basename=$func_cc_basename_result
   14459 
   14460 
   14461 # Only perform the check for file, if the check method requires it
   14462 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14463 case $deplibs_check_method in
   14464 file_magic*)
   14465   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14467 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14468 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14469   $as_echo_n "(cached) " >&6
   14470 else
   14471   case $MAGIC_CMD in
   14472 [\\/*] |  ?:[\\/]*)
   14473   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14474   ;;
   14475 *)
   14476   lt_save_MAGIC_CMD=$MAGIC_CMD
   14477   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14478   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14479   for ac_dir in $ac_dummy; do
   14480     IFS=$lt_save_ifs
   14481     test -z "$ac_dir" && ac_dir=.
   14482     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14483       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14484       if test -n "$file_magic_test_file"; then
   14485 	case $deplibs_check_method in
   14486 	"file_magic "*)
   14487 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14488 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14489 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14490 	    $EGREP "$file_magic_regex" > /dev/null; then
   14491 	    :
   14492 	  else
   14493 	    cat <<_LT_EOF 1>&2
   14494 
   14495 *** Warning: the command libtool uses to detect shared libraries,
   14496 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14497 *** The result is that libtool may fail to recognize shared libraries
   14498 *** as such.  This will affect the creation of libtool libraries that
   14499 *** depend on shared libraries, but programs linked with such libtool
   14500 *** libraries will work regardless of this problem.  Nevertheless, you
   14501 *** may want to report the problem to your system manager and/or to
   14502 *** bug-libtool (at] gnu.org
   14503 
   14504 _LT_EOF
   14505 	  fi ;;
   14506 	esac
   14507       fi
   14508       break
   14509     fi
   14510   done
   14511   IFS=$lt_save_ifs
   14512   MAGIC_CMD=$lt_save_MAGIC_CMD
   14513   ;;
   14514 esac
   14515 fi
   14516 
   14517 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14518 if test -n "$MAGIC_CMD"; then
   14519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14520 $as_echo "$MAGIC_CMD" >&6; }
   14521 else
   14522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14523 $as_echo "no" >&6; }
   14524 fi
   14525 
   14526 
   14527 
   14528 
   14529 
   14530 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14531   if test -n "$ac_tool_prefix"; then
   14532     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14533 $as_echo_n "checking for file... " >&6; }
   14534 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14535   $as_echo_n "(cached) " >&6
   14536 else
   14537   case $MAGIC_CMD in
   14538 [\\/*] |  ?:[\\/]*)
   14539   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14540   ;;
   14541 *)
   14542   lt_save_MAGIC_CMD=$MAGIC_CMD
   14543   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14544   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14545   for ac_dir in $ac_dummy; do
   14546     IFS=$lt_save_ifs
   14547     test -z "$ac_dir" && ac_dir=.
   14548     if test -f "$ac_dir/file"; then
   14549       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14550       if test -n "$file_magic_test_file"; then
   14551 	case $deplibs_check_method in
   14552 	"file_magic "*)
   14553 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14554 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14555 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14556 	    $EGREP "$file_magic_regex" > /dev/null; then
   14557 	    :
   14558 	  else
   14559 	    cat <<_LT_EOF 1>&2
   14560 
   14561 *** Warning: the command libtool uses to detect shared libraries,
   14562 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14563 *** The result is that libtool may fail to recognize shared libraries
   14564 *** as such.  This will affect the creation of libtool libraries that
   14565 *** depend on shared libraries, but programs linked with such libtool
   14566 *** libraries will work regardless of this problem.  Nevertheless, you
   14567 *** may want to report the problem to your system manager and/or to
   14568 *** bug-libtool (at] gnu.org
   14569 
   14570 _LT_EOF
   14571 	  fi ;;
   14572 	esac
   14573       fi
   14574       break
   14575     fi
   14576   done
   14577   IFS=$lt_save_ifs
   14578   MAGIC_CMD=$lt_save_MAGIC_CMD
   14579   ;;
   14580 esac
   14581 fi
   14582 
   14583 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14584 if test -n "$MAGIC_CMD"; then
   14585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14586 $as_echo "$MAGIC_CMD" >&6; }
   14587 else
   14588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14589 $as_echo "no" >&6; }
   14590 fi
   14591 
   14592 
   14593   else
   14594     MAGIC_CMD=:
   14595   fi
   14596 fi
   14597 
   14598   fi
   14599   ;;
   14600 esac
   14601 
   14602 # Use C for the default configuration in the libtool script
   14603 
   14604 lt_save_CC=$CC
   14605 ac_ext=c
   14606 ac_cpp='$CPP $CPPFLAGS'
   14607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14610 
   14611 
   14612 # Source file extension for C test sources.
   14613 ac_ext=c
   14614 
   14615 # Object file extension for compiled C test sources.
   14616 objext=o
   14617 objext=$objext
   14618 
   14619 # Code to be used in simple compile tests
   14620 lt_simple_compile_test_code="int some_variable = 0;"
   14621 
   14622 # Code to be used in simple link tests
   14623 lt_simple_link_test_code='int main(){return(0);}'
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 # If no C compiler was specified, use CC.
   14632 LTCC=${LTCC-"$CC"}
   14633 
   14634 # If no C compiler flags were specified, use CFLAGS.
   14635 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14636 
   14637 # Allow CC to be a program name with arguments.
   14638 compiler=$CC
   14639 
   14640 # Save the default compiler, since it gets overwritten when the other
   14641 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14642 compiler_DEFAULT=$CC
   14643 
   14644 # save warnings/boilerplate of simple test code
   14645 ac_outfile=conftest.$ac_objext
   14646 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14647 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14648 _lt_compiler_boilerplate=`cat conftest.err`
   14649 $RM conftest*
   14650 
   14651 ac_outfile=conftest.$ac_objext
   14652 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14653 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14654 _lt_linker_boilerplate=`cat conftest.err`
   14655 $RM -r conftest*
   14656 
   14657 
   14658 if test -n "$compiler"; then
   14659 
   14660 lt_prog_compiler_no_builtin_flag=
   14661 
   14662 if test yes = "$GCC"; then
   14663   case $cc_basename in
   14664   nvcc*)
   14665     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14666   *)
   14667     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14668   esac
   14669 
   14670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14671 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14672 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14673   $as_echo_n "(cached) " >&6
   14674 else
   14675   lt_cv_prog_compiler_rtti_exceptions=no
   14676    ac_outfile=conftest.$ac_objext
   14677    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14678    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14679    # Insert the option either (1) after the last *FLAGS variable, or
   14680    # (2) before a word containing "conftest.", or (3) at the end.
   14681    # Note that $ac_compile itself does not contain backslashes and begins
   14682    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14683    # The option is referenced via a variable to avoid confusing sed.
   14684    lt_compile=`echo "$ac_compile" | $SED \
   14685    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14686    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14687    -e 's:$: $lt_compiler_flag:'`
   14688    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14689    (eval "$lt_compile" 2>conftest.err)
   14690    ac_status=$?
   14691    cat conftest.err >&5
   14692    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14693    if (exit $ac_status) && test -s "$ac_outfile"; then
   14694      # The compiler can only warn and ignore the option if not recognized
   14695      # So say no if there are warnings other than the usual output.
   14696      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14697      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14698      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14699        lt_cv_prog_compiler_rtti_exceptions=yes
   14700      fi
   14701    fi
   14702    $RM conftest*
   14703 
   14704 fi
   14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14706 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14707 
   14708 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14709     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14710 else
   14711     :
   14712 fi
   14713 
   14714 fi
   14715 
   14716 
   14717 
   14718 
   14719 
   14720 
   14721   lt_prog_compiler_wl=
   14722 lt_prog_compiler_pic=
   14723 lt_prog_compiler_static=
   14724 
   14725 
   14726   if test yes = "$GCC"; then
   14727     lt_prog_compiler_wl='-Wl,'
   14728     lt_prog_compiler_static='-static'
   14729 
   14730     case $host_os in
   14731       aix*)
   14732       # All AIX code is PIC.
   14733       if test ia64 = "$host_cpu"; then
   14734 	# AIX 5 now supports IA64 processor
   14735 	lt_prog_compiler_static='-Bstatic'
   14736       fi
   14737       lt_prog_compiler_pic='-fPIC'
   14738       ;;
   14739 
   14740     amigaos*)
   14741       case $host_cpu in
   14742       powerpc)
   14743             # see comment about AmigaOS4 .so support
   14744             lt_prog_compiler_pic='-fPIC'
   14745         ;;
   14746       m68k)
   14747             # FIXME: we need at least 68020 code to build shared libraries, but
   14748             # adding the '-m68020' flag to GCC prevents building anything better,
   14749             # like '-m68040'.
   14750             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14751         ;;
   14752       esac
   14753       ;;
   14754 
   14755     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14756       # PIC is the default for these OSes.
   14757       ;;
   14758 
   14759     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14760       # This hack is so that the source file can tell whether it is being
   14761       # built for inclusion in a dll (and should export symbols for example).
   14762       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14763       # (--disable-auto-import) libraries
   14764       lt_prog_compiler_pic='-DDLL_EXPORT'
   14765       case $host_os in
   14766       os2*)
   14767 	lt_prog_compiler_static='$wl-static'
   14768 	;;
   14769       esac
   14770       ;;
   14771 
   14772     darwin* | rhapsody*)
   14773       # PIC is the default on this platform
   14774       # Common symbols not allowed in MH_DYLIB files
   14775       lt_prog_compiler_pic='-fno-common'
   14776       ;;
   14777 
   14778     haiku*)
   14779       # PIC is the default for Haiku.
   14780       # The "-static" flag exists, but is broken.
   14781       lt_prog_compiler_static=
   14782       ;;
   14783 
   14784     hpux*)
   14785       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14786       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14787       # sets the default TLS model and affects inlining.
   14788       case $host_cpu in
   14789       hppa*64*)
   14790 	# +Z the default
   14791 	;;
   14792       *)
   14793 	lt_prog_compiler_pic='-fPIC'
   14794 	;;
   14795       esac
   14796       ;;
   14797 
   14798     interix[3-9]*)
   14799       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14800       # Instead, we relocate shared libraries at runtime.
   14801       ;;
   14802 
   14803     msdosdjgpp*)
   14804       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14805       # on systems that don't support them.
   14806       lt_prog_compiler_can_build_shared=no
   14807       enable_shared=no
   14808       ;;
   14809 
   14810     *nto* | *qnx*)
   14811       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14812       # it will coredump.
   14813       lt_prog_compiler_pic='-fPIC -shared'
   14814       ;;
   14815 
   14816     sysv4*MP*)
   14817       if test -d /usr/nec; then
   14818 	lt_prog_compiler_pic=-Kconform_pic
   14819       fi
   14820       ;;
   14821 
   14822     *)
   14823       lt_prog_compiler_pic='-fPIC'
   14824       ;;
   14825     esac
   14826 
   14827     case $cc_basename in
   14828     nvcc*) # Cuda Compiler Driver 2.2
   14829       lt_prog_compiler_wl='-Xlinker '
   14830       if test -n "$lt_prog_compiler_pic"; then
   14831         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14832       fi
   14833       ;;
   14834     esac
   14835   else
   14836     # PORTME Check for flag to pass linker flags through the system compiler.
   14837     case $host_os in
   14838     aix*)
   14839       lt_prog_compiler_wl='-Wl,'
   14840       if test ia64 = "$host_cpu"; then
   14841 	# AIX 5 now supports IA64 processor
   14842 	lt_prog_compiler_static='-Bstatic'
   14843       else
   14844 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14845       fi
   14846       ;;
   14847 
   14848     darwin* | rhapsody*)
   14849       # PIC is the default on this platform
   14850       # Common symbols not allowed in MH_DYLIB files
   14851       lt_prog_compiler_pic='-fno-common'
   14852       case $cc_basename in
   14853       nagfor*)
   14854         # NAG Fortran compiler
   14855         lt_prog_compiler_wl='-Wl,-Wl,,'
   14856         lt_prog_compiler_pic='-PIC'
   14857         lt_prog_compiler_static='-Bstatic'
   14858         ;;
   14859       esac
   14860       ;;
   14861 
   14862     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14863       # This hack is so that the source file can tell whether it is being
   14864       # built for inclusion in a dll (and should export symbols for example).
   14865       lt_prog_compiler_pic='-DDLL_EXPORT'
   14866       case $host_os in
   14867       os2*)
   14868 	lt_prog_compiler_static='$wl-static'
   14869 	;;
   14870       esac
   14871       ;;
   14872 
   14873     hpux9* | hpux10* | hpux11*)
   14874       lt_prog_compiler_wl='-Wl,'
   14875       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14876       # not for PA HP-UX.
   14877       case $host_cpu in
   14878       hppa*64*|ia64*)
   14879 	# +Z the default
   14880 	;;
   14881       *)
   14882 	lt_prog_compiler_pic='+Z'
   14883 	;;
   14884       esac
   14885       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14886       lt_prog_compiler_static='$wl-a ${wl}archive'
   14887       ;;
   14888 
   14889     irix5* | irix6* | nonstopux*)
   14890       lt_prog_compiler_wl='-Wl,'
   14891       # PIC (with -KPIC) is the default.
   14892       lt_prog_compiler_static='-non_shared'
   14893       ;;
   14894 
   14895     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14896       case $cc_basename in
   14897       # old Intel for x86_64, which still supported -KPIC.
   14898       ecc*)
   14899 	lt_prog_compiler_wl='-Wl,'
   14900 	lt_prog_compiler_pic='-KPIC'
   14901 	lt_prog_compiler_static='-static'
   14902         ;;
   14903       # icc used to be incompatible with GCC.
   14904       # ICC 10 doesn't accept -KPIC any more.
   14905       icc* | ifort*)
   14906 	lt_prog_compiler_wl='-Wl,'
   14907 	lt_prog_compiler_pic='-fPIC'
   14908 	lt_prog_compiler_static='-static'
   14909         ;;
   14910       # Lahey Fortran 8.1.
   14911       lf95*)
   14912 	lt_prog_compiler_wl='-Wl,'
   14913 	lt_prog_compiler_pic='--shared'
   14914 	lt_prog_compiler_static='--static'
   14915 	;;
   14916       nagfor*)
   14917 	# NAG Fortran compiler
   14918 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14919 	lt_prog_compiler_pic='-PIC'
   14920 	lt_prog_compiler_static='-Bstatic'
   14921 	;;
   14922       tcc*)
   14923 	# Fabrice Bellard et al's Tiny C Compiler
   14924 	lt_prog_compiler_wl='-Wl,'
   14925 	lt_prog_compiler_pic='-fPIC'
   14926 	lt_prog_compiler_static='-static'
   14927 	;;
   14928       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14929         # Portland Group compilers (*not* the Pentium gcc compiler,
   14930 	# which looks to be a dead project)
   14931 	lt_prog_compiler_wl='-Wl,'
   14932 	lt_prog_compiler_pic='-fpic'
   14933 	lt_prog_compiler_static='-Bstatic'
   14934         ;;
   14935       ccc*)
   14936         lt_prog_compiler_wl='-Wl,'
   14937         # All Alpha code is PIC.
   14938         lt_prog_compiler_static='-non_shared'
   14939         ;;
   14940       xl* | bgxl* | bgf* | mpixl*)
   14941 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14942 	lt_prog_compiler_wl='-Wl,'
   14943 	lt_prog_compiler_pic='-qpic'
   14944 	lt_prog_compiler_static='-qstaticlink'
   14945 	;;
   14946       *)
   14947 	case `$CC -V 2>&1 | sed 5q` in
   14948 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14949 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14950 	  lt_prog_compiler_pic='-KPIC'
   14951 	  lt_prog_compiler_static='-Bstatic'
   14952 	  lt_prog_compiler_wl=''
   14953 	  ;;
   14954 	*Sun\ F* | *Sun*Fortran*)
   14955 	  lt_prog_compiler_pic='-KPIC'
   14956 	  lt_prog_compiler_static='-Bstatic'
   14957 	  lt_prog_compiler_wl='-Qoption ld '
   14958 	  ;;
   14959 	*Sun\ C*)
   14960 	  # Sun C 5.9
   14961 	  lt_prog_compiler_pic='-KPIC'
   14962 	  lt_prog_compiler_static='-Bstatic'
   14963 	  lt_prog_compiler_wl='-Wl,'
   14964 	  ;;
   14965         *Intel*\ [CF]*Compiler*)
   14966 	  lt_prog_compiler_wl='-Wl,'
   14967 	  lt_prog_compiler_pic='-fPIC'
   14968 	  lt_prog_compiler_static='-static'
   14969 	  ;;
   14970 	*Portland\ Group*)
   14971 	  lt_prog_compiler_wl='-Wl,'
   14972 	  lt_prog_compiler_pic='-fpic'
   14973 	  lt_prog_compiler_static='-Bstatic'
   14974 	  ;;
   14975 	esac
   14976 	;;
   14977       esac
   14978       ;;
   14979 
   14980     newsos6)
   14981       lt_prog_compiler_pic='-KPIC'
   14982       lt_prog_compiler_static='-Bstatic'
   14983       ;;
   14984 
   14985     *nto* | *qnx*)
   14986       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14987       # it will coredump.
   14988       lt_prog_compiler_pic='-fPIC -shared'
   14989       ;;
   14990 
   14991     osf3* | osf4* | osf5*)
   14992       lt_prog_compiler_wl='-Wl,'
   14993       # All OSF/1 code is PIC.
   14994       lt_prog_compiler_static='-non_shared'
   14995       ;;
   14996 
   14997     rdos*)
   14998       lt_prog_compiler_static='-non_shared'
   14999       ;;
   15000 
   15001     solaris*)
   15002       lt_prog_compiler_pic='-KPIC'
   15003       lt_prog_compiler_static='-Bstatic'
   15004       case $cc_basename in
   15005       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15006 	lt_prog_compiler_wl='-Qoption ld ';;
   15007       *)
   15008 	lt_prog_compiler_wl='-Wl,';;
   15009       esac
   15010       ;;
   15011 
   15012     sunos4*)
   15013       lt_prog_compiler_wl='-Qoption ld '
   15014       lt_prog_compiler_pic='-PIC'
   15015       lt_prog_compiler_static='-Bstatic'
   15016       ;;
   15017 
   15018     sysv4 | sysv4.2uw2* | sysv4.3*)
   15019       lt_prog_compiler_wl='-Wl,'
   15020       lt_prog_compiler_pic='-KPIC'
   15021       lt_prog_compiler_static='-Bstatic'
   15022       ;;
   15023 
   15024     sysv4*MP*)
   15025       if test -d /usr/nec; then
   15026 	lt_prog_compiler_pic='-Kconform_pic'
   15027 	lt_prog_compiler_static='-Bstatic'
   15028       fi
   15029       ;;
   15030 
   15031     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15032       lt_prog_compiler_wl='-Wl,'
   15033       lt_prog_compiler_pic='-KPIC'
   15034       lt_prog_compiler_static='-Bstatic'
   15035       ;;
   15036 
   15037     unicos*)
   15038       lt_prog_compiler_wl='-Wl,'
   15039       lt_prog_compiler_can_build_shared=no
   15040       ;;
   15041 
   15042     uts4*)
   15043       lt_prog_compiler_pic='-pic'
   15044       lt_prog_compiler_static='-Bstatic'
   15045       ;;
   15046 
   15047     *)
   15048       lt_prog_compiler_can_build_shared=no
   15049       ;;
   15050     esac
   15051   fi
   15052 
   15053 case $host_os in
   15054   # For platforms that do not support PIC, -DPIC is meaningless:
   15055   *djgpp*)
   15056     lt_prog_compiler_pic=
   15057     ;;
   15058   *)
   15059     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15060     ;;
   15061 esac
   15062 
   15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15064 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15065 if ${lt_cv_prog_compiler_pic+:} false; then :
   15066   $as_echo_n "(cached) " >&6
   15067 else
   15068   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15069 fi
   15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15071 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15072 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15073 
   15074 #
   15075 # Check to make sure the PIC flag actually works.
   15076 #
   15077 if test -n "$lt_prog_compiler_pic"; then
   15078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15079 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15080 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15081   $as_echo_n "(cached) " >&6
   15082 else
   15083   lt_cv_prog_compiler_pic_works=no
   15084    ac_outfile=conftest.$ac_objext
   15085    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15086    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15087    # Insert the option either (1) after the last *FLAGS variable, or
   15088    # (2) before a word containing "conftest.", or (3) at the end.
   15089    # Note that $ac_compile itself does not contain backslashes and begins
   15090    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15091    # The option is referenced via a variable to avoid confusing sed.
   15092    lt_compile=`echo "$ac_compile" | $SED \
   15093    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15094    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15095    -e 's:$: $lt_compiler_flag:'`
   15096    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15097    (eval "$lt_compile" 2>conftest.err)
   15098    ac_status=$?
   15099    cat conftest.err >&5
   15100    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15101    if (exit $ac_status) && test -s "$ac_outfile"; then
   15102      # The compiler can only warn and ignore the option if not recognized
   15103      # So say no if there are warnings other than the usual output.
   15104      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15105      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15106      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15107        lt_cv_prog_compiler_pic_works=yes
   15108      fi
   15109    fi
   15110    $RM conftest*
   15111 
   15112 fi
   15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15114 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15115 
   15116 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15117     case $lt_prog_compiler_pic in
   15118      "" | " "*) ;;
   15119      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15120      esac
   15121 else
   15122     lt_prog_compiler_pic=
   15123      lt_prog_compiler_can_build_shared=no
   15124 fi
   15125 
   15126 fi
   15127 
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 #
   15139 # Check to make sure the static flag actually works.
   15140 #
   15141 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15143 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15144 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15145   $as_echo_n "(cached) " >&6
   15146 else
   15147   lt_cv_prog_compiler_static_works=no
   15148    save_LDFLAGS=$LDFLAGS
   15149    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15150    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15151    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15152      # The linker can only warn and ignore the option if not recognized
   15153      # So say no if there are warnings
   15154      if test -s conftest.err; then
   15155        # Append any errors to the config.log.
   15156        cat conftest.err 1>&5
   15157        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15158        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15159        if diff conftest.exp conftest.er2 >/dev/null; then
   15160          lt_cv_prog_compiler_static_works=yes
   15161        fi
   15162      else
   15163        lt_cv_prog_compiler_static_works=yes
   15164      fi
   15165    fi
   15166    $RM -r conftest*
   15167    LDFLAGS=$save_LDFLAGS
   15168 
   15169 fi
   15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15171 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15172 
   15173 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15174     :
   15175 else
   15176     lt_prog_compiler_static=
   15177 fi
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15186 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15187 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15188   $as_echo_n "(cached) " >&6
   15189 else
   15190   lt_cv_prog_compiler_c_o=no
   15191    $RM -r conftest 2>/dev/null
   15192    mkdir conftest
   15193    cd conftest
   15194    mkdir out
   15195    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15196 
   15197    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15198    # Insert the option either (1) after the last *FLAGS variable, or
   15199    # (2) before a word containing "conftest.", or (3) at the end.
   15200    # Note that $ac_compile itself does not contain backslashes and begins
   15201    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15202    lt_compile=`echo "$ac_compile" | $SED \
   15203    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15204    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15205    -e 's:$: $lt_compiler_flag:'`
   15206    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15207    (eval "$lt_compile" 2>out/conftest.err)
   15208    ac_status=$?
   15209    cat out/conftest.err >&5
   15210    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15211    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15212    then
   15213      # The compiler can only warn and ignore the option if not recognized
   15214      # So say no if there are warnings
   15215      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15216      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15217      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15218        lt_cv_prog_compiler_c_o=yes
   15219      fi
   15220    fi
   15221    chmod u+w . 2>&5
   15222    $RM conftest*
   15223    # SGI C++ compiler will create directory out/ii_files/ for
   15224    # template instantiation
   15225    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15226    $RM out/* && rmdir out
   15227    cd ..
   15228    $RM -r conftest
   15229    $RM conftest*
   15230 
   15231 fi
   15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15233 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15241 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15242 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15243   $as_echo_n "(cached) " >&6
   15244 else
   15245   lt_cv_prog_compiler_c_o=no
   15246    $RM -r conftest 2>/dev/null
   15247    mkdir conftest
   15248    cd conftest
   15249    mkdir out
   15250    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15251 
   15252    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15253    # Insert the option either (1) after the last *FLAGS variable, or
   15254    # (2) before a word containing "conftest.", or (3) at the end.
   15255    # Note that $ac_compile itself does not contain backslashes and begins
   15256    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15257    lt_compile=`echo "$ac_compile" | $SED \
   15258    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15259    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15260    -e 's:$: $lt_compiler_flag:'`
   15261    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15262    (eval "$lt_compile" 2>out/conftest.err)
   15263    ac_status=$?
   15264    cat out/conftest.err >&5
   15265    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15266    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15267    then
   15268      # The compiler can only warn and ignore the option if not recognized
   15269      # So say no if there are warnings
   15270      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15271      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15272      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15273        lt_cv_prog_compiler_c_o=yes
   15274      fi
   15275    fi
   15276    chmod u+w . 2>&5
   15277    $RM conftest*
   15278    # SGI C++ compiler will create directory out/ii_files/ for
   15279    # template instantiation
   15280    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15281    $RM out/* && rmdir out
   15282    cd ..
   15283    $RM -r conftest
   15284    $RM conftest*
   15285 
   15286 fi
   15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15288 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15289 
   15290 
   15291 
   15292 
   15293 hard_links=nottested
   15294 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15295   # do not overwrite the value of need_locks provided by the user
   15296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15297 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15298   hard_links=yes
   15299   $RM conftest*
   15300   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15301   touch conftest.a
   15302   ln conftest.a conftest.b 2>&5 || hard_links=no
   15303   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15305 $as_echo "$hard_links" >&6; }
   15306   if test no = "$hard_links"; then
   15307     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15308 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15309     need_locks=warn
   15310   fi
   15311 else
   15312   need_locks=no
   15313 fi
   15314 
   15315 
   15316 
   15317 
   15318 
   15319 
   15320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15321 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15322 
   15323   runpath_var=
   15324   allow_undefined_flag=
   15325   always_export_symbols=no
   15326   archive_cmds=
   15327   archive_expsym_cmds=
   15328   compiler_needs_object=no
   15329   enable_shared_with_static_runtimes=no
   15330   export_dynamic_flag_spec=
   15331   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15332   hardcode_automatic=no
   15333   hardcode_direct=no
   15334   hardcode_direct_absolute=no
   15335   hardcode_libdir_flag_spec=
   15336   hardcode_libdir_separator=
   15337   hardcode_minus_L=no
   15338   hardcode_shlibpath_var=unsupported
   15339   inherit_rpath=no
   15340   link_all_deplibs=unknown
   15341   module_cmds=
   15342   module_expsym_cmds=
   15343   old_archive_from_new_cmds=
   15344   old_archive_from_expsyms_cmds=
   15345   thread_safe_flag_spec=
   15346   whole_archive_flag_spec=
   15347   # include_expsyms should be a list of space-separated symbols to be *always*
   15348   # included in the symbol list
   15349   include_expsyms=
   15350   # exclude_expsyms can be an extended regexp of symbols to exclude
   15351   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15352   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15353   # as well as any symbol that contains 'd'.
   15354   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15355   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15356   # platforms (ab)use it in PIC code, but their linkers get confused if
   15357   # the symbol is explicitly referenced.  Since portable code cannot
   15358   # rely on this symbol name, it's probably fine to never include it in
   15359   # preloaded symbol tables.
   15360   # Exclude shared library initialization/finalization symbols.
   15361   extract_expsyms_cmds=
   15362 
   15363   case $host_os in
   15364   cygwin* | mingw* | pw32* | cegcc*)
   15365     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15366     # When not using gcc, we currently assume that we are using
   15367     # Microsoft Visual C++.
   15368     if test yes != "$GCC"; then
   15369       with_gnu_ld=no
   15370     fi
   15371     ;;
   15372   interix*)
   15373     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15374     with_gnu_ld=yes
   15375     ;;
   15376   openbsd* | bitrig*)
   15377     with_gnu_ld=no
   15378     ;;
   15379   linux* | k*bsd*-gnu | gnu*)
   15380     link_all_deplibs=no
   15381     ;;
   15382   esac
   15383 
   15384   ld_shlibs=yes
   15385 
   15386   # On some targets, GNU ld is compatible enough with the native linker
   15387   # that we're better off using the native interface for both.
   15388   lt_use_gnu_ld_interface=no
   15389   if test yes = "$with_gnu_ld"; then
   15390     case $host_os in
   15391       aix*)
   15392 	# The AIX port of GNU ld has always aspired to compatibility
   15393 	# with the native linker.  However, as the warning in the GNU ld
   15394 	# block says, versions before 2.19.5* couldn't really create working
   15395 	# shared libraries, regardless of the interface used.
   15396 	case `$LD -v 2>&1` in
   15397 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15398 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15399 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15400 	  *)
   15401 	    lt_use_gnu_ld_interface=yes
   15402 	    ;;
   15403 	esac
   15404 	;;
   15405       *)
   15406 	lt_use_gnu_ld_interface=yes
   15407 	;;
   15408     esac
   15409   fi
   15410 
   15411   if test yes = "$lt_use_gnu_ld_interface"; then
   15412     # If archive_cmds runs LD, not CC, wlarc should be empty
   15413     wlarc='$wl'
   15414 
   15415     # Set some defaults for GNU ld with shared library support. These
   15416     # are reset later if shared libraries are not supported. Putting them
   15417     # here allows them to be overridden if necessary.
   15418     runpath_var=LD_RUN_PATH
   15419     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15420     export_dynamic_flag_spec='$wl--export-dynamic'
   15421     # ancient GNU ld didn't support --whole-archive et. al.
   15422     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15423       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15424     else
   15425       whole_archive_flag_spec=
   15426     fi
   15427     supports_anon_versioning=no
   15428     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15429       *GNU\ gold*) supports_anon_versioning=yes ;;
   15430       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15431       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15432       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15433       *\ 2.11.*) ;; # other 2.11 versions
   15434       *) supports_anon_versioning=yes ;;
   15435     esac
   15436 
   15437     # See if GNU ld supports shared libraries.
   15438     case $host_os in
   15439     aix[3-9]*)
   15440       # On AIX/PPC, the GNU linker is very broken
   15441       if test ia64 != "$host_cpu"; then
   15442 	ld_shlibs=no
   15443 	cat <<_LT_EOF 1>&2
   15444 
   15445 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15446 *** to be unable to reliably create shared libraries on AIX.
   15447 *** Therefore, libtool is disabling shared libraries support.  If you
   15448 *** really care for shared libraries, you may want to install binutils
   15449 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15450 *** You will then need to restart the configuration process.
   15451 
   15452 _LT_EOF
   15453       fi
   15454       ;;
   15455 
   15456     amigaos*)
   15457       case $host_cpu in
   15458       powerpc)
   15459             # see comment about AmigaOS4 .so support
   15460             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15461             archive_expsym_cmds=''
   15462         ;;
   15463       m68k)
   15464             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)'
   15465             hardcode_libdir_flag_spec='-L$libdir'
   15466             hardcode_minus_L=yes
   15467         ;;
   15468       esac
   15469       ;;
   15470 
   15471     beos*)
   15472       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15473 	allow_undefined_flag=unsupported
   15474 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15475 	# support --undefined.  This deserves some investigation.  FIXME
   15476 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15477       else
   15478 	ld_shlibs=no
   15479       fi
   15480       ;;
   15481 
   15482     cygwin* | mingw* | pw32* | cegcc*)
   15483       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15484       # as there is no search path for DLLs.
   15485       hardcode_libdir_flag_spec='-L$libdir'
   15486       export_dynamic_flag_spec='$wl--export-all-symbols'
   15487       allow_undefined_flag=unsupported
   15488       always_export_symbols=no
   15489       enable_shared_with_static_runtimes=yes
   15490       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'
   15491       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15492 
   15493       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15494         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15495 	# If the export-symbols file already is a .def file, use it as
   15496 	# is; otherwise, prepend EXPORTS...
   15497 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15498           cp $export_symbols $output_objdir/$soname.def;
   15499         else
   15500           echo EXPORTS > $output_objdir/$soname.def;
   15501           cat $export_symbols >> $output_objdir/$soname.def;
   15502         fi~
   15503         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15504       else
   15505 	ld_shlibs=no
   15506       fi
   15507       ;;
   15508 
   15509     haiku*)
   15510       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15511       link_all_deplibs=yes
   15512       ;;
   15513 
   15514     os2*)
   15515       hardcode_libdir_flag_spec='-L$libdir'
   15516       hardcode_minus_L=yes
   15517       allow_undefined_flag=unsupported
   15518       shrext_cmds=.dll
   15519       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15520 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15521 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15522 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15523 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15524 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15525 	emximp -o $lib $output_objdir/$libname.def'
   15526       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15527 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15528 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15529 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15530 	prefix_cmds="$SED"~
   15531 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15532 	  prefix_cmds="$prefix_cmds -e 1d";
   15533 	fi~
   15534 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15535 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15536 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15537 	emximp -o $lib $output_objdir/$libname.def'
   15538       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15539       enable_shared_with_static_runtimes=yes
   15540       ;;
   15541 
   15542     interix[3-9]*)
   15543       hardcode_direct=no
   15544       hardcode_shlibpath_var=no
   15545       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15546       export_dynamic_flag_spec='$wl-E'
   15547       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15548       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15549       # default) and relocated if they conflict, which is a slow very memory
   15550       # consuming and fragmenting process.  To avoid this, we pick a random,
   15551       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15552       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15553       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15554       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'
   15555       ;;
   15556 
   15557     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15558       tmp_diet=no
   15559       if test linux-dietlibc = "$host_os"; then
   15560 	case $cc_basename in
   15561 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15562 	esac
   15563       fi
   15564       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15565 	 && test no = "$tmp_diet"
   15566       then
   15567 	tmp_addflag=' $pic_flag'
   15568 	tmp_sharedflag='-shared'
   15569 	case $cc_basename,$host_cpu in
   15570         pgcc*)				# Portland Group C compiler
   15571 	  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'
   15572 	  tmp_addflag=' $pic_flag'
   15573 	  ;;
   15574 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15575 					# Portland Group f77 and f90 compilers
   15576 	  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'
   15577 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15578 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15579 	  tmp_addflag=' -i_dynamic' ;;
   15580 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15581 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15582 	ifc* | ifort*)			# Intel Fortran compiler
   15583 	  tmp_addflag=' -nofor_main' ;;
   15584 	lf95*)				# Lahey Fortran 8.1
   15585 	  whole_archive_flag_spec=
   15586 	  tmp_sharedflag='--shared' ;;
   15587         nagfor*)                        # NAGFOR 5.3
   15588           tmp_sharedflag='-Wl,-shared' ;;
   15589 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15590 	  tmp_sharedflag='-qmkshrobj'
   15591 	  tmp_addflag= ;;
   15592 	nvcc*)	# Cuda Compiler Driver 2.2
   15593 	  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'
   15594 	  compiler_needs_object=yes
   15595 	  ;;
   15596 	esac
   15597 	case `$CC -V 2>&1 | sed 5q` in
   15598 	*Sun\ C*)			# Sun C 5.9
   15599 	  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'
   15600 	  compiler_needs_object=yes
   15601 	  tmp_sharedflag='-G' ;;
   15602 	*Sun\ F*)			# Sun Fortran 8.3
   15603 	  tmp_sharedflag='-G' ;;
   15604 	esac
   15605 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15606 
   15607         if test yes = "$supports_anon_versioning"; then
   15608           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15609             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15610             echo "local: *; };" >> $output_objdir/$libname.ver~
   15611             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15612         fi
   15613 
   15614 	case $cc_basename in
   15615 	tcc*)
   15616 	  export_dynamic_flag_spec='-rdynamic'
   15617 	  ;;
   15618 	xlf* | bgf* | bgxlf* | mpixlf*)
   15619 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15620 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15621 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15622 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15623 	  if test yes = "$supports_anon_versioning"; then
   15624 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15625               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15626               echo "local: *; };" >> $output_objdir/$libname.ver~
   15627               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15628 	  fi
   15629 	  ;;
   15630 	esac
   15631       else
   15632         ld_shlibs=no
   15633       fi
   15634       ;;
   15635 
   15636     netbsd* | netbsdelf*-gnu)
   15637       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15638 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15639 	wlarc=
   15640       else
   15641 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15642 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15643       fi
   15644       ;;
   15645 
   15646     solaris*)
   15647       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15648 	ld_shlibs=no
   15649 	cat <<_LT_EOF 1>&2
   15650 
   15651 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15652 *** create shared libraries on Solaris systems.  Therefore, libtool
   15653 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15654 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15655 *** your PATH or compiler configuration so that the native linker is
   15656 *** used, and then restart.
   15657 
   15658 _LT_EOF
   15659       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15660 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15661 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15662       else
   15663 	ld_shlibs=no
   15664       fi
   15665       ;;
   15666 
   15667     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15668       case `$LD -v 2>&1` in
   15669         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15670 	ld_shlibs=no
   15671 	cat <<_LT_EOF 1>&2
   15672 
   15673 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15674 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15675 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15676 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15677 *** your PATH or compiler configuration so that the native linker is
   15678 *** used, and then restart.
   15679 
   15680 _LT_EOF
   15681 	;;
   15682 	*)
   15683 	  # For security reasons, it is highly recommended that you always
   15684 	  # use absolute paths for naming shared libraries, and exclude the
   15685 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15686 	  # requires that you compile everything twice, which is a pain.
   15687 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15688 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15689 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15690 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15691 	  else
   15692 	    ld_shlibs=no
   15693 	  fi
   15694 	;;
   15695       esac
   15696       ;;
   15697 
   15698     sunos4*)
   15699       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15700       wlarc=
   15701       hardcode_direct=yes
   15702       hardcode_shlibpath_var=no
   15703       ;;
   15704 
   15705     *)
   15706       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15707 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15708 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15709       else
   15710 	ld_shlibs=no
   15711       fi
   15712       ;;
   15713     esac
   15714 
   15715     if test no = "$ld_shlibs"; then
   15716       runpath_var=
   15717       hardcode_libdir_flag_spec=
   15718       export_dynamic_flag_spec=
   15719       whole_archive_flag_spec=
   15720     fi
   15721   else
   15722     # PORTME fill in a description of your system's linker (not GNU ld)
   15723     case $host_os in
   15724     aix3*)
   15725       allow_undefined_flag=unsupported
   15726       always_export_symbols=yes
   15727       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'
   15728       # Note: this linker hardcodes the directories in LIBPATH if there
   15729       # are no directories specified by -L.
   15730       hardcode_minus_L=yes
   15731       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15732 	# Neither direct hardcoding nor static linking is supported with a
   15733 	# broken collect2.
   15734 	hardcode_direct=unsupported
   15735       fi
   15736       ;;
   15737 
   15738     aix[4-9]*)
   15739       if test ia64 = "$host_cpu"; then
   15740 	# On IA64, the linker does run time linking by default, so we don't
   15741 	# have to do anything special.
   15742 	aix_use_runtimelinking=no
   15743 	exp_sym_flag='-Bexport'
   15744 	no_entry_flag=
   15745       else
   15746 	# If we're using GNU nm, then we don't want the "-C" option.
   15747 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15748 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15749 	# weak defined symbols like other global defined symbols, whereas
   15750 	# GNU nm marks them as "W".
   15751 	# While the 'weak' keyword is ignored in the Export File, we need
   15752 	# it in the Import File for the 'aix-soname' feature, so we have
   15753 	# to replace the "-B" option with "-P" for AIX nm.
   15754 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15755 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   15756 	else
   15757 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   15758 	fi
   15759 	aix_use_runtimelinking=no
   15760 
   15761 	# Test if we are trying to use run time linking or normal
   15762 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15763 	# have runtime linking enabled, and use it for executables.
   15764 	# For shared libraries, we enable/disable runtime linking
   15765 	# depending on the kind of the shared library created -
   15766 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15767 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15768 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15769 	#            lib.a           static archive
   15770 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15771 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15772 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15773 	#            lib.a(lib.so.V) shared, rtl:no
   15774 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15775 	#            lib.a           static archive
   15776 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15777 	  for ld_flag in $LDFLAGS; do
   15778 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15779 	    aix_use_runtimelinking=yes
   15780 	    break
   15781 	  fi
   15782 	  done
   15783 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15784 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15785 	    # so we don't have lib.a shared libs to link our executables.
   15786 	    # We have to force runtime linking in this case.
   15787 	    aix_use_runtimelinking=yes
   15788 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15789 	  fi
   15790 	  ;;
   15791 	esac
   15792 
   15793 	exp_sym_flag='-bexport'
   15794 	no_entry_flag='-bnoentry'
   15795       fi
   15796 
   15797       # When large executables or shared objects are built, AIX ld can
   15798       # have problems creating the table of contents.  If linking a library
   15799       # or program results in "error TOC overflow" add -mminimal-toc to
   15800       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15801       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15802 
   15803       archive_cmds=''
   15804       hardcode_direct=yes
   15805       hardcode_direct_absolute=yes
   15806       hardcode_libdir_separator=':'
   15807       link_all_deplibs=yes
   15808       file_list_spec='$wl-f,'
   15809       case $with_aix_soname,$aix_use_runtimelinking in
   15810       aix,*) ;; # traditional, no import file
   15811       svr4,* | *,yes) # use import file
   15812 	# The Import File defines what to hardcode.
   15813 	hardcode_direct=no
   15814 	hardcode_direct_absolute=no
   15815 	;;
   15816       esac
   15817 
   15818       if test yes = "$GCC"; then
   15819 	case $host_os in aix4.[012]|aix4.[012].*)
   15820 	# We only want to do this on AIX 4.2 and lower, the check
   15821 	# below for broken collect2 doesn't work under 4.3+
   15822 	  collect2name=`$CC -print-prog-name=collect2`
   15823 	  if test -f "$collect2name" &&
   15824 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15825 	  then
   15826 	  # We have reworked collect2
   15827 	  :
   15828 	  else
   15829 	  # We have old collect2
   15830 	  hardcode_direct=unsupported
   15831 	  # It fails to find uninstalled libraries when the uninstalled
   15832 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15833 	  # to unsupported forces relinking
   15834 	  hardcode_minus_L=yes
   15835 	  hardcode_libdir_flag_spec='-L$libdir'
   15836 	  hardcode_libdir_separator=
   15837 	  fi
   15838 	  ;;
   15839 	esac
   15840 	shared_flag='-shared'
   15841 	if test yes = "$aix_use_runtimelinking"; then
   15842 	  shared_flag="$shared_flag "'$wl-G'
   15843 	fi
   15844 	# Need to ensure runtime linking is disabled for the traditional
   15845 	# shared library, or the linker may eventually find shared libraries
   15846 	# /with/ Import File - we do not want to mix them.
   15847 	shared_flag_aix='-shared'
   15848 	shared_flag_svr4='-shared $wl-G'
   15849       else
   15850 	# not using gcc
   15851 	if test ia64 = "$host_cpu"; then
   15852 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15853 	# chokes on -Wl,-G. The following line is correct:
   15854 	  shared_flag='-G'
   15855 	else
   15856 	  if test yes = "$aix_use_runtimelinking"; then
   15857 	    shared_flag='$wl-G'
   15858 	  else
   15859 	    shared_flag='$wl-bM:SRE'
   15860 	  fi
   15861 	  shared_flag_aix='$wl-bM:SRE'
   15862 	  shared_flag_svr4='$wl-G'
   15863 	fi
   15864       fi
   15865 
   15866       export_dynamic_flag_spec='$wl-bexpall'
   15867       # It seems that -bexpall does not export symbols beginning with
   15868       # underscore (_), so it is better to generate a list of symbols to export.
   15869       always_export_symbols=yes
   15870       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15871 	# Warning - without using the other runtime loading flags (-brtl),
   15872 	# -berok will link without error, but may produce a broken library.
   15873 	allow_undefined_flag='-berok'
   15874         # Determine the default libpath from the value encoded in an
   15875         # empty executable.
   15876         if test set = "${lt_cv_aix_libpath+set}"; then
   15877   aix_libpath=$lt_cv_aix_libpath
   15878 else
   15879   if ${lt_cv_aix_libpath_+:} false; then :
   15880   $as_echo_n "(cached) " >&6
   15881 else
   15882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15883 /* end confdefs.h.  */
   15884 
   15885 int
   15886 main ()
   15887 {
   15888 
   15889   ;
   15890   return 0;
   15891 }
   15892 _ACEOF
   15893 if ac_fn_c_try_link "$LINENO"; then :
   15894 
   15895   lt_aix_libpath_sed='
   15896       /Import File Strings/,/^$/ {
   15897 	  /^0/ {
   15898 	      s/^0  *\([^ ]*\) *$/\1/
   15899 	      p
   15900 	  }
   15901       }'
   15902   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15903   # Check for a 64-bit object if we didn't find anything.
   15904   if test -z "$lt_cv_aix_libpath_"; then
   15905     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15906   fi
   15907 fi
   15908 rm -f core conftest.err conftest.$ac_objext \
   15909     conftest$ac_exeext conftest.$ac_ext
   15910   if test -z "$lt_cv_aix_libpath_"; then
   15911     lt_cv_aix_libpath_=/usr/lib:/lib
   15912   fi
   15913 
   15914 fi
   15915 
   15916   aix_libpath=$lt_cv_aix_libpath_
   15917 fi
   15918 
   15919         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15920         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   15921       else
   15922 	if test ia64 = "$host_cpu"; then
   15923 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15924 	  allow_undefined_flag="-z nodefs"
   15925 	  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"
   15926 	else
   15927 	 # Determine the default libpath from the value encoded in an
   15928 	 # empty executable.
   15929 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15930   aix_libpath=$lt_cv_aix_libpath
   15931 else
   15932   if ${lt_cv_aix_libpath_+:} false; then :
   15933   $as_echo_n "(cached) " >&6
   15934 else
   15935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15936 /* end confdefs.h.  */
   15937 
   15938 int
   15939 main ()
   15940 {
   15941 
   15942   ;
   15943   return 0;
   15944 }
   15945 _ACEOF
   15946 if ac_fn_c_try_link "$LINENO"; then :
   15947 
   15948   lt_aix_libpath_sed='
   15949       /Import File Strings/,/^$/ {
   15950 	  /^0/ {
   15951 	      s/^0  *\([^ ]*\) *$/\1/
   15952 	      p
   15953 	  }
   15954       }'
   15955   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15956   # Check for a 64-bit object if we didn't find anything.
   15957   if test -z "$lt_cv_aix_libpath_"; then
   15958     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15959   fi
   15960 fi
   15961 rm -f core conftest.err conftest.$ac_objext \
   15962     conftest$ac_exeext conftest.$ac_ext
   15963   if test -z "$lt_cv_aix_libpath_"; then
   15964     lt_cv_aix_libpath_=/usr/lib:/lib
   15965   fi
   15966 
   15967 fi
   15968 
   15969   aix_libpath=$lt_cv_aix_libpath_
   15970 fi
   15971 
   15972 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15973 	  # Warning - without using the other run time loading flags,
   15974 	  # -berok will link without error, but may produce a broken library.
   15975 	  no_undefined_flag=' $wl-bernotok'
   15976 	  allow_undefined_flag=' $wl-berok'
   15977 	  if test yes = "$with_gnu_ld"; then
   15978 	    # We only use this code for GNU lds that support --whole-archive.
   15979 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   15980 	  else
   15981 	    # Exported symbols can be pulled into shared objects from archives
   15982 	    whole_archive_flag_spec='$convenience'
   15983 	  fi
   15984 	  archive_cmds_need_lc=yes
   15985 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   15986 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   15987 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   15988 	  if test svr4 != "$with_aix_soname"; then
   15989 	    # This is similar to how AIX traditionally builds its shared libraries.
   15990 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   15991 	  fi
   15992 	  if test aix != "$with_aix_soname"; then
   15993 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   15994 	  else
   15995 	    # used by -dlpreopen to get the symbols
   15996 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   15997 	  fi
   15998 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   15999 	fi
   16000       fi
   16001       ;;
   16002 
   16003     amigaos*)
   16004       case $host_cpu in
   16005       powerpc)
   16006             # see comment about AmigaOS4 .so support
   16007             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16008             archive_expsym_cmds=''
   16009         ;;
   16010       m68k)
   16011             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)'
   16012             hardcode_libdir_flag_spec='-L$libdir'
   16013             hardcode_minus_L=yes
   16014         ;;
   16015       esac
   16016       ;;
   16017 
   16018     bsdi[45]*)
   16019       export_dynamic_flag_spec=-rdynamic
   16020       ;;
   16021 
   16022     cygwin* | mingw* | pw32* | cegcc*)
   16023       # When not using gcc, we currently assume that we are using
   16024       # Microsoft Visual C++.
   16025       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16026       # no search path for DLLs.
   16027       case $cc_basename in
   16028       cl*)
   16029 	# Native MSVC
   16030 	hardcode_libdir_flag_spec=' '
   16031 	allow_undefined_flag=unsupported
   16032 	always_export_symbols=yes
   16033 	file_list_spec='@'
   16034 	# Tell ltmain to make .lib files, not .a files.
   16035 	libext=lib
   16036 	# Tell ltmain to make .dll files, not .so files.
   16037 	shrext_cmds=.dll
   16038 	# FIXME: Setting linknames here is a bad hack.
   16039 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16040 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16041             cp "$export_symbols" "$output_objdir/$soname.def";
   16042             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16043           else
   16044             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16045           fi~
   16046           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16047           linknames='
   16048 	# The linker will not automatically build a static lib if we build a DLL.
   16049 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16050 	enable_shared_with_static_runtimes=yes
   16051 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16052 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16053 	# Don't use ranlib
   16054 	old_postinstall_cmds='chmod 644 $oldlib'
   16055 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16056           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16057           case $lt_outputfile in
   16058             *.exe|*.EXE) ;;
   16059             *)
   16060               lt_outputfile=$lt_outputfile.exe
   16061               lt_tool_outputfile=$lt_tool_outputfile.exe
   16062               ;;
   16063           esac~
   16064           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16065             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16066             $RM "$lt_outputfile.manifest";
   16067           fi'
   16068 	;;
   16069       *)
   16070 	# Assume MSVC wrapper
   16071 	hardcode_libdir_flag_spec=' '
   16072 	allow_undefined_flag=unsupported
   16073 	# Tell ltmain to make .lib files, not .a files.
   16074 	libext=lib
   16075 	# Tell ltmain to make .dll files, not .so files.
   16076 	shrext_cmds=.dll
   16077 	# FIXME: Setting linknames here is a bad hack.
   16078 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16079 	# The linker will automatically build a .lib file if we build a DLL.
   16080 	old_archive_from_new_cmds='true'
   16081 	# FIXME: Should let the user specify the lib program.
   16082 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16083 	enable_shared_with_static_runtimes=yes
   16084 	;;
   16085       esac
   16086       ;;
   16087 
   16088     darwin* | rhapsody*)
   16089 
   16090 
   16091   archive_cmds_need_lc=no
   16092   hardcode_direct=no
   16093   hardcode_automatic=yes
   16094   hardcode_shlibpath_var=unsupported
   16095   if test yes = "$lt_cv_ld_force_load"; then
   16096     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\"`'
   16097 
   16098   else
   16099     whole_archive_flag_spec=''
   16100   fi
   16101   link_all_deplibs=yes
   16102   allow_undefined_flag=$_lt_dar_allow_undefined
   16103   case $cc_basename in
   16104      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16105      *) _lt_dar_can_shared=$GCC ;;
   16106   esac
   16107   if test yes = "$_lt_dar_can_shared"; then
   16108     output_verbose_link_cmd=func_echo_all
   16109     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16110     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16111     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"
   16112     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"
   16113 
   16114   else
   16115   ld_shlibs=no
   16116   fi
   16117 
   16118       ;;
   16119 
   16120     dgux*)
   16121       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16122       hardcode_libdir_flag_spec='-L$libdir'
   16123       hardcode_shlibpath_var=no
   16124       ;;
   16125 
   16126     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16127     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16128     # does not break anything, and helps significantly (at the cost of a little
   16129     # extra space).
   16130     freebsd2.2*)
   16131       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16132       hardcode_libdir_flag_spec='-R$libdir'
   16133       hardcode_direct=yes
   16134       hardcode_shlibpath_var=no
   16135       ;;
   16136 
   16137     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16138     freebsd2.*)
   16139       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16140       hardcode_direct=yes
   16141       hardcode_minus_L=yes
   16142       hardcode_shlibpath_var=no
   16143       ;;
   16144 
   16145     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16146     freebsd* | dragonfly*)
   16147       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16148       hardcode_libdir_flag_spec='-R$libdir'
   16149       hardcode_direct=yes
   16150       hardcode_shlibpath_var=no
   16151       ;;
   16152 
   16153     hpux9*)
   16154       if test yes = "$GCC"; then
   16155 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16156       else
   16157 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16158       fi
   16159       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16160       hardcode_libdir_separator=:
   16161       hardcode_direct=yes
   16162 
   16163       # hardcode_minus_L: Not really in the search PATH,
   16164       # but as the default location of the library.
   16165       hardcode_minus_L=yes
   16166       export_dynamic_flag_spec='$wl-E'
   16167       ;;
   16168 
   16169     hpux10*)
   16170       if test yes,no = "$GCC,$with_gnu_ld"; then
   16171 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16172       else
   16173 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16174       fi
   16175       if test no = "$with_gnu_ld"; then
   16176 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16177 	hardcode_libdir_separator=:
   16178 	hardcode_direct=yes
   16179 	hardcode_direct_absolute=yes
   16180 	export_dynamic_flag_spec='$wl-E'
   16181 	# hardcode_minus_L: Not really in the search PATH,
   16182 	# but as the default location of the library.
   16183 	hardcode_minus_L=yes
   16184       fi
   16185       ;;
   16186 
   16187     hpux11*)
   16188       if test yes,no = "$GCC,$with_gnu_ld"; then
   16189 	case $host_cpu in
   16190 	hppa*64*)
   16191 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16192 	  ;;
   16193 	ia64*)
   16194 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16195 	  ;;
   16196 	*)
   16197 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16198 	  ;;
   16199 	esac
   16200       else
   16201 	case $host_cpu in
   16202 	hppa*64*)
   16203 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16204 	  ;;
   16205 	ia64*)
   16206 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16207 	  ;;
   16208 	*)
   16209 
   16210 	  # Older versions of the 11.00 compiler do not understand -b yet
   16211 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16212 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16213 $as_echo_n "checking if $CC understands -b... " >&6; }
   16214 if ${lt_cv_prog_compiler__b+:} false; then :
   16215   $as_echo_n "(cached) " >&6
   16216 else
   16217   lt_cv_prog_compiler__b=no
   16218    save_LDFLAGS=$LDFLAGS
   16219    LDFLAGS="$LDFLAGS -b"
   16220    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16221    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16222      # The linker can only warn and ignore the option if not recognized
   16223      # So say no if there are warnings
   16224      if test -s conftest.err; then
   16225        # Append any errors to the config.log.
   16226        cat conftest.err 1>&5
   16227        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16228        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16229        if diff conftest.exp conftest.er2 >/dev/null; then
   16230          lt_cv_prog_compiler__b=yes
   16231        fi
   16232      else
   16233        lt_cv_prog_compiler__b=yes
   16234      fi
   16235    fi
   16236    $RM -r conftest*
   16237    LDFLAGS=$save_LDFLAGS
   16238 
   16239 fi
   16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16241 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16242 
   16243 if test yes = "$lt_cv_prog_compiler__b"; then
   16244     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16245 else
   16246     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16247 fi
   16248 
   16249 	  ;;
   16250 	esac
   16251       fi
   16252       if test no = "$with_gnu_ld"; then
   16253 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16254 	hardcode_libdir_separator=:
   16255 
   16256 	case $host_cpu in
   16257 	hppa*64*|ia64*)
   16258 	  hardcode_direct=no
   16259 	  hardcode_shlibpath_var=no
   16260 	  ;;
   16261 	*)
   16262 	  hardcode_direct=yes
   16263 	  hardcode_direct_absolute=yes
   16264 	  export_dynamic_flag_spec='$wl-E'
   16265 
   16266 	  # hardcode_minus_L: Not really in the search PATH,
   16267 	  # but as the default location of the library.
   16268 	  hardcode_minus_L=yes
   16269 	  ;;
   16270 	esac
   16271       fi
   16272       ;;
   16273 
   16274     irix5* | irix6* | nonstopux*)
   16275       if test yes = "$GCC"; then
   16276 	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'
   16277 	# Try to use the -exported_symbol ld option, if it does not
   16278 	# work, assume that -exports_file does not work either and
   16279 	# implicitly export all symbols.
   16280 	# This should be the same for all languages, so no per-tag cache variable.
   16281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16282 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16283 if ${lt_cv_irix_exported_symbol+:} false; then :
   16284   $as_echo_n "(cached) " >&6
   16285 else
   16286   save_LDFLAGS=$LDFLAGS
   16287 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16288 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16289 /* end confdefs.h.  */
   16290 int foo (void) { return 0; }
   16291 _ACEOF
   16292 if ac_fn_c_try_link "$LINENO"; then :
   16293   lt_cv_irix_exported_symbol=yes
   16294 else
   16295   lt_cv_irix_exported_symbol=no
   16296 fi
   16297 rm -f core conftest.err conftest.$ac_objext \
   16298     conftest$ac_exeext conftest.$ac_ext
   16299            LDFLAGS=$save_LDFLAGS
   16300 fi
   16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16302 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16303 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16304           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'
   16305 	fi
   16306 	link_all_deplibs=no
   16307       else
   16308 	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'
   16309 	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'
   16310       fi
   16311       archive_cmds_need_lc='no'
   16312       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16313       hardcode_libdir_separator=:
   16314       inherit_rpath=yes
   16315       link_all_deplibs=yes
   16316       ;;
   16317 
   16318     linux*)
   16319       case $cc_basename in
   16320       tcc*)
   16321 	# Fabrice Bellard et al's Tiny C Compiler
   16322 	ld_shlibs=yes
   16323 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16324 	;;
   16325       esac
   16326       ;;
   16327 
   16328     netbsd* | netbsdelf*-gnu)
   16329       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16330 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16331       else
   16332 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16333       fi
   16334       hardcode_libdir_flag_spec='-R$libdir'
   16335       hardcode_direct=yes
   16336       hardcode_shlibpath_var=no
   16337       ;;
   16338 
   16339     newsos6)
   16340       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16341       hardcode_direct=yes
   16342       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16343       hardcode_libdir_separator=:
   16344       hardcode_shlibpath_var=no
   16345       ;;
   16346 
   16347     *nto* | *qnx*)
   16348       ;;
   16349 
   16350     openbsd* | bitrig*)
   16351       if test -f /usr/libexec/ld.so; then
   16352 	hardcode_direct=yes
   16353 	hardcode_shlibpath_var=no
   16354 	hardcode_direct_absolute=yes
   16355 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16356 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16357 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16358 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16359 	  export_dynamic_flag_spec='$wl-E'
   16360 	else
   16361 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16362 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16363 	fi
   16364       else
   16365 	ld_shlibs=no
   16366       fi
   16367       ;;
   16368 
   16369     os2*)
   16370       hardcode_libdir_flag_spec='-L$libdir'
   16371       hardcode_minus_L=yes
   16372       allow_undefined_flag=unsupported
   16373       shrext_cmds=.dll
   16374       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16375 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16376 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16377 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16378 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16379 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16380 	emximp -o $lib $output_objdir/$libname.def'
   16381       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16382 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16383 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16384 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16385 	prefix_cmds="$SED"~
   16386 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16387 	  prefix_cmds="$prefix_cmds -e 1d";
   16388 	fi~
   16389 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16390 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16391 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16392 	emximp -o $lib $output_objdir/$libname.def'
   16393       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16394       enable_shared_with_static_runtimes=yes
   16395       ;;
   16396 
   16397     osf3*)
   16398       if test yes = "$GCC"; then
   16399 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16400 	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'
   16401       else
   16402 	allow_undefined_flag=' -expect_unresolved \*'
   16403 	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'
   16404       fi
   16405       archive_cmds_need_lc='no'
   16406       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16407       hardcode_libdir_separator=:
   16408       ;;
   16409 
   16410     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16411       if test yes = "$GCC"; then
   16412 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16413 	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'
   16414 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16415       else
   16416 	allow_undefined_flag=' -expect_unresolved \*'
   16417 	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'
   16418 	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~
   16419           $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'
   16420 
   16421 	# Both c and cxx compiler support -rpath directly
   16422 	hardcode_libdir_flag_spec='-rpath $libdir'
   16423       fi
   16424       archive_cmds_need_lc='no'
   16425       hardcode_libdir_separator=:
   16426       ;;
   16427 
   16428     solaris*)
   16429       no_undefined_flag=' -z defs'
   16430       if test yes = "$GCC"; then
   16431 	wlarc='$wl'
   16432 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16433 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16434           $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'
   16435       else
   16436 	case `$CC -V 2>&1` in
   16437 	*"Compilers 5.0"*)
   16438 	  wlarc=''
   16439 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16440 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16441             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16442 	  ;;
   16443 	*)
   16444 	  wlarc='$wl'
   16445 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16446 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16447             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16448 	  ;;
   16449 	esac
   16450       fi
   16451       hardcode_libdir_flag_spec='-R$libdir'
   16452       hardcode_shlibpath_var=no
   16453       case $host_os in
   16454       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16455       *)
   16456 	# The compiler driver will combine and reorder linker options,
   16457 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16458 	# but is careful enough not to reorder.
   16459 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16460 	if test yes = "$GCC"; then
   16461 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16462 	else
   16463 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16464 	fi
   16465 	;;
   16466       esac
   16467       link_all_deplibs=yes
   16468       ;;
   16469 
   16470     sunos4*)
   16471       if test sequent = "$host_vendor"; then
   16472 	# Use $CC to link under sequent, because it throws in some extra .o
   16473 	# files that make .init and .fini sections work.
   16474 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16475       else
   16476 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16477       fi
   16478       hardcode_libdir_flag_spec='-L$libdir'
   16479       hardcode_direct=yes
   16480       hardcode_minus_L=yes
   16481       hardcode_shlibpath_var=no
   16482       ;;
   16483 
   16484     sysv4)
   16485       case $host_vendor in
   16486 	sni)
   16487 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16488 	  hardcode_direct=yes # is this really true???
   16489 	;;
   16490 	siemens)
   16491 	  ## LD is ld it makes a PLAMLIB
   16492 	  ## CC just makes a GrossModule.
   16493 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16494 	  reload_cmds='$CC -r -o $output$reload_objs'
   16495 	  hardcode_direct=no
   16496         ;;
   16497 	motorola)
   16498 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16499 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16500 	;;
   16501       esac
   16502       runpath_var='LD_RUN_PATH'
   16503       hardcode_shlibpath_var=no
   16504       ;;
   16505 
   16506     sysv4.3*)
   16507       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16508       hardcode_shlibpath_var=no
   16509       export_dynamic_flag_spec='-Bexport'
   16510       ;;
   16511 
   16512     sysv4*MP*)
   16513       if test -d /usr/nec; then
   16514 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16515 	hardcode_shlibpath_var=no
   16516 	runpath_var=LD_RUN_PATH
   16517 	hardcode_runpath_var=yes
   16518 	ld_shlibs=yes
   16519       fi
   16520       ;;
   16521 
   16522     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16523       no_undefined_flag='$wl-z,text'
   16524       archive_cmds_need_lc=no
   16525       hardcode_shlibpath_var=no
   16526       runpath_var='LD_RUN_PATH'
   16527 
   16528       if test yes = "$GCC"; then
   16529 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16530 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16531       else
   16532 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16533 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16534       fi
   16535       ;;
   16536 
   16537     sysv5* | sco3.2v5* | sco5v6*)
   16538       # Note: We CANNOT use -z defs as we might desire, because we do not
   16539       # link with -lc, and that would cause any symbols used from libc to
   16540       # always be unresolved, which means just about no library would
   16541       # ever link correctly.  If we're not using GNU ld we use -z text
   16542       # though, which does catch some bad symbols but isn't as heavy-handed
   16543       # as -z defs.
   16544       no_undefined_flag='$wl-z,text'
   16545       allow_undefined_flag='$wl-z,nodefs'
   16546       archive_cmds_need_lc=no
   16547       hardcode_shlibpath_var=no
   16548       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16549       hardcode_libdir_separator=':'
   16550       link_all_deplibs=yes
   16551       export_dynamic_flag_spec='$wl-Bexport'
   16552       runpath_var='LD_RUN_PATH'
   16553 
   16554       if test yes = "$GCC"; then
   16555 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16556 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16557       else
   16558 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16559 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16560       fi
   16561       ;;
   16562 
   16563     uts4*)
   16564       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16565       hardcode_libdir_flag_spec='-L$libdir'
   16566       hardcode_shlibpath_var=no
   16567       ;;
   16568 
   16569     *)
   16570       ld_shlibs=no
   16571       ;;
   16572     esac
   16573 
   16574     if test sni = "$host_vendor"; then
   16575       case $host in
   16576       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16577 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16578 	;;
   16579       esac
   16580     fi
   16581   fi
   16582 
   16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16584 $as_echo "$ld_shlibs" >&6; }
   16585 test no = "$ld_shlibs" && can_build_shared=no
   16586 
   16587 with_gnu_ld=$with_gnu_ld
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 #
   16604 # Do we need to explicitly link libc?
   16605 #
   16606 case "x$archive_cmds_need_lc" in
   16607 x|xyes)
   16608   # Assume -lc should be added
   16609   archive_cmds_need_lc=yes
   16610 
   16611   if test yes,yes = "$GCC,$enable_shared"; then
   16612     case $archive_cmds in
   16613     *'~'*)
   16614       # FIXME: we may have to deal with multi-command sequences.
   16615       ;;
   16616     '$CC '*)
   16617       # Test whether the compiler implicitly links with -lc since on some
   16618       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16619       # to ld, don't add -lc before -lgcc.
   16620       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16621 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16622 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16623   $as_echo_n "(cached) " >&6
   16624 else
   16625   $RM conftest*
   16626 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16627 
   16628 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16629   (eval $ac_compile) 2>&5
   16630   ac_status=$?
   16631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16632   test $ac_status = 0; } 2>conftest.err; then
   16633 	  soname=conftest
   16634 	  lib=conftest
   16635 	  libobjs=conftest.$ac_objext
   16636 	  deplibs=
   16637 	  wl=$lt_prog_compiler_wl
   16638 	  pic_flag=$lt_prog_compiler_pic
   16639 	  compiler_flags=-v
   16640 	  linker_flags=-v
   16641 	  verstring=
   16642 	  output_objdir=.
   16643 	  libname=conftest
   16644 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16645 	  allow_undefined_flag=
   16646 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16647   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16648   ac_status=$?
   16649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16650   test $ac_status = 0; }
   16651 	  then
   16652 	    lt_cv_archive_cmds_need_lc=no
   16653 	  else
   16654 	    lt_cv_archive_cmds_need_lc=yes
   16655 	  fi
   16656 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16657 	else
   16658 	  cat conftest.err 1>&5
   16659 	fi
   16660 	$RM conftest*
   16661 
   16662 fi
   16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16664 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16665       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16666       ;;
   16667     esac
   16668   fi
   16669   ;;
   16670 esac
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16824 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16825 
   16826 if test yes = "$GCC"; then
   16827   case $host_os in
   16828     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16829     *) lt_awk_arg='/^libraries:/' ;;
   16830   esac
   16831   case $host_os in
   16832     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16833     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16834   esac
   16835   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16836   case $lt_search_path_spec in
   16837   *\;*)
   16838     # if the path contains ";" then we assume it to be the separator
   16839     # otherwise default to the standard path separator (i.e. ":") - it is
   16840     # assumed that no part of a normal pathname contains ";" but that should
   16841     # okay in the real world where ";" in dirpaths is itself problematic.
   16842     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16843     ;;
   16844   *)
   16845     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16846     ;;
   16847   esac
   16848   # Ok, now we have the path, separated by spaces, we can step through it
   16849   # and add multilib dir if necessary...
   16850   lt_tmp_lt_search_path_spec=
   16851   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16852   # ...but if some path component already ends with the multilib dir we assume
   16853   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16854   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16855   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16856     lt_multi_os_dir=
   16857     ;;
   16858   esac
   16859   for lt_sys_path in $lt_search_path_spec; do
   16860     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16861       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16862     elif test -n "$lt_multi_os_dir"; then
   16863       test -d "$lt_sys_path" && \
   16864 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16865     fi
   16866   done
   16867   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16868 BEGIN {RS = " "; FS = "/|\n";} {
   16869   lt_foo = "";
   16870   lt_count = 0;
   16871   for (lt_i = NF; lt_i > 0; lt_i--) {
   16872     if ($lt_i != "" && $lt_i != ".") {
   16873       if ($lt_i == "..") {
   16874         lt_count++;
   16875       } else {
   16876         if (lt_count == 0) {
   16877           lt_foo = "/" $lt_i lt_foo;
   16878         } else {
   16879           lt_count--;
   16880         }
   16881       }
   16882     }
   16883   }
   16884   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16885   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16886 }'`
   16887   # AWK program above erroneously prepends '/' to C:/dos/paths
   16888   # for these hosts.
   16889   case $host_os in
   16890     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16891       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16892   esac
   16893   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16894 else
   16895   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16896 fi
   16897 library_names_spec=
   16898 libname_spec='lib$name'
   16899 soname_spec=
   16900 shrext_cmds=.so
   16901 postinstall_cmds=
   16902 postuninstall_cmds=
   16903 finish_cmds=
   16904 finish_eval=
   16905 shlibpath_var=
   16906 shlibpath_overrides_runpath=unknown
   16907 version_type=none
   16908 dynamic_linker="$host_os ld.so"
   16909 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16910 need_lib_prefix=unknown
   16911 hardcode_into_libs=no
   16912 
   16913 # when you set need_version to no, make sure it does not cause -set_version
   16914 # flags to be left without arguments
   16915 need_version=unknown
   16916 
   16917 
   16918 
   16919 case $host_os in
   16920 aix3*)
   16921   version_type=linux # correct to gnu/linux during the next big refactor
   16922   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16923   shlibpath_var=LIBPATH
   16924 
   16925   # AIX 3 has no versioning support, so we append a major version to the name.
   16926   soname_spec='$libname$release$shared_ext$major'
   16927   ;;
   16928 
   16929 aix[4-9]*)
   16930   version_type=linux # correct to gnu/linux during the next big refactor
   16931   need_lib_prefix=no
   16932   need_version=no
   16933   hardcode_into_libs=yes
   16934   if test ia64 = "$host_cpu"; then
   16935     # AIX 5 supports IA64
   16936     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16937     shlibpath_var=LD_LIBRARY_PATH
   16938   else
   16939     # With GCC up to 2.95.x, collect2 would create an import file
   16940     # for dependence libraries.  The import file would start with
   16941     # the line '#! .'.  This would cause the generated library to
   16942     # depend on '.', always an invalid library.  This was fixed in
   16943     # development snapshots of GCC prior to 3.0.
   16944     case $host_os in
   16945       aix4 | aix4.[01] | aix4.[01].*)
   16946       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16947 	   echo ' yes '
   16948 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16949 	:
   16950       else
   16951 	can_build_shared=no
   16952       fi
   16953       ;;
   16954     esac
   16955     # Using Import Files as archive members, it is possible to support
   16956     # filename-based versioning of shared library archives on AIX. While
   16957     # this would work for both with and without runtime linking, it will
   16958     # prevent static linking of such archives. So we do filename-based
   16959     # shared library versioning with .so extension only, which is used
   16960     # when both runtime linking and shared linking is enabled.
   16961     # Unfortunately, runtime linking may impact performance, so we do
   16962     # not want this to be the default eventually. Also, we use the
   16963     # versioned .so libs for executables only if there is the -brtl
   16964     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16965     # To allow for filename-based versioning support, we need to create
   16966     # libNAME.so.V as an archive file, containing:
   16967     # *) an Import File, referring to the versioned filename of the
   16968     #    archive as well as the shared archive member, telling the
   16969     #    bitwidth (32 or 64) of that shared object, and providing the
   16970     #    list of exported symbols of that shared object, eventually
   16971     #    decorated with the 'weak' keyword
   16972     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16973     #    it being seen by the linker.
   16974     # At run time we better use the real file rather than another symlink,
   16975     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16976 
   16977     case $with_aix_soname,$aix_use_runtimelinking in
   16978     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   16979     # soname into executable. Probably we can add versioning support to
   16980     # collect2, so additional links can be useful in future.
   16981     aix,yes) # traditional libtool
   16982       dynamic_linker='AIX unversionable lib.so'
   16983       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16984       # instead of lib<name>.a to let people know that these are not
   16985       # typical AIX shared libraries.
   16986       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16987       ;;
   16988     aix,no) # traditional AIX only
   16989       dynamic_linker='AIX lib.a(lib.so.V)'
   16990       # We preserve .a as extension for shared libraries through AIX4.2
   16991       # and later when we are not doing run time linking.
   16992       library_names_spec='$libname$release.a $libname.a'
   16993       soname_spec='$libname$release$shared_ext$major'
   16994       ;;
   16995     svr4,*) # full svr4 only
   16996       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   16997       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   16998       # We do not specify a path in Import Files, so LIBPATH fires.
   16999       shlibpath_overrides_runpath=yes
   17000       ;;
   17001     *,yes) # both, prefer svr4
   17002       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17003       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17004       # unpreferred sharedlib libNAME.a needs extra handling
   17005       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   17006       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   17007       # We do not specify a path in Import Files, so LIBPATH fires.
   17008       shlibpath_overrides_runpath=yes
   17009       ;;
   17010     *,no) # both, prefer aix
   17011       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17012       library_names_spec='$libname$release.a $libname.a'
   17013       soname_spec='$libname$release$shared_ext$major'
   17014       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17015       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   17016       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   17017       ;;
   17018     esac
   17019     shlibpath_var=LIBPATH
   17020   fi
   17021   ;;
   17022 
   17023 amigaos*)
   17024   case $host_cpu in
   17025   powerpc)
   17026     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17027     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17028     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17029     ;;
   17030   m68k)
   17031     library_names_spec='$libname.ixlibrary $libname.a'
   17032     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17033     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   17034     ;;
   17035   esac
   17036   ;;
   17037 
   17038 beos*)
   17039   library_names_spec='$libname$shared_ext'
   17040   dynamic_linker="$host_os ld.so"
   17041   shlibpath_var=LIBRARY_PATH
   17042   ;;
   17043 
   17044 bsdi[45]*)
   17045   version_type=linux # correct to gnu/linux during the next big refactor
   17046   need_version=no
   17047   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17048   soname_spec='$libname$release$shared_ext$major'
   17049   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17050   shlibpath_var=LD_LIBRARY_PATH
   17051   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17052   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17053   # the default ld.so.conf also contains /usr/contrib/lib and
   17054   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17055   # libtool to hard-code these into programs
   17056   ;;
   17057 
   17058 cygwin* | mingw* | pw32* | cegcc*)
   17059   version_type=windows
   17060   shrext_cmds=.dll
   17061   need_version=no
   17062   need_lib_prefix=no
   17063 
   17064   case $GCC,$cc_basename in
   17065   yes,*)
   17066     # gcc
   17067     library_names_spec='$libname.dll.a'
   17068     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17069     postinstall_cmds='base_file=`basename \$file`~
   17070       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17071       dldir=$destdir/`dirname \$dlpath`~
   17072       test -d \$dldir || mkdir -p \$dldir~
   17073       $install_prog $dir/$dlname \$dldir/$dlname~
   17074       chmod a+x \$dldir/$dlname~
   17075       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17076         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17077       fi'
   17078     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17079       dlpath=$dir/\$dldll~
   17080        $RM \$dlpath'
   17081     shlibpath_overrides_runpath=yes
   17082 
   17083     case $host_os in
   17084     cygwin*)
   17085       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17086       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17087 
   17088       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17089       ;;
   17090     mingw* | cegcc*)
   17091       # MinGW DLLs use traditional 'lib' prefix
   17092       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17093       ;;
   17094     pw32*)
   17095       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17096       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17097       ;;
   17098     esac
   17099     dynamic_linker='Win32 ld.exe'
   17100     ;;
   17101 
   17102   *,cl*)
   17103     # Native MSVC
   17104     libname_spec='$name'
   17105     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17106     library_names_spec='$libname.dll.lib'
   17107 
   17108     case $build_os in
   17109     mingw*)
   17110       sys_lib_search_path_spec=
   17111       lt_save_ifs=$IFS
   17112       IFS=';'
   17113       for lt_path in $LIB
   17114       do
   17115         IFS=$lt_save_ifs
   17116         # Let DOS variable expansion print the short 8.3 style file name.
   17117         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17118         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17119       done
   17120       IFS=$lt_save_ifs
   17121       # Convert to MSYS style.
   17122       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17123       ;;
   17124     cygwin*)
   17125       # Convert to unix form, then to dos form, then back to unix form
   17126       # but this time dos style (no spaces!) so that the unix form looks
   17127       # like /cygdrive/c/PROGRA~1:/cygdr...
   17128       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17129       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17130       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17131       ;;
   17132     *)
   17133       sys_lib_search_path_spec=$LIB
   17134       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17135         # It is most probably a Windows format PATH.
   17136         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17137       else
   17138         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17139       fi
   17140       # FIXME: find the short name or the path components, as spaces are
   17141       # common. (e.g. "Program Files" -> "PROGRA~1")
   17142       ;;
   17143     esac
   17144 
   17145     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17146     postinstall_cmds='base_file=`basename \$file`~
   17147       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17148       dldir=$destdir/`dirname \$dlpath`~
   17149       test -d \$dldir || mkdir -p \$dldir~
   17150       $install_prog $dir/$dlname \$dldir/$dlname'
   17151     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17152       dlpath=$dir/\$dldll~
   17153        $RM \$dlpath'
   17154     shlibpath_overrides_runpath=yes
   17155     dynamic_linker='Win32 link.exe'
   17156     ;;
   17157 
   17158   *)
   17159     # Assume MSVC wrapper
   17160     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17161     dynamic_linker='Win32 ld.exe'
   17162     ;;
   17163   esac
   17164   # FIXME: first we should search . and the directory the executable is in
   17165   shlibpath_var=PATH
   17166   ;;
   17167 
   17168 darwin* | rhapsody*)
   17169   dynamic_linker="$host_os dyld"
   17170   version_type=darwin
   17171   need_lib_prefix=no
   17172   need_version=no
   17173   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17174   soname_spec='$libname$release$major$shared_ext'
   17175   shlibpath_overrides_runpath=yes
   17176   shlibpath_var=DYLD_LIBRARY_PATH
   17177   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17178 
   17179   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17180   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17181   ;;
   17182 
   17183 dgux*)
   17184   version_type=linux # correct to gnu/linux during the next big refactor
   17185   need_lib_prefix=no
   17186   need_version=no
   17187   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17188   soname_spec='$libname$release$shared_ext$major'
   17189   shlibpath_var=LD_LIBRARY_PATH
   17190   ;;
   17191 
   17192 freebsd* | dragonfly*)
   17193   # DragonFly does not have aout.  When/if they implement a new
   17194   # versioning mechanism, adjust this.
   17195   if test -x /usr/bin/objformat; then
   17196     objformat=`/usr/bin/objformat`
   17197   else
   17198     case $host_os in
   17199     freebsd[23].*) objformat=aout ;;
   17200     *) objformat=elf ;;
   17201     esac
   17202   fi
   17203   version_type=freebsd-$objformat
   17204   case $version_type in
   17205     freebsd-elf*)
   17206       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17207       soname_spec='$libname$release$shared_ext$major'
   17208       need_version=no
   17209       need_lib_prefix=no
   17210       ;;
   17211     freebsd-*)
   17212       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17213       need_version=yes
   17214       ;;
   17215   esac
   17216   shlibpath_var=LD_LIBRARY_PATH
   17217   case $host_os in
   17218   freebsd2.*)
   17219     shlibpath_overrides_runpath=yes
   17220     ;;
   17221   freebsd3.[01]* | freebsdelf3.[01]*)
   17222     shlibpath_overrides_runpath=yes
   17223     hardcode_into_libs=yes
   17224     ;;
   17225   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17226   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17227     shlibpath_overrides_runpath=no
   17228     hardcode_into_libs=yes
   17229     ;;
   17230   *) # from 4.6 on, and DragonFly
   17231     shlibpath_overrides_runpath=yes
   17232     hardcode_into_libs=yes
   17233     ;;
   17234   esac
   17235   ;;
   17236 
   17237 haiku*)
   17238   version_type=linux # correct to gnu/linux during the next big refactor
   17239   need_lib_prefix=no
   17240   need_version=no
   17241   dynamic_linker="$host_os runtime_loader"
   17242   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17243   soname_spec='$libname$release$shared_ext$major'
   17244   shlibpath_var=LIBRARY_PATH
   17245   shlibpath_overrides_runpath=no
   17246   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17247   hardcode_into_libs=yes
   17248   ;;
   17249 
   17250 hpux9* | hpux10* | hpux11*)
   17251   # Give a soname corresponding to the major version so that dld.sl refuses to
   17252   # link against other versions.
   17253   version_type=sunos
   17254   need_lib_prefix=no
   17255   need_version=no
   17256   case $host_cpu in
   17257   ia64*)
   17258     shrext_cmds='.so'
   17259     hardcode_into_libs=yes
   17260     dynamic_linker="$host_os dld.so"
   17261     shlibpath_var=LD_LIBRARY_PATH
   17262     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17263     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17264     soname_spec='$libname$release$shared_ext$major'
   17265     if test 32 = "$HPUX_IA64_MODE"; then
   17266       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17267       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17268     else
   17269       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17270       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17271     fi
   17272     ;;
   17273   hppa*64*)
   17274     shrext_cmds='.sl'
   17275     hardcode_into_libs=yes
   17276     dynamic_linker="$host_os dld.sl"
   17277     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17278     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17279     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17280     soname_spec='$libname$release$shared_ext$major'
   17281     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17282     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17283     ;;
   17284   *)
   17285     shrext_cmds='.sl'
   17286     dynamic_linker="$host_os dld.sl"
   17287     shlibpath_var=SHLIB_PATH
   17288     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17289     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17290     soname_spec='$libname$release$shared_ext$major'
   17291     ;;
   17292   esac
   17293   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17294   postinstall_cmds='chmod 555 $lib'
   17295   # or fails outright, so override atomically:
   17296   install_override_mode=555
   17297   ;;
   17298 
   17299 interix[3-9]*)
   17300   version_type=linux # correct to gnu/linux during the next big refactor
   17301   need_lib_prefix=no
   17302   need_version=no
   17303   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17304   soname_spec='$libname$release$shared_ext$major'
   17305   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17306   shlibpath_var=LD_LIBRARY_PATH
   17307   shlibpath_overrides_runpath=no
   17308   hardcode_into_libs=yes
   17309   ;;
   17310 
   17311 irix5* | irix6* | nonstopux*)
   17312   case $host_os in
   17313     nonstopux*) version_type=nonstopux ;;
   17314     *)
   17315 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17316 		version_type=linux # correct to gnu/linux during the next big refactor
   17317 	else
   17318 		version_type=irix
   17319 	fi ;;
   17320   esac
   17321   need_lib_prefix=no
   17322   need_version=no
   17323   soname_spec='$libname$release$shared_ext$major'
   17324   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17325   case $host_os in
   17326   irix5* | nonstopux*)
   17327     libsuff= shlibsuff=
   17328     ;;
   17329   *)
   17330     case $LD in # libtool.m4 will add one of these switches to LD
   17331     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17332       libsuff= shlibsuff= libmagic=32-bit;;
   17333     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17334       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17335     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17336       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17337     *) libsuff= shlibsuff= libmagic=never-match;;
   17338     esac
   17339     ;;
   17340   esac
   17341   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17342   shlibpath_overrides_runpath=no
   17343   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17344   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17345   hardcode_into_libs=yes
   17346   ;;
   17347 
   17348 # No shared lib support for Linux oldld, aout, or coff.
   17349 linux*oldld* | linux*aout* | linux*coff*)
   17350   dynamic_linker=no
   17351   ;;
   17352 
   17353 linux*android*)
   17354   version_type=none # Android doesn't support versioned libraries.
   17355   need_lib_prefix=no
   17356   need_version=no
   17357   library_names_spec='$libname$release$shared_ext'
   17358   soname_spec='$libname$release$shared_ext'
   17359   finish_cmds=
   17360   shlibpath_var=LD_LIBRARY_PATH
   17361   shlibpath_overrides_runpath=yes
   17362 
   17363   # This implies no fast_install, which is unacceptable.
   17364   # Some rework will be needed to allow for fast_install
   17365   # before this can be enabled.
   17366   hardcode_into_libs=yes
   17367 
   17368   dynamic_linker='Android linker'
   17369   # Don't embed -rpath directories since the linker doesn't support them.
   17370   hardcode_libdir_flag_spec='-L$libdir'
   17371   ;;
   17372 
   17373 # This must be glibc/ELF.
   17374 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17375   version_type=linux # correct to gnu/linux during the next big refactor
   17376   need_lib_prefix=no
   17377   need_version=no
   17378   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17379   soname_spec='$libname$release$shared_ext$major'
   17380   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17381   shlibpath_var=LD_LIBRARY_PATH
   17382   shlibpath_overrides_runpath=no
   17383 
   17384   # Some binutils ld are patched to set DT_RUNPATH
   17385   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17386   $as_echo_n "(cached) " >&6
   17387 else
   17388   lt_cv_shlibpath_overrides_runpath=no
   17389     save_LDFLAGS=$LDFLAGS
   17390     save_libdir=$libdir
   17391     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17392 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17393     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17394 /* end confdefs.h.  */
   17395 
   17396 int
   17397 main ()
   17398 {
   17399 
   17400   ;
   17401   return 0;
   17402 }
   17403 _ACEOF
   17404 if ac_fn_c_try_link "$LINENO"; then :
   17405   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17406   lt_cv_shlibpath_overrides_runpath=yes
   17407 fi
   17408 fi
   17409 rm -f core conftest.err conftest.$ac_objext \
   17410     conftest$ac_exeext conftest.$ac_ext
   17411     LDFLAGS=$save_LDFLAGS
   17412     libdir=$save_libdir
   17413 
   17414 fi
   17415 
   17416   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17417 
   17418   # This implies no fast_install, which is unacceptable.
   17419   # Some rework will be needed to allow for fast_install
   17420   # before this can be enabled.
   17421   hardcode_into_libs=yes
   17422 
   17423   # Ideally, we could use ldconfig to report *all* directores which are
   17424   # searched for libraries, however this is still not possible.  Aside from not
   17425   # being certain /sbin/ldconfig is available, command
   17426   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17427   # even though it is searched at run-time.  Try to do the best guess by
   17428   # appending ld.so.conf contents (and includes) to the search path.
   17429   if test -f /etc/ld.so.conf; then
   17430     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' ' '`
   17431     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17432   fi
   17433 
   17434   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17435   # powerpc, because MkLinux only supported shared libraries with the
   17436   # GNU dynamic linker.  Since this was broken with cross compilers,
   17437   # most powerpc-linux boxes support dynamic linking these days and
   17438   # people can always --disable-shared, the test was removed, and we
   17439   # assume the GNU/Linux dynamic linker is in use.
   17440   dynamic_linker='GNU/Linux ld.so'
   17441   ;;
   17442 
   17443 netbsdelf*-gnu)
   17444   version_type=linux
   17445   need_lib_prefix=no
   17446   need_version=no
   17447   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17448   soname_spec='${libname}${release}${shared_ext}$major'
   17449   shlibpath_var=LD_LIBRARY_PATH
   17450   shlibpath_overrides_runpath=no
   17451   hardcode_into_libs=yes
   17452   dynamic_linker='NetBSD ld.elf_so'
   17453   ;;
   17454 
   17455 netbsd*)
   17456   version_type=sunos
   17457   need_lib_prefix=no
   17458   need_version=no
   17459   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17460     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17461     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17462     dynamic_linker='NetBSD (a.out) ld.so'
   17463   else
   17464     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17465     soname_spec='$libname$release$shared_ext$major'
   17466     dynamic_linker='NetBSD ld.elf_so'
   17467   fi
   17468   shlibpath_var=LD_LIBRARY_PATH
   17469   shlibpath_overrides_runpath=yes
   17470   hardcode_into_libs=yes
   17471   ;;
   17472 
   17473 newsos6)
   17474   version_type=linux # correct to gnu/linux during the next big refactor
   17475   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17476   shlibpath_var=LD_LIBRARY_PATH
   17477   shlibpath_overrides_runpath=yes
   17478   ;;
   17479 
   17480 *nto* | *qnx*)
   17481   version_type=qnx
   17482   need_lib_prefix=no
   17483   need_version=no
   17484   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17485   soname_spec='$libname$release$shared_ext$major'
   17486   shlibpath_var=LD_LIBRARY_PATH
   17487   shlibpath_overrides_runpath=no
   17488   hardcode_into_libs=yes
   17489   dynamic_linker='ldqnx.so'
   17490   ;;
   17491 
   17492 openbsd* | bitrig*)
   17493   version_type=sunos
   17494   sys_lib_dlsearch_path_spec=/usr/lib
   17495   need_lib_prefix=no
   17496   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17497     need_version=no
   17498   else
   17499     need_version=yes
   17500   fi
   17501   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17502   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17503   shlibpath_var=LD_LIBRARY_PATH
   17504   shlibpath_overrides_runpath=yes
   17505   ;;
   17506 
   17507 os2*)
   17508   libname_spec='$name'
   17509   version_type=windows
   17510   shrext_cmds=.dll
   17511   need_version=no
   17512   need_lib_prefix=no
   17513   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17514   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17515     v=$($ECHO $release$versuffix | tr -d .-);
   17516     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17517     $ECHO $n$v`$shared_ext'
   17518   library_names_spec='${libname}_dll.$libext'
   17519   dynamic_linker='OS/2 ld.exe'
   17520   shlibpath_var=BEGINLIBPATH
   17521   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17522   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17523   postinstall_cmds='base_file=`basename \$file`~
   17524     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17525     dldir=$destdir/`dirname \$dlpath`~
   17526     test -d \$dldir || mkdir -p \$dldir~
   17527     $install_prog $dir/$dlname \$dldir/$dlname~
   17528     chmod a+x \$dldir/$dlname~
   17529     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17530       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17531     fi'
   17532   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17533     dlpath=$dir/\$dldll~
   17534     $RM \$dlpath'
   17535   ;;
   17536 
   17537 osf3* | osf4* | osf5*)
   17538   version_type=osf
   17539   need_lib_prefix=no
   17540   need_version=no
   17541   soname_spec='$libname$release$shared_ext$major'
   17542   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17543   shlibpath_var=LD_LIBRARY_PATH
   17544   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17545   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17546   ;;
   17547 
   17548 rdos*)
   17549   dynamic_linker=no
   17550   ;;
   17551 
   17552 solaris*)
   17553   version_type=linux # correct to gnu/linux during the next big refactor
   17554   need_lib_prefix=no
   17555   need_version=no
   17556   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17557   soname_spec='$libname$release$shared_ext$major'
   17558   shlibpath_var=LD_LIBRARY_PATH
   17559   shlibpath_overrides_runpath=yes
   17560   hardcode_into_libs=yes
   17561   # ldd complains unless libraries are executable
   17562   postinstall_cmds='chmod +x $lib'
   17563   ;;
   17564 
   17565 sunos4*)
   17566   version_type=sunos
   17567   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17568   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17569   shlibpath_var=LD_LIBRARY_PATH
   17570   shlibpath_overrides_runpath=yes
   17571   if test yes = "$with_gnu_ld"; then
   17572     need_lib_prefix=no
   17573   fi
   17574   need_version=yes
   17575   ;;
   17576 
   17577 sysv4 | sysv4.3*)
   17578   version_type=linux # correct to gnu/linux during the next big refactor
   17579   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17580   soname_spec='$libname$release$shared_ext$major'
   17581   shlibpath_var=LD_LIBRARY_PATH
   17582   case $host_vendor in
   17583     sni)
   17584       shlibpath_overrides_runpath=no
   17585       need_lib_prefix=no
   17586       runpath_var=LD_RUN_PATH
   17587       ;;
   17588     siemens)
   17589       need_lib_prefix=no
   17590       ;;
   17591     motorola)
   17592       need_lib_prefix=no
   17593       need_version=no
   17594       shlibpath_overrides_runpath=no
   17595       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17596       ;;
   17597   esac
   17598   ;;
   17599 
   17600 sysv4*MP*)
   17601   if test -d /usr/nec; then
   17602     version_type=linux # correct to gnu/linux during the next big refactor
   17603     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17604     soname_spec='$libname$shared_ext.$major'
   17605     shlibpath_var=LD_LIBRARY_PATH
   17606   fi
   17607   ;;
   17608 
   17609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17610   version_type=sco
   17611   need_lib_prefix=no
   17612   need_version=no
   17613   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17614   soname_spec='$libname$release$shared_ext$major'
   17615   shlibpath_var=LD_LIBRARY_PATH
   17616   shlibpath_overrides_runpath=yes
   17617   hardcode_into_libs=yes
   17618   if test yes = "$with_gnu_ld"; then
   17619     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17620   else
   17621     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17622     case $host_os in
   17623       sco3.2v5*)
   17624         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17625 	;;
   17626     esac
   17627   fi
   17628   sys_lib_dlsearch_path_spec='/usr/lib'
   17629   ;;
   17630 
   17631 tpf*)
   17632   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17633   version_type=linux # correct to gnu/linux during the next big refactor
   17634   need_lib_prefix=no
   17635   need_version=no
   17636   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17637   shlibpath_var=LD_LIBRARY_PATH
   17638   shlibpath_overrides_runpath=no
   17639   hardcode_into_libs=yes
   17640   ;;
   17641 
   17642 uts4*)
   17643   version_type=linux # correct to gnu/linux during the next big refactor
   17644   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17645   soname_spec='$libname$release$shared_ext$major'
   17646   shlibpath_var=LD_LIBRARY_PATH
   17647   ;;
   17648 
   17649 *)
   17650   dynamic_linker=no
   17651   ;;
   17652 esac
   17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17654 $as_echo "$dynamic_linker" >&6; }
   17655 test no = "$dynamic_linker" && can_build_shared=no
   17656 
   17657 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17658 if test yes = "$GCC"; then
   17659   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17660 fi
   17661 
   17662 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17663   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17664 fi
   17665 
   17666 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17667   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17668 fi
   17669 
   17670 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17671 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17672 
   17673 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17674 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17675 
   17676 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17677 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17777 hardcode_action=
   17778 if test -n "$hardcode_libdir_flag_spec" ||
   17779    test -n "$runpath_var" ||
   17780    test yes = "$hardcode_automatic"; then
   17781 
   17782   # We can hardcode non-existent directories.
   17783   if test no != "$hardcode_direct" &&
   17784      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17785      # have to relink, otherwise we might link with an installed library
   17786      # when we should be linking with a yet-to-be-installed one
   17787      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17788      test no != "$hardcode_minus_L"; then
   17789     # Linking always hardcodes the temporary library directory.
   17790     hardcode_action=relink
   17791   else
   17792     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17793     hardcode_action=immediate
   17794   fi
   17795 else
   17796   # We cannot hardcode anything, or else we can only hardcode existing
   17797   # directories.
   17798   hardcode_action=unsupported
   17799 fi
   17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17801 $as_echo "$hardcode_action" >&6; }
   17802 
   17803 if test relink = "$hardcode_action" ||
   17804    test yes = "$inherit_rpath"; then
   17805   # Fast installation is not supported
   17806   enable_fast_install=no
   17807 elif test yes = "$shlibpath_overrides_runpath" ||
   17808      test no = "$enable_shared"; then
   17809   # Fast installation is not necessary
   17810   enable_fast_install=needless
   17811 fi
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818   if test yes != "$enable_dlopen"; then
   17819   enable_dlopen=unknown
   17820   enable_dlopen_self=unknown
   17821   enable_dlopen_self_static=unknown
   17822 else
   17823   lt_cv_dlopen=no
   17824   lt_cv_dlopen_libs=
   17825 
   17826   case $host_os in
   17827   beos*)
   17828     lt_cv_dlopen=load_add_on
   17829     lt_cv_dlopen_libs=
   17830     lt_cv_dlopen_self=yes
   17831     ;;
   17832 
   17833   mingw* | pw32* | cegcc*)
   17834     lt_cv_dlopen=LoadLibrary
   17835     lt_cv_dlopen_libs=
   17836     ;;
   17837 
   17838   cygwin*)
   17839     lt_cv_dlopen=dlopen
   17840     lt_cv_dlopen_libs=
   17841     ;;
   17842 
   17843   darwin*)
   17844     # if libdl is installed we need to link against it
   17845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17846 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17847 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17848   $as_echo_n "(cached) " >&6
   17849 else
   17850   ac_check_lib_save_LIBS=$LIBS
   17851 LIBS="-ldl  $LIBS"
   17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17853 /* end confdefs.h.  */
   17854 
   17855 /* Override any GCC internal prototype to avoid an error.
   17856    Use char because int might match the return type of a GCC
   17857    builtin and then its argument prototype would still apply.  */
   17858 #ifdef __cplusplus
   17859 extern "C"
   17860 #endif
   17861 char dlopen ();
   17862 int
   17863 main ()
   17864 {
   17865 return dlopen ();
   17866   ;
   17867   return 0;
   17868 }
   17869 _ACEOF
   17870 if ac_fn_c_try_link "$LINENO"; then :
   17871   ac_cv_lib_dl_dlopen=yes
   17872 else
   17873   ac_cv_lib_dl_dlopen=no
   17874 fi
   17875 rm -f core conftest.err conftest.$ac_objext \
   17876     conftest$ac_exeext conftest.$ac_ext
   17877 LIBS=$ac_check_lib_save_LIBS
   17878 fi
   17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17880 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17881 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17882   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17883 else
   17884 
   17885     lt_cv_dlopen=dyld
   17886     lt_cv_dlopen_libs=
   17887     lt_cv_dlopen_self=yes
   17888 
   17889 fi
   17890 
   17891     ;;
   17892 
   17893   tpf*)
   17894     # Don't try to run any link tests for TPF.  We know it's impossible
   17895     # because TPF is a cross-compiler, and we know how we open DSOs.
   17896     lt_cv_dlopen=dlopen
   17897     lt_cv_dlopen_libs=
   17898     lt_cv_dlopen_self=no
   17899     ;;
   17900 
   17901   *)
   17902     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17903 if test "x$ac_cv_func_shl_load" = xyes; then :
   17904   lt_cv_dlopen=shl_load
   17905 else
   17906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17907 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17908 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17909   $as_echo_n "(cached) " >&6
   17910 else
   17911   ac_check_lib_save_LIBS=$LIBS
   17912 LIBS="-ldld  $LIBS"
   17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17914 /* end confdefs.h.  */
   17915 
   17916 /* Override any GCC internal prototype to avoid an error.
   17917    Use char because int might match the return type of a GCC
   17918    builtin and then its argument prototype would still apply.  */
   17919 #ifdef __cplusplus
   17920 extern "C"
   17921 #endif
   17922 char shl_load ();
   17923 int
   17924 main ()
   17925 {
   17926 return shl_load ();
   17927   ;
   17928   return 0;
   17929 }
   17930 _ACEOF
   17931 if ac_fn_c_try_link "$LINENO"; then :
   17932   ac_cv_lib_dld_shl_load=yes
   17933 else
   17934   ac_cv_lib_dld_shl_load=no
   17935 fi
   17936 rm -f core conftest.err conftest.$ac_objext \
   17937     conftest$ac_exeext conftest.$ac_ext
   17938 LIBS=$ac_check_lib_save_LIBS
   17939 fi
   17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17941 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17942 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17943   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17944 else
   17945   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17946 if test "x$ac_cv_func_dlopen" = xyes; then :
   17947   lt_cv_dlopen=dlopen
   17948 else
   17949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17950 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17951 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17952   $as_echo_n "(cached) " >&6
   17953 else
   17954   ac_check_lib_save_LIBS=$LIBS
   17955 LIBS="-ldl  $LIBS"
   17956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17957 /* end confdefs.h.  */
   17958 
   17959 /* Override any GCC internal prototype to avoid an error.
   17960    Use char because int might match the return type of a GCC
   17961    builtin and then its argument prototype would still apply.  */
   17962 #ifdef __cplusplus
   17963 extern "C"
   17964 #endif
   17965 char dlopen ();
   17966 int
   17967 main ()
   17968 {
   17969 return dlopen ();
   17970   ;
   17971   return 0;
   17972 }
   17973 _ACEOF
   17974 if ac_fn_c_try_link "$LINENO"; then :
   17975   ac_cv_lib_dl_dlopen=yes
   17976 else
   17977   ac_cv_lib_dl_dlopen=no
   17978 fi
   17979 rm -f core conftest.err conftest.$ac_objext \
   17980     conftest$ac_exeext conftest.$ac_ext
   17981 LIBS=$ac_check_lib_save_LIBS
   17982 fi
   17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17984 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17985 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17986   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17987 else
   17988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17989 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17990 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17991   $as_echo_n "(cached) " >&6
   17992 else
   17993   ac_check_lib_save_LIBS=$LIBS
   17994 LIBS="-lsvld  $LIBS"
   17995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17996 /* end confdefs.h.  */
   17997 
   17998 /* Override any GCC internal prototype to avoid an error.
   17999    Use char because int might match the return type of a GCC
   18000    builtin and then its argument prototype would still apply.  */
   18001 #ifdef __cplusplus
   18002 extern "C"
   18003 #endif
   18004 char dlopen ();
   18005 int
   18006 main ()
   18007 {
   18008 return dlopen ();
   18009   ;
   18010   return 0;
   18011 }
   18012 _ACEOF
   18013 if ac_fn_c_try_link "$LINENO"; then :
   18014   ac_cv_lib_svld_dlopen=yes
   18015 else
   18016   ac_cv_lib_svld_dlopen=no
   18017 fi
   18018 rm -f core conftest.err conftest.$ac_objext \
   18019     conftest$ac_exeext conftest.$ac_ext
   18020 LIBS=$ac_check_lib_save_LIBS
   18021 fi
   18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18023 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18024 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18025   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18026 else
   18027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18028 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18029 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18030   $as_echo_n "(cached) " >&6
   18031 else
   18032   ac_check_lib_save_LIBS=$LIBS
   18033 LIBS="-ldld  $LIBS"
   18034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18035 /* end confdefs.h.  */
   18036 
   18037 /* Override any GCC internal prototype to avoid an error.
   18038    Use char because int might match the return type of a GCC
   18039    builtin and then its argument prototype would still apply.  */
   18040 #ifdef __cplusplus
   18041 extern "C"
   18042 #endif
   18043 char dld_link ();
   18044 int
   18045 main ()
   18046 {
   18047 return dld_link ();
   18048   ;
   18049   return 0;
   18050 }
   18051 _ACEOF
   18052 if ac_fn_c_try_link "$LINENO"; then :
   18053   ac_cv_lib_dld_dld_link=yes
   18054 else
   18055   ac_cv_lib_dld_dld_link=no
   18056 fi
   18057 rm -f core conftest.err conftest.$ac_objext \
   18058     conftest$ac_exeext conftest.$ac_ext
   18059 LIBS=$ac_check_lib_save_LIBS
   18060 fi
   18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18062 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18063 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18064   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18065 fi
   18066 
   18067 
   18068 fi
   18069 
   18070 
   18071 fi
   18072 
   18073 
   18074 fi
   18075 
   18076 
   18077 fi
   18078 
   18079 
   18080 fi
   18081 
   18082     ;;
   18083   esac
   18084 
   18085   if test no = "$lt_cv_dlopen"; then
   18086     enable_dlopen=no
   18087   else
   18088     enable_dlopen=yes
   18089   fi
   18090 
   18091   case $lt_cv_dlopen in
   18092   dlopen)
   18093     save_CPPFLAGS=$CPPFLAGS
   18094     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18095 
   18096     save_LDFLAGS=$LDFLAGS
   18097     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18098 
   18099     save_LIBS=$LIBS
   18100     LIBS="$lt_cv_dlopen_libs $LIBS"
   18101 
   18102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18103 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18104 if ${lt_cv_dlopen_self+:} false; then :
   18105   $as_echo_n "(cached) " >&6
   18106 else
   18107   	  if test yes = "$cross_compiling"; then :
   18108   lt_cv_dlopen_self=cross
   18109 else
   18110   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18111   lt_status=$lt_dlunknown
   18112   cat > conftest.$ac_ext <<_LT_EOF
   18113 #line $LINENO "configure"
   18114 #include "confdefs.h"
   18115 
   18116 #if HAVE_DLFCN_H
   18117 #include <dlfcn.h>
   18118 #endif
   18119 
   18120 #include <stdio.h>
   18121 
   18122 #ifdef RTLD_GLOBAL
   18123 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18124 #else
   18125 #  ifdef DL_GLOBAL
   18126 #    define LT_DLGLOBAL		DL_GLOBAL
   18127 #  else
   18128 #    define LT_DLGLOBAL		0
   18129 #  endif
   18130 #endif
   18131 
   18132 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18133    find out it does not work in some platform. */
   18134 #ifndef LT_DLLAZY_OR_NOW
   18135 #  ifdef RTLD_LAZY
   18136 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18137 #  else
   18138 #    ifdef DL_LAZY
   18139 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18140 #    else
   18141 #      ifdef RTLD_NOW
   18142 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18143 #      else
   18144 #        ifdef DL_NOW
   18145 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18146 #        else
   18147 #          define LT_DLLAZY_OR_NOW	0
   18148 #        endif
   18149 #      endif
   18150 #    endif
   18151 #  endif
   18152 #endif
   18153 
   18154 /* When -fvisibility=hidden is used, assume the code has been annotated
   18155    correspondingly for the symbols needed.  */
   18156 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18157 int fnord () __attribute__((visibility("default")));
   18158 #endif
   18159 
   18160 int fnord () { return 42; }
   18161 int main ()
   18162 {
   18163   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18164   int status = $lt_dlunknown;
   18165 
   18166   if (self)
   18167     {
   18168       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18169       else
   18170         {
   18171 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18172           else puts (dlerror ());
   18173 	}
   18174       /* dlclose (self); */
   18175     }
   18176   else
   18177     puts (dlerror ());
   18178 
   18179   return status;
   18180 }
   18181 _LT_EOF
   18182   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18183   (eval $ac_link) 2>&5
   18184   ac_status=$?
   18185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18186   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18187     (./conftest; exit; ) >&5 2>/dev/null
   18188     lt_status=$?
   18189     case x$lt_status in
   18190       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18191       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18192       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18193     esac
   18194   else :
   18195     # compilation failed
   18196     lt_cv_dlopen_self=no
   18197   fi
   18198 fi
   18199 rm -fr conftest*
   18200 
   18201 
   18202 fi
   18203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18204 $as_echo "$lt_cv_dlopen_self" >&6; }
   18205 
   18206     if test yes = "$lt_cv_dlopen_self"; then
   18207       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18208       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18209 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18210 if ${lt_cv_dlopen_self_static+:} false; then :
   18211   $as_echo_n "(cached) " >&6
   18212 else
   18213   	  if test yes = "$cross_compiling"; then :
   18214   lt_cv_dlopen_self_static=cross
   18215 else
   18216   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18217   lt_status=$lt_dlunknown
   18218   cat > conftest.$ac_ext <<_LT_EOF
   18219 #line $LINENO "configure"
   18220 #include "confdefs.h"
   18221 
   18222 #if HAVE_DLFCN_H
   18223 #include <dlfcn.h>
   18224 #endif
   18225 
   18226 #include <stdio.h>
   18227 
   18228 #ifdef RTLD_GLOBAL
   18229 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18230 #else
   18231 #  ifdef DL_GLOBAL
   18232 #    define LT_DLGLOBAL		DL_GLOBAL
   18233 #  else
   18234 #    define LT_DLGLOBAL		0
   18235 #  endif
   18236 #endif
   18237 
   18238 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18239    find out it does not work in some platform. */
   18240 #ifndef LT_DLLAZY_OR_NOW
   18241 #  ifdef RTLD_LAZY
   18242 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18243 #  else
   18244 #    ifdef DL_LAZY
   18245 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18246 #    else
   18247 #      ifdef RTLD_NOW
   18248 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18249 #      else
   18250 #        ifdef DL_NOW
   18251 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18252 #        else
   18253 #          define LT_DLLAZY_OR_NOW	0
   18254 #        endif
   18255 #      endif
   18256 #    endif
   18257 #  endif
   18258 #endif
   18259 
   18260 /* When -fvisibility=hidden is used, assume the code has been annotated
   18261    correspondingly for the symbols needed.  */
   18262 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18263 int fnord () __attribute__((visibility("default")));
   18264 #endif
   18265 
   18266 int fnord () { return 42; }
   18267 int main ()
   18268 {
   18269   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18270   int status = $lt_dlunknown;
   18271 
   18272   if (self)
   18273     {
   18274       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18275       else
   18276         {
   18277 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18278           else puts (dlerror ());
   18279 	}
   18280       /* dlclose (self); */
   18281     }
   18282   else
   18283     puts (dlerror ());
   18284 
   18285   return status;
   18286 }
   18287 _LT_EOF
   18288   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18289   (eval $ac_link) 2>&5
   18290   ac_status=$?
   18291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18292   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18293     (./conftest; exit; ) >&5 2>/dev/null
   18294     lt_status=$?
   18295     case x$lt_status in
   18296       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18297       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18298       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18299     esac
   18300   else :
   18301     # compilation failed
   18302     lt_cv_dlopen_self_static=no
   18303   fi
   18304 fi
   18305 rm -fr conftest*
   18306 
   18307 
   18308 fi
   18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18310 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18311     fi
   18312 
   18313     CPPFLAGS=$save_CPPFLAGS
   18314     LDFLAGS=$save_LDFLAGS
   18315     LIBS=$save_LIBS
   18316     ;;
   18317   esac
   18318 
   18319   case $lt_cv_dlopen_self in
   18320   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18321   *) enable_dlopen_self=unknown ;;
   18322   esac
   18323 
   18324   case $lt_cv_dlopen_self_static in
   18325   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18326   *) enable_dlopen_self_static=unknown ;;
   18327   esac
   18328 fi
   18329 
   18330 
   18331 
   18332 
   18333 
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 striplib=
   18347 old_striplib=
   18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18349 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18350 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18351   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18352   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18354 $as_echo "yes" >&6; }
   18355 else
   18356 # FIXME - insert some real tests, host_os isn't really good enough
   18357   case $host_os in
   18358   darwin*)
   18359     if test -n "$STRIP"; then
   18360       striplib="$STRIP -x"
   18361       old_striplib="$STRIP -S"
   18362       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18363 $as_echo "yes" >&6; }
   18364     else
   18365       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18366 $as_echo "no" >&6; }
   18367     fi
   18368     ;;
   18369   *)
   18370     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18371 $as_echo "no" >&6; }
   18372     ;;
   18373   esac
   18374 fi
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387   # Report what library types will actually be built
   18388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18389 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18391 $as_echo "$can_build_shared" >&6; }
   18392 
   18393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18394 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18395   test no = "$can_build_shared" && enable_shared=no
   18396 
   18397   # On AIX, shared libraries and static libraries use the same namespace, and
   18398   # are all built from PIC.
   18399   case $host_os in
   18400   aix3*)
   18401     test yes = "$enable_shared" && enable_static=no
   18402     if test -n "$RANLIB"; then
   18403       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18404       postinstall_cmds='$RANLIB $lib'
   18405     fi
   18406     ;;
   18407 
   18408   aix[4-9]*)
   18409     if test ia64 != "$host_cpu"; then
   18410       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18411       yes,aix,yes) ;;			# shared object as lib.so file only
   18412       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18413       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18414       esac
   18415     fi
   18416     ;;
   18417   esac
   18418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18419 $as_echo "$enable_shared" >&6; }
   18420 
   18421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18422 $as_echo_n "checking whether to build static libraries... " >&6; }
   18423   # Make sure either enable_shared or enable_static is yes.
   18424   test yes = "$enable_shared" || enable_static=yes
   18425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18426 $as_echo "$enable_static" >&6; }
   18427 
   18428 
   18429 
   18430 
   18431 fi
   18432 ac_ext=c
   18433 ac_cpp='$CPP $CPPFLAGS'
   18434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18437 
   18438 CC=$lt_save_CC
   18439 
   18440 
   18441 
   18442 
   18443 
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454         ac_config_commands="$ac_config_commands libtool"
   18455 
   18456 
   18457 
   18458 
   18459 # Only expand once:
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 # Define a configure option for an alternate module directory
   18466 
   18467 # Check whether --with-xorg-module-dir was given.
   18468 if test "${with_xorg_module_dir+set}" = set; then :
   18469   withval=$with_xorg_module_dir; moduledir="$withval"
   18470 else
   18471   moduledir="$libdir/xorg/modules"
   18472 fi
   18473 
   18474 
   18475 # Obtain compiler/linker options for the driver dependencies
   18476 
   18477 pkg_failed=no
   18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18479 $as_echo_n "checking for XORG... " >&6; }
   18480 
   18481 if test -n "$XORG_CFLAGS"; then
   18482     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18483  elif test -n "$PKG_CONFIG"; then
   18484     if test -n "$PKG_CONFIG" && \
   18485     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18486   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18487   ac_status=$?
   18488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18489   test $ac_status = 0; }; then
   18490   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18491 		      test "x$?" != "x0" && pkg_failed=yes
   18492 else
   18493   pkg_failed=yes
   18494 fi
   18495  else
   18496     pkg_failed=untried
   18497 fi
   18498 if test -n "$XORG_LIBS"; then
   18499     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18500  elif test -n "$PKG_CONFIG"; then
   18501     if test -n "$PKG_CONFIG" && \
   18502     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18503   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18504   ac_status=$?
   18505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18506   test $ac_status = 0; }; then
   18507   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18508 		      test "x$?" != "x0" && pkg_failed=yes
   18509 else
   18510   pkg_failed=yes
   18511 fi
   18512  else
   18513     pkg_failed=untried
   18514 fi
   18515 
   18516 
   18517 
   18518 if test $pkg_failed = yes; then
   18519    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18520 $as_echo "no" >&6; }
   18521 
   18522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18523         _pkg_short_errors_supported=yes
   18524 else
   18525         _pkg_short_errors_supported=no
   18526 fi
   18527         if test $_pkg_short_errors_supported = yes; then
   18528 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18529         else
   18530 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18531         fi
   18532 	# Put the nasty error message in config.log where it belongs
   18533 	echo "$XORG_PKG_ERRORS" >&5
   18534 
   18535 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   18536 
   18537 $XORG_PKG_ERRORS
   18538 
   18539 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18540 installed software in a non-standard prefix.
   18541 
   18542 Alternatively, you may set the environment variables XORG_CFLAGS
   18543 and XORG_LIBS to avoid the need to call pkg-config.
   18544 See the pkg-config man page for more details." "$LINENO" 5
   18545 elif test $pkg_failed = untried; then
   18546      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18547 $as_echo "no" >&6; }
   18548 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18550 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18551 is in your PATH or set the PKG_CONFIG environment variable to the full
   18552 path to pkg-config.
   18553 
   18554 Alternatively, you may set the environment variables XORG_CFLAGS
   18555 and XORG_LIBS to avoid the need to call pkg-config.
   18556 See the pkg-config man page for more details.
   18557 
   18558 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18559 See \`config.log' for more details" "$LINENO" 5; }
   18560 else
   18561 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18562 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18563         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18564 $as_echo "yes" >&6; }
   18565 
   18566 fi
   18567 
   18568 save_CFLAGS="$CFLAGS"
   18569 CFLAGS="$XORG_CFLAGS"
   18570 ac_fn_c_check_decl "$LINENO" "xf86ConfigIsaEntity" "ac_cv_have_decl_xf86ConfigIsaEntity" "#include \"xf86.h\"
   18571 "
   18572 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = xyes; then :
   18573 
   18574 $as_echo "#define HAVE_ISA 1" >>confdefs.h
   18575 
   18576 fi
   18577 
   18578 CFLAGS="$save_CFLAGS"
   18579 
   18580 # Checks for libraries.
   18581 SAVE_CPPFLAGS="$CPPFLAGS"
   18582 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18583 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18584 "
   18585 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18586   XSERVER_LIBPCIACCESS=yes
   18587 else
   18588   XSERVER_LIBPCIACCESS=no
   18589 fi
   18590 
   18591 CPPFLAGS="$SAVE_CPPFLAGS"
   18592 
   18593 # Check whether --enable-xaa was given.
   18594 if test "${enable_xaa+set}" = set; then :
   18595   enableval=$enable_xaa; XAA="$enableval"
   18596 else
   18597   XAA=auto
   18598 fi
   18599 
   18600 if test "x$XAA" != xno; then
   18601         save_CFLAGS=$CFLAGS
   18602         save_CPPFLAGS=$CPPFLAGS
   18603         CFLAGS=$XORG_CFLAGS
   18604         CPPFLAGS="$XORG_CFLAGS"
   18605         for ac_header in xaa.h
   18606 do :
   18607   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18608 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18609   cat >>confdefs.h <<_ACEOF
   18610 #define HAVE_XAA_H 1
   18611 _ACEOF
   18612  XAA=yes
   18613 else
   18614   XAA=no
   18615 fi
   18616 
   18617 done
   18618 
   18619         CFLAGS=$save_CFLAGS
   18620         CPPFLAGS=$save_CPPFLAGS
   18621 fi
   18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18623 $as_echo_n "checking whether to include XAA support... " >&6; }
   18624  if test "x$XAA" = xyes; then
   18625   XAA_TRUE=
   18626   XAA_FALSE='#'
   18627 else
   18628   XAA_TRUE='#'
   18629   XAA_FALSE=
   18630 fi
   18631 
   18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18633 $as_echo "$XAA" >&6; }
   18634 
   18635 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18636 
   18637 pkg_failed=no
   18638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18639 $as_echo_n "checking for PCIACCESS... " >&6; }
   18640 
   18641 if test -n "$PCIACCESS_CFLAGS"; then
   18642     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18643  elif test -n "$PKG_CONFIG"; then
   18644     if test -n "$PKG_CONFIG" && \
   18645     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18646   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18647   ac_status=$?
   18648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18649   test $ac_status = 0; }; then
   18650   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18651 		      test "x$?" != "x0" && pkg_failed=yes
   18652 else
   18653   pkg_failed=yes
   18654 fi
   18655  else
   18656     pkg_failed=untried
   18657 fi
   18658 if test -n "$PCIACCESS_LIBS"; then
   18659     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18660  elif test -n "$PKG_CONFIG"; then
   18661     if test -n "$PKG_CONFIG" && \
   18662     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18663   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18664   ac_status=$?
   18665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18666   test $ac_status = 0; }; then
   18667   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18668 		      test "x$?" != "x0" && pkg_failed=yes
   18669 else
   18670   pkg_failed=yes
   18671 fi
   18672  else
   18673     pkg_failed=untried
   18674 fi
   18675 
   18676 
   18677 
   18678 if test $pkg_failed = yes; then
   18679    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18680 $as_echo "no" >&6; }
   18681 
   18682 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18683         _pkg_short_errors_supported=yes
   18684 else
   18685         _pkg_short_errors_supported=no
   18686 fi
   18687         if test $_pkg_short_errors_supported = yes; then
   18688 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18689         else
   18690 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18691         fi
   18692 	# Put the nasty error message in config.log where it belongs
   18693 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18694 
   18695 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   18696 
   18697 $PCIACCESS_PKG_ERRORS
   18698 
   18699 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18700 installed software in a non-standard prefix.
   18701 
   18702 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18703 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18704 See the pkg-config man page for more details." "$LINENO" 5
   18705 elif test $pkg_failed = untried; then
   18706      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18707 $as_echo "no" >&6; }
   18708 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18710 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18711 is in your PATH or set the PKG_CONFIG environment variable to the full
   18712 path to pkg-config.
   18713 
   18714 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18715 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18716 See the pkg-config man page for more details.
   18717 
   18718 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18719 See \`config.log' for more details" "$LINENO" 5; }
   18720 else
   18721 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18722 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18723         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18724 $as_echo "yes" >&6; }
   18725 
   18726 fi
   18727     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18728 fi
   18729  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18730   XSERVER_LIBPCIACCESS_TRUE=
   18731   XSERVER_LIBPCIACCESS_FALSE='#'
   18732 else
   18733   XSERVER_LIBPCIACCESS_TRUE='#'
   18734   XSERVER_LIBPCIACCESS_FALSE=
   18735 fi
   18736 
   18737 
   18738 
   18739 
   18740 DRIVER_NAME=neomagic
   18741 
   18742 
   18743 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18744 
   18745 cat >confcache <<\_ACEOF
   18746 # This file is a shell script that caches the results of configure
   18747 # tests run on this system so they can be shared between configure
   18748 # scripts and configure runs, see configure's option --config-cache.
   18749 # It is not useful on other systems.  If it contains results you don't
   18750 # want to keep, you may remove or edit it.
   18751 #
   18752 # config.status only pays attention to the cache file if you give it
   18753 # the --recheck option to rerun configure.
   18754 #
   18755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18757 # following values.
   18758 
   18759 _ACEOF
   18760 
   18761 # The following way of writing the cache mishandles newlines in values,
   18762 # but we know of no workaround that is simple, portable, and efficient.
   18763 # So, we kill variables containing newlines.
   18764 # Ultrix sh set writes to stderr and can't be redirected directly,
   18765 # and sets the high bit in the cache file unless we assign to the vars.
   18766 (
   18767   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18768     eval ac_val=\$$ac_var
   18769     case $ac_val in #(
   18770     *${as_nl}*)
   18771       case $ac_var in #(
   18772       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18773 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18774       esac
   18775       case $ac_var in #(
   18776       _ | IFS | as_nl) ;; #(
   18777       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18778       *) { eval $ac_var=; unset $ac_var;} ;;
   18779       esac ;;
   18780     esac
   18781   done
   18782 
   18783   (set) 2>&1 |
   18784     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18785     *${as_nl}ac_space=\ *)
   18786       # `set' does not quote correctly, so add quotes: double-quote
   18787       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18788       sed -n \
   18789 	"s/'/'\\\\''/g;
   18790 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18791       ;; #(
   18792     *)
   18793       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18794       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18795       ;;
   18796     esac |
   18797     sort
   18798 ) |
   18799   sed '
   18800      /^ac_cv_env_/b end
   18801      t clear
   18802      :clear
   18803      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18804      t end
   18805      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18806      :end' >>confcache
   18807 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18808   if test -w "$cache_file"; then
   18809     if test "x$cache_file" != "x/dev/null"; then
   18810       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18811 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18812       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18813 	cat confcache >"$cache_file"
   18814       else
   18815         case $cache_file in #(
   18816         */* | ?:*)
   18817 	  mv -f confcache "$cache_file"$$ &&
   18818 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18819         *)
   18820 	  mv -f confcache "$cache_file" ;;
   18821 	esac
   18822       fi
   18823     fi
   18824   else
   18825     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18826 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18827   fi
   18828 fi
   18829 rm -f confcache
   18830 
   18831 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18832 # Let make expand exec_prefix.
   18833 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18834 
   18835 DEFS=-DHAVE_CONFIG_H
   18836 
   18837 ac_libobjs=
   18838 ac_ltlibobjs=
   18839 U=
   18840 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18841   # 1. Remove the extension, and $U if already installed.
   18842   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18843   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18844   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18845   #    will be set to the directory where LIBOBJS objects are built.
   18846   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18847   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18848 done
   18849 LIBOBJS=$ac_libobjs
   18850 
   18851 LTLIBOBJS=$ac_ltlibobjs
   18852 
   18853 
   18854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18855 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18856    if test -n "$am_sleep_pid"; then
   18857      # Hide warnings about reused PIDs.
   18858      wait $am_sleep_pid 2>/dev/null
   18859    fi
   18860    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18861 $as_echo "done" >&6; }
   18862  if test -n "$EXEEXT"; then
   18863   am__EXEEXT_TRUE=
   18864   am__EXEEXT_FALSE='#'
   18865 else
   18866   am__EXEEXT_TRUE='#'
   18867   am__EXEEXT_FALSE=
   18868 fi
   18869 
   18870 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18871   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18873 fi
   18874 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18875   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18877 fi
   18878 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18879   as_fn_error $? "conditional \"XAA\" was never defined.
   18880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18881 fi
   18882 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   18883   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   18884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18885 fi
   18886 
   18887 : "${CONFIG_STATUS=./config.status}"
   18888 ac_write_fail=0
   18889 ac_clean_files_save=$ac_clean_files
   18890 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18892 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18893 as_write_fail=0
   18894 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18895 #! $SHELL
   18896 # Generated by $as_me.
   18897 # Run this file to recreate the current configuration.
   18898 # Compiler output produced by configure, useful for debugging
   18899 # configure, is in config.log if it exists.
   18900 
   18901 debug=false
   18902 ac_cs_recheck=false
   18903 ac_cs_silent=false
   18904 
   18905 SHELL=\${CONFIG_SHELL-$SHELL}
   18906 export SHELL
   18907 _ASEOF
   18908 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18909 ## -------------------- ##
   18910 ## M4sh Initialization. ##
   18911 ## -------------------- ##
   18912 
   18913 # Be more Bourne compatible
   18914 DUALCASE=1; export DUALCASE # for MKS sh
   18915 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18916   emulate sh
   18917   NULLCMD=:
   18918   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18919   # is contrary to our usage.  Disable this feature.
   18920   alias -g '${1+"$@"}'='"$@"'
   18921   setopt NO_GLOB_SUBST
   18922 else
   18923   case `(set -o) 2>/dev/null` in #(
   18924   *posix*) :
   18925     set -o posix ;; #(
   18926   *) :
   18927      ;;
   18928 esac
   18929 fi
   18930 
   18931 
   18932 as_nl='
   18933 '
   18934 export as_nl
   18935 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18936 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18937 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18938 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18939 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18940 # but without wasting forks for bash or zsh.
   18941 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18942     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18943   as_echo='print -r --'
   18944   as_echo_n='print -rn --'
   18945 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18946   as_echo='printf %s\n'
   18947   as_echo_n='printf %s'
   18948 else
   18949   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18950     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18951     as_echo_n='/usr/ucb/echo -n'
   18952   else
   18953     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18954     as_echo_n_body='eval
   18955       arg=$1;
   18956       case $arg in #(
   18957       *"$as_nl"*)
   18958 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18959 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18960       esac;
   18961       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18962     '
   18963     export as_echo_n_body
   18964     as_echo_n='sh -c $as_echo_n_body as_echo'
   18965   fi
   18966   export as_echo_body
   18967   as_echo='sh -c $as_echo_body as_echo'
   18968 fi
   18969 
   18970 # The user is always right.
   18971 if test "${PATH_SEPARATOR+set}" != set; then
   18972   PATH_SEPARATOR=:
   18973   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18974     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18975       PATH_SEPARATOR=';'
   18976   }
   18977 fi
   18978 
   18979 
   18980 # IFS
   18981 # We need space, tab and new line, in precisely that order.  Quoting is
   18982 # there to prevent editors from complaining about space-tab.
   18983 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18984 # splitting by setting IFS to empty value.)
   18985 IFS=" ""	$as_nl"
   18986 
   18987 # Find who we are.  Look in the path if we contain no directory separator.
   18988 as_myself=
   18989 case $0 in #((
   18990   *[\\/]* ) as_myself=$0 ;;
   18991   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18992 for as_dir in $PATH
   18993 do
   18994   IFS=$as_save_IFS
   18995   test -z "$as_dir" && as_dir=.
   18996     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18997   done
   18998 IFS=$as_save_IFS
   18999 
   19000      ;;
   19001 esac
   19002 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19003 # in which case we are not to be found in the path.
   19004 if test "x$as_myself" = x; then
   19005   as_myself=$0
   19006 fi
   19007 if test ! -f "$as_myself"; then
   19008   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19009   exit 1
   19010 fi
   19011 
   19012 # Unset variables that we do not need and which cause bugs (e.g. in
   19013 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19014 # suppresses any "Segmentation fault" message there.  '((' could
   19015 # trigger a bug in pdksh 5.2.14.
   19016 for as_var in BASH_ENV ENV MAIL MAILPATH
   19017 do eval test x\${$as_var+set} = xset \
   19018   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19019 done
   19020 PS1='$ '
   19021 PS2='> '
   19022 PS4='+ '
   19023 
   19024 # NLS nuisances.
   19025 LC_ALL=C
   19026 export LC_ALL
   19027 LANGUAGE=C
   19028 export LANGUAGE
   19029 
   19030 # CDPATH.
   19031 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19032 
   19033 
   19034 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19035 # ----------------------------------------
   19036 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19037 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19038 # script with STATUS, using 1 if that was 0.
   19039 as_fn_error ()
   19040 {
   19041   as_status=$1; test $as_status -eq 0 && as_status=1
   19042   if test "$4"; then
   19043     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19044     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19045   fi
   19046   $as_echo "$as_me: error: $2" >&2
   19047   as_fn_exit $as_status
   19048 } # as_fn_error
   19049 
   19050 
   19051 # as_fn_set_status STATUS
   19052 # -----------------------
   19053 # Set $? to STATUS, without forking.
   19054 as_fn_set_status ()
   19055 {
   19056   return $1
   19057 } # as_fn_set_status
   19058 
   19059 # as_fn_exit STATUS
   19060 # -----------------
   19061 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19062 as_fn_exit ()
   19063 {
   19064   set +e
   19065   as_fn_set_status $1
   19066   exit $1
   19067 } # as_fn_exit
   19068 
   19069 # as_fn_unset VAR
   19070 # ---------------
   19071 # Portably unset VAR.
   19072 as_fn_unset ()
   19073 {
   19074   { eval $1=; unset $1;}
   19075 }
   19076 as_unset=as_fn_unset
   19077 # as_fn_append VAR VALUE
   19078 # ----------------------
   19079 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19080 # advantage of any shell optimizations that allow amortized linear growth over
   19081 # repeated appends, instead of the typical quadratic growth present in naive
   19082 # implementations.
   19083 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19084   eval 'as_fn_append ()
   19085   {
   19086     eval $1+=\$2
   19087   }'
   19088 else
   19089   as_fn_append ()
   19090   {
   19091     eval $1=\$$1\$2
   19092   }
   19093 fi # as_fn_append
   19094 
   19095 # as_fn_arith ARG...
   19096 # ------------------
   19097 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19098 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19099 # must be portable across $(()) and expr.
   19100 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19101   eval 'as_fn_arith ()
   19102   {
   19103     as_val=$(( $* ))
   19104   }'
   19105 else
   19106   as_fn_arith ()
   19107   {
   19108     as_val=`expr "$@" || test $? -eq 1`
   19109   }
   19110 fi # as_fn_arith
   19111 
   19112 
   19113 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19114    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19115   as_expr=expr
   19116 else
   19117   as_expr=false
   19118 fi
   19119 
   19120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19121   as_basename=basename
   19122 else
   19123   as_basename=false
   19124 fi
   19125 
   19126 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19127   as_dirname=dirname
   19128 else
   19129   as_dirname=false
   19130 fi
   19131 
   19132 as_me=`$as_basename -- "$0" ||
   19133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19134 	 X"$0" : 'X\(//\)$' \| \
   19135 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19136 $as_echo X/"$0" |
   19137     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19138 	    s//\1/
   19139 	    q
   19140 	  }
   19141 	  /^X\/\(\/\/\)$/{
   19142 	    s//\1/
   19143 	    q
   19144 	  }
   19145 	  /^X\/\(\/\).*/{
   19146 	    s//\1/
   19147 	    q
   19148 	  }
   19149 	  s/.*/./; q'`
   19150 
   19151 # Avoid depending upon Character Ranges.
   19152 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19153 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19154 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19155 as_cr_digits='0123456789'
   19156 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19157 
   19158 ECHO_C= ECHO_N= ECHO_T=
   19159 case `echo -n x` in #(((((
   19160 -n*)
   19161   case `echo 'xy\c'` in
   19162   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19163   xy)  ECHO_C='\c';;
   19164   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19165        ECHO_T='	';;
   19166   esac;;
   19167 *)
   19168   ECHO_N='-n';;
   19169 esac
   19170 
   19171 rm -f conf$$ conf$$.exe conf$$.file
   19172 if test -d conf$$.dir; then
   19173   rm -f conf$$.dir/conf$$.file
   19174 else
   19175   rm -f conf$$.dir
   19176   mkdir conf$$.dir 2>/dev/null
   19177 fi
   19178 if (echo >conf$$.file) 2>/dev/null; then
   19179   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19180     as_ln_s='ln -s'
   19181     # ... but there are two gotchas:
   19182     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19183     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19184     # In both cases, we have to default to `cp -pR'.
   19185     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19186       as_ln_s='cp -pR'
   19187   elif ln conf$$.file conf$$ 2>/dev/null; then
   19188     as_ln_s=ln
   19189   else
   19190     as_ln_s='cp -pR'
   19191   fi
   19192 else
   19193   as_ln_s='cp -pR'
   19194 fi
   19195 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19196 rmdir conf$$.dir 2>/dev/null
   19197 
   19198 
   19199 # as_fn_mkdir_p
   19200 # -------------
   19201 # Create "$as_dir" as a directory, including parents if necessary.
   19202 as_fn_mkdir_p ()
   19203 {
   19204 
   19205   case $as_dir in #(
   19206   -*) as_dir=./$as_dir;;
   19207   esac
   19208   test -d "$as_dir" || eval $as_mkdir_p || {
   19209     as_dirs=
   19210     while :; do
   19211       case $as_dir in #(
   19212       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19213       *) as_qdir=$as_dir;;
   19214       esac
   19215       as_dirs="'$as_qdir' $as_dirs"
   19216       as_dir=`$as_dirname -- "$as_dir" ||
   19217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19218 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19219 	 X"$as_dir" : 'X\(//\)$' \| \
   19220 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19221 $as_echo X"$as_dir" |
   19222     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19223 	    s//\1/
   19224 	    q
   19225 	  }
   19226 	  /^X\(\/\/\)[^/].*/{
   19227 	    s//\1/
   19228 	    q
   19229 	  }
   19230 	  /^X\(\/\/\)$/{
   19231 	    s//\1/
   19232 	    q
   19233 	  }
   19234 	  /^X\(\/\).*/{
   19235 	    s//\1/
   19236 	    q
   19237 	  }
   19238 	  s/.*/./; q'`
   19239       test -d "$as_dir" && break
   19240     done
   19241     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19242   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19243 
   19244 
   19245 } # as_fn_mkdir_p
   19246 if mkdir -p . 2>/dev/null; then
   19247   as_mkdir_p='mkdir -p "$as_dir"'
   19248 else
   19249   test -d ./-p && rmdir ./-p
   19250   as_mkdir_p=false
   19251 fi
   19252 
   19253 
   19254 # as_fn_executable_p FILE
   19255 # -----------------------
   19256 # Test if FILE is an executable regular file.
   19257 as_fn_executable_p ()
   19258 {
   19259   test -f "$1" && test -x "$1"
   19260 } # as_fn_executable_p
   19261 as_test_x='test -x'
   19262 as_executable_p=as_fn_executable_p
   19263 
   19264 # Sed expression to map a string onto a valid CPP name.
   19265 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19266 
   19267 # Sed expression to map a string onto a valid variable name.
   19268 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19269 
   19270 
   19271 exec 6>&1
   19272 ## ----------------------------------- ##
   19273 ## Main body of $CONFIG_STATUS script. ##
   19274 ## ----------------------------------- ##
   19275 _ASEOF
   19276 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19277 
   19278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19279 # Save the log message, to keep $0 and so on meaningful, and to
   19280 # report actual input values of CONFIG_FILES etc. instead of their
   19281 # values after options handling.
   19282 ac_log="
   19283 This file was extended by xf86-video-neomagic $as_me 1.3.0, which was
   19284 generated by GNU Autoconf 2.69.  Invocation command line was
   19285 
   19286   CONFIG_FILES    = $CONFIG_FILES
   19287   CONFIG_HEADERS  = $CONFIG_HEADERS
   19288   CONFIG_LINKS    = $CONFIG_LINKS
   19289   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19290   $ $0 $@
   19291 
   19292 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19293 "
   19294 
   19295 _ACEOF
   19296 
   19297 case $ac_config_files in *"
   19298 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19299 esac
   19300 
   19301 case $ac_config_headers in *"
   19302 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19303 esac
   19304 
   19305 
   19306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19307 # Files that config.status was made for.
   19308 config_files="$ac_config_files"
   19309 config_headers="$ac_config_headers"
   19310 config_commands="$ac_config_commands"
   19311 
   19312 _ACEOF
   19313 
   19314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19315 ac_cs_usage="\
   19316 \`$as_me' instantiates files and other configuration actions
   19317 from templates according to the current configuration.  Unless the files
   19318 and actions are specified as TAGs, all are instantiated by default.
   19319 
   19320 Usage: $0 [OPTION]... [TAG]...
   19321 
   19322   -h, --help       print this help, then exit
   19323   -V, --version    print version number and configuration settings, then exit
   19324       --config     print configuration, then exit
   19325   -q, --quiet, --silent
   19326                    do not print progress messages
   19327   -d, --debug      don't remove temporary files
   19328       --recheck    update $as_me by reconfiguring in the same conditions
   19329       --file=FILE[:TEMPLATE]
   19330                    instantiate the configuration file FILE
   19331       --header=FILE[:TEMPLATE]
   19332                    instantiate the configuration header FILE
   19333 
   19334 Configuration files:
   19335 $config_files
   19336 
   19337 Configuration headers:
   19338 $config_headers
   19339 
   19340 Configuration commands:
   19341 $config_commands
   19342 
   19343 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-neomagic/issues>."
   19344 
   19345 _ACEOF
   19346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19347 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19348 ac_cs_version="\\
   19349 xf86-video-neomagic config.status 1.3.0
   19350 configured by $0, generated by GNU Autoconf 2.69,
   19351   with options \\"\$ac_cs_config\\"
   19352 
   19353 Copyright (C) 2012 Free Software Foundation, Inc.
   19354 This config.status script is free software; the Free Software Foundation
   19355 gives unlimited permission to copy, distribute and modify it."
   19356 
   19357 ac_pwd='$ac_pwd'
   19358 srcdir='$srcdir'
   19359 INSTALL='$INSTALL'
   19360 MKDIR_P='$MKDIR_P'
   19361 AWK='$AWK'
   19362 test -n "\$AWK" || AWK=awk
   19363 _ACEOF
   19364 
   19365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19366 # The default lists apply if the user does not specify any file.
   19367 ac_need_defaults=:
   19368 while test $# != 0
   19369 do
   19370   case $1 in
   19371   --*=?*)
   19372     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19373     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19374     ac_shift=:
   19375     ;;
   19376   --*=)
   19377     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19378     ac_optarg=
   19379     ac_shift=:
   19380     ;;
   19381   *)
   19382     ac_option=$1
   19383     ac_optarg=$2
   19384     ac_shift=shift
   19385     ;;
   19386   esac
   19387 
   19388   case $ac_option in
   19389   # Handling of the options.
   19390   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19391     ac_cs_recheck=: ;;
   19392   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19393     $as_echo "$ac_cs_version"; exit ;;
   19394   --config | --confi | --conf | --con | --co | --c )
   19395     $as_echo "$ac_cs_config"; exit ;;
   19396   --debug | --debu | --deb | --de | --d | -d )
   19397     debug=: ;;
   19398   --file | --fil | --fi | --f )
   19399     $ac_shift
   19400     case $ac_optarg in
   19401     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19402     '') as_fn_error $? "missing file argument" ;;
   19403     esac
   19404     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19405     ac_need_defaults=false;;
   19406   --header | --heade | --head | --hea )
   19407     $ac_shift
   19408     case $ac_optarg in
   19409     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19410     esac
   19411     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19412     ac_need_defaults=false;;
   19413   --he | --h)
   19414     # Conflict between --help and --header
   19415     as_fn_error $? "ambiguous option: \`$1'
   19416 Try \`$0 --help' for more information.";;
   19417   --help | --hel | -h )
   19418     $as_echo "$ac_cs_usage"; exit ;;
   19419   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19420   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19421     ac_cs_silent=: ;;
   19422 
   19423   # This is an error.
   19424   -*) as_fn_error $? "unrecognized option: \`$1'
   19425 Try \`$0 --help' for more information." ;;
   19426 
   19427   *) as_fn_append ac_config_targets " $1"
   19428      ac_need_defaults=false ;;
   19429 
   19430   esac
   19431   shift
   19432 done
   19433 
   19434 ac_configure_extra_args=
   19435 
   19436 if $ac_cs_silent; then
   19437   exec 6>/dev/null
   19438   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19439 fi
   19440 
   19441 _ACEOF
   19442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19443 if \$ac_cs_recheck; then
   19444   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19445   shift
   19446   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19447   CONFIG_SHELL='$SHELL'
   19448   export CONFIG_SHELL
   19449   exec "\$@"
   19450 fi
   19451 
   19452 _ACEOF
   19453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19454 exec 5>>config.log
   19455 {
   19456   echo
   19457   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19458 ## Running $as_me. ##
   19459 _ASBOX
   19460   $as_echo "$ac_log"
   19461 } >&5
   19462 
   19463 _ACEOF
   19464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19465 #
   19466 # INIT-COMMANDS
   19467 #
   19468 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19469 
   19470 
   19471 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19472 # if CDPATH is set.
   19473 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19474 
   19475 sed_quote_subst='$sed_quote_subst'
   19476 double_quote_subst='$double_quote_subst'
   19477 delay_variable_subst='$delay_variable_subst'
   19478 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19479 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19480 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19481 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19482 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19483 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19484 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19485 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19486 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19487 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19488 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19489 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19490 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19491 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19492 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19493 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19494 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19495 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19496 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19497 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19498 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19499 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19500 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19501 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19502 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19503 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19504 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19505 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19506 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19507 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19508 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19509 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19510 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19511 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19512 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19513 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19514 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19515 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19516 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19517 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19518 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19519 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19520 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19521 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19522 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19523 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19524 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19525 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19526 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19527 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19528 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19529 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19530 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19531 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19532 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19533 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19534 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19535 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19536 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"`'
   19537 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19538 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19539 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19540 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19541 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19542 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19543 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19544 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19545 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19546 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19547 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19548 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19549 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19550 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19551 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19552 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19553 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19554 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19555 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19556 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19557 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19558 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19559 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19560 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19561 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19562 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19563 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19564 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19565 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19566 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19567 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19568 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19569 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19570 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19571 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19572 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19573 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19574 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19575 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19576 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19577 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19578 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19579 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19580 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19581 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19582 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19583 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19584 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19585 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19586 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19587 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19588 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19589 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19590 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19591 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19592 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19593 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19594 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19595 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19596 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19597 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19598 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19599 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19600 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19601 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19602 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19603 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19604 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19605 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19606 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19607 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19608 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19609 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19610 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19611 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19612 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19613 
   19614 LTCC='$LTCC'
   19615 LTCFLAGS='$LTCFLAGS'
   19616 compiler='$compiler_DEFAULT'
   19617 
   19618 # A function that is used when there is no print builtin or printf.
   19619 func_fallback_echo ()
   19620 {
   19621   eval 'cat <<_LTECHO_EOF
   19622 \$1
   19623 _LTECHO_EOF'
   19624 }
   19625 
   19626 # Quote evaled strings.
   19627 for var in SHELL \
   19628 ECHO \
   19629 PATH_SEPARATOR \
   19630 SED \
   19631 GREP \
   19632 EGREP \
   19633 FGREP \
   19634 LD \
   19635 NM \
   19636 LN_S \
   19637 lt_SP2NL \
   19638 lt_NL2SP \
   19639 reload_flag \
   19640 OBJDUMP \
   19641 deplibs_check_method \
   19642 file_magic_cmd \
   19643 file_magic_glob \
   19644 want_nocaseglob \
   19645 DLLTOOL \
   19646 sharedlib_from_linklib_cmd \
   19647 AR \
   19648 AR_FLAGS \
   19649 archiver_list_spec \
   19650 STRIP \
   19651 RANLIB \
   19652 CC \
   19653 CFLAGS \
   19654 compiler \
   19655 lt_cv_sys_global_symbol_pipe \
   19656 lt_cv_sys_global_symbol_to_cdecl \
   19657 lt_cv_sys_global_symbol_to_import \
   19658 lt_cv_sys_global_symbol_to_c_name_address \
   19659 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19660 lt_cv_nm_interface \
   19661 nm_file_list_spec \
   19662 lt_cv_truncate_bin \
   19663 lt_prog_compiler_no_builtin_flag \
   19664 lt_prog_compiler_pic \
   19665 lt_prog_compiler_wl \
   19666 lt_prog_compiler_static \
   19667 lt_cv_prog_compiler_c_o \
   19668 need_locks \
   19669 MANIFEST_TOOL \
   19670 DSYMUTIL \
   19671 NMEDIT \
   19672 LIPO \
   19673 OTOOL \
   19674 OTOOL64 \
   19675 shrext_cmds \
   19676 export_dynamic_flag_spec \
   19677 whole_archive_flag_spec \
   19678 compiler_needs_object \
   19679 with_gnu_ld \
   19680 allow_undefined_flag \
   19681 no_undefined_flag \
   19682 hardcode_libdir_flag_spec \
   19683 hardcode_libdir_separator \
   19684 exclude_expsyms \
   19685 include_expsyms \
   19686 file_list_spec \
   19687 variables_saved_for_relink \
   19688 libname_spec \
   19689 library_names_spec \
   19690 soname_spec \
   19691 install_override_mode \
   19692 finish_eval \
   19693 old_striplib \
   19694 striplib; do
   19695     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19696     *[\\\\\\\`\\"\\\$]*)
   19697       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19698       ;;
   19699     *)
   19700       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19701       ;;
   19702     esac
   19703 done
   19704 
   19705 # Double-quote double-evaled strings.
   19706 for var in reload_cmds \
   19707 old_postinstall_cmds \
   19708 old_postuninstall_cmds \
   19709 old_archive_cmds \
   19710 extract_expsyms_cmds \
   19711 old_archive_from_new_cmds \
   19712 old_archive_from_expsyms_cmds \
   19713 archive_cmds \
   19714 archive_expsym_cmds \
   19715 module_cmds \
   19716 module_expsym_cmds \
   19717 export_symbols_cmds \
   19718 prelink_cmds \
   19719 postlink_cmds \
   19720 postinstall_cmds \
   19721 postuninstall_cmds \
   19722 finish_cmds \
   19723 sys_lib_search_path_spec \
   19724 configure_time_dlsearch_path \
   19725 configure_time_lt_sys_library_path; do
   19726     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19727     *[\\\\\\\`\\"\\\$]*)
   19728       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19729       ;;
   19730     *)
   19731       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19732       ;;
   19733     esac
   19734 done
   19735 
   19736 ac_aux_dir='$ac_aux_dir'
   19737 
   19738 # See if we are running on zsh, and set the options that allow our
   19739 # commands through without removal of \ escapes INIT.
   19740 if test -n "\${ZSH_VERSION+set}"; then
   19741    setopt NO_GLOB_SUBST
   19742 fi
   19743 
   19744 
   19745     PACKAGE='$PACKAGE'
   19746     VERSION='$VERSION'
   19747     RM='$RM'
   19748     ofile='$ofile'
   19749 
   19750 
   19751 
   19752 
   19753 _ACEOF
   19754 
   19755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19756 
   19757 # Handling of arguments.
   19758 for ac_config_target in $ac_config_targets
   19759 do
   19760   case $ac_config_target in
   19761     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19762     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19763     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19764     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19765     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19766     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19767 
   19768   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19769   esac
   19770 done
   19771 
   19772 
   19773 # If the user did not use the arguments to specify the items to instantiate,
   19774 # then the envvar interface is used.  Set only those that are not.
   19775 # We use the long form for the default assignment because of an extremely
   19776 # bizarre bug on SunOS 4.1.3.
   19777 if $ac_need_defaults; then
   19778   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19779   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19780   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19781 fi
   19782 
   19783 # Have a temporary directory for convenience.  Make it in the build tree
   19784 # simply because there is no reason against having it here, and in addition,
   19785 # creating and moving files from /tmp can sometimes cause problems.
   19786 # Hook for its removal unless debugging.
   19787 # Note that there is a small window in which the directory will not be cleaned:
   19788 # after its creation but before its name has been assigned to `$tmp'.
   19789 $debug ||
   19790 {
   19791   tmp= ac_tmp=
   19792   trap 'exit_status=$?
   19793   : "${ac_tmp:=$tmp}"
   19794   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19795 ' 0
   19796   trap 'as_fn_exit 1' 1 2 13 15
   19797 }
   19798 # Create a (secure) tmp directory for tmp files.
   19799 
   19800 {
   19801   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19802   test -d "$tmp"
   19803 }  ||
   19804 {
   19805   tmp=./conf$$-$RANDOM
   19806   (umask 077 && mkdir "$tmp")
   19807 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19808 ac_tmp=$tmp
   19809 
   19810 # Set up the scripts for CONFIG_FILES section.
   19811 # No need to generate them if there are no CONFIG_FILES.
   19812 # This happens for instance with `./config.status config.h'.
   19813 if test -n "$CONFIG_FILES"; then
   19814 
   19815 
   19816 ac_cr=`echo X | tr X '\015'`
   19817 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19818 # But we know of no other shell where ac_cr would be empty at this
   19819 # point, so we can use a bashism as a fallback.
   19820 if test "x$ac_cr" = x; then
   19821   eval ac_cr=\$\'\\r\'
   19822 fi
   19823 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19824 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19825   ac_cs_awk_cr='\\r'
   19826 else
   19827   ac_cs_awk_cr=$ac_cr
   19828 fi
   19829 
   19830 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19831 _ACEOF
   19832 
   19833 
   19834 {
   19835   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19836   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19837   echo "_ACEOF"
   19838 } >conf$$subs.sh ||
   19839   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19840 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19841 ac_delim='%!_!# '
   19842 for ac_last_try in false false false false false :; do
   19843   . ./conf$$subs.sh ||
   19844     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19845 
   19846   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19847   if test $ac_delim_n = $ac_delim_num; then
   19848     break
   19849   elif $ac_last_try; then
   19850     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19851   else
   19852     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19853   fi
   19854 done
   19855 rm -f conf$$subs.sh
   19856 
   19857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19858 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19859 _ACEOF
   19860 sed -n '
   19861 h
   19862 s/^/S["/; s/!.*/"]=/
   19863 p
   19864 g
   19865 s/^[^!]*!//
   19866 :repl
   19867 t repl
   19868 s/'"$ac_delim"'$//
   19869 t delim
   19870 :nl
   19871 h
   19872 s/\(.\{148\}\)..*/\1/
   19873 t more1
   19874 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19875 p
   19876 n
   19877 b repl
   19878 :more1
   19879 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19880 p
   19881 g
   19882 s/.\{148\}//
   19883 t nl
   19884 :delim
   19885 h
   19886 s/\(.\{148\}\)..*/\1/
   19887 t more2
   19888 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19889 p
   19890 b
   19891 :more2
   19892 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19893 p
   19894 g
   19895 s/.\{148\}//
   19896 t delim
   19897 ' <conf$$subs.awk | sed '
   19898 /^[^""]/{
   19899   N
   19900   s/\n//
   19901 }
   19902 ' >>$CONFIG_STATUS || ac_write_fail=1
   19903 rm -f conf$$subs.awk
   19904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19905 _ACAWK
   19906 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19907   for (key in S) S_is_set[key] = 1
   19908   FS = ""
   19909 
   19910 }
   19911 {
   19912   line = $ 0
   19913   nfields = split(line, field, "@")
   19914   substed = 0
   19915   len = length(field[1])
   19916   for (i = 2; i < nfields; i++) {
   19917     key = field[i]
   19918     keylen = length(key)
   19919     if (S_is_set[key]) {
   19920       value = S[key]
   19921       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19922       len += length(value) + length(field[++i])
   19923       substed = 1
   19924     } else
   19925       len += 1 + keylen
   19926   }
   19927 
   19928   print line
   19929 }
   19930 
   19931 _ACAWK
   19932 _ACEOF
   19933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19934 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19935   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19936 else
   19937   cat
   19938 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19939   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19940 _ACEOF
   19941 
   19942 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19943 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19944 # trailing colons and then remove the whole line if VPATH becomes empty
   19945 # (actually we leave an empty line to preserve line numbers).
   19946 if test "x$srcdir" = x.; then
   19947   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19948 h
   19949 s///
   19950 s/^/:/
   19951 s/[	 ]*$/:/
   19952 s/:\$(srcdir):/:/g
   19953 s/:\${srcdir}:/:/g
   19954 s/:@srcdir@:/:/g
   19955 s/^:*//
   19956 s/:*$//
   19957 x
   19958 s/\(=[	 ]*\).*/\1/
   19959 G
   19960 s/\n//
   19961 s/^[^=]*=[	 ]*$//
   19962 }'
   19963 fi
   19964 
   19965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19966 fi # test -n "$CONFIG_FILES"
   19967 
   19968 # Set up the scripts for CONFIG_HEADERS section.
   19969 # No need to generate them if there are no CONFIG_HEADERS.
   19970 # This happens for instance with `./config.status Makefile'.
   19971 if test -n "$CONFIG_HEADERS"; then
   19972 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19973 BEGIN {
   19974 _ACEOF
   19975 
   19976 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19977 # here-document in config.status, that substitutes the proper values into
   19978 # config.h.in to produce config.h.
   19979 
   19980 # Create a delimiter string that does not exist in confdefs.h, to ease
   19981 # handling of long lines.
   19982 ac_delim='%!_!# '
   19983 for ac_last_try in false false :; do
   19984   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19985   if test -z "$ac_tt"; then
   19986     break
   19987   elif $ac_last_try; then
   19988     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19989   else
   19990     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19991   fi
   19992 done
   19993 
   19994 # For the awk script, D is an array of macro values keyed by name,
   19995 # likewise P contains macro parameters if any.  Preserve backslash
   19996 # newline sequences.
   19997 
   19998 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19999 sed -n '
   20000 s/.\{148\}/&'"$ac_delim"'/g
   20001 t rset
   20002 :rset
   20003 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20004 t def
   20005 d
   20006 :def
   20007 s/\\$//
   20008 t bsnl
   20009 s/["\\]/\\&/g
   20010 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20011 D["\1"]=" \3"/p
   20012 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20013 d
   20014 :bsnl
   20015 s/["\\]/\\&/g
   20016 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20017 D["\1"]=" \3\\\\\\n"\\/p
   20018 t cont
   20019 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20020 t cont
   20021 d
   20022 :cont
   20023 n
   20024 s/.\{148\}/&'"$ac_delim"'/g
   20025 t clear
   20026 :clear
   20027 s/\\$//
   20028 t bsnlc
   20029 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20030 d
   20031 :bsnlc
   20032 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20033 b cont
   20034 ' <confdefs.h | sed '
   20035 s/'"$ac_delim"'/"\\\
   20036 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20037 
   20038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20039   for (key in D) D_is_set[key] = 1
   20040   FS = ""
   20041 }
   20042 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20043   line = \$ 0
   20044   split(line, arg, " ")
   20045   if (arg[1] == "#") {
   20046     defundef = arg[2]
   20047     mac1 = arg[3]
   20048   } else {
   20049     defundef = substr(arg[1], 2)
   20050     mac1 = arg[2]
   20051   }
   20052   split(mac1, mac2, "(") #)
   20053   macro = mac2[1]
   20054   prefix = substr(line, 1, index(line, defundef) - 1)
   20055   if (D_is_set[macro]) {
   20056     # Preserve the white space surrounding the "#".
   20057     print prefix "define", macro P[macro] D[macro]
   20058     next
   20059   } else {
   20060     # Replace #undef with comments.  This is necessary, for example,
   20061     # in the case of _POSIX_SOURCE, which is predefined and required
   20062     # on some systems where configure will not decide to define it.
   20063     if (defundef == "undef") {
   20064       print "/*", prefix defundef, macro, "*/"
   20065       next
   20066     }
   20067   }
   20068 }
   20069 { print }
   20070 _ACAWK
   20071 _ACEOF
   20072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20073   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20074 fi # test -n "$CONFIG_HEADERS"
   20075 
   20076 
   20077 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20078 shift
   20079 for ac_tag
   20080 do
   20081   case $ac_tag in
   20082   :[FHLC]) ac_mode=$ac_tag; continue;;
   20083   esac
   20084   case $ac_mode$ac_tag in
   20085   :[FHL]*:*);;
   20086   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20087   :[FH]-) ac_tag=-:-;;
   20088   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20089   esac
   20090   ac_save_IFS=$IFS
   20091   IFS=:
   20092   set x $ac_tag
   20093   IFS=$ac_save_IFS
   20094   shift
   20095   ac_file=$1
   20096   shift
   20097 
   20098   case $ac_mode in
   20099   :L) ac_source=$1;;
   20100   :[FH])
   20101     ac_file_inputs=
   20102     for ac_f
   20103     do
   20104       case $ac_f in
   20105       -) ac_f="$ac_tmp/stdin";;
   20106       *) # Look for the file first in the build tree, then in the source tree
   20107 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20108 	 # because $ac_f cannot contain `:'.
   20109 	 test -f "$ac_f" ||
   20110 	   case $ac_f in
   20111 	   [\\/$]*) false;;
   20112 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20113 	   esac ||
   20114 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20115       esac
   20116       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20117       as_fn_append ac_file_inputs " '$ac_f'"
   20118     done
   20119 
   20120     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20121     # use $as_me), people would be surprised to read:
   20122     #    /* config.h.  Generated by config.status.  */
   20123     configure_input='Generated from '`
   20124 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20125 	`' by configure.'
   20126     if test x"$ac_file" != x-; then
   20127       configure_input="$ac_file.  $configure_input"
   20128       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20129 $as_echo "$as_me: creating $ac_file" >&6;}
   20130     fi
   20131     # Neutralize special characters interpreted by sed in replacement strings.
   20132     case $configure_input in #(
   20133     *\&* | *\|* | *\\* )
   20134        ac_sed_conf_input=`$as_echo "$configure_input" |
   20135        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20136     *) ac_sed_conf_input=$configure_input;;
   20137     esac
   20138 
   20139     case $ac_tag in
   20140     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20141       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20142     esac
   20143     ;;
   20144   esac
   20145 
   20146   ac_dir=`$as_dirname -- "$ac_file" ||
   20147 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20148 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20149 	 X"$ac_file" : 'X\(//\)$' \| \
   20150 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20151 $as_echo X"$ac_file" |
   20152     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20153 	    s//\1/
   20154 	    q
   20155 	  }
   20156 	  /^X\(\/\/\)[^/].*/{
   20157 	    s//\1/
   20158 	    q
   20159 	  }
   20160 	  /^X\(\/\/\)$/{
   20161 	    s//\1/
   20162 	    q
   20163 	  }
   20164 	  /^X\(\/\).*/{
   20165 	    s//\1/
   20166 	    q
   20167 	  }
   20168 	  s/.*/./; q'`
   20169   as_dir="$ac_dir"; as_fn_mkdir_p
   20170   ac_builddir=.
   20171 
   20172 case "$ac_dir" in
   20173 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20174 *)
   20175   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20176   # A ".." for each directory in $ac_dir_suffix.
   20177   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20178   case $ac_top_builddir_sub in
   20179   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20180   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20181   esac ;;
   20182 esac
   20183 ac_abs_top_builddir=$ac_pwd
   20184 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20185 # for backward compatibility:
   20186 ac_top_builddir=$ac_top_build_prefix
   20187 
   20188 case $srcdir in
   20189   .)  # We are building in place.
   20190     ac_srcdir=.
   20191     ac_top_srcdir=$ac_top_builddir_sub
   20192     ac_abs_top_srcdir=$ac_pwd ;;
   20193   [\\/]* | ?:[\\/]* )  # Absolute name.
   20194     ac_srcdir=$srcdir$ac_dir_suffix;
   20195     ac_top_srcdir=$srcdir
   20196     ac_abs_top_srcdir=$srcdir ;;
   20197   *) # Relative name.
   20198     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20199     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20200     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20201 esac
   20202 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20203 
   20204 
   20205   case $ac_mode in
   20206   :F)
   20207   #
   20208   # CONFIG_FILE
   20209   #
   20210 
   20211   case $INSTALL in
   20212   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20213   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20214   esac
   20215   ac_MKDIR_P=$MKDIR_P
   20216   case $MKDIR_P in
   20217   [\\/$]* | ?:[\\/]* ) ;;
   20218   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20219   esac
   20220 _ACEOF
   20221 
   20222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20223 # If the template does not know about datarootdir, expand it.
   20224 # FIXME: This hack should be removed a few years after 2.60.
   20225 ac_datarootdir_hack=; ac_datarootdir_seen=
   20226 ac_sed_dataroot='
   20227 /datarootdir/ {
   20228   p
   20229   q
   20230 }
   20231 /@datadir@/p
   20232 /@docdir@/p
   20233 /@infodir@/p
   20234 /@localedir@/p
   20235 /@mandir@/p'
   20236 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20237 *datarootdir*) ac_datarootdir_seen=yes;;
   20238 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20239   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20240 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20241 _ACEOF
   20242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20243   ac_datarootdir_hack='
   20244   s&@datadir@&$datadir&g
   20245   s&@docdir@&$docdir&g
   20246   s&@infodir@&$infodir&g
   20247   s&@localedir@&$localedir&g
   20248   s&@mandir@&$mandir&g
   20249   s&\\\${datarootdir}&$datarootdir&g' ;;
   20250 esac
   20251 _ACEOF
   20252 
   20253 # Neutralize VPATH when `$srcdir' = `.'.
   20254 # Shell code in configure.ac might set extrasub.
   20255 # FIXME: do we really want to maintain this feature?
   20256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20257 ac_sed_extra="$ac_vpsub
   20258 $extrasub
   20259 _ACEOF
   20260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20261 :t
   20262 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20263 s|@configure_input@|$ac_sed_conf_input|;t t
   20264 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20265 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20266 s&@srcdir@&$ac_srcdir&;t t
   20267 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20268 s&@top_srcdir@&$ac_top_srcdir&;t t
   20269 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20270 s&@builddir@&$ac_builddir&;t t
   20271 s&@abs_builddir@&$ac_abs_builddir&;t t
   20272 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20273 s&@INSTALL@&$ac_INSTALL&;t t
   20274 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20275 $ac_datarootdir_hack
   20276 "
   20277 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20278   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20279 
   20280 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20281   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20282   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20283       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20284   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20285 which seems to be undefined.  Please make sure it is defined" >&5
   20286 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20287 which seems to be undefined.  Please make sure it is defined" >&2;}
   20288 
   20289   rm -f "$ac_tmp/stdin"
   20290   case $ac_file in
   20291   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20292   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20293   esac \
   20294   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20295  ;;
   20296   :H)
   20297   #
   20298   # CONFIG_HEADER
   20299   #
   20300   if test x"$ac_file" != x-; then
   20301     {
   20302       $as_echo "/* $configure_input  */" \
   20303       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20304     } >"$ac_tmp/config.h" \
   20305       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20306     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20307       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20308 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20309     else
   20310       rm -f "$ac_file"
   20311       mv "$ac_tmp/config.h" "$ac_file" \
   20312 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20313     fi
   20314   else
   20315     $as_echo "/* $configure_input  */" \
   20316       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20317       || as_fn_error $? "could not create -" "$LINENO" 5
   20318   fi
   20319 # Compute "$ac_file"'s index in $config_headers.
   20320 _am_arg="$ac_file"
   20321 _am_stamp_count=1
   20322 for _am_header in $config_headers :; do
   20323   case $_am_header in
   20324     $_am_arg | $_am_arg:* )
   20325       break ;;
   20326     * )
   20327       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20328   esac
   20329 done
   20330 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20331 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20332 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20333 	 X"$_am_arg" : 'X\(//\)$' \| \
   20334 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20335 $as_echo X"$_am_arg" |
   20336     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20337 	    s//\1/
   20338 	    q
   20339 	  }
   20340 	  /^X\(\/\/\)[^/].*/{
   20341 	    s//\1/
   20342 	    q
   20343 	  }
   20344 	  /^X\(\/\/\)$/{
   20345 	    s//\1/
   20346 	    q
   20347 	  }
   20348 	  /^X\(\/\).*/{
   20349 	    s//\1/
   20350 	    q
   20351 	  }
   20352 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20353  ;;
   20354 
   20355   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20356 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20357  ;;
   20358   esac
   20359 
   20360 
   20361   case $ac_file$ac_mode in
   20362     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20363   # Older Autoconf quotes --file arguments for eval, but not when files
   20364   # are listed without --file.  Let's play safe and only enable the eval
   20365   # if we detect the quoting.
   20366   case $CONFIG_FILES in
   20367   *\'*) eval set x "$CONFIG_FILES" ;;
   20368   *)   set x $CONFIG_FILES ;;
   20369   esac
   20370   shift
   20371   for mf
   20372   do
   20373     # Strip MF so we end up with the name of the file.
   20374     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20375     # Check whether this is an Automake generated Makefile or not.
   20376     # We used to match only the files named 'Makefile.in', but
   20377     # some people rename them; so instead we look at the file content.
   20378     # Grep'ing the first line is not enough: some people post-process
   20379     # each Makefile.in and add a new line on top of each file to say so.
   20380     # Grep'ing the whole file is not good either: AIX grep has a line
   20381     # limit of 2048, but all sed's we know have understand at least 4000.
   20382     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20383       dirpart=`$as_dirname -- "$mf" ||
   20384 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20385 	 X"$mf" : 'X\(//\)[^/]' \| \
   20386 	 X"$mf" : 'X\(//\)$' \| \
   20387 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20388 $as_echo X"$mf" |
   20389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20390 	    s//\1/
   20391 	    q
   20392 	  }
   20393 	  /^X\(\/\/\)[^/].*/{
   20394 	    s//\1/
   20395 	    q
   20396 	  }
   20397 	  /^X\(\/\/\)$/{
   20398 	    s//\1/
   20399 	    q
   20400 	  }
   20401 	  /^X\(\/\).*/{
   20402 	    s//\1/
   20403 	    q
   20404 	  }
   20405 	  s/.*/./; q'`
   20406     else
   20407       continue
   20408     fi
   20409     # Extract the definition of DEPDIR, am__include, and am__quote
   20410     # from the Makefile without running 'make'.
   20411     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20412     test -z "$DEPDIR" && continue
   20413     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20414     test -z "$am__include" && continue
   20415     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20416     # Find all dependency output files, they are included files with
   20417     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20418     # simplest approach to changing $(DEPDIR) to its actual value in the
   20419     # expansion.
   20420     for file in `sed -n "
   20421       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20422 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20423       # Make sure the directory exists.
   20424       test -f "$dirpart/$file" && continue
   20425       fdir=`$as_dirname -- "$file" ||
   20426 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20427 	 X"$file" : 'X\(//\)[^/]' \| \
   20428 	 X"$file" : 'X\(//\)$' \| \
   20429 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20430 $as_echo X"$file" |
   20431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20432 	    s//\1/
   20433 	    q
   20434 	  }
   20435 	  /^X\(\/\/\)[^/].*/{
   20436 	    s//\1/
   20437 	    q
   20438 	  }
   20439 	  /^X\(\/\/\)$/{
   20440 	    s//\1/
   20441 	    q
   20442 	  }
   20443 	  /^X\(\/\).*/{
   20444 	    s//\1/
   20445 	    q
   20446 	  }
   20447 	  s/.*/./; q'`
   20448       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20449       # echo "creating $dirpart/$file"
   20450       echo '# dummy' > "$dirpart/$file"
   20451     done
   20452   done
   20453 }
   20454  ;;
   20455     "libtool":C)
   20456 
   20457     # See if we are running on zsh, and set the options that allow our
   20458     # commands through without removal of \ escapes.
   20459     if test -n "${ZSH_VERSION+set}"; then
   20460       setopt NO_GLOB_SUBST
   20461     fi
   20462 
   20463     cfgfile=${ofile}T
   20464     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20465     $RM "$cfgfile"
   20466 
   20467     cat <<_LT_EOF >> "$cfgfile"
   20468 #! $SHELL
   20469 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20470 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20471 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20472 
   20473 # Provide generalized library-building support services.
   20474 # Written by Gordon Matzigkeit, 1996
   20475 
   20476 # Copyright (C) 2014 Free Software Foundation, Inc.
   20477 # This is free software; see the source for copying conditions.  There is NO
   20478 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20479 
   20480 # GNU Libtool is free software; you can redistribute it and/or modify
   20481 # it under the terms of the GNU General Public License as published by
   20482 # the Free Software Foundation; either version 2 of of the License, or
   20483 # (at your option) any later version.
   20484 #
   20485 # As a special exception to the GNU General Public License, if you
   20486 # distribute this file as part of a program or library that is built
   20487 # using GNU Libtool, you may include this file under the  same
   20488 # distribution terms that you use for the rest of that program.
   20489 #
   20490 # GNU Libtool is distributed in the hope that it will be useful, but
   20491 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20492 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20493 # GNU General Public License for more details.
   20494 #
   20495 # You should have received a copy of the GNU General Public License
   20496 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20497 
   20498 
   20499 # The names of the tagged configurations supported by this script.
   20500 available_tags=''
   20501 
   20502 # Configured defaults for sys_lib_dlsearch_path munging.
   20503 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20504 
   20505 # ### BEGIN LIBTOOL CONFIG
   20506 
   20507 # Whether or not to build static libraries.
   20508 build_old_libs=$enable_static
   20509 
   20510 # Which release of libtool.m4 was used?
   20511 macro_version=$macro_version
   20512 macro_revision=$macro_revision
   20513 
   20514 # Whether or not to build shared libraries.
   20515 build_libtool_libs=$enable_shared
   20516 
   20517 # What type of objects to build.
   20518 pic_mode=$pic_mode
   20519 
   20520 # Whether or not to optimize for fast installation.
   20521 fast_install=$enable_fast_install
   20522 
   20523 # Shared archive member basename,for filename based shared library versioning on AIX.
   20524 shared_archive_member_spec=$shared_archive_member_spec
   20525 
   20526 # Shell to use when invoking shell scripts.
   20527 SHELL=$lt_SHELL
   20528 
   20529 # An echo program that protects backslashes.
   20530 ECHO=$lt_ECHO
   20531 
   20532 # The PATH separator for the build system.
   20533 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20534 
   20535 # The host system.
   20536 host_alias=$host_alias
   20537 host=$host
   20538 host_os=$host_os
   20539 
   20540 # The build system.
   20541 build_alias=$build_alias
   20542 build=$build
   20543 build_os=$build_os
   20544 
   20545 # A sed program that does not truncate output.
   20546 SED=$lt_SED
   20547 
   20548 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20549 Xsed="\$SED -e 1s/^X//"
   20550 
   20551 # A grep program that handles long lines.
   20552 GREP=$lt_GREP
   20553 
   20554 # An ERE matcher.
   20555 EGREP=$lt_EGREP
   20556 
   20557 # A literal string matcher.
   20558 FGREP=$lt_FGREP
   20559 
   20560 # A BSD- or MS-compatible name lister.
   20561 NM=$lt_NM
   20562 
   20563 # Whether we need soft or hard links.
   20564 LN_S=$lt_LN_S
   20565 
   20566 # What is the maximum length of a command?
   20567 max_cmd_len=$max_cmd_len
   20568 
   20569 # Object file suffix (normally "o").
   20570 objext=$ac_objext
   20571 
   20572 # Executable file suffix (normally "").
   20573 exeext=$exeext
   20574 
   20575 # whether the shell understands "unset".
   20576 lt_unset=$lt_unset
   20577 
   20578 # turn spaces into newlines.
   20579 SP2NL=$lt_lt_SP2NL
   20580 
   20581 # turn newlines into spaces.
   20582 NL2SP=$lt_lt_NL2SP
   20583 
   20584 # convert \$build file names to \$host format.
   20585 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20586 
   20587 # convert \$build files to toolchain format.
   20588 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20589 
   20590 # An object symbol dumper.
   20591 OBJDUMP=$lt_OBJDUMP
   20592 
   20593 # Method to check whether dependent libraries are shared objects.
   20594 deplibs_check_method=$lt_deplibs_check_method
   20595 
   20596 # Command to use when deplibs_check_method = "file_magic".
   20597 file_magic_cmd=$lt_file_magic_cmd
   20598 
   20599 # How to find potential files when deplibs_check_method = "file_magic".
   20600 file_magic_glob=$lt_file_magic_glob
   20601 
   20602 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20603 want_nocaseglob=$lt_want_nocaseglob
   20604 
   20605 # DLL creation program.
   20606 DLLTOOL=$lt_DLLTOOL
   20607 
   20608 # Command to associate shared and link libraries.
   20609 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20610 
   20611 # The archiver.
   20612 AR=$lt_AR
   20613 
   20614 # Flags to create an archive.
   20615 AR_FLAGS=$lt_AR_FLAGS
   20616 
   20617 # How to feed a file listing to the archiver.
   20618 archiver_list_spec=$lt_archiver_list_spec
   20619 
   20620 # A symbol stripping program.
   20621 STRIP=$lt_STRIP
   20622 
   20623 # Commands used to install an old-style archive.
   20624 RANLIB=$lt_RANLIB
   20625 old_postinstall_cmds=$lt_old_postinstall_cmds
   20626 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20627 
   20628 # Whether to use a lock for old archive extraction.
   20629 lock_old_archive_extraction=$lock_old_archive_extraction
   20630 
   20631 # A C compiler.
   20632 LTCC=$lt_CC
   20633 
   20634 # LTCC compiler flags.
   20635 LTCFLAGS=$lt_CFLAGS
   20636 
   20637 # Take the output of nm and produce a listing of raw symbols and C names.
   20638 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20639 
   20640 # Transform the output of nm in a proper C declaration.
   20641 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20642 
   20643 # Transform the output of nm into a list of symbols to manually relocate.
   20644 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20645 
   20646 # Transform the output of nm in a C name address pair.
   20647 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20648 
   20649 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20650 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20651 
   20652 # The name lister interface.
   20653 nm_interface=$lt_lt_cv_nm_interface
   20654 
   20655 # Specify filename containing input files for \$NM.
   20656 nm_file_list_spec=$lt_nm_file_list_spec
   20657 
   20658 # The root where to search for dependent libraries,and where our libraries should be installed.
   20659 lt_sysroot=$lt_sysroot
   20660 
   20661 # Command to truncate a binary pipe.
   20662 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20663 
   20664 # The name of the directory that contains temporary libtool files.
   20665 objdir=$objdir
   20666 
   20667 # Used to examine libraries when file_magic_cmd begins with "file".
   20668 MAGIC_CMD=$MAGIC_CMD
   20669 
   20670 # Must we lock files when doing compilation?
   20671 need_locks=$lt_need_locks
   20672 
   20673 # Manifest tool.
   20674 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20675 
   20676 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20677 DSYMUTIL=$lt_DSYMUTIL
   20678 
   20679 # Tool to change global to local symbols on Mac OS X.
   20680 NMEDIT=$lt_NMEDIT
   20681 
   20682 # Tool to manipulate fat objects and archives on Mac OS X.
   20683 LIPO=$lt_LIPO
   20684 
   20685 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20686 OTOOL=$lt_OTOOL
   20687 
   20688 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20689 OTOOL64=$lt_OTOOL64
   20690 
   20691 # Old archive suffix (normally "a").
   20692 libext=$libext
   20693 
   20694 # Shared library suffix (normally ".so").
   20695 shrext_cmds=$lt_shrext_cmds
   20696 
   20697 # The commands to extract the exported symbol list from a shared archive.
   20698 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20699 
   20700 # Variables whose values should be saved in libtool wrapper scripts and
   20701 # restored at link time.
   20702 variables_saved_for_relink=$lt_variables_saved_for_relink
   20703 
   20704 # Do we need the "lib" prefix for modules?
   20705 need_lib_prefix=$need_lib_prefix
   20706 
   20707 # Do we need a version for libraries?
   20708 need_version=$need_version
   20709 
   20710 # Library versioning type.
   20711 version_type=$version_type
   20712 
   20713 # Shared library runtime path variable.
   20714 runpath_var=$runpath_var
   20715 
   20716 # Shared library path variable.
   20717 shlibpath_var=$shlibpath_var
   20718 
   20719 # Is shlibpath searched before the hard-coded library search path?
   20720 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20721 
   20722 # Format of library name prefix.
   20723 libname_spec=$lt_libname_spec
   20724 
   20725 # List of archive names.  First name is the real one, the rest are links.
   20726 # The last name is the one that the linker finds with -lNAME
   20727 library_names_spec=$lt_library_names_spec
   20728 
   20729 # The coded name of the library, if different from the real name.
   20730 soname_spec=$lt_soname_spec
   20731 
   20732 # Permission mode override for installation of shared libraries.
   20733 install_override_mode=$lt_install_override_mode
   20734 
   20735 # Command to use after installation of a shared archive.
   20736 postinstall_cmds=$lt_postinstall_cmds
   20737 
   20738 # Command to use after uninstallation of a shared archive.
   20739 postuninstall_cmds=$lt_postuninstall_cmds
   20740 
   20741 # Commands used to finish a libtool library installation in a directory.
   20742 finish_cmds=$lt_finish_cmds
   20743 
   20744 # As "finish_cmds", except a single script fragment to be evaled but
   20745 # not shown.
   20746 finish_eval=$lt_finish_eval
   20747 
   20748 # Whether we should hardcode library paths into libraries.
   20749 hardcode_into_libs=$hardcode_into_libs
   20750 
   20751 # Compile-time system search path for libraries.
   20752 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20753 
   20754 # Detected run-time system search path for libraries.
   20755 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20756 
   20757 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20758 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20759 
   20760 # Whether dlopen is supported.
   20761 dlopen_support=$enable_dlopen
   20762 
   20763 # Whether dlopen of programs is supported.
   20764 dlopen_self=$enable_dlopen_self
   20765 
   20766 # Whether dlopen of statically linked programs is supported.
   20767 dlopen_self_static=$enable_dlopen_self_static
   20768 
   20769 # Commands to strip libraries.
   20770 old_striplib=$lt_old_striplib
   20771 striplib=$lt_striplib
   20772 
   20773 
   20774 # The linker used to build libraries.
   20775 LD=$lt_LD
   20776 
   20777 # How to create reloadable object files.
   20778 reload_flag=$lt_reload_flag
   20779 reload_cmds=$lt_reload_cmds
   20780 
   20781 # Commands used to build an old-style archive.
   20782 old_archive_cmds=$lt_old_archive_cmds
   20783 
   20784 # A language specific compiler.
   20785 CC=$lt_compiler
   20786 
   20787 # Is the compiler the GNU compiler?
   20788 with_gcc=$GCC
   20789 
   20790 # Compiler flag to turn off builtin functions.
   20791 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20792 
   20793 # Additional compiler flags for building library objects.
   20794 pic_flag=$lt_lt_prog_compiler_pic
   20795 
   20796 # How to pass a linker flag through the compiler.
   20797 wl=$lt_lt_prog_compiler_wl
   20798 
   20799 # Compiler flag to prevent dynamic linking.
   20800 link_static_flag=$lt_lt_prog_compiler_static
   20801 
   20802 # Does compiler simultaneously support -c and -o options?
   20803 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20804 
   20805 # Whether or not to add -lc for building shared libraries.
   20806 build_libtool_need_lc=$archive_cmds_need_lc
   20807 
   20808 # Whether or not to disallow shared libs when runtime libs are static.
   20809 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20810 
   20811 # Compiler flag to allow reflexive dlopens.
   20812 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20813 
   20814 # Compiler flag to generate shared objects directly from archives.
   20815 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20816 
   20817 # Whether the compiler copes with passing no objects directly.
   20818 compiler_needs_object=$lt_compiler_needs_object
   20819 
   20820 # Create an old-style archive from a shared archive.
   20821 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20822 
   20823 # Create a temporary old-style archive to link instead of a shared archive.
   20824 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20825 
   20826 # Commands used to build a shared archive.
   20827 archive_cmds=$lt_archive_cmds
   20828 archive_expsym_cmds=$lt_archive_expsym_cmds
   20829 
   20830 # Commands used to build a loadable module if different from building
   20831 # a shared archive.
   20832 module_cmds=$lt_module_cmds
   20833 module_expsym_cmds=$lt_module_expsym_cmds
   20834 
   20835 # Whether we are building with GNU ld or not.
   20836 with_gnu_ld=$lt_with_gnu_ld
   20837 
   20838 # Flag that allows shared libraries with undefined symbols to be built.
   20839 allow_undefined_flag=$lt_allow_undefined_flag
   20840 
   20841 # Flag that enforces no undefined symbols.
   20842 no_undefined_flag=$lt_no_undefined_flag
   20843 
   20844 # Flag to hardcode \$libdir into a binary during linking.
   20845 # This must work even if \$libdir does not exist
   20846 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20847 
   20848 # Whether we need a single "-rpath" flag with a separated argument.
   20849 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20850 
   20851 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20852 # DIR into the resulting binary.
   20853 hardcode_direct=$hardcode_direct
   20854 
   20855 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20856 # DIR into the resulting binary and the resulting library dependency is
   20857 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   20858 # library is relocated.
   20859 hardcode_direct_absolute=$hardcode_direct_absolute
   20860 
   20861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20862 # into the resulting binary.
   20863 hardcode_minus_L=$hardcode_minus_L
   20864 
   20865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20866 # into the resulting binary.
   20867 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20868 
   20869 # Set to "yes" if building a shared library automatically hardcodes DIR
   20870 # into the library and all subsequent libraries and executables linked
   20871 # against it.
   20872 hardcode_automatic=$hardcode_automatic
   20873 
   20874 # Set to yes if linker adds runtime paths of dependent libraries
   20875 # to runtime path list.
   20876 inherit_rpath=$inherit_rpath
   20877 
   20878 # Whether libtool must link a program against all its dependency libraries.
   20879 link_all_deplibs=$link_all_deplibs
   20880 
   20881 # Set to "yes" if exported symbols are required.
   20882 always_export_symbols=$always_export_symbols
   20883 
   20884 # The commands to list exported symbols.
   20885 export_symbols_cmds=$lt_export_symbols_cmds
   20886 
   20887 # Symbols that should not be listed in the preloaded symbols.
   20888 exclude_expsyms=$lt_exclude_expsyms
   20889 
   20890 # Symbols that must always be exported.
   20891 include_expsyms=$lt_include_expsyms
   20892 
   20893 # Commands necessary for linking programs (against libraries) with templates.
   20894 prelink_cmds=$lt_prelink_cmds
   20895 
   20896 # Commands necessary for finishing linking programs.
   20897 postlink_cmds=$lt_postlink_cmds
   20898 
   20899 # Specify filename containing input files.
   20900 file_list_spec=$lt_file_list_spec
   20901 
   20902 # How to hardcode a shared library path into an executable.
   20903 hardcode_action=$hardcode_action
   20904 
   20905 # ### END LIBTOOL CONFIG
   20906 
   20907 _LT_EOF
   20908 
   20909     cat <<'_LT_EOF' >> "$cfgfile"
   20910 
   20911 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   20912 
   20913 # func_munge_path_list VARIABLE PATH
   20914 # -----------------------------------
   20915 # VARIABLE is name of variable containing _space_ separated list of
   20916 # directories to be munged by the contents of PATH, which is string
   20917 # having a format:
   20918 # "DIR[:DIR]:"
   20919 #       string "DIR[ DIR]" will be prepended to VARIABLE
   20920 # ":DIR[:DIR]"
   20921 #       string "DIR[ DIR]" will be appended to VARIABLE
   20922 # "DIRP[:DIRP]::[DIRA:]DIRA"
   20923 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   20924 #       "DIRA[ DIRA]" will be appended to VARIABLE
   20925 # "DIR[:DIR]"
   20926 #       VARIABLE will be replaced by "DIR[ DIR]"
   20927 func_munge_path_list ()
   20928 {
   20929     case x$2 in
   20930     x)
   20931         ;;
   20932     *:)
   20933         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   20934         ;;
   20935     x:*)
   20936         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   20937         ;;
   20938     *::*)
   20939         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   20940         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   20941         ;;
   20942     *)
   20943         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   20944         ;;
   20945     esac
   20946 }
   20947 
   20948 
   20949 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   20950 func_cc_basename ()
   20951 {
   20952     for cc_temp in $*""; do
   20953       case $cc_temp in
   20954         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   20955         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   20956         \-*) ;;
   20957         *) break;;
   20958       esac
   20959     done
   20960     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   20961 }
   20962 
   20963 
   20964 # ### END FUNCTIONS SHARED WITH CONFIGURE
   20965 
   20966 _LT_EOF
   20967 
   20968   case $host_os in
   20969   aix3*)
   20970     cat <<\_LT_EOF >> "$cfgfile"
   20971 # AIX sometimes has problems with the GCC collect2 program.  For some
   20972 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20973 # vanish in a puff of smoke.
   20974 if test set != "${COLLECT_NAMES+set}"; then
   20975   COLLECT_NAMES=
   20976   export COLLECT_NAMES
   20977 fi
   20978 _LT_EOF
   20979     ;;
   20980   esac
   20981 
   20982 
   20983 ltmain=$ac_aux_dir/ltmain.sh
   20984 
   20985 
   20986   # We use sed instead of cat because bash on DJGPP gets confused if
   20987   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20988   # text mode, it properly converts lines to CR/LF.  This bash problem
   20989   # is reportedly fixed, but why not run on old versions too?
   20990   sed '$q' "$ltmain" >> "$cfgfile" \
   20991      || (rm -f "$cfgfile"; exit 1)
   20992 
   20993    mv -f "$cfgfile" "$ofile" ||
   20994     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20995   chmod +x "$ofile"
   20996 
   20997  ;;
   20998 
   20999   esac
   21000 done # for ac_tag
   21001 
   21002 
   21003 as_fn_exit 0
   21004 _ACEOF
   21005 ac_clean_files=$ac_clean_files_save
   21006 
   21007 test $ac_write_fail = 0 ||
   21008   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21009 
   21010 
   21011 # configure is writing to config.log, and then calls config.status.
   21012 # config.status does its own redirection, appending to config.log.
   21013 # Unfortunately, on DOS this fails, as config.log is still kept open
   21014 # by configure, so config.status won't be able to write to it; its
   21015 # output is simply discarded.  So we exec the FD to /dev/null,
   21016 # effectively closing config.log, so it can be properly (re)opened and
   21017 # appended to by config.status.  When coming back to configure, we
   21018 # need to make the FD available again.
   21019 if test "$no_create" != yes; then
   21020   ac_cs_success=:
   21021   ac_config_status_args=
   21022   test "$silent" = yes &&
   21023     ac_config_status_args="$ac_config_status_args --quiet"
   21024   exec 5>/dev/null
   21025   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21026   exec 5>>config.log
   21027   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21028   # would make configure fail if this is the last instruction.
   21029   $ac_cs_success || as_fn_exit 1
   21030 fi
   21031 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21032   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21033 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21034 fi
   21035 
   21036