Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-sunleo 1.2.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-sunleo'
    593 PACKAGE_TARNAME='xf86-video-sunleo'
    594 PACKAGE_VERSION='1.2.2'
    595 PACKAGE_STRING='xf86-video-sunleo 1.2.2'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 XORG_LIBS
    643 XORG_CFLAGS
    644 LT_SYS_LIBRARY_PATH
    645 OTOOL64
    646 OTOOL
    647 LIPO
    648 NMEDIT
    649 DSYMUTIL
    650 MANIFEST_TOOL
    651 RANLIB
    652 ac_ct_AR
    653 AR
    654 DLLTOOL
    655 OBJDUMP
    656 LN_S
    657 NM
    658 ac_ct_DUMPBIN
    659 DUMPBIN
    660 LD
    661 FGREP
    662 LIBTOOL
    663 MAN_SUBSTS
    664 XORG_MAN_PAGE
    665 ADMIN_MAN_DIR
    666 DRIVER_MAN_DIR
    667 MISC_MAN_DIR
    668 FILE_MAN_DIR
    669 LIB_MAN_DIR
    670 APP_MAN_DIR
    671 ADMIN_MAN_SUFFIX
    672 DRIVER_MAN_SUFFIX
    673 MISC_MAN_SUFFIX
    674 FILE_MAN_SUFFIX
    675 LIB_MAN_SUFFIX
    676 APP_MAN_SUFFIX
    677 SED
    678 host_os
    679 host_vendor
    680 host_cpu
    681 host
    682 build_os
    683 build_vendor
    684 build_cpu
    685 build
    686 INSTALL_CMD
    687 PKG_CONFIG_LIBDIR
    688 PKG_CONFIG_PATH
    689 PKG_CONFIG
    690 CHANGELOG_CMD
    691 STRICT_CFLAGS
    692 CWARNFLAGS
    693 BASE_CFLAGS
    694 EGREP
    695 GREP
    696 CPP
    697 am__fastdepCC_FALSE
    698 am__fastdepCC_TRUE
    699 CCDEPMODE
    700 am__nodep
    701 AMDEPBACKSLASH
    702 AMDEP_FALSE
    703 AMDEP_TRUE
    704 am__quote
    705 am__include
    706 DEPDIR
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 MAINT
    715 MAINTAINER_MODE_FALSE
    716 MAINTAINER_MODE_TRUE
    717 AM_BACKSLASH
    718 AM_DEFAULT_VERBOSITY
    719 AM_DEFAULT_V
    720 AM_V
    721 am__untar
    722 am__tar
    723 AMTAR
    724 am__leading_dot
    725 SET_MAKE
    726 AWK
    727 mkdir_p
    728 MKDIR_P
    729 INSTALL_STRIP_PROGRAM
    730 STRIP
    731 install_sh
    732 MAKEINFO
    733 AUTOHEADER
    734 AUTOMAKE
    735 AUTOCONF
    736 ACLOCAL
    737 VERSION
    738 PACKAGE
    739 CYGPATH_W
    740 am__isrc
    741 INSTALL_DATA
    742 INSTALL_SCRIPT
    743 INSTALL_PROGRAM
    744 target_alias
    745 host_alias
    746 build_alias
    747 LIBS
    748 ECHO_T
    749 ECHO_N
    750 ECHO_C
    751 DEFS
    752 mandir
    753 localedir
    754 libdir
    755 psdir
    756 pdfdir
    757 dvidir
    758 htmldir
    759 infodir
    760 docdir
    761 oldincludedir
    762 includedir
    763 localstatedir
    764 sharedstatedir
    765 sysconfdir
    766 datadir
    767 datarootdir
    768 libexecdir
    769 sbindir
    770 bindir
    771 program_transform_name
    772 prefix
    773 exec_prefix
    774 PACKAGE_URL
    775 PACKAGE_BUGREPORT
    776 PACKAGE_STRING
    777 PACKAGE_VERSION
    778 PACKAGE_TARNAME
    779 PACKAGE_NAME
    780 PATH_SEPARATOR
    781 SHELL'
    782 ac_subst_files=''
    783 ac_user_opts='
    784 enable_option_checking
    785 enable_silent_rules
    786 enable_maintainer_mode
    787 enable_dependency_tracking
    788 enable_selective_werror
    789 enable_strict_compilation
    790 enable_static
    791 enable_shared
    792 with_pic
    793 enable_fast_install
    794 with_aix_soname
    795 with_gnu_ld
    796 with_sysroot
    797 enable_libtool_lock
    798 with_xorg_module_dir
    799 '
    800       ac_precious_vars='build_alias
    801 host_alias
    802 target_alias
    803 CC
    804 CFLAGS
    805 LDFLAGS
    806 LIBS
    807 CPPFLAGS
    808 CPP
    809 PKG_CONFIG
    810 PKG_CONFIG_PATH
    811 PKG_CONFIG_LIBDIR
    812 LT_SYS_LIBRARY_PATH
    813 XORG_CFLAGS
    814 XORG_LIBS'
    815 
    816 
    817 # Initialize some variables set by options.
    818 ac_init_help=
    819 ac_init_version=false
    820 ac_unrecognized_opts=
    821 ac_unrecognized_sep=
    822 # The variables have the same names as the options, with
    823 # dashes changed to underlines.
    824 cache_file=/dev/null
    825 exec_prefix=NONE
    826 no_create=
    827 no_recursion=
    828 prefix=NONE
    829 program_prefix=NONE
    830 program_suffix=NONE
    831 program_transform_name=s,x,x,
    832 silent=
    833 site=
    834 srcdir=
    835 verbose=
    836 x_includes=NONE
    837 x_libraries=NONE
    838 
    839 # Installation directory options.
    840 # These are left unexpanded so users can "make install exec_prefix=/foo"
    841 # and all the variables that are supposed to be based on exec_prefix
    842 # by default will actually change.
    843 # Use braces instead of parens because sh, perl, etc. also accept them.
    844 # (The list follows the same order as the GNU Coding Standards.)
    845 bindir='${exec_prefix}/bin'
    846 sbindir='${exec_prefix}/sbin'
    847 libexecdir='${exec_prefix}/libexec'
    848 datarootdir='${prefix}/share'
    849 datadir='${datarootdir}'
    850 sysconfdir='${prefix}/etc'
    851 sharedstatedir='${prefix}/com'
    852 localstatedir='${prefix}/var'
    853 includedir='${prefix}/include'
    854 oldincludedir='/usr/include'
    855 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    856 infodir='${datarootdir}/info'
    857 htmldir='${docdir}'
    858 dvidir='${docdir}'
    859 pdfdir='${docdir}'
    860 psdir='${docdir}'
    861 libdir='${exec_prefix}/lib'
    862 localedir='${datarootdir}/locale'
    863 mandir='${datarootdir}/man'
    864 
    865 ac_prev=
    866 ac_dashdash=
    867 for ac_option
    868 do
    869   # If the previous option needs an argument, assign it.
    870   if test -n "$ac_prev"; then
    871     eval $ac_prev=\$ac_option
    872     ac_prev=
    873     continue
    874   fi
    875 
    876   case $ac_option in
    877   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    878   *=)   ac_optarg= ;;
    879   *)    ac_optarg=yes ;;
    880   esac
    881 
    882   # Accept the important Cygnus configure options, so we can diagnose typos.
    883 
    884   case $ac_dashdash$ac_option in
    885   --)
    886     ac_dashdash=yes ;;
    887 
    888   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    889     ac_prev=bindir ;;
    890   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    891     bindir=$ac_optarg ;;
    892 
    893   -build | --build | --buil | --bui | --bu)
    894     ac_prev=build_alias ;;
    895   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    896     build_alias=$ac_optarg ;;
    897 
    898   -cache-file | --cache-file | --cache-fil | --cache-fi \
    899   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    900     ac_prev=cache_file ;;
    901   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    902   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    903     cache_file=$ac_optarg ;;
    904 
    905   --config-cache | -C)
    906     cache_file=config.cache ;;
    907 
    908   -datadir | --datadir | --datadi | --datad)
    909     ac_prev=datadir ;;
    910   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    911     datadir=$ac_optarg ;;
    912 
    913   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    914   | --dataroo | --dataro | --datar)
    915     ac_prev=datarootdir ;;
    916   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    917   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    918     datarootdir=$ac_optarg ;;
    919 
    920   -disable-* | --disable-*)
    921     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    922     # Reject names that are not valid shell variable names.
    923     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    924       as_fn_error $? "invalid feature name: $ac_useropt"
    925     ac_useropt_orig=$ac_useropt
    926     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    927     case $ac_user_opts in
    928       *"
    929 "enable_$ac_useropt"
    930 "*) ;;
    931       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    932 	 ac_unrecognized_sep=', ';;
    933     esac
    934     eval enable_$ac_useropt=no ;;
    935 
    936   -docdir | --docdir | --docdi | --doc | --do)
    937     ac_prev=docdir ;;
    938   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    939     docdir=$ac_optarg ;;
    940 
    941   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    942     ac_prev=dvidir ;;
    943   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    944     dvidir=$ac_optarg ;;
    945 
    946   -enable-* | --enable-*)
    947     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    948     # Reject names that are not valid shell variable names.
    949     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    950       as_fn_error $? "invalid feature name: $ac_useropt"
    951     ac_useropt_orig=$ac_useropt
    952     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    953     case $ac_user_opts in
    954       *"
    955 "enable_$ac_useropt"
    956 "*) ;;
    957       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    958 	 ac_unrecognized_sep=', ';;
    959     esac
    960     eval enable_$ac_useropt=\$ac_optarg ;;
    961 
    962   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    963   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    964   | --exec | --exe | --ex)
    965     ac_prev=exec_prefix ;;
    966   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    967   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    968   | --exec=* | --exe=* | --ex=*)
    969     exec_prefix=$ac_optarg ;;
    970 
    971   -gas | --gas | --ga | --g)
    972     # Obsolete; use --with-gas.
    973     with_gas=yes ;;
    974 
    975   -help | --help | --hel | --he | -h)
    976     ac_init_help=long ;;
    977   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    978     ac_init_help=recursive ;;
    979   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    980     ac_init_help=short ;;
    981 
    982   -host | --host | --hos | --ho)
    983     ac_prev=host_alias ;;
    984   -host=* | --host=* | --hos=* | --ho=*)
    985     host_alias=$ac_optarg ;;
    986 
    987   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    988     ac_prev=htmldir ;;
    989   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    990   | --ht=*)
    991     htmldir=$ac_optarg ;;
    992 
    993   -includedir | --includedir | --includedi | --included | --include \
    994   | --includ | --inclu | --incl | --inc)
    995     ac_prev=includedir ;;
    996   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    997   | --includ=* | --inclu=* | --incl=* | --inc=*)
    998     includedir=$ac_optarg ;;
    999 
   1000   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1001     ac_prev=infodir ;;
   1002   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1003     infodir=$ac_optarg ;;
   1004 
   1005   -libdir | --libdir | --libdi | --libd)
   1006     ac_prev=libdir ;;
   1007   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1008     libdir=$ac_optarg ;;
   1009 
   1010   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1011   | --libexe | --libex | --libe)
   1012     ac_prev=libexecdir ;;
   1013   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1014   | --libexe=* | --libex=* | --libe=*)
   1015     libexecdir=$ac_optarg ;;
   1016 
   1017   -localedir | --localedir | --localedi | --localed | --locale)
   1018     ac_prev=localedir ;;
   1019   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1020     localedir=$ac_optarg ;;
   1021 
   1022   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1023   | --localstate | --localstat | --localsta | --localst | --locals)
   1024     ac_prev=localstatedir ;;
   1025   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1026   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1027     localstatedir=$ac_optarg ;;
   1028 
   1029   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1030     ac_prev=mandir ;;
   1031   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1032     mandir=$ac_optarg ;;
   1033 
   1034   -nfp | --nfp | --nf)
   1035     # Obsolete; use --without-fp.
   1036     with_fp=no ;;
   1037 
   1038   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1039   | --no-cr | --no-c | -n)
   1040     no_create=yes ;;
   1041 
   1042   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1043   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1044     no_recursion=yes ;;
   1045 
   1046   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1047   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1048   | --oldin | --oldi | --old | --ol | --o)
   1049     ac_prev=oldincludedir ;;
   1050   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1051   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1052   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1053     oldincludedir=$ac_optarg ;;
   1054 
   1055   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1056     ac_prev=prefix ;;
   1057   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1058     prefix=$ac_optarg ;;
   1059 
   1060   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1061   | --program-pre | --program-pr | --program-p)
   1062     ac_prev=program_prefix ;;
   1063   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1064   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1065     program_prefix=$ac_optarg ;;
   1066 
   1067   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1068   | --program-suf | --program-su | --program-s)
   1069     ac_prev=program_suffix ;;
   1070   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1071   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1072     program_suffix=$ac_optarg ;;
   1073 
   1074   -program-transform-name | --program-transform-name \
   1075   | --program-transform-nam | --program-transform-na \
   1076   | --program-transform-n | --program-transform- \
   1077   | --program-transform | --program-transfor \
   1078   | --program-transfo | --program-transf \
   1079   | --program-trans | --program-tran \
   1080   | --progr-tra | --program-tr | --program-t)
   1081     ac_prev=program_transform_name ;;
   1082   -program-transform-name=* | --program-transform-name=* \
   1083   | --program-transform-nam=* | --program-transform-na=* \
   1084   | --program-transform-n=* | --program-transform-=* \
   1085   | --program-transform=* | --program-transfor=* \
   1086   | --program-transfo=* | --program-transf=* \
   1087   | --program-trans=* | --program-tran=* \
   1088   | --progr-tra=* | --program-tr=* | --program-t=*)
   1089     program_transform_name=$ac_optarg ;;
   1090 
   1091   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1092     ac_prev=pdfdir ;;
   1093   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1094     pdfdir=$ac_optarg ;;
   1095 
   1096   -psdir | --psdir | --psdi | --psd | --ps)
   1097     ac_prev=psdir ;;
   1098   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1099     psdir=$ac_optarg ;;
   1100 
   1101   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1102   | -silent | --silent | --silen | --sile | --sil)
   1103     silent=yes ;;
   1104 
   1105   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1106     ac_prev=sbindir ;;
   1107   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1108   | --sbi=* | --sb=*)
   1109     sbindir=$ac_optarg ;;
   1110 
   1111   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1112   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1113   | --sharedst | --shareds | --shared | --share | --shar \
   1114   | --sha | --sh)
   1115     ac_prev=sharedstatedir ;;
   1116   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1117   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1118   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1119   | --sha=* | --sh=*)
   1120     sharedstatedir=$ac_optarg ;;
   1121 
   1122   -site | --site | --sit)
   1123     ac_prev=site ;;
   1124   -site=* | --site=* | --sit=*)
   1125     site=$ac_optarg ;;
   1126 
   1127   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1128     ac_prev=srcdir ;;
   1129   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1130     srcdir=$ac_optarg ;;
   1131 
   1132   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1133   | --syscon | --sysco | --sysc | --sys | --sy)
   1134     ac_prev=sysconfdir ;;
   1135   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1136   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1137     sysconfdir=$ac_optarg ;;
   1138 
   1139   -target | --target | --targe | --targ | --tar | --ta | --t)
   1140     ac_prev=target_alias ;;
   1141   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1142     target_alias=$ac_optarg ;;
   1143 
   1144   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1145     verbose=yes ;;
   1146 
   1147   -version | --version | --versio | --versi | --vers | -V)
   1148     ac_init_version=: ;;
   1149 
   1150   -with-* | --with-*)
   1151     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1152     # Reject names that are not valid shell variable names.
   1153     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1154       as_fn_error $? "invalid package name: $ac_useropt"
   1155     ac_useropt_orig=$ac_useropt
   1156     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1157     case $ac_user_opts in
   1158       *"
   1159 "with_$ac_useropt"
   1160 "*) ;;
   1161       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1162 	 ac_unrecognized_sep=', ';;
   1163     esac
   1164     eval with_$ac_useropt=\$ac_optarg ;;
   1165 
   1166   -without-* | --without-*)
   1167     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   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--without-$ac_useropt_orig"
   1178 	 ac_unrecognized_sep=', ';;
   1179     esac
   1180     eval with_$ac_useropt=no ;;
   1181 
   1182   --x)
   1183     # Obsolete; use --with-x.
   1184     with_x=yes ;;
   1185 
   1186   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1187   | --x-incl | --x-inc | --x-in | --x-i)
   1188     ac_prev=x_includes ;;
   1189   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1190   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1191     x_includes=$ac_optarg ;;
   1192 
   1193   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1194   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1195     ac_prev=x_libraries ;;
   1196   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1197   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1198     x_libraries=$ac_optarg ;;
   1199 
   1200   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1201 Try \`$0 --help' for more information"
   1202     ;;
   1203 
   1204   *=*)
   1205     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1206     # Reject names that are not valid shell variable names.
   1207     case $ac_envvar in #(
   1208       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1209       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1210     esac
   1211     eval $ac_envvar=\$ac_optarg
   1212     export $ac_envvar ;;
   1213 
   1214   *)
   1215     # FIXME: should be removed in autoconf 3.0.
   1216     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1217     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1218       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1219     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1220     ;;
   1221 
   1222   esac
   1223 done
   1224 
   1225 if test -n "$ac_prev"; then
   1226   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1227   as_fn_error $? "missing argument to $ac_option"
   1228 fi
   1229 
   1230 if test -n "$ac_unrecognized_opts"; then
   1231   case $enable_option_checking in
   1232     no) ;;
   1233     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1234     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1235   esac
   1236 fi
   1237 
   1238 # Check all directory arguments for consistency.
   1239 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1240 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1241 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1242 		libdir localedir mandir
   1243 do
   1244   eval ac_val=\$$ac_var
   1245   # Remove trailing slashes.
   1246   case $ac_val in
   1247     */ )
   1248       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1249       eval $ac_var=\$ac_val;;
   1250   esac
   1251   # Be sure to have absolute directory names.
   1252   case $ac_val in
   1253     [\\/$]* | ?:[\\/]* )  continue;;
   1254     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1255   esac
   1256   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1257 done
   1258 
   1259 # There might be people who depend on the old broken behavior: `$host'
   1260 # used to hold the argument of --host etc.
   1261 # FIXME: To remove some day.
   1262 build=$build_alias
   1263 host=$host_alias
   1264 target=$target_alias
   1265 
   1266 # FIXME: To remove some day.
   1267 if test "x$host_alias" != x; then
   1268   if test "x$build_alias" = x; then
   1269     cross_compiling=maybe
   1270   elif test "x$build_alias" != "x$host_alias"; then
   1271     cross_compiling=yes
   1272   fi
   1273 fi
   1274 
   1275 ac_tool_prefix=
   1276 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1277 
   1278 test "$silent" = yes && exec 6>/dev/null
   1279 
   1280 
   1281 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1282 ac_ls_di=`ls -di .` &&
   1283 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1284   as_fn_error $? "working directory cannot be determined"
   1285 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1286   as_fn_error $? "pwd does not report name of working directory"
   1287 
   1288 
   1289 # Find the source files, if location was not specified.
   1290 if test -z "$srcdir"; then
   1291   ac_srcdir_defaulted=yes
   1292   # Try the directory containing this script, then the parent directory.
   1293   ac_confdir=`$as_dirname -- "$as_myself" ||
   1294 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1295 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1296 	 X"$as_myself" : 'X\(//\)$' \| \
   1297 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1298 $as_echo X"$as_myself" |
   1299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1300 	    s//\1/
   1301 	    q
   1302 	  }
   1303 	  /^X\(\/\/\)[^/].*/{
   1304 	    s//\1/
   1305 	    q
   1306 	  }
   1307 	  /^X\(\/\/\)$/{
   1308 	    s//\1/
   1309 	    q
   1310 	  }
   1311 	  /^X\(\/\).*/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  s/.*/./; q'`
   1316   srcdir=$ac_confdir
   1317   if test ! -r "$srcdir/$ac_unique_file"; then
   1318     srcdir=..
   1319   fi
   1320 else
   1321   ac_srcdir_defaulted=no
   1322 fi
   1323 if test ! -r "$srcdir/$ac_unique_file"; then
   1324   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1325   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1326 fi
   1327 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1328 ac_abs_confdir=`(
   1329 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1330 	pwd)`
   1331 # When building in place, set srcdir=.
   1332 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1333   srcdir=.
   1334 fi
   1335 # Remove unnecessary trailing slashes from srcdir.
   1336 # Double slashes in file names in object file debugging info
   1337 # mess up M-x gdb in Emacs.
   1338 case $srcdir in
   1339 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1340 esac
   1341 for ac_var in $ac_precious_vars; do
   1342   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1343   eval ac_env_${ac_var}_value=\$${ac_var}
   1344   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1345   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1346 done
   1347 
   1348 #
   1349 # Report the --help message.
   1350 #
   1351 if test "$ac_init_help" = "long"; then
   1352   # Omit some internal or obsolete options to make the list less imposing.
   1353   # This message is too long to be a string in the A/UX 3.1 sh.
   1354   cat <<_ACEOF
   1355 \`configure' configures xf86-video-sunleo 1.2.2 to adapt to many kinds of systems.
   1356 
   1357 Usage: $0 [OPTION]... [VAR=VALUE]...
   1358 
   1359 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1360 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1361 
   1362 Defaults for the options are specified in brackets.
   1363 
   1364 Configuration:
   1365   -h, --help              display this help and exit
   1366       --help=short        display options specific to this package
   1367       --help=recursive    display the short help of all the included packages
   1368   -V, --version           display version information and exit
   1369   -q, --quiet, --silent   do not print \`checking ...' messages
   1370       --cache-file=FILE   cache test results in FILE [disabled]
   1371   -C, --config-cache      alias for \`--cache-file=config.cache'
   1372   -n, --no-create         do not create output files
   1373       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1374 
   1375 Installation directories:
   1376   --prefix=PREFIX         install architecture-independent files in PREFIX
   1377                           [$ac_default_prefix]
   1378   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1379                           [PREFIX]
   1380 
   1381 By default, \`make install' will install all the files in
   1382 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1383 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1384 for instance \`--prefix=\$HOME'.
   1385 
   1386 For better control, use the options below.
   1387 
   1388 Fine tuning of the installation directories:
   1389   --bindir=DIR            user executables [EPREFIX/bin]
   1390   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1391   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1392   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1393   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1394   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1395   --libdir=DIR            object code libraries [EPREFIX/lib]
   1396   --includedir=DIR        C header files [PREFIX/include]
   1397   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1398   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1399   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1400   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1401   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1402   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1403   --docdir=DIR            documentation root
   1404                           [DATAROOTDIR/doc/xf86-video-sunleo]
   1405   --htmldir=DIR           html documentation [DOCDIR]
   1406   --dvidir=DIR            dvi documentation [DOCDIR]
   1407   --pdfdir=DIR            pdf documentation [DOCDIR]
   1408   --psdir=DIR             ps documentation [DOCDIR]
   1409 _ACEOF
   1410 
   1411   cat <<\_ACEOF
   1412 
   1413 Program names:
   1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1417 
   1418 System types:
   1419   --build=BUILD     configure for building on BUILD [guessed]
   1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of xf86-video-sunleo 1.2.2:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --enable-maintainer-mode
   1437                           enable make rules and dependencies not useful (and
   1438                           sometimes confusing) to the casual installer
   1439   --enable-dependency-tracking
   1440                           do not reject slow dependency extractors
   1441   --disable-dependency-tracking
   1442                           speeds up one-time build
   1443   --disable-selective-werror
   1444                           Turn off selective compiler errors. (default:
   1445                           enabled)
   1446   --enable-strict-compilation
   1447                           Enable all warnings from compiler and make them
   1448                           errors (default: disabled)
   1449   --enable-static[=PKGS]  build static libraries [default=no]
   1450   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1451   --enable-fast-install[=PKGS]
   1452                           optimize for fast installation [default=yes]
   1453   --disable-libtool-lock  avoid locking (might break parallel builds)
   1454 
   1455 Optional Packages:
   1456   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1457   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1458   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1459                           both]
   1460   --with-aix-soname=aix|svr4|both
   1461                           shared library versioning (aka "SONAME") variant to
   1462                           provide on AIX, [default=aix].
   1463   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1464   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1465                           compiler's sysroot if not specified).
   1466   --with-xorg-module-dir=DIR
   1467                           Default xorg module directory
   1468                           [[default=$libdir/xorg/modules]]
   1469 
   1470 Some influential environment variables:
   1471   CC          C compiler command
   1472   CFLAGS      C compiler flags
   1473   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1474               nonstandard directory <lib dir>
   1475   LIBS        libraries to pass to the linker, e.g. -l<library>
   1476   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1477               you have headers in a nonstandard directory <include dir>
   1478   CPP         C preprocessor
   1479   PKG_CONFIG  path to pkg-config utility
   1480   PKG_CONFIG_PATH
   1481               directories to add to pkg-config's search path
   1482   PKG_CONFIG_LIBDIR
   1483               path overriding pkg-config's built-in search path
   1484   LT_SYS_LIBRARY_PATH
   1485               User-defined run-time library search path.
   1486   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1487   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1488 
   1489 Use these variables to override the choices made by `configure' or to help
   1490 it to find libraries and programs with nonstandard names/locations.
   1491 
   1492 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1493 _ACEOF
   1494 ac_status=$?
   1495 fi
   1496 
   1497 if test "$ac_init_help" = "recursive"; then
   1498   # If there are subdirs, report their specific --help.
   1499   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1500     test -d "$ac_dir" ||
   1501       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1502       continue
   1503     ac_builddir=.
   1504 
   1505 case "$ac_dir" in
   1506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1507 *)
   1508   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1509   # A ".." for each directory in $ac_dir_suffix.
   1510   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1511   case $ac_top_builddir_sub in
   1512   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1513   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1514   esac ;;
   1515 esac
   1516 ac_abs_top_builddir=$ac_pwd
   1517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1518 # for backward compatibility:
   1519 ac_top_builddir=$ac_top_build_prefix
   1520 
   1521 case $srcdir in
   1522   .)  # We are building in place.
   1523     ac_srcdir=.
   1524     ac_top_srcdir=$ac_top_builddir_sub
   1525     ac_abs_top_srcdir=$ac_pwd ;;
   1526   [\\/]* | ?:[\\/]* )  # Absolute name.
   1527     ac_srcdir=$srcdir$ac_dir_suffix;
   1528     ac_top_srcdir=$srcdir
   1529     ac_abs_top_srcdir=$srcdir ;;
   1530   *) # Relative name.
   1531     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1532     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1533     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1534 esac
   1535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1536 
   1537     cd "$ac_dir" || { ac_status=$?; continue; }
   1538     # Check for guested configure.
   1539     if test -f "$ac_srcdir/configure.gnu"; then
   1540       echo &&
   1541       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1542     elif test -f "$ac_srcdir/configure"; then
   1543       echo &&
   1544       $SHELL "$ac_srcdir/configure" --help=recursive
   1545     else
   1546       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1547     fi || ac_status=$?
   1548     cd "$ac_pwd" || { ac_status=$?; break; }
   1549   done
   1550 fi
   1551 
   1552 test -n "$ac_init_help" && exit $ac_status
   1553 if $ac_init_version; then
   1554   cat <<\_ACEOF
   1555 xf86-video-sunleo configure 1.2.2
   1556 generated by GNU Autoconf 2.69
   1557 
   1558 Copyright (C) 2012 Free Software Foundation, Inc.
   1559 This configure script is free software; the Free Software Foundation
   1560 gives unlimited permission to copy, distribute and modify it.
   1561 _ACEOF
   1562   exit
   1563 fi
   1564 
   1565 ## ------------------------ ##
   1566 ## Autoconf initialization. ##
   1567 ## ------------------------ ##
   1568 
   1569 # ac_fn_c_try_compile LINENO
   1570 # --------------------------
   1571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1572 ac_fn_c_try_compile ()
   1573 {
   1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1575   rm -f conftest.$ac_objext
   1576   if { { ac_try="$ac_compile"
   1577 case "(($ac_try" in
   1578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1579   *) ac_try_echo=$ac_try;;
   1580 esac
   1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1582 $as_echo "$ac_try_echo"; } >&5
   1583   (eval "$ac_compile") 2>conftest.err
   1584   ac_status=$?
   1585   if test -s conftest.err; then
   1586     grep -v '^ *+' conftest.err >conftest.er1
   1587     cat conftest.er1 >&5
   1588     mv -f conftest.er1 conftest.err
   1589   fi
   1590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1591   test $ac_status = 0; } && {
   1592 	 test -z "$ac_c_werror_flag" ||
   1593 	 test ! -s conftest.err
   1594        } && test -s conftest.$ac_objext; then :
   1595   ac_retval=0
   1596 else
   1597   $as_echo "$as_me: failed program was:" >&5
   1598 sed 's/^/| /' conftest.$ac_ext >&5
   1599 
   1600 	ac_retval=1
   1601 fi
   1602   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1603   as_fn_set_status $ac_retval
   1604 
   1605 } # ac_fn_c_try_compile
   1606 
   1607 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1608 # ---------------------------------------------
   1609 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1610 # accordingly.
   1611 ac_fn_c_check_decl ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1615   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1617 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1618 if eval \${$3+:} false; then :
   1619   $as_echo_n "(cached) " >&6
   1620 else
   1621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1622 /* end confdefs.h.  */
   1623 $4
   1624 int
   1625 main ()
   1626 {
   1627 #ifndef $as_decl_name
   1628 #ifdef __cplusplus
   1629   (void) $as_decl_use;
   1630 #else
   1631   (void) $as_decl_name;
   1632 #endif
   1633 #endif
   1634 
   1635   ;
   1636   return 0;
   1637 }
   1638 _ACEOF
   1639 if ac_fn_c_try_compile "$LINENO"; then :
   1640   eval "$3=yes"
   1641 else
   1642   eval "$3=no"
   1643 fi
   1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1645 fi
   1646 eval ac_res=\$$3
   1647 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1648 $as_echo "$ac_res" >&6; }
   1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1650 
   1651 } # ac_fn_c_check_decl
   1652 
   1653 # ac_fn_c_try_cpp LINENO
   1654 # ----------------------
   1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1656 ac_fn_c_try_cpp ()
   1657 {
   1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1659   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1660 case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 $as_echo "$ac_try_echo"; } >&5
   1666   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1667   ac_status=$?
   1668   if test -s conftest.err; then
   1669     grep -v '^ *+' conftest.err >conftest.er1
   1670     cat conftest.er1 >&5
   1671     mv -f conftest.er1 conftest.err
   1672   fi
   1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1674   test $ac_status = 0; } > conftest.i && {
   1675 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1676 	 test ! -s conftest.err
   1677        }; then :
   1678   ac_retval=0
   1679 else
   1680   $as_echo "$as_me: failed program was:" >&5
   1681 sed 's/^/| /' conftest.$ac_ext >&5
   1682 
   1683     ac_retval=1
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_cpp
   1689 
   1690 # ac_fn_c_try_run LINENO
   1691 # ----------------------
   1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1693 # that executables *can* be run.
   1694 ac_fn_c_try_run ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   if { { ac_try="$ac_link"
   1698 case "(($ac_try" in
   1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1700   *) ac_try_echo=$ac_try;;
   1701 esac
   1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1703 $as_echo "$ac_try_echo"; } >&5
   1704   (eval "$ac_link") 2>&5
   1705   ac_status=$?
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1708   { { case "(($ac_try" in
   1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1710   *) ac_try_echo=$ac_try;;
   1711 esac
   1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1713 $as_echo "$ac_try_echo"; } >&5
   1714   (eval "$ac_try") 2>&5
   1715   ac_status=$?
   1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1717   test $ac_status = 0; }; }; then :
   1718   ac_retval=0
   1719 else
   1720   $as_echo "$as_me: program exited with status $ac_status" >&5
   1721        $as_echo "$as_me: failed program was:" >&5
   1722 sed 's/^/| /' conftest.$ac_ext >&5
   1723 
   1724        ac_retval=$ac_status
   1725 fi
   1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728   as_fn_set_status $ac_retval
   1729 
   1730 } # ac_fn_c_try_run
   1731 
   1732 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1733 # -------------------------------------------------------
   1734 # Tests whether HEADER exists and can be compiled using the include files in
   1735 # INCLUDES, setting the cache variable VAR accordingly.
   1736 ac_fn_c_check_header_compile ()
   1737 {
   1738   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1740 $as_echo_n "checking for $2... " >&6; }
   1741 if eval \${$3+:} false; then :
   1742   $as_echo_n "(cached) " >&6
   1743 else
   1744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1745 /* end confdefs.h.  */
   1746 $4
   1747 #include <$2>
   1748 _ACEOF
   1749 if ac_fn_c_try_compile "$LINENO"; then :
   1750   eval "$3=yes"
   1751 else
   1752   eval "$3=no"
   1753 fi
   1754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1755 fi
   1756 eval ac_res=\$$3
   1757 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1758 $as_echo "$ac_res" >&6; }
   1759   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1760 
   1761 } # ac_fn_c_check_header_compile
   1762 
   1763 # ac_fn_c_try_link LINENO
   1764 # -----------------------
   1765 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1766 ac_fn_c_try_link ()
   1767 {
   1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1769   rm -f conftest.$ac_objext conftest$ac_exeext
   1770   if { { ac_try="$ac_link"
   1771 case "(($ac_try" in
   1772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1773   *) ac_try_echo=$ac_try;;
   1774 esac
   1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1776 $as_echo "$ac_try_echo"; } >&5
   1777   (eval "$ac_link") 2>conftest.err
   1778   ac_status=$?
   1779   if test -s conftest.err; then
   1780     grep -v '^ *+' conftest.err >conftest.er1
   1781     cat conftest.er1 >&5
   1782     mv -f conftest.er1 conftest.err
   1783   fi
   1784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1785   test $ac_status = 0; } && {
   1786 	 test -z "$ac_c_werror_flag" ||
   1787 	 test ! -s conftest.err
   1788        } && test -s conftest$ac_exeext && {
   1789 	 test "$cross_compiling" = yes ||
   1790 	 test -x conftest$ac_exeext
   1791        }; then :
   1792   ac_retval=0
   1793 else
   1794   $as_echo "$as_me: failed program was:" >&5
   1795 sed 's/^/| /' conftest.$ac_ext >&5
   1796 
   1797 	ac_retval=1
   1798 fi
   1799   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1800   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1801   # interfere with the next link command; also delete a directory that is
   1802   # left behind by Apple's compiler.  We do this before executing the actions.
   1803   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1804   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1805   as_fn_set_status $ac_retval
   1806 
   1807 } # ac_fn_c_try_link
   1808 
   1809 # ac_fn_c_check_func LINENO FUNC VAR
   1810 # ----------------------------------
   1811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1812 ac_fn_c_check_func ()
   1813 {
   1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1816 $as_echo_n "checking for $2... " >&6; }
   1817 if eval \${$3+:} false; then :
   1818   $as_echo_n "(cached) " >&6
   1819 else
   1820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1821 /* end confdefs.h.  */
   1822 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1824 #define $2 innocuous_$2
   1825 
   1826 /* System header to define __stub macros and hopefully few prototypes,
   1827     which can conflict with char $2 (); below.
   1828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1829     <limits.h> exists even on freestanding compilers.  */
   1830 
   1831 #ifdef __STDC__
   1832 # include <limits.h>
   1833 #else
   1834 # include <assert.h>
   1835 #endif
   1836 
   1837 #undef $2
   1838 
   1839 /* Override any GCC internal prototype to avoid an error.
   1840    Use char because int might match the return type of a GCC
   1841    builtin and then its argument prototype would still apply.  */
   1842 #ifdef __cplusplus
   1843 extern "C"
   1844 #endif
   1845 char $2 ();
   1846 /* The GNU C library defines this for functions which it implements
   1847     to always fail with ENOSYS.  Some functions are actually named
   1848     something starting with __ and the normal name is an alias.  */
   1849 #if defined __stub_$2 || defined __stub___$2
   1850 choke me
   1851 #endif
   1852 
   1853 int
   1854 main ()
   1855 {
   1856 return $2 ();
   1857   ;
   1858   return 0;
   1859 }
   1860 _ACEOF
   1861 if ac_fn_c_try_link "$LINENO"; then :
   1862   eval "$3=yes"
   1863 else
   1864   eval "$3=no"
   1865 fi
   1866 rm -f core conftest.err conftest.$ac_objext \
   1867     conftest$ac_exeext conftest.$ac_ext
   1868 fi
   1869 eval ac_res=\$$3
   1870 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1871 $as_echo "$ac_res" >&6; }
   1872   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1873 
   1874 } # ac_fn_c_check_func
   1875 cat >config.log <<_ACEOF
   1876 This file contains any messages produced by compilers while
   1877 running configure, to aid debugging if configure makes a mistake.
   1878 
   1879 It was created by xf86-video-sunleo $as_me 1.2.2, which was
   1880 generated by GNU Autoconf 2.69.  Invocation command line was
   1881 
   1882   $ $0 $@
   1883 
   1884 _ACEOF
   1885 exec 5>>config.log
   1886 {
   1887 cat <<_ASUNAME
   1888 ## --------- ##
   1889 ## Platform. ##
   1890 ## --------- ##
   1891 
   1892 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1893 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1894 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1895 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1896 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1897 
   1898 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1899 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1900 
   1901 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1902 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1903 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1904 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1905 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1906 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1907 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1908 
   1909 _ASUNAME
   1910 
   1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1912 for as_dir in $PATH
   1913 do
   1914   IFS=$as_save_IFS
   1915   test -z "$as_dir" && as_dir=.
   1916     $as_echo "PATH: $as_dir"
   1917   done
   1918 IFS=$as_save_IFS
   1919 
   1920 } >&5
   1921 
   1922 cat >&5 <<_ACEOF
   1923 
   1924 
   1925 ## ----------- ##
   1926 ## Core tests. ##
   1927 ## ----------- ##
   1928 
   1929 _ACEOF
   1930 
   1931 
   1932 # Keep a trace of the command line.
   1933 # Strip out --no-create and --no-recursion so they do not pile up.
   1934 # Strip out --silent because we don't want to record it for future runs.
   1935 # Also quote any args containing shell meta-characters.
   1936 # Make two passes to allow for proper duplicate-argument suppression.
   1937 ac_configure_args=
   1938 ac_configure_args0=
   1939 ac_configure_args1=
   1940 ac_must_keep_next=false
   1941 for ac_pass in 1 2
   1942 do
   1943   for ac_arg
   1944   do
   1945     case $ac_arg in
   1946     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1947     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1948     | -silent | --silent | --silen | --sile | --sil)
   1949       continue ;;
   1950     *\'*)
   1951       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1952     esac
   1953     case $ac_pass in
   1954     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1955     2)
   1956       as_fn_append ac_configure_args1 " '$ac_arg'"
   1957       if test $ac_must_keep_next = true; then
   1958 	ac_must_keep_next=false # Got value, back to normal.
   1959       else
   1960 	case $ac_arg in
   1961 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1962 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1963 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1964 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1965 	    case "$ac_configure_args0 " in
   1966 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1967 	    esac
   1968 	    ;;
   1969 	  -* ) ac_must_keep_next=true ;;
   1970 	esac
   1971       fi
   1972       as_fn_append ac_configure_args " '$ac_arg'"
   1973       ;;
   1974     esac
   1975   done
   1976 done
   1977 { ac_configure_args0=; unset ac_configure_args0;}
   1978 { ac_configure_args1=; unset ac_configure_args1;}
   1979 
   1980 # When interrupted or exit'd, cleanup temporary files, and complete
   1981 # config.log.  We remove comments because anyway the quotes in there
   1982 # would cause problems or look ugly.
   1983 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1984 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1985 trap 'exit_status=$?
   1986   # Save into config.log some information that might help in debugging.
   1987   {
   1988     echo
   1989 
   1990     $as_echo "## ---------------- ##
   1991 ## Cache variables. ##
   1992 ## ---------------- ##"
   1993     echo
   1994     # The following way of writing the cache mishandles newlines in values,
   1995 (
   1996   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1997     eval ac_val=\$$ac_var
   1998     case $ac_val in #(
   1999     *${as_nl}*)
   2000       case $ac_var in #(
   2001       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2002 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2003       esac
   2004       case $ac_var in #(
   2005       _ | IFS | as_nl) ;; #(
   2006       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2007       *) { eval $ac_var=; unset $ac_var;} ;;
   2008       esac ;;
   2009     esac
   2010   done
   2011   (set) 2>&1 |
   2012     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2013     *${as_nl}ac_space=\ *)
   2014       sed -n \
   2015 	"s/'\''/'\''\\\\'\'''\''/g;
   2016 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2017       ;; #(
   2018     *)
   2019       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2020       ;;
   2021     esac |
   2022     sort
   2023 )
   2024     echo
   2025 
   2026     $as_echo "## ----------------- ##
   2027 ## Output variables. ##
   2028 ## ----------------- ##"
   2029     echo
   2030     for ac_var in $ac_subst_vars
   2031     do
   2032       eval ac_val=\$$ac_var
   2033       case $ac_val in
   2034       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2035       esac
   2036       $as_echo "$ac_var='\''$ac_val'\''"
   2037     done | sort
   2038     echo
   2039 
   2040     if test -n "$ac_subst_files"; then
   2041       $as_echo "## ------------------- ##
   2042 ## File substitutions. ##
   2043 ## ------------------- ##"
   2044       echo
   2045       for ac_var in $ac_subst_files
   2046       do
   2047 	eval ac_val=\$$ac_var
   2048 	case $ac_val in
   2049 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2050 	esac
   2051 	$as_echo "$ac_var='\''$ac_val'\''"
   2052       done | sort
   2053       echo
   2054     fi
   2055 
   2056     if test -s confdefs.h; then
   2057       $as_echo "## ----------- ##
   2058 ## confdefs.h. ##
   2059 ## ----------- ##"
   2060       echo
   2061       cat confdefs.h
   2062       echo
   2063     fi
   2064     test "$ac_signal" != 0 &&
   2065       $as_echo "$as_me: caught signal $ac_signal"
   2066     $as_echo "$as_me: exit $exit_status"
   2067   } >&5
   2068   rm -f core *.core core.conftest.* &&
   2069     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2070     exit $exit_status
   2071 ' 0
   2072 for ac_signal in 1 2 13 15; do
   2073   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2074 done
   2075 ac_signal=0
   2076 
   2077 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2078 rm -f -r conftest* confdefs.h
   2079 
   2080 $as_echo "/* confdefs.h */" > confdefs.h
   2081 
   2082 # Predefined preprocessor variables.
   2083 
   2084 cat >>confdefs.h <<_ACEOF
   2085 #define PACKAGE_NAME "$PACKAGE_NAME"
   2086 _ACEOF
   2087 
   2088 cat >>confdefs.h <<_ACEOF
   2089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2090 _ACEOF
   2091 
   2092 cat >>confdefs.h <<_ACEOF
   2093 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2094 _ACEOF
   2095 
   2096 cat >>confdefs.h <<_ACEOF
   2097 #define PACKAGE_STRING "$PACKAGE_STRING"
   2098 _ACEOF
   2099 
   2100 cat >>confdefs.h <<_ACEOF
   2101 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2102 _ACEOF
   2103 
   2104 cat >>confdefs.h <<_ACEOF
   2105 #define PACKAGE_URL "$PACKAGE_URL"
   2106 _ACEOF
   2107 
   2108 
   2109 # Let the site file select an alternate cache file if it wants to.
   2110 # Prefer an explicitly selected file to automatically selected ones.
   2111 ac_site_file1=NONE
   2112 ac_site_file2=NONE
   2113 if test -n "$CONFIG_SITE"; then
   2114   # We do not want a PATH search for config.site.
   2115   case $CONFIG_SITE in #((
   2116     -*)  ac_site_file1=./$CONFIG_SITE;;
   2117     */*) ac_site_file1=$CONFIG_SITE;;
   2118     *)   ac_site_file1=./$CONFIG_SITE;;
   2119   esac
   2120 elif test "x$prefix" != xNONE; then
   2121   ac_site_file1=$prefix/share/config.site
   2122   ac_site_file2=$prefix/etc/config.site
   2123 else
   2124   ac_site_file1=$ac_default_prefix/share/config.site
   2125   ac_site_file2=$ac_default_prefix/etc/config.site
   2126 fi
   2127 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2128 do
   2129   test "x$ac_site_file" = xNONE && continue
   2130   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2131     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2132 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2133     sed 's/^/| /' "$ac_site_file" >&5
   2134     . "$ac_site_file" \
   2135       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2137 as_fn_error $? "failed to load site script $ac_site_file
   2138 See \`config.log' for more details" "$LINENO" 5; }
   2139   fi
   2140 done
   2141 
   2142 if test -r "$cache_file"; then
   2143   # Some versions of bash will fail to source /dev/null (special files
   2144   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2145   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2146     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2147 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2148     case $cache_file in
   2149       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2150       *)                      . "./$cache_file";;
   2151     esac
   2152   fi
   2153 else
   2154   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2155 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2156   >$cache_file
   2157 fi
   2158 
   2159 # Check that the precious variables saved in the cache have kept the same
   2160 # value.
   2161 ac_cache_corrupted=false
   2162 for ac_var in $ac_precious_vars; do
   2163   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2164   eval ac_new_set=\$ac_env_${ac_var}_set
   2165   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2166   eval ac_new_val=\$ac_env_${ac_var}_value
   2167   case $ac_old_set,$ac_new_set in
   2168     set,)
   2169       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2170 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2171       ac_cache_corrupted=: ;;
   2172     ,set)
   2173       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2174 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2175       ac_cache_corrupted=: ;;
   2176     ,);;
   2177     *)
   2178       if test "x$ac_old_val" != "x$ac_new_val"; then
   2179 	# differences in whitespace do not lead to failure.
   2180 	ac_old_val_w=`echo x $ac_old_val`
   2181 	ac_new_val_w=`echo x $ac_new_val`
   2182 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2183 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2184 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2185 	  ac_cache_corrupted=:
   2186 	else
   2187 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2188 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2189 	  eval $ac_var=\$ac_old_val
   2190 	fi
   2191 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2192 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2193 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2194 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2195       fi;;
   2196   esac
   2197   # Pass precious variables to config.status.
   2198   if test "$ac_new_set" = set; then
   2199     case $ac_new_val in
   2200     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2201     *) ac_arg=$ac_var=$ac_new_val ;;
   2202     esac
   2203     case " $ac_configure_args " in
   2204       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2205       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2206     esac
   2207   fi
   2208 done
   2209 if $ac_cache_corrupted; then
   2210   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2212   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2213 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2214   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2215 fi
   2216 ## -------------------- ##
   2217 ## Main body of script. ##
   2218 ## -------------------- ##
   2219 
   2220 ac_ext=c
   2221 ac_cpp='$CPP $CPPFLAGS'
   2222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2225 
   2226 
   2227 
   2228 ac_config_headers="$ac_config_headers config.h"
   2229 
   2230 ac_aux_dir=
   2231 for ac_dir in . "$srcdir"/.; do
   2232   if test -f "$ac_dir/install-sh"; then
   2233     ac_aux_dir=$ac_dir
   2234     ac_install_sh="$ac_aux_dir/install-sh -c"
   2235     break
   2236   elif test -f "$ac_dir/install.sh"; then
   2237     ac_aux_dir=$ac_dir
   2238     ac_install_sh="$ac_aux_dir/install.sh -c"
   2239     break
   2240   elif test -f "$ac_dir/shtool"; then
   2241     ac_aux_dir=$ac_dir
   2242     ac_install_sh="$ac_aux_dir/shtool install -c"
   2243     break
   2244   fi
   2245 done
   2246 if test -z "$ac_aux_dir"; then
   2247   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2248 fi
   2249 
   2250 # These three variables are undocumented and unsupported,
   2251 # and are intended to be withdrawn in a future Autoconf release.
   2252 # They can cause serious problems if a builder's source tree is in a directory
   2253 # whose full name contains unusual characters.
   2254 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2255 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2256 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2257 
   2258 
   2259 
   2260 # Initialize Automake
   2261 am__api_version='1.15'
   2262 
   2263 # Find a good install program.  We prefer a C program (faster),
   2264 # so one script is as good as another.  But avoid the broken or
   2265 # incompatible versions:
   2266 # SysV /etc/install, /usr/sbin/install
   2267 # SunOS /usr/etc/install
   2268 # IRIX /sbin/install
   2269 # AIX /bin/install
   2270 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2271 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2272 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2273 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2274 # OS/2's system install, which has a completely different semantic
   2275 # ./install, which can be erroneously created by make from ./install.sh.
   2276 # Reject install programs that cannot install multiple files.
   2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2278 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2279 if test -z "$INSTALL"; then
   2280 if ${ac_cv_path_install+:} false; then :
   2281   $as_echo_n "(cached) " >&6
   2282 else
   2283   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2284 for as_dir in $PATH
   2285 do
   2286   IFS=$as_save_IFS
   2287   test -z "$as_dir" && as_dir=.
   2288     # Account for people who put trailing slashes in PATH elements.
   2289 case $as_dir/ in #((
   2290   ./ | .// | /[cC]/* | \
   2291   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2292   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2293   /usr/ucb/* ) ;;
   2294   *)
   2295     # OSF1 and SCO ODT 3.0 have their own names for install.
   2296     # Don't use installbsd from OSF since it installs stuff as root
   2297     # by default.
   2298     for ac_prog in ginstall scoinst install; do
   2299       for ac_exec_ext in '' $ac_executable_extensions; do
   2300 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2301 	  if test $ac_prog = install &&
   2302 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2303 	    # AIX install.  It has an incompatible calling convention.
   2304 	    :
   2305 	  elif test $ac_prog = install &&
   2306 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2307 	    # program-specific install script used by HP pwplus--don't use.
   2308 	    :
   2309 	  else
   2310 	    rm -rf conftest.one conftest.two conftest.dir
   2311 	    echo one > conftest.one
   2312 	    echo two > conftest.two
   2313 	    mkdir conftest.dir
   2314 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2315 	      test -s conftest.one && test -s conftest.two &&
   2316 	      test -s conftest.dir/conftest.one &&
   2317 	      test -s conftest.dir/conftest.two
   2318 	    then
   2319 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2320 	      break 3
   2321 	    fi
   2322 	  fi
   2323 	fi
   2324       done
   2325     done
   2326     ;;
   2327 esac
   2328 
   2329   done
   2330 IFS=$as_save_IFS
   2331 
   2332 rm -rf conftest.one conftest.two conftest.dir
   2333 
   2334 fi
   2335   if test "${ac_cv_path_install+set}" = set; then
   2336     INSTALL=$ac_cv_path_install
   2337   else
   2338     # As a last resort, use the slow shell script.  Don't cache a
   2339     # value for INSTALL within a source directory, because that will
   2340     # break other packages using the cache if that directory is
   2341     # removed, or if the value is a relative name.
   2342     INSTALL=$ac_install_sh
   2343   fi
   2344 fi
   2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2346 $as_echo "$INSTALL" >&6; }
   2347 
   2348 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2349 # It thinks the first close brace ends the variable substitution.
   2350 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2351 
   2352 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2353 
   2354 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2355 
   2356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2357 $as_echo_n "checking whether build environment is sane... " >&6; }
   2358 # Reject unsafe characters in $srcdir or the absolute working directory
   2359 # name.  Accept space and tab only in the latter.
   2360 am_lf='
   2361 '
   2362 case `pwd` in
   2363   *[\\\"\#\$\&\'\`$am_lf]*)
   2364     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2365 esac
   2366 case $srcdir in
   2367   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2368     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2369 esac
   2370 
   2371 # Do 'set' in a subshell so we don't clobber the current shell's
   2372 # arguments.  Must try -L first in case configure is actually a
   2373 # symlink; some systems play weird games with the mod time of symlinks
   2374 # (eg FreeBSD returns the mod time of the symlink's containing
   2375 # directory).
   2376 if (
   2377    am_has_slept=no
   2378    for am_try in 1 2; do
   2379      echo "timestamp, slept: $am_has_slept" > conftest.file
   2380      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2381      if test "$*" = "X"; then
   2382 	# -L didn't work.
   2383 	set X `ls -t "$srcdir/configure" conftest.file`
   2384      fi
   2385      if test "$*" != "X $srcdir/configure conftest.file" \
   2386 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2387 
   2388 	# If neither matched, then we have a broken ls.  This can happen
   2389 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2390 	# broken ls alias from the environment.  This has actually
   2391 	# happened.  Such a system could not be considered "sane".
   2392 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2393   alias in your environment" "$LINENO" 5
   2394      fi
   2395      if test "$2" = conftest.file || test $am_try -eq 2; then
   2396        break
   2397      fi
   2398      # Just in case.
   2399      sleep 1
   2400      am_has_slept=yes
   2401    done
   2402    test "$2" = conftest.file
   2403    )
   2404 then
   2405    # Ok.
   2406    :
   2407 else
   2408    as_fn_error $? "newly created file is older than distributed files!
   2409 Check your system clock" "$LINENO" 5
   2410 fi
   2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2412 $as_echo "yes" >&6; }
   2413 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2414 # generated files are strictly newer.
   2415 am_sleep_pid=
   2416 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2417   ( sleep 1 ) &
   2418   am_sleep_pid=$!
   2419 fi
   2420 
   2421 rm -f conftest.file
   2422 
   2423 test "$program_prefix" != NONE &&
   2424   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2425 # Use a double $ so make ignores it.
   2426 test "$program_suffix" != NONE &&
   2427   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2428 # Double any \ or $.
   2429 # By default was `s,x,x', remove it if useless.
   2430 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2431 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2432 
   2433 # Expand $ac_aux_dir to an absolute path.
   2434 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2435 
   2436 if test x"${MISSING+set}" != xset; then
   2437   case $am_aux_dir in
   2438   *\ * | *\	*)
   2439     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2440   *)
   2441     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2442   esac
   2443 fi
   2444 # Use eval to expand $SHELL
   2445 if eval "$MISSING --is-lightweight"; then
   2446   am_missing_run="$MISSING "
   2447 else
   2448   am_missing_run=
   2449   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2450 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2451 fi
   2452 
   2453 if test x"${install_sh+set}" != xset; then
   2454   case $am_aux_dir in
   2455   *\ * | *\	*)
   2456     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2457   *)
   2458     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2459   esac
   2460 fi
   2461 
   2462 # Installed binaries are usually stripped using 'strip' when the user
   2463 # run "make install-strip".  However 'strip' might not be the right
   2464 # tool to use in cross-compilation environments, therefore Automake
   2465 # will honor the 'STRIP' environment variable to overrule this program.
   2466 if test "$cross_compiling" != no; then
   2467   if test -n "$ac_tool_prefix"; then
   2468   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2469 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2471 $as_echo_n "checking for $ac_word... " >&6; }
   2472 if ${ac_cv_prog_STRIP+:} false; then :
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   if test -n "$STRIP"; then
   2476   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2477 else
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 for as_dir in $PATH
   2480 do
   2481   IFS=$as_save_IFS
   2482   test -z "$as_dir" && as_dir=.
   2483     for ac_exec_ext in '' $ac_executable_extensions; do
   2484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2485     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2487     break 2
   2488   fi
   2489 done
   2490   done
   2491 IFS=$as_save_IFS
   2492 
   2493 fi
   2494 fi
   2495 STRIP=$ac_cv_prog_STRIP
   2496 if test -n "$STRIP"; then
   2497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2498 $as_echo "$STRIP" >&6; }
   2499 else
   2500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2501 $as_echo "no" >&6; }
   2502 fi
   2503 
   2504 
   2505 fi
   2506 if test -z "$ac_cv_prog_STRIP"; then
   2507   ac_ct_STRIP=$STRIP
   2508   # Extract the first word of "strip", so it can be a program name with args.
   2509 set dummy strip; ac_word=$2
   2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2511 $as_echo_n "checking for $ac_word... " >&6; }
   2512 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2513   $as_echo_n "(cached) " >&6
   2514 else
   2515   if test -n "$ac_ct_STRIP"; then
   2516   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2517 else
   2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2519 for as_dir in $PATH
   2520 do
   2521   IFS=$as_save_IFS
   2522   test -z "$as_dir" && as_dir=.
   2523     for ac_exec_ext in '' $ac_executable_extensions; do
   2524   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2525     ac_cv_prog_ac_ct_STRIP="strip"
   2526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2527     break 2
   2528   fi
   2529 done
   2530   done
   2531 IFS=$as_save_IFS
   2532 
   2533 fi
   2534 fi
   2535 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2536 if test -n "$ac_ct_STRIP"; then
   2537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2538 $as_echo "$ac_ct_STRIP" >&6; }
   2539 else
   2540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2541 $as_echo "no" >&6; }
   2542 fi
   2543 
   2544   if test "x$ac_ct_STRIP" = x; then
   2545     STRIP=":"
   2546   else
   2547     case $cross_compiling:$ac_tool_warned in
   2548 yes:)
   2549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2551 ac_tool_warned=yes ;;
   2552 esac
   2553     STRIP=$ac_ct_STRIP
   2554   fi
   2555 else
   2556   STRIP="$ac_cv_prog_STRIP"
   2557 fi
   2558 
   2559 fi
   2560 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2561 
   2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2563 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2564 if test -z "$MKDIR_P"; then
   2565   if ${ac_cv_path_mkdir+:} false; then :
   2566   $as_echo_n "(cached) " >&6
   2567 else
   2568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2569 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2570 do
   2571   IFS=$as_save_IFS
   2572   test -z "$as_dir" && as_dir=.
   2573     for ac_prog in mkdir gmkdir; do
   2574 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2575 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2576 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2577 	     'mkdir (GNU coreutils) '* | \
   2578 	     'mkdir (coreutils) '* | \
   2579 	     'mkdir (fileutils) '4.1*)
   2580 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2581 	       break 3;;
   2582 	   esac
   2583 	 done
   2584        done
   2585   done
   2586 IFS=$as_save_IFS
   2587 
   2588 fi
   2589 
   2590   test -d ./--version && rmdir ./--version
   2591   if test "${ac_cv_path_mkdir+set}" = set; then
   2592     MKDIR_P="$ac_cv_path_mkdir -p"
   2593   else
   2594     # As a last resort, use the slow shell script.  Don't cache a
   2595     # value for MKDIR_P within a source directory, because that will
   2596     # break other packages using the cache if that directory is
   2597     # removed, or if the value is a relative name.
   2598     MKDIR_P="$ac_install_sh -d"
   2599   fi
   2600 fi
   2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2602 $as_echo "$MKDIR_P" >&6; }
   2603 
   2604 for ac_prog in gawk mawk nawk awk
   2605 do
   2606   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2607 set dummy $ac_prog; ac_word=$2
   2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2609 $as_echo_n "checking for $ac_word... " >&6; }
   2610 if ${ac_cv_prog_AWK+:} false; then :
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   if test -n "$AWK"; then
   2614   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2615 else
   2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2617 for as_dir in $PATH
   2618 do
   2619   IFS=$as_save_IFS
   2620   test -z "$as_dir" && as_dir=.
   2621     for ac_exec_ext in '' $ac_executable_extensions; do
   2622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2623     ac_cv_prog_AWK="$ac_prog"
   2624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2625     break 2
   2626   fi
   2627 done
   2628   done
   2629 IFS=$as_save_IFS
   2630 
   2631 fi
   2632 fi
   2633 AWK=$ac_cv_prog_AWK
   2634 if test -n "$AWK"; then
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2636 $as_echo "$AWK" >&6; }
   2637 else
   2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2639 $as_echo "no" >&6; }
   2640 fi
   2641 
   2642 
   2643   test -n "$AWK" && break
   2644 done
   2645 
   2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2647 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2648 set x ${MAKE-make}
   2649 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2650 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2651   $as_echo_n "(cached) " >&6
   2652 else
   2653   cat >conftest.make <<\_ACEOF
   2654 SHELL = /bin/sh
   2655 all:
   2656 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2657 _ACEOF
   2658 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2659 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2660   *@@@%%%=?*=@@@%%%*)
   2661     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2662   *)
   2663     eval ac_cv_prog_make_${ac_make}_set=no;;
   2664 esac
   2665 rm -f conftest.make
   2666 fi
   2667 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2669 $as_echo "yes" >&6; }
   2670   SET_MAKE=
   2671 else
   2672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2673 $as_echo "no" >&6; }
   2674   SET_MAKE="MAKE=${MAKE-make}"
   2675 fi
   2676 
   2677 rm -rf .tst 2>/dev/null
   2678 mkdir .tst 2>/dev/null
   2679 if test -d .tst; then
   2680   am__leading_dot=.
   2681 else
   2682   am__leading_dot=_
   2683 fi
   2684 rmdir .tst 2>/dev/null
   2685 
   2686 # Check whether --enable-silent-rules was given.
   2687 if test "${enable_silent_rules+set}" = set; then :
   2688   enableval=$enable_silent_rules;
   2689 fi
   2690 
   2691 case $enable_silent_rules in # (((
   2692   yes) AM_DEFAULT_VERBOSITY=0;;
   2693    no) AM_DEFAULT_VERBOSITY=1;;
   2694     *) AM_DEFAULT_VERBOSITY=1;;
   2695 esac
   2696 am_make=${MAKE-make}
   2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2698 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2699 if ${am_cv_make_support_nested_variables+:} false; then :
   2700   $as_echo_n "(cached) " >&6
   2701 else
   2702   if $as_echo 'TRUE=$(BAR$(V))
   2703 BAR0=false
   2704 BAR1=true
   2705 V=1
   2706 am__doit:
   2707 	@$(TRUE)
   2708 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2709   am_cv_make_support_nested_variables=yes
   2710 else
   2711   am_cv_make_support_nested_variables=no
   2712 fi
   2713 fi
   2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2715 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2716 if test $am_cv_make_support_nested_variables = yes; then
   2717     AM_V='$(V)'
   2718   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2719 else
   2720   AM_V=$AM_DEFAULT_VERBOSITY
   2721   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2722 fi
   2723 AM_BACKSLASH='\'
   2724 
   2725 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2726   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2727   # is not polluted with repeated "-I."
   2728   am__isrc=' -I$(srcdir)'
   2729   # test to see if srcdir already configured
   2730   if test -f $srcdir/config.status; then
   2731     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2732   fi
   2733 fi
   2734 
   2735 # test whether we have cygpath
   2736 if test -z "$CYGPATH_W"; then
   2737   if (cygpath --version) >/dev/null 2>/dev/null; then
   2738     CYGPATH_W='cygpath -w'
   2739   else
   2740     CYGPATH_W=echo
   2741   fi
   2742 fi
   2743 
   2744 
   2745 # Define the identity of the package.
   2746  PACKAGE='xf86-video-sunleo'
   2747  VERSION='1.2.2'
   2748 
   2749 
   2750 cat >>confdefs.h <<_ACEOF
   2751 #define PACKAGE "$PACKAGE"
   2752 _ACEOF
   2753 
   2754 
   2755 cat >>confdefs.h <<_ACEOF
   2756 #define VERSION "$VERSION"
   2757 _ACEOF
   2758 
   2759 # Some tools Automake needs.
   2760 
   2761 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2762 
   2763 
   2764 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2765 
   2766 
   2767 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2768 
   2769 
   2770 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2771 
   2772 
   2773 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2774 
   2775 # For better backward compatibility.  To be removed once Automake 1.9.x
   2776 # dies out for good.  For more background, see:
   2777 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2778 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2779 mkdir_p='$(MKDIR_P)'
   2780 
   2781 # We need awk for the "check" target (and possibly the TAP driver).  The
   2782 # system "awk" is bad on some platforms.
   2783 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2784 # in the wild :-(  We should find a proper way to deprecate it ...
   2785 AMTAR='$${TAR-tar}'
   2786 
   2787 
   2788 # We'll loop over all known methods to create a tar archive until one works.
   2789 _am_tools='gnutar  pax cpio none'
   2790 
   2791 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2792 
   2793 
   2794 
   2795 
   2796 
   2797 
   2798 # POSIX will say in a future version that running "rm -f" with no argument
   2799 # is OK; and we want to be able to make that assumption in our Makefile
   2800 # recipes.  So use an aggressive probe to check that the usage we want is
   2801 # actually supported "in the wild" to an acceptable degree.
   2802 # See automake bug#10828.
   2803 # To make any issue more visible, cause the running configure to be aborted
   2804 # by default if the 'rm' program in use doesn't match our expectations; the
   2805 # user can still override this though.
   2806 if rm -f && rm -fr && rm -rf; then : OK; else
   2807   cat >&2 <<'END'
   2808 Oops!
   2809 
   2810 Your 'rm' program seems unable to run without file operands specified
   2811 on the command line, even when the '-f' option is present.  This is contrary
   2812 to the behaviour of most rm programs out there, and not conforming with
   2813 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2814 
   2815 Please tell bug-automake@gnu.org about your system, including the value
   2816 of your $PATH and any error possibly output before this message.  This
   2817 can help us improve future automake versions.
   2818 
   2819 END
   2820   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2821     echo 'Configuration will proceed anyway, since you have set the' >&2
   2822     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2823     echo >&2
   2824   else
   2825     cat >&2 <<'END'
   2826 Aborting the configuration process, to ensure you take notice of the issue.
   2827 
   2828 You can download and install GNU coreutils to get an 'rm' implementation
   2829 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2830 
   2831 If you want to complete the configuration process using your problematic
   2832 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2833 to "yes", and re-run configure.
   2834 
   2835 END
   2836     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2837   fi
   2838 fi
   2839 
   2840 
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2842 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2843     # Check whether --enable-maintainer-mode was given.
   2844 if test "${enable_maintainer_mode+set}" = set; then :
   2845   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2846 else
   2847   USE_MAINTAINER_MODE=no
   2848 fi
   2849 
   2850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2851 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2852    if test $USE_MAINTAINER_MODE = yes; then
   2853   MAINTAINER_MODE_TRUE=
   2854   MAINTAINER_MODE_FALSE='#'
   2855 else
   2856   MAINTAINER_MODE_TRUE='#'
   2857   MAINTAINER_MODE_FALSE=
   2858 fi
   2859 
   2860   MAINT=$MAINTAINER_MODE_TRUE
   2861 
   2862 
   2863 
   2864 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2865 
   2866 
   2867 
   2868 
   2869 
   2870 
   2871 
   2872 
   2873 
   2874 
   2875 
   2876 DEPDIR="${am__leading_dot}deps"
   2877 
   2878 ac_config_commands="$ac_config_commands depfiles"
   2879 
   2880 
   2881 am_make=${MAKE-make}
   2882 cat > confinc << 'END'
   2883 am__doit:
   2884 	@echo this is the am__doit target
   2885 .PHONY: am__doit
   2886 END
   2887 # If we don't find an include directive, just comment out the code.
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2889 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2890 am__include="#"
   2891 am__quote=
   2892 _am_result=none
   2893 # First try GNU make style include.
   2894 echo "include confinc" > confmf
   2895 # Ignore all kinds of additional output from 'make'.
   2896 case `$am_make -s -f confmf 2> /dev/null` in #(
   2897 *the\ am__doit\ target*)
   2898   am__include=include
   2899   am__quote=
   2900   _am_result=GNU
   2901   ;;
   2902 esac
   2903 # Now try BSD make style include.
   2904 if test "$am__include" = "#"; then
   2905    echo '.include "confinc"' > confmf
   2906    case `$am_make -s -f confmf 2> /dev/null` in #(
   2907    *the\ am__doit\ target*)
   2908      am__include=.include
   2909      am__quote="\""
   2910      _am_result=BSD
   2911      ;;
   2912    esac
   2913 fi
   2914 
   2915 
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2917 $as_echo "$_am_result" >&6; }
   2918 rm -f confinc confmf
   2919 
   2920 # Check whether --enable-dependency-tracking was given.
   2921 if test "${enable_dependency_tracking+set}" = set; then :
   2922   enableval=$enable_dependency_tracking;
   2923 fi
   2924 
   2925 if test "x$enable_dependency_tracking" != xno; then
   2926   am_depcomp="$ac_aux_dir/depcomp"
   2927   AMDEPBACKSLASH='\'
   2928   am__nodep='_no'
   2929 fi
   2930  if test "x$enable_dependency_tracking" != xno; then
   2931   AMDEP_TRUE=
   2932   AMDEP_FALSE='#'
   2933 else
   2934   AMDEP_TRUE='#'
   2935   AMDEP_FALSE=
   2936 fi
   2937 
   2938 
   2939 ac_ext=c
   2940 ac_cpp='$CPP $CPPFLAGS'
   2941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2944 if test -n "$ac_tool_prefix"; then
   2945   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2946 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2948 $as_echo_n "checking for $ac_word... " >&6; }
   2949 if ${ac_cv_prog_CC+:} false; then :
   2950   $as_echo_n "(cached) " >&6
   2951 else
   2952   if test -n "$CC"; then
   2953   ac_cv_prog_CC="$CC" # Let the user override the test.
   2954 else
   2955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2956 for as_dir in $PATH
   2957 do
   2958   IFS=$as_save_IFS
   2959   test -z "$as_dir" && as_dir=.
   2960     for ac_exec_ext in '' $ac_executable_extensions; do
   2961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2962     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2964     break 2
   2965   fi
   2966 done
   2967   done
   2968 IFS=$as_save_IFS
   2969 
   2970 fi
   2971 fi
   2972 CC=$ac_cv_prog_CC
   2973 if test -n "$CC"; then
   2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2975 $as_echo "$CC" >&6; }
   2976 else
   2977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2978 $as_echo "no" >&6; }
   2979 fi
   2980 
   2981 
   2982 fi
   2983 if test -z "$ac_cv_prog_CC"; then
   2984   ac_ct_CC=$CC
   2985   # Extract the first word of "gcc", so it can be a program name with args.
   2986 set dummy gcc; ac_word=$2
   2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2988 $as_echo_n "checking for $ac_word... " >&6; }
   2989 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2990   $as_echo_n "(cached) " >&6
   2991 else
   2992   if test -n "$ac_ct_CC"; then
   2993   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2994 else
   2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2996 for as_dir in $PATH
   2997 do
   2998   IFS=$as_save_IFS
   2999   test -z "$as_dir" && as_dir=.
   3000     for ac_exec_ext in '' $ac_executable_extensions; do
   3001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3002     ac_cv_prog_ac_ct_CC="gcc"
   3003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3004     break 2
   3005   fi
   3006 done
   3007   done
   3008 IFS=$as_save_IFS
   3009 
   3010 fi
   3011 fi
   3012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3013 if test -n "$ac_ct_CC"; then
   3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3015 $as_echo "$ac_ct_CC" >&6; }
   3016 else
   3017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3018 $as_echo "no" >&6; }
   3019 fi
   3020 
   3021   if test "x$ac_ct_CC" = x; then
   3022     CC=""
   3023   else
   3024     case $cross_compiling:$ac_tool_warned in
   3025 yes:)
   3026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3028 ac_tool_warned=yes ;;
   3029 esac
   3030     CC=$ac_ct_CC
   3031   fi
   3032 else
   3033   CC="$ac_cv_prog_CC"
   3034 fi
   3035 
   3036 if test -z "$CC"; then
   3037           if test -n "$ac_tool_prefix"; then
   3038     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3039 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3041 $as_echo_n "checking for $ac_word... " >&6; }
   3042 if ${ac_cv_prog_CC+:} false; then :
   3043   $as_echo_n "(cached) " >&6
   3044 else
   3045   if test -n "$CC"; then
   3046   ac_cv_prog_CC="$CC" # Let the user override the test.
   3047 else
   3048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3049 for as_dir in $PATH
   3050 do
   3051   IFS=$as_save_IFS
   3052   test -z "$as_dir" && as_dir=.
   3053     for ac_exec_ext in '' $ac_executable_extensions; do
   3054   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3055     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3056     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3057     break 2
   3058   fi
   3059 done
   3060   done
   3061 IFS=$as_save_IFS
   3062 
   3063 fi
   3064 fi
   3065 CC=$ac_cv_prog_CC
   3066 if test -n "$CC"; then
   3067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3068 $as_echo "$CC" >&6; }
   3069 else
   3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3071 $as_echo "no" >&6; }
   3072 fi
   3073 
   3074 
   3075   fi
   3076 fi
   3077 if test -z "$CC"; then
   3078   # Extract the first word of "cc", so it can be a program name with args.
   3079 set dummy cc; ac_word=$2
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3081 $as_echo_n "checking for $ac_word... " >&6; }
   3082 if ${ac_cv_prog_CC+:} false; then :
   3083   $as_echo_n "(cached) " >&6
   3084 else
   3085   if test -n "$CC"; then
   3086   ac_cv_prog_CC="$CC" # Let the user override the test.
   3087 else
   3088   ac_prog_rejected=no
   3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3090 for as_dir in $PATH
   3091 do
   3092   IFS=$as_save_IFS
   3093   test -z "$as_dir" && as_dir=.
   3094     for ac_exec_ext in '' $ac_executable_extensions; do
   3095   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3096     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3097        ac_prog_rejected=yes
   3098        continue
   3099      fi
   3100     ac_cv_prog_CC="cc"
   3101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3102     break 2
   3103   fi
   3104 done
   3105   done
   3106 IFS=$as_save_IFS
   3107 
   3108 if test $ac_prog_rejected = yes; then
   3109   # We found a bogon in the path, so make sure we never use it.
   3110   set dummy $ac_cv_prog_CC
   3111   shift
   3112   if test $# != 0; then
   3113     # We chose a different compiler from the bogus one.
   3114     # However, it has the same basename, so the bogon will be chosen
   3115     # first if we set CC to just the basename; use the full file name.
   3116     shift
   3117     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3118   fi
   3119 fi
   3120 fi
   3121 fi
   3122 CC=$ac_cv_prog_CC
   3123 if test -n "$CC"; then
   3124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3125 $as_echo "$CC" >&6; }
   3126 else
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3128 $as_echo "no" >&6; }
   3129 fi
   3130 
   3131 
   3132 fi
   3133 if test -z "$CC"; then
   3134   if test -n "$ac_tool_prefix"; then
   3135   for ac_prog in cl.exe
   3136   do
   3137     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3138 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3140 $as_echo_n "checking for $ac_word... " >&6; }
   3141 if ${ac_cv_prog_CC+:} false; then :
   3142   $as_echo_n "(cached) " >&6
   3143 else
   3144   if test -n "$CC"; then
   3145   ac_cv_prog_CC="$CC" # Let the user override the test.
   3146 else
   3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3148 for as_dir in $PATH
   3149 do
   3150   IFS=$as_save_IFS
   3151   test -z "$as_dir" && as_dir=.
   3152     for ac_exec_ext in '' $ac_executable_extensions; do
   3153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3154     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3156     break 2
   3157   fi
   3158 done
   3159   done
   3160 IFS=$as_save_IFS
   3161 
   3162 fi
   3163 fi
   3164 CC=$ac_cv_prog_CC
   3165 if test -n "$CC"; then
   3166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3167 $as_echo "$CC" >&6; }
   3168 else
   3169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3170 $as_echo "no" >&6; }
   3171 fi
   3172 
   3173 
   3174     test -n "$CC" && break
   3175   done
   3176 fi
   3177 if test -z "$CC"; then
   3178   ac_ct_CC=$CC
   3179   for ac_prog in cl.exe
   3180 do
   3181   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3182 set dummy $ac_prog; ac_word=$2
   3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3184 $as_echo_n "checking for $ac_word... " >&6; }
   3185 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3186   $as_echo_n "(cached) " >&6
   3187 else
   3188   if test -n "$ac_ct_CC"; then
   3189   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3190 else
   3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3192 for as_dir in $PATH
   3193 do
   3194   IFS=$as_save_IFS
   3195   test -z "$as_dir" && as_dir=.
   3196     for ac_exec_ext in '' $ac_executable_extensions; do
   3197   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3198     ac_cv_prog_ac_ct_CC="$ac_prog"
   3199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3200     break 2
   3201   fi
   3202 done
   3203   done
   3204 IFS=$as_save_IFS
   3205 
   3206 fi
   3207 fi
   3208 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3209 if test -n "$ac_ct_CC"; then
   3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3211 $as_echo "$ac_ct_CC" >&6; }
   3212 else
   3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3214 $as_echo "no" >&6; }
   3215 fi
   3216 
   3217 
   3218   test -n "$ac_ct_CC" && break
   3219 done
   3220 
   3221   if test "x$ac_ct_CC" = x; then
   3222     CC=""
   3223   else
   3224     case $cross_compiling:$ac_tool_warned in
   3225 yes:)
   3226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3228 ac_tool_warned=yes ;;
   3229 esac
   3230     CC=$ac_ct_CC
   3231   fi
   3232 fi
   3233 
   3234 fi
   3235 
   3236 
   3237 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3239 as_fn_error $? "no acceptable C compiler found in \$PATH
   3240 See \`config.log' for more details" "$LINENO" 5; }
   3241 
   3242 # Provide some information about the compiler.
   3243 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3244 set X $ac_compile
   3245 ac_compiler=$2
   3246 for ac_option in --version -v -V -qversion; do
   3247   { { ac_try="$ac_compiler $ac_option >&5"
   3248 case "(($ac_try" in
   3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3250   *) ac_try_echo=$ac_try;;
   3251 esac
   3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3253 $as_echo "$ac_try_echo"; } >&5
   3254   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3255   ac_status=$?
   3256   if test -s conftest.err; then
   3257     sed '10a\
   3258 ... rest of stderr output deleted ...
   3259          10q' conftest.err >conftest.er1
   3260     cat conftest.er1 >&5
   3261   fi
   3262   rm -f conftest.er1 conftest.err
   3263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3264   test $ac_status = 0; }
   3265 done
   3266 
   3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3268 /* end confdefs.h.  */
   3269 
   3270 int
   3271 main ()
   3272 {
   3273 
   3274   ;
   3275   return 0;
   3276 }
   3277 _ACEOF
   3278 ac_clean_files_save=$ac_clean_files
   3279 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3280 # Try to create an executable without -o first, disregard a.out.
   3281 # It will help us diagnose broken compilers, and finding out an intuition
   3282 # of exeext.
   3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3284 $as_echo_n "checking whether the C compiler works... " >&6; }
   3285 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3286 
   3287 # The possible output files:
   3288 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3289 
   3290 ac_rmfiles=
   3291 for ac_file in $ac_files
   3292 do
   3293   case $ac_file in
   3294     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3295     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3296   esac
   3297 done
   3298 rm -f $ac_rmfiles
   3299 
   3300 if { { ac_try="$ac_link_default"
   3301 case "(($ac_try" in
   3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3303   *) ac_try_echo=$ac_try;;
   3304 esac
   3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3306 $as_echo "$ac_try_echo"; } >&5
   3307   (eval "$ac_link_default") 2>&5
   3308   ac_status=$?
   3309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3310   test $ac_status = 0; }; then :
   3311   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3312 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3313 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3314 # so that the user can short-circuit this test for compilers unknown to
   3315 # Autoconf.
   3316 for ac_file in $ac_files ''
   3317 do
   3318   test -f "$ac_file" || continue
   3319   case $ac_file in
   3320     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3321 	;;
   3322     [ab].out )
   3323 	# We found the default executable, but exeext='' is most
   3324 	# certainly right.
   3325 	break;;
   3326     *.* )
   3327 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3328 	then :; else
   3329 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3330 	fi
   3331 	# We set ac_cv_exeext here because the later test for it is not
   3332 	# safe: cross compilers may not add the suffix if given an `-o'
   3333 	# argument, so we may need to know it at that point already.
   3334 	# Even if this section looks crufty: it has the advantage of
   3335 	# actually working.
   3336 	break;;
   3337     * )
   3338 	break;;
   3339   esac
   3340 done
   3341 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3342 
   3343 else
   3344   ac_file=''
   3345 fi
   3346 if test -z "$ac_file"; then :
   3347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3348 $as_echo "no" >&6; }
   3349 $as_echo "$as_me: failed program was:" >&5
   3350 sed 's/^/| /' conftest.$ac_ext >&5
   3351 
   3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3354 as_fn_error 77 "C compiler cannot create executables
   3355 See \`config.log' for more details" "$LINENO" 5; }
   3356 else
   3357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3358 $as_echo "yes" >&6; }
   3359 fi
   3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3361 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3363 $as_echo "$ac_file" >&6; }
   3364 ac_exeext=$ac_cv_exeext
   3365 
   3366 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3367 ac_clean_files=$ac_clean_files_save
   3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3369 $as_echo_n "checking for suffix of executables... " >&6; }
   3370 if { { ac_try="$ac_link"
   3371 case "(($ac_try" in
   3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3373   *) ac_try_echo=$ac_try;;
   3374 esac
   3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3376 $as_echo "$ac_try_echo"; } >&5
   3377   (eval "$ac_link") 2>&5
   3378   ac_status=$?
   3379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3380   test $ac_status = 0; }; then :
   3381   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3382 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3383 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3384 # `rm'.
   3385 for ac_file in conftest.exe conftest conftest.*; do
   3386   test -f "$ac_file" || continue
   3387   case $ac_file in
   3388     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3389     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3390 	  break;;
   3391     * ) break;;
   3392   esac
   3393 done
   3394 else
   3395   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3397 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3398 See \`config.log' for more details" "$LINENO" 5; }
   3399 fi
   3400 rm -f conftest conftest$ac_cv_exeext
   3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3402 $as_echo "$ac_cv_exeext" >&6; }
   3403 
   3404 rm -f conftest.$ac_ext
   3405 EXEEXT=$ac_cv_exeext
   3406 ac_exeext=$EXEEXT
   3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3408 /* end confdefs.h.  */
   3409 #include <stdio.h>
   3410 int
   3411 main ()
   3412 {
   3413 FILE *f = fopen ("conftest.out", "w");
   3414  return ferror (f) || fclose (f) != 0;
   3415 
   3416   ;
   3417   return 0;
   3418 }
   3419 _ACEOF
   3420 ac_clean_files="$ac_clean_files conftest.out"
   3421 # Check that the compiler produces executables we can run.  If not, either
   3422 # the compiler is broken, or we cross compile.
   3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3424 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3425 if test "$cross_compiling" != yes; then
   3426   { { ac_try="$ac_link"
   3427 case "(($ac_try" in
   3428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3429   *) ac_try_echo=$ac_try;;
   3430 esac
   3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3432 $as_echo "$ac_try_echo"; } >&5
   3433   (eval "$ac_link") 2>&5
   3434   ac_status=$?
   3435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3436   test $ac_status = 0; }
   3437   if { ac_try='./conftest$ac_cv_exeext'
   3438   { { case "(($ac_try" in
   3439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3440   *) ac_try_echo=$ac_try;;
   3441 esac
   3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3443 $as_echo "$ac_try_echo"; } >&5
   3444   (eval "$ac_try") 2>&5
   3445   ac_status=$?
   3446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3447   test $ac_status = 0; }; }; then
   3448     cross_compiling=no
   3449   else
   3450     if test "$cross_compiling" = maybe; then
   3451 	cross_compiling=yes
   3452     else
   3453 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3455 as_fn_error $? "cannot run C compiled programs.
   3456 If you meant to cross compile, use \`--host'.
   3457 See \`config.log' for more details" "$LINENO" 5; }
   3458     fi
   3459   fi
   3460 fi
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3462 $as_echo "$cross_compiling" >&6; }
   3463 
   3464 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3465 ac_clean_files=$ac_clean_files_save
   3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3467 $as_echo_n "checking for suffix of object files... " >&6; }
   3468 if ${ac_cv_objext+:} false; then :
   3469   $as_echo_n "(cached) " >&6
   3470 else
   3471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3472 /* end confdefs.h.  */
   3473 
   3474 int
   3475 main ()
   3476 {
   3477 
   3478   ;
   3479   return 0;
   3480 }
   3481 _ACEOF
   3482 rm -f conftest.o conftest.obj
   3483 if { { ac_try="$ac_compile"
   3484 case "(($ac_try" in
   3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3486   *) ac_try_echo=$ac_try;;
   3487 esac
   3488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3489 $as_echo "$ac_try_echo"; } >&5
   3490   (eval "$ac_compile") 2>&5
   3491   ac_status=$?
   3492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3493   test $ac_status = 0; }; then :
   3494   for ac_file in conftest.o conftest.obj conftest.*; do
   3495   test -f "$ac_file" || continue;
   3496   case $ac_file in
   3497     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3498     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3499        break;;
   3500   esac
   3501 done
   3502 else
   3503   $as_echo "$as_me: failed program was:" >&5
   3504 sed 's/^/| /' conftest.$ac_ext >&5
   3505 
   3506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3508 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3509 See \`config.log' for more details" "$LINENO" 5; }
   3510 fi
   3511 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3512 fi
   3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3514 $as_echo "$ac_cv_objext" >&6; }
   3515 OBJEXT=$ac_cv_objext
   3516 ac_objext=$OBJEXT
   3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3518 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3519 if ${ac_cv_c_compiler_gnu+:} false; then :
   3520   $as_echo_n "(cached) " >&6
   3521 else
   3522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3523 /* end confdefs.h.  */
   3524 
   3525 int
   3526 main ()
   3527 {
   3528 #ifndef __GNUC__
   3529        choke me
   3530 #endif
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 if ac_fn_c_try_compile "$LINENO"; then :
   3537   ac_compiler_gnu=yes
   3538 else
   3539   ac_compiler_gnu=no
   3540 fi
   3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3542 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3543 
   3544 fi
   3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3546 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3547 if test $ac_compiler_gnu = yes; then
   3548   GCC=yes
   3549 else
   3550   GCC=
   3551 fi
   3552 ac_test_CFLAGS=${CFLAGS+set}
   3553 ac_save_CFLAGS=$CFLAGS
   3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3555 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3556 if ${ac_cv_prog_cc_g+:} false; then :
   3557   $as_echo_n "(cached) " >&6
   3558 else
   3559   ac_save_c_werror_flag=$ac_c_werror_flag
   3560    ac_c_werror_flag=yes
   3561    ac_cv_prog_cc_g=no
   3562    CFLAGS="-g"
   3563    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575   ac_cv_prog_cc_g=yes
   3576 else
   3577   CFLAGS=""
   3578       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3579 /* end confdefs.h.  */
   3580 
   3581 int
   3582 main ()
   3583 {
   3584 
   3585   ;
   3586   return 0;
   3587 }
   3588 _ACEOF
   3589 if ac_fn_c_try_compile "$LINENO"; then :
   3590 
   3591 else
   3592   ac_c_werror_flag=$ac_save_c_werror_flag
   3593 	 CFLAGS="-g"
   3594 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3595 /* end confdefs.h.  */
   3596 
   3597 int
   3598 main ()
   3599 {
   3600 
   3601   ;
   3602   return 0;
   3603 }
   3604 _ACEOF
   3605 if ac_fn_c_try_compile "$LINENO"; then :
   3606   ac_cv_prog_cc_g=yes
   3607 fi
   3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3609 fi
   3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3611 fi
   3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3613    ac_c_werror_flag=$ac_save_c_werror_flag
   3614 fi
   3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3616 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3617 if test "$ac_test_CFLAGS" = set; then
   3618   CFLAGS=$ac_save_CFLAGS
   3619 elif test $ac_cv_prog_cc_g = yes; then
   3620   if test "$GCC" = yes; then
   3621     CFLAGS="-g -O2"
   3622   else
   3623     CFLAGS="-g"
   3624   fi
   3625 else
   3626   if test "$GCC" = yes; then
   3627     CFLAGS="-O2"
   3628   else
   3629     CFLAGS=
   3630   fi
   3631 fi
   3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3634 if ${ac_cv_prog_cc_c89+:} false; then :
   3635   $as_echo_n "(cached) " >&6
   3636 else
   3637   ac_cv_prog_cc_c89=no
   3638 ac_save_CC=$CC
   3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3640 /* end confdefs.h.  */
   3641 #include <stdarg.h>
   3642 #include <stdio.h>
   3643 struct stat;
   3644 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3645 struct buf { int x; };
   3646 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3647 static char *e (p, i)
   3648      char **p;
   3649      int i;
   3650 {
   3651   return p[i];
   3652 }
   3653 static char *f (char * (*g) (char **, int), char **p, ...)
   3654 {
   3655   char *s;
   3656   va_list v;
   3657   va_start (v,p);
   3658   s = g (p, va_arg (v,int));
   3659   va_end (v);
   3660   return s;
   3661 }
   3662 
   3663 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3664    function prototypes and stuff, but not '\xHH' hex character constants.
   3665    These don't provoke an error unfortunately, instead are silently treated
   3666    as 'x'.  The following induces an error, until -std is added to get
   3667    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3668    array size at least.  It's necessary to write '\x00'==0 to get something
   3669    that's true only with -std.  */
   3670 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3671 
   3672 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3673    inside strings and character constants.  */
   3674 #define FOO(x) 'x'
   3675 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3676 
   3677 int test (int i, double x);
   3678 struct s1 {int (*f) (int a);};
   3679 struct s2 {int (*f) (double a);};
   3680 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3681 int argc;
   3682 char **argv;
   3683 int
   3684 main ()
   3685 {
   3686 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3687   ;
   3688   return 0;
   3689 }
   3690 _ACEOF
   3691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3692 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3693 do
   3694   CC="$ac_save_CC $ac_arg"
   3695   if ac_fn_c_try_compile "$LINENO"; then :
   3696   ac_cv_prog_cc_c89=$ac_arg
   3697 fi
   3698 rm -f core conftest.err conftest.$ac_objext
   3699   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3700 done
   3701 rm -f conftest.$ac_ext
   3702 CC=$ac_save_CC
   3703 
   3704 fi
   3705 # AC_CACHE_VAL
   3706 case "x$ac_cv_prog_cc_c89" in
   3707   x)
   3708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3709 $as_echo "none needed" >&6; } ;;
   3710   xno)
   3711     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3712 $as_echo "unsupported" >&6; } ;;
   3713   *)
   3714     CC="$CC $ac_cv_prog_cc_c89"
   3715     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3716 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3717 esac
   3718 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3719 
   3720 fi
   3721 
   3722 ac_ext=c
   3723 ac_cpp='$CPP $CPPFLAGS'
   3724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3727 
   3728 ac_ext=c
   3729 ac_cpp='$CPP $CPPFLAGS'
   3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3734 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3735 if ${am_cv_prog_cc_c_o+:} false; then :
   3736   $as_echo_n "(cached) " >&6
   3737 else
   3738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3739 /* end confdefs.h.  */
   3740 
   3741 int
   3742 main ()
   3743 {
   3744 
   3745   ;
   3746   return 0;
   3747 }
   3748 _ACEOF
   3749   # Make sure it works both with $CC and with simple cc.
   3750   # Following AC_PROG_CC_C_O, we do the test twice because some
   3751   # compilers refuse to overwrite an existing .o file with -o,
   3752   # though they will create one.
   3753   am_cv_prog_cc_c_o=yes
   3754   for am_i in 1 2; do
   3755     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3756    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3757    ac_status=$?
   3758    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3759    (exit $ac_status); } \
   3760          && test -f conftest2.$ac_objext; then
   3761       : OK
   3762     else
   3763       am_cv_prog_cc_c_o=no
   3764       break
   3765     fi
   3766   done
   3767   rm -f core conftest*
   3768   unset am_i
   3769 fi
   3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3771 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3772 if test "$am_cv_prog_cc_c_o" != yes; then
   3773    # Losing compiler, so override with the script.
   3774    # FIXME: It is wrong to rewrite CC.
   3775    # But if we don't then we get into trouble of one sort or another.
   3776    # A longer-term fix would be to have automake use am__CC in this case,
   3777    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3778    CC="$am_aux_dir/compile $CC"
   3779 fi
   3780 ac_ext=c
   3781 ac_cpp='$CPP $CPPFLAGS'
   3782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3785 
   3786 
   3787 depcc="$CC"   am_compiler_list=
   3788 
   3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3790 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3791 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3792   $as_echo_n "(cached) " >&6
   3793 else
   3794   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3795   # We make a subdir and do the tests there.  Otherwise we can end up
   3796   # making bogus files that we don't know about and never remove.  For
   3797   # instance it was reported that on HP-UX the gcc test will end up
   3798   # making a dummy file named 'D' -- because '-MD' means "put the output
   3799   # in D".
   3800   rm -rf conftest.dir
   3801   mkdir conftest.dir
   3802   # Copy depcomp to subdir because otherwise we won't find it if we're
   3803   # using a relative directory.
   3804   cp "$am_depcomp" conftest.dir
   3805   cd conftest.dir
   3806   # We will build objects and dependencies in a subdirectory because
   3807   # it helps to detect inapplicable dependency modes.  For instance
   3808   # both Tru64's cc and ICC support -MD to output dependencies as a
   3809   # side effect of compilation, but ICC will put the dependencies in
   3810   # the current directory while Tru64 will put them in the object
   3811   # directory.
   3812   mkdir sub
   3813 
   3814   am_cv_CC_dependencies_compiler_type=none
   3815   if test "$am_compiler_list" = ""; then
   3816      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3817   fi
   3818   am__universal=false
   3819   case " $depcc " in #(
   3820      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3821      esac
   3822 
   3823   for depmode in $am_compiler_list; do
   3824     # Setup a source with many dependencies, because some compilers
   3825     # like to wrap large dependency lists on column 80 (with \), and
   3826     # we should not choose a depcomp mode which is confused by this.
   3827     #
   3828     # We need to recreate these files for each test, as the compiler may
   3829     # overwrite some of them when testing with obscure command lines.
   3830     # This happens at least with the AIX C compiler.
   3831     : > sub/conftest.c
   3832     for i in 1 2 3 4 5 6; do
   3833       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3834       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3835       # Solaris 10 /bin/sh.
   3836       echo '/* dummy */' > sub/conftst$i.h
   3837     done
   3838     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3839 
   3840     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3841     # mode.  It turns out that the SunPro C++ compiler does not properly
   3842     # handle '-M -o', and we need to detect this.  Also, some Intel
   3843     # versions had trouble with output in subdirs.
   3844     am__obj=sub/conftest.${OBJEXT-o}
   3845     am__minus_obj="-o $am__obj"
   3846     case $depmode in
   3847     gcc)
   3848       # This depmode causes a compiler race in universal mode.
   3849       test "$am__universal" = false || continue
   3850       ;;
   3851     nosideeffect)
   3852       # After this tag, mechanisms are not by side-effect, so they'll
   3853       # only be used when explicitly requested.
   3854       if test "x$enable_dependency_tracking" = xyes; then
   3855 	continue
   3856       else
   3857 	break
   3858       fi
   3859       ;;
   3860     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3861       # This compiler won't grok '-c -o', but also, the minuso test has
   3862       # not run yet.  These depmodes are late enough in the game, and
   3863       # so weak that their functioning should not be impacted.
   3864       am__obj=conftest.${OBJEXT-o}
   3865       am__minus_obj=
   3866       ;;
   3867     none) break ;;
   3868     esac
   3869     if depmode=$depmode \
   3870        source=sub/conftest.c object=$am__obj \
   3871        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3872        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3873          >/dev/null 2>conftest.err &&
   3874        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3875        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3876        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3877        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3878       # icc doesn't choke on unknown options, it will just issue warnings
   3879       # or remarks (even with -Werror).  So we grep stderr for any message
   3880       # that says an option was ignored or not supported.
   3881       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3882       #   icc: Command line warning: ignoring option '-M'; no argument required
   3883       # The diagnosis changed in icc 8.0:
   3884       #   icc: Command line remark: option '-MP' not supported
   3885       if (grep 'ignoring option' conftest.err ||
   3886           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3887         am_cv_CC_dependencies_compiler_type=$depmode
   3888         break
   3889       fi
   3890     fi
   3891   done
   3892 
   3893   cd ..
   3894   rm -rf conftest.dir
   3895 else
   3896   am_cv_CC_dependencies_compiler_type=none
   3897 fi
   3898 
   3899 fi
   3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3901 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3902 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3903 
   3904  if
   3905   test "x$enable_dependency_tracking" != xno \
   3906   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3907   am__fastdepCC_TRUE=
   3908   am__fastdepCC_FALSE='#'
   3909 else
   3910   am__fastdepCC_TRUE='#'
   3911   am__fastdepCC_FALSE=
   3912 fi
   3913 
   3914 
   3915    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3916 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3917 if ${ac_cv_prog_cc_c99+:} false; then :
   3918   $as_echo_n "(cached) " >&6
   3919 else
   3920   ac_cv_prog_cc_c99=no
   3921 ac_save_CC=$CC
   3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3923 /* end confdefs.h.  */
   3924 #include <stdarg.h>
   3925 #include <stdbool.h>
   3926 #include <stdlib.h>
   3927 #include <wchar.h>
   3928 #include <stdio.h>
   3929 
   3930 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3931 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3932 #define showlist(...) puts (#__VA_ARGS__)
   3933 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3934 static void
   3935 test_varargs_macros (void)
   3936 {
   3937   int x = 1234;
   3938   int y = 5678;
   3939   debug ("Flag");
   3940   debug ("X = %d\n", x);
   3941   showlist (The first, second, and third items.);
   3942   report (x>y, "x is %d but y is %d", x, y);
   3943 }
   3944 
   3945 // Check long long types.
   3946 #define BIG64 18446744073709551615ull
   3947 #define BIG32 4294967295ul
   3948 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3949 #if !BIG_OK
   3950   your preprocessor is broken;
   3951 #endif
   3952 #if BIG_OK
   3953 #else
   3954   your preprocessor is broken;
   3955 #endif
   3956 static long long int bignum = -9223372036854775807LL;
   3957 static unsigned long long int ubignum = BIG64;
   3958 
   3959 struct incomplete_array
   3960 {
   3961   int datasize;
   3962   double data[];
   3963 };
   3964 
   3965 struct named_init {
   3966   int number;
   3967   const wchar_t *name;
   3968   double average;
   3969 };
   3970 
   3971 typedef const char *ccp;
   3972 
   3973 static inline int
   3974 test_restrict (ccp restrict text)
   3975 {
   3976   // See if C++-style comments work.
   3977   // Iterate through items via the restricted pointer.
   3978   // Also check for declarations in for loops.
   3979   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3980     continue;
   3981   return 0;
   3982 }
   3983 
   3984 // Check varargs and va_copy.
   3985 static void
   3986 test_varargs (const char *format, ...)
   3987 {
   3988   va_list args;
   3989   va_start (args, format);
   3990   va_list args_copy;
   3991   va_copy (args_copy, args);
   3992 
   3993   const char *str;
   3994   int number;
   3995   float fnumber;
   3996 
   3997   while (*format)
   3998     {
   3999       switch (*format++)
   4000 	{
   4001 	case 's': // string
   4002 	  str = va_arg (args_copy, const char *);
   4003 	  break;
   4004 	case 'd': // int
   4005 	  number = va_arg (args_copy, int);
   4006 	  break;
   4007 	case 'f': // float
   4008 	  fnumber = va_arg (args_copy, double);
   4009 	  break;
   4010 	default:
   4011 	  break;
   4012 	}
   4013     }
   4014   va_end (args_copy);
   4015   va_end (args);
   4016 }
   4017 
   4018 int
   4019 main ()
   4020 {
   4021 
   4022   // Check bool.
   4023   _Bool success = false;
   4024 
   4025   // Check restrict.
   4026   if (test_restrict ("String literal") == 0)
   4027     success = true;
   4028   char *restrict newvar = "Another string";
   4029 
   4030   // Check varargs.
   4031   test_varargs ("s, d' f .", "string", 65, 34.234);
   4032   test_varargs_macros ();
   4033 
   4034   // Check flexible array members.
   4035   struct incomplete_array *ia =
   4036     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4037   ia->datasize = 10;
   4038   for (int i = 0; i < ia->datasize; ++i)
   4039     ia->data[i] = i * 1.234;
   4040 
   4041   // Check named initializers.
   4042   struct named_init ni = {
   4043     .number = 34,
   4044     .name = L"Test wide string",
   4045     .average = 543.34343,
   4046   };
   4047 
   4048   ni.number = 58;
   4049 
   4050   int dynamic_array[ni.number];
   4051   dynamic_array[ni.number - 1] = 543;
   4052 
   4053   // work around unused variable warnings
   4054   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4055 	  || dynamic_array[ni.number - 1] != 543);
   4056 
   4057   ;
   4058   return 0;
   4059 }
   4060 _ACEOF
   4061 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4062 do
   4063   CC="$ac_save_CC $ac_arg"
   4064   if ac_fn_c_try_compile "$LINENO"; then :
   4065   ac_cv_prog_cc_c99=$ac_arg
   4066 fi
   4067 rm -f core conftest.err conftest.$ac_objext
   4068   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4069 done
   4070 rm -f conftest.$ac_ext
   4071 CC=$ac_save_CC
   4072 
   4073 fi
   4074 # AC_CACHE_VAL
   4075 case "x$ac_cv_prog_cc_c99" in
   4076   x)
   4077     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4078 $as_echo "none needed" >&6; } ;;
   4079   xno)
   4080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4081 $as_echo "unsupported" >&6; } ;;
   4082   *)
   4083     CC="$CC $ac_cv_prog_cc_c99"
   4084     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4085 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4086 esac
   4087 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4088 
   4089 fi
   4090 
   4091 
   4092 
   4093 ac_ext=c
   4094 ac_cpp='$CPP $CPPFLAGS'
   4095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4100 # On Suns, sometimes $CPP names a directory.
   4101 if test -n "$CPP" && test -d "$CPP"; then
   4102   CPP=
   4103 fi
   4104 if test -z "$CPP"; then
   4105   if ${ac_cv_prog_CPP+:} false; then :
   4106   $as_echo_n "(cached) " >&6
   4107 else
   4108       # Double quotes because CPP needs to be expanded
   4109     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4110     do
   4111       ac_preproc_ok=false
   4112 for ac_c_preproc_warn_flag in '' yes
   4113 do
   4114   # Use a header file that comes with gcc, so configuring glibc
   4115   # with a fresh cross-compiler works.
   4116   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4117   # <limits.h> exists even on freestanding compilers.
   4118   # On the NeXT, cc -E runs the code through the compiler's parser,
   4119   # not just through cpp. "Syntax error" is here to catch this case.
   4120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4121 /* end confdefs.h.  */
   4122 #ifdef __STDC__
   4123 # include <limits.h>
   4124 #else
   4125 # include <assert.h>
   4126 #endif
   4127 		     Syntax error
   4128 _ACEOF
   4129 if ac_fn_c_try_cpp "$LINENO"; then :
   4130 
   4131 else
   4132   # Broken: fails on valid input.
   4133 continue
   4134 fi
   4135 rm -f conftest.err conftest.i conftest.$ac_ext
   4136 
   4137   # OK, works on sane cases.  Now check whether nonexistent headers
   4138   # can be detected and how.
   4139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4140 /* end confdefs.h.  */
   4141 #include <ac_nonexistent.h>
   4142 _ACEOF
   4143 if ac_fn_c_try_cpp "$LINENO"; then :
   4144   # Broken: success on invalid input.
   4145 continue
   4146 else
   4147   # Passes both tests.
   4148 ac_preproc_ok=:
   4149 break
   4150 fi
   4151 rm -f conftest.err conftest.i conftest.$ac_ext
   4152 
   4153 done
   4154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4155 rm -f conftest.i conftest.err conftest.$ac_ext
   4156 if $ac_preproc_ok; then :
   4157   break
   4158 fi
   4159 
   4160     done
   4161     ac_cv_prog_CPP=$CPP
   4162 
   4163 fi
   4164   CPP=$ac_cv_prog_CPP
   4165 else
   4166   ac_cv_prog_CPP=$CPP
   4167 fi
   4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4169 $as_echo "$CPP" >&6; }
   4170 ac_preproc_ok=false
   4171 for ac_c_preproc_warn_flag in '' yes
   4172 do
   4173   # Use a header file that comes with gcc, so configuring glibc
   4174   # with a fresh cross-compiler works.
   4175   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4176   # <limits.h> exists even on freestanding compilers.
   4177   # On the NeXT, cc -E runs the code through the compiler's parser,
   4178   # not just through cpp. "Syntax error" is here to catch this case.
   4179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4180 /* end confdefs.h.  */
   4181 #ifdef __STDC__
   4182 # include <limits.h>
   4183 #else
   4184 # include <assert.h>
   4185 #endif
   4186 		     Syntax error
   4187 _ACEOF
   4188 if ac_fn_c_try_cpp "$LINENO"; then :
   4189 
   4190 else
   4191   # Broken: fails on valid input.
   4192 continue
   4193 fi
   4194 rm -f conftest.err conftest.i conftest.$ac_ext
   4195 
   4196   # OK, works on sane cases.  Now check whether nonexistent headers
   4197   # can be detected and how.
   4198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4199 /* end confdefs.h.  */
   4200 #include <ac_nonexistent.h>
   4201 _ACEOF
   4202 if ac_fn_c_try_cpp "$LINENO"; then :
   4203   # Broken: success on invalid input.
   4204 continue
   4205 else
   4206   # Passes both tests.
   4207 ac_preproc_ok=:
   4208 break
   4209 fi
   4210 rm -f conftest.err conftest.i conftest.$ac_ext
   4211 
   4212 done
   4213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4214 rm -f conftest.i conftest.err conftest.$ac_ext
   4215 if $ac_preproc_ok; then :
   4216 
   4217 else
   4218   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4221 See \`config.log' for more details" "$LINENO" 5; }
   4222 fi
   4223 
   4224 ac_ext=c
   4225 ac_cpp='$CPP $CPPFLAGS'
   4226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4229 
   4230 
   4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4232 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4233 if ${ac_cv_path_GREP+:} false; then :
   4234   $as_echo_n "(cached) " >&6
   4235 else
   4236   if test -z "$GREP"; then
   4237   ac_path_GREP_found=false
   4238   # Loop through the user's path and test for each of PROGNAME-LIST
   4239   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4241 do
   4242   IFS=$as_save_IFS
   4243   test -z "$as_dir" && as_dir=.
   4244     for ac_prog in grep ggrep; do
   4245     for ac_exec_ext in '' $ac_executable_extensions; do
   4246       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4247       as_fn_executable_p "$ac_path_GREP" || continue
   4248 # Check for GNU ac_path_GREP and select it if it is found.
   4249   # Check for GNU $ac_path_GREP
   4250 case `"$ac_path_GREP" --version 2>&1` in
   4251 *GNU*)
   4252   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4253 *)
   4254   ac_count=0
   4255   $as_echo_n 0123456789 >"conftest.in"
   4256   while :
   4257   do
   4258     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4259     mv "conftest.tmp" "conftest.in"
   4260     cp "conftest.in" "conftest.nl"
   4261     $as_echo 'GREP' >> "conftest.nl"
   4262     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4263     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4264     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4265     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4266       # Best one so far, save it but keep looking for a better one
   4267       ac_cv_path_GREP="$ac_path_GREP"
   4268       ac_path_GREP_max=$ac_count
   4269     fi
   4270     # 10*(2^10) chars as input seems more than enough
   4271     test $ac_count -gt 10 && break
   4272   done
   4273   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4274 esac
   4275 
   4276       $ac_path_GREP_found && break 3
   4277     done
   4278   done
   4279   done
   4280 IFS=$as_save_IFS
   4281   if test -z "$ac_cv_path_GREP"; then
   4282     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4283   fi
   4284 else
   4285   ac_cv_path_GREP=$GREP
   4286 fi
   4287 
   4288 fi
   4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4290 $as_echo "$ac_cv_path_GREP" >&6; }
   4291  GREP="$ac_cv_path_GREP"
   4292 
   4293 
   4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4295 $as_echo_n "checking for egrep... " >&6; }
   4296 if ${ac_cv_path_EGREP+:} false; then :
   4297   $as_echo_n "(cached) " >&6
   4298 else
   4299   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4300    then ac_cv_path_EGREP="$GREP -E"
   4301    else
   4302      if test -z "$EGREP"; then
   4303   ac_path_EGREP_found=false
   4304   # Loop through the user's path and test for each of PROGNAME-LIST
   4305   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4307 do
   4308   IFS=$as_save_IFS
   4309   test -z "$as_dir" && as_dir=.
   4310     for ac_prog in egrep; do
   4311     for ac_exec_ext in '' $ac_executable_extensions; do
   4312       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4313       as_fn_executable_p "$ac_path_EGREP" || continue
   4314 # Check for GNU ac_path_EGREP and select it if it is found.
   4315   # Check for GNU $ac_path_EGREP
   4316 case `"$ac_path_EGREP" --version 2>&1` in
   4317 *GNU*)
   4318   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4319 *)
   4320   ac_count=0
   4321   $as_echo_n 0123456789 >"conftest.in"
   4322   while :
   4323   do
   4324     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4325     mv "conftest.tmp" "conftest.in"
   4326     cp "conftest.in" "conftest.nl"
   4327     $as_echo 'EGREP' >> "conftest.nl"
   4328     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4329     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4330     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4331     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4332       # Best one so far, save it but keep looking for a better one
   4333       ac_cv_path_EGREP="$ac_path_EGREP"
   4334       ac_path_EGREP_max=$ac_count
   4335     fi
   4336     # 10*(2^10) chars as input seems more than enough
   4337     test $ac_count -gt 10 && break
   4338   done
   4339   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4340 esac
   4341 
   4342       $ac_path_EGREP_found && break 3
   4343     done
   4344   done
   4345   done
   4346 IFS=$as_save_IFS
   4347   if test -z "$ac_cv_path_EGREP"; then
   4348     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4349   fi
   4350 else
   4351   ac_cv_path_EGREP=$EGREP
   4352 fi
   4353 
   4354    fi
   4355 fi
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4357 $as_echo "$ac_cv_path_EGREP" >&6; }
   4358  EGREP="$ac_cv_path_EGREP"
   4359 
   4360 
   4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4362 $as_echo_n "checking for ANSI C header files... " >&6; }
   4363 if ${ac_cv_header_stdc+:} false; then :
   4364   $as_echo_n "(cached) " >&6
   4365 else
   4366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4367 /* end confdefs.h.  */
   4368 #include <stdlib.h>
   4369 #include <stdarg.h>
   4370 #include <string.h>
   4371 #include <float.h>
   4372 
   4373 int
   4374 main ()
   4375 {
   4376 
   4377   ;
   4378   return 0;
   4379 }
   4380 _ACEOF
   4381 if ac_fn_c_try_compile "$LINENO"; then :
   4382   ac_cv_header_stdc=yes
   4383 else
   4384   ac_cv_header_stdc=no
   4385 fi
   4386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4387 
   4388 if test $ac_cv_header_stdc = yes; then
   4389   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4391 /* end confdefs.h.  */
   4392 #include <string.h>
   4393 
   4394 _ACEOF
   4395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4396   $EGREP "memchr" >/dev/null 2>&1; then :
   4397 
   4398 else
   4399   ac_cv_header_stdc=no
   4400 fi
   4401 rm -f conftest*
   4402 
   4403 fi
   4404 
   4405 if test $ac_cv_header_stdc = yes; then
   4406   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4408 /* end confdefs.h.  */
   4409 #include <stdlib.h>
   4410 
   4411 _ACEOF
   4412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4413   $EGREP "free" >/dev/null 2>&1; then :
   4414 
   4415 else
   4416   ac_cv_header_stdc=no
   4417 fi
   4418 rm -f conftest*
   4419 
   4420 fi
   4421 
   4422 if test $ac_cv_header_stdc = yes; then
   4423   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4424   if test "$cross_compiling" = yes; then :
   4425   :
   4426 else
   4427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4428 /* end confdefs.h.  */
   4429 #include <ctype.h>
   4430 #include <stdlib.h>
   4431 #if ((' ' & 0x0FF) == 0x020)
   4432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4433 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4434 #else
   4435 # define ISLOWER(c) \
   4436 		   (('a' <= (c) && (c) <= 'i') \
   4437 		     || ('j' <= (c) && (c) <= 'r') \
   4438 		     || ('s' <= (c) && (c) <= 'z'))
   4439 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4440 #endif
   4441 
   4442 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4443 int
   4444 main ()
   4445 {
   4446   int i;
   4447   for (i = 0; i < 256; i++)
   4448     if (XOR (islower (i), ISLOWER (i))
   4449 	|| toupper (i) != TOUPPER (i))
   4450       return 2;
   4451   return 0;
   4452 }
   4453 _ACEOF
   4454 if ac_fn_c_try_run "$LINENO"; then :
   4455 
   4456 else
   4457   ac_cv_header_stdc=no
   4458 fi
   4459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4460   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4461 fi
   4462 
   4463 fi
   4464 fi
   4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4466 $as_echo "$ac_cv_header_stdc" >&6; }
   4467 if test $ac_cv_header_stdc = yes; then
   4468 
   4469 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4470 
   4471 fi
   4472 
   4473 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4474 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4475 		  inttypes.h stdint.h unistd.h
   4476 do :
   4477   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4478 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4479 "
   4480 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4481   cat >>confdefs.h <<_ACEOF
   4482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4483 _ACEOF
   4484 
   4485 fi
   4486 
   4487 done
   4488 
   4489 
   4490 
   4491 
   4492 
   4493 
   4494 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4495 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4496   CLANGCC="yes"
   4497 else
   4498   CLANGCC="no"
   4499 fi
   4500 
   4501 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4502 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4503   INTELCC="yes"
   4504 else
   4505   INTELCC="no"
   4506 fi
   4507 
   4508 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4509 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4510   SUNCC="yes"
   4511 else
   4512   SUNCC="no"
   4513 fi
   4514 
   4515 
   4516 
   4517 
   4518 
   4519 
   4520 
   4521 
   4522 
   4523 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4524 	if test -n "$ac_tool_prefix"; then
   4525   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4526 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4528 $as_echo_n "checking for $ac_word... " >&6; }
   4529 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4530   $as_echo_n "(cached) " >&6
   4531 else
   4532   case $PKG_CONFIG in
   4533   [\\/]* | ?:[\\/]*)
   4534   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4535   ;;
   4536   *)
   4537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4538 for as_dir in $PATH
   4539 do
   4540   IFS=$as_save_IFS
   4541   test -z "$as_dir" && as_dir=.
   4542     for ac_exec_ext in '' $ac_executable_extensions; do
   4543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4544     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4546     break 2
   4547   fi
   4548 done
   4549   done
   4550 IFS=$as_save_IFS
   4551 
   4552   ;;
   4553 esac
   4554 fi
   4555 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4556 if test -n "$PKG_CONFIG"; then
   4557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4558 $as_echo "$PKG_CONFIG" >&6; }
   4559 else
   4560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4561 $as_echo "no" >&6; }
   4562 fi
   4563 
   4564 
   4565 fi
   4566 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4567   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4568   # Extract the first word of "pkg-config", so it can be a program name with args.
   4569 set dummy pkg-config; ac_word=$2
   4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4571 $as_echo_n "checking for $ac_word... " >&6; }
   4572 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4573   $as_echo_n "(cached) " >&6
   4574 else
   4575   case $ac_pt_PKG_CONFIG in
   4576   [\\/]* | ?:[\\/]*)
   4577   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4578   ;;
   4579   *)
   4580   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4581 for as_dir in $PATH
   4582 do
   4583   IFS=$as_save_IFS
   4584   test -z "$as_dir" && as_dir=.
   4585     for ac_exec_ext in '' $ac_executable_extensions; do
   4586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4587     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4589     break 2
   4590   fi
   4591 done
   4592   done
   4593 IFS=$as_save_IFS
   4594 
   4595   ;;
   4596 esac
   4597 fi
   4598 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4599 if test -n "$ac_pt_PKG_CONFIG"; then
   4600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4601 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4602 else
   4603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4604 $as_echo "no" >&6; }
   4605 fi
   4606 
   4607   if test "x$ac_pt_PKG_CONFIG" = x; then
   4608     PKG_CONFIG=""
   4609   else
   4610     case $cross_compiling:$ac_tool_warned in
   4611 yes:)
   4612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4614 ac_tool_warned=yes ;;
   4615 esac
   4616     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4617   fi
   4618 else
   4619   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4620 fi
   4621 
   4622 fi
   4623 if test -n "$PKG_CONFIG"; then
   4624 	_pkg_min_version=0.9.0
   4625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4626 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4627 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4629 $as_echo "yes" >&6; }
   4630 	else
   4631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4632 $as_echo "no" >&6; }
   4633 		PKG_CONFIG=""
   4634 	fi
   4635 fi
   4636 # Make sure we can run config.sub.
   4637 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4638   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4639 
   4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4641 $as_echo_n "checking build system type... " >&6; }
   4642 if ${ac_cv_build+:} false; then :
   4643   $as_echo_n "(cached) " >&6
   4644 else
   4645   ac_build_alias=$build_alias
   4646 test "x$ac_build_alias" = x &&
   4647   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4648 test "x$ac_build_alias" = x &&
   4649   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4650 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4651   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4652 
   4653 fi
   4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4655 $as_echo "$ac_cv_build" >&6; }
   4656 case $ac_cv_build in
   4657 *-*-*) ;;
   4658 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4659 esac
   4660 build=$ac_cv_build
   4661 ac_save_IFS=$IFS; IFS='-'
   4662 set x $ac_cv_build
   4663 shift
   4664 build_cpu=$1
   4665 build_vendor=$2
   4666 shift; shift
   4667 # Remember, the first character of IFS is used to create $*,
   4668 # except with old shells:
   4669 build_os=$*
   4670 IFS=$ac_save_IFS
   4671 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4672 
   4673 
   4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4675 $as_echo_n "checking host system type... " >&6; }
   4676 if ${ac_cv_host+:} false; then :
   4677   $as_echo_n "(cached) " >&6
   4678 else
   4679   if test "x$host_alias" = x; then
   4680   ac_cv_host=$ac_cv_build
   4681 else
   4682   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4683     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4684 fi
   4685 
   4686 fi
   4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4688 $as_echo "$ac_cv_host" >&6; }
   4689 case $ac_cv_host in
   4690 *-*-*) ;;
   4691 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4692 esac
   4693 host=$ac_cv_host
   4694 ac_save_IFS=$IFS; IFS='-'
   4695 set x $ac_cv_host
   4696 shift
   4697 host_cpu=$1
   4698 host_vendor=$2
   4699 shift; shift
   4700 # Remember, the first character of IFS is used to create $*,
   4701 # except with old shells:
   4702 host_os=$*
   4703 IFS=$ac_save_IFS
   4704 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4705 
   4706 
   4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4708 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4709 if ${ac_cv_path_SED+:} false; then :
   4710   $as_echo_n "(cached) " >&6
   4711 else
   4712             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4713      for ac_i in 1 2 3 4 5 6 7; do
   4714        ac_script="$ac_script$as_nl$ac_script"
   4715      done
   4716      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4717      { ac_script=; unset ac_script;}
   4718      if test -z "$SED"; then
   4719   ac_path_SED_found=false
   4720   # Loop through the user's path and test for each of PROGNAME-LIST
   4721   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4722 for as_dir in $PATH
   4723 do
   4724   IFS=$as_save_IFS
   4725   test -z "$as_dir" && as_dir=.
   4726     for ac_prog in sed gsed; do
   4727     for ac_exec_ext in '' $ac_executable_extensions; do
   4728       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4729       as_fn_executable_p "$ac_path_SED" || continue
   4730 # Check for GNU ac_path_SED and select it if it is found.
   4731   # Check for GNU $ac_path_SED
   4732 case `"$ac_path_SED" --version 2>&1` in
   4733 *GNU*)
   4734   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4735 *)
   4736   ac_count=0
   4737   $as_echo_n 0123456789 >"conftest.in"
   4738   while :
   4739   do
   4740     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4741     mv "conftest.tmp" "conftest.in"
   4742     cp "conftest.in" "conftest.nl"
   4743     $as_echo '' >> "conftest.nl"
   4744     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4745     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4746     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4747     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4748       # Best one so far, save it but keep looking for a better one
   4749       ac_cv_path_SED="$ac_path_SED"
   4750       ac_path_SED_max=$ac_count
   4751     fi
   4752     # 10*(2^10) chars as input seems more than enough
   4753     test $ac_count -gt 10 && break
   4754   done
   4755   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4756 esac
   4757 
   4758       $ac_path_SED_found && break 3
   4759     done
   4760   done
   4761   done
   4762 IFS=$as_save_IFS
   4763   if test -z "$ac_cv_path_SED"; then
   4764     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4765   fi
   4766 else
   4767   ac_cv_path_SED=$SED
   4768 fi
   4769 
   4770 fi
   4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4772 $as_echo "$ac_cv_path_SED" >&6; }
   4773  SED="$ac_cv_path_SED"
   4774   rm -f conftest.sed
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 # Check whether --enable-selective-werror was given.
   4782 if test "${enable_selective_werror+set}" = set; then :
   4783   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4784 else
   4785   SELECTIVE_WERROR=yes
   4786 fi
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4793 if test "x$SUNCC" = "xyes"; then
   4794     BASE_CFLAGS="-v"
   4795 else
   4796     BASE_CFLAGS=""
   4797 fi
   4798 
   4799 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 xorg_testset_save_CFLAGS="$CFLAGS"
   4814 
   4815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4818 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4819 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4820   $as_echo_n "(cached) " >&6
   4821 else
   4822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4823 /* end confdefs.h.  */
   4824 int i;
   4825 _ACEOF
   4826 if ac_fn_c_try_compile "$LINENO"; then :
   4827   xorg_cv_cc_flag_unknown_warning_option=yes
   4828 else
   4829   xorg_cv_cc_flag_unknown_warning_option=no
   4830 fi
   4831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4832 fi
   4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4834 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4836 	CFLAGS="$xorg_testset_save_CFLAGS"
   4837 fi
   4838 
   4839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4842 	fi
   4843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4845 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4846 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4847   $as_echo_n "(cached) " >&6
   4848 else
   4849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4850 /* end confdefs.h.  */
   4851 int i;
   4852 _ACEOF
   4853 if ac_fn_c_try_compile "$LINENO"; then :
   4854   xorg_cv_cc_flag_unused_command_line_argument=yes
   4855 else
   4856   xorg_cv_cc_flag_unused_command_line_argument=no
   4857 fi
   4858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4859 fi
   4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4861 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4863 	CFLAGS="$xorg_testset_save_CFLAGS"
   4864 fi
   4865 
   4866 found="no"
   4867 
   4868 	if test $found = "no" ; then
   4869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4871 		fi
   4872 
   4873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4875 		fi
   4876 
   4877 		CFLAGS="$CFLAGS -Wall"
   4878 
   4879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4880 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4881 		cacheid=xorg_cv_cc_flag__Wall
   4882 		if eval \${$cacheid+:} false; then :
   4883   $as_echo_n "(cached) " >&6
   4884 else
   4885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4886 /* end confdefs.h.  */
   4887 int i;
   4888 int
   4889 main ()
   4890 {
   4891 
   4892   ;
   4893   return 0;
   4894 }
   4895 _ACEOF
   4896 if ac_fn_c_try_link "$LINENO"; then :
   4897   eval $cacheid=yes
   4898 else
   4899   eval $cacheid=no
   4900 fi
   4901 rm -f core conftest.err conftest.$ac_objext \
   4902     conftest$ac_exeext conftest.$ac_ext
   4903 fi
   4904 
   4905 
   4906 		CFLAGS="$xorg_testset_save_CFLAGS"
   4907 
   4908 		eval supported=\$$cacheid
   4909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4910 $as_echo "$supported" >&6; }
   4911 		if test "$supported" = "yes" ; then
   4912 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4913 			found="yes"
   4914 		fi
   4915 	fi
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 xorg_testset_save_CFLAGS="$CFLAGS"
   4932 
   4933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4938   $as_echo_n "(cached) " >&6
   4939 else
   4940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4941 /* end confdefs.h.  */
   4942 int i;
   4943 _ACEOF
   4944 if ac_fn_c_try_compile "$LINENO"; then :
   4945   xorg_cv_cc_flag_unknown_warning_option=yes
   4946 else
   4947   xorg_cv_cc_flag_unknown_warning_option=no
   4948 fi
   4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4950 fi
   4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4954 	CFLAGS="$xorg_testset_save_CFLAGS"
   4955 fi
   4956 
   4957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4960 	fi
   4961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4965   $as_echo_n "(cached) " >&6
   4966 else
   4967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4968 /* end confdefs.h.  */
   4969 int i;
   4970 _ACEOF
   4971 if ac_fn_c_try_compile "$LINENO"; then :
   4972   xorg_cv_cc_flag_unused_command_line_argument=yes
   4973 else
   4974   xorg_cv_cc_flag_unused_command_line_argument=no
   4975 fi
   4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4977 fi
   4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4979 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4981 	CFLAGS="$xorg_testset_save_CFLAGS"
   4982 fi
   4983 
   4984 found="no"
   4985 
   4986 	if test $found = "no" ; then
   4987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4989 		fi
   4990 
   4991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4993 		fi
   4994 
   4995 		CFLAGS="$CFLAGS -Wpointer-arith"
   4996 
   4997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4998 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4999 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5000 		if eval \${$cacheid+:} false; then :
   5001   $as_echo_n "(cached) " >&6
   5002 else
   5003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5004 /* end confdefs.h.  */
   5005 int i;
   5006 int
   5007 main ()
   5008 {
   5009 
   5010   ;
   5011   return 0;
   5012 }
   5013 _ACEOF
   5014 if ac_fn_c_try_link "$LINENO"; then :
   5015   eval $cacheid=yes
   5016 else
   5017   eval $cacheid=no
   5018 fi
   5019 rm -f core conftest.err conftest.$ac_objext \
   5020     conftest$ac_exeext conftest.$ac_ext
   5021 fi
   5022 
   5023 
   5024 		CFLAGS="$xorg_testset_save_CFLAGS"
   5025 
   5026 		eval supported=\$$cacheid
   5027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5028 $as_echo "$supported" >&6; }
   5029 		if test "$supported" = "yes" ; then
   5030 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5031 			found="yes"
   5032 		fi
   5033 	fi
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 xorg_testset_save_CFLAGS="$CFLAGS"
   5050 
   5051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5054 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5055 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5056   $as_echo_n "(cached) " >&6
   5057 else
   5058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5059 /* end confdefs.h.  */
   5060 int i;
   5061 _ACEOF
   5062 if ac_fn_c_try_compile "$LINENO"; then :
   5063   xorg_cv_cc_flag_unknown_warning_option=yes
   5064 else
   5065   xorg_cv_cc_flag_unknown_warning_option=no
   5066 fi
   5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5068 fi
   5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5070 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5071 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5072 	CFLAGS="$xorg_testset_save_CFLAGS"
   5073 fi
   5074 
   5075 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5076 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5077 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5078 	fi
   5079 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5081 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5082 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5083   $as_echo_n "(cached) " >&6
   5084 else
   5085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5086 /* end confdefs.h.  */
   5087 int i;
   5088 _ACEOF
   5089 if ac_fn_c_try_compile "$LINENO"; then :
   5090   xorg_cv_cc_flag_unused_command_line_argument=yes
   5091 else
   5092   xorg_cv_cc_flag_unused_command_line_argument=no
   5093 fi
   5094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5095 fi
   5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5097 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5099 	CFLAGS="$xorg_testset_save_CFLAGS"
   5100 fi
   5101 
   5102 found="no"
   5103 
   5104 	if test $found = "no" ; then
   5105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5107 		fi
   5108 
   5109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5111 		fi
   5112 
   5113 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5114 
   5115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5116 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5117 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5118 		if eval \${$cacheid+:} false; then :
   5119   $as_echo_n "(cached) " >&6
   5120 else
   5121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5122 /* end confdefs.h.  */
   5123 int i;
   5124 int
   5125 main ()
   5126 {
   5127 
   5128   ;
   5129   return 0;
   5130 }
   5131 _ACEOF
   5132 if ac_fn_c_try_link "$LINENO"; then :
   5133   eval $cacheid=yes
   5134 else
   5135   eval $cacheid=no
   5136 fi
   5137 rm -f core conftest.err conftest.$ac_objext \
   5138     conftest$ac_exeext conftest.$ac_ext
   5139 fi
   5140 
   5141 
   5142 		CFLAGS="$xorg_testset_save_CFLAGS"
   5143 
   5144 		eval supported=\$$cacheid
   5145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5146 $as_echo "$supported" >&6; }
   5147 		if test "$supported" = "yes" ; then
   5148 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5149 			found="yes"
   5150 		fi
   5151 	fi
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 xorg_testset_save_CFLAGS="$CFLAGS"
   5168 
   5169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5172 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5173 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5174   $as_echo_n "(cached) " >&6
   5175 else
   5176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5177 /* end confdefs.h.  */
   5178 int i;
   5179 _ACEOF
   5180 if ac_fn_c_try_compile "$LINENO"; then :
   5181   xorg_cv_cc_flag_unknown_warning_option=yes
   5182 else
   5183   xorg_cv_cc_flag_unknown_warning_option=no
   5184 fi
   5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5186 fi
   5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5188 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5190 	CFLAGS="$xorg_testset_save_CFLAGS"
   5191 fi
   5192 
   5193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5196 	fi
   5197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5199 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5200 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5201   $as_echo_n "(cached) " >&6
   5202 else
   5203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5204 /* end confdefs.h.  */
   5205 int i;
   5206 _ACEOF
   5207 if ac_fn_c_try_compile "$LINENO"; then :
   5208   xorg_cv_cc_flag_unused_command_line_argument=yes
   5209 else
   5210   xorg_cv_cc_flag_unused_command_line_argument=no
   5211 fi
   5212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5213 fi
   5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5215 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5217 	CFLAGS="$xorg_testset_save_CFLAGS"
   5218 fi
   5219 
   5220 found="no"
   5221 
   5222 	if test $found = "no" ; then
   5223 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5225 		fi
   5226 
   5227 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5229 		fi
   5230 
   5231 		CFLAGS="$CFLAGS -Wformat=2"
   5232 
   5233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5234 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5235 		cacheid=xorg_cv_cc_flag__Wformat_2
   5236 		if eval \${$cacheid+:} false; then :
   5237   $as_echo_n "(cached) " >&6
   5238 else
   5239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5240 /* end confdefs.h.  */
   5241 int i;
   5242 int
   5243 main ()
   5244 {
   5245 
   5246   ;
   5247   return 0;
   5248 }
   5249 _ACEOF
   5250 if ac_fn_c_try_link "$LINENO"; then :
   5251   eval $cacheid=yes
   5252 else
   5253   eval $cacheid=no
   5254 fi
   5255 rm -f core conftest.err conftest.$ac_objext \
   5256     conftest$ac_exeext conftest.$ac_ext
   5257 fi
   5258 
   5259 
   5260 		CFLAGS="$xorg_testset_save_CFLAGS"
   5261 
   5262 		eval supported=\$$cacheid
   5263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5264 $as_echo "$supported" >&6; }
   5265 		if test "$supported" = "yes" ; then
   5266 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5267 			found="yes"
   5268 		fi
   5269 	fi
   5270 
   5271 	if test $found = "no" ; then
   5272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5274 		fi
   5275 
   5276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5278 		fi
   5279 
   5280 		CFLAGS="$CFLAGS -Wformat"
   5281 
   5282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5283 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5284 		cacheid=xorg_cv_cc_flag__Wformat
   5285 		if eval \${$cacheid+:} false; then :
   5286   $as_echo_n "(cached) " >&6
   5287 else
   5288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5289 /* end confdefs.h.  */
   5290 int i;
   5291 int
   5292 main ()
   5293 {
   5294 
   5295   ;
   5296   return 0;
   5297 }
   5298 _ACEOF
   5299 if ac_fn_c_try_link "$LINENO"; then :
   5300   eval $cacheid=yes
   5301 else
   5302   eval $cacheid=no
   5303 fi
   5304 rm -f core conftest.err conftest.$ac_objext \
   5305     conftest$ac_exeext conftest.$ac_ext
   5306 fi
   5307 
   5308 
   5309 		CFLAGS="$xorg_testset_save_CFLAGS"
   5310 
   5311 		eval supported=\$$cacheid
   5312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5313 $as_echo "$supported" >&6; }
   5314 		if test "$supported" = "yes" ; then
   5315 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5316 			found="yes"
   5317 		fi
   5318 	fi
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 xorg_testset_save_CFLAGS="$CFLAGS"
   5337 
   5338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5341 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5342 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5343   $as_echo_n "(cached) " >&6
   5344 else
   5345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5346 /* end confdefs.h.  */
   5347 int i;
   5348 _ACEOF
   5349 if ac_fn_c_try_compile "$LINENO"; then :
   5350   xorg_cv_cc_flag_unknown_warning_option=yes
   5351 else
   5352   xorg_cv_cc_flag_unknown_warning_option=no
   5353 fi
   5354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5355 fi
   5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5357 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5359 	CFLAGS="$xorg_testset_save_CFLAGS"
   5360 fi
   5361 
   5362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5365 	fi
   5366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5368 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5369 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5370   $as_echo_n "(cached) " >&6
   5371 else
   5372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5373 /* end confdefs.h.  */
   5374 int i;
   5375 _ACEOF
   5376 if ac_fn_c_try_compile "$LINENO"; then :
   5377   xorg_cv_cc_flag_unused_command_line_argument=yes
   5378 else
   5379   xorg_cv_cc_flag_unused_command_line_argument=no
   5380 fi
   5381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5382 fi
   5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5384 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5386 	CFLAGS="$xorg_testset_save_CFLAGS"
   5387 fi
   5388 
   5389 found="no"
   5390 
   5391 	if test $found = "no" ; then
   5392 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5394 		fi
   5395 
   5396 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5398 		fi
   5399 
   5400 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5401 
   5402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5403 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5404 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5405 		if eval \${$cacheid+:} false; then :
   5406   $as_echo_n "(cached) " >&6
   5407 else
   5408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5409 /* end confdefs.h.  */
   5410 int i;
   5411 int
   5412 main ()
   5413 {
   5414 
   5415   ;
   5416   return 0;
   5417 }
   5418 _ACEOF
   5419 if ac_fn_c_try_link "$LINENO"; then :
   5420   eval $cacheid=yes
   5421 else
   5422   eval $cacheid=no
   5423 fi
   5424 rm -f core conftest.err conftest.$ac_objext \
   5425     conftest$ac_exeext conftest.$ac_ext
   5426 fi
   5427 
   5428 
   5429 		CFLAGS="$xorg_testset_save_CFLAGS"
   5430 
   5431 		eval supported=\$$cacheid
   5432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5433 $as_echo "$supported" >&6; }
   5434 		if test "$supported" = "yes" ; then
   5435 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5436 			found="yes"
   5437 		fi
   5438 	fi
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 xorg_testset_save_CFLAGS="$CFLAGS"
   5455 
   5456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5461   $as_echo_n "(cached) " >&6
   5462 else
   5463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5464 /* end confdefs.h.  */
   5465 int i;
   5466 _ACEOF
   5467 if ac_fn_c_try_compile "$LINENO"; then :
   5468   xorg_cv_cc_flag_unknown_warning_option=yes
   5469 else
   5470   xorg_cv_cc_flag_unknown_warning_option=no
   5471 fi
   5472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5473 fi
   5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5477 	CFLAGS="$xorg_testset_save_CFLAGS"
   5478 fi
   5479 
   5480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5483 	fi
   5484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5488   $as_echo_n "(cached) " >&6
   5489 else
   5490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5491 /* end confdefs.h.  */
   5492 int i;
   5493 _ACEOF
   5494 if ac_fn_c_try_compile "$LINENO"; then :
   5495   xorg_cv_cc_flag_unused_command_line_argument=yes
   5496 else
   5497   xorg_cv_cc_flag_unused_command_line_argument=no
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5500 fi
   5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5504 	CFLAGS="$xorg_testset_save_CFLAGS"
   5505 fi
   5506 
   5507 found="no"
   5508 
   5509 	if test $found = "no" ; then
   5510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5512 		fi
   5513 
   5514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5516 		fi
   5517 
   5518 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5519 
   5520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5521 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5522 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5523 		if eval \${$cacheid+:} false; then :
   5524   $as_echo_n "(cached) " >&6
   5525 else
   5526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5527 /* end confdefs.h.  */
   5528 int i;
   5529 int
   5530 main ()
   5531 {
   5532 
   5533   ;
   5534   return 0;
   5535 }
   5536 _ACEOF
   5537 if ac_fn_c_try_link "$LINENO"; then :
   5538   eval $cacheid=yes
   5539 else
   5540   eval $cacheid=no
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext \
   5543     conftest$ac_exeext conftest.$ac_ext
   5544 fi
   5545 
   5546 
   5547 		CFLAGS="$xorg_testset_save_CFLAGS"
   5548 
   5549 		eval supported=\$$cacheid
   5550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5551 $as_echo "$supported" >&6; }
   5552 		if test "$supported" = "yes" ; then
   5553 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5554 			found="yes"
   5555 		fi
   5556 	fi
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 xorg_testset_save_CFLAGS="$CFLAGS"
   5573 
   5574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5579   $as_echo_n "(cached) " >&6
   5580 else
   5581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5582 /* end confdefs.h.  */
   5583 int i;
   5584 _ACEOF
   5585 if ac_fn_c_try_compile "$LINENO"; then :
   5586   xorg_cv_cc_flag_unknown_warning_option=yes
   5587 else
   5588   xorg_cv_cc_flag_unknown_warning_option=no
   5589 fi
   5590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5591 fi
   5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5595 	CFLAGS="$xorg_testset_save_CFLAGS"
   5596 fi
   5597 
   5598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5601 	fi
   5602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5606   $as_echo_n "(cached) " >&6
   5607 else
   5608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5609 /* end confdefs.h.  */
   5610 int i;
   5611 _ACEOF
   5612 if ac_fn_c_try_compile "$LINENO"; then :
   5613   xorg_cv_cc_flag_unused_command_line_argument=yes
   5614 else
   5615   xorg_cv_cc_flag_unused_command_line_argument=no
   5616 fi
   5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5618 fi
   5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5622 	CFLAGS="$xorg_testset_save_CFLAGS"
   5623 fi
   5624 
   5625 found="no"
   5626 
   5627 	if test $found = "no" ; then
   5628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5630 		fi
   5631 
   5632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5634 		fi
   5635 
   5636 		CFLAGS="$CFLAGS -Wnested-externs"
   5637 
   5638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5639 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5640 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5641 		if eval \${$cacheid+:} false; then :
   5642   $as_echo_n "(cached) " >&6
   5643 else
   5644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5645 /* end confdefs.h.  */
   5646 int i;
   5647 int
   5648 main ()
   5649 {
   5650 
   5651   ;
   5652   return 0;
   5653 }
   5654 _ACEOF
   5655 if ac_fn_c_try_link "$LINENO"; then :
   5656   eval $cacheid=yes
   5657 else
   5658   eval $cacheid=no
   5659 fi
   5660 rm -f core conftest.err conftest.$ac_objext \
   5661     conftest$ac_exeext conftest.$ac_ext
   5662 fi
   5663 
   5664 
   5665 		CFLAGS="$xorg_testset_save_CFLAGS"
   5666 
   5667 		eval supported=\$$cacheid
   5668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5669 $as_echo "$supported" >&6; }
   5670 		if test "$supported" = "yes" ; then
   5671 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5672 			found="yes"
   5673 		fi
   5674 	fi
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 xorg_testset_save_CFLAGS="$CFLAGS"
   5691 
   5692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5695 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5696 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5697   $as_echo_n "(cached) " >&6
   5698 else
   5699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5700 /* end confdefs.h.  */
   5701 int i;
   5702 _ACEOF
   5703 if ac_fn_c_try_compile "$LINENO"; then :
   5704   xorg_cv_cc_flag_unknown_warning_option=yes
   5705 else
   5706   xorg_cv_cc_flag_unknown_warning_option=no
   5707 fi
   5708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5709 fi
   5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5711 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5713 	CFLAGS="$xorg_testset_save_CFLAGS"
   5714 fi
   5715 
   5716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5719 	fi
   5720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5722 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5723 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5724   $as_echo_n "(cached) " >&6
   5725 else
   5726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5727 /* end confdefs.h.  */
   5728 int i;
   5729 _ACEOF
   5730 if ac_fn_c_try_compile "$LINENO"; then :
   5731   xorg_cv_cc_flag_unused_command_line_argument=yes
   5732 else
   5733   xorg_cv_cc_flag_unused_command_line_argument=no
   5734 fi
   5735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5736 fi
   5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5738 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5740 	CFLAGS="$xorg_testset_save_CFLAGS"
   5741 fi
   5742 
   5743 found="no"
   5744 
   5745 	if test $found = "no" ; then
   5746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5748 		fi
   5749 
   5750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5752 		fi
   5753 
   5754 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5755 
   5756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5757 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5758 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5759 		if eval \${$cacheid+:} false; then :
   5760   $as_echo_n "(cached) " >&6
   5761 else
   5762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5763 /* end confdefs.h.  */
   5764 int i;
   5765 int
   5766 main ()
   5767 {
   5768 
   5769   ;
   5770   return 0;
   5771 }
   5772 _ACEOF
   5773 if ac_fn_c_try_link "$LINENO"; then :
   5774   eval $cacheid=yes
   5775 else
   5776   eval $cacheid=no
   5777 fi
   5778 rm -f core conftest.err conftest.$ac_objext \
   5779     conftest$ac_exeext conftest.$ac_ext
   5780 fi
   5781 
   5782 
   5783 		CFLAGS="$xorg_testset_save_CFLAGS"
   5784 
   5785 		eval supported=\$$cacheid
   5786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5787 $as_echo "$supported" >&6; }
   5788 		if test "$supported" = "yes" ; then
   5789 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5790 			found="yes"
   5791 		fi
   5792 	fi
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 xorg_testset_save_CFLAGS="$CFLAGS"
   5809 
   5810 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5811 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5813 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5814 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5815   $as_echo_n "(cached) " >&6
   5816 else
   5817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5818 /* end confdefs.h.  */
   5819 int i;
   5820 _ACEOF
   5821 if ac_fn_c_try_compile "$LINENO"; then :
   5822   xorg_cv_cc_flag_unknown_warning_option=yes
   5823 else
   5824   xorg_cv_cc_flag_unknown_warning_option=no
   5825 fi
   5826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5827 fi
   5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5829 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5830 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5831 	CFLAGS="$xorg_testset_save_CFLAGS"
   5832 fi
   5833 
   5834 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5835 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5836 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5837 	fi
   5838 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5840 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5841 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5842   $as_echo_n "(cached) " >&6
   5843 else
   5844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5845 /* end confdefs.h.  */
   5846 int i;
   5847 _ACEOF
   5848 if ac_fn_c_try_compile "$LINENO"; then :
   5849   xorg_cv_cc_flag_unused_command_line_argument=yes
   5850 else
   5851   xorg_cv_cc_flag_unused_command_line_argument=no
   5852 fi
   5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5854 fi
   5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5856 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5857 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5858 	CFLAGS="$xorg_testset_save_CFLAGS"
   5859 fi
   5860 
   5861 found="no"
   5862 
   5863 	if test $found = "no" ; then
   5864 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5865 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5866 		fi
   5867 
   5868 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5869 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5870 		fi
   5871 
   5872 		CFLAGS="$CFLAGS -Wold-style-definition"
   5873 
   5874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5875 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5876 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5877 		if eval \${$cacheid+:} false; then :
   5878   $as_echo_n "(cached) " >&6
   5879 else
   5880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5881 /* end confdefs.h.  */
   5882 int i;
   5883 int
   5884 main ()
   5885 {
   5886 
   5887   ;
   5888   return 0;
   5889 }
   5890 _ACEOF
   5891 if ac_fn_c_try_link "$LINENO"; then :
   5892   eval $cacheid=yes
   5893 else
   5894   eval $cacheid=no
   5895 fi
   5896 rm -f core conftest.err conftest.$ac_objext \
   5897     conftest$ac_exeext conftest.$ac_ext
   5898 fi
   5899 
   5900 
   5901 		CFLAGS="$xorg_testset_save_CFLAGS"
   5902 
   5903 		eval supported=\$$cacheid
   5904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5905 $as_echo "$supported" >&6; }
   5906 		if test "$supported" = "yes" ; then
   5907 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5908 			found="yes"
   5909 		fi
   5910 	fi
   5911 
   5912 	if test $found = "no" ; then
   5913 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5915 		fi
   5916 
   5917 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5919 		fi
   5920 
   5921 		CFLAGS="$CFLAGS -fd"
   5922 
   5923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5924 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5925 		cacheid=xorg_cv_cc_flag__fd
   5926 		if eval \${$cacheid+:} false; then :
   5927   $as_echo_n "(cached) " >&6
   5928 else
   5929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5930 /* end confdefs.h.  */
   5931 int i;
   5932 int
   5933 main ()
   5934 {
   5935 
   5936   ;
   5937   return 0;
   5938 }
   5939 _ACEOF
   5940 if ac_fn_c_try_link "$LINENO"; then :
   5941   eval $cacheid=yes
   5942 else
   5943   eval $cacheid=no
   5944 fi
   5945 rm -f core conftest.err conftest.$ac_objext \
   5946     conftest$ac_exeext conftest.$ac_ext
   5947 fi
   5948 
   5949 
   5950 		CFLAGS="$xorg_testset_save_CFLAGS"
   5951 
   5952 		eval supported=\$$cacheid
   5953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5954 $as_echo "$supported" >&6; }
   5955 		if test "$supported" = "yes" ; then
   5956 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5957 			found="yes"
   5958 		fi
   5959 	fi
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 xorg_testset_save_CFLAGS="$CFLAGS"
   5976 
   5977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5980 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5981 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5982   $as_echo_n "(cached) " >&6
   5983 else
   5984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5985 /* end confdefs.h.  */
   5986 int i;
   5987 _ACEOF
   5988 if ac_fn_c_try_compile "$LINENO"; then :
   5989   xorg_cv_cc_flag_unknown_warning_option=yes
   5990 else
   5991   xorg_cv_cc_flag_unknown_warning_option=no
   5992 fi
   5993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5994 fi
   5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5996 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5998 	CFLAGS="$xorg_testset_save_CFLAGS"
   5999 fi
   6000 
   6001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6004 	fi
   6005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6007 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6008 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6009   $as_echo_n "(cached) " >&6
   6010 else
   6011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6012 /* end confdefs.h.  */
   6013 int i;
   6014 _ACEOF
   6015 if ac_fn_c_try_compile "$LINENO"; then :
   6016   xorg_cv_cc_flag_unused_command_line_argument=yes
   6017 else
   6018   xorg_cv_cc_flag_unused_command_line_argument=no
   6019 fi
   6020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6021 fi
   6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6023 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6025 	CFLAGS="$xorg_testset_save_CFLAGS"
   6026 fi
   6027 
   6028 found="no"
   6029 
   6030 	if test $found = "no" ; then
   6031 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6033 		fi
   6034 
   6035 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6037 		fi
   6038 
   6039 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6040 
   6041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6042 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6043 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6044 		if eval \${$cacheid+:} false; then :
   6045   $as_echo_n "(cached) " >&6
   6046 else
   6047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6048 /* end confdefs.h.  */
   6049 int i;
   6050 int
   6051 main ()
   6052 {
   6053 
   6054   ;
   6055   return 0;
   6056 }
   6057 _ACEOF
   6058 if ac_fn_c_try_link "$LINENO"; then :
   6059   eval $cacheid=yes
   6060 else
   6061   eval $cacheid=no
   6062 fi
   6063 rm -f core conftest.err conftest.$ac_objext \
   6064     conftest$ac_exeext conftest.$ac_ext
   6065 fi
   6066 
   6067 
   6068 		CFLAGS="$xorg_testset_save_CFLAGS"
   6069 
   6070 		eval supported=\$$cacheid
   6071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6072 $as_echo "$supported" >&6; }
   6073 		if test "$supported" = "yes" ; then
   6074 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6075 			found="yes"
   6076 		fi
   6077 	fi
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 # This chunk adds additional warnings that could catch undesired effects.
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 xorg_testset_save_CFLAGS="$CFLAGS"
   6098 
   6099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6102 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6103 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6104   $as_echo_n "(cached) " >&6
   6105 else
   6106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6107 /* end confdefs.h.  */
   6108 int i;
   6109 _ACEOF
   6110 if ac_fn_c_try_compile "$LINENO"; then :
   6111   xorg_cv_cc_flag_unknown_warning_option=yes
   6112 else
   6113   xorg_cv_cc_flag_unknown_warning_option=no
   6114 fi
   6115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6116 fi
   6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6118 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6119 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6120 	CFLAGS="$xorg_testset_save_CFLAGS"
   6121 fi
   6122 
   6123 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6124 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6125 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6126 	fi
   6127 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6129 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6130 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6131   $as_echo_n "(cached) " >&6
   6132 else
   6133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6134 /* end confdefs.h.  */
   6135 int i;
   6136 _ACEOF
   6137 if ac_fn_c_try_compile "$LINENO"; then :
   6138   xorg_cv_cc_flag_unused_command_line_argument=yes
   6139 else
   6140   xorg_cv_cc_flag_unused_command_line_argument=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6143 fi
   6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6145 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6147 	CFLAGS="$xorg_testset_save_CFLAGS"
   6148 fi
   6149 
   6150 found="no"
   6151 
   6152 	if test $found = "no" ; then
   6153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6155 		fi
   6156 
   6157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6159 		fi
   6160 
   6161 		CFLAGS="$CFLAGS -Wunused"
   6162 
   6163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6164 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6165 		cacheid=xorg_cv_cc_flag__Wunused
   6166 		if eval \${$cacheid+:} false; then :
   6167   $as_echo_n "(cached) " >&6
   6168 else
   6169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6170 /* end confdefs.h.  */
   6171 int i;
   6172 int
   6173 main ()
   6174 {
   6175 
   6176   ;
   6177   return 0;
   6178 }
   6179 _ACEOF
   6180 if ac_fn_c_try_link "$LINENO"; then :
   6181   eval $cacheid=yes
   6182 else
   6183   eval $cacheid=no
   6184 fi
   6185 rm -f core conftest.err conftest.$ac_objext \
   6186     conftest$ac_exeext conftest.$ac_ext
   6187 fi
   6188 
   6189 
   6190 		CFLAGS="$xorg_testset_save_CFLAGS"
   6191 
   6192 		eval supported=\$$cacheid
   6193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6194 $as_echo "$supported" >&6; }
   6195 		if test "$supported" = "yes" ; then
   6196 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6197 			found="yes"
   6198 		fi
   6199 	fi
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 xorg_testset_save_CFLAGS="$CFLAGS"
   6216 
   6217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6220 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6221 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6222   $as_echo_n "(cached) " >&6
   6223 else
   6224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6225 /* end confdefs.h.  */
   6226 int i;
   6227 _ACEOF
   6228 if ac_fn_c_try_compile "$LINENO"; then :
   6229   xorg_cv_cc_flag_unknown_warning_option=yes
   6230 else
   6231   xorg_cv_cc_flag_unknown_warning_option=no
   6232 fi
   6233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6234 fi
   6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6236 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6238 	CFLAGS="$xorg_testset_save_CFLAGS"
   6239 fi
   6240 
   6241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6244 	fi
   6245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6247 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6248 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6249   $as_echo_n "(cached) " >&6
   6250 else
   6251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6252 /* end confdefs.h.  */
   6253 int i;
   6254 _ACEOF
   6255 if ac_fn_c_try_compile "$LINENO"; then :
   6256   xorg_cv_cc_flag_unused_command_line_argument=yes
   6257 else
   6258   xorg_cv_cc_flag_unused_command_line_argument=no
   6259 fi
   6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6261 fi
   6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6263 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6265 	CFLAGS="$xorg_testset_save_CFLAGS"
   6266 fi
   6267 
   6268 found="no"
   6269 
   6270 	if test $found = "no" ; then
   6271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6273 		fi
   6274 
   6275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6277 		fi
   6278 
   6279 		CFLAGS="$CFLAGS -Wuninitialized"
   6280 
   6281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6282 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6283 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6284 		if eval \${$cacheid+:} false; then :
   6285   $as_echo_n "(cached) " >&6
   6286 else
   6287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6288 /* end confdefs.h.  */
   6289 int i;
   6290 int
   6291 main ()
   6292 {
   6293 
   6294   ;
   6295   return 0;
   6296 }
   6297 _ACEOF
   6298 if ac_fn_c_try_link "$LINENO"; then :
   6299   eval $cacheid=yes
   6300 else
   6301   eval $cacheid=no
   6302 fi
   6303 rm -f core conftest.err conftest.$ac_objext \
   6304     conftest$ac_exeext conftest.$ac_ext
   6305 fi
   6306 
   6307 
   6308 		CFLAGS="$xorg_testset_save_CFLAGS"
   6309 
   6310 		eval supported=\$$cacheid
   6311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6312 $as_echo "$supported" >&6; }
   6313 		if test "$supported" = "yes" ; then
   6314 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6315 			found="yes"
   6316 		fi
   6317 	fi
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 xorg_testset_save_CFLAGS="$CFLAGS"
   6334 
   6335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6336 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6338 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6339 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6343 /* end confdefs.h.  */
   6344 int i;
   6345 _ACEOF
   6346 if ac_fn_c_try_compile "$LINENO"; then :
   6347   xorg_cv_cc_flag_unknown_warning_option=yes
   6348 else
   6349   xorg_cv_cc_flag_unknown_warning_option=no
   6350 fi
   6351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6352 fi
   6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6354 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6356 	CFLAGS="$xorg_testset_save_CFLAGS"
   6357 fi
   6358 
   6359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6362 	fi
   6363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6365 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6366 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6367   $as_echo_n "(cached) " >&6
   6368 else
   6369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6370 /* end confdefs.h.  */
   6371 int i;
   6372 _ACEOF
   6373 if ac_fn_c_try_compile "$LINENO"; then :
   6374   xorg_cv_cc_flag_unused_command_line_argument=yes
   6375 else
   6376   xorg_cv_cc_flag_unused_command_line_argument=no
   6377 fi
   6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6379 fi
   6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6381 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6383 	CFLAGS="$xorg_testset_save_CFLAGS"
   6384 fi
   6385 
   6386 found="no"
   6387 
   6388 	if test $found = "no" ; then
   6389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6391 		fi
   6392 
   6393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6395 		fi
   6396 
   6397 		CFLAGS="$CFLAGS -Wshadow"
   6398 
   6399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6400 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6401 		cacheid=xorg_cv_cc_flag__Wshadow
   6402 		if eval \${$cacheid+:} false; then :
   6403   $as_echo_n "(cached) " >&6
   6404 else
   6405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6406 /* end confdefs.h.  */
   6407 int i;
   6408 int
   6409 main ()
   6410 {
   6411 
   6412   ;
   6413   return 0;
   6414 }
   6415 _ACEOF
   6416 if ac_fn_c_try_link "$LINENO"; then :
   6417   eval $cacheid=yes
   6418 else
   6419   eval $cacheid=no
   6420 fi
   6421 rm -f core conftest.err conftest.$ac_objext \
   6422     conftest$ac_exeext conftest.$ac_ext
   6423 fi
   6424 
   6425 
   6426 		CFLAGS="$xorg_testset_save_CFLAGS"
   6427 
   6428 		eval supported=\$$cacheid
   6429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6430 $as_echo "$supported" >&6; }
   6431 		if test "$supported" = "yes" ; then
   6432 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6433 			found="yes"
   6434 		fi
   6435 	fi
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 xorg_testset_save_CFLAGS="$CFLAGS"
   6452 
   6453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6456 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6457 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6458   $as_echo_n "(cached) " >&6
   6459 else
   6460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6461 /* end confdefs.h.  */
   6462 int i;
   6463 _ACEOF
   6464 if ac_fn_c_try_compile "$LINENO"; then :
   6465   xorg_cv_cc_flag_unknown_warning_option=yes
   6466 else
   6467   xorg_cv_cc_flag_unknown_warning_option=no
   6468 fi
   6469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6470 fi
   6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6472 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6474 	CFLAGS="$xorg_testset_save_CFLAGS"
   6475 fi
   6476 
   6477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6480 	fi
   6481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6483 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6484 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6485   $as_echo_n "(cached) " >&6
   6486 else
   6487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6488 /* end confdefs.h.  */
   6489 int i;
   6490 _ACEOF
   6491 if ac_fn_c_try_compile "$LINENO"; then :
   6492   xorg_cv_cc_flag_unused_command_line_argument=yes
   6493 else
   6494   xorg_cv_cc_flag_unused_command_line_argument=no
   6495 fi
   6496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6497 fi
   6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6499 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6501 	CFLAGS="$xorg_testset_save_CFLAGS"
   6502 fi
   6503 
   6504 found="no"
   6505 
   6506 	if test $found = "no" ; then
   6507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6509 		fi
   6510 
   6511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6513 		fi
   6514 
   6515 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6516 
   6517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6518 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6519 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6520 		if eval \${$cacheid+:} false; then :
   6521   $as_echo_n "(cached) " >&6
   6522 else
   6523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6524 /* end confdefs.h.  */
   6525 int i;
   6526 int
   6527 main ()
   6528 {
   6529 
   6530   ;
   6531   return 0;
   6532 }
   6533 _ACEOF
   6534 if ac_fn_c_try_link "$LINENO"; then :
   6535   eval $cacheid=yes
   6536 else
   6537   eval $cacheid=no
   6538 fi
   6539 rm -f core conftest.err conftest.$ac_objext \
   6540     conftest$ac_exeext conftest.$ac_ext
   6541 fi
   6542 
   6543 
   6544 		CFLAGS="$xorg_testset_save_CFLAGS"
   6545 
   6546 		eval supported=\$$cacheid
   6547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6548 $as_echo "$supported" >&6; }
   6549 		if test "$supported" = "yes" ; then
   6550 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6551 			found="yes"
   6552 		fi
   6553 	fi
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 xorg_testset_save_CFLAGS="$CFLAGS"
   6570 
   6571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6574 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6575 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6576   $as_echo_n "(cached) " >&6
   6577 else
   6578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6579 /* end confdefs.h.  */
   6580 int i;
   6581 _ACEOF
   6582 if ac_fn_c_try_compile "$LINENO"; then :
   6583   xorg_cv_cc_flag_unknown_warning_option=yes
   6584 else
   6585   xorg_cv_cc_flag_unknown_warning_option=no
   6586 fi
   6587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6588 fi
   6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6590 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6592 	CFLAGS="$xorg_testset_save_CFLAGS"
   6593 fi
   6594 
   6595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6598 	fi
   6599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6601 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6602 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6603   $as_echo_n "(cached) " >&6
   6604 else
   6605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6606 /* end confdefs.h.  */
   6607 int i;
   6608 _ACEOF
   6609 if ac_fn_c_try_compile "$LINENO"; then :
   6610   xorg_cv_cc_flag_unused_command_line_argument=yes
   6611 else
   6612   xorg_cv_cc_flag_unused_command_line_argument=no
   6613 fi
   6614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6615 fi
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6617 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6619 	CFLAGS="$xorg_testset_save_CFLAGS"
   6620 fi
   6621 
   6622 found="no"
   6623 
   6624 	if test $found = "no" ; then
   6625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6627 		fi
   6628 
   6629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6631 		fi
   6632 
   6633 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6634 
   6635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6636 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6637 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6638 		if eval \${$cacheid+:} false; then :
   6639   $as_echo_n "(cached) " >&6
   6640 else
   6641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6642 /* end confdefs.h.  */
   6643 int i;
   6644 int
   6645 main ()
   6646 {
   6647 
   6648   ;
   6649   return 0;
   6650 }
   6651 _ACEOF
   6652 if ac_fn_c_try_link "$LINENO"; then :
   6653   eval $cacheid=yes
   6654 else
   6655   eval $cacheid=no
   6656 fi
   6657 rm -f core conftest.err conftest.$ac_objext \
   6658     conftest$ac_exeext conftest.$ac_ext
   6659 fi
   6660 
   6661 
   6662 		CFLAGS="$xorg_testset_save_CFLAGS"
   6663 
   6664 		eval supported=\$$cacheid
   6665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6666 $as_echo "$supported" >&6; }
   6667 		if test "$supported" = "yes" ; then
   6668 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6669 			found="yes"
   6670 		fi
   6671 	fi
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 xorg_testset_save_CFLAGS="$CFLAGS"
   6688 
   6689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6692 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6693 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6694   $as_echo_n "(cached) " >&6
   6695 else
   6696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6697 /* end confdefs.h.  */
   6698 int i;
   6699 _ACEOF
   6700 if ac_fn_c_try_compile "$LINENO"; then :
   6701   xorg_cv_cc_flag_unknown_warning_option=yes
   6702 else
   6703   xorg_cv_cc_flag_unknown_warning_option=no
   6704 fi
   6705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6706 fi
   6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6708 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6710 	CFLAGS="$xorg_testset_save_CFLAGS"
   6711 fi
   6712 
   6713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6716 	fi
   6717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6719 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6720 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6721   $as_echo_n "(cached) " >&6
   6722 else
   6723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6724 /* end confdefs.h.  */
   6725 int i;
   6726 _ACEOF
   6727 if ac_fn_c_try_compile "$LINENO"; then :
   6728   xorg_cv_cc_flag_unused_command_line_argument=yes
   6729 else
   6730   xorg_cv_cc_flag_unused_command_line_argument=no
   6731 fi
   6732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6733 fi
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6735 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6737 	CFLAGS="$xorg_testset_save_CFLAGS"
   6738 fi
   6739 
   6740 found="no"
   6741 
   6742 	if test $found = "no" ; then
   6743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6745 		fi
   6746 
   6747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6749 		fi
   6750 
   6751 		CFLAGS="$CFLAGS -Wredundant-decls"
   6752 
   6753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6754 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6755 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6756 		if eval \${$cacheid+:} false; then :
   6757   $as_echo_n "(cached) " >&6
   6758 else
   6759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6760 /* end confdefs.h.  */
   6761 int i;
   6762 int
   6763 main ()
   6764 {
   6765 
   6766   ;
   6767   return 0;
   6768 }
   6769 _ACEOF
   6770 if ac_fn_c_try_link "$LINENO"; then :
   6771   eval $cacheid=yes
   6772 else
   6773   eval $cacheid=no
   6774 fi
   6775 rm -f core conftest.err conftest.$ac_objext \
   6776     conftest$ac_exeext conftest.$ac_ext
   6777 fi
   6778 
   6779 
   6780 		CFLAGS="$xorg_testset_save_CFLAGS"
   6781 
   6782 		eval supported=\$$cacheid
   6783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6784 $as_echo "$supported" >&6; }
   6785 		if test "$supported" = "yes" ; then
   6786 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6787 			found="yes"
   6788 		fi
   6789 	fi
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 xorg_testset_save_CFLAGS="$CFLAGS"
   6806 
   6807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6810 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6811 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6815 /* end confdefs.h.  */
   6816 int i;
   6817 _ACEOF
   6818 if ac_fn_c_try_compile "$LINENO"; then :
   6819   xorg_cv_cc_flag_unknown_warning_option=yes
   6820 else
   6821   xorg_cv_cc_flag_unknown_warning_option=no
   6822 fi
   6823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6824 fi
   6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6826 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6828 	CFLAGS="$xorg_testset_save_CFLAGS"
   6829 fi
   6830 
   6831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6834 	fi
   6835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6837 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6838 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6839   $as_echo_n "(cached) " >&6
   6840 else
   6841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6842 /* end confdefs.h.  */
   6843 int i;
   6844 _ACEOF
   6845 if ac_fn_c_try_compile "$LINENO"; then :
   6846   xorg_cv_cc_flag_unused_command_line_argument=yes
   6847 else
   6848   xorg_cv_cc_flag_unused_command_line_argument=no
   6849 fi
   6850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6851 fi
   6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6853 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6855 	CFLAGS="$xorg_testset_save_CFLAGS"
   6856 fi
   6857 
   6858 found="no"
   6859 
   6860 	if test $found = "no" ; then
   6861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6863 		fi
   6864 
   6865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6867 		fi
   6868 
   6869 		CFLAGS="$CFLAGS -Wlogical-op"
   6870 
   6871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6872 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6873 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6874 		if eval \${$cacheid+:} false; then :
   6875   $as_echo_n "(cached) " >&6
   6876 else
   6877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6878 /* end confdefs.h.  */
   6879 int i;
   6880 int
   6881 main ()
   6882 {
   6883 
   6884   ;
   6885   return 0;
   6886 }
   6887 _ACEOF
   6888 if ac_fn_c_try_link "$LINENO"; then :
   6889   eval $cacheid=yes
   6890 else
   6891   eval $cacheid=no
   6892 fi
   6893 rm -f core conftest.err conftest.$ac_objext \
   6894     conftest$ac_exeext conftest.$ac_ext
   6895 fi
   6896 
   6897 
   6898 		CFLAGS="$xorg_testset_save_CFLAGS"
   6899 
   6900 		eval supported=\$$cacheid
   6901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6902 $as_echo "$supported" >&6; }
   6903 		if test "$supported" = "yes" ; then
   6904 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6905 			found="yes"
   6906 		fi
   6907 	fi
   6908 
   6909 
   6910 
   6911 # These are currently disabled because they are noisy.  They will be enabled
   6912 # in the future once the codebase is sufficiently modernized to silence
   6913 # them.  For now, I don't want them to drown out the other warnings.
   6914 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6915 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6916 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6917 
   6918 # Turn some warnings into errors, so we don't accidently get successful builds
   6919 # when there are problems that should be fixed.
   6920 
   6921 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 xorg_testset_save_CFLAGS="$CFLAGS"
   6936 
   6937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6945 /* end confdefs.h.  */
   6946 int i;
   6947 _ACEOF
   6948 if ac_fn_c_try_compile "$LINENO"; then :
   6949   xorg_cv_cc_flag_unknown_warning_option=yes
   6950 else
   6951   xorg_cv_cc_flag_unknown_warning_option=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6954 fi
   6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6958 	CFLAGS="$xorg_testset_save_CFLAGS"
   6959 fi
   6960 
   6961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6964 	fi
   6965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6969   $as_echo_n "(cached) " >&6
   6970 else
   6971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6972 /* end confdefs.h.  */
   6973 int i;
   6974 _ACEOF
   6975 if ac_fn_c_try_compile "$LINENO"; then :
   6976   xorg_cv_cc_flag_unused_command_line_argument=yes
   6977 else
   6978   xorg_cv_cc_flag_unused_command_line_argument=no
   6979 fi
   6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6981 fi
   6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6985 	CFLAGS="$xorg_testset_save_CFLAGS"
   6986 fi
   6987 
   6988 found="no"
   6989 
   6990 	if test $found = "no" ; then
   6991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6993 		fi
   6994 
   6995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6997 		fi
   6998 
   6999 		CFLAGS="$CFLAGS -Werror=implicit"
   7000 
   7001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7002 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7003 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7004 		if eval \${$cacheid+:} false; then :
   7005   $as_echo_n "(cached) " >&6
   7006 else
   7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7008 /* end confdefs.h.  */
   7009 int i;
   7010 int
   7011 main ()
   7012 {
   7013 
   7014   ;
   7015   return 0;
   7016 }
   7017 _ACEOF
   7018 if ac_fn_c_try_link "$LINENO"; then :
   7019   eval $cacheid=yes
   7020 else
   7021   eval $cacheid=no
   7022 fi
   7023 rm -f core conftest.err conftest.$ac_objext \
   7024     conftest$ac_exeext conftest.$ac_ext
   7025 fi
   7026 
   7027 
   7028 		CFLAGS="$xorg_testset_save_CFLAGS"
   7029 
   7030 		eval supported=\$$cacheid
   7031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7032 $as_echo "$supported" >&6; }
   7033 		if test "$supported" = "yes" ; then
   7034 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7035 			found="yes"
   7036 		fi
   7037 	fi
   7038 
   7039 	if test $found = "no" ; then
   7040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7042 		fi
   7043 
   7044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7046 		fi
   7047 
   7048 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7049 
   7050 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7051 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7052 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7053 		if eval \${$cacheid+:} false; then :
   7054   $as_echo_n "(cached) " >&6
   7055 else
   7056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7057 /* end confdefs.h.  */
   7058 int i;
   7059 int
   7060 main ()
   7061 {
   7062 
   7063   ;
   7064   return 0;
   7065 }
   7066 _ACEOF
   7067 if ac_fn_c_try_link "$LINENO"; then :
   7068   eval $cacheid=yes
   7069 else
   7070   eval $cacheid=no
   7071 fi
   7072 rm -f core conftest.err conftest.$ac_objext \
   7073     conftest$ac_exeext conftest.$ac_ext
   7074 fi
   7075 
   7076 
   7077 		CFLAGS="$xorg_testset_save_CFLAGS"
   7078 
   7079 		eval supported=\$$cacheid
   7080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7081 $as_echo "$supported" >&6; }
   7082 		if test "$supported" = "yes" ; then
   7083 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7084 			found="yes"
   7085 		fi
   7086 	fi
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 xorg_testset_save_CFLAGS="$CFLAGS"
   7103 
   7104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7107 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7108 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7109   $as_echo_n "(cached) " >&6
   7110 else
   7111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7112 /* end confdefs.h.  */
   7113 int i;
   7114 _ACEOF
   7115 if ac_fn_c_try_compile "$LINENO"; then :
   7116   xorg_cv_cc_flag_unknown_warning_option=yes
   7117 else
   7118   xorg_cv_cc_flag_unknown_warning_option=no
   7119 fi
   7120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7121 fi
   7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7123 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7124 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7125 	CFLAGS="$xorg_testset_save_CFLAGS"
   7126 fi
   7127 
   7128 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7129 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7130 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7131 	fi
   7132 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7133 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7134 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7135 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7136   $as_echo_n "(cached) " >&6
   7137 else
   7138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7139 /* end confdefs.h.  */
   7140 int i;
   7141 _ACEOF
   7142 if ac_fn_c_try_compile "$LINENO"; then :
   7143   xorg_cv_cc_flag_unused_command_line_argument=yes
   7144 else
   7145   xorg_cv_cc_flag_unused_command_line_argument=no
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7148 fi
   7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7150 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7152 	CFLAGS="$xorg_testset_save_CFLAGS"
   7153 fi
   7154 
   7155 found="no"
   7156 
   7157 	if test $found = "no" ; then
   7158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7160 		fi
   7161 
   7162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7164 		fi
   7165 
   7166 		CFLAGS="$CFLAGS -Werror=nonnull"
   7167 
   7168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7169 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7170 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7171 		if eval \${$cacheid+:} false; then :
   7172   $as_echo_n "(cached) " >&6
   7173 else
   7174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7175 /* end confdefs.h.  */
   7176 int i;
   7177 int
   7178 main ()
   7179 {
   7180 
   7181   ;
   7182   return 0;
   7183 }
   7184 _ACEOF
   7185 if ac_fn_c_try_link "$LINENO"; then :
   7186   eval $cacheid=yes
   7187 else
   7188   eval $cacheid=no
   7189 fi
   7190 rm -f core conftest.err conftest.$ac_objext \
   7191     conftest$ac_exeext conftest.$ac_ext
   7192 fi
   7193 
   7194 
   7195 		CFLAGS="$xorg_testset_save_CFLAGS"
   7196 
   7197 		eval supported=\$$cacheid
   7198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7199 $as_echo "$supported" >&6; }
   7200 		if test "$supported" = "yes" ; then
   7201 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7202 			found="yes"
   7203 		fi
   7204 	fi
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 xorg_testset_save_CFLAGS="$CFLAGS"
   7221 
   7222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7225 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7226 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7227   $as_echo_n "(cached) " >&6
   7228 else
   7229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7230 /* end confdefs.h.  */
   7231 int i;
   7232 _ACEOF
   7233 if ac_fn_c_try_compile "$LINENO"; then :
   7234   xorg_cv_cc_flag_unknown_warning_option=yes
   7235 else
   7236   xorg_cv_cc_flag_unknown_warning_option=no
   7237 fi
   7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7239 fi
   7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7241 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7243 	CFLAGS="$xorg_testset_save_CFLAGS"
   7244 fi
   7245 
   7246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7249 	fi
   7250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7251 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7252 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7253 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7254   $as_echo_n "(cached) " >&6
   7255 else
   7256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7257 /* end confdefs.h.  */
   7258 int i;
   7259 _ACEOF
   7260 if ac_fn_c_try_compile "$LINENO"; then :
   7261   xorg_cv_cc_flag_unused_command_line_argument=yes
   7262 else
   7263   xorg_cv_cc_flag_unused_command_line_argument=no
   7264 fi
   7265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7266 fi
   7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7268 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7269 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7270 	CFLAGS="$xorg_testset_save_CFLAGS"
   7271 fi
   7272 
   7273 found="no"
   7274 
   7275 	if test $found = "no" ; then
   7276 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7277 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7278 		fi
   7279 
   7280 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7281 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7282 		fi
   7283 
   7284 		CFLAGS="$CFLAGS -Werror=init-self"
   7285 
   7286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7287 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7288 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7289 		if eval \${$cacheid+:} false; then :
   7290   $as_echo_n "(cached) " >&6
   7291 else
   7292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7293 /* end confdefs.h.  */
   7294 int i;
   7295 int
   7296 main ()
   7297 {
   7298 
   7299   ;
   7300   return 0;
   7301 }
   7302 _ACEOF
   7303 if ac_fn_c_try_link "$LINENO"; then :
   7304   eval $cacheid=yes
   7305 else
   7306   eval $cacheid=no
   7307 fi
   7308 rm -f core conftest.err conftest.$ac_objext \
   7309     conftest$ac_exeext conftest.$ac_ext
   7310 fi
   7311 
   7312 
   7313 		CFLAGS="$xorg_testset_save_CFLAGS"
   7314 
   7315 		eval supported=\$$cacheid
   7316 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7317 $as_echo "$supported" >&6; }
   7318 		if test "$supported" = "yes" ; then
   7319 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7320 			found="yes"
   7321 		fi
   7322 	fi
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 xorg_testset_save_CFLAGS="$CFLAGS"
   7339 
   7340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7343 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7344 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7345   $as_echo_n "(cached) " >&6
   7346 else
   7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7348 /* end confdefs.h.  */
   7349 int i;
   7350 _ACEOF
   7351 if ac_fn_c_try_compile "$LINENO"; then :
   7352   xorg_cv_cc_flag_unknown_warning_option=yes
   7353 else
   7354   xorg_cv_cc_flag_unknown_warning_option=no
   7355 fi
   7356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7357 fi
   7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7359 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7360 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7361 	CFLAGS="$xorg_testset_save_CFLAGS"
   7362 fi
   7363 
   7364 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7365 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7366 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7367 	fi
   7368 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7369 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7370 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7371 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7372   $as_echo_n "(cached) " >&6
   7373 else
   7374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7375 /* end confdefs.h.  */
   7376 int i;
   7377 _ACEOF
   7378 if ac_fn_c_try_compile "$LINENO"; then :
   7379   xorg_cv_cc_flag_unused_command_line_argument=yes
   7380 else
   7381   xorg_cv_cc_flag_unused_command_line_argument=no
   7382 fi
   7383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7384 fi
   7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7386 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7387 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7388 	CFLAGS="$xorg_testset_save_CFLAGS"
   7389 fi
   7390 
   7391 found="no"
   7392 
   7393 	if test $found = "no" ; then
   7394 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7395 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7396 		fi
   7397 
   7398 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7399 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7400 		fi
   7401 
   7402 		CFLAGS="$CFLAGS -Werror=main"
   7403 
   7404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7405 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7406 		cacheid=xorg_cv_cc_flag__Werror_main
   7407 		if eval \${$cacheid+:} false; then :
   7408   $as_echo_n "(cached) " >&6
   7409 else
   7410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7411 /* end confdefs.h.  */
   7412 int i;
   7413 int
   7414 main ()
   7415 {
   7416 
   7417   ;
   7418   return 0;
   7419 }
   7420 _ACEOF
   7421 if ac_fn_c_try_link "$LINENO"; then :
   7422   eval $cacheid=yes
   7423 else
   7424   eval $cacheid=no
   7425 fi
   7426 rm -f core conftest.err conftest.$ac_objext \
   7427     conftest$ac_exeext conftest.$ac_ext
   7428 fi
   7429 
   7430 
   7431 		CFLAGS="$xorg_testset_save_CFLAGS"
   7432 
   7433 		eval supported=\$$cacheid
   7434 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7435 $as_echo "$supported" >&6; }
   7436 		if test "$supported" = "yes" ; then
   7437 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7438 			found="yes"
   7439 		fi
   7440 	fi
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 xorg_testset_save_CFLAGS="$CFLAGS"
   7457 
   7458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7461 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7462 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7463   $as_echo_n "(cached) " >&6
   7464 else
   7465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7466 /* end confdefs.h.  */
   7467 int i;
   7468 _ACEOF
   7469 if ac_fn_c_try_compile "$LINENO"; then :
   7470   xorg_cv_cc_flag_unknown_warning_option=yes
   7471 else
   7472   xorg_cv_cc_flag_unknown_warning_option=no
   7473 fi
   7474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7475 fi
   7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7477 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7479 	CFLAGS="$xorg_testset_save_CFLAGS"
   7480 fi
   7481 
   7482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7485 	fi
   7486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7488 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7489 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7490   $as_echo_n "(cached) " >&6
   7491 else
   7492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7493 /* end confdefs.h.  */
   7494 int i;
   7495 _ACEOF
   7496 if ac_fn_c_try_compile "$LINENO"; then :
   7497   xorg_cv_cc_flag_unused_command_line_argument=yes
   7498 else
   7499   xorg_cv_cc_flag_unused_command_line_argument=no
   7500 fi
   7501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7502 fi
   7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7504 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7505 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7506 	CFLAGS="$xorg_testset_save_CFLAGS"
   7507 fi
   7508 
   7509 found="no"
   7510 
   7511 	if test $found = "no" ; then
   7512 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7514 		fi
   7515 
   7516 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7518 		fi
   7519 
   7520 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7521 
   7522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7523 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7524 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7525 		if eval \${$cacheid+:} false; then :
   7526   $as_echo_n "(cached) " >&6
   7527 else
   7528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7529 /* end confdefs.h.  */
   7530 int i;
   7531 int
   7532 main ()
   7533 {
   7534 
   7535   ;
   7536   return 0;
   7537 }
   7538 _ACEOF
   7539 if ac_fn_c_try_link "$LINENO"; then :
   7540   eval $cacheid=yes
   7541 else
   7542   eval $cacheid=no
   7543 fi
   7544 rm -f core conftest.err conftest.$ac_objext \
   7545     conftest$ac_exeext conftest.$ac_ext
   7546 fi
   7547 
   7548 
   7549 		CFLAGS="$xorg_testset_save_CFLAGS"
   7550 
   7551 		eval supported=\$$cacheid
   7552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7553 $as_echo "$supported" >&6; }
   7554 		if test "$supported" = "yes" ; then
   7555 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7556 			found="yes"
   7557 		fi
   7558 	fi
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 xorg_testset_save_CFLAGS="$CFLAGS"
   7575 
   7576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7581   $as_echo_n "(cached) " >&6
   7582 else
   7583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7584 /* end confdefs.h.  */
   7585 int i;
   7586 _ACEOF
   7587 if ac_fn_c_try_compile "$LINENO"; then :
   7588   xorg_cv_cc_flag_unknown_warning_option=yes
   7589 else
   7590   xorg_cv_cc_flag_unknown_warning_option=no
   7591 fi
   7592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7593 fi
   7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7597 	CFLAGS="$xorg_testset_save_CFLAGS"
   7598 fi
   7599 
   7600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7603 	fi
   7604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7608   $as_echo_n "(cached) " >&6
   7609 else
   7610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7611 /* end confdefs.h.  */
   7612 int i;
   7613 _ACEOF
   7614 if ac_fn_c_try_compile "$LINENO"; then :
   7615   xorg_cv_cc_flag_unused_command_line_argument=yes
   7616 else
   7617   xorg_cv_cc_flag_unused_command_line_argument=no
   7618 fi
   7619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7620 fi
   7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7624 	CFLAGS="$xorg_testset_save_CFLAGS"
   7625 fi
   7626 
   7627 found="no"
   7628 
   7629 	if test $found = "no" ; then
   7630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7632 		fi
   7633 
   7634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7636 		fi
   7637 
   7638 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7639 
   7640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7641 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7642 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7643 		if eval \${$cacheid+:} false; then :
   7644   $as_echo_n "(cached) " >&6
   7645 else
   7646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7647 /* end confdefs.h.  */
   7648 int i;
   7649 int
   7650 main ()
   7651 {
   7652 
   7653   ;
   7654   return 0;
   7655 }
   7656 _ACEOF
   7657 if ac_fn_c_try_link "$LINENO"; then :
   7658   eval $cacheid=yes
   7659 else
   7660   eval $cacheid=no
   7661 fi
   7662 rm -f core conftest.err conftest.$ac_objext \
   7663     conftest$ac_exeext conftest.$ac_ext
   7664 fi
   7665 
   7666 
   7667 		CFLAGS="$xorg_testset_save_CFLAGS"
   7668 
   7669 		eval supported=\$$cacheid
   7670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7671 $as_echo "$supported" >&6; }
   7672 		if test "$supported" = "yes" ; then
   7673 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7674 			found="yes"
   7675 		fi
   7676 	fi
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 xorg_testset_save_CFLAGS="$CFLAGS"
   7693 
   7694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7697 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7698 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7699   $as_echo_n "(cached) " >&6
   7700 else
   7701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7702 /* end confdefs.h.  */
   7703 int i;
   7704 _ACEOF
   7705 if ac_fn_c_try_compile "$LINENO"; then :
   7706   xorg_cv_cc_flag_unknown_warning_option=yes
   7707 else
   7708   xorg_cv_cc_flag_unknown_warning_option=no
   7709 fi
   7710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7711 fi
   7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7713 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7715 	CFLAGS="$xorg_testset_save_CFLAGS"
   7716 fi
   7717 
   7718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7721 	fi
   7722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7724 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7725 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7726   $as_echo_n "(cached) " >&6
   7727 else
   7728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7729 /* end confdefs.h.  */
   7730 int i;
   7731 _ACEOF
   7732 if ac_fn_c_try_compile "$LINENO"; then :
   7733   xorg_cv_cc_flag_unused_command_line_argument=yes
   7734 else
   7735   xorg_cv_cc_flag_unused_command_line_argument=no
   7736 fi
   7737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7738 fi
   7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7740 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7742 	CFLAGS="$xorg_testset_save_CFLAGS"
   7743 fi
   7744 
   7745 found="no"
   7746 
   7747 	if test $found = "no" ; then
   7748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7750 		fi
   7751 
   7752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7754 		fi
   7755 
   7756 		CFLAGS="$CFLAGS -Werror=return-type"
   7757 
   7758 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7759 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7760 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7761 		if eval \${$cacheid+:} false; then :
   7762   $as_echo_n "(cached) " >&6
   7763 else
   7764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7765 /* end confdefs.h.  */
   7766 int i;
   7767 int
   7768 main ()
   7769 {
   7770 
   7771   ;
   7772   return 0;
   7773 }
   7774 _ACEOF
   7775 if ac_fn_c_try_link "$LINENO"; then :
   7776   eval $cacheid=yes
   7777 else
   7778   eval $cacheid=no
   7779 fi
   7780 rm -f core conftest.err conftest.$ac_objext \
   7781     conftest$ac_exeext conftest.$ac_ext
   7782 fi
   7783 
   7784 
   7785 		CFLAGS="$xorg_testset_save_CFLAGS"
   7786 
   7787 		eval supported=\$$cacheid
   7788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7789 $as_echo "$supported" >&6; }
   7790 		if test "$supported" = "yes" ; then
   7791 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7792 			found="yes"
   7793 		fi
   7794 	fi
   7795 
   7796 	if test $found = "no" ; then
   7797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7799 		fi
   7800 
   7801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7803 		fi
   7804 
   7805 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7806 
   7807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7808 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7809 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7810 		if eval \${$cacheid+:} false; then :
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7814 /* end confdefs.h.  */
   7815 int i;
   7816 int
   7817 main ()
   7818 {
   7819 
   7820   ;
   7821   return 0;
   7822 }
   7823 _ACEOF
   7824 if ac_fn_c_try_link "$LINENO"; then :
   7825   eval $cacheid=yes
   7826 else
   7827   eval $cacheid=no
   7828 fi
   7829 rm -f core conftest.err conftest.$ac_objext \
   7830     conftest$ac_exeext conftest.$ac_ext
   7831 fi
   7832 
   7833 
   7834 		CFLAGS="$xorg_testset_save_CFLAGS"
   7835 
   7836 		eval supported=\$$cacheid
   7837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7838 $as_echo "$supported" >&6; }
   7839 		if test "$supported" = "yes" ; then
   7840 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7841 			found="yes"
   7842 		fi
   7843 	fi
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 xorg_testset_save_CFLAGS="$CFLAGS"
   7860 
   7861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7866   $as_echo_n "(cached) " >&6
   7867 else
   7868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7869 /* end confdefs.h.  */
   7870 int i;
   7871 _ACEOF
   7872 if ac_fn_c_try_compile "$LINENO"; then :
   7873   xorg_cv_cc_flag_unknown_warning_option=yes
   7874 else
   7875   xorg_cv_cc_flag_unknown_warning_option=no
   7876 fi
   7877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7878 fi
   7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7882 	CFLAGS="$xorg_testset_save_CFLAGS"
   7883 fi
   7884 
   7885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7888 	fi
   7889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7893   $as_echo_n "(cached) " >&6
   7894 else
   7895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7896 /* end confdefs.h.  */
   7897 int i;
   7898 _ACEOF
   7899 if ac_fn_c_try_compile "$LINENO"; then :
   7900   xorg_cv_cc_flag_unused_command_line_argument=yes
   7901 else
   7902   xorg_cv_cc_flag_unused_command_line_argument=no
   7903 fi
   7904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7905 fi
   7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7909 	CFLAGS="$xorg_testset_save_CFLAGS"
   7910 fi
   7911 
   7912 found="no"
   7913 
   7914 	if test $found = "no" ; then
   7915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7917 		fi
   7918 
   7919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7921 		fi
   7922 
   7923 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7924 
   7925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7926 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7927 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7928 		if eval \${$cacheid+:} false; then :
   7929   $as_echo_n "(cached) " >&6
   7930 else
   7931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7932 /* end confdefs.h.  */
   7933 int i;
   7934 int
   7935 main ()
   7936 {
   7937 
   7938   ;
   7939   return 0;
   7940 }
   7941 _ACEOF
   7942 if ac_fn_c_try_link "$LINENO"; then :
   7943   eval $cacheid=yes
   7944 else
   7945   eval $cacheid=no
   7946 fi
   7947 rm -f core conftest.err conftest.$ac_objext \
   7948     conftest$ac_exeext conftest.$ac_ext
   7949 fi
   7950 
   7951 
   7952 		CFLAGS="$xorg_testset_save_CFLAGS"
   7953 
   7954 		eval supported=\$$cacheid
   7955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7956 $as_echo "$supported" >&6; }
   7957 		if test "$supported" = "yes" ; then
   7958 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7959 			found="yes"
   7960 		fi
   7961 	fi
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 xorg_testset_save_CFLAGS="$CFLAGS"
   7978 
   7979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7987 /* end confdefs.h.  */
   7988 int i;
   7989 _ACEOF
   7990 if ac_fn_c_try_compile "$LINENO"; then :
   7991   xorg_cv_cc_flag_unknown_warning_option=yes
   7992 else
   7993   xorg_cv_cc_flag_unknown_warning_option=no
   7994 fi
   7995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7996 fi
   7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8000 	CFLAGS="$xorg_testset_save_CFLAGS"
   8001 fi
   8002 
   8003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8006 	fi
   8007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8011   $as_echo_n "(cached) " >&6
   8012 else
   8013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8014 /* end confdefs.h.  */
   8015 int i;
   8016 _ACEOF
   8017 if ac_fn_c_try_compile "$LINENO"; then :
   8018   xorg_cv_cc_flag_unused_command_line_argument=yes
   8019 else
   8020   xorg_cv_cc_flag_unused_command_line_argument=no
   8021 fi
   8022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8023 fi
   8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8027 	CFLAGS="$xorg_testset_save_CFLAGS"
   8028 fi
   8029 
   8030 found="no"
   8031 
   8032 	if test $found = "no" ; then
   8033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8035 		fi
   8036 
   8037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8039 		fi
   8040 
   8041 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8042 
   8043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8044 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8045 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8046 		if eval \${$cacheid+:} false; then :
   8047   $as_echo_n "(cached) " >&6
   8048 else
   8049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8050 /* end confdefs.h.  */
   8051 int i;
   8052 int
   8053 main ()
   8054 {
   8055 
   8056   ;
   8057   return 0;
   8058 }
   8059 _ACEOF
   8060 if ac_fn_c_try_link "$LINENO"; then :
   8061   eval $cacheid=yes
   8062 else
   8063   eval $cacheid=no
   8064 fi
   8065 rm -f core conftest.err conftest.$ac_objext \
   8066     conftest$ac_exeext conftest.$ac_ext
   8067 fi
   8068 
   8069 
   8070 		CFLAGS="$xorg_testset_save_CFLAGS"
   8071 
   8072 		eval supported=\$$cacheid
   8073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8074 $as_echo "$supported" >&6; }
   8075 		if test "$supported" = "yes" ; then
   8076 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8077 			found="yes"
   8078 		fi
   8079 	fi
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 xorg_testset_save_CFLAGS="$CFLAGS"
   8096 
   8097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8102   $as_echo_n "(cached) " >&6
   8103 else
   8104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8105 /* end confdefs.h.  */
   8106 int i;
   8107 _ACEOF
   8108 if ac_fn_c_try_compile "$LINENO"; then :
   8109   xorg_cv_cc_flag_unknown_warning_option=yes
   8110 else
   8111   xorg_cv_cc_flag_unknown_warning_option=no
   8112 fi
   8113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8114 fi
   8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8118 	CFLAGS="$xorg_testset_save_CFLAGS"
   8119 fi
   8120 
   8121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8124 	fi
   8125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8129   $as_echo_n "(cached) " >&6
   8130 else
   8131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8132 /* end confdefs.h.  */
   8133 int i;
   8134 _ACEOF
   8135 if ac_fn_c_try_compile "$LINENO"; then :
   8136   xorg_cv_cc_flag_unused_command_line_argument=yes
   8137 else
   8138   xorg_cv_cc_flag_unused_command_line_argument=no
   8139 fi
   8140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8141 fi
   8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8145 	CFLAGS="$xorg_testset_save_CFLAGS"
   8146 fi
   8147 
   8148 found="no"
   8149 
   8150 	if test $found = "no" ; then
   8151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8153 		fi
   8154 
   8155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8157 		fi
   8158 
   8159 		CFLAGS="$CFLAGS -Werror=write-strings"
   8160 
   8161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8162 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8163 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8164 		if eval \${$cacheid+:} false; then :
   8165   $as_echo_n "(cached) " >&6
   8166 else
   8167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8168 /* end confdefs.h.  */
   8169 int i;
   8170 int
   8171 main ()
   8172 {
   8173 
   8174   ;
   8175   return 0;
   8176 }
   8177 _ACEOF
   8178 if ac_fn_c_try_link "$LINENO"; then :
   8179   eval $cacheid=yes
   8180 else
   8181   eval $cacheid=no
   8182 fi
   8183 rm -f core conftest.err conftest.$ac_objext \
   8184     conftest$ac_exeext conftest.$ac_ext
   8185 fi
   8186 
   8187 
   8188 		CFLAGS="$xorg_testset_save_CFLAGS"
   8189 
   8190 		eval supported=\$$cacheid
   8191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8192 $as_echo "$supported" >&6; }
   8193 		if test "$supported" = "yes" ; then
   8194 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8195 			found="yes"
   8196 		fi
   8197 	fi
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 xorg_testset_save_CFLAGS="$CFLAGS"
   8214 
   8215 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8216 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8218 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8219 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8220   $as_echo_n "(cached) " >&6
   8221 else
   8222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8223 /* end confdefs.h.  */
   8224 int i;
   8225 _ACEOF
   8226 if ac_fn_c_try_compile "$LINENO"; then :
   8227   xorg_cv_cc_flag_unknown_warning_option=yes
   8228 else
   8229   xorg_cv_cc_flag_unknown_warning_option=no
   8230 fi
   8231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8232 fi
   8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8234 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8236 	CFLAGS="$xorg_testset_save_CFLAGS"
   8237 fi
   8238 
   8239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8242 	fi
   8243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8245 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8246 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8247   $as_echo_n "(cached) " >&6
   8248 else
   8249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8250 /* end confdefs.h.  */
   8251 int i;
   8252 _ACEOF
   8253 if ac_fn_c_try_compile "$LINENO"; then :
   8254   xorg_cv_cc_flag_unused_command_line_argument=yes
   8255 else
   8256   xorg_cv_cc_flag_unused_command_line_argument=no
   8257 fi
   8258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8259 fi
   8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8261 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8263 	CFLAGS="$xorg_testset_save_CFLAGS"
   8264 fi
   8265 
   8266 found="no"
   8267 
   8268 	if test $found = "no" ; then
   8269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8271 		fi
   8272 
   8273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8275 		fi
   8276 
   8277 		CFLAGS="$CFLAGS -Werror=address"
   8278 
   8279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8280 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8281 		cacheid=xorg_cv_cc_flag__Werror_address
   8282 		if eval \${$cacheid+:} false; then :
   8283   $as_echo_n "(cached) " >&6
   8284 else
   8285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8286 /* end confdefs.h.  */
   8287 int i;
   8288 int
   8289 main ()
   8290 {
   8291 
   8292   ;
   8293   return 0;
   8294 }
   8295 _ACEOF
   8296 if ac_fn_c_try_link "$LINENO"; then :
   8297   eval $cacheid=yes
   8298 else
   8299   eval $cacheid=no
   8300 fi
   8301 rm -f core conftest.err conftest.$ac_objext \
   8302     conftest$ac_exeext conftest.$ac_ext
   8303 fi
   8304 
   8305 
   8306 		CFLAGS="$xorg_testset_save_CFLAGS"
   8307 
   8308 		eval supported=\$$cacheid
   8309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8310 $as_echo "$supported" >&6; }
   8311 		if test "$supported" = "yes" ; then
   8312 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8313 			found="yes"
   8314 		fi
   8315 	fi
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 xorg_testset_save_CFLAGS="$CFLAGS"
   8332 
   8333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8336 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8337 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8338   $as_echo_n "(cached) " >&6
   8339 else
   8340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8341 /* end confdefs.h.  */
   8342 int i;
   8343 _ACEOF
   8344 if ac_fn_c_try_compile "$LINENO"; then :
   8345   xorg_cv_cc_flag_unknown_warning_option=yes
   8346 else
   8347   xorg_cv_cc_flag_unknown_warning_option=no
   8348 fi
   8349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8350 fi
   8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8352 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8354 	CFLAGS="$xorg_testset_save_CFLAGS"
   8355 fi
   8356 
   8357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8360 	fi
   8361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8363 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8364 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8365   $as_echo_n "(cached) " >&6
   8366 else
   8367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8368 /* end confdefs.h.  */
   8369 int i;
   8370 _ACEOF
   8371 if ac_fn_c_try_compile "$LINENO"; then :
   8372   xorg_cv_cc_flag_unused_command_line_argument=yes
   8373 else
   8374   xorg_cv_cc_flag_unused_command_line_argument=no
   8375 fi
   8376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8377 fi
   8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8379 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8381 	CFLAGS="$xorg_testset_save_CFLAGS"
   8382 fi
   8383 
   8384 found="no"
   8385 
   8386 	if test $found = "no" ; then
   8387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8389 		fi
   8390 
   8391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8393 		fi
   8394 
   8395 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8396 
   8397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8398 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8399 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8400 		if eval \${$cacheid+:} false; then :
   8401   $as_echo_n "(cached) " >&6
   8402 else
   8403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8404 /* end confdefs.h.  */
   8405 int i;
   8406 int
   8407 main ()
   8408 {
   8409 
   8410   ;
   8411   return 0;
   8412 }
   8413 _ACEOF
   8414 if ac_fn_c_try_link "$LINENO"; then :
   8415   eval $cacheid=yes
   8416 else
   8417   eval $cacheid=no
   8418 fi
   8419 rm -f core conftest.err conftest.$ac_objext \
   8420     conftest$ac_exeext conftest.$ac_ext
   8421 fi
   8422 
   8423 
   8424 		CFLAGS="$xorg_testset_save_CFLAGS"
   8425 
   8426 		eval supported=\$$cacheid
   8427 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8428 $as_echo "$supported" >&6; }
   8429 		if test "$supported" = "yes" ; then
   8430 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8431 			found="yes"
   8432 		fi
   8433 	fi
   8434 
   8435 	if test $found = "no" ; then
   8436 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8437 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8438 		fi
   8439 
   8440 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8441 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8442 		fi
   8443 
   8444 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8445 
   8446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8447 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8448 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8449 		if eval \${$cacheid+:} false; then :
   8450   $as_echo_n "(cached) " >&6
   8451 else
   8452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8453 /* end confdefs.h.  */
   8454 int i;
   8455 int
   8456 main ()
   8457 {
   8458 
   8459   ;
   8460   return 0;
   8461 }
   8462 _ACEOF
   8463 if ac_fn_c_try_link "$LINENO"; then :
   8464   eval $cacheid=yes
   8465 else
   8466   eval $cacheid=no
   8467 fi
   8468 rm -f core conftest.err conftest.$ac_objext \
   8469     conftest$ac_exeext conftest.$ac_ext
   8470 fi
   8471 
   8472 
   8473 		CFLAGS="$xorg_testset_save_CFLAGS"
   8474 
   8475 		eval supported=\$$cacheid
   8476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8477 $as_echo "$supported" >&6; }
   8478 		if test "$supported" = "yes" ; then
   8479 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8480 			found="yes"
   8481 		fi
   8482 	fi
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 xorg_testset_save_CFLAGS="$CFLAGS"
   8499 
   8500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8503 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8504 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8505   $as_echo_n "(cached) " >&6
   8506 else
   8507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 int i;
   8510 _ACEOF
   8511 if ac_fn_c_try_compile "$LINENO"; then :
   8512   xorg_cv_cc_flag_unknown_warning_option=yes
   8513 else
   8514   xorg_cv_cc_flag_unknown_warning_option=no
   8515 fi
   8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8517 fi
   8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8519 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8521 	CFLAGS="$xorg_testset_save_CFLAGS"
   8522 fi
   8523 
   8524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8527 	fi
   8528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8530 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8531 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8532   $as_echo_n "(cached) " >&6
   8533 else
   8534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8535 /* end confdefs.h.  */
   8536 int i;
   8537 _ACEOF
   8538 if ac_fn_c_try_compile "$LINENO"; then :
   8539   xorg_cv_cc_flag_unused_command_line_argument=yes
   8540 else
   8541   xorg_cv_cc_flag_unused_command_line_argument=no
   8542 fi
   8543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8544 fi
   8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8546 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8548 	CFLAGS="$xorg_testset_save_CFLAGS"
   8549 fi
   8550 
   8551 found="no"
   8552 
   8553 	if test $found = "no" ; then
   8554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8556 		fi
   8557 
   8558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8560 		fi
   8561 
   8562 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8563 
   8564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8565 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8566 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8567 		if eval \${$cacheid+:} false; then :
   8568   $as_echo_n "(cached) " >&6
   8569 else
   8570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8571 /* end confdefs.h.  */
   8572 int i;
   8573 int
   8574 main ()
   8575 {
   8576 
   8577   ;
   8578   return 0;
   8579 }
   8580 _ACEOF
   8581 if ac_fn_c_try_link "$LINENO"; then :
   8582   eval $cacheid=yes
   8583 else
   8584   eval $cacheid=no
   8585 fi
   8586 rm -f core conftest.err conftest.$ac_objext \
   8587     conftest$ac_exeext conftest.$ac_ext
   8588 fi
   8589 
   8590 
   8591 		CFLAGS="$xorg_testset_save_CFLAGS"
   8592 
   8593 		eval supported=\$$cacheid
   8594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8595 $as_echo "$supported" >&6; }
   8596 		if test "$supported" = "yes" ; then
   8597 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8598 			found="yes"
   8599 		fi
   8600 	fi
   8601 
   8602  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8603 else
   8604 { $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
   8605 $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;}
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 xorg_testset_save_CFLAGS="$CFLAGS"
   8620 
   8621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8623 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8624 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8625 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8626   $as_echo_n "(cached) " >&6
   8627 else
   8628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8629 /* end confdefs.h.  */
   8630 int i;
   8631 _ACEOF
   8632 if ac_fn_c_try_compile "$LINENO"; then :
   8633   xorg_cv_cc_flag_unknown_warning_option=yes
   8634 else
   8635   xorg_cv_cc_flag_unknown_warning_option=no
   8636 fi
   8637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8638 fi
   8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8640 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8642 	CFLAGS="$xorg_testset_save_CFLAGS"
   8643 fi
   8644 
   8645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8648 	fi
   8649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8651 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8652 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8653   $as_echo_n "(cached) " >&6
   8654 else
   8655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8656 /* end confdefs.h.  */
   8657 int i;
   8658 _ACEOF
   8659 if ac_fn_c_try_compile "$LINENO"; then :
   8660   xorg_cv_cc_flag_unused_command_line_argument=yes
   8661 else
   8662   xorg_cv_cc_flag_unused_command_line_argument=no
   8663 fi
   8664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8665 fi
   8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8667 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8668 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8669 	CFLAGS="$xorg_testset_save_CFLAGS"
   8670 fi
   8671 
   8672 found="no"
   8673 
   8674 	if test $found = "no" ; then
   8675 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8676 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8677 		fi
   8678 
   8679 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8680 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8681 		fi
   8682 
   8683 		CFLAGS="$CFLAGS -Wimplicit"
   8684 
   8685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8686 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8687 		cacheid=xorg_cv_cc_flag__Wimplicit
   8688 		if eval \${$cacheid+:} false; then :
   8689   $as_echo_n "(cached) " >&6
   8690 else
   8691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8692 /* end confdefs.h.  */
   8693 int i;
   8694 int
   8695 main ()
   8696 {
   8697 
   8698   ;
   8699   return 0;
   8700 }
   8701 _ACEOF
   8702 if ac_fn_c_try_link "$LINENO"; then :
   8703   eval $cacheid=yes
   8704 else
   8705   eval $cacheid=no
   8706 fi
   8707 rm -f core conftest.err conftest.$ac_objext \
   8708     conftest$ac_exeext conftest.$ac_ext
   8709 fi
   8710 
   8711 
   8712 		CFLAGS="$xorg_testset_save_CFLAGS"
   8713 
   8714 		eval supported=\$$cacheid
   8715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8716 $as_echo "$supported" >&6; }
   8717 		if test "$supported" = "yes" ; then
   8718 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8719 			found="yes"
   8720 		fi
   8721 	fi
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 xorg_testset_save_CFLAGS="$CFLAGS"
   8738 
   8739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8741 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8742 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8743 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8744   $as_echo_n "(cached) " >&6
   8745 else
   8746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8747 /* end confdefs.h.  */
   8748 int i;
   8749 _ACEOF
   8750 if ac_fn_c_try_compile "$LINENO"; then :
   8751   xorg_cv_cc_flag_unknown_warning_option=yes
   8752 else
   8753   xorg_cv_cc_flag_unknown_warning_option=no
   8754 fi
   8755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8756 fi
   8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8758 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8760 	CFLAGS="$xorg_testset_save_CFLAGS"
   8761 fi
   8762 
   8763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8766 	fi
   8767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8769 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8770 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8771   $as_echo_n "(cached) " >&6
   8772 else
   8773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8774 /* end confdefs.h.  */
   8775 int i;
   8776 _ACEOF
   8777 if ac_fn_c_try_compile "$LINENO"; then :
   8778   xorg_cv_cc_flag_unused_command_line_argument=yes
   8779 else
   8780   xorg_cv_cc_flag_unused_command_line_argument=no
   8781 fi
   8782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8783 fi
   8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8785 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8787 	CFLAGS="$xorg_testset_save_CFLAGS"
   8788 fi
   8789 
   8790 found="no"
   8791 
   8792 	if test $found = "no" ; then
   8793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8795 		fi
   8796 
   8797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8799 		fi
   8800 
   8801 		CFLAGS="$CFLAGS -Wnonnull"
   8802 
   8803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8804 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8805 		cacheid=xorg_cv_cc_flag__Wnonnull
   8806 		if eval \${$cacheid+:} false; then :
   8807   $as_echo_n "(cached) " >&6
   8808 else
   8809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8810 /* end confdefs.h.  */
   8811 int i;
   8812 int
   8813 main ()
   8814 {
   8815 
   8816   ;
   8817   return 0;
   8818 }
   8819 _ACEOF
   8820 if ac_fn_c_try_link "$LINENO"; then :
   8821   eval $cacheid=yes
   8822 else
   8823   eval $cacheid=no
   8824 fi
   8825 rm -f core conftest.err conftest.$ac_objext \
   8826     conftest$ac_exeext conftest.$ac_ext
   8827 fi
   8828 
   8829 
   8830 		CFLAGS="$xorg_testset_save_CFLAGS"
   8831 
   8832 		eval supported=\$$cacheid
   8833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8834 $as_echo "$supported" >&6; }
   8835 		if test "$supported" = "yes" ; then
   8836 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8837 			found="yes"
   8838 		fi
   8839 	fi
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 xorg_testset_save_CFLAGS="$CFLAGS"
   8856 
   8857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8860 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8861 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8862   $as_echo_n "(cached) " >&6
   8863 else
   8864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8865 /* end confdefs.h.  */
   8866 int i;
   8867 _ACEOF
   8868 if ac_fn_c_try_compile "$LINENO"; then :
   8869   xorg_cv_cc_flag_unknown_warning_option=yes
   8870 else
   8871   xorg_cv_cc_flag_unknown_warning_option=no
   8872 fi
   8873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8874 fi
   8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8876 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8878 	CFLAGS="$xorg_testset_save_CFLAGS"
   8879 fi
   8880 
   8881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8884 	fi
   8885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8886 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8887 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8888 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8889   $as_echo_n "(cached) " >&6
   8890 else
   8891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8892 /* end confdefs.h.  */
   8893 int i;
   8894 _ACEOF
   8895 if ac_fn_c_try_compile "$LINENO"; then :
   8896   xorg_cv_cc_flag_unused_command_line_argument=yes
   8897 else
   8898   xorg_cv_cc_flag_unused_command_line_argument=no
   8899 fi
   8900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8901 fi
   8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8903 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8905 	CFLAGS="$xorg_testset_save_CFLAGS"
   8906 fi
   8907 
   8908 found="no"
   8909 
   8910 	if test $found = "no" ; then
   8911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8913 		fi
   8914 
   8915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8917 		fi
   8918 
   8919 		CFLAGS="$CFLAGS -Winit-self"
   8920 
   8921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8922 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8923 		cacheid=xorg_cv_cc_flag__Winit_self
   8924 		if eval \${$cacheid+:} false; then :
   8925   $as_echo_n "(cached) " >&6
   8926 else
   8927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8928 /* end confdefs.h.  */
   8929 int i;
   8930 int
   8931 main ()
   8932 {
   8933 
   8934   ;
   8935   return 0;
   8936 }
   8937 _ACEOF
   8938 if ac_fn_c_try_link "$LINENO"; then :
   8939   eval $cacheid=yes
   8940 else
   8941   eval $cacheid=no
   8942 fi
   8943 rm -f core conftest.err conftest.$ac_objext \
   8944     conftest$ac_exeext conftest.$ac_ext
   8945 fi
   8946 
   8947 
   8948 		CFLAGS="$xorg_testset_save_CFLAGS"
   8949 
   8950 		eval supported=\$$cacheid
   8951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8952 $as_echo "$supported" >&6; }
   8953 		if test "$supported" = "yes" ; then
   8954 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8955 			found="yes"
   8956 		fi
   8957 	fi
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 xorg_testset_save_CFLAGS="$CFLAGS"
   8974 
   8975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8980   $as_echo_n "(cached) " >&6
   8981 else
   8982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8983 /* end confdefs.h.  */
   8984 int i;
   8985 _ACEOF
   8986 if ac_fn_c_try_compile "$LINENO"; then :
   8987   xorg_cv_cc_flag_unknown_warning_option=yes
   8988 else
   8989   xorg_cv_cc_flag_unknown_warning_option=no
   8990 fi
   8991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8992 fi
   8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8996 	CFLAGS="$xorg_testset_save_CFLAGS"
   8997 fi
   8998 
   8999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9002 	fi
   9003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9007   $as_echo_n "(cached) " >&6
   9008 else
   9009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9010 /* end confdefs.h.  */
   9011 int i;
   9012 _ACEOF
   9013 if ac_fn_c_try_compile "$LINENO"; then :
   9014   xorg_cv_cc_flag_unused_command_line_argument=yes
   9015 else
   9016   xorg_cv_cc_flag_unused_command_line_argument=no
   9017 fi
   9018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9019 fi
   9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9023 	CFLAGS="$xorg_testset_save_CFLAGS"
   9024 fi
   9025 
   9026 found="no"
   9027 
   9028 	if test $found = "no" ; then
   9029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9031 		fi
   9032 
   9033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9035 		fi
   9036 
   9037 		CFLAGS="$CFLAGS -Wmain"
   9038 
   9039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9040 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9041 		cacheid=xorg_cv_cc_flag__Wmain
   9042 		if eval \${$cacheid+:} false; then :
   9043   $as_echo_n "(cached) " >&6
   9044 else
   9045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9046 /* end confdefs.h.  */
   9047 int i;
   9048 int
   9049 main ()
   9050 {
   9051 
   9052   ;
   9053   return 0;
   9054 }
   9055 _ACEOF
   9056 if ac_fn_c_try_link "$LINENO"; then :
   9057   eval $cacheid=yes
   9058 else
   9059   eval $cacheid=no
   9060 fi
   9061 rm -f core conftest.err conftest.$ac_objext \
   9062     conftest$ac_exeext conftest.$ac_ext
   9063 fi
   9064 
   9065 
   9066 		CFLAGS="$xorg_testset_save_CFLAGS"
   9067 
   9068 		eval supported=\$$cacheid
   9069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9070 $as_echo "$supported" >&6; }
   9071 		if test "$supported" = "yes" ; then
   9072 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9073 			found="yes"
   9074 		fi
   9075 	fi
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 xorg_testset_save_CFLAGS="$CFLAGS"
   9092 
   9093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9096 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9097 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9098   $as_echo_n "(cached) " >&6
   9099 else
   9100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9101 /* end confdefs.h.  */
   9102 int i;
   9103 _ACEOF
   9104 if ac_fn_c_try_compile "$LINENO"; then :
   9105   xorg_cv_cc_flag_unknown_warning_option=yes
   9106 else
   9107   xorg_cv_cc_flag_unknown_warning_option=no
   9108 fi
   9109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9110 fi
   9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9112 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9114 	CFLAGS="$xorg_testset_save_CFLAGS"
   9115 fi
   9116 
   9117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9120 	fi
   9121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9123 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9124 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9125   $as_echo_n "(cached) " >&6
   9126 else
   9127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9128 /* end confdefs.h.  */
   9129 int i;
   9130 _ACEOF
   9131 if ac_fn_c_try_compile "$LINENO"; then :
   9132   xorg_cv_cc_flag_unused_command_line_argument=yes
   9133 else
   9134   xorg_cv_cc_flag_unused_command_line_argument=no
   9135 fi
   9136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9137 fi
   9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9139 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9141 	CFLAGS="$xorg_testset_save_CFLAGS"
   9142 fi
   9143 
   9144 found="no"
   9145 
   9146 	if test $found = "no" ; then
   9147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9149 		fi
   9150 
   9151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9153 		fi
   9154 
   9155 		CFLAGS="$CFLAGS -Wmissing-braces"
   9156 
   9157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9158 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9159 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9160 		if eval \${$cacheid+:} false; then :
   9161   $as_echo_n "(cached) " >&6
   9162 else
   9163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9164 /* end confdefs.h.  */
   9165 int i;
   9166 int
   9167 main ()
   9168 {
   9169 
   9170   ;
   9171   return 0;
   9172 }
   9173 _ACEOF
   9174 if ac_fn_c_try_link "$LINENO"; then :
   9175   eval $cacheid=yes
   9176 else
   9177   eval $cacheid=no
   9178 fi
   9179 rm -f core conftest.err conftest.$ac_objext \
   9180     conftest$ac_exeext conftest.$ac_ext
   9181 fi
   9182 
   9183 
   9184 		CFLAGS="$xorg_testset_save_CFLAGS"
   9185 
   9186 		eval supported=\$$cacheid
   9187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9188 $as_echo "$supported" >&6; }
   9189 		if test "$supported" = "yes" ; then
   9190 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9191 			found="yes"
   9192 		fi
   9193 	fi
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 xorg_testset_save_CFLAGS="$CFLAGS"
   9210 
   9211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9214 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9215 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9216   $as_echo_n "(cached) " >&6
   9217 else
   9218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9219 /* end confdefs.h.  */
   9220 int i;
   9221 _ACEOF
   9222 if ac_fn_c_try_compile "$LINENO"; then :
   9223   xorg_cv_cc_flag_unknown_warning_option=yes
   9224 else
   9225   xorg_cv_cc_flag_unknown_warning_option=no
   9226 fi
   9227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9228 fi
   9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9230 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9232 	CFLAGS="$xorg_testset_save_CFLAGS"
   9233 fi
   9234 
   9235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9238 	fi
   9239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9241 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9242 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9243   $as_echo_n "(cached) " >&6
   9244 else
   9245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9246 /* end confdefs.h.  */
   9247 int i;
   9248 _ACEOF
   9249 if ac_fn_c_try_compile "$LINENO"; then :
   9250   xorg_cv_cc_flag_unused_command_line_argument=yes
   9251 else
   9252   xorg_cv_cc_flag_unused_command_line_argument=no
   9253 fi
   9254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9255 fi
   9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9257 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9259 	CFLAGS="$xorg_testset_save_CFLAGS"
   9260 fi
   9261 
   9262 found="no"
   9263 
   9264 	if test $found = "no" ; then
   9265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9267 		fi
   9268 
   9269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9271 		fi
   9272 
   9273 		CFLAGS="$CFLAGS -Wsequence-point"
   9274 
   9275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9276 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9277 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9278 		if eval \${$cacheid+:} false; then :
   9279   $as_echo_n "(cached) " >&6
   9280 else
   9281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9282 /* end confdefs.h.  */
   9283 int i;
   9284 int
   9285 main ()
   9286 {
   9287 
   9288   ;
   9289   return 0;
   9290 }
   9291 _ACEOF
   9292 if ac_fn_c_try_link "$LINENO"; then :
   9293   eval $cacheid=yes
   9294 else
   9295   eval $cacheid=no
   9296 fi
   9297 rm -f core conftest.err conftest.$ac_objext \
   9298     conftest$ac_exeext conftest.$ac_ext
   9299 fi
   9300 
   9301 
   9302 		CFLAGS="$xorg_testset_save_CFLAGS"
   9303 
   9304 		eval supported=\$$cacheid
   9305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9306 $as_echo "$supported" >&6; }
   9307 		if test "$supported" = "yes" ; then
   9308 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9309 			found="yes"
   9310 		fi
   9311 	fi
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 xorg_testset_save_CFLAGS="$CFLAGS"
   9328 
   9329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9332 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9333 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9334   $as_echo_n "(cached) " >&6
   9335 else
   9336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9337 /* end confdefs.h.  */
   9338 int i;
   9339 _ACEOF
   9340 if ac_fn_c_try_compile "$LINENO"; then :
   9341   xorg_cv_cc_flag_unknown_warning_option=yes
   9342 else
   9343   xorg_cv_cc_flag_unknown_warning_option=no
   9344 fi
   9345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9346 fi
   9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9348 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9350 	CFLAGS="$xorg_testset_save_CFLAGS"
   9351 fi
   9352 
   9353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9356 	fi
   9357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9359 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9360 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9361   $as_echo_n "(cached) " >&6
   9362 else
   9363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9364 /* end confdefs.h.  */
   9365 int i;
   9366 _ACEOF
   9367 if ac_fn_c_try_compile "$LINENO"; then :
   9368   xorg_cv_cc_flag_unused_command_line_argument=yes
   9369 else
   9370   xorg_cv_cc_flag_unused_command_line_argument=no
   9371 fi
   9372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9373 fi
   9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9375 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9377 	CFLAGS="$xorg_testset_save_CFLAGS"
   9378 fi
   9379 
   9380 found="no"
   9381 
   9382 	if test $found = "no" ; then
   9383 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9385 		fi
   9386 
   9387 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9389 		fi
   9390 
   9391 		CFLAGS="$CFLAGS -Wreturn-type"
   9392 
   9393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9394 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9395 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9396 		if eval \${$cacheid+:} false; then :
   9397   $as_echo_n "(cached) " >&6
   9398 else
   9399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9400 /* end confdefs.h.  */
   9401 int i;
   9402 int
   9403 main ()
   9404 {
   9405 
   9406   ;
   9407   return 0;
   9408 }
   9409 _ACEOF
   9410 if ac_fn_c_try_link "$LINENO"; then :
   9411   eval $cacheid=yes
   9412 else
   9413   eval $cacheid=no
   9414 fi
   9415 rm -f core conftest.err conftest.$ac_objext \
   9416     conftest$ac_exeext conftest.$ac_ext
   9417 fi
   9418 
   9419 
   9420 		CFLAGS="$xorg_testset_save_CFLAGS"
   9421 
   9422 		eval supported=\$$cacheid
   9423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9424 $as_echo "$supported" >&6; }
   9425 		if test "$supported" = "yes" ; then
   9426 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9427 			found="yes"
   9428 		fi
   9429 	fi
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 xorg_testset_save_CFLAGS="$CFLAGS"
   9446 
   9447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9450 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9451 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9452   $as_echo_n "(cached) " >&6
   9453 else
   9454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9455 /* end confdefs.h.  */
   9456 int i;
   9457 _ACEOF
   9458 if ac_fn_c_try_compile "$LINENO"; then :
   9459   xorg_cv_cc_flag_unknown_warning_option=yes
   9460 else
   9461   xorg_cv_cc_flag_unknown_warning_option=no
   9462 fi
   9463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9464 fi
   9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9466 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9468 	CFLAGS="$xorg_testset_save_CFLAGS"
   9469 fi
   9470 
   9471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9474 	fi
   9475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9477 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9478 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9479   $as_echo_n "(cached) " >&6
   9480 else
   9481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9482 /* end confdefs.h.  */
   9483 int i;
   9484 _ACEOF
   9485 if ac_fn_c_try_compile "$LINENO"; then :
   9486   xorg_cv_cc_flag_unused_command_line_argument=yes
   9487 else
   9488   xorg_cv_cc_flag_unused_command_line_argument=no
   9489 fi
   9490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9491 fi
   9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9493 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9495 	CFLAGS="$xorg_testset_save_CFLAGS"
   9496 fi
   9497 
   9498 found="no"
   9499 
   9500 	if test $found = "no" ; then
   9501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9503 		fi
   9504 
   9505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9507 		fi
   9508 
   9509 		CFLAGS="$CFLAGS -Wtrigraphs"
   9510 
   9511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9512 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9513 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9514 		if eval \${$cacheid+:} false; then :
   9515   $as_echo_n "(cached) " >&6
   9516 else
   9517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9518 /* end confdefs.h.  */
   9519 int i;
   9520 int
   9521 main ()
   9522 {
   9523 
   9524   ;
   9525   return 0;
   9526 }
   9527 _ACEOF
   9528 if ac_fn_c_try_link "$LINENO"; then :
   9529   eval $cacheid=yes
   9530 else
   9531   eval $cacheid=no
   9532 fi
   9533 rm -f core conftest.err conftest.$ac_objext \
   9534     conftest$ac_exeext conftest.$ac_ext
   9535 fi
   9536 
   9537 
   9538 		CFLAGS="$xorg_testset_save_CFLAGS"
   9539 
   9540 		eval supported=\$$cacheid
   9541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9542 $as_echo "$supported" >&6; }
   9543 		if test "$supported" = "yes" ; then
   9544 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9545 			found="yes"
   9546 		fi
   9547 	fi
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 xorg_testset_save_CFLAGS="$CFLAGS"
   9564 
   9565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9568 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9569 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9570   $as_echo_n "(cached) " >&6
   9571 else
   9572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9573 /* end confdefs.h.  */
   9574 int i;
   9575 _ACEOF
   9576 if ac_fn_c_try_compile "$LINENO"; then :
   9577   xorg_cv_cc_flag_unknown_warning_option=yes
   9578 else
   9579   xorg_cv_cc_flag_unknown_warning_option=no
   9580 fi
   9581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9582 fi
   9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9584 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9586 	CFLAGS="$xorg_testset_save_CFLAGS"
   9587 fi
   9588 
   9589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9592 	fi
   9593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9595 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9596 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9597   $as_echo_n "(cached) " >&6
   9598 else
   9599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9600 /* end confdefs.h.  */
   9601 int i;
   9602 _ACEOF
   9603 if ac_fn_c_try_compile "$LINENO"; then :
   9604   xorg_cv_cc_flag_unused_command_line_argument=yes
   9605 else
   9606   xorg_cv_cc_flag_unused_command_line_argument=no
   9607 fi
   9608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9609 fi
   9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9611 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9612 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9613 	CFLAGS="$xorg_testset_save_CFLAGS"
   9614 fi
   9615 
   9616 found="no"
   9617 
   9618 	if test $found = "no" ; then
   9619 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9621 		fi
   9622 
   9623 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9625 		fi
   9626 
   9627 		CFLAGS="$CFLAGS -Warray-bounds"
   9628 
   9629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9630 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9631 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9632 		if eval \${$cacheid+:} false; then :
   9633   $as_echo_n "(cached) " >&6
   9634 else
   9635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9636 /* end confdefs.h.  */
   9637 int i;
   9638 int
   9639 main ()
   9640 {
   9641 
   9642   ;
   9643   return 0;
   9644 }
   9645 _ACEOF
   9646 if ac_fn_c_try_link "$LINENO"; then :
   9647   eval $cacheid=yes
   9648 else
   9649   eval $cacheid=no
   9650 fi
   9651 rm -f core conftest.err conftest.$ac_objext \
   9652     conftest$ac_exeext conftest.$ac_ext
   9653 fi
   9654 
   9655 
   9656 		CFLAGS="$xorg_testset_save_CFLAGS"
   9657 
   9658 		eval supported=\$$cacheid
   9659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9660 $as_echo "$supported" >&6; }
   9661 		if test "$supported" = "yes" ; then
   9662 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9663 			found="yes"
   9664 		fi
   9665 	fi
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 xorg_testset_save_CFLAGS="$CFLAGS"
   9682 
   9683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9688   $as_echo_n "(cached) " >&6
   9689 else
   9690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9691 /* end confdefs.h.  */
   9692 int i;
   9693 _ACEOF
   9694 if ac_fn_c_try_compile "$LINENO"; then :
   9695   xorg_cv_cc_flag_unknown_warning_option=yes
   9696 else
   9697   xorg_cv_cc_flag_unknown_warning_option=no
   9698 fi
   9699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9700 fi
   9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9704 	CFLAGS="$xorg_testset_save_CFLAGS"
   9705 fi
   9706 
   9707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9710 	fi
   9711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9715   $as_echo_n "(cached) " >&6
   9716 else
   9717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9718 /* end confdefs.h.  */
   9719 int i;
   9720 _ACEOF
   9721 if ac_fn_c_try_compile "$LINENO"; then :
   9722   xorg_cv_cc_flag_unused_command_line_argument=yes
   9723 else
   9724   xorg_cv_cc_flag_unused_command_line_argument=no
   9725 fi
   9726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9727 fi
   9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9731 	CFLAGS="$xorg_testset_save_CFLAGS"
   9732 fi
   9733 
   9734 found="no"
   9735 
   9736 	if test $found = "no" ; then
   9737 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9739 		fi
   9740 
   9741 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9743 		fi
   9744 
   9745 		CFLAGS="$CFLAGS -Wwrite-strings"
   9746 
   9747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9748 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9749 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9750 		if eval \${$cacheid+:} false; then :
   9751   $as_echo_n "(cached) " >&6
   9752 else
   9753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9754 /* end confdefs.h.  */
   9755 int i;
   9756 int
   9757 main ()
   9758 {
   9759 
   9760   ;
   9761   return 0;
   9762 }
   9763 _ACEOF
   9764 if ac_fn_c_try_link "$LINENO"; then :
   9765   eval $cacheid=yes
   9766 else
   9767   eval $cacheid=no
   9768 fi
   9769 rm -f core conftest.err conftest.$ac_objext \
   9770     conftest$ac_exeext conftest.$ac_ext
   9771 fi
   9772 
   9773 
   9774 		CFLAGS="$xorg_testset_save_CFLAGS"
   9775 
   9776 		eval supported=\$$cacheid
   9777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9778 $as_echo "$supported" >&6; }
   9779 		if test "$supported" = "yes" ; then
   9780 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9781 			found="yes"
   9782 		fi
   9783 	fi
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 xorg_testset_save_CFLAGS="$CFLAGS"
   9800 
   9801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9806   $as_echo_n "(cached) " >&6
   9807 else
   9808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9809 /* end confdefs.h.  */
   9810 int i;
   9811 _ACEOF
   9812 if ac_fn_c_try_compile "$LINENO"; then :
   9813   xorg_cv_cc_flag_unknown_warning_option=yes
   9814 else
   9815   xorg_cv_cc_flag_unknown_warning_option=no
   9816 fi
   9817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9818 fi
   9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9822 	CFLAGS="$xorg_testset_save_CFLAGS"
   9823 fi
   9824 
   9825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9828 	fi
   9829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9833   $as_echo_n "(cached) " >&6
   9834 else
   9835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9836 /* end confdefs.h.  */
   9837 int i;
   9838 _ACEOF
   9839 if ac_fn_c_try_compile "$LINENO"; then :
   9840   xorg_cv_cc_flag_unused_command_line_argument=yes
   9841 else
   9842   xorg_cv_cc_flag_unused_command_line_argument=no
   9843 fi
   9844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9845 fi
   9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9849 	CFLAGS="$xorg_testset_save_CFLAGS"
   9850 fi
   9851 
   9852 found="no"
   9853 
   9854 	if test $found = "no" ; then
   9855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9857 		fi
   9858 
   9859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9861 		fi
   9862 
   9863 		CFLAGS="$CFLAGS -Waddress"
   9864 
   9865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9866 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9867 		cacheid=xorg_cv_cc_flag__Waddress
   9868 		if eval \${$cacheid+:} false; then :
   9869   $as_echo_n "(cached) " >&6
   9870 else
   9871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9872 /* end confdefs.h.  */
   9873 int i;
   9874 int
   9875 main ()
   9876 {
   9877 
   9878   ;
   9879   return 0;
   9880 }
   9881 _ACEOF
   9882 if ac_fn_c_try_link "$LINENO"; then :
   9883   eval $cacheid=yes
   9884 else
   9885   eval $cacheid=no
   9886 fi
   9887 rm -f core conftest.err conftest.$ac_objext \
   9888     conftest$ac_exeext conftest.$ac_ext
   9889 fi
   9890 
   9891 
   9892 		CFLAGS="$xorg_testset_save_CFLAGS"
   9893 
   9894 		eval supported=\$$cacheid
   9895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9896 $as_echo "$supported" >&6; }
   9897 		if test "$supported" = "yes" ; then
   9898 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9899 			found="yes"
   9900 		fi
   9901 	fi
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 xorg_testset_save_CFLAGS="$CFLAGS"
   9918 
   9919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9922 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9923 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9924   $as_echo_n "(cached) " >&6
   9925 else
   9926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9927 /* end confdefs.h.  */
   9928 int i;
   9929 _ACEOF
   9930 if ac_fn_c_try_compile "$LINENO"; then :
   9931   xorg_cv_cc_flag_unknown_warning_option=yes
   9932 else
   9933   xorg_cv_cc_flag_unknown_warning_option=no
   9934 fi
   9935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9936 fi
   9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9938 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9940 	CFLAGS="$xorg_testset_save_CFLAGS"
   9941 fi
   9942 
   9943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9946 	fi
   9947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9949 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9950 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9951   $as_echo_n "(cached) " >&6
   9952 else
   9953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9954 /* end confdefs.h.  */
   9955 int i;
   9956 _ACEOF
   9957 if ac_fn_c_try_compile "$LINENO"; then :
   9958   xorg_cv_cc_flag_unused_command_line_argument=yes
   9959 else
   9960   xorg_cv_cc_flag_unused_command_line_argument=no
   9961 fi
   9962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9963 fi
   9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9965 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9967 	CFLAGS="$xorg_testset_save_CFLAGS"
   9968 fi
   9969 
   9970 found="no"
   9971 
   9972 	if test $found = "no" ; then
   9973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9975 		fi
   9976 
   9977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9979 		fi
   9980 
   9981 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9982 
   9983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9984 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9985 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9986 		if eval \${$cacheid+:} false; then :
   9987   $as_echo_n "(cached) " >&6
   9988 else
   9989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9990 /* end confdefs.h.  */
   9991 int i;
   9992 int
   9993 main ()
   9994 {
   9995 
   9996   ;
   9997   return 0;
   9998 }
   9999 _ACEOF
   10000 if ac_fn_c_try_link "$LINENO"; then :
   10001   eval $cacheid=yes
   10002 else
   10003   eval $cacheid=no
   10004 fi
   10005 rm -f core conftest.err conftest.$ac_objext \
   10006     conftest$ac_exeext conftest.$ac_ext
   10007 fi
   10008 
   10009 
   10010 		CFLAGS="$xorg_testset_save_CFLAGS"
   10011 
   10012 		eval supported=\$$cacheid
   10013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10014 $as_echo "$supported" >&6; }
   10015 		if test "$supported" = "yes" ; then
   10016 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10017 			found="yes"
   10018 		fi
   10019 	fi
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 xorg_testset_save_CFLAGS="$CFLAGS"
   10036 
   10037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10042   $as_echo_n "(cached) " >&6
   10043 else
   10044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10045 /* end confdefs.h.  */
   10046 int i;
   10047 _ACEOF
   10048 if ac_fn_c_try_compile "$LINENO"; then :
   10049   xorg_cv_cc_flag_unknown_warning_option=yes
   10050 else
   10051   xorg_cv_cc_flag_unknown_warning_option=no
   10052 fi
   10053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10054 fi
   10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10058 	CFLAGS="$xorg_testset_save_CFLAGS"
   10059 fi
   10060 
   10061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10064 	fi
   10065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10069   $as_echo_n "(cached) " >&6
   10070 else
   10071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10072 /* end confdefs.h.  */
   10073 int i;
   10074 _ACEOF
   10075 if ac_fn_c_try_compile "$LINENO"; then :
   10076   xorg_cv_cc_flag_unused_command_line_argument=yes
   10077 else
   10078   xorg_cv_cc_flag_unused_command_line_argument=no
   10079 fi
   10080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10081 fi
   10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10085 	CFLAGS="$xorg_testset_save_CFLAGS"
   10086 fi
   10087 
   10088 found="no"
   10089 
   10090 	if test $found = "no" ; then
   10091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10093 		fi
   10094 
   10095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10097 		fi
   10098 
   10099 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10100 
   10101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10102 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10103 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10104 		if eval \${$cacheid+:} false; then :
   10105   $as_echo_n "(cached) " >&6
   10106 else
   10107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10108 /* end confdefs.h.  */
   10109 int i;
   10110 int
   10111 main ()
   10112 {
   10113 
   10114   ;
   10115   return 0;
   10116 }
   10117 _ACEOF
   10118 if ac_fn_c_try_link "$LINENO"; then :
   10119   eval $cacheid=yes
   10120 else
   10121   eval $cacheid=no
   10122 fi
   10123 rm -f core conftest.err conftest.$ac_objext \
   10124     conftest$ac_exeext conftest.$ac_ext
   10125 fi
   10126 
   10127 
   10128 		CFLAGS="$xorg_testset_save_CFLAGS"
   10129 
   10130 		eval supported=\$$cacheid
   10131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10132 $as_echo "$supported" >&6; }
   10133 		if test "$supported" = "yes" ; then
   10134 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10135 			found="yes"
   10136 		fi
   10137 	fi
   10138 
   10139 
   10140 fi
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 		CWARNFLAGS="$BASE_CFLAGS"
   10149 		if  test "x$GCC" = xyes ; then
   10150 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10151 		fi
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 # Check whether --enable-strict-compilation was given.
   10161 if test "${enable_strict_compilation+set}" = set; then :
   10162   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10163 else
   10164   STRICT_COMPILE=no
   10165 fi
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 STRICT_CFLAGS=""
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 xorg_testset_save_CFLAGS="$CFLAGS"
   10187 
   10188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10193   $as_echo_n "(cached) " >&6
   10194 else
   10195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10196 /* end confdefs.h.  */
   10197 int i;
   10198 _ACEOF
   10199 if ac_fn_c_try_compile "$LINENO"; then :
   10200   xorg_cv_cc_flag_unknown_warning_option=yes
   10201 else
   10202   xorg_cv_cc_flag_unknown_warning_option=no
   10203 fi
   10204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10205 fi
   10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10209 	CFLAGS="$xorg_testset_save_CFLAGS"
   10210 fi
   10211 
   10212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10215 	fi
   10216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10220   $as_echo_n "(cached) " >&6
   10221 else
   10222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10223 /* end confdefs.h.  */
   10224 int i;
   10225 _ACEOF
   10226 if ac_fn_c_try_compile "$LINENO"; then :
   10227   xorg_cv_cc_flag_unused_command_line_argument=yes
   10228 else
   10229   xorg_cv_cc_flag_unused_command_line_argument=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10232 fi
   10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10236 	CFLAGS="$xorg_testset_save_CFLAGS"
   10237 fi
   10238 
   10239 found="no"
   10240 
   10241 	if test $found = "no" ; then
   10242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10244 		fi
   10245 
   10246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10248 		fi
   10249 
   10250 		CFLAGS="$CFLAGS -pedantic"
   10251 
   10252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10253 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10254 		cacheid=xorg_cv_cc_flag__pedantic
   10255 		if eval \${$cacheid+:} false; then :
   10256   $as_echo_n "(cached) " >&6
   10257 else
   10258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10259 /* end confdefs.h.  */
   10260 int i;
   10261 int
   10262 main ()
   10263 {
   10264 
   10265   ;
   10266   return 0;
   10267 }
   10268 _ACEOF
   10269 if ac_fn_c_try_link "$LINENO"; then :
   10270   eval $cacheid=yes
   10271 else
   10272   eval $cacheid=no
   10273 fi
   10274 rm -f core conftest.err conftest.$ac_objext \
   10275     conftest$ac_exeext conftest.$ac_ext
   10276 fi
   10277 
   10278 
   10279 		CFLAGS="$xorg_testset_save_CFLAGS"
   10280 
   10281 		eval supported=\$$cacheid
   10282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10283 $as_echo "$supported" >&6; }
   10284 		if test "$supported" = "yes" ; then
   10285 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10286 			found="yes"
   10287 		fi
   10288 	fi
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 xorg_testset_save_CFLAGS="$CFLAGS"
   10305 
   10306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10309 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10310 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10311   $as_echo_n "(cached) " >&6
   10312 else
   10313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10314 /* end confdefs.h.  */
   10315 int i;
   10316 _ACEOF
   10317 if ac_fn_c_try_compile "$LINENO"; then :
   10318   xorg_cv_cc_flag_unknown_warning_option=yes
   10319 else
   10320   xorg_cv_cc_flag_unknown_warning_option=no
   10321 fi
   10322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10323 fi
   10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10325 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10327 	CFLAGS="$xorg_testset_save_CFLAGS"
   10328 fi
   10329 
   10330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10333 	fi
   10334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10336 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10337 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10338   $as_echo_n "(cached) " >&6
   10339 else
   10340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10341 /* end confdefs.h.  */
   10342 int i;
   10343 _ACEOF
   10344 if ac_fn_c_try_compile "$LINENO"; then :
   10345   xorg_cv_cc_flag_unused_command_line_argument=yes
   10346 else
   10347   xorg_cv_cc_flag_unused_command_line_argument=no
   10348 fi
   10349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10350 fi
   10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10352 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10354 	CFLAGS="$xorg_testset_save_CFLAGS"
   10355 fi
   10356 
   10357 found="no"
   10358 
   10359 	if test $found = "no" ; then
   10360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10362 		fi
   10363 
   10364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10366 		fi
   10367 
   10368 		CFLAGS="$CFLAGS -Werror"
   10369 
   10370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10371 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10372 		cacheid=xorg_cv_cc_flag__Werror
   10373 		if eval \${$cacheid+:} false; then :
   10374   $as_echo_n "(cached) " >&6
   10375 else
   10376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10377 /* end confdefs.h.  */
   10378 int i;
   10379 int
   10380 main ()
   10381 {
   10382 
   10383   ;
   10384   return 0;
   10385 }
   10386 _ACEOF
   10387 if ac_fn_c_try_link "$LINENO"; then :
   10388   eval $cacheid=yes
   10389 else
   10390   eval $cacheid=no
   10391 fi
   10392 rm -f core conftest.err conftest.$ac_objext \
   10393     conftest$ac_exeext conftest.$ac_ext
   10394 fi
   10395 
   10396 
   10397 		CFLAGS="$xorg_testset_save_CFLAGS"
   10398 
   10399 		eval supported=\$$cacheid
   10400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10401 $as_echo "$supported" >&6; }
   10402 		if test "$supported" = "yes" ; then
   10403 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10404 			found="yes"
   10405 		fi
   10406 	fi
   10407 
   10408 	if test $found = "no" ; then
   10409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10411 		fi
   10412 
   10413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10415 		fi
   10416 
   10417 		CFLAGS="$CFLAGS -errwarn"
   10418 
   10419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10420 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10421 		cacheid=xorg_cv_cc_flag__errwarn
   10422 		if eval \${$cacheid+:} false; then :
   10423   $as_echo_n "(cached) " >&6
   10424 else
   10425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10426 /* end confdefs.h.  */
   10427 int i;
   10428 int
   10429 main ()
   10430 {
   10431 
   10432   ;
   10433   return 0;
   10434 }
   10435 _ACEOF
   10436 if ac_fn_c_try_link "$LINENO"; then :
   10437   eval $cacheid=yes
   10438 else
   10439   eval $cacheid=no
   10440 fi
   10441 rm -f core conftest.err conftest.$ac_objext \
   10442     conftest$ac_exeext conftest.$ac_ext
   10443 fi
   10444 
   10445 
   10446 		CFLAGS="$xorg_testset_save_CFLAGS"
   10447 
   10448 		eval supported=\$$cacheid
   10449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10450 $as_echo "$supported" >&6; }
   10451 		if test "$supported" = "yes" ; then
   10452 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10453 			found="yes"
   10454 		fi
   10455 	fi
   10456 
   10457 
   10458 
   10459 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10460 # activate it with -Werror, so we add it here explicitly.
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 xorg_testset_save_CFLAGS="$CFLAGS"
   10475 
   10476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10479 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10480 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10481   $as_echo_n "(cached) " >&6
   10482 else
   10483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10484 /* end confdefs.h.  */
   10485 int i;
   10486 _ACEOF
   10487 if ac_fn_c_try_compile "$LINENO"; then :
   10488   xorg_cv_cc_flag_unknown_warning_option=yes
   10489 else
   10490   xorg_cv_cc_flag_unknown_warning_option=no
   10491 fi
   10492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10493 fi
   10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10495 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10496 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10497 	CFLAGS="$xorg_testset_save_CFLAGS"
   10498 fi
   10499 
   10500 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10501 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10503 	fi
   10504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10506 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10507 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10508   $as_echo_n "(cached) " >&6
   10509 else
   10510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10511 /* end confdefs.h.  */
   10512 int i;
   10513 _ACEOF
   10514 if ac_fn_c_try_compile "$LINENO"; then :
   10515   xorg_cv_cc_flag_unused_command_line_argument=yes
   10516 else
   10517   xorg_cv_cc_flag_unused_command_line_argument=no
   10518 fi
   10519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10520 fi
   10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10522 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10524 	CFLAGS="$xorg_testset_save_CFLAGS"
   10525 fi
   10526 
   10527 found="no"
   10528 
   10529 	if test $found = "no" ; then
   10530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10532 		fi
   10533 
   10534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10536 		fi
   10537 
   10538 		CFLAGS="$CFLAGS -Werror=attributes"
   10539 
   10540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10541 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10542 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10543 		if eval \${$cacheid+:} false; then :
   10544   $as_echo_n "(cached) " >&6
   10545 else
   10546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10547 /* end confdefs.h.  */
   10548 int i;
   10549 int
   10550 main ()
   10551 {
   10552 
   10553   ;
   10554   return 0;
   10555 }
   10556 _ACEOF
   10557 if ac_fn_c_try_link "$LINENO"; then :
   10558   eval $cacheid=yes
   10559 else
   10560   eval $cacheid=no
   10561 fi
   10562 rm -f core conftest.err conftest.$ac_objext \
   10563     conftest$ac_exeext conftest.$ac_ext
   10564 fi
   10565 
   10566 
   10567 		CFLAGS="$xorg_testset_save_CFLAGS"
   10568 
   10569 		eval supported=\$$cacheid
   10570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10571 $as_echo "$supported" >&6; }
   10572 		if test "$supported" = "yes" ; then
   10573 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10574 			found="yes"
   10575 		fi
   10576 	fi
   10577 
   10578 
   10579 
   10580 if test "x$STRICT_COMPILE" = "xyes"; then
   10581     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10582     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10583 fi
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 cat >>confdefs.h <<_ACEOF
   10591 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10592 _ACEOF
   10593 
   10594 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10595 	if test "x$PVM" = "x"; then
   10596 		PVM="0"
   10597 	fi
   10598 
   10599 cat >>confdefs.h <<_ACEOF
   10600 #define PACKAGE_VERSION_MINOR $PVM
   10601 _ACEOF
   10602 
   10603 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10604 	if test "x$PVP" = "x"; then
   10605 		PVP="0"
   10606 	fi
   10607 
   10608 cat >>confdefs.h <<_ACEOF
   10609 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10610 _ACEOF
   10611 
   10612 
   10613 
   10614 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10615 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10616 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10617 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10618 
   10619 
   10620 
   10621 
   10622 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10623 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10624 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10625 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10626 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 if test x$APP_MAN_SUFFIX = x    ; then
   10634     APP_MAN_SUFFIX=1
   10635 fi
   10636 if test x$APP_MAN_DIR = x    ; then
   10637     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10638 fi
   10639 
   10640 if test x$LIB_MAN_SUFFIX = x    ; then
   10641     LIB_MAN_SUFFIX=3
   10642 fi
   10643 if test x$LIB_MAN_DIR = x    ; then
   10644     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10645 fi
   10646 
   10647 if test x$FILE_MAN_SUFFIX = x    ; then
   10648     case $host_os in
   10649 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10650 	*)		FILE_MAN_SUFFIX=5  ;;
   10651     esac
   10652 fi
   10653 if test x$FILE_MAN_DIR = x    ; then
   10654     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10655 fi
   10656 
   10657 if test x$MISC_MAN_SUFFIX = x    ; then
   10658     case $host_os in
   10659 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10660 	*)		MISC_MAN_SUFFIX=7  ;;
   10661     esac
   10662 fi
   10663 if test x$MISC_MAN_DIR = x    ; then
   10664     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10665 fi
   10666 
   10667 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10668     case $host_os in
   10669 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10670 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10671     esac
   10672 fi
   10673 if test x$DRIVER_MAN_DIR = x    ; then
   10674     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10675 fi
   10676 
   10677 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10678     case $host_os in
   10679 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10680 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10681     esac
   10682 fi
   10683 if test x$ADMIN_MAN_DIR = x    ; then
   10684     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10685 fi
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 XORG_MAN_PAGE="X Version 11"
   10702 
   10703 MAN_SUBSTS="\
   10704 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10705 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10706 	-e 's|__xservername__|Xorg|g' \
   10707 	-e 's|__xconfigfile__|xorg.conf|g' \
   10708 	-e 's|__projectroot__|\$(prefix)|g' \
   10709 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10710 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10711 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10712 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10713 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10714 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10715 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10716 
   10717 
   10718 
   10719 # Check whether --enable-silent-rules was given.
   10720 if test "${enable_silent_rules+set}" = set; then :
   10721   enableval=$enable_silent_rules;
   10722 fi
   10723 
   10724 case $enable_silent_rules in # (((
   10725   yes) AM_DEFAULT_VERBOSITY=0;;
   10726    no) AM_DEFAULT_VERBOSITY=1;;
   10727     *) AM_DEFAULT_VERBOSITY=0;;
   10728 esac
   10729 am_make=${MAKE-make}
   10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10731 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10732 if ${am_cv_make_support_nested_variables+:} false; then :
   10733   $as_echo_n "(cached) " >&6
   10734 else
   10735   if $as_echo 'TRUE=$(BAR$(V))
   10736 BAR0=false
   10737 BAR1=true
   10738 V=1
   10739 am__doit:
   10740 	@$(TRUE)
   10741 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10742   am_cv_make_support_nested_variables=yes
   10743 else
   10744   am_cv_make_support_nested_variables=no
   10745 fi
   10746 fi
   10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10748 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10749 if test $am_cv_make_support_nested_variables = yes; then
   10750     AM_V='$(V)'
   10751   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10752 else
   10753   AM_V=$AM_DEFAULT_VERBOSITY
   10754   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10755 fi
   10756 AM_BACKSLASH='\'
   10757 
   10758 
   10759 
   10760 # Initialize libtool
   10761 # Check whether --enable-static was given.
   10762 if test "${enable_static+set}" = set; then :
   10763   enableval=$enable_static; p=${PACKAGE-default}
   10764     case $enableval in
   10765     yes) enable_static=yes ;;
   10766     no) enable_static=no ;;
   10767     *)
   10768      enable_static=no
   10769       # Look at the argument we got.  We use all the common list separators.
   10770       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10771       for pkg in $enableval; do
   10772 	IFS=$lt_save_ifs
   10773 	if test "X$pkg" = "X$p"; then
   10774 	  enable_static=yes
   10775 	fi
   10776       done
   10777       IFS=$lt_save_ifs
   10778       ;;
   10779     esac
   10780 else
   10781   enable_static=no
   10782 fi
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 case `pwd` in
   10793   *\ * | *\	*)
   10794     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10795 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10796 esac
   10797 
   10798 
   10799 
   10800 macro_version='2.4.6'
   10801 macro_revision='2.4.6'
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 ltmain=$ac_aux_dir/ltmain.sh
   10816 
   10817 # Backslashify metacharacters that are still active within
   10818 # double-quoted strings.
   10819 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10820 
   10821 # Same as above, but do not quote variable references.
   10822 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10823 
   10824 # Sed substitution to delay expansion of an escaped shell variable in a
   10825 # double_quote_subst'ed string.
   10826 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10827 
   10828 # Sed substitution to delay expansion of an escaped single quote.
   10829 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10830 
   10831 # Sed substitution to avoid accidental globbing in evaled expressions
   10832 no_glob_subst='s/\*/\\\*/g'
   10833 
   10834 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10835 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10836 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10837 
   10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10839 $as_echo_n "checking how to print strings... " >&6; }
   10840 # Test print first, because it will be a builtin if present.
   10841 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10842    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10843   ECHO='print -r --'
   10844 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10845   ECHO='printf %s\n'
   10846 else
   10847   # Use this function as a fallback that always works.
   10848   func_fallback_echo ()
   10849   {
   10850     eval 'cat <<_LTECHO_EOF
   10851 $1
   10852 _LTECHO_EOF'
   10853   }
   10854   ECHO='func_fallback_echo'
   10855 fi
   10856 
   10857 # func_echo_all arg...
   10858 # Invoke $ECHO with all args, space-separated.
   10859 func_echo_all ()
   10860 {
   10861     $ECHO ""
   10862 }
   10863 
   10864 case $ECHO in
   10865   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10866 $as_echo "printf" >&6; } ;;
   10867   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10868 $as_echo "print -r" >&6; } ;;
   10869   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10870 $as_echo "cat" >&6; } ;;
   10871 esac
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10887 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10888 if ${ac_cv_path_SED+:} false; then :
   10889   $as_echo_n "(cached) " >&6
   10890 else
   10891             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10892      for ac_i in 1 2 3 4 5 6 7; do
   10893        ac_script="$ac_script$as_nl$ac_script"
   10894      done
   10895      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10896      { ac_script=; unset ac_script;}
   10897      if test -z "$SED"; then
   10898   ac_path_SED_found=false
   10899   # Loop through the user's path and test for each of PROGNAME-LIST
   10900   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10901 for as_dir in $PATH
   10902 do
   10903   IFS=$as_save_IFS
   10904   test -z "$as_dir" && as_dir=.
   10905     for ac_prog in sed gsed; do
   10906     for ac_exec_ext in '' $ac_executable_extensions; do
   10907       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10908       as_fn_executable_p "$ac_path_SED" || continue
   10909 # Check for GNU ac_path_SED and select it if it is found.
   10910   # Check for GNU $ac_path_SED
   10911 case `"$ac_path_SED" --version 2>&1` in
   10912 *GNU*)
   10913   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10914 *)
   10915   ac_count=0
   10916   $as_echo_n 0123456789 >"conftest.in"
   10917   while :
   10918   do
   10919     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10920     mv "conftest.tmp" "conftest.in"
   10921     cp "conftest.in" "conftest.nl"
   10922     $as_echo '' >> "conftest.nl"
   10923     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10924     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10925     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10926     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10927       # Best one so far, save it but keep looking for a better one
   10928       ac_cv_path_SED="$ac_path_SED"
   10929       ac_path_SED_max=$ac_count
   10930     fi
   10931     # 10*(2^10) chars as input seems more than enough
   10932     test $ac_count -gt 10 && break
   10933   done
   10934   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10935 esac
   10936 
   10937       $ac_path_SED_found && break 3
   10938     done
   10939   done
   10940   done
   10941 IFS=$as_save_IFS
   10942   if test -z "$ac_cv_path_SED"; then
   10943     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10944   fi
   10945 else
   10946   ac_cv_path_SED=$SED
   10947 fi
   10948 
   10949 fi
   10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10951 $as_echo "$ac_cv_path_SED" >&6; }
   10952  SED="$ac_cv_path_SED"
   10953   rm -f conftest.sed
   10954 
   10955 test -z "$SED" && SED=sed
   10956 Xsed="$SED -e 1s/^X//"
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10969 $as_echo_n "checking for fgrep... " >&6; }
   10970 if ${ac_cv_path_FGREP+:} false; then :
   10971   $as_echo_n "(cached) " >&6
   10972 else
   10973   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10974    then ac_cv_path_FGREP="$GREP -F"
   10975    else
   10976      if test -z "$FGREP"; then
   10977   ac_path_FGREP_found=false
   10978   # Loop through the user's path and test for each of PROGNAME-LIST
   10979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10981 do
   10982   IFS=$as_save_IFS
   10983   test -z "$as_dir" && as_dir=.
   10984     for ac_prog in fgrep; do
   10985     for ac_exec_ext in '' $ac_executable_extensions; do
   10986       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10987       as_fn_executable_p "$ac_path_FGREP" || continue
   10988 # Check for GNU ac_path_FGREP and select it if it is found.
   10989   # Check for GNU $ac_path_FGREP
   10990 case `"$ac_path_FGREP" --version 2>&1` in
   10991 *GNU*)
   10992   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10993 *)
   10994   ac_count=0
   10995   $as_echo_n 0123456789 >"conftest.in"
   10996   while :
   10997   do
   10998     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10999     mv "conftest.tmp" "conftest.in"
   11000     cp "conftest.in" "conftest.nl"
   11001     $as_echo 'FGREP' >> "conftest.nl"
   11002     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11003     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11004     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11005     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11006       # Best one so far, save it but keep looking for a better one
   11007       ac_cv_path_FGREP="$ac_path_FGREP"
   11008       ac_path_FGREP_max=$ac_count
   11009     fi
   11010     # 10*(2^10) chars as input seems more than enough
   11011     test $ac_count -gt 10 && break
   11012   done
   11013   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11014 esac
   11015 
   11016       $ac_path_FGREP_found && break 3
   11017     done
   11018   done
   11019   done
   11020 IFS=$as_save_IFS
   11021   if test -z "$ac_cv_path_FGREP"; then
   11022     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11023   fi
   11024 else
   11025   ac_cv_path_FGREP=$FGREP
   11026 fi
   11027 
   11028    fi
   11029 fi
   11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11031 $as_echo "$ac_cv_path_FGREP" >&6; }
   11032  FGREP="$ac_cv_path_FGREP"
   11033 
   11034 
   11035 test -z "$GREP" && GREP=grep
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 # Check whether --with-gnu-ld was given.
   11056 if test "${with_gnu_ld+set}" = set; then :
   11057   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11058 else
   11059   with_gnu_ld=no
   11060 fi
   11061 
   11062 ac_prog=ld
   11063 if test yes = "$GCC"; then
   11064   # Check if gcc -print-prog-name=ld gives a path.
   11065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11066 $as_echo_n "checking for ld used by $CC... " >&6; }
   11067   case $host in
   11068   *-*-mingw*)
   11069     # gcc leaves a trailing carriage return, which upsets mingw
   11070     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11071   *)
   11072     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11073   esac
   11074   case $ac_prog in
   11075     # Accept absolute paths.
   11076     [\\/]* | ?:[\\/]*)
   11077       re_direlt='/[^/][^/]*/\.\./'
   11078       # Canonicalize the pathname of ld
   11079       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11080       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11081 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11082       done
   11083       test -z "$LD" && LD=$ac_prog
   11084       ;;
   11085   "")
   11086     # If it fails, then pretend we aren't using GCC.
   11087     ac_prog=ld
   11088     ;;
   11089   *)
   11090     # If it is relative, then search for the first ld in PATH.
   11091     with_gnu_ld=unknown
   11092     ;;
   11093   esac
   11094 elif test yes = "$with_gnu_ld"; then
   11095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11096 $as_echo_n "checking for GNU ld... " >&6; }
   11097 else
   11098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11099 $as_echo_n "checking for non-GNU ld... " >&6; }
   11100 fi
   11101 if ${lt_cv_path_LD+:} false; then :
   11102   $as_echo_n "(cached) " >&6
   11103 else
   11104   if test -z "$LD"; then
   11105   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11106   for ac_dir in $PATH; do
   11107     IFS=$lt_save_ifs
   11108     test -z "$ac_dir" && ac_dir=.
   11109     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11110       lt_cv_path_LD=$ac_dir/$ac_prog
   11111       # Check to see if the program is GNU ld.  I'd rather use --version,
   11112       # but apparently some variants of GNU ld only accept -v.
   11113       # Break only if it was the GNU/non-GNU ld that we prefer.
   11114       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11115       *GNU* | *'with BFD'*)
   11116 	test no != "$with_gnu_ld" && break
   11117 	;;
   11118       *)
   11119 	test yes != "$with_gnu_ld" && break
   11120 	;;
   11121       esac
   11122     fi
   11123   done
   11124   IFS=$lt_save_ifs
   11125 else
   11126   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11127 fi
   11128 fi
   11129 
   11130 LD=$lt_cv_path_LD
   11131 if test -n "$LD"; then
   11132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11133 $as_echo "$LD" >&6; }
   11134 else
   11135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11136 $as_echo "no" >&6; }
   11137 fi
   11138 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11140 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11141 if ${lt_cv_prog_gnu_ld+:} false; then :
   11142   $as_echo_n "(cached) " >&6
   11143 else
   11144   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11145 case `$LD -v 2>&1 </dev/null` in
   11146 *GNU* | *'with BFD'*)
   11147   lt_cv_prog_gnu_ld=yes
   11148   ;;
   11149 *)
   11150   lt_cv_prog_gnu_ld=no
   11151   ;;
   11152 esac
   11153 fi
   11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11155 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11156 with_gnu_ld=$lt_cv_prog_gnu_ld
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11167 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11168 if ${lt_cv_path_NM+:} false; then :
   11169   $as_echo_n "(cached) " >&6
   11170 else
   11171   if test -n "$NM"; then
   11172   # Let the user override the test.
   11173   lt_cv_path_NM=$NM
   11174 else
   11175   lt_nm_to_check=${ac_tool_prefix}nm
   11176   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11177     lt_nm_to_check="$lt_nm_to_check nm"
   11178   fi
   11179   for lt_tmp_nm in $lt_nm_to_check; do
   11180     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11181     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11182       IFS=$lt_save_ifs
   11183       test -z "$ac_dir" && ac_dir=.
   11184       tmp_nm=$ac_dir/$lt_tmp_nm
   11185       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11186 	# Check to see if the nm accepts a BSD-compat flag.
   11187 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11188 	#   nm: unknown option "B" ignored
   11189 	# Tru64's nm complains that /dev/null is an invalid object file
   11190 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11191 	case $build_os in
   11192 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11193 	*) lt_bad_file=/dev/null ;;
   11194 	esac
   11195 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11196 	*$lt_bad_file* | *'Invalid file or object type'*)
   11197 	  lt_cv_path_NM="$tmp_nm -B"
   11198 	  break 2
   11199 	  ;;
   11200 	*)
   11201 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11202 	  */dev/null*)
   11203 	    lt_cv_path_NM="$tmp_nm -p"
   11204 	    break 2
   11205 	    ;;
   11206 	  *)
   11207 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11208 	    continue # so that we can try to find one that supports BSD flags
   11209 	    ;;
   11210 	  esac
   11211 	  ;;
   11212 	esac
   11213       fi
   11214     done
   11215     IFS=$lt_save_ifs
   11216   done
   11217   : ${lt_cv_path_NM=no}
   11218 fi
   11219 fi
   11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11221 $as_echo "$lt_cv_path_NM" >&6; }
   11222 if test no != "$lt_cv_path_NM"; then
   11223   NM=$lt_cv_path_NM
   11224 else
   11225   # Didn't find any BSD compatible name lister, look for dumpbin.
   11226   if test -n "$DUMPBIN"; then :
   11227     # Let the user override the test.
   11228   else
   11229     if test -n "$ac_tool_prefix"; then
   11230   for ac_prog in dumpbin "link -dump"
   11231   do
   11232     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11233 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11235 $as_echo_n "checking for $ac_word... " >&6; }
   11236 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11237   $as_echo_n "(cached) " >&6
   11238 else
   11239   if test -n "$DUMPBIN"; then
   11240   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11241 else
   11242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11243 for as_dir in $PATH
   11244 do
   11245   IFS=$as_save_IFS
   11246   test -z "$as_dir" && as_dir=.
   11247     for ac_exec_ext in '' $ac_executable_extensions; do
   11248   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11249     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11251     break 2
   11252   fi
   11253 done
   11254   done
   11255 IFS=$as_save_IFS
   11256 
   11257 fi
   11258 fi
   11259 DUMPBIN=$ac_cv_prog_DUMPBIN
   11260 if test -n "$DUMPBIN"; then
   11261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11262 $as_echo "$DUMPBIN" >&6; }
   11263 else
   11264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11265 $as_echo "no" >&6; }
   11266 fi
   11267 
   11268 
   11269     test -n "$DUMPBIN" && break
   11270   done
   11271 fi
   11272 if test -z "$DUMPBIN"; then
   11273   ac_ct_DUMPBIN=$DUMPBIN
   11274   for ac_prog in dumpbin "link -dump"
   11275 do
   11276   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11277 set dummy $ac_prog; ac_word=$2
   11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11279 $as_echo_n "checking for $ac_word... " >&6; }
   11280 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11281   $as_echo_n "(cached) " >&6
   11282 else
   11283   if test -n "$ac_ct_DUMPBIN"; then
   11284   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11285 else
   11286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11287 for as_dir in $PATH
   11288 do
   11289   IFS=$as_save_IFS
   11290   test -z "$as_dir" && as_dir=.
   11291     for ac_exec_ext in '' $ac_executable_extensions; do
   11292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11293     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11295     break 2
   11296   fi
   11297 done
   11298   done
   11299 IFS=$as_save_IFS
   11300 
   11301 fi
   11302 fi
   11303 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11304 if test -n "$ac_ct_DUMPBIN"; then
   11305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11306 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11307 else
   11308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11309 $as_echo "no" >&6; }
   11310 fi
   11311 
   11312 
   11313   test -n "$ac_ct_DUMPBIN" && break
   11314 done
   11315 
   11316   if test "x$ac_ct_DUMPBIN" = x; then
   11317     DUMPBIN=":"
   11318   else
   11319     case $cross_compiling:$ac_tool_warned in
   11320 yes:)
   11321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11323 ac_tool_warned=yes ;;
   11324 esac
   11325     DUMPBIN=$ac_ct_DUMPBIN
   11326   fi
   11327 fi
   11328 
   11329     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11330     *COFF*)
   11331       DUMPBIN="$DUMPBIN -symbols -headers"
   11332       ;;
   11333     *)
   11334       DUMPBIN=:
   11335       ;;
   11336     esac
   11337   fi
   11338 
   11339   if test : != "$DUMPBIN"; then
   11340     NM=$DUMPBIN
   11341   fi
   11342 fi
   11343 test -z "$NM" && NM=nm
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11351 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11352 if ${lt_cv_nm_interface+:} false; then :
   11353   $as_echo_n "(cached) " >&6
   11354 else
   11355   lt_cv_nm_interface="BSD nm"
   11356   echo "int some_variable = 0;" > conftest.$ac_ext
   11357   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11358   (eval "$ac_compile" 2>conftest.err)
   11359   cat conftest.err >&5
   11360   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11361   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11362   cat conftest.err >&5
   11363   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11364   cat conftest.out >&5
   11365   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11366     lt_cv_nm_interface="MS dumpbin"
   11367   fi
   11368   rm -f conftest*
   11369 fi
   11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11371 $as_echo "$lt_cv_nm_interface" >&6; }
   11372 
   11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11374 $as_echo_n "checking whether ln -s works... " >&6; }
   11375 LN_S=$as_ln_s
   11376 if test "$LN_S" = "ln -s"; then
   11377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11378 $as_echo "yes" >&6; }
   11379 else
   11380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11381 $as_echo "no, using $LN_S" >&6; }
   11382 fi
   11383 
   11384 # find the maximum length of command line arguments
   11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11386 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11387 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11388   $as_echo_n "(cached) " >&6
   11389 else
   11390     i=0
   11391   teststring=ABCD
   11392 
   11393   case $build_os in
   11394   msdosdjgpp*)
   11395     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11396     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11397     # during glob expansion).  Even if it were fixed, the result of this
   11398     # check would be larger than it should be.
   11399     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11400     ;;
   11401 
   11402   gnu*)
   11403     # Under GNU Hurd, this test is not required because there is
   11404     # no limit to the length of command line arguments.
   11405     # Libtool will interpret -1 as no limit whatsoever
   11406     lt_cv_sys_max_cmd_len=-1;
   11407     ;;
   11408 
   11409   cygwin* | mingw* | cegcc*)
   11410     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11411     # about 5 minutes as the teststring grows exponentially.
   11412     # Worse, since 9x/ME are not pre-emptively multitasking,
   11413     # you end up with a "frozen" computer, even though with patience
   11414     # the test eventually succeeds (with a max line length of 256k).
   11415     # Instead, let's just punt: use the minimum linelength reported by
   11416     # all of the supported platforms: 8192 (on NT/2K/XP).
   11417     lt_cv_sys_max_cmd_len=8192;
   11418     ;;
   11419 
   11420   mint*)
   11421     # On MiNT this can take a long time and run out of memory.
   11422     lt_cv_sys_max_cmd_len=8192;
   11423     ;;
   11424 
   11425   amigaos*)
   11426     # On AmigaOS with pdksh, this test takes hours, literally.
   11427     # So we just punt and use a minimum line length of 8192.
   11428     lt_cv_sys_max_cmd_len=8192;
   11429     ;;
   11430 
   11431   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11432     # This has been around since 386BSD, at least.  Likely further.
   11433     if test -x /sbin/sysctl; then
   11434       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11435     elif test -x /usr/sbin/sysctl; then
   11436       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11437     else
   11438       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11439     fi
   11440     # And add a safety zone
   11441     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11442     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11443     ;;
   11444 
   11445   interix*)
   11446     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11447     lt_cv_sys_max_cmd_len=196608
   11448     ;;
   11449 
   11450   os2*)
   11451     # The test takes a long time on OS/2.
   11452     lt_cv_sys_max_cmd_len=8192
   11453     ;;
   11454 
   11455   osf*)
   11456     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11457     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11458     # nice to cause kernel panics so lets avoid the loop below.
   11459     # First set a reasonable default.
   11460     lt_cv_sys_max_cmd_len=16384
   11461     #
   11462     if test -x /sbin/sysconfig; then
   11463       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11464         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11465       esac
   11466     fi
   11467     ;;
   11468   sco3.2v5*)
   11469     lt_cv_sys_max_cmd_len=102400
   11470     ;;
   11471   sysv5* | sco5v6* | sysv4.2uw2*)
   11472     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11473     if test -n "$kargmax"; then
   11474       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11475     else
   11476       lt_cv_sys_max_cmd_len=32768
   11477     fi
   11478     ;;
   11479   *)
   11480     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11481     if test -n "$lt_cv_sys_max_cmd_len" && \
   11482        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11483       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11484       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11485     else
   11486       # Make teststring a little bigger before we do anything with it.
   11487       # a 1K string should be a reasonable start.
   11488       for i in 1 2 3 4 5 6 7 8; do
   11489         teststring=$teststring$teststring
   11490       done
   11491       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11492       # If test is not a shell built-in, we'll probably end up computing a
   11493       # maximum length that is only half of the actual maximum length, but
   11494       # we can't tell.
   11495       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11496 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11497 	      test 17 != "$i" # 1/2 MB should be enough
   11498       do
   11499         i=`expr $i + 1`
   11500         teststring=$teststring$teststring
   11501       done
   11502       # Only check the string length outside the loop.
   11503       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11504       teststring=
   11505       # Add a significant safety factor because C++ compilers can tack on
   11506       # massive amounts of additional arguments before passing them to the
   11507       # linker.  It appears as though 1/2 is a usable value.
   11508       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11509     fi
   11510     ;;
   11511   esac
   11512 
   11513 fi
   11514 
   11515 if test -n "$lt_cv_sys_max_cmd_len"; then
   11516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11517 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11518 else
   11519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11520 $as_echo "none" >&6; }
   11521 fi
   11522 max_cmd_len=$lt_cv_sys_max_cmd_len
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 : ${CP="cp -f"}
   11530 : ${MV="mv -f"}
   11531 : ${RM="rm -f"}
   11532 
   11533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11534   lt_unset=unset
   11535 else
   11536   lt_unset=false
   11537 fi
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 # test EBCDIC or ASCII
   11544 case `echo X|tr X '\101'` in
   11545  A) # ASCII based system
   11546     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11547   lt_SP2NL='tr \040 \012'
   11548   lt_NL2SP='tr \015\012 \040\040'
   11549   ;;
   11550  *) # EBCDIC based system
   11551   lt_SP2NL='tr \100 \n'
   11552   lt_NL2SP='tr \r\n \100\100'
   11553   ;;
   11554 esac
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11565 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11566 if ${lt_cv_to_host_file_cmd+:} false; then :
   11567   $as_echo_n "(cached) " >&6
   11568 else
   11569   case $host in
   11570   *-*-mingw* )
   11571     case $build in
   11572       *-*-mingw* ) # actually msys
   11573         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11574         ;;
   11575       *-*-cygwin* )
   11576         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11577         ;;
   11578       * ) # otherwise, assume *nix
   11579         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11580         ;;
   11581     esac
   11582     ;;
   11583   *-*-cygwin* )
   11584     case $build in
   11585       *-*-mingw* ) # actually msys
   11586         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11587         ;;
   11588       *-*-cygwin* )
   11589         lt_cv_to_host_file_cmd=func_convert_file_noop
   11590         ;;
   11591       * ) # otherwise, assume *nix
   11592         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11593         ;;
   11594     esac
   11595     ;;
   11596   * ) # unhandled hosts (and "normal" native builds)
   11597     lt_cv_to_host_file_cmd=func_convert_file_noop
   11598     ;;
   11599 esac
   11600 
   11601 fi
   11602 
   11603 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11605 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11612 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11613 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11614   $as_echo_n "(cached) " >&6
   11615 else
   11616   #assume ordinary cross tools, or native build.
   11617 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11618 case $host in
   11619   *-*-mingw* )
   11620     case $build in
   11621       *-*-mingw* ) # actually msys
   11622         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11623         ;;
   11624     esac
   11625     ;;
   11626 esac
   11627 
   11628 fi
   11629 
   11630 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11632 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11639 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11640 if ${lt_cv_ld_reload_flag+:} false; then :
   11641   $as_echo_n "(cached) " >&6
   11642 else
   11643   lt_cv_ld_reload_flag='-r'
   11644 fi
   11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11646 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11647 reload_flag=$lt_cv_ld_reload_flag
   11648 case $reload_flag in
   11649 "" | " "*) ;;
   11650 *) reload_flag=" $reload_flag" ;;
   11651 esac
   11652 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11653 case $host_os in
   11654   cygwin* | mingw* | pw32* | cegcc*)
   11655     if test yes != "$GCC"; then
   11656       reload_cmds=false
   11657     fi
   11658     ;;
   11659   darwin*)
   11660     if test yes = "$GCC"; then
   11661       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11662     else
   11663       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11664     fi
   11665     ;;
   11666 esac
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 if test -n "$ac_tool_prefix"; then
   11677   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11678 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11680 $as_echo_n "checking for $ac_word... " >&6; }
   11681 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11682   $as_echo_n "(cached) " >&6
   11683 else
   11684   if test -n "$OBJDUMP"; then
   11685   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11686 else
   11687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11688 for as_dir in $PATH
   11689 do
   11690   IFS=$as_save_IFS
   11691   test -z "$as_dir" && as_dir=.
   11692     for ac_exec_ext in '' $ac_executable_extensions; do
   11693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11694     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11696     break 2
   11697   fi
   11698 done
   11699   done
   11700 IFS=$as_save_IFS
   11701 
   11702 fi
   11703 fi
   11704 OBJDUMP=$ac_cv_prog_OBJDUMP
   11705 if test -n "$OBJDUMP"; then
   11706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11707 $as_echo "$OBJDUMP" >&6; }
   11708 else
   11709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11710 $as_echo "no" >&6; }
   11711 fi
   11712 
   11713 
   11714 fi
   11715 if test -z "$ac_cv_prog_OBJDUMP"; then
   11716   ac_ct_OBJDUMP=$OBJDUMP
   11717   # Extract the first word of "objdump", so it can be a program name with args.
   11718 set dummy objdump; ac_word=$2
   11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11720 $as_echo_n "checking for $ac_word... " >&6; }
   11721 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11722   $as_echo_n "(cached) " >&6
   11723 else
   11724   if test -n "$ac_ct_OBJDUMP"; then
   11725   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11726 else
   11727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11728 for as_dir in $PATH
   11729 do
   11730   IFS=$as_save_IFS
   11731   test -z "$as_dir" && as_dir=.
   11732     for ac_exec_ext in '' $ac_executable_extensions; do
   11733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11734     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11736     break 2
   11737   fi
   11738 done
   11739   done
   11740 IFS=$as_save_IFS
   11741 
   11742 fi
   11743 fi
   11744 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11745 if test -n "$ac_ct_OBJDUMP"; then
   11746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11747 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11748 else
   11749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11750 $as_echo "no" >&6; }
   11751 fi
   11752 
   11753   if test "x$ac_ct_OBJDUMP" = x; then
   11754     OBJDUMP="false"
   11755   else
   11756     case $cross_compiling:$ac_tool_warned in
   11757 yes:)
   11758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11760 ac_tool_warned=yes ;;
   11761 esac
   11762     OBJDUMP=$ac_ct_OBJDUMP
   11763   fi
   11764 else
   11765   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11766 fi
   11767 
   11768 test -z "$OBJDUMP" && OBJDUMP=objdump
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11779 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11780 if ${lt_cv_deplibs_check_method+:} false; then :
   11781   $as_echo_n "(cached) " >&6
   11782 else
   11783   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11784 lt_cv_file_magic_test_file=
   11785 lt_cv_deplibs_check_method='unknown'
   11786 # Need to set the preceding variable on all platforms that support
   11787 # interlibrary dependencies.
   11788 # 'none' -- dependencies not supported.
   11789 # 'unknown' -- same as none, but documents that we really don't know.
   11790 # 'pass_all' -- all dependencies passed with no checks.
   11791 # 'test_compile' -- check by making test program.
   11792 # 'file_magic [[regex]]' -- check by looking for files in library path
   11793 # that responds to the $file_magic_cmd with a given extended regex.
   11794 # If you have 'file' or equivalent on your system and you're not sure
   11795 # whether 'pass_all' will *always* work, you probably want this one.
   11796 
   11797 case $host_os in
   11798 aix[4-9]*)
   11799   lt_cv_deplibs_check_method=pass_all
   11800   ;;
   11801 
   11802 beos*)
   11803   lt_cv_deplibs_check_method=pass_all
   11804   ;;
   11805 
   11806 bsdi[45]*)
   11807   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11808   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11809   lt_cv_file_magic_test_file=/shlib/libc.so
   11810   ;;
   11811 
   11812 cygwin*)
   11813   # func_win32_libid is a shell function defined in ltmain.sh
   11814   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11815   lt_cv_file_magic_cmd='func_win32_libid'
   11816   ;;
   11817 
   11818 mingw* | pw32*)
   11819   # Base MSYS/MinGW do not provide the 'file' command needed by
   11820   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11821   # unless we find 'file', for example because we are cross-compiling.
   11822   if ( file / ) >/dev/null 2>&1; then
   11823     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11824     lt_cv_file_magic_cmd='func_win32_libid'
   11825   else
   11826     # Keep this pattern in sync with the one in func_win32_libid.
   11827     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11828     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11829   fi
   11830   ;;
   11831 
   11832 cegcc*)
   11833   # use the weaker test based on 'objdump'. See mingw*.
   11834   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11835   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11836   ;;
   11837 
   11838 darwin* | rhapsody*)
   11839   lt_cv_deplibs_check_method=pass_all
   11840   ;;
   11841 
   11842 freebsd* | dragonfly*)
   11843   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11844     case $host_cpu in
   11845     i*86 )
   11846       # Not sure whether the presence of OpenBSD here was a mistake.
   11847       # Let's accept both of them until this is cleared up.
   11848       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11849       lt_cv_file_magic_cmd=/usr/bin/file
   11850       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11851       ;;
   11852     esac
   11853   else
   11854     lt_cv_deplibs_check_method=pass_all
   11855   fi
   11856   ;;
   11857 
   11858 haiku*)
   11859   lt_cv_deplibs_check_method=pass_all
   11860   ;;
   11861 
   11862 hpux10.20* | hpux11*)
   11863   lt_cv_file_magic_cmd=/usr/bin/file
   11864   case $host_cpu in
   11865   ia64*)
   11866     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11867     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11868     ;;
   11869   hppa*64*)
   11870     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]'
   11871     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11872     ;;
   11873   *)
   11874     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11875     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11876     ;;
   11877   esac
   11878   ;;
   11879 
   11880 interix[3-9]*)
   11881   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11882   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11883   ;;
   11884 
   11885 irix5* | irix6* | nonstopux*)
   11886   case $LD in
   11887   *-32|*"-32 ") libmagic=32-bit;;
   11888   *-n32|*"-n32 ") libmagic=N32;;
   11889   *-64|*"-64 ") libmagic=64-bit;;
   11890   *) libmagic=never-match;;
   11891   esac
   11892   lt_cv_deplibs_check_method=pass_all
   11893   ;;
   11894 
   11895 # This must be glibc/ELF.
   11896 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11897   lt_cv_deplibs_check_method=pass_all
   11898   ;;
   11899 
   11900 netbsd*)
   11901   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11902     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11903   else
   11904     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11905   fi
   11906   ;;
   11907 
   11908 newos6*)
   11909   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11910   lt_cv_file_magic_cmd=/usr/bin/file
   11911   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11912   ;;
   11913 
   11914 *nto* | *qnx*)
   11915   lt_cv_deplibs_check_method=pass_all
   11916   ;;
   11917 
   11918 openbsd* | bitrig*)
   11919   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11920     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11921   else
   11922     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11923   fi
   11924   ;;
   11925 
   11926 osf3* | osf4* | osf5*)
   11927   lt_cv_deplibs_check_method=pass_all
   11928   ;;
   11929 
   11930 rdos*)
   11931   lt_cv_deplibs_check_method=pass_all
   11932   ;;
   11933 
   11934 solaris*)
   11935   lt_cv_deplibs_check_method=pass_all
   11936   ;;
   11937 
   11938 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11939   lt_cv_deplibs_check_method=pass_all
   11940   ;;
   11941 
   11942 sysv4 | sysv4.3*)
   11943   case $host_vendor in
   11944   motorola)
   11945     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]'
   11946     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11947     ;;
   11948   ncr)
   11949     lt_cv_deplibs_check_method=pass_all
   11950     ;;
   11951   sequent)
   11952     lt_cv_file_magic_cmd='/bin/file'
   11953     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11954     ;;
   11955   sni)
   11956     lt_cv_file_magic_cmd='/bin/file'
   11957     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11958     lt_cv_file_magic_test_file=/lib/libc.so
   11959     ;;
   11960   siemens)
   11961     lt_cv_deplibs_check_method=pass_all
   11962     ;;
   11963   pc)
   11964     lt_cv_deplibs_check_method=pass_all
   11965     ;;
   11966   esac
   11967   ;;
   11968 
   11969 tpf*)
   11970   lt_cv_deplibs_check_method=pass_all
   11971   ;;
   11972 os2*)
   11973   lt_cv_deplibs_check_method=pass_all
   11974   ;;
   11975 esac
   11976 
   11977 fi
   11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11979 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11980 
   11981 file_magic_glob=
   11982 want_nocaseglob=no
   11983 if test "$build" = "$host"; then
   11984   case $host_os in
   11985   mingw* | pw32*)
   11986     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11987       want_nocaseglob=yes
   11988     else
   11989       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11990     fi
   11991     ;;
   11992   esac
   11993 fi
   11994 
   11995 file_magic_cmd=$lt_cv_file_magic_cmd
   11996 deplibs_check_method=$lt_cv_deplibs_check_method
   11997 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 if test -n "$ac_tool_prefix"; then
   12021   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12022 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12024 $as_echo_n "checking for $ac_word... " >&6; }
   12025 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12026   $as_echo_n "(cached) " >&6
   12027 else
   12028   if test -n "$DLLTOOL"; then
   12029   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12030 else
   12031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12032 for as_dir in $PATH
   12033 do
   12034   IFS=$as_save_IFS
   12035   test -z "$as_dir" && as_dir=.
   12036     for ac_exec_ext in '' $ac_executable_extensions; do
   12037   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12038     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12040     break 2
   12041   fi
   12042 done
   12043   done
   12044 IFS=$as_save_IFS
   12045 
   12046 fi
   12047 fi
   12048 DLLTOOL=$ac_cv_prog_DLLTOOL
   12049 if test -n "$DLLTOOL"; then
   12050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12051 $as_echo "$DLLTOOL" >&6; }
   12052 else
   12053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12054 $as_echo "no" >&6; }
   12055 fi
   12056 
   12057 
   12058 fi
   12059 if test -z "$ac_cv_prog_DLLTOOL"; then
   12060   ac_ct_DLLTOOL=$DLLTOOL
   12061   # Extract the first word of "dlltool", so it can be a program name with args.
   12062 set dummy dlltool; ac_word=$2
   12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12064 $as_echo_n "checking for $ac_word... " >&6; }
   12065 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12066   $as_echo_n "(cached) " >&6
   12067 else
   12068   if test -n "$ac_ct_DLLTOOL"; then
   12069   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12070 else
   12071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12072 for as_dir in $PATH
   12073 do
   12074   IFS=$as_save_IFS
   12075   test -z "$as_dir" && as_dir=.
   12076     for ac_exec_ext in '' $ac_executable_extensions; do
   12077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12078     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12080     break 2
   12081   fi
   12082 done
   12083   done
   12084 IFS=$as_save_IFS
   12085 
   12086 fi
   12087 fi
   12088 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12089 if test -n "$ac_ct_DLLTOOL"; then
   12090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12091 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12092 else
   12093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12094 $as_echo "no" >&6; }
   12095 fi
   12096 
   12097   if test "x$ac_ct_DLLTOOL" = x; then
   12098     DLLTOOL="false"
   12099   else
   12100     case $cross_compiling:$ac_tool_warned in
   12101 yes:)
   12102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12104 ac_tool_warned=yes ;;
   12105 esac
   12106     DLLTOOL=$ac_ct_DLLTOOL
   12107   fi
   12108 else
   12109   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12110 fi
   12111 
   12112 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12124 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12125 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12126   $as_echo_n "(cached) " >&6
   12127 else
   12128   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12129 
   12130 case $host_os in
   12131 cygwin* | mingw* | pw32* | cegcc*)
   12132   # two different shell functions defined in ltmain.sh;
   12133   # decide which one to use based on capabilities of $DLLTOOL
   12134   case `$DLLTOOL --help 2>&1` in
   12135   *--identify-strict*)
   12136     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12137     ;;
   12138   *)
   12139     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12140     ;;
   12141   esac
   12142   ;;
   12143 *)
   12144   # fallback: assume linklib IS sharedlib
   12145   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12146   ;;
   12147 esac
   12148 
   12149 fi
   12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12151 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12152 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12153 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 if test -n "$ac_tool_prefix"; then
   12162   for ac_prog in ar
   12163   do
   12164     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12165 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12167 $as_echo_n "checking for $ac_word... " >&6; }
   12168 if ${ac_cv_prog_AR+:} false; then :
   12169   $as_echo_n "(cached) " >&6
   12170 else
   12171   if test -n "$AR"; then
   12172   ac_cv_prog_AR="$AR" # Let the user override the test.
   12173 else
   12174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12175 for as_dir in $PATH
   12176 do
   12177   IFS=$as_save_IFS
   12178   test -z "$as_dir" && as_dir=.
   12179     for ac_exec_ext in '' $ac_executable_extensions; do
   12180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12181     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12183     break 2
   12184   fi
   12185 done
   12186   done
   12187 IFS=$as_save_IFS
   12188 
   12189 fi
   12190 fi
   12191 AR=$ac_cv_prog_AR
   12192 if test -n "$AR"; then
   12193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12194 $as_echo "$AR" >&6; }
   12195 else
   12196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12197 $as_echo "no" >&6; }
   12198 fi
   12199 
   12200 
   12201     test -n "$AR" && break
   12202   done
   12203 fi
   12204 if test -z "$AR"; then
   12205   ac_ct_AR=$AR
   12206   for ac_prog in ar
   12207 do
   12208   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12209 set dummy $ac_prog; ac_word=$2
   12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12211 $as_echo_n "checking for $ac_word... " >&6; }
   12212 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12213   $as_echo_n "(cached) " >&6
   12214 else
   12215   if test -n "$ac_ct_AR"; then
   12216   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12217 else
   12218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12219 for as_dir in $PATH
   12220 do
   12221   IFS=$as_save_IFS
   12222   test -z "$as_dir" && as_dir=.
   12223     for ac_exec_ext in '' $ac_executable_extensions; do
   12224   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12225     ac_cv_prog_ac_ct_AR="$ac_prog"
   12226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12227     break 2
   12228   fi
   12229 done
   12230   done
   12231 IFS=$as_save_IFS
   12232 
   12233 fi
   12234 fi
   12235 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12236 if test -n "$ac_ct_AR"; then
   12237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12238 $as_echo "$ac_ct_AR" >&6; }
   12239 else
   12240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12241 $as_echo "no" >&6; }
   12242 fi
   12243 
   12244 
   12245   test -n "$ac_ct_AR" && break
   12246 done
   12247 
   12248   if test "x$ac_ct_AR" = x; then
   12249     AR="false"
   12250   else
   12251     case $cross_compiling:$ac_tool_warned in
   12252 yes:)
   12253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12255 ac_tool_warned=yes ;;
   12256 esac
   12257     AR=$ac_ct_AR
   12258   fi
   12259 fi
   12260 
   12261 : ${AR=ar}
   12262 : ${AR_FLAGS=cru}
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12275 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12276 if ${lt_cv_ar_at_file+:} false; then :
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   lt_cv_ar_at_file=no
   12280    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12281 /* end confdefs.h.  */
   12282 
   12283 int
   12284 main ()
   12285 {
   12286 
   12287   ;
   12288   return 0;
   12289 }
   12290 _ACEOF
   12291 if ac_fn_c_try_compile "$LINENO"; then :
   12292   echo conftest.$ac_objext > conftest.lst
   12293       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12294       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12295   (eval $lt_ar_try) 2>&5
   12296   ac_status=$?
   12297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12298   test $ac_status = 0; }
   12299       if test 0 -eq "$ac_status"; then
   12300 	# Ensure the archiver fails upon bogus file names.
   12301 	rm -f conftest.$ac_objext libconftest.a
   12302 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12303   (eval $lt_ar_try) 2>&5
   12304   ac_status=$?
   12305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12306   test $ac_status = 0; }
   12307 	if test 0 -ne "$ac_status"; then
   12308           lt_cv_ar_at_file=@
   12309         fi
   12310       fi
   12311       rm -f conftest.* libconftest.a
   12312 
   12313 fi
   12314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12315 
   12316 fi
   12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12318 $as_echo "$lt_cv_ar_at_file" >&6; }
   12319 
   12320 if test no = "$lt_cv_ar_at_file"; then
   12321   archiver_list_spec=
   12322 else
   12323   archiver_list_spec=$lt_cv_ar_at_file
   12324 fi
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 if test -n "$ac_tool_prefix"; then
   12333   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12334 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12336 $as_echo_n "checking for $ac_word... " >&6; }
   12337 if ${ac_cv_prog_STRIP+:} false; then :
   12338   $as_echo_n "(cached) " >&6
   12339 else
   12340   if test -n "$STRIP"; then
   12341   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12342 else
   12343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12344 for as_dir in $PATH
   12345 do
   12346   IFS=$as_save_IFS
   12347   test -z "$as_dir" && as_dir=.
   12348     for ac_exec_ext in '' $ac_executable_extensions; do
   12349   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12350     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12352     break 2
   12353   fi
   12354 done
   12355   done
   12356 IFS=$as_save_IFS
   12357 
   12358 fi
   12359 fi
   12360 STRIP=$ac_cv_prog_STRIP
   12361 if test -n "$STRIP"; then
   12362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12363 $as_echo "$STRIP" >&6; }
   12364 else
   12365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12366 $as_echo "no" >&6; }
   12367 fi
   12368 
   12369 
   12370 fi
   12371 if test -z "$ac_cv_prog_STRIP"; then
   12372   ac_ct_STRIP=$STRIP
   12373   # Extract the first word of "strip", so it can be a program name with args.
   12374 set dummy strip; ac_word=$2
   12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12376 $as_echo_n "checking for $ac_word... " >&6; }
   12377 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12378   $as_echo_n "(cached) " >&6
   12379 else
   12380   if test -n "$ac_ct_STRIP"; then
   12381   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12382 else
   12383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12384 for as_dir in $PATH
   12385 do
   12386   IFS=$as_save_IFS
   12387   test -z "$as_dir" && as_dir=.
   12388     for ac_exec_ext in '' $ac_executable_extensions; do
   12389   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12390     ac_cv_prog_ac_ct_STRIP="strip"
   12391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12392     break 2
   12393   fi
   12394 done
   12395   done
   12396 IFS=$as_save_IFS
   12397 
   12398 fi
   12399 fi
   12400 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12401 if test -n "$ac_ct_STRIP"; then
   12402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12403 $as_echo "$ac_ct_STRIP" >&6; }
   12404 else
   12405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12406 $as_echo "no" >&6; }
   12407 fi
   12408 
   12409   if test "x$ac_ct_STRIP" = x; then
   12410     STRIP=":"
   12411   else
   12412     case $cross_compiling:$ac_tool_warned in
   12413 yes:)
   12414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12416 ac_tool_warned=yes ;;
   12417 esac
   12418     STRIP=$ac_ct_STRIP
   12419   fi
   12420 else
   12421   STRIP="$ac_cv_prog_STRIP"
   12422 fi
   12423 
   12424 test -z "$STRIP" && STRIP=:
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 if test -n "$ac_tool_prefix"; then
   12432   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12433 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12435 $as_echo_n "checking for $ac_word... " >&6; }
   12436 if ${ac_cv_prog_RANLIB+:} false; then :
   12437   $as_echo_n "(cached) " >&6
   12438 else
   12439   if test -n "$RANLIB"; then
   12440   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12441 else
   12442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12443 for as_dir in $PATH
   12444 do
   12445   IFS=$as_save_IFS
   12446   test -z "$as_dir" && as_dir=.
   12447     for ac_exec_ext in '' $ac_executable_extensions; do
   12448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12449     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12451     break 2
   12452   fi
   12453 done
   12454   done
   12455 IFS=$as_save_IFS
   12456 
   12457 fi
   12458 fi
   12459 RANLIB=$ac_cv_prog_RANLIB
   12460 if test -n "$RANLIB"; then
   12461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12462 $as_echo "$RANLIB" >&6; }
   12463 else
   12464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12465 $as_echo "no" >&6; }
   12466 fi
   12467 
   12468 
   12469 fi
   12470 if test -z "$ac_cv_prog_RANLIB"; then
   12471   ac_ct_RANLIB=$RANLIB
   12472   # Extract the first word of "ranlib", so it can be a program name with args.
   12473 set dummy ranlib; ac_word=$2
   12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12475 $as_echo_n "checking for $ac_word... " >&6; }
   12476 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12477   $as_echo_n "(cached) " >&6
   12478 else
   12479   if test -n "$ac_ct_RANLIB"; then
   12480   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12481 else
   12482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12483 for as_dir in $PATH
   12484 do
   12485   IFS=$as_save_IFS
   12486   test -z "$as_dir" && as_dir=.
   12487     for ac_exec_ext in '' $ac_executable_extensions; do
   12488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12489     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12491     break 2
   12492   fi
   12493 done
   12494   done
   12495 IFS=$as_save_IFS
   12496 
   12497 fi
   12498 fi
   12499 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12500 if test -n "$ac_ct_RANLIB"; then
   12501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12502 $as_echo "$ac_ct_RANLIB" >&6; }
   12503 else
   12504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12505 $as_echo "no" >&6; }
   12506 fi
   12507 
   12508   if test "x$ac_ct_RANLIB" = x; then
   12509     RANLIB=":"
   12510   else
   12511     case $cross_compiling:$ac_tool_warned in
   12512 yes:)
   12513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12515 ac_tool_warned=yes ;;
   12516 esac
   12517     RANLIB=$ac_ct_RANLIB
   12518   fi
   12519 else
   12520   RANLIB="$ac_cv_prog_RANLIB"
   12521 fi
   12522 
   12523 test -z "$RANLIB" && RANLIB=:
   12524 
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 # Determine commands to create old-style static archives.
   12531 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12532 old_postinstall_cmds='chmod 644 $oldlib'
   12533 old_postuninstall_cmds=
   12534 
   12535 if test -n "$RANLIB"; then
   12536   case $host_os in
   12537   bitrig* | openbsd*)
   12538     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12539     ;;
   12540   *)
   12541     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12542     ;;
   12543   esac
   12544   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12545 fi
   12546 
   12547 case $host_os in
   12548   darwin*)
   12549     lock_old_archive_extraction=yes ;;
   12550   *)
   12551     lock_old_archive_extraction=no ;;
   12552 esac
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 # If no C compiler was specified, use CC.
   12593 LTCC=${LTCC-"$CC"}
   12594 
   12595 # If no C compiler flags were specified, use CFLAGS.
   12596 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12597 
   12598 # Allow CC to be a program name with arguments.
   12599 compiler=$CC
   12600 
   12601 
   12602 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12604 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12605 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12606   $as_echo_n "(cached) " >&6
   12607 else
   12608 
   12609 # These are sane defaults that work on at least a few old systems.
   12610 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12611 
   12612 # Character class describing NM global symbol codes.
   12613 symcode='[BCDEGRST]'
   12614 
   12615 # Regexp to match symbols that can be accessed directly from C.
   12616 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12617 
   12618 # Define system-specific variables.
   12619 case $host_os in
   12620 aix*)
   12621   symcode='[BCDT]'
   12622   ;;
   12623 cygwin* | mingw* | pw32* | cegcc*)
   12624   symcode='[ABCDGISTW]'
   12625   ;;
   12626 hpux*)
   12627   if test ia64 = "$host_cpu"; then
   12628     symcode='[ABCDEGRST]'
   12629   fi
   12630   ;;
   12631 irix* | nonstopux*)
   12632   symcode='[BCDEGRST]'
   12633   ;;
   12634 osf*)
   12635   symcode='[BCDEGQRST]'
   12636   ;;
   12637 solaris*)
   12638   symcode='[BDRT]'
   12639   ;;
   12640 sco3.2v5*)
   12641   symcode='[DT]'
   12642   ;;
   12643 sysv4.2uw2*)
   12644   symcode='[DT]'
   12645   ;;
   12646 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12647   symcode='[ABDT]'
   12648   ;;
   12649 sysv4)
   12650   symcode='[DFNSTU]'
   12651   ;;
   12652 esac
   12653 
   12654 # If we're using GNU nm, then use its standard symbol codes.
   12655 case `$NM -V 2>&1` in
   12656 *GNU* | *'with BFD'*)
   12657   symcode='[ABCDGIRSTW]' ;;
   12658 esac
   12659 
   12660 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12661   # Gets list of data symbols to import.
   12662   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12663   # Adjust the below global symbol transforms to fixup imported variables.
   12664   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12665   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12666   lt_c_name_lib_hook="\
   12667   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12668   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12669 else
   12670   # Disable hooks by default.
   12671   lt_cv_sys_global_symbol_to_import=
   12672   lt_cdecl_hook=
   12673   lt_c_name_hook=
   12674   lt_c_name_lib_hook=
   12675 fi
   12676 
   12677 # Transform an extracted symbol line into a proper C declaration.
   12678 # Some systems (esp. on ia64) link data and code symbols differently,
   12679 # so use this general approach.
   12680 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12681 $lt_cdecl_hook\
   12682 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12683 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12684 
   12685 # Transform an extracted symbol line into symbol name and symbol address
   12686 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12687 $lt_c_name_hook\
   12688 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12689 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12690 
   12691 # Transform an extracted symbol line into symbol name with lib prefix and
   12692 # symbol address.
   12693 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12694 $lt_c_name_lib_hook\
   12695 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12696 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12697 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12698 
   12699 # Handle CRLF in mingw tool chain
   12700 opt_cr=
   12701 case $build_os in
   12702 mingw*)
   12703   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12704   ;;
   12705 esac
   12706 
   12707 # Try without a prefix underscore, then with it.
   12708 for ac_symprfx in "" "_"; do
   12709 
   12710   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12711   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12712 
   12713   # Write the raw and C identifiers.
   12714   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12715     # Fake it for dumpbin and say T for any non-static function,
   12716     # D for any global variable and I for any imported variable.
   12717     # Also find C++ and __fastcall symbols from MSVC++,
   12718     # which start with @ or ?.
   12719     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12720 "     {last_section=section; section=\$ 3};"\
   12721 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12722 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12723 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12724 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12725 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12726 "     \$ 0!~/External *\|/{next};"\
   12727 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12728 "     {if(hide[section]) next};"\
   12729 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12730 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12731 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12732 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12733 "     ' prfx=^$ac_symprfx"
   12734   else
   12735     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12736   fi
   12737   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12738 
   12739   # Check to see that the pipe works correctly.
   12740   pipe_works=no
   12741 
   12742   rm -f conftest*
   12743   cat > conftest.$ac_ext <<_LT_EOF
   12744 #ifdef __cplusplus
   12745 extern "C" {
   12746 #endif
   12747 char nm_test_var;
   12748 void nm_test_func(void);
   12749 void nm_test_func(void){}
   12750 #ifdef __cplusplus
   12751 }
   12752 #endif
   12753 int main(){nm_test_var='a';nm_test_func();return(0);}
   12754 _LT_EOF
   12755 
   12756   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12757   (eval $ac_compile) 2>&5
   12758   ac_status=$?
   12759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12760   test $ac_status = 0; }; then
   12761     # Now try to grab the symbols.
   12762     nlist=conftest.nm
   12763     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12764   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12765   ac_status=$?
   12766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12767   test $ac_status = 0; } && test -s "$nlist"; then
   12768       # Try sorting and uniquifying the output.
   12769       if sort "$nlist" | uniq > "$nlist"T; then
   12770 	mv -f "$nlist"T "$nlist"
   12771       else
   12772 	rm -f "$nlist"T
   12773       fi
   12774 
   12775       # Make sure that we snagged all the symbols we need.
   12776       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12777 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12778 	  cat <<_LT_EOF > conftest.$ac_ext
   12779 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12780 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12781 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12782    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12783 # define LT_DLSYM_CONST
   12784 #elif defined __osf__
   12785 /* This system does not cope well with relocations in const data.  */
   12786 # define LT_DLSYM_CONST
   12787 #else
   12788 # define LT_DLSYM_CONST const
   12789 #endif
   12790 
   12791 #ifdef __cplusplus
   12792 extern "C" {
   12793 #endif
   12794 
   12795 _LT_EOF
   12796 	  # Now generate the symbol file.
   12797 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12798 
   12799 	  cat <<_LT_EOF >> conftest.$ac_ext
   12800 
   12801 /* The mapping between symbol names and symbols.  */
   12802 LT_DLSYM_CONST struct {
   12803   const char *name;
   12804   void       *address;
   12805 }
   12806 lt__PROGRAM__LTX_preloaded_symbols[] =
   12807 {
   12808   { "@PROGRAM@", (void *) 0 },
   12809 _LT_EOF
   12810 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12811 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12812   {0, (void *) 0}
   12813 };
   12814 
   12815 /* This works around a problem in FreeBSD linker */
   12816 #ifdef FREEBSD_WORKAROUND
   12817 static const void *lt_preloaded_setup() {
   12818   return lt__PROGRAM__LTX_preloaded_symbols;
   12819 }
   12820 #endif
   12821 
   12822 #ifdef __cplusplus
   12823 }
   12824 #endif
   12825 _LT_EOF
   12826 	  # Now try linking the two files.
   12827 	  mv conftest.$ac_objext conftstm.$ac_objext
   12828 	  lt_globsym_save_LIBS=$LIBS
   12829 	  lt_globsym_save_CFLAGS=$CFLAGS
   12830 	  LIBS=conftstm.$ac_objext
   12831 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12832 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12833   (eval $ac_link) 2>&5
   12834   ac_status=$?
   12835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12836   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12837 	    pipe_works=yes
   12838 	  fi
   12839 	  LIBS=$lt_globsym_save_LIBS
   12840 	  CFLAGS=$lt_globsym_save_CFLAGS
   12841 	else
   12842 	  echo "cannot find nm_test_func in $nlist" >&5
   12843 	fi
   12844       else
   12845 	echo "cannot find nm_test_var in $nlist" >&5
   12846       fi
   12847     else
   12848       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12849     fi
   12850   else
   12851     echo "$progname: failed program was:" >&5
   12852     cat conftest.$ac_ext >&5
   12853   fi
   12854   rm -rf conftest* conftst*
   12855 
   12856   # Do not use the global_symbol_pipe unless it works.
   12857   if test yes = "$pipe_works"; then
   12858     break
   12859   else
   12860     lt_cv_sys_global_symbol_pipe=
   12861   fi
   12862 done
   12863 
   12864 fi
   12865 
   12866 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12867   lt_cv_sys_global_symbol_to_cdecl=
   12868 fi
   12869 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12871 $as_echo "failed" >&6; }
   12872 else
   12873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12874 $as_echo "ok" >&6; }
   12875 fi
   12876 
   12877 # Response file support.
   12878 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12879   nm_file_list_spec='@'
   12880 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12881   nm_file_list_spec='@'
   12882 fi
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12921 $as_echo_n "checking for sysroot... " >&6; }
   12922 
   12923 # Check whether --with-sysroot was given.
   12924 if test "${with_sysroot+set}" = set; then :
   12925   withval=$with_sysroot;
   12926 else
   12927   with_sysroot=no
   12928 fi
   12929 
   12930 
   12931 lt_sysroot=
   12932 case $with_sysroot in #(
   12933  yes)
   12934    if test yes = "$GCC"; then
   12935      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12936    fi
   12937    ;; #(
   12938  /*)
   12939    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12940    ;; #(
   12941  no|'')
   12942    ;; #(
   12943  *)
   12944    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   12945 $as_echo "$with_sysroot" >&6; }
   12946    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12947    ;;
   12948 esac
   12949 
   12950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12951 $as_echo "${lt_sysroot:-no}" >&6; }
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   12958 $as_echo_n "checking for a working dd... " >&6; }
   12959 if ${ac_cv_path_lt_DD+:} false; then :
   12960   $as_echo_n "(cached) " >&6
   12961 else
   12962   printf 0123456789abcdef0123456789abcdef >conftest.i
   12963 cat conftest.i conftest.i >conftest2.i
   12964 : ${lt_DD:=$DD}
   12965 if test -z "$lt_DD"; then
   12966   ac_path_lt_DD_found=false
   12967   # Loop through the user's path and test for each of PROGNAME-LIST
   12968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12969 for as_dir in $PATH
   12970 do
   12971   IFS=$as_save_IFS
   12972   test -z "$as_dir" && as_dir=.
   12973     for ac_prog in dd; do
   12974     for ac_exec_ext in '' $ac_executable_extensions; do
   12975       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   12976       as_fn_executable_p "$ac_path_lt_DD" || continue
   12977 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   12978   cmp -s conftest.i conftest.out \
   12979   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   12980 fi
   12981       $ac_path_lt_DD_found && break 3
   12982     done
   12983   done
   12984   done
   12985 IFS=$as_save_IFS
   12986   if test -z "$ac_cv_path_lt_DD"; then
   12987     :
   12988   fi
   12989 else
   12990   ac_cv_path_lt_DD=$lt_DD
   12991 fi
   12992 
   12993 rm -f conftest.i conftest2.i conftest.out
   12994 fi
   12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   12996 $as_echo "$ac_cv_path_lt_DD" >&6; }
   12997 
   12998 
   12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13000 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13001 if ${lt_cv_truncate_bin+:} false; then :
   13002   $as_echo_n "(cached) " >&6
   13003 else
   13004   printf 0123456789abcdef0123456789abcdef >conftest.i
   13005 cat conftest.i conftest.i >conftest2.i
   13006 lt_cv_truncate_bin=
   13007 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13008   cmp -s conftest.i conftest.out \
   13009   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13010 fi
   13011 rm -f conftest.i conftest2.i conftest.out
   13012 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13013 fi
   13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13015 $as_echo "$lt_cv_truncate_bin" >&6; }
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13024 func_cc_basename ()
   13025 {
   13026     for cc_temp in $*""; do
   13027       case $cc_temp in
   13028         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13029         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13030         \-*) ;;
   13031         *) break;;
   13032       esac
   13033     done
   13034     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13035 }
   13036 
   13037 # Check whether --enable-libtool-lock was given.
   13038 if test "${enable_libtool_lock+set}" = set; then :
   13039   enableval=$enable_libtool_lock;
   13040 fi
   13041 
   13042 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13043 
   13044 # Some flags need to be propagated to the compiler or linker for good
   13045 # libtool support.
   13046 case $host in
   13047 ia64-*-hpux*)
   13048   # Find out what ABI is being produced by ac_compile, and set mode
   13049   # options accordingly.
   13050   echo 'int i;' > conftest.$ac_ext
   13051   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13052   (eval $ac_compile) 2>&5
   13053   ac_status=$?
   13054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13055   test $ac_status = 0; }; then
   13056     case `/usr/bin/file conftest.$ac_objext` in
   13057       *ELF-32*)
   13058 	HPUX_IA64_MODE=32
   13059 	;;
   13060       *ELF-64*)
   13061 	HPUX_IA64_MODE=64
   13062 	;;
   13063     esac
   13064   fi
   13065   rm -rf conftest*
   13066   ;;
   13067 *-*-irix6*)
   13068   # Find out what ABI is being produced by ac_compile, and set linker
   13069   # options accordingly.
   13070   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13071   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13072   (eval $ac_compile) 2>&5
   13073   ac_status=$?
   13074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13075   test $ac_status = 0; }; then
   13076     if test yes = "$lt_cv_prog_gnu_ld"; then
   13077       case `/usr/bin/file conftest.$ac_objext` in
   13078 	*32-bit*)
   13079 	  LD="${LD-ld} -melf32bsmip"
   13080 	  ;;
   13081 	*N32*)
   13082 	  LD="${LD-ld} -melf32bmipn32"
   13083 	  ;;
   13084 	*64-bit*)
   13085 	  LD="${LD-ld} -melf64bmip"
   13086 	;;
   13087       esac
   13088     else
   13089       case `/usr/bin/file conftest.$ac_objext` in
   13090 	*32-bit*)
   13091 	  LD="${LD-ld} -32"
   13092 	  ;;
   13093 	*N32*)
   13094 	  LD="${LD-ld} -n32"
   13095 	  ;;
   13096 	*64-bit*)
   13097 	  LD="${LD-ld} -64"
   13098 	  ;;
   13099       esac
   13100     fi
   13101   fi
   13102   rm -rf conftest*
   13103   ;;
   13104 
   13105 mips64*-*linux*)
   13106   # Find out what ABI is being produced by ac_compile, and set linker
   13107   # options accordingly.
   13108   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13109   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13110   (eval $ac_compile) 2>&5
   13111   ac_status=$?
   13112   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13113   test $ac_status = 0; }; then
   13114     emul=elf
   13115     case `/usr/bin/file conftest.$ac_objext` in
   13116       *32-bit*)
   13117 	emul="${emul}32"
   13118 	;;
   13119       *64-bit*)
   13120 	emul="${emul}64"
   13121 	;;
   13122     esac
   13123     case `/usr/bin/file conftest.$ac_objext` in
   13124       *MSB*)
   13125 	emul="${emul}btsmip"
   13126 	;;
   13127       *LSB*)
   13128 	emul="${emul}ltsmip"
   13129 	;;
   13130     esac
   13131     case `/usr/bin/file conftest.$ac_objext` in
   13132       *N32*)
   13133 	emul="${emul}n32"
   13134 	;;
   13135     esac
   13136     LD="${LD-ld} -m $emul"
   13137   fi
   13138   rm -rf conftest*
   13139   ;;
   13140 
   13141 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13142 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13143   # Find out what ABI is being produced by ac_compile, and set linker
   13144   # options accordingly.  Note that the listed cases only cover the
   13145   # situations where additional linker options are needed (such as when
   13146   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13147   # vice versa); the common cases where no linker options are needed do
   13148   # not appear in the list.
   13149   echo 'int i;' > conftest.$ac_ext
   13150   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13151   (eval $ac_compile) 2>&5
   13152   ac_status=$?
   13153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13154   test $ac_status = 0; }; then
   13155     case `/usr/bin/file conftest.o` in
   13156       *32-bit*)
   13157 	case $host in
   13158 	  x86_64-*kfreebsd*-gnu)
   13159 	    LD="${LD-ld} -m elf_i386_fbsd"
   13160 	    ;;
   13161 	  x86_64-*linux*)
   13162 	    case `/usr/bin/file conftest.o` in
   13163 	      *x86-64*)
   13164 		LD="${LD-ld} -m elf32_x86_64"
   13165 		;;
   13166 	      *)
   13167 		LD="${LD-ld} -m elf_i386"
   13168 		;;
   13169 	    esac
   13170 	    ;;
   13171 	  powerpc64le-*linux*)
   13172 	    LD="${LD-ld} -m elf32lppclinux"
   13173 	    ;;
   13174 	  powerpc64-*linux*)
   13175 	    LD="${LD-ld} -m elf32ppclinux"
   13176 	    ;;
   13177 	  s390x-*linux*)
   13178 	    LD="${LD-ld} -m elf_s390"
   13179 	    ;;
   13180 	  sparc64-*linux*)
   13181 	    LD="${LD-ld} -m elf32_sparc"
   13182 	    ;;
   13183 	esac
   13184 	;;
   13185       *64-bit*)
   13186 	case $host in
   13187 	  x86_64-*kfreebsd*-gnu)
   13188 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13189 	    ;;
   13190 	  x86_64-*linux*)
   13191 	    LD="${LD-ld} -m elf_x86_64"
   13192 	    ;;
   13193 	  powerpcle-*linux*)
   13194 	    LD="${LD-ld} -m elf64lppc"
   13195 	    ;;
   13196 	  powerpc-*linux*)
   13197 	    LD="${LD-ld} -m elf64ppc"
   13198 	    ;;
   13199 	  s390*-*linux*|s390*-*tpf*)
   13200 	    LD="${LD-ld} -m elf64_s390"
   13201 	    ;;
   13202 	  sparc*-*linux*)
   13203 	    LD="${LD-ld} -m elf64_sparc"
   13204 	    ;;
   13205 	esac
   13206 	;;
   13207     esac
   13208   fi
   13209   rm -rf conftest*
   13210   ;;
   13211 
   13212 *-*-sco3.2v5*)
   13213   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13214   SAVE_CFLAGS=$CFLAGS
   13215   CFLAGS="$CFLAGS -belf"
   13216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13217 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13218 if ${lt_cv_cc_needs_belf+:} false; then :
   13219   $as_echo_n "(cached) " >&6
   13220 else
   13221   ac_ext=c
   13222 ac_cpp='$CPP $CPPFLAGS'
   13223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13226 
   13227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13228 /* end confdefs.h.  */
   13229 
   13230 int
   13231 main ()
   13232 {
   13233 
   13234   ;
   13235   return 0;
   13236 }
   13237 _ACEOF
   13238 if ac_fn_c_try_link "$LINENO"; then :
   13239   lt_cv_cc_needs_belf=yes
   13240 else
   13241   lt_cv_cc_needs_belf=no
   13242 fi
   13243 rm -f core conftest.err conftest.$ac_objext \
   13244     conftest$ac_exeext conftest.$ac_ext
   13245      ac_ext=c
   13246 ac_cpp='$CPP $CPPFLAGS'
   13247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13250 
   13251 fi
   13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13253 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13254   if test yes != "$lt_cv_cc_needs_belf"; then
   13255     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13256     CFLAGS=$SAVE_CFLAGS
   13257   fi
   13258   ;;
   13259 *-*solaris*)
   13260   # Find out what ABI is being produced by ac_compile, and set linker
   13261   # options accordingly.
   13262   echo 'int i;' > conftest.$ac_ext
   13263   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13264   (eval $ac_compile) 2>&5
   13265   ac_status=$?
   13266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13267   test $ac_status = 0; }; then
   13268     case `/usr/bin/file conftest.o` in
   13269     *64-bit*)
   13270       case $lt_cv_prog_gnu_ld in
   13271       yes*)
   13272         case $host in
   13273         i?86-*-solaris*|x86_64-*-solaris*)
   13274           LD="${LD-ld} -m elf_x86_64"
   13275           ;;
   13276         sparc*-*-solaris*)
   13277           LD="${LD-ld} -m elf64_sparc"
   13278           ;;
   13279         esac
   13280         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13281         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13282           LD=${LD-ld}_sol2
   13283         fi
   13284         ;;
   13285       *)
   13286 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13287 	  LD="${LD-ld} -64"
   13288 	fi
   13289 	;;
   13290       esac
   13291       ;;
   13292     esac
   13293   fi
   13294   rm -rf conftest*
   13295   ;;
   13296 esac
   13297 
   13298 need_locks=$enable_libtool_lock
   13299 
   13300 if test -n "$ac_tool_prefix"; then
   13301   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13302 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13304 $as_echo_n "checking for $ac_word... " >&6; }
   13305 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13306   $as_echo_n "(cached) " >&6
   13307 else
   13308   if test -n "$MANIFEST_TOOL"; then
   13309   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13310 else
   13311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13312 for as_dir in $PATH
   13313 do
   13314   IFS=$as_save_IFS
   13315   test -z "$as_dir" && as_dir=.
   13316     for ac_exec_ext in '' $ac_executable_extensions; do
   13317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13318     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13320     break 2
   13321   fi
   13322 done
   13323   done
   13324 IFS=$as_save_IFS
   13325 
   13326 fi
   13327 fi
   13328 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13329 if test -n "$MANIFEST_TOOL"; then
   13330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13331 $as_echo "$MANIFEST_TOOL" >&6; }
   13332 else
   13333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13334 $as_echo "no" >&6; }
   13335 fi
   13336 
   13337 
   13338 fi
   13339 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13340   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13341   # Extract the first word of "mt", so it can be a program name with args.
   13342 set dummy mt; ac_word=$2
   13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13344 $as_echo_n "checking for $ac_word... " >&6; }
   13345 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13346   $as_echo_n "(cached) " >&6
   13347 else
   13348   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13349   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13350 else
   13351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13352 for as_dir in $PATH
   13353 do
   13354   IFS=$as_save_IFS
   13355   test -z "$as_dir" && as_dir=.
   13356     for ac_exec_ext in '' $ac_executable_extensions; do
   13357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13358     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13360     break 2
   13361   fi
   13362 done
   13363   done
   13364 IFS=$as_save_IFS
   13365 
   13366 fi
   13367 fi
   13368 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13369 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13371 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13372 else
   13373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13374 $as_echo "no" >&6; }
   13375 fi
   13376 
   13377   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13378     MANIFEST_TOOL=":"
   13379   else
   13380     case $cross_compiling:$ac_tool_warned in
   13381 yes:)
   13382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13384 ac_tool_warned=yes ;;
   13385 esac
   13386     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13387   fi
   13388 else
   13389   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13390 fi
   13391 
   13392 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13394 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13395 if ${lt_cv_path_mainfest_tool+:} false; then :
   13396   $as_echo_n "(cached) " >&6
   13397 else
   13398   lt_cv_path_mainfest_tool=no
   13399   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13400   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13401   cat conftest.err >&5
   13402   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13403     lt_cv_path_mainfest_tool=yes
   13404   fi
   13405   rm -f conftest*
   13406 fi
   13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13408 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13409 if test yes != "$lt_cv_path_mainfest_tool"; then
   13410   MANIFEST_TOOL=:
   13411 fi
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418   case $host_os in
   13419     rhapsody* | darwin*)
   13420     if test -n "$ac_tool_prefix"; then
   13421   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13422 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13424 $as_echo_n "checking for $ac_word... " >&6; }
   13425 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13426   $as_echo_n "(cached) " >&6
   13427 else
   13428   if test -n "$DSYMUTIL"; then
   13429   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13430 else
   13431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13432 for as_dir in $PATH
   13433 do
   13434   IFS=$as_save_IFS
   13435   test -z "$as_dir" && as_dir=.
   13436     for ac_exec_ext in '' $ac_executable_extensions; do
   13437   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13438     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13440     break 2
   13441   fi
   13442 done
   13443   done
   13444 IFS=$as_save_IFS
   13445 
   13446 fi
   13447 fi
   13448 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13449 if test -n "$DSYMUTIL"; then
   13450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13451 $as_echo "$DSYMUTIL" >&6; }
   13452 else
   13453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13454 $as_echo "no" >&6; }
   13455 fi
   13456 
   13457 
   13458 fi
   13459 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13460   ac_ct_DSYMUTIL=$DSYMUTIL
   13461   # Extract the first word of "dsymutil", so it can be a program name with args.
   13462 set dummy dsymutil; ac_word=$2
   13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13464 $as_echo_n "checking for $ac_word... " >&6; }
   13465 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13466   $as_echo_n "(cached) " >&6
   13467 else
   13468   if test -n "$ac_ct_DSYMUTIL"; then
   13469   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13470 else
   13471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13472 for as_dir in $PATH
   13473 do
   13474   IFS=$as_save_IFS
   13475   test -z "$as_dir" && as_dir=.
   13476     for ac_exec_ext in '' $ac_executable_extensions; do
   13477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13478     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13480     break 2
   13481   fi
   13482 done
   13483   done
   13484 IFS=$as_save_IFS
   13485 
   13486 fi
   13487 fi
   13488 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13489 if test -n "$ac_ct_DSYMUTIL"; then
   13490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13491 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13492 else
   13493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13494 $as_echo "no" >&6; }
   13495 fi
   13496 
   13497   if test "x$ac_ct_DSYMUTIL" = x; then
   13498     DSYMUTIL=":"
   13499   else
   13500     case $cross_compiling:$ac_tool_warned in
   13501 yes:)
   13502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13504 ac_tool_warned=yes ;;
   13505 esac
   13506     DSYMUTIL=$ac_ct_DSYMUTIL
   13507   fi
   13508 else
   13509   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13510 fi
   13511 
   13512     if test -n "$ac_tool_prefix"; then
   13513   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13514 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13516 $as_echo_n "checking for $ac_word... " >&6; }
   13517 if ${ac_cv_prog_NMEDIT+:} false; then :
   13518   $as_echo_n "(cached) " >&6
   13519 else
   13520   if test -n "$NMEDIT"; then
   13521   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13522 else
   13523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13524 for as_dir in $PATH
   13525 do
   13526   IFS=$as_save_IFS
   13527   test -z "$as_dir" && as_dir=.
   13528     for ac_exec_ext in '' $ac_executable_extensions; do
   13529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13530     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13532     break 2
   13533   fi
   13534 done
   13535   done
   13536 IFS=$as_save_IFS
   13537 
   13538 fi
   13539 fi
   13540 NMEDIT=$ac_cv_prog_NMEDIT
   13541 if test -n "$NMEDIT"; then
   13542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13543 $as_echo "$NMEDIT" >&6; }
   13544 else
   13545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13546 $as_echo "no" >&6; }
   13547 fi
   13548 
   13549 
   13550 fi
   13551 if test -z "$ac_cv_prog_NMEDIT"; then
   13552   ac_ct_NMEDIT=$NMEDIT
   13553   # Extract the first word of "nmedit", so it can be a program name with args.
   13554 set dummy nmedit; ac_word=$2
   13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13556 $as_echo_n "checking for $ac_word... " >&6; }
   13557 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13558   $as_echo_n "(cached) " >&6
   13559 else
   13560   if test -n "$ac_ct_NMEDIT"; then
   13561   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13562 else
   13563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13564 for as_dir in $PATH
   13565 do
   13566   IFS=$as_save_IFS
   13567   test -z "$as_dir" && as_dir=.
   13568     for ac_exec_ext in '' $ac_executable_extensions; do
   13569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13570     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13572     break 2
   13573   fi
   13574 done
   13575   done
   13576 IFS=$as_save_IFS
   13577 
   13578 fi
   13579 fi
   13580 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13581 if test -n "$ac_ct_NMEDIT"; then
   13582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13583 $as_echo "$ac_ct_NMEDIT" >&6; }
   13584 else
   13585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13586 $as_echo "no" >&6; }
   13587 fi
   13588 
   13589   if test "x$ac_ct_NMEDIT" = x; then
   13590     NMEDIT=":"
   13591   else
   13592     case $cross_compiling:$ac_tool_warned in
   13593 yes:)
   13594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13596 ac_tool_warned=yes ;;
   13597 esac
   13598     NMEDIT=$ac_ct_NMEDIT
   13599   fi
   13600 else
   13601   NMEDIT="$ac_cv_prog_NMEDIT"
   13602 fi
   13603 
   13604     if test -n "$ac_tool_prefix"; then
   13605   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13606 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13608 $as_echo_n "checking for $ac_word... " >&6; }
   13609 if ${ac_cv_prog_LIPO+:} false; then :
   13610   $as_echo_n "(cached) " >&6
   13611 else
   13612   if test -n "$LIPO"; then
   13613   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13614 else
   13615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13616 for as_dir in $PATH
   13617 do
   13618   IFS=$as_save_IFS
   13619   test -z "$as_dir" && as_dir=.
   13620     for ac_exec_ext in '' $ac_executable_extensions; do
   13621   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13622     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13624     break 2
   13625   fi
   13626 done
   13627   done
   13628 IFS=$as_save_IFS
   13629 
   13630 fi
   13631 fi
   13632 LIPO=$ac_cv_prog_LIPO
   13633 if test -n "$LIPO"; then
   13634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13635 $as_echo "$LIPO" >&6; }
   13636 else
   13637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13638 $as_echo "no" >&6; }
   13639 fi
   13640 
   13641 
   13642 fi
   13643 if test -z "$ac_cv_prog_LIPO"; then
   13644   ac_ct_LIPO=$LIPO
   13645   # Extract the first word of "lipo", so it can be a program name with args.
   13646 set dummy lipo; ac_word=$2
   13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13648 $as_echo_n "checking for $ac_word... " >&6; }
   13649 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13650   $as_echo_n "(cached) " >&6
   13651 else
   13652   if test -n "$ac_ct_LIPO"; then
   13653   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13654 else
   13655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13656 for as_dir in $PATH
   13657 do
   13658   IFS=$as_save_IFS
   13659   test -z "$as_dir" && as_dir=.
   13660     for ac_exec_ext in '' $ac_executable_extensions; do
   13661   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13662     ac_cv_prog_ac_ct_LIPO="lipo"
   13663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13664     break 2
   13665   fi
   13666 done
   13667   done
   13668 IFS=$as_save_IFS
   13669 
   13670 fi
   13671 fi
   13672 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13673 if test -n "$ac_ct_LIPO"; then
   13674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13675 $as_echo "$ac_ct_LIPO" >&6; }
   13676 else
   13677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13678 $as_echo "no" >&6; }
   13679 fi
   13680 
   13681   if test "x$ac_ct_LIPO" = x; then
   13682     LIPO=":"
   13683   else
   13684     case $cross_compiling:$ac_tool_warned in
   13685 yes:)
   13686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13688 ac_tool_warned=yes ;;
   13689 esac
   13690     LIPO=$ac_ct_LIPO
   13691   fi
   13692 else
   13693   LIPO="$ac_cv_prog_LIPO"
   13694 fi
   13695 
   13696     if test -n "$ac_tool_prefix"; then
   13697   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13698 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13700 $as_echo_n "checking for $ac_word... " >&6; }
   13701 if ${ac_cv_prog_OTOOL+:} false; then :
   13702   $as_echo_n "(cached) " >&6
   13703 else
   13704   if test -n "$OTOOL"; then
   13705   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13706 else
   13707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13708 for as_dir in $PATH
   13709 do
   13710   IFS=$as_save_IFS
   13711   test -z "$as_dir" && as_dir=.
   13712     for ac_exec_ext in '' $ac_executable_extensions; do
   13713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13714     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13716     break 2
   13717   fi
   13718 done
   13719   done
   13720 IFS=$as_save_IFS
   13721 
   13722 fi
   13723 fi
   13724 OTOOL=$ac_cv_prog_OTOOL
   13725 if test -n "$OTOOL"; then
   13726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13727 $as_echo "$OTOOL" >&6; }
   13728 else
   13729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13730 $as_echo "no" >&6; }
   13731 fi
   13732 
   13733 
   13734 fi
   13735 if test -z "$ac_cv_prog_OTOOL"; then
   13736   ac_ct_OTOOL=$OTOOL
   13737   # Extract the first word of "otool", so it can be a program name with args.
   13738 set dummy otool; ac_word=$2
   13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13740 $as_echo_n "checking for $ac_word... " >&6; }
   13741 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13742   $as_echo_n "(cached) " >&6
   13743 else
   13744   if test -n "$ac_ct_OTOOL"; then
   13745   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13746 else
   13747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13748 for as_dir in $PATH
   13749 do
   13750   IFS=$as_save_IFS
   13751   test -z "$as_dir" && as_dir=.
   13752     for ac_exec_ext in '' $ac_executable_extensions; do
   13753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13754     ac_cv_prog_ac_ct_OTOOL="otool"
   13755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13756     break 2
   13757   fi
   13758 done
   13759   done
   13760 IFS=$as_save_IFS
   13761 
   13762 fi
   13763 fi
   13764 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13765 if test -n "$ac_ct_OTOOL"; then
   13766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13767 $as_echo "$ac_ct_OTOOL" >&6; }
   13768 else
   13769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13770 $as_echo "no" >&6; }
   13771 fi
   13772 
   13773   if test "x$ac_ct_OTOOL" = x; then
   13774     OTOOL=":"
   13775   else
   13776     case $cross_compiling:$ac_tool_warned in
   13777 yes:)
   13778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13780 ac_tool_warned=yes ;;
   13781 esac
   13782     OTOOL=$ac_ct_OTOOL
   13783   fi
   13784 else
   13785   OTOOL="$ac_cv_prog_OTOOL"
   13786 fi
   13787 
   13788     if test -n "$ac_tool_prefix"; then
   13789   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13790 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13792 $as_echo_n "checking for $ac_word... " >&6; }
   13793 if ${ac_cv_prog_OTOOL64+:} false; then :
   13794   $as_echo_n "(cached) " >&6
   13795 else
   13796   if test -n "$OTOOL64"; then
   13797   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13798 else
   13799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13800 for as_dir in $PATH
   13801 do
   13802   IFS=$as_save_IFS
   13803   test -z "$as_dir" && as_dir=.
   13804     for ac_exec_ext in '' $ac_executable_extensions; do
   13805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13806     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13808     break 2
   13809   fi
   13810 done
   13811   done
   13812 IFS=$as_save_IFS
   13813 
   13814 fi
   13815 fi
   13816 OTOOL64=$ac_cv_prog_OTOOL64
   13817 if test -n "$OTOOL64"; then
   13818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13819 $as_echo "$OTOOL64" >&6; }
   13820 else
   13821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13822 $as_echo "no" >&6; }
   13823 fi
   13824 
   13825 
   13826 fi
   13827 if test -z "$ac_cv_prog_OTOOL64"; then
   13828   ac_ct_OTOOL64=$OTOOL64
   13829   # Extract the first word of "otool64", so it can be a program name with args.
   13830 set dummy otool64; ac_word=$2
   13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13832 $as_echo_n "checking for $ac_word... " >&6; }
   13833 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13834   $as_echo_n "(cached) " >&6
   13835 else
   13836   if test -n "$ac_ct_OTOOL64"; then
   13837   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13838 else
   13839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13840 for as_dir in $PATH
   13841 do
   13842   IFS=$as_save_IFS
   13843   test -z "$as_dir" && as_dir=.
   13844     for ac_exec_ext in '' $ac_executable_extensions; do
   13845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13846     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13848     break 2
   13849   fi
   13850 done
   13851   done
   13852 IFS=$as_save_IFS
   13853 
   13854 fi
   13855 fi
   13856 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13857 if test -n "$ac_ct_OTOOL64"; then
   13858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13859 $as_echo "$ac_ct_OTOOL64" >&6; }
   13860 else
   13861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13862 $as_echo "no" >&6; }
   13863 fi
   13864 
   13865   if test "x$ac_ct_OTOOL64" = x; then
   13866     OTOOL64=":"
   13867   else
   13868     case $cross_compiling:$ac_tool_warned in
   13869 yes:)
   13870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13872 ac_tool_warned=yes ;;
   13873 esac
   13874     OTOOL64=$ac_ct_OTOOL64
   13875   fi
   13876 else
   13877   OTOOL64="$ac_cv_prog_OTOOL64"
   13878 fi
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13907 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13908 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13909   $as_echo_n "(cached) " >&6
   13910 else
   13911   lt_cv_apple_cc_single_mod=no
   13912       if test -z "$LT_MULTI_MODULE"; then
   13913 	# By default we will add the -single_module flag. You can override
   13914 	# by either setting the environment variable LT_MULTI_MODULE
   13915 	# non-empty at configure time, or by adding -multi_module to the
   13916 	# link flags.
   13917 	rm -rf libconftest.dylib*
   13918 	echo "int foo(void){return 1;}" > conftest.c
   13919 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13920 -dynamiclib -Wl,-single_module conftest.c" >&5
   13921 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13922 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13923         _lt_result=$?
   13924 	# If there is a non-empty error log, and "single_module"
   13925 	# appears in it, assume the flag caused a linker warning
   13926         if test -s conftest.err && $GREP single_module conftest.err; then
   13927 	  cat conftest.err >&5
   13928 	# Otherwise, if the output was created with a 0 exit code from
   13929 	# the compiler, it worked.
   13930 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   13931 	  lt_cv_apple_cc_single_mod=yes
   13932 	else
   13933 	  cat conftest.err >&5
   13934 	fi
   13935 	rm -rf libconftest.dylib*
   13936 	rm -f conftest.*
   13937       fi
   13938 fi
   13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13940 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13941 
   13942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13943 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13944 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13945   $as_echo_n "(cached) " >&6
   13946 else
   13947   lt_cv_ld_exported_symbols_list=no
   13948       save_LDFLAGS=$LDFLAGS
   13949       echo "_main" > conftest.sym
   13950       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13951       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13952 /* end confdefs.h.  */
   13953 
   13954 int
   13955 main ()
   13956 {
   13957 
   13958   ;
   13959   return 0;
   13960 }
   13961 _ACEOF
   13962 if ac_fn_c_try_link "$LINENO"; then :
   13963   lt_cv_ld_exported_symbols_list=yes
   13964 else
   13965   lt_cv_ld_exported_symbols_list=no
   13966 fi
   13967 rm -f core conftest.err conftest.$ac_objext \
   13968     conftest$ac_exeext conftest.$ac_ext
   13969 	LDFLAGS=$save_LDFLAGS
   13970 
   13971 fi
   13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13973 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13974 
   13975     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13976 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13977 if ${lt_cv_ld_force_load+:} false; then :
   13978   $as_echo_n "(cached) " >&6
   13979 else
   13980   lt_cv_ld_force_load=no
   13981       cat > conftest.c << _LT_EOF
   13982 int forced_loaded() { return 2;}
   13983 _LT_EOF
   13984       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13985       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13986       echo "$AR cru libconftest.a conftest.o" >&5
   13987       $AR cru libconftest.a conftest.o 2>&5
   13988       echo "$RANLIB libconftest.a" >&5
   13989       $RANLIB libconftest.a 2>&5
   13990       cat > conftest.c << _LT_EOF
   13991 int main() { return 0;}
   13992 _LT_EOF
   13993       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13994       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13995       _lt_result=$?
   13996       if test -s conftest.err && $GREP force_load conftest.err; then
   13997 	cat conftest.err >&5
   13998       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   13999 	lt_cv_ld_force_load=yes
   14000       else
   14001 	cat conftest.err >&5
   14002       fi
   14003         rm -f conftest.err libconftest.a conftest conftest.c
   14004         rm -rf conftest.dSYM
   14005 
   14006 fi
   14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14008 $as_echo "$lt_cv_ld_force_load" >&6; }
   14009     case $host_os in
   14010     rhapsody* | darwin1.[012])
   14011       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14012     darwin1.*)
   14013       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14014     darwin*) # darwin 5.x on
   14015       # if running on 10.5 or later, the deployment target defaults
   14016       # to the OS version, if on x86, and 10.4, the deployment
   14017       # target defaults to 10.4. Don't you love it?
   14018       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14019 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14020 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14021 	10.[012][,.]*)
   14022 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14023 	10.*)
   14024 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14025       esac
   14026     ;;
   14027   esac
   14028     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14029       _lt_dar_single_mod='$single_module'
   14030     fi
   14031     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14032       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14033     else
   14034       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14035     fi
   14036     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14037       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14038     else
   14039       _lt_dsymutil=
   14040     fi
   14041     ;;
   14042   esac
   14043 
   14044 # func_munge_path_list VARIABLE PATH
   14045 # -----------------------------------
   14046 # VARIABLE is name of variable containing _space_ separated list of
   14047 # directories to be munged by the contents of PATH, which is string
   14048 # having a format:
   14049 # "DIR[:DIR]:"
   14050 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14051 # ":DIR[:DIR]"
   14052 #       string "DIR[ DIR]" will be appended to VARIABLE
   14053 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14054 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14055 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14056 # "DIR[:DIR]"
   14057 #       VARIABLE will be replaced by "DIR[ DIR]"
   14058 func_munge_path_list ()
   14059 {
   14060     case x$2 in
   14061     x)
   14062         ;;
   14063     *:)
   14064         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14065         ;;
   14066     x:*)
   14067         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14068         ;;
   14069     *::*)
   14070         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14071         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14072         ;;
   14073     *)
   14074         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14075         ;;
   14076     esac
   14077 }
   14078 
   14079 for ac_header in dlfcn.h
   14080 do :
   14081   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14082 "
   14083 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14084   cat >>confdefs.h <<_ACEOF
   14085 #define HAVE_DLFCN_H 1
   14086 _ACEOF
   14087 
   14088 fi
   14089 
   14090 done
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 # Set options
   14097 
   14098 
   14099 
   14100         enable_dlopen=no
   14101 
   14102 
   14103   enable_win32_dll=no
   14104 
   14105 
   14106             # Check whether --enable-shared was given.
   14107 if test "${enable_shared+set}" = set; then :
   14108   enableval=$enable_shared; p=${PACKAGE-default}
   14109     case $enableval in
   14110     yes) enable_shared=yes ;;
   14111     no) enable_shared=no ;;
   14112     *)
   14113       enable_shared=no
   14114       # Look at the argument we got.  We use all the common list separators.
   14115       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14116       for pkg in $enableval; do
   14117 	IFS=$lt_save_ifs
   14118 	if test "X$pkg" = "X$p"; then
   14119 	  enable_shared=yes
   14120 	fi
   14121       done
   14122       IFS=$lt_save_ifs
   14123       ;;
   14124     esac
   14125 else
   14126   enable_shared=yes
   14127 fi
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 # Check whether --with-pic was given.
   14140 if test "${with_pic+set}" = set; then :
   14141   withval=$with_pic; lt_p=${PACKAGE-default}
   14142     case $withval in
   14143     yes|no) pic_mode=$withval ;;
   14144     *)
   14145       pic_mode=default
   14146       # Look at the argument we got.  We use all the common list separators.
   14147       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14148       for lt_pkg in $withval; do
   14149 	IFS=$lt_save_ifs
   14150 	if test "X$lt_pkg" = "X$lt_p"; then
   14151 	  pic_mode=yes
   14152 	fi
   14153       done
   14154       IFS=$lt_save_ifs
   14155       ;;
   14156     esac
   14157 else
   14158   pic_mode=default
   14159 fi
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 
   14167 
   14168   # Check whether --enable-fast-install was given.
   14169 if test "${enable_fast_install+set}" = set; then :
   14170   enableval=$enable_fast_install; p=${PACKAGE-default}
   14171     case $enableval in
   14172     yes) enable_fast_install=yes ;;
   14173     no) enable_fast_install=no ;;
   14174     *)
   14175       enable_fast_install=no
   14176       # Look at the argument we got.  We use all the common list separators.
   14177       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14178       for pkg in $enableval; do
   14179 	IFS=$lt_save_ifs
   14180 	if test "X$pkg" = "X$p"; then
   14181 	  enable_fast_install=yes
   14182 	fi
   14183       done
   14184       IFS=$lt_save_ifs
   14185       ;;
   14186     esac
   14187 else
   14188   enable_fast_install=yes
   14189 fi
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198   shared_archive_member_spec=
   14199 case $host,$enable_shared in
   14200 power*-*-aix[5-9]*,yes)
   14201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14202 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14203 
   14204 # Check whether --with-aix-soname was given.
   14205 if test "${with_aix_soname+set}" = set; then :
   14206   withval=$with_aix_soname; case $withval in
   14207     aix|svr4|both)
   14208       ;;
   14209     *)
   14210       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14211       ;;
   14212     esac
   14213     lt_cv_with_aix_soname=$with_aix_soname
   14214 else
   14215   if ${lt_cv_with_aix_soname+:} false; then :
   14216   $as_echo_n "(cached) " >&6
   14217 else
   14218   lt_cv_with_aix_soname=aix
   14219 fi
   14220 
   14221     with_aix_soname=$lt_cv_with_aix_soname
   14222 fi
   14223 
   14224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14225 $as_echo "$with_aix_soname" >&6; }
   14226   if test aix != "$with_aix_soname"; then
   14227     # For the AIX way of multilib, we name the shared archive member
   14228     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14229     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14230     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14231     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14232     if test 64 = "${OBJECT_MODE-32}"; then
   14233       shared_archive_member_spec=shr_64
   14234     else
   14235       shared_archive_member_spec=shr
   14236     fi
   14237   fi
   14238   ;;
   14239 *)
   14240   with_aix_soname=aix
   14241   ;;
   14242 esac
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 # This can be used to rebuild libtool when needed
   14254 LIBTOOL_DEPS=$ltmain
   14255 
   14256 # Always use our own libtool.
   14257 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 test -z "$LN_S" && LN_S="ln -s"
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 if test -n "${ZSH_VERSION+set}"; then
   14304    setopt NO_GLOB_SUBST
   14305 fi
   14306 
   14307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14308 $as_echo_n "checking for objdir... " >&6; }
   14309 if ${lt_cv_objdir+:} false; then :
   14310   $as_echo_n "(cached) " >&6
   14311 else
   14312   rm -f .libs 2>/dev/null
   14313 mkdir .libs 2>/dev/null
   14314 if test -d .libs; then
   14315   lt_cv_objdir=.libs
   14316 else
   14317   # MS-DOS does not allow filenames that begin with a dot.
   14318   lt_cv_objdir=_libs
   14319 fi
   14320 rmdir .libs 2>/dev/null
   14321 fi
   14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14323 $as_echo "$lt_cv_objdir" >&6; }
   14324 objdir=$lt_cv_objdir
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 cat >>confdefs.h <<_ACEOF
   14331 #define LT_OBJDIR "$lt_cv_objdir/"
   14332 _ACEOF
   14333 
   14334 
   14335 
   14336 
   14337 case $host_os in
   14338 aix3*)
   14339   # AIX sometimes has problems with the GCC collect2 program.  For some
   14340   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14341   # vanish in a puff of smoke.
   14342   if test set != "${COLLECT_NAMES+set}"; then
   14343     COLLECT_NAMES=
   14344     export COLLECT_NAMES
   14345   fi
   14346   ;;
   14347 esac
   14348 
   14349 # Global variables:
   14350 ofile=libtool
   14351 can_build_shared=yes
   14352 
   14353 # All known linkers require a '.a' archive for static linking (except MSVC,
   14354 # which needs '.lib').
   14355 libext=a
   14356 
   14357 with_gnu_ld=$lt_cv_prog_gnu_ld
   14358 
   14359 old_CC=$CC
   14360 old_CFLAGS=$CFLAGS
   14361 
   14362 # Set sane defaults for various variables
   14363 test -z "$CC" && CC=cc
   14364 test -z "$LTCC" && LTCC=$CC
   14365 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14366 test -z "$LD" && LD=ld
   14367 test -z "$ac_objext" && ac_objext=o
   14368 
   14369 func_cc_basename $compiler
   14370 cc_basename=$func_cc_basename_result
   14371 
   14372 
   14373 # Only perform the check for file, if the check method requires it
   14374 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14375 case $deplibs_check_method in
   14376 file_magic*)
   14377   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14378     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14379 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14380 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14381   $as_echo_n "(cached) " >&6
   14382 else
   14383   case $MAGIC_CMD in
   14384 [\\/*] |  ?:[\\/]*)
   14385   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14386   ;;
   14387 *)
   14388   lt_save_MAGIC_CMD=$MAGIC_CMD
   14389   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14390   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14391   for ac_dir in $ac_dummy; do
   14392     IFS=$lt_save_ifs
   14393     test -z "$ac_dir" && ac_dir=.
   14394     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14395       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14396       if test -n "$file_magic_test_file"; then
   14397 	case $deplibs_check_method in
   14398 	"file_magic "*)
   14399 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14400 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14401 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14402 	    $EGREP "$file_magic_regex" > /dev/null; then
   14403 	    :
   14404 	  else
   14405 	    cat <<_LT_EOF 1>&2
   14406 
   14407 *** Warning: the command libtool uses to detect shared libraries,
   14408 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14409 *** The result is that libtool may fail to recognize shared libraries
   14410 *** as such.  This will affect the creation of libtool libraries that
   14411 *** depend on shared libraries, but programs linked with such libtool
   14412 *** libraries will work regardless of this problem.  Nevertheless, you
   14413 *** may want to report the problem to your system manager and/or to
   14414 *** bug-libtool (at] gnu.org
   14415 
   14416 _LT_EOF
   14417 	  fi ;;
   14418 	esac
   14419       fi
   14420       break
   14421     fi
   14422   done
   14423   IFS=$lt_save_ifs
   14424   MAGIC_CMD=$lt_save_MAGIC_CMD
   14425   ;;
   14426 esac
   14427 fi
   14428 
   14429 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14430 if test -n "$MAGIC_CMD"; then
   14431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14432 $as_echo "$MAGIC_CMD" >&6; }
   14433 else
   14434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14435 $as_echo "no" >&6; }
   14436 fi
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14443   if test -n "$ac_tool_prefix"; then
   14444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14445 $as_echo_n "checking for file... " >&6; }
   14446 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14447   $as_echo_n "(cached) " >&6
   14448 else
   14449   case $MAGIC_CMD in
   14450 [\\/*] |  ?:[\\/]*)
   14451   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14452   ;;
   14453 *)
   14454   lt_save_MAGIC_CMD=$MAGIC_CMD
   14455   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14456   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14457   for ac_dir in $ac_dummy; do
   14458     IFS=$lt_save_ifs
   14459     test -z "$ac_dir" && ac_dir=.
   14460     if test -f "$ac_dir/file"; then
   14461       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14462       if test -n "$file_magic_test_file"; then
   14463 	case $deplibs_check_method in
   14464 	"file_magic "*)
   14465 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14466 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14467 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14468 	    $EGREP "$file_magic_regex" > /dev/null; then
   14469 	    :
   14470 	  else
   14471 	    cat <<_LT_EOF 1>&2
   14472 
   14473 *** Warning: the command libtool uses to detect shared libraries,
   14474 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14475 *** The result is that libtool may fail to recognize shared libraries
   14476 *** as such.  This will affect the creation of libtool libraries that
   14477 *** depend on shared libraries, but programs linked with such libtool
   14478 *** libraries will work regardless of this problem.  Nevertheless, you
   14479 *** may want to report the problem to your system manager and/or to
   14480 *** bug-libtool (at] gnu.org
   14481 
   14482 _LT_EOF
   14483 	  fi ;;
   14484 	esac
   14485       fi
   14486       break
   14487     fi
   14488   done
   14489   IFS=$lt_save_ifs
   14490   MAGIC_CMD=$lt_save_MAGIC_CMD
   14491   ;;
   14492 esac
   14493 fi
   14494 
   14495 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14496 if test -n "$MAGIC_CMD"; then
   14497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14498 $as_echo "$MAGIC_CMD" >&6; }
   14499 else
   14500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14501 $as_echo "no" >&6; }
   14502 fi
   14503 
   14504 
   14505   else
   14506     MAGIC_CMD=:
   14507   fi
   14508 fi
   14509 
   14510   fi
   14511   ;;
   14512 esac
   14513 
   14514 # Use C for the default configuration in the libtool script
   14515 
   14516 lt_save_CC=$CC
   14517 ac_ext=c
   14518 ac_cpp='$CPP $CPPFLAGS'
   14519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14522 
   14523 
   14524 # Source file extension for C test sources.
   14525 ac_ext=c
   14526 
   14527 # Object file extension for compiled C test sources.
   14528 objext=o
   14529 objext=$objext
   14530 
   14531 # Code to be used in simple compile tests
   14532 lt_simple_compile_test_code="int some_variable = 0;"
   14533 
   14534 # Code to be used in simple link tests
   14535 lt_simple_link_test_code='int main(){return(0);}'
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 # If no C compiler was specified, use CC.
   14544 LTCC=${LTCC-"$CC"}
   14545 
   14546 # If no C compiler flags were specified, use CFLAGS.
   14547 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14548 
   14549 # Allow CC to be a program name with arguments.
   14550 compiler=$CC
   14551 
   14552 # Save the default compiler, since it gets overwritten when the other
   14553 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14554 compiler_DEFAULT=$CC
   14555 
   14556 # save warnings/boilerplate of simple test code
   14557 ac_outfile=conftest.$ac_objext
   14558 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14559 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14560 _lt_compiler_boilerplate=`cat conftest.err`
   14561 $RM conftest*
   14562 
   14563 ac_outfile=conftest.$ac_objext
   14564 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14565 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14566 _lt_linker_boilerplate=`cat conftest.err`
   14567 $RM -r conftest*
   14568 
   14569 
   14570 if test -n "$compiler"; then
   14571 
   14572 lt_prog_compiler_no_builtin_flag=
   14573 
   14574 if test yes = "$GCC"; then
   14575   case $cc_basename in
   14576   nvcc*)
   14577     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14578   *)
   14579     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14580   esac
   14581 
   14582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14583 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14584 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14585   $as_echo_n "(cached) " >&6
   14586 else
   14587   lt_cv_prog_compiler_rtti_exceptions=no
   14588    ac_outfile=conftest.$ac_objext
   14589    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14590    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14591    # Insert the option either (1) after the last *FLAGS variable, or
   14592    # (2) before a word containing "conftest.", or (3) at the end.
   14593    # Note that $ac_compile itself does not contain backslashes and begins
   14594    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14595    # The option is referenced via a variable to avoid confusing sed.
   14596    lt_compile=`echo "$ac_compile" | $SED \
   14597    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14598    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14599    -e 's:$: $lt_compiler_flag:'`
   14600    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14601    (eval "$lt_compile" 2>conftest.err)
   14602    ac_status=$?
   14603    cat conftest.err >&5
   14604    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14605    if (exit $ac_status) && test -s "$ac_outfile"; then
   14606      # The compiler can only warn and ignore the option if not recognized
   14607      # So say no if there are warnings other than the usual output.
   14608      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14609      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14610      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14611        lt_cv_prog_compiler_rtti_exceptions=yes
   14612      fi
   14613    fi
   14614    $RM conftest*
   14615 
   14616 fi
   14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14618 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14619 
   14620 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14621     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14622 else
   14623     :
   14624 fi
   14625 
   14626 fi
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633   lt_prog_compiler_wl=
   14634 lt_prog_compiler_pic=
   14635 lt_prog_compiler_static=
   14636 
   14637 
   14638   if test yes = "$GCC"; then
   14639     lt_prog_compiler_wl='-Wl,'
   14640     lt_prog_compiler_static='-static'
   14641 
   14642     case $host_os in
   14643       aix*)
   14644       # All AIX code is PIC.
   14645       if test ia64 = "$host_cpu"; then
   14646 	# AIX 5 now supports IA64 processor
   14647 	lt_prog_compiler_static='-Bstatic'
   14648       fi
   14649       lt_prog_compiler_pic='-fPIC'
   14650       ;;
   14651 
   14652     amigaos*)
   14653       case $host_cpu in
   14654       powerpc)
   14655             # see comment about AmigaOS4 .so support
   14656             lt_prog_compiler_pic='-fPIC'
   14657         ;;
   14658       m68k)
   14659             # FIXME: we need at least 68020 code to build shared libraries, but
   14660             # adding the '-m68020' flag to GCC prevents building anything better,
   14661             # like '-m68040'.
   14662             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14663         ;;
   14664       esac
   14665       ;;
   14666 
   14667     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14668       # PIC is the default for these OSes.
   14669       ;;
   14670 
   14671     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14672       # This hack is so that the source file can tell whether it is being
   14673       # built for inclusion in a dll (and should export symbols for example).
   14674       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14675       # (--disable-auto-import) libraries
   14676       lt_prog_compiler_pic='-DDLL_EXPORT'
   14677       case $host_os in
   14678       os2*)
   14679 	lt_prog_compiler_static='$wl-static'
   14680 	;;
   14681       esac
   14682       ;;
   14683 
   14684     darwin* | rhapsody*)
   14685       # PIC is the default on this platform
   14686       # Common symbols not allowed in MH_DYLIB files
   14687       lt_prog_compiler_pic='-fno-common'
   14688       ;;
   14689 
   14690     haiku*)
   14691       # PIC is the default for Haiku.
   14692       # The "-static" flag exists, but is broken.
   14693       lt_prog_compiler_static=
   14694       ;;
   14695 
   14696     hpux*)
   14697       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14698       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14699       # sets the default TLS model and affects inlining.
   14700       case $host_cpu in
   14701       hppa*64*)
   14702 	# +Z the default
   14703 	;;
   14704       *)
   14705 	lt_prog_compiler_pic='-fPIC'
   14706 	;;
   14707       esac
   14708       ;;
   14709 
   14710     interix[3-9]*)
   14711       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14712       # Instead, we relocate shared libraries at runtime.
   14713       ;;
   14714 
   14715     msdosdjgpp*)
   14716       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14717       # on systems that don't support them.
   14718       lt_prog_compiler_can_build_shared=no
   14719       enable_shared=no
   14720       ;;
   14721 
   14722     *nto* | *qnx*)
   14723       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14724       # it will coredump.
   14725       lt_prog_compiler_pic='-fPIC -shared'
   14726       ;;
   14727 
   14728     sysv4*MP*)
   14729       if test -d /usr/nec; then
   14730 	lt_prog_compiler_pic=-Kconform_pic
   14731       fi
   14732       ;;
   14733 
   14734     *)
   14735       lt_prog_compiler_pic='-fPIC'
   14736       ;;
   14737     esac
   14738 
   14739     case $cc_basename in
   14740     nvcc*) # Cuda Compiler Driver 2.2
   14741       lt_prog_compiler_wl='-Xlinker '
   14742       if test -n "$lt_prog_compiler_pic"; then
   14743         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14744       fi
   14745       ;;
   14746     esac
   14747   else
   14748     # PORTME Check for flag to pass linker flags through the system compiler.
   14749     case $host_os in
   14750     aix*)
   14751       lt_prog_compiler_wl='-Wl,'
   14752       if test ia64 = "$host_cpu"; then
   14753 	# AIX 5 now supports IA64 processor
   14754 	lt_prog_compiler_static='-Bstatic'
   14755       else
   14756 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14757       fi
   14758       ;;
   14759 
   14760     darwin* | rhapsody*)
   14761       # PIC is the default on this platform
   14762       # Common symbols not allowed in MH_DYLIB files
   14763       lt_prog_compiler_pic='-fno-common'
   14764       case $cc_basename in
   14765       nagfor*)
   14766         # NAG Fortran compiler
   14767         lt_prog_compiler_wl='-Wl,-Wl,,'
   14768         lt_prog_compiler_pic='-PIC'
   14769         lt_prog_compiler_static='-Bstatic'
   14770         ;;
   14771       esac
   14772       ;;
   14773 
   14774     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14775       # This hack is so that the source file can tell whether it is being
   14776       # built for inclusion in a dll (and should export symbols for example).
   14777       lt_prog_compiler_pic='-DDLL_EXPORT'
   14778       case $host_os in
   14779       os2*)
   14780 	lt_prog_compiler_static='$wl-static'
   14781 	;;
   14782       esac
   14783       ;;
   14784 
   14785     hpux9* | hpux10* | hpux11*)
   14786       lt_prog_compiler_wl='-Wl,'
   14787       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14788       # not for PA HP-UX.
   14789       case $host_cpu in
   14790       hppa*64*|ia64*)
   14791 	# +Z the default
   14792 	;;
   14793       *)
   14794 	lt_prog_compiler_pic='+Z'
   14795 	;;
   14796       esac
   14797       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14798       lt_prog_compiler_static='$wl-a ${wl}archive'
   14799       ;;
   14800 
   14801     irix5* | irix6* | nonstopux*)
   14802       lt_prog_compiler_wl='-Wl,'
   14803       # PIC (with -KPIC) is the default.
   14804       lt_prog_compiler_static='-non_shared'
   14805       ;;
   14806 
   14807     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14808       case $cc_basename in
   14809       # old Intel for x86_64, which still supported -KPIC.
   14810       ecc*)
   14811 	lt_prog_compiler_wl='-Wl,'
   14812 	lt_prog_compiler_pic='-KPIC'
   14813 	lt_prog_compiler_static='-static'
   14814         ;;
   14815       # icc used to be incompatible with GCC.
   14816       # ICC 10 doesn't accept -KPIC any more.
   14817       icc* | ifort*)
   14818 	lt_prog_compiler_wl='-Wl,'
   14819 	lt_prog_compiler_pic='-fPIC'
   14820 	lt_prog_compiler_static='-static'
   14821         ;;
   14822       # Lahey Fortran 8.1.
   14823       lf95*)
   14824 	lt_prog_compiler_wl='-Wl,'
   14825 	lt_prog_compiler_pic='--shared'
   14826 	lt_prog_compiler_static='--static'
   14827 	;;
   14828       nagfor*)
   14829 	# NAG Fortran compiler
   14830 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14831 	lt_prog_compiler_pic='-PIC'
   14832 	lt_prog_compiler_static='-Bstatic'
   14833 	;;
   14834       tcc*)
   14835 	# Fabrice Bellard et al's Tiny C Compiler
   14836 	lt_prog_compiler_wl='-Wl,'
   14837 	lt_prog_compiler_pic='-fPIC'
   14838 	lt_prog_compiler_static='-static'
   14839 	;;
   14840       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14841         # Portland Group compilers (*not* the Pentium gcc compiler,
   14842 	# which looks to be a dead project)
   14843 	lt_prog_compiler_wl='-Wl,'
   14844 	lt_prog_compiler_pic='-fpic'
   14845 	lt_prog_compiler_static='-Bstatic'
   14846         ;;
   14847       ccc*)
   14848         lt_prog_compiler_wl='-Wl,'
   14849         # All Alpha code is PIC.
   14850         lt_prog_compiler_static='-non_shared'
   14851         ;;
   14852       xl* | bgxl* | bgf* | mpixl*)
   14853 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14854 	lt_prog_compiler_wl='-Wl,'
   14855 	lt_prog_compiler_pic='-qpic'
   14856 	lt_prog_compiler_static='-qstaticlink'
   14857 	;;
   14858       *)
   14859 	case `$CC -V 2>&1 | sed 5q` in
   14860 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14861 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14862 	  lt_prog_compiler_pic='-KPIC'
   14863 	  lt_prog_compiler_static='-Bstatic'
   14864 	  lt_prog_compiler_wl=''
   14865 	  ;;
   14866 	*Sun\ F* | *Sun*Fortran*)
   14867 	  lt_prog_compiler_pic='-KPIC'
   14868 	  lt_prog_compiler_static='-Bstatic'
   14869 	  lt_prog_compiler_wl='-Qoption ld '
   14870 	  ;;
   14871 	*Sun\ C*)
   14872 	  # Sun C 5.9
   14873 	  lt_prog_compiler_pic='-KPIC'
   14874 	  lt_prog_compiler_static='-Bstatic'
   14875 	  lt_prog_compiler_wl='-Wl,'
   14876 	  ;;
   14877         *Intel*\ [CF]*Compiler*)
   14878 	  lt_prog_compiler_wl='-Wl,'
   14879 	  lt_prog_compiler_pic='-fPIC'
   14880 	  lt_prog_compiler_static='-static'
   14881 	  ;;
   14882 	*Portland\ Group*)
   14883 	  lt_prog_compiler_wl='-Wl,'
   14884 	  lt_prog_compiler_pic='-fpic'
   14885 	  lt_prog_compiler_static='-Bstatic'
   14886 	  ;;
   14887 	esac
   14888 	;;
   14889       esac
   14890       ;;
   14891 
   14892     newsos6)
   14893       lt_prog_compiler_pic='-KPIC'
   14894       lt_prog_compiler_static='-Bstatic'
   14895       ;;
   14896 
   14897     *nto* | *qnx*)
   14898       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14899       # it will coredump.
   14900       lt_prog_compiler_pic='-fPIC -shared'
   14901       ;;
   14902 
   14903     osf3* | osf4* | osf5*)
   14904       lt_prog_compiler_wl='-Wl,'
   14905       # All OSF/1 code is PIC.
   14906       lt_prog_compiler_static='-non_shared'
   14907       ;;
   14908 
   14909     rdos*)
   14910       lt_prog_compiler_static='-non_shared'
   14911       ;;
   14912 
   14913     solaris*)
   14914       lt_prog_compiler_pic='-KPIC'
   14915       lt_prog_compiler_static='-Bstatic'
   14916       case $cc_basename in
   14917       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14918 	lt_prog_compiler_wl='-Qoption ld ';;
   14919       *)
   14920 	lt_prog_compiler_wl='-Wl,';;
   14921       esac
   14922       ;;
   14923 
   14924     sunos4*)
   14925       lt_prog_compiler_wl='-Qoption ld '
   14926       lt_prog_compiler_pic='-PIC'
   14927       lt_prog_compiler_static='-Bstatic'
   14928       ;;
   14929 
   14930     sysv4 | sysv4.2uw2* | sysv4.3*)
   14931       lt_prog_compiler_wl='-Wl,'
   14932       lt_prog_compiler_pic='-KPIC'
   14933       lt_prog_compiler_static='-Bstatic'
   14934       ;;
   14935 
   14936     sysv4*MP*)
   14937       if test -d /usr/nec; then
   14938 	lt_prog_compiler_pic='-Kconform_pic'
   14939 	lt_prog_compiler_static='-Bstatic'
   14940       fi
   14941       ;;
   14942 
   14943     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14944       lt_prog_compiler_wl='-Wl,'
   14945       lt_prog_compiler_pic='-KPIC'
   14946       lt_prog_compiler_static='-Bstatic'
   14947       ;;
   14948 
   14949     unicos*)
   14950       lt_prog_compiler_wl='-Wl,'
   14951       lt_prog_compiler_can_build_shared=no
   14952       ;;
   14953 
   14954     uts4*)
   14955       lt_prog_compiler_pic='-pic'
   14956       lt_prog_compiler_static='-Bstatic'
   14957       ;;
   14958 
   14959     *)
   14960       lt_prog_compiler_can_build_shared=no
   14961       ;;
   14962     esac
   14963   fi
   14964 
   14965 case $host_os in
   14966   # For platforms that do not support PIC, -DPIC is meaningless:
   14967   *djgpp*)
   14968     lt_prog_compiler_pic=
   14969     ;;
   14970   *)
   14971     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14972     ;;
   14973 esac
   14974 
   14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14976 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14977 if ${lt_cv_prog_compiler_pic+:} false; then :
   14978   $as_echo_n "(cached) " >&6
   14979 else
   14980   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14981 fi
   14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14983 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14984 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14985 
   14986 #
   14987 # Check to make sure the PIC flag actually works.
   14988 #
   14989 if test -n "$lt_prog_compiler_pic"; then
   14990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14991 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14992 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14993   $as_echo_n "(cached) " >&6
   14994 else
   14995   lt_cv_prog_compiler_pic_works=no
   14996    ac_outfile=conftest.$ac_objext
   14997    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14998    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   14999    # Insert the option either (1) after the last *FLAGS variable, or
   15000    # (2) before a word containing "conftest.", or (3) at the end.
   15001    # Note that $ac_compile itself does not contain backslashes and begins
   15002    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15003    # The option is referenced via a variable to avoid confusing sed.
   15004    lt_compile=`echo "$ac_compile" | $SED \
   15005    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15006    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15007    -e 's:$: $lt_compiler_flag:'`
   15008    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15009    (eval "$lt_compile" 2>conftest.err)
   15010    ac_status=$?
   15011    cat conftest.err >&5
   15012    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15013    if (exit $ac_status) && test -s "$ac_outfile"; then
   15014      # The compiler can only warn and ignore the option if not recognized
   15015      # So say no if there are warnings other than the usual output.
   15016      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15017      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15018      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15019        lt_cv_prog_compiler_pic_works=yes
   15020      fi
   15021    fi
   15022    $RM conftest*
   15023 
   15024 fi
   15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15026 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15027 
   15028 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15029     case $lt_prog_compiler_pic in
   15030      "" | " "*) ;;
   15031      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15032      esac
   15033 else
   15034     lt_prog_compiler_pic=
   15035      lt_prog_compiler_can_build_shared=no
   15036 fi
   15037 
   15038 fi
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 
   15049 
   15050 #
   15051 # Check to make sure the static flag actually works.
   15052 #
   15053 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15055 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15056 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15057   $as_echo_n "(cached) " >&6
   15058 else
   15059   lt_cv_prog_compiler_static_works=no
   15060    save_LDFLAGS=$LDFLAGS
   15061    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15062    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15063    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15064      # The linker can only warn and ignore the option if not recognized
   15065      # So say no if there are warnings
   15066      if test -s conftest.err; then
   15067        # Append any errors to the config.log.
   15068        cat conftest.err 1>&5
   15069        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15070        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15071        if diff conftest.exp conftest.er2 >/dev/null; then
   15072          lt_cv_prog_compiler_static_works=yes
   15073        fi
   15074      else
   15075        lt_cv_prog_compiler_static_works=yes
   15076      fi
   15077    fi
   15078    $RM -r conftest*
   15079    LDFLAGS=$save_LDFLAGS
   15080 
   15081 fi
   15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15083 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15084 
   15085 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15086     :
   15087 else
   15088     lt_prog_compiler_static=
   15089 fi
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15098 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15099 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15100   $as_echo_n "(cached) " >&6
   15101 else
   15102   lt_cv_prog_compiler_c_o=no
   15103    $RM -r conftest 2>/dev/null
   15104    mkdir conftest
   15105    cd conftest
   15106    mkdir out
   15107    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15108 
   15109    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15110    # Insert the option either (1) after the last *FLAGS variable, or
   15111    # (2) before a word containing "conftest.", or (3) at the end.
   15112    # Note that $ac_compile itself does not contain backslashes and begins
   15113    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15114    lt_compile=`echo "$ac_compile" | $SED \
   15115    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15116    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15117    -e 's:$: $lt_compiler_flag:'`
   15118    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15119    (eval "$lt_compile" 2>out/conftest.err)
   15120    ac_status=$?
   15121    cat out/conftest.err >&5
   15122    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15123    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15124    then
   15125      # The compiler can only warn and ignore the option if not recognized
   15126      # So say no if there are warnings
   15127      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15128      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15129      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15130        lt_cv_prog_compiler_c_o=yes
   15131      fi
   15132    fi
   15133    chmod u+w . 2>&5
   15134    $RM conftest*
   15135    # SGI C++ compiler will create directory out/ii_files/ for
   15136    # template instantiation
   15137    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15138    $RM out/* && rmdir out
   15139    cd ..
   15140    $RM -r conftest
   15141    $RM conftest*
   15142 
   15143 fi
   15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15145 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15153 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15154 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15155   $as_echo_n "(cached) " >&6
   15156 else
   15157   lt_cv_prog_compiler_c_o=no
   15158    $RM -r conftest 2>/dev/null
   15159    mkdir conftest
   15160    cd conftest
   15161    mkdir out
   15162    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15163 
   15164    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15165    # Insert the option either (1) after the last *FLAGS variable, or
   15166    # (2) before a word containing "conftest.", or (3) at the end.
   15167    # Note that $ac_compile itself does not contain backslashes and begins
   15168    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15169    lt_compile=`echo "$ac_compile" | $SED \
   15170    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15171    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15172    -e 's:$: $lt_compiler_flag:'`
   15173    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15174    (eval "$lt_compile" 2>out/conftest.err)
   15175    ac_status=$?
   15176    cat out/conftest.err >&5
   15177    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15178    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15179    then
   15180      # The compiler can only warn and ignore the option if not recognized
   15181      # So say no if there are warnings
   15182      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15183      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15184      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15185        lt_cv_prog_compiler_c_o=yes
   15186      fi
   15187    fi
   15188    chmod u+w . 2>&5
   15189    $RM conftest*
   15190    # SGI C++ compiler will create directory out/ii_files/ for
   15191    # template instantiation
   15192    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15193    $RM out/* && rmdir out
   15194    cd ..
   15195    $RM -r conftest
   15196    $RM conftest*
   15197 
   15198 fi
   15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15200 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15201 
   15202 
   15203 
   15204 
   15205 hard_links=nottested
   15206 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15207   # do not overwrite the value of need_locks provided by the user
   15208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15209 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15210   hard_links=yes
   15211   $RM conftest*
   15212   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15213   touch conftest.a
   15214   ln conftest.a conftest.b 2>&5 || hard_links=no
   15215   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15217 $as_echo "$hard_links" >&6; }
   15218   if test no = "$hard_links"; then
   15219     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15220 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15221     need_locks=warn
   15222   fi
   15223 else
   15224   need_locks=no
   15225 fi
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15233 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15234 
   15235   runpath_var=
   15236   allow_undefined_flag=
   15237   always_export_symbols=no
   15238   archive_cmds=
   15239   archive_expsym_cmds=
   15240   compiler_needs_object=no
   15241   enable_shared_with_static_runtimes=no
   15242   export_dynamic_flag_spec=
   15243   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15244   hardcode_automatic=no
   15245   hardcode_direct=no
   15246   hardcode_direct_absolute=no
   15247   hardcode_libdir_flag_spec=
   15248   hardcode_libdir_separator=
   15249   hardcode_minus_L=no
   15250   hardcode_shlibpath_var=unsupported
   15251   inherit_rpath=no
   15252   link_all_deplibs=unknown
   15253   module_cmds=
   15254   module_expsym_cmds=
   15255   old_archive_from_new_cmds=
   15256   old_archive_from_expsyms_cmds=
   15257   thread_safe_flag_spec=
   15258   whole_archive_flag_spec=
   15259   # include_expsyms should be a list of space-separated symbols to be *always*
   15260   # included in the symbol list
   15261   include_expsyms=
   15262   # exclude_expsyms can be an extended regexp of symbols to exclude
   15263   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15264   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15265   # as well as any symbol that contains 'd'.
   15266   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15267   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15268   # platforms (ab)use it in PIC code, but their linkers get confused if
   15269   # the symbol is explicitly referenced.  Since portable code cannot
   15270   # rely on this symbol name, it's probably fine to never include it in
   15271   # preloaded symbol tables.
   15272   # Exclude shared library initialization/finalization symbols.
   15273   extract_expsyms_cmds=
   15274 
   15275   case $host_os in
   15276   cygwin* | mingw* | pw32* | cegcc*)
   15277     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15278     # When not using gcc, we currently assume that we are using
   15279     # Microsoft Visual C++.
   15280     if test yes != "$GCC"; then
   15281       with_gnu_ld=no
   15282     fi
   15283     ;;
   15284   interix*)
   15285     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15286     with_gnu_ld=yes
   15287     ;;
   15288   openbsd* | bitrig*)
   15289     with_gnu_ld=no
   15290     ;;
   15291   esac
   15292 
   15293   ld_shlibs=yes
   15294 
   15295   # On some targets, GNU ld is compatible enough with the native linker
   15296   # that we're better off using the native interface for both.
   15297   lt_use_gnu_ld_interface=no
   15298   if test yes = "$with_gnu_ld"; then
   15299     case $host_os in
   15300       aix*)
   15301 	# The AIX port of GNU ld has always aspired to compatibility
   15302 	# with the native linker.  However, as the warning in the GNU ld
   15303 	# block says, versions before 2.19.5* couldn't really create working
   15304 	# shared libraries, regardless of the interface used.
   15305 	case `$LD -v 2>&1` in
   15306 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15307 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15308 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15309 	  *)
   15310 	    lt_use_gnu_ld_interface=yes
   15311 	    ;;
   15312 	esac
   15313 	;;
   15314       *)
   15315 	lt_use_gnu_ld_interface=yes
   15316 	;;
   15317     esac
   15318   fi
   15319 
   15320   if test yes = "$lt_use_gnu_ld_interface"; then
   15321     # If archive_cmds runs LD, not CC, wlarc should be empty
   15322     wlarc='$wl'
   15323 
   15324     # Set some defaults for GNU ld with shared library support. These
   15325     # are reset later if shared libraries are not supported. Putting them
   15326     # here allows them to be overridden if necessary.
   15327     runpath_var=LD_RUN_PATH
   15328     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15329     export_dynamic_flag_spec='$wl--export-dynamic'
   15330     # ancient GNU ld didn't support --whole-archive et. al.
   15331     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15332       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15333     else
   15334       whole_archive_flag_spec=
   15335     fi
   15336     supports_anon_versioning=no
   15337     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15338       *GNU\ gold*) supports_anon_versioning=yes ;;
   15339       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15340       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15341       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15342       *\ 2.11.*) ;; # other 2.11 versions
   15343       *) supports_anon_versioning=yes ;;
   15344     esac
   15345 
   15346     # See if GNU ld supports shared libraries.
   15347     case $host_os in
   15348     aix[3-9]*)
   15349       # On AIX/PPC, the GNU linker is very broken
   15350       if test ia64 != "$host_cpu"; then
   15351 	ld_shlibs=no
   15352 	cat <<_LT_EOF 1>&2
   15353 
   15354 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15355 *** to be unable to reliably create shared libraries on AIX.
   15356 *** Therefore, libtool is disabling shared libraries support.  If you
   15357 *** really care for shared libraries, you may want to install binutils
   15358 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15359 *** You will then need to restart the configuration process.
   15360 
   15361 _LT_EOF
   15362       fi
   15363       ;;
   15364 
   15365     amigaos*)
   15366       case $host_cpu in
   15367       powerpc)
   15368             # see comment about AmigaOS4 .so support
   15369             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15370             archive_expsym_cmds=''
   15371         ;;
   15372       m68k)
   15373             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)'
   15374             hardcode_libdir_flag_spec='-L$libdir'
   15375             hardcode_minus_L=yes
   15376         ;;
   15377       esac
   15378       ;;
   15379 
   15380     beos*)
   15381       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15382 	allow_undefined_flag=unsupported
   15383 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15384 	# support --undefined.  This deserves some investigation.  FIXME
   15385 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15386       else
   15387 	ld_shlibs=no
   15388       fi
   15389       ;;
   15390 
   15391     cygwin* | mingw* | pw32* | cegcc*)
   15392       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15393       # as there is no search path for DLLs.
   15394       hardcode_libdir_flag_spec='-L$libdir'
   15395       export_dynamic_flag_spec='$wl--export-all-symbols'
   15396       allow_undefined_flag=unsupported
   15397       always_export_symbols=no
   15398       enable_shared_with_static_runtimes=yes
   15399       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'
   15400       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15401 
   15402       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15403         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15404 	# If the export-symbols file already is a .def file, use it as
   15405 	# is; otherwise, prepend EXPORTS...
   15406 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15407           cp $export_symbols $output_objdir/$soname.def;
   15408         else
   15409           echo EXPORTS > $output_objdir/$soname.def;
   15410           cat $export_symbols >> $output_objdir/$soname.def;
   15411         fi~
   15412         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15413       else
   15414 	ld_shlibs=no
   15415       fi
   15416       ;;
   15417 
   15418     haiku*)
   15419       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15420       link_all_deplibs=yes
   15421       ;;
   15422 
   15423     os2*)
   15424       hardcode_libdir_flag_spec='-L$libdir'
   15425       hardcode_minus_L=yes
   15426       allow_undefined_flag=unsupported
   15427       shrext_cmds=.dll
   15428       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15429 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15430 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15431 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15432 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15433 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15434 	emximp -o $lib $output_objdir/$libname.def'
   15435       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15436 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15437 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15438 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15439 	prefix_cmds="$SED"~
   15440 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15441 	  prefix_cmds="$prefix_cmds -e 1d";
   15442 	fi~
   15443 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15444 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15445 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15446 	emximp -o $lib $output_objdir/$libname.def'
   15447       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15448       enable_shared_with_static_runtimes=yes
   15449       ;;
   15450 
   15451     interix[3-9]*)
   15452       hardcode_direct=no
   15453       hardcode_shlibpath_var=no
   15454       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15455       export_dynamic_flag_spec='$wl-E'
   15456       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15457       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15458       # default) and relocated if they conflict, which is a slow very memory
   15459       # consuming and fragmenting process.  To avoid this, we pick a random,
   15460       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15461       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15462       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15463       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'
   15464       ;;
   15465 
   15466     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15467       tmp_diet=no
   15468       if test linux-dietlibc = "$host_os"; then
   15469 	case $cc_basename in
   15470 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15471 	esac
   15472       fi
   15473       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15474 	 && test no = "$tmp_diet"
   15475       then
   15476 	tmp_addflag=' $pic_flag'
   15477 	tmp_sharedflag='-shared'
   15478 	case $cc_basename,$host_cpu in
   15479         pgcc*)				# Portland Group C compiler
   15480 	  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'
   15481 	  tmp_addflag=' $pic_flag'
   15482 	  ;;
   15483 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15484 					# Portland Group f77 and f90 compilers
   15485 	  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'
   15486 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15487 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15488 	  tmp_addflag=' -i_dynamic' ;;
   15489 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15490 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15491 	ifc* | ifort*)			# Intel Fortran compiler
   15492 	  tmp_addflag=' -nofor_main' ;;
   15493 	lf95*)				# Lahey Fortran 8.1
   15494 	  whole_archive_flag_spec=
   15495 	  tmp_sharedflag='--shared' ;;
   15496         nagfor*)                        # NAGFOR 5.3
   15497           tmp_sharedflag='-Wl,-shared' ;;
   15498 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15499 	  tmp_sharedflag='-qmkshrobj'
   15500 	  tmp_addflag= ;;
   15501 	nvcc*)	# Cuda Compiler Driver 2.2
   15502 	  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'
   15503 	  compiler_needs_object=yes
   15504 	  ;;
   15505 	esac
   15506 	case `$CC -V 2>&1 | sed 5q` in
   15507 	*Sun\ C*)			# Sun C 5.9
   15508 	  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'
   15509 	  compiler_needs_object=yes
   15510 	  tmp_sharedflag='-G' ;;
   15511 	*Sun\ F*)			# Sun Fortran 8.3
   15512 	  tmp_sharedflag='-G' ;;
   15513 	esac
   15514 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15515 
   15516         if test yes = "$supports_anon_versioning"; then
   15517           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15518             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15519             echo "local: *; };" >> $output_objdir/$libname.ver~
   15520             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15521         fi
   15522 
   15523 	case $cc_basename in
   15524 	tcc*)
   15525 	  export_dynamic_flag_spec='-rdynamic'
   15526 	  ;;
   15527 	xlf* | bgf* | bgxlf* | mpixlf*)
   15528 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15529 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15530 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15531 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15532 	  if test yes = "$supports_anon_versioning"; then
   15533 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15534               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15535               echo "local: *; };" >> $output_objdir/$libname.ver~
   15536               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15537 	  fi
   15538 	  ;;
   15539 	esac
   15540       else
   15541         ld_shlibs=no
   15542       fi
   15543       ;;
   15544 
   15545     netbsd*)
   15546       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15547 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15548 	wlarc=
   15549       else
   15550 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15551 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15552       fi
   15553       ;;
   15554 
   15555     solaris*)
   15556       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15557 	ld_shlibs=no
   15558 	cat <<_LT_EOF 1>&2
   15559 
   15560 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15561 *** create shared libraries on Solaris systems.  Therefore, libtool
   15562 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15563 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15564 *** your PATH or compiler configuration so that the native linker is
   15565 *** used, and then restart.
   15566 
   15567 _LT_EOF
   15568       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15569 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15570 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15571       else
   15572 	ld_shlibs=no
   15573       fi
   15574       ;;
   15575 
   15576     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15577       case `$LD -v 2>&1` in
   15578         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15579 	ld_shlibs=no
   15580 	cat <<_LT_EOF 1>&2
   15581 
   15582 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15583 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15584 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15585 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15586 *** your PATH or compiler configuration so that the native linker is
   15587 *** used, and then restart.
   15588 
   15589 _LT_EOF
   15590 	;;
   15591 	*)
   15592 	  # For security reasons, it is highly recommended that you always
   15593 	  # use absolute paths for naming shared libraries, and exclude the
   15594 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15595 	  # requires that you compile everything twice, which is a pain.
   15596 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15597 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15598 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15599 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15600 	  else
   15601 	    ld_shlibs=no
   15602 	  fi
   15603 	;;
   15604       esac
   15605       ;;
   15606 
   15607     sunos4*)
   15608       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15609       wlarc=
   15610       hardcode_direct=yes
   15611       hardcode_shlibpath_var=no
   15612       ;;
   15613 
   15614     *)
   15615       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15616 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15617 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15618       else
   15619 	ld_shlibs=no
   15620       fi
   15621       ;;
   15622     esac
   15623 
   15624     if test no = "$ld_shlibs"; then
   15625       runpath_var=
   15626       hardcode_libdir_flag_spec=
   15627       export_dynamic_flag_spec=
   15628       whole_archive_flag_spec=
   15629     fi
   15630   else
   15631     # PORTME fill in a description of your system's linker (not GNU ld)
   15632     case $host_os in
   15633     aix3*)
   15634       allow_undefined_flag=unsupported
   15635       always_export_symbols=yes
   15636       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'
   15637       # Note: this linker hardcodes the directories in LIBPATH if there
   15638       # are no directories specified by -L.
   15639       hardcode_minus_L=yes
   15640       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15641 	# Neither direct hardcoding nor static linking is supported with a
   15642 	# broken collect2.
   15643 	hardcode_direct=unsupported
   15644       fi
   15645       ;;
   15646 
   15647     aix[4-9]*)
   15648       if test ia64 = "$host_cpu"; then
   15649 	# On IA64, the linker does run time linking by default, so we don't
   15650 	# have to do anything special.
   15651 	aix_use_runtimelinking=no
   15652 	exp_sym_flag='-Bexport'
   15653 	no_entry_flag=
   15654       else
   15655 	# If we're using GNU nm, then we don't want the "-C" option.
   15656 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15657 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15658 	# weak defined symbols like other global defined symbols, whereas
   15659 	# GNU nm marks them as "W".
   15660 	# While the 'weak' keyword is ignored in the Export File, we need
   15661 	# it in the Import File for the 'aix-soname' feature, so we have
   15662 	# to replace the "-B" option with "-P" for AIX nm.
   15663 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15664 	  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'
   15665 	else
   15666 	  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'
   15667 	fi
   15668 	aix_use_runtimelinking=no
   15669 
   15670 	# Test if we are trying to use run time linking or normal
   15671 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15672 	# have runtime linking enabled, and use it for executables.
   15673 	# For shared libraries, we enable/disable runtime linking
   15674 	# depending on the kind of the shared library created -
   15675 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15676 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15677 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15678 	#            lib.a           static archive
   15679 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15680 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15681 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15682 	#            lib.a(lib.so.V) shared, rtl:no
   15683 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15684 	#            lib.a           static archive
   15685 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15686 	  for ld_flag in $LDFLAGS; do
   15687 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15688 	    aix_use_runtimelinking=yes
   15689 	    break
   15690 	  fi
   15691 	  done
   15692 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15693 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15694 	    # so we don't have lib.a shared libs to link our executables.
   15695 	    # We have to force runtime linking in this case.
   15696 	    aix_use_runtimelinking=yes
   15697 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15698 	  fi
   15699 	  ;;
   15700 	esac
   15701 
   15702 	exp_sym_flag='-bexport'
   15703 	no_entry_flag='-bnoentry'
   15704       fi
   15705 
   15706       # When large executables or shared objects are built, AIX ld can
   15707       # have problems creating the table of contents.  If linking a library
   15708       # or program results in "error TOC overflow" add -mminimal-toc to
   15709       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15710       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15711 
   15712       archive_cmds=''
   15713       hardcode_direct=yes
   15714       hardcode_direct_absolute=yes
   15715       hardcode_libdir_separator=':'
   15716       link_all_deplibs=yes
   15717       file_list_spec='$wl-f,'
   15718       case $with_aix_soname,$aix_use_runtimelinking in
   15719       aix,*) ;; # traditional, no import file
   15720       svr4,* | *,yes) # use import file
   15721 	# The Import File defines what to hardcode.
   15722 	hardcode_direct=no
   15723 	hardcode_direct_absolute=no
   15724 	;;
   15725       esac
   15726 
   15727       if test yes = "$GCC"; then
   15728 	case $host_os in aix4.[012]|aix4.[012].*)
   15729 	# We only want to do this on AIX 4.2 and lower, the check
   15730 	# below for broken collect2 doesn't work under 4.3+
   15731 	  collect2name=`$CC -print-prog-name=collect2`
   15732 	  if test -f "$collect2name" &&
   15733 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15734 	  then
   15735 	  # We have reworked collect2
   15736 	  :
   15737 	  else
   15738 	  # We have old collect2
   15739 	  hardcode_direct=unsupported
   15740 	  # It fails to find uninstalled libraries when the uninstalled
   15741 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15742 	  # to unsupported forces relinking
   15743 	  hardcode_minus_L=yes
   15744 	  hardcode_libdir_flag_spec='-L$libdir'
   15745 	  hardcode_libdir_separator=
   15746 	  fi
   15747 	  ;;
   15748 	esac
   15749 	shared_flag='-shared'
   15750 	if test yes = "$aix_use_runtimelinking"; then
   15751 	  shared_flag="$shared_flag "'$wl-G'
   15752 	fi
   15753 	# Need to ensure runtime linking is disabled for the traditional
   15754 	# shared library, or the linker may eventually find shared libraries
   15755 	# /with/ Import File - we do not want to mix them.
   15756 	shared_flag_aix='-shared'
   15757 	shared_flag_svr4='-shared $wl-G'
   15758       else
   15759 	# not using gcc
   15760 	if test ia64 = "$host_cpu"; then
   15761 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15762 	# chokes on -Wl,-G. The following line is correct:
   15763 	  shared_flag='-G'
   15764 	else
   15765 	  if test yes = "$aix_use_runtimelinking"; then
   15766 	    shared_flag='$wl-G'
   15767 	  else
   15768 	    shared_flag='$wl-bM:SRE'
   15769 	  fi
   15770 	  shared_flag_aix='$wl-bM:SRE'
   15771 	  shared_flag_svr4='$wl-G'
   15772 	fi
   15773       fi
   15774 
   15775       export_dynamic_flag_spec='$wl-bexpall'
   15776       # It seems that -bexpall does not export symbols beginning with
   15777       # underscore (_), so it is better to generate a list of symbols to export.
   15778       always_export_symbols=yes
   15779       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15780 	# Warning - without using the other runtime loading flags (-brtl),
   15781 	# -berok will link without error, but may produce a broken library.
   15782 	allow_undefined_flag='-berok'
   15783         # Determine the default libpath from the value encoded in an
   15784         # empty executable.
   15785         if test set = "${lt_cv_aix_libpath+set}"; then
   15786   aix_libpath=$lt_cv_aix_libpath
   15787 else
   15788   if ${lt_cv_aix_libpath_+:} false; then :
   15789   $as_echo_n "(cached) " >&6
   15790 else
   15791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15792 /* end confdefs.h.  */
   15793 
   15794 int
   15795 main ()
   15796 {
   15797 
   15798   ;
   15799   return 0;
   15800 }
   15801 _ACEOF
   15802 if ac_fn_c_try_link "$LINENO"; then :
   15803 
   15804   lt_aix_libpath_sed='
   15805       /Import File Strings/,/^$/ {
   15806 	  /^0/ {
   15807 	      s/^0  *\([^ ]*\) *$/\1/
   15808 	      p
   15809 	  }
   15810       }'
   15811   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15812   # Check for a 64-bit object if we didn't find anything.
   15813   if test -z "$lt_cv_aix_libpath_"; then
   15814     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15815   fi
   15816 fi
   15817 rm -f core conftest.err conftest.$ac_objext \
   15818     conftest$ac_exeext conftest.$ac_ext
   15819   if test -z "$lt_cv_aix_libpath_"; then
   15820     lt_cv_aix_libpath_=/usr/lib:/lib
   15821   fi
   15822 
   15823 fi
   15824 
   15825   aix_libpath=$lt_cv_aix_libpath_
   15826 fi
   15827 
   15828         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15829         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
   15830       else
   15831 	if test ia64 = "$host_cpu"; then
   15832 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15833 	  allow_undefined_flag="-z nodefs"
   15834 	  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"
   15835 	else
   15836 	 # Determine the default libpath from the value encoded in an
   15837 	 # empty executable.
   15838 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15839   aix_libpath=$lt_cv_aix_libpath
   15840 else
   15841   if ${lt_cv_aix_libpath_+:} false; then :
   15842   $as_echo_n "(cached) " >&6
   15843 else
   15844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15845 /* end confdefs.h.  */
   15846 
   15847 int
   15848 main ()
   15849 {
   15850 
   15851   ;
   15852   return 0;
   15853 }
   15854 _ACEOF
   15855 if ac_fn_c_try_link "$LINENO"; then :
   15856 
   15857   lt_aix_libpath_sed='
   15858       /Import File Strings/,/^$/ {
   15859 	  /^0/ {
   15860 	      s/^0  *\([^ ]*\) *$/\1/
   15861 	      p
   15862 	  }
   15863       }'
   15864   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15865   # Check for a 64-bit object if we didn't find anything.
   15866   if test -z "$lt_cv_aix_libpath_"; then
   15867     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15868   fi
   15869 fi
   15870 rm -f core conftest.err conftest.$ac_objext \
   15871     conftest$ac_exeext conftest.$ac_ext
   15872   if test -z "$lt_cv_aix_libpath_"; then
   15873     lt_cv_aix_libpath_=/usr/lib:/lib
   15874   fi
   15875 
   15876 fi
   15877 
   15878   aix_libpath=$lt_cv_aix_libpath_
   15879 fi
   15880 
   15881 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15882 	  # Warning - without using the other run time loading flags,
   15883 	  # -berok will link without error, but may produce a broken library.
   15884 	  no_undefined_flag=' $wl-bernotok'
   15885 	  allow_undefined_flag=' $wl-berok'
   15886 	  if test yes = "$with_gnu_ld"; then
   15887 	    # We only use this code for GNU lds that support --whole-archive.
   15888 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   15889 	  else
   15890 	    # Exported symbols can be pulled into shared objects from archives
   15891 	    whole_archive_flag_spec='$convenience'
   15892 	  fi
   15893 	  archive_cmds_need_lc=yes
   15894 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   15895 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   15896 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   15897 	  if test svr4 != "$with_aix_soname"; then
   15898 	    # This is similar to how AIX traditionally builds its shared libraries.
   15899 	    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'
   15900 	  fi
   15901 	  if test aix != "$with_aix_soname"; then
   15902 	    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'
   15903 	  else
   15904 	    # used by -dlpreopen to get the symbols
   15905 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   15906 	  fi
   15907 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   15908 	fi
   15909       fi
   15910       ;;
   15911 
   15912     amigaos*)
   15913       case $host_cpu in
   15914       powerpc)
   15915             # see comment about AmigaOS4 .so support
   15916             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15917             archive_expsym_cmds=''
   15918         ;;
   15919       m68k)
   15920             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)'
   15921             hardcode_libdir_flag_spec='-L$libdir'
   15922             hardcode_minus_L=yes
   15923         ;;
   15924       esac
   15925       ;;
   15926 
   15927     bsdi[45]*)
   15928       export_dynamic_flag_spec=-rdynamic
   15929       ;;
   15930 
   15931     cygwin* | mingw* | pw32* | cegcc*)
   15932       # When not using gcc, we currently assume that we are using
   15933       # Microsoft Visual C++.
   15934       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15935       # no search path for DLLs.
   15936       case $cc_basename in
   15937       cl*)
   15938 	# Native MSVC
   15939 	hardcode_libdir_flag_spec=' '
   15940 	allow_undefined_flag=unsupported
   15941 	always_export_symbols=yes
   15942 	file_list_spec='@'
   15943 	# Tell ltmain to make .lib files, not .a files.
   15944 	libext=lib
   15945 	# Tell ltmain to make .dll files, not .so files.
   15946 	shrext_cmds=.dll
   15947 	# FIXME: Setting linknames here is a bad hack.
   15948 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   15949 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15950             cp "$export_symbols" "$output_objdir/$soname.def";
   15951             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   15952           else
   15953             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   15954           fi~
   15955           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15956           linknames='
   15957 	# The linker will not automatically build a static lib if we build a DLL.
   15958 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15959 	enable_shared_with_static_runtimes=yes
   15960 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15961 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15962 	# Don't use ranlib
   15963 	old_postinstall_cmds='chmod 644 $oldlib'
   15964 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15965           lt_tool_outputfile="@TOOL_OUTPUT@"~
   15966           case $lt_outputfile in
   15967             *.exe|*.EXE) ;;
   15968             *)
   15969               lt_outputfile=$lt_outputfile.exe
   15970               lt_tool_outputfile=$lt_tool_outputfile.exe
   15971               ;;
   15972           esac~
   15973           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   15974             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15975             $RM "$lt_outputfile.manifest";
   15976           fi'
   15977 	;;
   15978       *)
   15979 	# Assume MSVC wrapper
   15980 	hardcode_libdir_flag_spec=' '
   15981 	allow_undefined_flag=unsupported
   15982 	# Tell ltmain to make .lib files, not .a files.
   15983 	libext=lib
   15984 	# Tell ltmain to make .dll files, not .so files.
   15985 	shrext_cmds=.dll
   15986 	# FIXME: Setting linknames here is a bad hack.
   15987 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15988 	# The linker will automatically build a .lib file if we build a DLL.
   15989 	old_archive_from_new_cmds='true'
   15990 	# FIXME: Should let the user specify the lib program.
   15991 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15992 	enable_shared_with_static_runtimes=yes
   15993 	;;
   15994       esac
   15995       ;;
   15996 
   15997     darwin* | rhapsody*)
   15998 
   15999 
   16000   archive_cmds_need_lc=no
   16001   hardcode_direct=no
   16002   hardcode_automatic=yes
   16003   hardcode_shlibpath_var=unsupported
   16004   if test yes = "$lt_cv_ld_force_load"; then
   16005     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\"`'
   16006 
   16007   else
   16008     whole_archive_flag_spec=''
   16009   fi
   16010   link_all_deplibs=yes
   16011   allow_undefined_flag=$_lt_dar_allow_undefined
   16012   case $cc_basename in
   16013      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16014      *) _lt_dar_can_shared=$GCC ;;
   16015   esac
   16016   if test yes = "$_lt_dar_can_shared"; then
   16017     output_verbose_link_cmd=func_echo_all
   16018     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16019     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16020     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"
   16021     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"
   16022 
   16023   else
   16024   ld_shlibs=no
   16025   fi
   16026 
   16027       ;;
   16028 
   16029     dgux*)
   16030       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16031       hardcode_libdir_flag_spec='-L$libdir'
   16032       hardcode_shlibpath_var=no
   16033       ;;
   16034 
   16035     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16036     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16037     # does not break anything, and helps significantly (at the cost of a little
   16038     # extra space).
   16039     freebsd2.2*)
   16040       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16041       hardcode_libdir_flag_spec='-R$libdir'
   16042       hardcode_direct=yes
   16043       hardcode_shlibpath_var=no
   16044       ;;
   16045 
   16046     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16047     freebsd2.*)
   16048       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16049       hardcode_direct=yes
   16050       hardcode_minus_L=yes
   16051       hardcode_shlibpath_var=no
   16052       ;;
   16053 
   16054     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16055     freebsd* | dragonfly*)
   16056       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16057       hardcode_libdir_flag_spec='-R$libdir'
   16058       hardcode_direct=yes
   16059       hardcode_shlibpath_var=no
   16060       ;;
   16061 
   16062     hpux9*)
   16063       if test yes = "$GCC"; then
   16064 	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'
   16065       else
   16066 	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'
   16067       fi
   16068       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16069       hardcode_libdir_separator=:
   16070       hardcode_direct=yes
   16071 
   16072       # hardcode_minus_L: Not really in the search PATH,
   16073       # but as the default location of the library.
   16074       hardcode_minus_L=yes
   16075       export_dynamic_flag_spec='$wl-E'
   16076       ;;
   16077 
   16078     hpux10*)
   16079       if test yes,no = "$GCC,$with_gnu_ld"; then
   16080 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16081       else
   16082 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16083       fi
   16084       if test no = "$with_gnu_ld"; then
   16085 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16086 	hardcode_libdir_separator=:
   16087 	hardcode_direct=yes
   16088 	hardcode_direct_absolute=yes
   16089 	export_dynamic_flag_spec='$wl-E'
   16090 	# hardcode_minus_L: Not really in the search PATH,
   16091 	# but as the default location of the library.
   16092 	hardcode_minus_L=yes
   16093       fi
   16094       ;;
   16095 
   16096     hpux11*)
   16097       if test yes,no = "$GCC,$with_gnu_ld"; then
   16098 	case $host_cpu in
   16099 	hppa*64*)
   16100 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16101 	  ;;
   16102 	ia64*)
   16103 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16104 	  ;;
   16105 	*)
   16106 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16107 	  ;;
   16108 	esac
   16109       else
   16110 	case $host_cpu in
   16111 	hppa*64*)
   16112 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16113 	  ;;
   16114 	ia64*)
   16115 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16116 	  ;;
   16117 	*)
   16118 
   16119 	  # Older versions of the 11.00 compiler do not understand -b yet
   16120 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16121 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16122 $as_echo_n "checking if $CC understands -b... " >&6; }
   16123 if ${lt_cv_prog_compiler__b+:} false; then :
   16124   $as_echo_n "(cached) " >&6
   16125 else
   16126   lt_cv_prog_compiler__b=no
   16127    save_LDFLAGS=$LDFLAGS
   16128    LDFLAGS="$LDFLAGS -b"
   16129    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16130    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16131      # The linker can only warn and ignore the option if not recognized
   16132      # So say no if there are warnings
   16133      if test -s conftest.err; then
   16134        # Append any errors to the config.log.
   16135        cat conftest.err 1>&5
   16136        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16137        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16138        if diff conftest.exp conftest.er2 >/dev/null; then
   16139          lt_cv_prog_compiler__b=yes
   16140        fi
   16141      else
   16142        lt_cv_prog_compiler__b=yes
   16143      fi
   16144    fi
   16145    $RM -r conftest*
   16146    LDFLAGS=$save_LDFLAGS
   16147 
   16148 fi
   16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16150 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16151 
   16152 if test yes = "$lt_cv_prog_compiler__b"; then
   16153     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16154 else
   16155     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16156 fi
   16157 
   16158 	  ;;
   16159 	esac
   16160       fi
   16161       if test no = "$with_gnu_ld"; then
   16162 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16163 	hardcode_libdir_separator=:
   16164 
   16165 	case $host_cpu in
   16166 	hppa*64*|ia64*)
   16167 	  hardcode_direct=no
   16168 	  hardcode_shlibpath_var=no
   16169 	  ;;
   16170 	*)
   16171 	  hardcode_direct=yes
   16172 	  hardcode_direct_absolute=yes
   16173 	  export_dynamic_flag_spec='$wl-E'
   16174 
   16175 	  # hardcode_minus_L: Not really in the search PATH,
   16176 	  # but as the default location of the library.
   16177 	  hardcode_minus_L=yes
   16178 	  ;;
   16179 	esac
   16180       fi
   16181       ;;
   16182 
   16183     irix5* | irix6* | nonstopux*)
   16184       if test yes = "$GCC"; then
   16185 	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'
   16186 	# Try to use the -exported_symbol ld option, if it does not
   16187 	# work, assume that -exports_file does not work either and
   16188 	# implicitly export all symbols.
   16189 	# This should be the same for all languages, so no per-tag cache variable.
   16190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16191 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16192 if ${lt_cv_irix_exported_symbol+:} false; then :
   16193   $as_echo_n "(cached) " >&6
   16194 else
   16195   save_LDFLAGS=$LDFLAGS
   16196 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16197 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16198 /* end confdefs.h.  */
   16199 int foo (void) { return 0; }
   16200 _ACEOF
   16201 if ac_fn_c_try_link "$LINENO"; then :
   16202   lt_cv_irix_exported_symbol=yes
   16203 else
   16204   lt_cv_irix_exported_symbol=no
   16205 fi
   16206 rm -f core conftest.err conftest.$ac_objext \
   16207     conftest$ac_exeext conftest.$ac_ext
   16208            LDFLAGS=$save_LDFLAGS
   16209 fi
   16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16211 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16212 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16213           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'
   16214 	fi
   16215       else
   16216 	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'
   16217 	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'
   16218       fi
   16219       archive_cmds_need_lc='no'
   16220       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16221       hardcode_libdir_separator=:
   16222       inherit_rpath=yes
   16223       link_all_deplibs=yes
   16224       ;;
   16225 
   16226     linux*)
   16227       case $cc_basename in
   16228       tcc*)
   16229 	# Fabrice Bellard et al's Tiny C Compiler
   16230 	ld_shlibs=yes
   16231 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16232 	;;
   16233       esac
   16234       ;;
   16235 
   16236     netbsd*)
   16237       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16238 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16239       else
   16240 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16241       fi
   16242       hardcode_libdir_flag_spec='-R$libdir'
   16243       hardcode_direct=yes
   16244       hardcode_shlibpath_var=no
   16245       ;;
   16246 
   16247     newsos6)
   16248       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16249       hardcode_direct=yes
   16250       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16251       hardcode_libdir_separator=:
   16252       hardcode_shlibpath_var=no
   16253       ;;
   16254 
   16255     *nto* | *qnx*)
   16256       ;;
   16257 
   16258     openbsd* | bitrig*)
   16259       if test -f /usr/libexec/ld.so; then
   16260 	hardcode_direct=yes
   16261 	hardcode_shlibpath_var=no
   16262 	hardcode_direct_absolute=yes
   16263 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16264 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16265 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16266 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16267 	  export_dynamic_flag_spec='$wl-E'
   16268 	else
   16269 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16270 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16271 	fi
   16272       else
   16273 	ld_shlibs=no
   16274       fi
   16275       ;;
   16276 
   16277     os2*)
   16278       hardcode_libdir_flag_spec='-L$libdir'
   16279       hardcode_minus_L=yes
   16280       allow_undefined_flag=unsupported
   16281       shrext_cmds=.dll
   16282       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16283 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16284 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16285 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16286 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16287 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16288 	emximp -o $lib $output_objdir/$libname.def'
   16289       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16290 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16291 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16292 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16293 	prefix_cmds="$SED"~
   16294 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16295 	  prefix_cmds="$prefix_cmds -e 1d";
   16296 	fi~
   16297 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16298 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16299 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16300 	emximp -o $lib $output_objdir/$libname.def'
   16301       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16302       enable_shared_with_static_runtimes=yes
   16303       ;;
   16304 
   16305     osf3*)
   16306       if test yes = "$GCC"; then
   16307 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16308 	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'
   16309       else
   16310 	allow_undefined_flag=' -expect_unresolved \*'
   16311 	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'
   16312       fi
   16313       archive_cmds_need_lc='no'
   16314       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16315       hardcode_libdir_separator=:
   16316       ;;
   16317 
   16318     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16319       if test yes = "$GCC"; then
   16320 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16321 	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'
   16322 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16323       else
   16324 	allow_undefined_flag=' -expect_unresolved \*'
   16325 	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'
   16326 	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~
   16327           $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'
   16328 
   16329 	# Both c and cxx compiler support -rpath directly
   16330 	hardcode_libdir_flag_spec='-rpath $libdir'
   16331       fi
   16332       archive_cmds_need_lc='no'
   16333       hardcode_libdir_separator=:
   16334       ;;
   16335 
   16336     solaris*)
   16337       no_undefined_flag=' -z defs'
   16338       if test yes = "$GCC"; then
   16339 	wlarc='$wl'
   16340 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16341 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16342           $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'
   16343       else
   16344 	case `$CC -V 2>&1` in
   16345 	*"Compilers 5.0"*)
   16346 	  wlarc=''
   16347 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16348 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16349             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16350 	  ;;
   16351 	*)
   16352 	  wlarc='$wl'
   16353 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16354 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16355             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16356 	  ;;
   16357 	esac
   16358       fi
   16359       hardcode_libdir_flag_spec='-R$libdir'
   16360       hardcode_shlibpath_var=no
   16361       case $host_os in
   16362       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16363       *)
   16364 	# The compiler driver will combine and reorder linker options,
   16365 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16366 	# but is careful enough not to reorder.
   16367 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16368 	if test yes = "$GCC"; then
   16369 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16370 	else
   16371 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16372 	fi
   16373 	;;
   16374       esac
   16375       link_all_deplibs=yes
   16376       ;;
   16377 
   16378     sunos4*)
   16379       if test sequent = "$host_vendor"; then
   16380 	# Use $CC to link under sequent, because it throws in some extra .o
   16381 	# files that make .init and .fini sections work.
   16382 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16383       else
   16384 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16385       fi
   16386       hardcode_libdir_flag_spec='-L$libdir'
   16387       hardcode_direct=yes
   16388       hardcode_minus_L=yes
   16389       hardcode_shlibpath_var=no
   16390       ;;
   16391 
   16392     sysv4)
   16393       case $host_vendor in
   16394 	sni)
   16395 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16396 	  hardcode_direct=yes # is this really true???
   16397 	;;
   16398 	siemens)
   16399 	  ## LD is ld it makes a PLAMLIB
   16400 	  ## CC just makes a GrossModule.
   16401 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16402 	  reload_cmds='$CC -r -o $output$reload_objs'
   16403 	  hardcode_direct=no
   16404         ;;
   16405 	motorola)
   16406 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16407 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16408 	;;
   16409       esac
   16410       runpath_var='LD_RUN_PATH'
   16411       hardcode_shlibpath_var=no
   16412       ;;
   16413 
   16414     sysv4.3*)
   16415       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16416       hardcode_shlibpath_var=no
   16417       export_dynamic_flag_spec='-Bexport'
   16418       ;;
   16419 
   16420     sysv4*MP*)
   16421       if test -d /usr/nec; then
   16422 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16423 	hardcode_shlibpath_var=no
   16424 	runpath_var=LD_RUN_PATH
   16425 	hardcode_runpath_var=yes
   16426 	ld_shlibs=yes
   16427       fi
   16428       ;;
   16429 
   16430     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16431       no_undefined_flag='$wl-z,text'
   16432       archive_cmds_need_lc=no
   16433       hardcode_shlibpath_var=no
   16434       runpath_var='LD_RUN_PATH'
   16435 
   16436       if test yes = "$GCC"; then
   16437 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16438 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16439       else
   16440 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16441 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16442       fi
   16443       ;;
   16444 
   16445     sysv5* | sco3.2v5* | sco5v6*)
   16446       # Note: We CANNOT use -z defs as we might desire, because we do not
   16447       # link with -lc, and that would cause any symbols used from libc to
   16448       # always be unresolved, which means just about no library would
   16449       # ever link correctly.  If we're not using GNU ld we use -z text
   16450       # though, which does catch some bad symbols but isn't as heavy-handed
   16451       # as -z defs.
   16452       no_undefined_flag='$wl-z,text'
   16453       allow_undefined_flag='$wl-z,nodefs'
   16454       archive_cmds_need_lc=no
   16455       hardcode_shlibpath_var=no
   16456       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16457       hardcode_libdir_separator=':'
   16458       link_all_deplibs=yes
   16459       export_dynamic_flag_spec='$wl-Bexport'
   16460       runpath_var='LD_RUN_PATH'
   16461 
   16462       if test yes = "$GCC"; then
   16463 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16464 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16465       else
   16466 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16467 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16468       fi
   16469       ;;
   16470 
   16471     uts4*)
   16472       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16473       hardcode_libdir_flag_spec='-L$libdir'
   16474       hardcode_shlibpath_var=no
   16475       ;;
   16476 
   16477     *)
   16478       ld_shlibs=no
   16479       ;;
   16480     esac
   16481 
   16482     if test sni = "$host_vendor"; then
   16483       case $host in
   16484       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16485 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16486 	;;
   16487       esac
   16488     fi
   16489   fi
   16490 
   16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16492 $as_echo "$ld_shlibs" >&6; }
   16493 test no = "$ld_shlibs" && can_build_shared=no
   16494 
   16495 with_gnu_ld=$with_gnu_ld
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 #
   16512 # Do we need to explicitly link libc?
   16513 #
   16514 case "x$archive_cmds_need_lc" in
   16515 x|xyes)
   16516   # Assume -lc should be added
   16517   archive_cmds_need_lc=yes
   16518 
   16519   if test yes,yes = "$GCC,$enable_shared"; then
   16520     case $archive_cmds in
   16521     *'~'*)
   16522       # FIXME: we may have to deal with multi-command sequences.
   16523       ;;
   16524     '$CC '*)
   16525       # Test whether the compiler implicitly links with -lc since on some
   16526       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16527       # to ld, don't add -lc before -lgcc.
   16528       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16529 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16530 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16531   $as_echo_n "(cached) " >&6
   16532 else
   16533   $RM conftest*
   16534 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16535 
   16536 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16537   (eval $ac_compile) 2>&5
   16538   ac_status=$?
   16539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16540   test $ac_status = 0; } 2>conftest.err; then
   16541 	  soname=conftest
   16542 	  lib=conftest
   16543 	  libobjs=conftest.$ac_objext
   16544 	  deplibs=
   16545 	  wl=$lt_prog_compiler_wl
   16546 	  pic_flag=$lt_prog_compiler_pic
   16547 	  compiler_flags=-v
   16548 	  linker_flags=-v
   16549 	  verstring=
   16550 	  output_objdir=.
   16551 	  libname=conftest
   16552 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16553 	  allow_undefined_flag=
   16554 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16555   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16556   ac_status=$?
   16557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16558   test $ac_status = 0; }
   16559 	  then
   16560 	    lt_cv_archive_cmds_need_lc=no
   16561 	  else
   16562 	    lt_cv_archive_cmds_need_lc=yes
   16563 	  fi
   16564 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16565 	else
   16566 	  cat conftest.err 1>&5
   16567 	fi
   16568 	$RM conftest*
   16569 
   16570 fi
   16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16572 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16573       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16574       ;;
   16575     esac
   16576   fi
   16577   ;;
   16578 esac
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16732 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16733 
   16734 if test yes = "$GCC"; then
   16735   case $host_os in
   16736     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16737     *) lt_awk_arg='/^libraries:/' ;;
   16738   esac
   16739   case $host_os in
   16740     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16741     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16742   esac
   16743   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16744   case $lt_search_path_spec in
   16745   *\;*)
   16746     # if the path contains ";" then we assume it to be the separator
   16747     # otherwise default to the standard path separator (i.e. ":") - it is
   16748     # assumed that no part of a normal pathname contains ";" but that should
   16749     # okay in the real world where ";" in dirpaths is itself problematic.
   16750     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16751     ;;
   16752   *)
   16753     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16754     ;;
   16755   esac
   16756   # Ok, now we have the path, separated by spaces, we can step through it
   16757   # and add multilib dir if necessary...
   16758   lt_tmp_lt_search_path_spec=
   16759   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16760   # ...but if some path component already ends with the multilib dir we assume
   16761   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16762   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16763   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16764     lt_multi_os_dir=
   16765     ;;
   16766   esac
   16767   for lt_sys_path in $lt_search_path_spec; do
   16768     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16769       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16770     elif test -n "$lt_multi_os_dir"; then
   16771       test -d "$lt_sys_path" && \
   16772 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16773     fi
   16774   done
   16775   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16776 BEGIN {RS = " "; FS = "/|\n";} {
   16777   lt_foo = "";
   16778   lt_count = 0;
   16779   for (lt_i = NF; lt_i > 0; lt_i--) {
   16780     if ($lt_i != "" && $lt_i != ".") {
   16781       if ($lt_i == "..") {
   16782         lt_count++;
   16783       } else {
   16784         if (lt_count == 0) {
   16785           lt_foo = "/" $lt_i lt_foo;
   16786         } else {
   16787           lt_count--;
   16788         }
   16789       }
   16790     }
   16791   }
   16792   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16793   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16794 }'`
   16795   # AWK program above erroneously prepends '/' to C:/dos/paths
   16796   # for these hosts.
   16797   case $host_os in
   16798     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16799       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16800   esac
   16801   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16802 else
   16803   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16804 fi
   16805 library_names_spec=
   16806 libname_spec='lib$name'
   16807 soname_spec=
   16808 shrext_cmds=.so
   16809 postinstall_cmds=
   16810 postuninstall_cmds=
   16811 finish_cmds=
   16812 finish_eval=
   16813 shlibpath_var=
   16814 shlibpath_overrides_runpath=unknown
   16815 version_type=none
   16816 dynamic_linker="$host_os ld.so"
   16817 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16818 need_lib_prefix=unknown
   16819 hardcode_into_libs=no
   16820 
   16821 # when you set need_version to no, make sure it does not cause -set_version
   16822 # flags to be left without arguments
   16823 need_version=unknown
   16824 
   16825 
   16826 
   16827 case $host_os in
   16828 aix3*)
   16829   version_type=linux # correct to gnu/linux during the next big refactor
   16830   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16831   shlibpath_var=LIBPATH
   16832 
   16833   # AIX 3 has no versioning support, so we append a major version to the name.
   16834   soname_spec='$libname$release$shared_ext$major'
   16835   ;;
   16836 
   16837 aix[4-9]*)
   16838   version_type=linux # correct to gnu/linux during the next big refactor
   16839   need_lib_prefix=no
   16840   need_version=no
   16841   hardcode_into_libs=yes
   16842   if test ia64 = "$host_cpu"; then
   16843     # AIX 5 supports IA64
   16844     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16845     shlibpath_var=LD_LIBRARY_PATH
   16846   else
   16847     # With GCC up to 2.95.x, collect2 would create an import file
   16848     # for dependence libraries.  The import file would start with
   16849     # the line '#! .'.  This would cause the generated library to
   16850     # depend on '.', always an invalid library.  This was fixed in
   16851     # development snapshots of GCC prior to 3.0.
   16852     case $host_os in
   16853       aix4 | aix4.[01] | aix4.[01].*)
   16854       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16855 	   echo ' yes '
   16856 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16857 	:
   16858       else
   16859 	can_build_shared=no
   16860       fi
   16861       ;;
   16862     esac
   16863     # Using Import Files as archive members, it is possible to support
   16864     # filename-based versioning of shared library archives on AIX. While
   16865     # this would work for both with and without runtime linking, it will
   16866     # prevent static linking of such archives. So we do filename-based
   16867     # shared library versioning with .so extension only, which is used
   16868     # when both runtime linking and shared linking is enabled.
   16869     # Unfortunately, runtime linking may impact performance, so we do
   16870     # not want this to be the default eventually. Also, we use the
   16871     # versioned .so libs for executables only if there is the -brtl
   16872     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16873     # To allow for filename-based versioning support, we need to create
   16874     # libNAME.so.V as an archive file, containing:
   16875     # *) an Import File, referring to the versioned filename of the
   16876     #    archive as well as the shared archive member, telling the
   16877     #    bitwidth (32 or 64) of that shared object, and providing the
   16878     #    list of exported symbols of that shared object, eventually
   16879     #    decorated with the 'weak' keyword
   16880     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16881     #    it being seen by the linker.
   16882     # At run time we better use the real file rather than another symlink,
   16883     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16884 
   16885     case $with_aix_soname,$aix_use_runtimelinking in
   16886     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   16887     # soname into executable. Probably we can add versioning support to
   16888     # collect2, so additional links can be useful in future.
   16889     aix,yes) # traditional libtool
   16890       dynamic_linker='AIX unversionable lib.so'
   16891       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16892       # instead of lib<name>.a to let people know that these are not
   16893       # typical AIX shared libraries.
   16894       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16895       ;;
   16896     aix,no) # traditional AIX only
   16897       dynamic_linker='AIX lib.a(lib.so.V)'
   16898       # We preserve .a as extension for shared libraries through AIX4.2
   16899       # and later when we are not doing run time linking.
   16900       library_names_spec='$libname$release.a $libname.a'
   16901       soname_spec='$libname$release$shared_ext$major'
   16902       ;;
   16903     svr4,*) # full svr4 only
   16904       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   16905       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   16906       # We do not specify a path in Import Files, so LIBPATH fires.
   16907       shlibpath_overrides_runpath=yes
   16908       ;;
   16909     *,yes) # both, prefer svr4
   16910       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   16911       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   16912       # unpreferred sharedlib libNAME.a needs extra handling
   16913       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"'
   16914       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"'
   16915       # We do not specify a path in Import Files, so LIBPATH fires.
   16916       shlibpath_overrides_runpath=yes
   16917       ;;
   16918     *,no) # both, prefer aix
   16919       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   16920       library_names_spec='$libname$release.a $libname.a'
   16921       soname_spec='$libname$release$shared_ext$major'
   16922       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   16923       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)'
   16924       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"'
   16925       ;;
   16926     esac
   16927     shlibpath_var=LIBPATH
   16928   fi
   16929   ;;
   16930 
   16931 amigaos*)
   16932   case $host_cpu in
   16933   powerpc)
   16934     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16935     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16936     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16937     ;;
   16938   m68k)
   16939     library_names_spec='$libname.ixlibrary $libname.a'
   16940     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16941     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'
   16942     ;;
   16943   esac
   16944   ;;
   16945 
   16946 beos*)
   16947   library_names_spec='$libname$shared_ext'
   16948   dynamic_linker="$host_os ld.so"
   16949   shlibpath_var=LIBRARY_PATH
   16950   ;;
   16951 
   16952 bsdi[45]*)
   16953   version_type=linux # correct to gnu/linux during the next big refactor
   16954   need_version=no
   16955   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16956   soname_spec='$libname$release$shared_ext$major'
   16957   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16958   shlibpath_var=LD_LIBRARY_PATH
   16959   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16960   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16961   # the default ld.so.conf also contains /usr/contrib/lib and
   16962   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16963   # libtool to hard-code these into programs
   16964   ;;
   16965 
   16966 cygwin* | mingw* | pw32* | cegcc*)
   16967   version_type=windows
   16968   shrext_cmds=.dll
   16969   need_version=no
   16970   need_lib_prefix=no
   16971 
   16972   case $GCC,$cc_basename in
   16973   yes,*)
   16974     # gcc
   16975     library_names_spec='$libname.dll.a'
   16976     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16977     postinstall_cmds='base_file=`basename \$file`~
   16978       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   16979       dldir=$destdir/`dirname \$dlpath`~
   16980       test -d \$dldir || mkdir -p \$dldir~
   16981       $install_prog $dir/$dlname \$dldir/$dlname~
   16982       chmod a+x \$dldir/$dlname~
   16983       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16984         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16985       fi'
   16986     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16987       dlpath=$dir/\$dldll~
   16988        $RM \$dlpath'
   16989     shlibpath_overrides_runpath=yes
   16990 
   16991     case $host_os in
   16992     cygwin*)
   16993       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16994       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   16995 
   16996       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16997       ;;
   16998     mingw* | cegcc*)
   16999       # MinGW DLLs use traditional 'lib' prefix
   17000       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17001       ;;
   17002     pw32*)
   17003       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17004       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17005       ;;
   17006     esac
   17007     dynamic_linker='Win32 ld.exe'
   17008     ;;
   17009 
   17010   *,cl*)
   17011     # Native MSVC
   17012     libname_spec='$name'
   17013     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17014     library_names_spec='$libname.dll.lib'
   17015 
   17016     case $build_os in
   17017     mingw*)
   17018       sys_lib_search_path_spec=
   17019       lt_save_ifs=$IFS
   17020       IFS=';'
   17021       for lt_path in $LIB
   17022       do
   17023         IFS=$lt_save_ifs
   17024         # Let DOS variable expansion print the short 8.3 style file name.
   17025         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17026         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17027       done
   17028       IFS=$lt_save_ifs
   17029       # Convert to MSYS style.
   17030       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17031       ;;
   17032     cygwin*)
   17033       # Convert to unix form, then to dos form, then back to unix form
   17034       # but this time dos style (no spaces!) so that the unix form looks
   17035       # like /cygdrive/c/PROGRA~1:/cygdr...
   17036       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17037       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17038       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17039       ;;
   17040     *)
   17041       sys_lib_search_path_spec=$LIB
   17042       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17043         # It is most probably a Windows format PATH.
   17044         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17045       else
   17046         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17047       fi
   17048       # FIXME: find the short name or the path components, as spaces are
   17049       # common. (e.g. "Program Files" -> "PROGRA~1")
   17050       ;;
   17051     esac
   17052 
   17053     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17054     postinstall_cmds='base_file=`basename \$file`~
   17055       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17056       dldir=$destdir/`dirname \$dlpath`~
   17057       test -d \$dldir || mkdir -p \$dldir~
   17058       $install_prog $dir/$dlname \$dldir/$dlname'
   17059     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17060       dlpath=$dir/\$dldll~
   17061        $RM \$dlpath'
   17062     shlibpath_overrides_runpath=yes
   17063     dynamic_linker='Win32 link.exe'
   17064     ;;
   17065 
   17066   *)
   17067     # Assume MSVC wrapper
   17068     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17069     dynamic_linker='Win32 ld.exe'
   17070     ;;
   17071   esac
   17072   # FIXME: first we should search . and the directory the executable is in
   17073   shlibpath_var=PATH
   17074   ;;
   17075 
   17076 darwin* | rhapsody*)
   17077   dynamic_linker="$host_os dyld"
   17078   version_type=darwin
   17079   need_lib_prefix=no
   17080   need_version=no
   17081   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17082   soname_spec='$libname$release$major$shared_ext'
   17083   shlibpath_overrides_runpath=yes
   17084   shlibpath_var=DYLD_LIBRARY_PATH
   17085   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17086 
   17087   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17088   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17089   ;;
   17090 
   17091 dgux*)
   17092   version_type=linux # correct to gnu/linux during the next big refactor
   17093   need_lib_prefix=no
   17094   need_version=no
   17095   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17096   soname_spec='$libname$release$shared_ext$major'
   17097   shlibpath_var=LD_LIBRARY_PATH
   17098   ;;
   17099 
   17100 freebsd* | dragonfly*)
   17101   # DragonFly does not have aout.  When/if they implement a new
   17102   # versioning mechanism, adjust this.
   17103   if test -x /usr/bin/objformat; then
   17104     objformat=`/usr/bin/objformat`
   17105   else
   17106     case $host_os in
   17107     freebsd[23].*) objformat=aout ;;
   17108     *) objformat=elf ;;
   17109     esac
   17110   fi
   17111   # Handle Gentoo/FreeBSD as it was Linux
   17112   case $host_vendor in
   17113     gentoo)
   17114       version_type=linux ;;
   17115     *)
   17116       version_type=freebsd-$objformat ;;
   17117   esac
   17118 
   17119   case $version_type in
   17120     freebsd-elf*)
   17121       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17122       soname_spec='$libname$release$shared_ext$major'
   17123       need_version=no
   17124       need_lib_prefix=no
   17125       ;;
   17126     freebsd-*)
   17127       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17128       need_version=yes
   17129       ;;
   17130     linux)
   17131       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17132       soname_spec='${libname}${release}${shared_ext}$major'
   17133       need_lib_prefix=no
   17134       need_version=no
   17135       ;;
   17136   esac
   17137   shlibpath_var=LD_LIBRARY_PATH
   17138   case $host_os in
   17139   freebsd2.*)
   17140     shlibpath_overrides_runpath=yes
   17141     ;;
   17142   freebsd3.[01]* | freebsdelf3.[01]*)
   17143     shlibpath_overrides_runpath=yes
   17144     hardcode_into_libs=yes
   17145     ;;
   17146   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17147   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17148     shlibpath_overrides_runpath=no
   17149     hardcode_into_libs=yes
   17150     ;;
   17151   *) # from 4.6 on, and DragonFly
   17152     shlibpath_overrides_runpath=yes
   17153     hardcode_into_libs=yes
   17154     ;;
   17155   esac
   17156   ;;
   17157 
   17158 haiku*)
   17159   version_type=linux # correct to gnu/linux during the next big refactor
   17160   need_lib_prefix=no
   17161   need_version=no
   17162   dynamic_linker="$host_os runtime_loader"
   17163   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17164   soname_spec='$libname$release$shared_ext$major'
   17165   shlibpath_var=LIBRARY_PATH
   17166   shlibpath_overrides_runpath=no
   17167   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17168   hardcode_into_libs=yes
   17169   ;;
   17170 
   17171 hpux9* | hpux10* | hpux11*)
   17172   # Give a soname corresponding to the major version so that dld.sl refuses to
   17173   # link against other versions.
   17174   version_type=sunos
   17175   need_lib_prefix=no
   17176   need_version=no
   17177   case $host_cpu in
   17178   ia64*)
   17179     shrext_cmds='.so'
   17180     hardcode_into_libs=yes
   17181     dynamic_linker="$host_os dld.so"
   17182     shlibpath_var=LD_LIBRARY_PATH
   17183     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17184     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17185     soname_spec='$libname$release$shared_ext$major'
   17186     if test 32 = "$HPUX_IA64_MODE"; then
   17187       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17188       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17189     else
   17190       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17191       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17192     fi
   17193     ;;
   17194   hppa*64*)
   17195     shrext_cmds='.sl'
   17196     hardcode_into_libs=yes
   17197     dynamic_linker="$host_os dld.sl"
   17198     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17199     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17200     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17201     soname_spec='$libname$release$shared_ext$major'
   17202     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17203     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17204     ;;
   17205   *)
   17206     shrext_cmds='.sl'
   17207     dynamic_linker="$host_os dld.sl"
   17208     shlibpath_var=SHLIB_PATH
   17209     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17210     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17211     soname_spec='$libname$release$shared_ext$major'
   17212     ;;
   17213   esac
   17214   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17215   postinstall_cmds='chmod 555 $lib'
   17216   # or fails outright, so override atomically:
   17217   install_override_mode=555
   17218   ;;
   17219 
   17220 interix[3-9]*)
   17221   version_type=linux # correct to gnu/linux during the next big refactor
   17222   need_lib_prefix=no
   17223   need_version=no
   17224   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17225   soname_spec='$libname$release$shared_ext$major'
   17226   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17227   shlibpath_var=LD_LIBRARY_PATH
   17228   shlibpath_overrides_runpath=no
   17229   hardcode_into_libs=yes
   17230   ;;
   17231 
   17232 irix5* | irix6* | nonstopux*)
   17233   case $host_os in
   17234     nonstopux*) version_type=nonstopux ;;
   17235     *)
   17236 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17237 		version_type=linux # correct to gnu/linux during the next big refactor
   17238 	else
   17239 		version_type=irix
   17240 	fi ;;
   17241   esac
   17242   need_lib_prefix=no
   17243   need_version=no
   17244   soname_spec='$libname$release$shared_ext$major'
   17245   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17246   case $host_os in
   17247   irix5* | nonstopux*)
   17248     libsuff= shlibsuff=
   17249     ;;
   17250   *)
   17251     case $LD in # libtool.m4 will add one of these switches to LD
   17252     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17253       libsuff= shlibsuff= libmagic=32-bit;;
   17254     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17255       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17256     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17257       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17258     *) libsuff= shlibsuff= libmagic=never-match;;
   17259     esac
   17260     ;;
   17261   esac
   17262   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17263   shlibpath_overrides_runpath=no
   17264   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17265   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17266   hardcode_into_libs=yes
   17267   ;;
   17268 
   17269 # No shared lib support for Linux oldld, aout, or coff.
   17270 linux*oldld* | linux*aout* | linux*coff*)
   17271   dynamic_linker=no
   17272   ;;
   17273 
   17274 linux*android*)
   17275   version_type=none # Android doesn't support versioned libraries.
   17276   need_lib_prefix=no
   17277   need_version=no
   17278   library_names_spec='$libname$release$shared_ext'
   17279   soname_spec='$libname$release$shared_ext'
   17280   finish_cmds=
   17281   shlibpath_var=LD_LIBRARY_PATH
   17282   shlibpath_overrides_runpath=yes
   17283 
   17284   # This implies no fast_install, which is unacceptable.
   17285   # Some rework will be needed to allow for fast_install
   17286   # before this can be enabled.
   17287   hardcode_into_libs=yes
   17288 
   17289   dynamic_linker='Android linker'
   17290   # Don't embed -rpath directories since the linker doesn't support them.
   17291   hardcode_libdir_flag_spec='-L$libdir'
   17292   ;;
   17293 
   17294 # This must be glibc/ELF.
   17295 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17296   version_type=linux # correct to gnu/linux during the next big refactor
   17297   need_lib_prefix=no
   17298   need_version=no
   17299   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17300   soname_spec='$libname$release$shared_ext$major'
   17301   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17302   shlibpath_var=LD_LIBRARY_PATH
   17303   shlibpath_overrides_runpath=no
   17304 
   17305   # Some binutils ld are patched to set DT_RUNPATH
   17306   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17307   $as_echo_n "(cached) " >&6
   17308 else
   17309   lt_cv_shlibpath_overrides_runpath=no
   17310     save_LDFLAGS=$LDFLAGS
   17311     save_libdir=$libdir
   17312     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17313 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17314     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17315 /* end confdefs.h.  */
   17316 
   17317 int
   17318 main ()
   17319 {
   17320 
   17321   ;
   17322   return 0;
   17323 }
   17324 _ACEOF
   17325 if ac_fn_c_try_link "$LINENO"; then :
   17326   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17327   lt_cv_shlibpath_overrides_runpath=yes
   17328 fi
   17329 fi
   17330 rm -f core conftest.err conftest.$ac_objext \
   17331     conftest$ac_exeext conftest.$ac_ext
   17332     LDFLAGS=$save_LDFLAGS
   17333     libdir=$save_libdir
   17334 
   17335 fi
   17336 
   17337   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17338 
   17339   # This implies no fast_install, which is unacceptable.
   17340   # Some rework will be needed to allow for fast_install
   17341   # before this can be enabled.
   17342   hardcode_into_libs=yes
   17343 
   17344   # Ideally, we could use ldconfig to report *all* directores which are
   17345   # searched for libraries, however this is still not possible.  Aside from not
   17346   # being certain /sbin/ldconfig is available, command
   17347   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17348   # even though it is searched at run-time.  Try to do the best guess by
   17349   # appending ld.so.conf contents (and includes) to the search path.
   17350   if test -f /etc/ld.so.conf; then
   17351     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' ' '`
   17352     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17353   fi
   17354 
   17355   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17356   # powerpc, because MkLinux only supported shared libraries with the
   17357   # GNU dynamic linker.  Since this was broken with cross compilers,
   17358   # most powerpc-linux boxes support dynamic linking these days and
   17359   # people can always --disable-shared, the test was removed, and we
   17360   # assume the GNU/Linux dynamic linker is in use.
   17361   dynamic_linker='GNU/Linux ld.so'
   17362   ;;
   17363 
   17364 netbsd*)
   17365   version_type=sunos
   17366   need_lib_prefix=no
   17367   need_version=no
   17368   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17369     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17370     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17371     dynamic_linker='NetBSD (a.out) ld.so'
   17372   else
   17373     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17374     soname_spec='$libname$release$shared_ext$major'
   17375     dynamic_linker='NetBSD ld.elf_so'
   17376   fi
   17377   shlibpath_var=LD_LIBRARY_PATH
   17378   shlibpath_overrides_runpath=yes
   17379   hardcode_into_libs=yes
   17380   ;;
   17381 
   17382 newsos6)
   17383   version_type=linux # correct to gnu/linux during the next big refactor
   17384   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17385   shlibpath_var=LD_LIBRARY_PATH
   17386   shlibpath_overrides_runpath=yes
   17387   ;;
   17388 
   17389 *nto* | *qnx*)
   17390   version_type=qnx
   17391   need_lib_prefix=no
   17392   need_version=no
   17393   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17394   soname_spec='$libname$release$shared_ext$major'
   17395   shlibpath_var=LD_LIBRARY_PATH
   17396   shlibpath_overrides_runpath=no
   17397   hardcode_into_libs=yes
   17398   dynamic_linker='ldqnx.so'
   17399   ;;
   17400 
   17401 openbsd* | bitrig*)
   17402   version_type=sunos
   17403   sys_lib_dlsearch_path_spec=/usr/lib
   17404   need_lib_prefix=no
   17405   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17406     need_version=no
   17407   else
   17408     need_version=yes
   17409   fi
   17410   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17411   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17412   shlibpath_var=LD_LIBRARY_PATH
   17413   shlibpath_overrides_runpath=yes
   17414   ;;
   17415 
   17416 os2*)
   17417   libname_spec='$name'
   17418   version_type=windows
   17419   shrext_cmds=.dll
   17420   need_version=no
   17421   need_lib_prefix=no
   17422   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17423   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17424     v=$($ECHO $release$versuffix | tr -d .-);
   17425     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17426     $ECHO $n$v`$shared_ext'
   17427   library_names_spec='${libname}_dll.$libext'
   17428   dynamic_linker='OS/2 ld.exe'
   17429   shlibpath_var=BEGINLIBPATH
   17430   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17431   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17432   postinstall_cmds='base_file=`basename \$file`~
   17433     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17434     dldir=$destdir/`dirname \$dlpath`~
   17435     test -d \$dldir || mkdir -p \$dldir~
   17436     $install_prog $dir/$dlname \$dldir/$dlname~
   17437     chmod a+x \$dldir/$dlname~
   17438     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17439       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17440     fi'
   17441   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17442     dlpath=$dir/\$dldll~
   17443     $RM \$dlpath'
   17444   ;;
   17445 
   17446 osf3* | osf4* | osf5*)
   17447   version_type=osf
   17448   need_lib_prefix=no
   17449   need_version=no
   17450   soname_spec='$libname$release$shared_ext$major'
   17451   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17452   shlibpath_var=LD_LIBRARY_PATH
   17453   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17454   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17455   ;;
   17456 
   17457 rdos*)
   17458   dynamic_linker=no
   17459   ;;
   17460 
   17461 solaris*)
   17462   version_type=linux # correct to gnu/linux during the next big refactor
   17463   need_lib_prefix=no
   17464   need_version=no
   17465   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17466   soname_spec='$libname$release$shared_ext$major'
   17467   shlibpath_var=LD_LIBRARY_PATH
   17468   shlibpath_overrides_runpath=yes
   17469   hardcode_into_libs=yes
   17470   # ldd complains unless libraries are executable
   17471   postinstall_cmds='chmod +x $lib'
   17472   ;;
   17473 
   17474 sunos4*)
   17475   version_type=sunos
   17476   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17477   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17478   shlibpath_var=LD_LIBRARY_PATH
   17479   shlibpath_overrides_runpath=yes
   17480   if test yes = "$with_gnu_ld"; then
   17481     need_lib_prefix=no
   17482   fi
   17483   need_version=yes
   17484   ;;
   17485 
   17486 sysv4 | sysv4.3*)
   17487   version_type=linux # correct to gnu/linux during the next big refactor
   17488   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17489   soname_spec='$libname$release$shared_ext$major'
   17490   shlibpath_var=LD_LIBRARY_PATH
   17491   case $host_vendor in
   17492     sni)
   17493       shlibpath_overrides_runpath=no
   17494       need_lib_prefix=no
   17495       runpath_var=LD_RUN_PATH
   17496       ;;
   17497     siemens)
   17498       need_lib_prefix=no
   17499       ;;
   17500     motorola)
   17501       need_lib_prefix=no
   17502       need_version=no
   17503       shlibpath_overrides_runpath=no
   17504       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17505       ;;
   17506   esac
   17507   ;;
   17508 
   17509 sysv4*MP*)
   17510   if test -d /usr/nec; then
   17511     version_type=linux # correct to gnu/linux during the next big refactor
   17512     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17513     soname_spec='$libname$shared_ext.$major'
   17514     shlibpath_var=LD_LIBRARY_PATH
   17515   fi
   17516   ;;
   17517 
   17518 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17519   version_type=sco
   17520   need_lib_prefix=no
   17521   need_version=no
   17522   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17523   soname_spec='$libname$release$shared_ext$major'
   17524   shlibpath_var=LD_LIBRARY_PATH
   17525   shlibpath_overrides_runpath=yes
   17526   hardcode_into_libs=yes
   17527   if test yes = "$with_gnu_ld"; then
   17528     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17529   else
   17530     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17531     case $host_os in
   17532       sco3.2v5*)
   17533         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17534 	;;
   17535     esac
   17536   fi
   17537   sys_lib_dlsearch_path_spec='/usr/lib'
   17538   ;;
   17539 
   17540 tpf*)
   17541   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17542   version_type=linux # correct to gnu/linux during the next big refactor
   17543   need_lib_prefix=no
   17544   need_version=no
   17545   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17546   shlibpath_var=LD_LIBRARY_PATH
   17547   shlibpath_overrides_runpath=no
   17548   hardcode_into_libs=yes
   17549   ;;
   17550 
   17551 uts4*)
   17552   version_type=linux # correct to gnu/linux during the next big refactor
   17553   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17554   soname_spec='$libname$release$shared_ext$major'
   17555   shlibpath_var=LD_LIBRARY_PATH
   17556   ;;
   17557 
   17558 *)
   17559   dynamic_linker=no
   17560   ;;
   17561 esac
   17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17563 $as_echo "$dynamic_linker" >&6; }
   17564 test no = "$dynamic_linker" && can_build_shared=no
   17565 
   17566 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17567 if test yes = "$GCC"; then
   17568   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17569 fi
   17570 
   17571 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17572   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17573 fi
   17574 
   17575 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17576   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17577 fi
   17578 
   17579 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17580 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17581 
   17582 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17583 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17584 
   17585 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17586 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17685 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17686 hardcode_action=
   17687 if test -n "$hardcode_libdir_flag_spec" ||
   17688    test -n "$runpath_var" ||
   17689    test yes = "$hardcode_automatic"; then
   17690 
   17691   # We can hardcode non-existent directories.
   17692   if test no != "$hardcode_direct" &&
   17693      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17694      # have to relink, otherwise we might link with an installed library
   17695      # when we should be linking with a yet-to-be-installed one
   17696      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17697      test no != "$hardcode_minus_L"; then
   17698     # Linking always hardcodes the temporary library directory.
   17699     hardcode_action=relink
   17700   else
   17701     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17702     hardcode_action=immediate
   17703   fi
   17704 else
   17705   # We cannot hardcode anything, or else we can only hardcode existing
   17706   # directories.
   17707   hardcode_action=unsupported
   17708 fi
   17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17710 $as_echo "$hardcode_action" >&6; }
   17711 
   17712 if test relink = "$hardcode_action" ||
   17713    test yes = "$inherit_rpath"; then
   17714   # Fast installation is not supported
   17715   enable_fast_install=no
   17716 elif test yes = "$shlibpath_overrides_runpath" ||
   17717      test no = "$enable_shared"; then
   17718   # Fast installation is not necessary
   17719   enable_fast_install=needless
   17720 fi
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727   if test yes != "$enable_dlopen"; then
   17728   enable_dlopen=unknown
   17729   enable_dlopen_self=unknown
   17730   enable_dlopen_self_static=unknown
   17731 else
   17732   lt_cv_dlopen=no
   17733   lt_cv_dlopen_libs=
   17734 
   17735   case $host_os in
   17736   beos*)
   17737     lt_cv_dlopen=load_add_on
   17738     lt_cv_dlopen_libs=
   17739     lt_cv_dlopen_self=yes
   17740     ;;
   17741 
   17742   mingw* | pw32* | cegcc*)
   17743     lt_cv_dlopen=LoadLibrary
   17744     lt_cv_dlopen_libs=
   17745     ;;
   17746 
   17747   cygwin*)
   17748     lt_cv_dlopen=dlopen
   17749     lt_cv_dlopen_libs=
   17750     ;;
   17751 
   17752   darwin*)
   17753     # if libdl is installed we need to link against it
   17754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17755 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17756 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17757   $as_echo_n "(cached) " >&6
   17758 else
   17759   ac_check_lib_save_LIBS=$LIBS
   17760 LIBS="-ldl  $LIBS"
   17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17762 /* end confdefs.h.  */
   17763 
   17764 /* Override any GCC internal prototype to avoid an error.
   17765    Use char because int might match the return type of a GCC
   17766    builtin and then its argument prototype would still apply.  */
   17767 #ifdef __cplusplus
   17768 extern "C"
   17769 #endif
   17770 char dlopen ();
   17771 int
   17772 main ()
   17773 {
   17774 return dlopen ();
   17775   ;
   17776   return 0;
   17777 }
   17778 _ACEOF
   17779 if ac_fn_c_try_link "$LINENO"; then :
   17780   ac_cv_lib_dl_dlopen=yes
   17781 else
   17782   ac_cv_lib_dl_dlopen=no
   17783 fi
   17784 rm -f core conftest.err conftest.$ac_objext \
   17785     conftest$ac_exeext conftest.$ac_ext
   17786 LIBS=$ac_check_lib_save_LIBS
   17787 fi
   17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17789 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17790 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17791   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17792 else
   17793 
   17794     lt_cv_dlopen=dyld
   17795     lt_cv_dlopen_libs=
   17796     lt_cv_dlopen_self=yes
   17797 
   17798 fi
   17799 
   17800     ;;
   17801 
   17802   tpf*)
   17803     # Don't try to run any link tests for TPF.  We know it's impossible
   17804     # because TPF is a cross-compiler, and we know how we open DSOs.
   17805     lt_cv_dlopen=dlopen
   17806     lt_cv_dlopen_libs=
   17807     lt_cv_dlopen_self=no
   17808     ;;
   17809 
   17810   *)
   17811     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17812 if test "x$ac_cv_func_shl_load" = xyes; then :
   17813   lt_cv_dlopen=shl_load
   17814 else
   17815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17816 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17817 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17818   $as_echo_n "(cached) " >&6
   17819 else
   17820   ac_check_lib_save_LIBS=$LIBS
   17821 LIBS="-ldld  $LIBS"
   17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17823 /* end confdefs.h.  */
   17824 
   17825 /* Override any GCC internal prototype to avoid an error.
   17826    Use char because int might match the return type of a GCC
   17827    builtin and then its argument prototype would still apply.  */
   17828 #ifdef __cplusplus
   17829 extern "C"
   17830 #endif
   17831 char shl_load ();
   17832 int
   17833 main ()
   17834 {
   17835 return shl_load ();
   17836   ;
   17837   return 0;
   17838 }
   17839 _ACEOF
   17840 if ac_fn_c_try_link "$LINENO"; then :
   17841   ac_cv_lib_dld_shl_load=yes
   17842 else
   17843   ac_cv_lib_dld_shl_load=no
   17844 fi
   17845 rm -f core conftest.err conftest.$ac_objext \
   17846     conftest$ac_exeext conftest.$ac_ext
   17847 LIBS=$ac_check_lib_save_LIBS
   17848 fi
   17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17850 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17851 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17852   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17853 else
   17854   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17855 if test "x$ac_cv_func_dlopen" = xyes; then :
   17856   lt_cv_dlopen=dlopen
   17857 else
   17858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17859 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17860 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17861   $as_echo_n "(cached) " >&6
   17862 else
   17863   ac_check_lib_save_LIBS=$LIBS
   17864 LIBS="-ldl  $LIBS"
   17865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17866 /* end confdefs.h.  */
   17867 
   17868 /* Override any GCC internal prototype to avoid an error.
   17869    Use char because int might match the return type of a GCC
   17870    builtin and then its argument prototype would still apply.  */
   17871 #ifdef __cplusplus
   17872 extern "C"
   17873 #endif
   17874 char dlopen ();
   17875 int
   17876 main ()
   17877 {
   17878 return dlopen ();
   17879   ;
   17880   return 0;
   17881 }
   17882 _ACEOF
   17883 if ac_fn_c_try_link "$LINENO"; then :
   17884   ac_cv_lib_dl_dlopen=yes
   17885 else
   17886   ac_cv_lib_dl_dlopen=no
   17887 fi
   17888 rm -f core conftest.err conftest.$ac_objext \
   17889     conftest$ac_exeext conftest.$ac_ext
   17890 LIBS=$ac_check_lib_save_LIBS
   17891 fi
   17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17893 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17894 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17895   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17896 else
   17897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17898 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17899 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17900   $as_echo_n "(cached) " >&6
   17901 else
   17902   ac_check_lib_save_LIBS=$LIBS
   17903 LIBS="-lsvld  $LIBS"
   17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17905 /* end confdefs.h.  */
   17906 
   17907 /* Override any GCC internal prototype to avoid an error.
   17908    Use char because int might match the return type of a GCC
   17909    builtin and then its argument prototype would still apply.  */
   17910 #ifdef __cplusplus
   17911 extern "C"
   17912 #endif
   17913 char dlopen ();
   17914 int
   17915 main ()
   17916 {
   17917 return dlopen ();
   17918   ;
   17919   return 0;
   17920 }
   17921 _ACEOF
   17922 if ac_fn_c_try_link "$LINENO"; then :
   17923   ac_cv_lib_svld_dlopen=yes
   17924 else
   17925   ac_cv_lib_svld_dlopen=no
   17926 fi
   17927 rm -f core conftest.err conftest.$ac_objext \
   17928     conftest$ac_exeext conftest.$ac_ext
   17929 LIBS=$ac_check_lib_save_LIBS
   17930 fi
   17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17932 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17933 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17934   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   17935 else
   17936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17937 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17938 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17939   $as_echo_n "(cached) " >&6
   17940 else
   17941   ac_check_lib_save_LIBS=$LIBS
   17942 LIBS="-ldld  $LIBS"
   17943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17944 /* end confdefs.h.  */
   17945 
   17946 /* Override any GCC internal prototype to avoid an error.
   17947    Use char because int might match the return type of a GCC
   17948    builtin and then its argument prototype would still apply.  */
   17949 #ifdef __cplusplus
   17950 extern "C"
   17951 #endif
   17952 char dld_link ();
   17953 int
   17954 main ()
   17955 {
   17956 return dld_link ();
   17957   ;
   17958   return 0;
   17959 }
   17960 _ACEOF
   17961 if ac_fn_c_try_link "$LINENO"; then :
   17962   ac_cv_lib_dld_dld_link=yes
   17963 else
   17964   ac_cv_lib_dld_dld_link=no
   17965 fi
   17966 rm -f core conftest.err conftest.$ac_objext \
   17967     conftest$ac_exeext conftest.$ac_ext
   17968 LIBS=$ac_check_lib_save_LIBS
   17969 fi
   17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17971 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17972 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17973   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   17974 fi
   17975 
   17976 
   17977 fi
   17978 
   17979 
   17980 fi
   17981 
   17982 
   17983 fi
   17984 
   17985 
   17986 fi
   17987 
   17988 
   17989 fi
   17990 
   17991     ;;
   17992   esac
   17993 
   17994   if test no = "$lt_cv_dlopen"; then
   17995     enable_dlopen=no
   17996   else
   17997     enable_dlopen=yes
   17998   fi
   17999 
   18000   case $lt_cv_dlopen in
   18001   dlopen)
   18002     save_CPPFLAGS=$CPPFLAGS
   18003     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18004 
   18005     save_LDFLAGS=$LDFLAGS
   18006     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18007 
   18008     save_LIBS=$LIBS
   18009     LIBS="$lt_cv_dlopen_libs $LIBS"
   18010 
   18011     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18012 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18013 if ${lt_cv_dlopen_self+:} false; then :
   18014   $as_echo_n "(cached) " >&6
   18015 else
   18016   	  if test yes = "$cross_compiling"; then :
   18017   lt_cv_dlopen_self=cross
   18018 else
   18019   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18020   lt_status=$lt_dlunknown
   18021   cat > conftest.$ac_ext <<_LT_EOF
   18022 #line $LINENO "configure"
   18023 #include "confdefs.h"
   18024 
   18025 #if HAVE_DLFCN_H
   18026 #include <dlfcn.h>
   18027 #endif
   18028 
   18029 #include <stdio.h>
   18030 
   18031 #ifdef RTLD_GLOBAL
   18032 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18033 #else
   18034 #  ifdef DL_GLOBAL
   18035 #    define LT_DLGLOBAL		DL_GLOBAL
   18036 #  else
   18037 #    define LT_DLGLOBAL		0
   18038 #  endif
   18039 #endif
   18040 
   18041 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18042    find out it does not work in some platform. */
   18043 #ifndef LT_DLLAZY_OR_NOW
   18044 #  ifdef RTLD_LAZY
   18045 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18046 #  else
   18047 #    ifdef DL_LAZY
   18048 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18049 #    else
   18050 #      ifdef RTLD_NOW
   18051 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18052 #      else
   18053 #        ifdef DL_NOW
   18054 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18055 #        else
   18056 #          define LT_DLLAZY_OR_NOW	0
   18057 #        endif
   18058 #      endif
   18059 #    endif
   18060 #  endif
   18061 #endif
   18062 
   18063 /* When -fvisibility=hidden is used, assume the code has been annotated
   18064    correspondingly for the symbols needed.  */
   18065 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18066 int fnord () __attribute__((visibility("default")));
   18067 #endif
   18068 
   18069 int fnord () { return 42; }
   18070 int main ()
   18071 {
   18072   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18073   int status = $lt_dlunknown;
   18074 
   18075   if (self)
   18076     {
   18077       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18078       else
   18079         {
   18080 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18081           else puts (dlerror ());
   18082 	}
   18083       /* dlclose (self); */
   18084     }
   18085   else
   18086     puts (dlerror ());
   18087 
   18088   return status;
   18089 }
   18090 _LT_EOF
   18091   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18092   (eval $ac_link) 2>&5
   18093   ac_status=$?
   18094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18095   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18096     (./conftest; exit; ) >&5 2>/dev/null
   18097     lt_status=$?
   18098     case x$lt_status in
   18099       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18100       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18101       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18102     esac
   18103   else :
   18104     # compilation failed
   18105     lt_cv_dlopen_self=no
   18106   fi
   18107 fi
   18108 rm -fr conftest*
   18109 
   18110 
   18111 fi
   18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18113 $as_echo "$lt_cv_dlopen_self" >&6; }
   18114 
   18115     if test yes = "$lt_cv_dlopen_self"; then
   18116       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18117       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18118 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18119 if ${lt_cv_dlopen_self_static+:} false; then :
   18120   $as_echo_n "(cached) " >&6
   18121 else
   18122   	  if test yes = "$cross_compiling"; then :
   18123   lt_cv_dlopen_self_static=cross
   18124 else
   18125   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18126   lt_status=$lt_dlunknown
   18127   cat > conftest.$ac_ext <<_LT_EOF
   18128 #line $LINENO "configure"
   18129 #include "confdefs.h"
   18130 
   18131 #if HAVE_DLFCN_H
   18132 #include <dlfcn.h>
   18133 #endif
   18134 
   18135 #include <stdio.h>
   18136 
   18137 #ifdef RTLD_GLOBAL
   18138 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18139 #else
   18140 #  ifdef DL_GLOBAL
   18141 #    define LT_DLGLOBAL		DL_GLOBAL
   18142 #  else
   18143 #    define LT_DLGLOBAL		0
   18144 #  endif
   18145 #endif
   18146 
   18147 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18148    find out it does not work in some platform. */
   18149 #ifndef LT_DLLAZY_OR_NOW
   18150 #  ifdef RTLD_LAZY
   18151 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18152 #  else
   18153 #    ifdef DL_LAZY
   18154 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18155 #    else
   18156 #      ifdef RTLD_NOW
   18157 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18158 #      else
   18159 #        ifdef DL_NOW
   18160 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18161 #        else
   18162 #          define LT_DLLAZY_OR_NOW	0
   18163 #        endif
   18164 #      endif
   18165 #    endif
   18166 #  endif
   18167 #endif
   18168 
   18169 /* When -fvisibility=hidden is used, assume the code has been annotated
   18170    correspondingly for the symbols needed.  */
   18171 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18172 int fnord () __attribute__((visibility("default")));
   18173 #endif
   18174 
   18175 int fnord () { return 42; }
   18176 int main ()
   18177 {
   18178   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18179   int status = $lt_dlunknown;
   18180 
   18181   if (self)
   18182     {
   18183       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18184       else
   18185         {
   18186 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18187           else puts (dlerror ());
   18188 	}
   18189       /* dlclose (self); */
   18190     }
   18191   else
   18192     puts (dlerror ());
   18193 
   18194   return status;
   18195 }
   18196 _LT_EOF
   18197   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18198   (eval $ac_link) 2>&5
   18199   ac_status=$?
   18200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18201   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18202     (./conftest; exit; ) >&5 2>/dev/null
   18203     lt_status=$?
   18204     case x$lt_status in
   18205       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18206       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18207       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18208     esac
   18209   else :
   18210     # compilation failed
   18211     lt_cv_dlopen_self_static=no
   18212   fi
   18213 fi
   18214 rm -fr conftest*
   18215 
   18216 
   18217 fi
   18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18219 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18220     fi
   18221 
   18222     CPPFLAGS=$save_CPPFLAGS
   18223     LDFLAGS=$save_LDFLAGS
   18224     LIBS=$save_LIBS
   18225     ;;
   18226   esac
   18227 
   18228   case $lt_cv_dlopen_self in
   18229   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18230   *) enable_dlopen_self=unknown ;;
   18231   esac
   18232 
   18233   case $lt_cv_dlopen_self_static in
   18234   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18235   *) enable_dlopen_self_static=unknown ;;
   18236   esac
   18237 fi
   18238 
   18239 
   18240 
   18241 
   18242 
   18243 
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 striplib=
   18256 old_striplib=
   18257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18258 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18259 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18260   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18261   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18263 $as_echo "yes" >&6; }
   18264 else
   18265 # FIXME - insert some real tests, host_os isn't really good enough
   18266   case $host_os in
   18267   darwin*)
   18268     if test -n "$STRIP"; then
   18269       striplib="$STRIP -x"
   18270       old_striplib="$STRIP -S"
   18271       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18272 $as_echo "yes" >&6; }
   18273     else
   18274       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18275 $as_echo "no" >&6; }
   18276     fi
   18277     ;;
   18278   *)
   18279     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18280 $as_echo "no" >&6; }
   18281     ;;
   18282   esac
   18283 fi
   18284 
   18285 
   18286 
   18287 
   18288 
   18289 
   18290 
   18291 
   18292 
   18293 
   18294 
   18295 
   18296   # Report what library types will actually be built
   18297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18298 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18300 $as_echo "$can_build_shared" >&6; }
   18301 
   18302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18303 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18304   test no = "$can_build_shared" && enable_shared=no
   18305 
   18306   # On AIX, shared libraries and static libraries use the same namespace, and
   18307   # are all built from PIC.
   18308   case $host_os in
   18309   aix3*)
   18310     test yes = "$enable_shared" && enable_static=no
   18311     if test -n "$RANLIB"; then
   18312       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18313       postinstall_cmds='$RANLIB $lib'
   18314     fi
   18315     ;;
   18316 
   18317   aix[4-9]*)
   18318     if test ia64 != "$host_cpu"; then
   18319       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18320       yes,aix,yes) ;;			# shared object as lib.so file only
   18321       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18322       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18323       esac
   18324     fi
   18325     ;;
   18326   esac
   18327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18328 $as_echo "$enable_shared" >&6; }
   18329 
   18330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18331 $as_echo_n "checking whether to build static libraries... " >&6; }
   18332   # Make sure either enable_shared or enable_static is yes.
   18333   test yes = "$enable_shared" || enable_static=yes
   18334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18335 $as_echo "$enable_static" >&6; }
   18336 
   18337 
   18338 
   18339 
   18340 fi
   18341 ac_ext=c
   18342 ac_cpp='$CPP $CPPFLAGS'
   18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18346 
   18347 CC=$lt_save_CC
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363         ac_config_commands="$ac_config_commands libtool"
   18364 
   18365 
   18366 
   18367 
   18368 # Only expand once:
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 # Define a configure option for an alternate module directory
   18375 
   18376 # Check whether --with-xorg-module-dir was given.
   18377 if test "${with_xorg_module_dir+set}" = set; then :
   18378   withval=$with_xorg_module_dir; moduledir="$withval"
   18379 else
   18380   moduledir="$libdir/xorg/modules"
   18381 fi
   18382 
   18383 
   18384 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18385 
   18386 
   18387 	SAVE_CFLAGS="$CFLAGS"
   18388 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18389 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18390 /* end confdefs.h.  */
   18391 
   18392 #include "xorg-server.h"
   18393 #if !defined RANDR
   18394 #error RANDR not defined
   18395 #endif
   18396 
   18397 int
   18398 main ()
   18399 {
   18400 
   18401   ;
   18402   return 0;
   18403 }
   18404 _ACEOF
   18405 if ac_fn_c_try_compile "$LINENO"; then :
   18406   _EXT_CHECK=yes
   18407 else
   18408   _EXT_CHECK=no
   18409 fi
   18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18411 	CFLAGS="$SAVE_CFLAGS"
   18412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18413 $as_echo_n "checking if RANDR is defined... " >&6; }
   18414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18415 $as_echo "$_EXT_CHECK" >&6; }
   18416 	if test "$_EXT_CHECK" != no; then
   18417 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18418 	fi
   18419 
   18420 
   18421 
   18422 	SAVE_CFLAGS="$CFLAGS"
   18423 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18424 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18425 /* end confdefs.h.  */
   18426 
   18427 #include "xorg-server.h"
   18428 #if !defined RENDER
   18429 #error RENDER not defined
   18430 #endif
   18431 
   18432 int
   18433 main ()
   18434 {
   18435 
   18436   ;
   18437   return 0;
   18438 }
   18439 _ACEOF
   18440 if ac_fn_c_try_compile "$LINENO"; then :
   18441   _EXT_CHECK=yes
   18442 else
   18443   _EXT_CHECK=no
   18444 fi
   18445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18446 	CFLAGS="$SAVE_CFLAGS"
   18447 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18448 $as_echo_n "checking if RENDER is defined... " >&6; }
   18449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18450 $as_echo "$_EXT_CHECK" >&6; }
   18451 	if test "$_EXT_CHECK" != no; then
   18452 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18453 	fi
   18454 
   18455 
   18456 # Obtain compiler/linker options for the driver dependencies
   18457 
   18458 pkg_failed=no
   18459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18460 $as_echo_n "checking for XORG... " >&6; }
   18461 
   18462 if test -n "$XORG_CFLAGS"; then
   18463     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18464  elif test -n "$PKG_CONFIG"; then
   18465     if test -n "$PKG_CONFIG" && \
   18466     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18467   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18468   ac_status=$?
   18469   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18470   test $ac_status = 0; }; then
   18471   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18472 		      test "x$?" != "x0" && pkg_failed=yes
   18473 else
   18474   pkg_failed=yes
   18475 fi
   18476  else
   18477     pkg_failed=untried
   18478 fi
   18479 if test -n "$XORG_LIBS"; then
   18480     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18481  elif test -n "$PKG_CONFIG"; then
   18482     if test -n "$PKG_CONFIG" && \
   18483     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18484   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18485   ac_status=$?
   18486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18487   test $ac_status = 0; }; then
   18488   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18489 		      test "x$?" != "x0" && pkg_failed=yes
   18490 else
   18491   pkg_failed=yes
   18492 fi
   18493  else
   18494     pkg_failed=untried
   18495 fi
   18496 
   18497 
   18498 
   18499 if test $pkg_failed = yes; then
   18500    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18501 $as_echo "no" >&6; }
   18502 
   18503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18504         _pkg_short_errors_supported=yes
   18505 else
   18506         _pkg_short_errors_supported=no
   18507 fi
   18508         if test $_pkg_short_errors_supported = yes; then
   18509 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18510         else
   18511 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18512         fi
   18513 	# Put the nasty error message in config.log where it belongs
   18514 	echo "$XORG_PKG_ERRORS" >&5
   18515 
   18516 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   18517 
   18518 $XORG_PKG_ERRORS
   18519 
   18520 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18521 installed software in a non-standard prefix.
   18522 
   18523 Alternatively, you may set the environment variables XORG_CFLAGS
   18524 and XORG_LIBS to avoid the need to call pkg-config.
   18525 See the pkg-config man page for more details." "$LINENO" 5
   18526 elif test $pkg_failed = untried; then
   18527      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18528 $as_echo "no" >&6; }
   18529 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18531 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18532 is in your PATH or set the PKG_CONFIG environment variable to the full
   18533 path to pkg-config.
   18534 
   18535 Alternatively, you may set the environment variables XORG_CFLAGS
   18536 and XORG_LIBS to avoid the need to call pkg-config.
   18537 See the pkg-config man page for more details.
   18538 
   18539 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18540 See \`config.log' for more details" "$LINENO" 5; }
   18541 else
   18542 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18543 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18544         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18545 $as_echo "yes" >&6; }
   18546 
   18547 fi
   18548 
   18549 # Checks for libraries.
   18550 
   18551 
   18552 
   18553 DRIVER_NAME=sunleo
   18554 
   18555 
   18556 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18557 
   18558 cat >confcache <<\_ACEOF
   18559 # This file is a shell script that caches the results of configure
   18560 # tests run on this system so they can be shared between configure
   18561 # scripts and configure runs, see configure's option --config-cache.
   18562 # It is not useful on other systems.  If it contains results you don't
   18563 # want to keep, you may remove or edit it.
   18564 #
   18565 # config.status only pays attention to the cache file if you give it
   18566 # the --recheck option to rerun configure.
   18567 #
   18568 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18569 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18570 # following values.
   18571 
   18572 _ACEOF
   18573 
   18574 # The following way of writing the cache mishandles newlines in values,
   18575 # but we know of no workaround that is simple, portable, and efficient.
   18576 # So, we kill variables containing newlines.
   18577 # Ultrix sh set writes to stderr and can't be redirected directly,
   18578 # and sets the high bit in the cache file unless we assign to the vars.
   18579 (
   18580   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18581     eval ac_val=\$$ac_var
   18582     case $ac_val in #(
   18583     *${as_nl}*)
   18584       case $ac_var in #(
   18585       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18587       esac
   18588       case $ac_var in #(
   18589       _ | IFS | as_nl) ;; #(
   18590       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18591       *) { eval $ac_var=; unset $ac_var;} ;;
   18592       esac ;;
   18593     esac
   18594   done
   18595 
   18596   (set) 2>&1 |
   18597     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18598     *${as_nl}ac_space=\ *)
   18599       # `set' does not quote correctly, so add quotes: double-quote
   18600       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18601       sed -n \
   18602 	"s/'/'\\\\''/g;
   18603 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18604       ;; #(
   18605     *)
   18606       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18607       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18608       ;;
   18609     esac |
   18610     sort
   18611 ) |
   18612   sed '
   18613      /^ac_cv_env_/b end
   18614      t clear
   18615      :clear
   18616      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18617      t end
   18618      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18619      :end' >>confcache
   18620 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18621   if test -w "$cache_file"; then
   18622     if test "x$cache_file" != "x/dev/null"; then
   18623       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18624 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18625       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18626 	cat confcache >"$cache_file"
   18627       else
   18628         case $cache_file in #(
   18629         */* | ?:*)
   18630 	  mv -f confcache "$cache_file"$$ &&
   18631 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18632         *)
   18633 	  mv -f confcache "$cache_file" ;;
   18634 	esac
   18635       fi
   18636     fi
   18637   else
   18638     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18639 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18640   fi
   18641 fi
   18642 rm -f confcache
   18643 
   18644 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18645 # Let make expand exec_prefix.
   18646 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18647 
   18648 DEFS=-DHAVE_CONFIG_H
   18649 
   18650 ac_libobjs=
   18651 ac_ltlibobjs=
   18652 U=
   18653 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18654   # 1. Remove the extension, and $U if already installed.
   18655   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18656   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18657   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18658   #    will be set to the directory where LIBOBJS objects are built.
   18659   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18660   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18661 done
   18662 LIBOBJS=$ac_libobjs
   18663 
   18664 LTLIBOBJS=$ac_ltlibobjs
   18665 
   18666 
   18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18668 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18669    if test -n "$am_sleep_pid"; then
   18670      # Hide warnings about reused PIDs.
   18671      wait $am_sleep_pid 2>/dev/null
   18672    fi
   18673    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18674 $as_echo "done" >&6; }
   18675  if test -n "$EXEEXT"; then
   18676   am__EXEEXT_TRUE=
   18677   am__EXEEXT_FALSE='#'
   18678 else
   18679   am__EXEEXT_TRUE='#'
   18680   am__EXEEXT_FALSE=
   18681 fi
   18682 
   18683 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18684   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18686 fi
   18687 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18688   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18690 fi
   18691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18692   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18694 fi
   18695 
   18696 : "${CONFIG_STATUS=./config.status}"
   18697 ac_write_fail=0
   18698 ac_clean_files_save=$ac_clean_files
   18699 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18701 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18702 as_write_fail=0
   18703 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18704 #! $SHELL
   18705 # Generated by $as_me.
   18706 # Run this file to recreate the current configuration.
   18707 # Compiler output produced by configure, useful for debugging
   18708 # configure, is in config.log if it exists.
   18709 
   18710 debug=false
   18711 ac_cs_recheck=false
   18712 ac_cs_silent=false
   18713 
   18714 SHELL=\${CONFIG_SHELL-$SHELL}
   18715 export SHELL
   18716 _ASEOF
   18717 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18718 ## -------------------- ##
   18719 ## M4sh Initialization. ##
   18720 ## -------------------- ##
   18721 
   18722 # Be more Bourne compatible
   18723 DUALCASE=1; export DUALCASE # for MKS sh
   18724 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18725   emulate sh
   18726   NULLCMD=:
   18727   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18728   # is contrary to our usage.  Disable this feature.
   18729   alias -g '${1+"$@"}'='"$@"'
   18730   setopt NO_GLOB_SUBST
   18731 else
   18732   case `(set -o) 2>/dev/null` in #(
   18733   *posix*) :
   18734     set -o posix ;; #(
   18735   *) :
   18736      ;;
   18737 esac
   18738 fi
   18739 
   18740 
   18741 as_nl='
   18742 '
   18743 export as_nl
   18744 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18745 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18747 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18748 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18749 # but without wasting forks for bash or zsh.
   18750 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18751     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18752   as_echo='print -r --'
   18753   as_echo_n='print -rn --'
   18754 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18755   as_echo='printf %s\n'
   18756   as_echo_n='printf %s'
   18757 else
   18758   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18759     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18760     as_echo_n='/usr/ucb/echo -n'
   18761   else
   18762     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18763     as_echo_n_body='eval
   18764       arg=$1;
   18765       case $arg in #(
   18766       *"$as_nl"*)
   18767 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18768 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18769       esac;
   18770       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18771     '
   18772     export as_echo_n_body
   18773     as_echo_n='sh -c $as_echo_n_body as_echo'
   18774   fi
   18775   export as_echo_body
   18776   as_echo='sh -c $as_echo_body as_echo'
   18777 fi
   18778 
   18779 # The user is always right.
   18780 if test "${PATH_SEPARATOR+set}" != set; then
   18781   PATH_SEPARATOR=:
   18782   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18783     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18784       PATH_SEPARATOR=';'
   18785   }
   18786 fi
   18787 
   18788 
   18789 # IFS
   18790 # We need space, tab and new line, in precisely that order.  Quoting is
   18791 # there to prevent editors from complaining about space-tab.
   18792 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18793 # splitting by setting IFS to empty value.)
   18794 IFS=" ""	$as_nl"
   18795 
   18796 # Find who we are.  Look in the path if we contain no directory separator.
   18797 as_myself=
   18798 case $0 in #((
   18799   *[\\/]* ) as_myself=$0 ;;
   18800   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18801 for as_dir in $PATH
   18802 do
   18803   IFS=$as_save_IFS
   18804   test -z "$as_dir" && as_dir=.
   18805     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18806   done
   18807 IFS=$as_save_IFS
   18808 
   18809      ;;
   18810 esac
   18811 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18812 # in which case we are not to be found in the path.
   18813 if test "x$as_myself" = x; then
   18814   as_myself=$0
   18815 fi
   18816 if test ! -f "$as_myself"; then
   18817   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18818   exit 1
   18819 fi
   18820 
   18821 # Unset variables that we do not need and which cause bugs (e.g. in
   18822 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18823 # suppresses any "Segmentation fault" message there.  '((' could
   18824 # trigger a bug in pdksh 5.2.14.
   18825 for as_var in BASH_ENV ENV MAIL MAILPATH
   18826 do eval test x\${$as_var+set} = xset \
   18827   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18828 done
   18829 PS1='$ '
   18830 PS2='> '
   18831 PS4='+ '
   18832 
   18833 # NLS nuisances.
   18834 LC_ALL=C
   18835 export LC_ALL
   18836 LANGUAGE=C
   18837 export LANGUAGE
   18838 
   18839 # CDPATH.
   18840 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18841 
   18842 
   18843 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18844 # ----------------------------------------
   18845 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18846 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18847 # script with STATUS, using 1 if that was 0.
   18848 as_fn_error ()
   18849 {
   18850   as_status=$1; test $as_status -eq 0 && as_status=1
   18851   if test "$4"; then
   18852     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18853     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18854   fi
   18855   $as_echo "$as_me: error: $2" >&2
   18856   as_fn_exit $as_status
   18857 } # as_fn_error
   18858 
   18859 
   18860 # as_fn_set_status STATUS
   18861 # -----------------------
   18862 # Set $? to STATUS, without forking.
   18863 as_fn_set_status ()
   18864 {
   18865   return $1
   18866 } # as_fn_set_status
   18867 
   18868 # as_fn_exit STATUS
   18869 # -----------------
   18870 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18871 as_fn_exit ()
   18872 {
   18873   set +e
   18874   as_fn_set_status $1
   18875   exit $1
   18876 } # as_fn_exit
   18877 
   18878 # as_fn_unset VAR
   18879 # ---------------
   18880 # Portably unset VAR.
   18881 as_fn_unset ()
   18882 {
   18883   { eval $1=; unset $1;}
   18884 }
   18885 as_unset=as_fn_unset
   18886 # as_fn_append VAR VALUE
   18887 # ----------------------
   18888 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18889 # advantage of any shell optimizations that allow amortized linear growth over
   18890 # repeated appends, instead of the typical quadratic growth present in naive
   18891 # implementations.
   18892 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18893   eval 'as_fn_append ()
   18894   {
   18895     eval $1+=\$2
   18896   }'
   18897 else
   18898   as_fn_append ()
   18899   {
   18900     eval $1=\$$1\$2
   18901   }
   18902 fi # as_fn_append
   18903 
   18904 # as_fn_arith ARG...
   18905 # ------------------
   18906 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18907 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18908 # must be portable across $(()) and expr.
   18909 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18910   eval 'as_fn_arith ()
   18911   {
   18912     as_val=$(( $* ))
   18913   }'
   18914 else
   18915   as_fn_arith ()
   18916   {
   18917     as_val=`expr "$@" || test $? -eq 1`
   18918   }
   18919 fi # as_fn_arith
   18920 
   18921 
   18922 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18923    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18924   as_expr=expr
   18925 else
   18926   as_expr=false
   18927 fi
   18928 
   18929 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18930   as_basename=basename
   18931 else
   18932   as_basename=false
   18933 fi
   18934 
   18935 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18936   as_dirname=dirname
   18937 else
   18938   as_dirname=false
   18939 fi
   18940 
   18941 as_me=`$as_basename -- "$0" ||
   18942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18943 	 X"$0" : 'X\(//\)$' \| \
   18944 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18945 $as_echo X/"$0" |
   18946     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18947 	    s//\1/
   18948 	    q
   18949 	  }
   18950 	  /^X\/\(\/\/\)$/{
   18951 	    s//\1/
   18952 	    q
   18953 	  }
   18954 	  /^X\/\(\/\).*/{
   18955 	    s//\1/
   18956 	    q
   18957 	  }
   18958 	  s/.*/./; q'`
   18959 
   18960 # Avoid depending upon Character Ranges.
   18961 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18962 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18963 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18964 as_cr_digits='0123456789'
   18965 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18966 
   18967 ECHO_C= ECHO_N= ECHO_T=
   18968 case `echo -n x` in #(((((
   18969 -n*)
   18970   case `echo 'xy\c'` in
   18971   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18972   xy)  ECHO_C='\c';;
   18973   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18974        ECHO_T='	';;
   18975   esac;;
   18976 *)
   18977   ECHO_N='-n';;
   18978 esac
   18979 
   18980 rm -f conf$$ conf$$.exe conf$$.file
   18981 if test -d conf$$.dir; then
   18982   rm -f conf$$.dir/conf$$.file
   18983 else
   18984   rm -f conf$$.dir
   18985   mkdir conf$$.dir 2>/dev/null
   18986 fi
   18987 if (echo >conf$$.file) 2>/dev/null; then
   18988   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18989     as_ln_s='ln -s'
   18990     # ... but there are two gotchas:
   18991     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18992     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18993     # In both cases, we have to default to `cp -pR'.
   18994     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18995       as_ln_s='cp -pR'
   18996   elif ln conf$$.file conf$$ 2>/dev/null; then
   18997     as_ln_s=ln
   18998   else
   18999     as_ln_s='cp -pR'
   19000   fi
   19001 else
   19002   as_ln_s='cp -pR'
   19003 fi
   19004 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19005 rmdir conf$$.dir 2>/dev/null
   19006 
   19007 
   19008 # as_fn_mkdir_p
   19009 # -------------
   19010 # Create "$as_dir" as a directory, including parents if necessary.
   19011 as_fn_mkdir_p ()
   19012 {
   19013 
   19014   case $as_dir in #(
   19015   -*) as_dir=./$as_dir;;
   19016   esac
   19017   test -d "$as_dir" || eval $as_mkdir_p || {
   19018     as_dirs=
   19019     while :; do
   19020       case $as_dir in #(
   19021       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19022       *) as_qdir=$as_dir;;
   19023       esac
   19024       as_dirs="'$as_qdir' $as_dirs"
   19025       as_dir=`$as_dirname -- "$as_dir" ||
   19026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19027 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19028 	 X"$as_dir" : 'X\(//\)$' \| \
   19029 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19030 $as_echo X"$as_dir" |
   19031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19032 	    s//\1/
   19033 	    q
   19034 	  }
   19035 	  /^X\(\/\/\)[^/].*/{
   19036 	    s//\1/
   19037 	    q
   19038 	  }
   19039 	  /^X\(\/\/\)$/{
   19040 	    s//\1/
   19041 	    q
   19042 	  }
   19043 	  /^X\(\/\).*/{
   19044 	    s//\1/
   19045 	    q
   19046 	  }
   19047 	  s/.*/./; q'`
   19048       test -d "$as_dir" && break
   19049     done
   19050     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19051   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19052 
   19053 
   19054 } # as_fn_mkdir_p
   19055 if mkdir -p . 2>/dev/null; then
   19056   as_mkdir_p='mkdir -p "$as_dir"'
   19057 else
   19058   test -d ./-p && rmdir ./-p
   19059   as_mkdir_p=false
   19060 fi
   19061 
   19062 
   19063 # as_fn_executable_p FILE
   19064 # -----------------------
   19065 # Test if FILE is an executable regular file.
   19066 as_fn_executable_p ()
   19067 {
   19068   test -f "$1" && test -x "$1"
   19069 } # as_fn_executable_p
   19070 as_test_x='test -x'
   19071 as_executable_p=as_fn_executable_p
   19072 
   19073 # Sed expression to map a string onto a valid CPP name.
   19074 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19075 
   19076 # Sed expression to map a string onto a valid variable name.
   19077 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19078 
   19079 
   19080 exec 6>&1
   19081 ## ----------------------------------- ##
   19082 ## Main body of $CONFIG_STATUS script. ##
   19083 ## ----------------------------------- ##
   19084 _ASEOF
   19085 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19086 
   19087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19088 # Save the log message, to keep $0 and so on meaningful, and to
   19089 # report actual input values of CONFIG_FILES etc. instead of their
   19090 # values after options handling.
   19091 ac_log="
   19092 This file was extended by xf86-video-sunleo $as_me 1.2.2, which was
   19093 generated by GNU Autoconf 2.69.  Invocation command line was
   19094 
   19095   CONFIG_FILES    = $CONFIG_FILES
   19096   CONFIG_HEADERS  = $CONFIG_HEADERS
   19097   CONFIG_LINKS    = $CONFIG_LINKS
   19098   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19099   $ $0 $@
   19100 
   19101 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19102 "
   19103 
   19104 _ACEOF
   19105 
   19106 case $ac_config_files in *"
   19107 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19108 esac
   19109 
   19110 case $ac_config_headers in *"
   19111 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19112 esac
   19113 
   19114 
   19115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19116 # Files that config.status was made for.
   19117 config_files="$ac_config_files"
   19118 config_headers="$ac_config_headers"
   19119 config_commands="$ac_config_commands"
   19120 
   19121 _ACEOF
   19122 
   19123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19124 ac_cs_usage="\
   19125 \`$as_me' instantiates files and other configuration actions
   19126 from templates according to the current configuration.  Unless the files
   19127 and actions are specified as TAGs, all are instantiated by default.
   19128 
   19129 Usage: $0 [OPTION]... [TAG]...
   19130 
   19131   -h, --help       print this help, then exit
   19132   -V, --version    print version number and configuration settings, then exit
   19133       --config     print configuration, then exit
   19134   -q, --quiet, --silent
   19135                    do not print progress messages
   19136   -d, --debug      don't remove temporary files
   19137       --recheck    update $as_me by reconfiguring in the same conditions
   19138       --file=FILE[:TEMPLATE]
   19139                    instantiate the configuration file FILE
   19140       --header=FILE[:TEMPLATE]
   19141                    instantiate the configuration header FILE
   19142 
   19143 Configuration files:
   19144 $config_files
   19145 
   19146 Configuration headers:
   19147 $config_headers
   19148 
   19149 Configuration commands:
   19150 $config_commands
   19151 
   19152 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19153 
   19154 _ACEOF
   19155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19156 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19157 ac_cs_version="\\
   19158 xf86-video-sunleo config.status 1.2.2
   19159 configured by $0, generated by GNU Autoconf 2.69,
   19160   with options \\"\$ac_cs_config\\"
   19161 
   19162 Copyright (C) 2012 Free Software Foundation, Inc.
   19163 This config.status script is free software; the Free Software Foundation
   19164 gives unlimited permission to copy, distribute and modify it."
   19165 
   19166 ac_pwd='$ac_pwd'
   19167 srcdir='$srcdir'
   19168 INSTALL='$INSTALL'
   19169 MKDIR_P='$MKDIR_P'
   19170 AWK='$AWK'
   19171 test -n "\$AWK" || AWK=awk
   19172 _ACEOF
   19173 
   19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19175 # The default lists apply if the user does not specify any file.
   19176 ac_need_defaults=:
   19177 while test $# != 0
   19178 do
   19179   case $1 in
   19180   --*=?*)
   19181     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19182     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19183     ac_shift=:
   19184     ;;
   19185   --*=)
   19186     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19187     ac_optarg=
   19188     ac_shift=:
   19189     ;;
   19190   *)
   19191     ac_option=$1
   19192     ac_optarg=$2
   19193     ac_shift=shift
   19194     ;;
   19195   esac
   19196 
   19197   case $ac_option in
   19198   # Handling of the options.
   19199   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19200     ac_cs_recheck=: ;;
   19201   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19202     $as_echo "$ac_cs_version"; exit ;;
   19203   --config | --confi | --conf | --con | --co | --c )
   19204     $as_echo "$ac_cs_config"; exit ;;
   19205   --debug | --debu | --deb | --de | --d | -d )
   19206     debug=: ;;
   19207   --file | --fil | --fi | --f )
   19208     $ac_shift
   19209     case $ac_optarg in
   19210     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19211     '') as_fn_error $? "missing file argument" ;;
   19212     esac
   19213     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19214     ac_need_defaults=false;;
   19215   --header | --heade | --head | --hea )
   19216     $ac_shift
   19217     case $ac_optarg in
   19218     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19219     esac
   19220     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19221     ac_need_defaults=false;;
   19222   --he | --h)
   19223     # Conflict between --help and --header
   19224     as_fn_error $? "ambiguous option: \`$1'
   19225 Try \`$0 --help' for more information.";;
   19226   --help | --hel | -h )
   19227     $as_echo "$ac_cs_usage"; exit ;;
   19228   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19229   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19230     ac_cs_silent=: ;;
   19231 
   19232   # This is an error.
   19233   -*) as_fn_error $? "unrecognized option: \`$1'
   19234 Try \`$0 --help' for more information." ;;
   19235 
   19236   *) as_fn_append ac_config_targets " $1"
   19237      ac_need_defaults=false ;;
   19238 
   19239   esac
   19240   shift
   19241 done
   19242 
   19243 ac_configure_extra_args=
   19244 
   19245 if $ac_cs_silent; then
   19246   exec 6>/dev/null
   19247   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19248 fi
   19249 
   19250 _ACEOF
   19251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19252 if \$ac_cs_recheck; then
   19253   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19254   shift
   19255   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19256   CONFIG_SHELL='$SHELL'
   19257   export CONFIG_SHELL
   19258   exec "\$@"
   19259 fi
   19260 
   19261 _ACEOF
   19262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19263 exec 5>>config.log
   19264 {
   19265   echo
   19266   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19267 ## Running $as_me. ##
   19268 _ASBOX
   19269   $as_echo "$ac_log"
   19270 } >&5
   19271 
   19272 _ACEOF
   19273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19274 #
   19275 # INIT-COMMANDS
   19276 #
   19277 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19278 
   19279 
   19280 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19281 # if CDPATH is set.
   19282 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19283 
   19284 sed_quote_subst='$sed_quote_subst'
   19285 double_quote_subst='$double_quote_subst'
   19286 delay_variable_subst='$delay_variable_subst'
   19287 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19288 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19289 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19290 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19291 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19292 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19293 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19294 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19295 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19296 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19297 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19298 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19299 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19300 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19301 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19302 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19303 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19304 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19305 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19306 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19307 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19308 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19309 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19310 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19311 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19312 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19313 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19314 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19315 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19316 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19317 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19318 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19319 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19320 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19321 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19322 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19323 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19324 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19325 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19326 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19327 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19328 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19329 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19330 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19331 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19332 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19333 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19334 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19335 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19336 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19337 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19338 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19339 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19340 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19341 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19342 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19343 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19344 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19345 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"`'
   19346 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19347 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19348 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19349 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19350 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19351 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19352 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19353 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19354 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19355 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19356 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19357 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19358 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19359 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19360 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19361 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19362 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19363 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19364 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19365 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19366 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19367 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19368 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19369 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19370 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19371 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19372 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19373 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19374 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19375 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19376 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19377 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19378 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19379 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19380 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19381 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19382 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19383 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19384 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19385 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19386 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19387 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19388 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19389 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19390 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19391 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19392 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19393 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19394 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19395 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19396 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19397 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19398 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19399 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19400 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19401 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19402 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19403 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19404 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19405 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19406 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19407 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19408 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19409 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19410 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19411 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19412 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19413 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19414 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19415 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19416 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19417 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19418 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19419 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19420 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19421 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19422 
   19423 LTCC='$LTCC'
   19424 LTCFLAGS='$LTCFLAGS'
   19425 compiler='$compiler_DEFAULT'
   19426 
   19427 # A function that is used when there is no print builtin or printf.
   19428 func_fallback_echo ()
   19429 {
   19430   eval 'cat <<_LTECHO_EOF
   19431 \$1
   19432 _LTECHO_EOF'
   19433 }
   19434 
   19435 # Quote evaled strings.
   19436 for var in SHELL \
   19437 ECHO \
   19438 PATH_SEPARATOR \
   19439 SED \
   19440 GREP \
   19441 EGREP \
   19442 FGREP \
   19443 LD \
   19444 NM \
   19445 LN_S \
   19446 lt_SP2NL \
   19447 lt_NL2SP \
   19448 reload_flag \
   19449 OBJDUMP \
   19450 deplibs_check_method \
   19451 file_magic_cmd \
   19452 file_magic_glob \
   19453 want_nocaseglob \
   19454 DLLTOOL \
   19455 sharedlib_from_linklib_cmd \
   19456 AR \
   19457 AR_FLAGS \
   19458 archiver_list_spec \
   19459 STRIP \
   19460 RANLIB \
   19461 CC \
   19462 CFLAGS \
   19463 compiler \
   19464 lt_cv_sys_global_symbol_pipe \
   19465 lt_cv_sys_global_symbol_to_cdecl \
   19466 lt_cv_sys_global_symbol_to_import \
   19467 lt_cv_sys_global_symbol_to_c_name_address \
   19468 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19469 lt_cv_nm_interface \
   19470 nm_file_list_spec \
   19471 lt_cv_truncate_bin \
   19472 lt_prog_compiler_no_builtin_flag \
   19473 lt_prog_compiler_pic \
   19474 lt_prog_compiler_wl \
   19475 lt_prog_compiler_static \
   19476 lt_cv_prog_compiler_c_o \
   19477 need_locks \
   19478 MANIFEST_TOOL \
   19479 DSYMUTIL \
   19480 NMEDIT \
   19481 LIPO \
   19482 OTOOL \
   19483 OTOOL64 \
   19484 shrext_cmds \
   19485 export_dynamic_flag_spec \
   19486 whole_archive_flag_spec \
   19487 compiler_needs_object \
   19488 with_gnu_ld \
   19489 allow_undefined_flag \
   19490 no_undefined_flag \
   19491 hardcode_libdir_flag_spec \
   19492 hardcode_libdir_separator \
   19493 exclude_expsyms \
   19494 include_expsyms \
   19495 file_list_spec \
   19496 variables_saved_for_relink \
   19497 libname_spec \
   19498 library_names_spec \
   19499 soname_spec \
   19500 install_override_mode \
   19501 finish_eval \
   19502 old_striplib \
   19503 striplib; do
   19504     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19505     *[\\\\\\\`\\"\\\$]*)
   19506       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19507       ;;
   19508     *)
   19509       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19510       ;;
   19511     esac
   19512 done
   19513 
   19514 # Double-quote double-evaled strings.
   19515 for var in reload_cmds \
   19516 old_postinstall_cmds \
   19517 old_postuninstall_cmds \
   19518 old_archive_cmds \
   19519 extract_expsyms_cmds \
   19520 old_archive_from_new_cmds \
   19521 old_archive_from_expsyms_cmds \
   19522 archive_cmds \
   19523 archive_expsym_cmds \
   19524 module_cmds \
   19525 module_expsym_cmds \
   19526 export_symbols_cmds \
   19527 prelink_cmds \
   19528 postlink_cmds \
   19529 postinstall_cmds \
   19530 postuninstall_cmds \
   19531 finish_cmds \
   19532 sys_lib_search_path_spec \
   19533 configure_time_dlsearch_path \
   19534 configure_time_lt_sys_library_path; do
   19535     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19536     *[\\\\\\\`\\"\\\$]*)
   19537       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19538       ;;
   19539     *)
   19540       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19541       ;;
   19542     esac
   19543 done
   19544 
   19545 ac_aux_dir='$ac_aux_dir'
   19546 
   19547 # See if we are running on zsh, and set the options that allow our
   19548 # commands through without removal of \ escapes INIT.
   19549 if test -n "\${ZSH_VERSION+set}"; then
   19550    setopt NO_GLOB_SUBST
   19551 fi
   19552 
   19553 
   19554     PACKAGE='$PACKAGE'
   19555     VERSION='$VERSION'
   19556     RM='$RM'
   19557     ofile='$ofile'
   19558 
   19559 
   19560 
   19561 
   19562 _ACEOF
   19563 
   19564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19565 
   19566 # Handling of arguments.
   19567 for ac_config_target in $ac_config_targets
   19568 do
   19569   case $ac_config_target in
   19570     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19571     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19572     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19573     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19574     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19575     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19576 
   19577   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19578   esac
   19579 done
   19580 
   19581 
   19582 # If the user did not use the arguments to specify the items to instantiate,
   19583 # then the envvar interface is used.  Set only those that are not.
   19584 # We use the long form for the default assignment because of an extremely
   19585 # bizarre bug on SunOS 4.1.3.
   19586 if $ac_need_defaults; then
   19587   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19588   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19589   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19590 fi
   19591 
   19592 # Have a temporary directory for convenience.  Make it in the build tree
   19593 # simply because there is no reason against having it here, and in addition,
   19594 # creating and moving files from /tmp can sometimes cause problems.
   19595 # Hook for its removal unless debugging.
   19596 # Note that there is a small window in which the directory will not be cleaned:
   19597 # after its creation but before its name has been assigned to `$tmp'.
   19598 $debug ||
   19599 {
   19600   tmp= ac_tmp=
   19601   trap 'exit_status=$?
   19602   : "${ac_tmp:=$tmp}"
   19603   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19604 ' 0
   19605   trap 'as_fn_exit 1' 1 2 13 15
   19606 }
   19607 # Create a (secure) tmp directory for tmp files.
   19608 
   19609 {
   19610   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19611   test -d "$tmp"
   19612 }  ||
   19613 {
   19614   tmp=./conf$$-$RANDOM
   19615   (umask 077 && mkdir "$tmp")
   19616 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19617 ac_tmp=$tmp
   19618 
   19619 # Set up the scripts for CONFIG_FILES section.
   19620 # No need to generate them if there are no CONFIG_FILES.
   19621 # This happens for instance with `./config.status config.h'.
   19622 if test -n "$CONFIG_FILES"; then
   19623 
   19624 
   19625 ac_cr=`echo X | tr X '\015'`
   19626 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19627 # But we know of no other shell where ac_cr would be empty at this
   19628 # point, so we can use a bashism as a fallback.
   19629 if test "x$ac_cr" = x; then
   19630   eval ac_cr=\$\'\\r\'
   19631 fi
   19632 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19633 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19634   ac_cs_awk_cr='\\r'
   19635 else
   19636   ac_cs_awk_cr=$ac_cr
   19637 fi
   19638 
   19639 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19640 _ACEOF
   19641 
   19642 
   19643 {
   19644   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19645   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19646   echo "_ACEOF"
   19647 } >conf$$subs.sh ||
   19648   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19649 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19650 ac_delim='%!_!# '
   19651 for ac_last_try in false false false false false :; do
   19652   . ./conf$$subs.sh ||
   19653     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19654 
   19655   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19656   if test $ac_delim_n = $ac_delim_num; then
   19657     break
   19658   elif $ac_last_try; then
   19659     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19660   else
   19661     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19662   fi
   19663 done
   19664 rm -f conf$$subs.sh
   19665 
   19666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19667 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19668 _ACEOF
   19669 sed -n '
   19670 h
   19671 s/^/S["/; s/!.*/"]=/
   19672 p
   19673 g
   19674 s/^[^!]*!//
   19675 :repl
   19676 t repl
   19677 s/'"$ac_delim"'$//
   19678 t delim
   19679 :nl
   19680 h
   19681 s/\(.\{148\}\)..*/\1/
   19682 t more1
   19683 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19684 p
   19685 n
   19686 b repl
   19687 :more1
   19688 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19689 p
   19690 g
   19691 s/.\{148\}//
   19692 t nl
   19693 :delim
   19694 h
   19695 s/\(.\{148\}\)..*/\1/
   19696 t more2
   19697 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19698 p
   19699 b
   19700 :more2
   19701 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19702 p
   19703 g
   19704 s/.\{148\}//
   19705 t delim
   19706 ' <conf$$subs.awk | sed '
   19707 /^[^""]/{
   19708   N
   19709   s/\n//
   19710 }
   19711 ' >>$CONFIG_STATUS || ac_write_fail=1
   19712 rm -f conf$$subs.awk
   19713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19714 _ACAWK
   19715 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19716   for (key in S) S_is_set[key] = 1
   19717   FS = ""
   19718 
   19719 }
   19720 {
   19721   line = $ 0
   19722   nfields = split(line, field, "@")
   19723   substed = 0
   19724   len = length(field[1])
   19725   for (i = 2; i < nfields; i++) {
   19726     key = field[i]
   19727     keylen = length(key)
   19728     if (S_is_set[key]) {
   19729       value = S[key]
   19730       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19731       len += length(value) + length(field[++i])
   19732       substed = 1
   19733     } else
   19734       len += 1 + keylen
   19735   }
   19736 
   19737   print line
   19738 }
   19739 
   19740 _ACAWK
   19741 _ACEOF
   19742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19743 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19744   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19745 else
   19746   cat
   19747 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19748   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19749 _ACEOF
   19750 
   19751 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19752 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19753 # trailing colons and then remove the whole line if VPATH becomes empty
   19754 # (actually we leave an empty line to preserve line numbers).
   19755 if test "x$srcdir" = x.; then
   19756   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19757 h
   19758 s///
   19759 s/^/:/
   19760 s/[	 ]*$/:/
   19761 s/:\$(srcdir):/:/g
   19762 s/:\${srcdir}:/:/g
   19763 s/:@srcdir@:/:/g
   19764 s/^:*//
   19765 s/:*$//
   19766 x
   19767 s/\(=[	 ]*\).*/\1/
   19768 G
   19769 s/\n//
   19770 s/^[^=]*=[	 ]*$//
   19771 }'
   19772 fi
   19773 
   19774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19775 fi # test -n "$CONFIG_FILES"
   19776 
   19777 # Set up the scripts for CONFIG_HEADERS section.
   19778 # No need to generate them if there are no CONFIG_HEADERS.
   19779 # This happens for instance with `./config.status Makefile'.
   19780 if test -n "$CONFIG_HEADERS"; then
   19781 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19782 BEGIN {
   19783 _ACEOF
   19784 
   19785 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19786 # here-document in config.status, that substitutes the proper values into
   19787 # config.h.in to produce config.h.
   19788 
   19789 # Create a delimiter string that does not exist in confdefs.h, to ease
   19790 # handling of long lines.
   19791 ac_delim='%!_!# '
   19792 for ac_last_try in false false :; do
   19793   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19794   if test -z "$ac_tt"; then
   19795     break
   19796   elif $ac_last_try; then
   19797     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19798   else
   19799     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19800   fi
   19801 done
   19802 
   19803 # For the awk script, D is an array of macro values keyed by name,
   19804 # likewise P contains macro parameters if any.  Preserve backslash
   19805 # newline sequences.
   19806 
   19807 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19808 sed -n '
   19809 s/.\{148\}/&'"$ac_delim"'/g
   19810 t rset
   19811 :rset
   19812 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19813 t def
   19814 d
   19815 :def
   19816 s/\\$//
   19817 t bsnl
   19818 s/["\\]/\\&/g
   19819 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19820 D["\1"]=" \3"/p
   19821 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19822 d
   19823 :bsnl
   19824 s/["\\]/\\&/g
   19825 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19826 D["\1"]=" \3\\\\\\n"\\/p
   19827 t cont
   19828 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19829 t cont
   19830 d
   19831 :cont
   19832 n
   19833 s/.\{148\}/&'"$ac_delim"'/g
   19834 t clear
   19835 :clear
   19836 s/\\$//
   19837 t bsnlc
   19838 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19839 d
   19840 :bsnlc
   19841 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19842 b cont
   19843 ' <confdefs.h | sed '
   19844 s/'"$ac_delim"'/"\\\
   19845 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19846 
   19847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19848   for (key in D) D_is_set[key] = 1
   19849   FS = ""
   19850 }
   19851 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19852   line = \$ 0
   19853   split(line, arg, " ")
   19854   if (arg[1] == "#") {
   19855     defundef = arg[2]
   19856     mac1 = arg[3]
   19857   } else {
   19858     defundef = substr(arg[1], 2)
   19859     mac1 = arg[2]
   19860   }
   19861   split(mac1, mac2, "(") #)
   19862   macro = mac2[1]
   19863   prefix = substr(line, 1, index(line, defundef) - 1)
   19864   if (D_is_set[macro]) {
   19865     # Preserve the white space surrounding the "#".
   19866     print prefix "define", macro P[macro] D[macro]
   19867     next
   19868   } else {
   19869     # Replace #undef with comments.  This is necessary, for example,
   19870     # in the case of _POSIX_SOURCE, which is predefined and required
   19871     # on some systems where configure will not decide to define it.
   19872     if (defundef == "undef") {
   19873       print "/*", prefix defundef, macro, "*/"
   19874       next
   19875     }
   19876   }
   19877 }
   19878 { print }
   19879 _ACAWK
   19880 _ACEOF
   19881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19882   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19883 fi # test -n "$CONFIG_HEADERS"
   19884 
   19885 
   19886 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19887 shift
   19888 for ac_tag
   19889 do
   19890   case $ac_tag in
   19891   :[FHLC]) ac_mode=$ac_tag; continue;;
   19892   esac
   19893   case $ac_mode$ac_tag in
   19894   :[FHL]*:*);;
   19895   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19896   :[FH]-) ac_tag=-:-;;
   19897   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19898   esac
   19899   ac_save_IFS=$IFS
   19900   IFS=:
   19901   set x $ac_tag
   19902   IFS=$ac_save_IFS
   19903   shift
   19904   ac_file=$1
   19905   shift
   19906 
   19907   case $ac_mode in
   19908   :L) ac_source=$1;;
   19909   :[FH])
   19910     ac_file_inputs=
   19911     for ac_f
   19912     do
   19913       case $ac_f in
   19914       -) ac_f="$ac_tmp/stdin";;
   19915       *) # Look for the file first in the build tree, then in the source tree
   19916 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19917 	 # because $ac_f cannot contain `:'.
   19918 	 test -f "$ac_f" ||
   19919 	   case $ac_f in
   19920 	   [\\/$]*) false;;
   19921 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19922 	   esac ||
   19923 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19924       esac
   19925       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19926       as_fn_append ac_file_inputs " '$ac_f'"
   19927     done
   19928 
   19929     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19930     # use $as_me), people would be surprised to read:
   19931     #    /* config.h.  Generated by config.status.  */
   19932     configure_input='Generated from '`
   19933 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19934 	`' by configure.'
   19935     if test x"$ac_file" != x-; then
   19936       configure_input="$ac_file.  $configure_input"
   19937       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19938 $as_echo "$as_me: creating $ac_file" >&6;}
   19939     fi
   19940     # Neutralize special characters interpreted by sed in replacement strings.
   19941     case $configure_input in #(
   19942     *\&* | *\|* | *\\* )
   19943        ac_sed_conf_input=`$as_echo "$configure_input" |
   19944        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19945     *) ac_sed_conf_input=$configure_input;;
   19946     esac
   19947 
   19948     case $ac_tag in
   19949     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19950       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19951     esac
   19952     ;;
   19953   esac
   19954 
   19955   ac_dir=`$as_dirname -- "$ac_file" ||
   19956 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19957 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19958 	 X"$ac_file" : 'X\(//\)$' \| \
   19959 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19960 $as_echo X"$ac_file" |
   19961     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19962 	    s//\1/
   19963 	    q
   19964 	  }
   19965 	  /^X\(\/\/\)[^/].*/{
   19966 	    s//\1/
   19967 	    q
   19968 	  }
   19969 	  /^X\(\/\/\)$/{
   19970 	    s//\1/
   19971 	    q
   19972 	  }
   19973 	  /^X\(\/\).*/{
   19974 	    s//\1/
   19975 	    q
   19976 	  }
   19977 	  s/.*/./; q'`
   19978   as_dir="$ac_dir"; as_fn_mkdir_p
   19979   ac_builddir=.
   19980 
   19981 case "$ac_dir" in
   19982 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19983 *)
   19984   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19985   # A ".." for each directory in $ac_dir_suffix.
   19986   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19987   case $ac_top_builddir_sub in
   19988   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19989   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19990   esac ;;
   19991 esac
   19992 ac_abs_top_builddir=$ac_pwd
   19993 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19994 # for backward compatibility:
   19995 ac_top_builddir=$ac_top_build_prefix
   19996 
   19997 case $srcdir in
   19998   .)  # We are building in place.
   19999     ac_srcdir=.
   20000     ac_top_srcdir=$ac_top_builddir_sub
   20001     ac_abs_top_srcdir=$ac_pwd ;;
   20002   [\\/]* | ?:[\\/]* )  # Absolute name.
   20003     ac_srcdir=$srcdir$ac_dir_suffix;
   20004     ac_top_srcdir=$srcdir
   20005     ac_abs_top_srcdir=$srcdir ;;
   20006   *) # Relative name.
   20007     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20008     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20009     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20010 esac
   20011 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20012 
   20013 
   20014   case $ac_mode in
   20015   :F)
   20016   #
   20017   # CONFIG_FILE
   20018   #
   20019 
   20020   case $INSTALL in
   20021   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20022   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20023   esac
   20024   ac_MKDIR_P=$MKDIR_P
   20025   case $MKDIR_P in
   20026   [\\/$]* | ?:[\\/]* ) ;;
   20027   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20028   esac
   20029 _ACEOF
   20030 
   20031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20032 # If the template does not know about datarootdir, expand it.
   20033 # FIXME: This hack should be removed a few years after 2.60.
   20034 ac_datarootdir_hack=; ac_datarootdir_seen=
   20035 ac_sed_dataroot='
   20036 /datarootdir/ {
   20037   p
   20038   q
   20039 }
   20040 /@datadir@/p
   20041 /@docdir@/p
   20042 /@infodir@/p
   20043 /@localedir@/p
   20044 /@mandir@/p'
   20045 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20046 *datarootdir*) ac_datarootdir_seen=yes;;
   20047 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20048   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20049 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20050 _ACEOF
   20051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20052   ac_datarootdir_hack='
   20053   s&@datadir@&$datadir&g
   20054   s&@docdir@&$docdir&g
   20055   s&@infodir@&$infodir&g
   20056   s&@localedir@&$localedir&g
   20057   s&@mandir@&$mandir&g
   20058   s&\\\${datarootdir}&$datarootdir&g' ;;
   20059 esac
   20060 _ACEOF
   20061 
   20062 # Neutralize VPATH when `$srcdir' = `.'.
   20063 # Shell code in configure.ac might set extrasub.
   20064 # FIXME: do we really want to maintain this feature?
   20065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20066 ac_sed_extra="$ac_vpsub
   20067 $extrasub
   20068 _ACEOF
   20069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20070 :t
   20071 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20072 s|@configure_input@|$ac_sed_conf_input|;t t
   20073 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20074 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20075 s&@srcdir@&$ac_srcdir&;t t
   20076 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20077 s&@top_srcdir@&$ac_top_srcdir&;t t
   20078 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20079 s&@builddir@&$ac_builddir&;t t
   20080 s&@abs_builddir@&$ac_abs_builddir&;t t
   20081 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20082 s&@INSTALL@&$ac_INSTALL&;t t
   20083 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20084 $ac_datarootdir_hack
   20085 "
   20086 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20087   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20088 
   20089 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20090   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20091   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20092       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20093   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20094 which seems to be undefined.  Please make sure it is defined" >&5
   20095 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20096 which seems to be undefined.  Please make sure it is defined" >&2;}
   20097 
   20098   rm -f "$ac_tmp/stdin"
   20099   case $ac_file in
   20100   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20101   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20102   esac \
   20103   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20104  ;;
   20105   :H)
   20106   #
   20107   # CONFIG_HEADER
   20108   #
   20109   if test x"$ac_file" != x-; then
   20110     {
   20111       $as_echo "/* $configure_input  */" \
   20112       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20113     } >"$ac_tmp/config.h" \
   20114       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20115     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20116       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20117 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20118     else
   20119       rm -f "$ac_file"
   20120       mv "$ac_tmp/config.h" "$ac_file" \
   20121 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20122     fi
   20123   else
   20124     $as_echo "/* $configure_input  */" \
   20125       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20126       || as_fn_error $? "could not create -" "$LINENO" 5
   20127   fi
   20128 # Compute "$ac_file"'s index in $config_headers.
   20129 _am_arg="$ac_file"
   20130 _am_stamp_count=1
   20131 for _am_header in $config_headers :; do
   20132   case $_am_header in
   20133     $_am_arg | $_am_arg:* )
   20134       break ;;
   20135     * )
   20136       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20137   esac
   20138 done
   20139 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20140 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20141 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20142 	 X"$_am_arg" : 'X\(//\)$' \| \
   20143 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20144 $as_echo X"$_am_arg" |
   20145     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20146 	    s//\1/
   20147 	    q
   20148 	  }
   20149 	  /^X\(\/\/\)[^/].*/{
   20150 	    s//\1/
   20151 	    q
   20152 	  }
   20153 	  /^X\(\/\/\)$/{
   20154 	    s//\1/
   20155 	    q
   20156 	  }
   20157 	  /^X\(\/\).*/{
   20158 	    s//\1/
   20159 	    q
   20160 	  }
   20161 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20162  ;;
   20163 
   20164   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20165 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20166  ;;
   20167   esac
   20168 
   20169 
   20170   case $ac_file$ac_mode in
   20171     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20172   # Older Autoconf quotes --file arguments for eval, but not when files
   20173   # are listed without --file.  Let's play safe and only enable the eval
   20174   # if we detect the quoting.
   20175   case $CONFIG_FILES in
   20176   *\'*) eval set x "$CONFIG_FILES" ;;
   20177   *)   set x $CONFIG_FILES ;;
   20178   esac
   20179   shift
   20180   for mf
   20181   do
   20182     # Strip MF so we end up with the name of the file.
   20183     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20184     # Check whether this is an Automake generated Makefile or not.
   20185     # We used to match only the files named 'Makefile.in', but
   20186     # some people rename them; so instead we look at the file content.
   20187     # Grep'ing the first line is not enough: some people post-process
   20188     # each Makefile.in and add a new line on top of each file to say so.
   20189     # Grep'ing the whole file is not good either: AIX grep has a line
   20190     # limit of 2048, but all sed's we know have understand at least 4000.
   20191     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20192       dirpart=`$as_dirname -- "$mf" ||
   20193 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20194 	 X"$mf" : 'X\(//\)[^/]' \| \
   20195 	 X"$mf" : 'X\(//\)$' \| \
   20196 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20197 $as_echo X"$mf" |
   20198     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20199 	    s//\1/
   20200 	    q
   20201 	  }
   20202 	  /^X\(\/\/\)[^/].*/{
   20203 	    s//\1/
   20204 	    q
   20205 	  }
   20206 	  /^X\(\/\/\)$/{
   20207 	    s//\1/
   20208 	    q
   20209 	  }
   20210 	  /^X\(\/\).*/{
   20211 	    s//\1/
   20212 	    q
   20213 	  }
   20214 	  s/.*/./; q'`
   20215     else
   20216       continue
   20217     fi
   20218     # Extract the definition of DEPDIR, am__include, and am__quote
   20219     # from the Makefile without running 'make'.
   20220     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20221     test -z "$DEPDIR" && continue
   20222     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20223     test -z "$am__include" && continue
   20224     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20225     # Find all dependency output files, they are included files with
   20226     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20227     # simplest approach to changing $(DEPDIR) to its actual value in the
   20228     # expansion.
   20229     for file in `sed -n "
   20230       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20231 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20232       # Make sure the directory exists.
   20233       test -f "$dirpart/$file" && continue
   20234       fdir=`$as_dirname -- "$file" ||
   20235 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20236 	 X"$file" : 'X\(//\)[^/]' \| \
   20237 	 X"$file" : 'X\(//\)$' \| \
   20238 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20239 $as_echo X"$file" |
   20240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20241 	    s//\1/
   20242 	    q
   20243 	  }
   20244 	  /^X\(\/\/\)[^/].*/{
   20245 	    s//\1/
   20246 	    q
   20247 	  }
   20248 	  /^X\(\/\/\)$/{
   20249 	    s//\1/
   20250 	    q
   20251 	  }
   20252 	  /^X\(\/\).*/{
   20253 	    s//\1/
   20254 	    q
   20255 	  }
   20256 	  s/.*/./; q'`
   20257       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20258       # echo "creating $dirpart/$file"
   20259       echo '# dummy' > "$dirpart/$file"
   20260     done
   20261   done
   20262 }
   20263  ;;
   20264     "libtool":C)
   20265 
   20266     # See if we are running on zsh, and set the options that allow our
   20267     # commands through without removal of \ escapes.
   20268     if test -n "${ZSH_VERSION+set}"; then
   20269       setopt NO_GLOB_SUBST
   20270     fi
   20271 
   20272     cfgfile=${ofile}T
   20273     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20274     $RM "$cfgfile"
   20275 
   20276     cat <<_LT_EOF >> "$cfgfile"
   20277 #! $SHELL
   20278 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20279 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20280 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20281 
   20282 # Provide generalized library-building support services.
   20283 # Written by Gordon Matzigkeit, 1996
   20284 
   20285 # Copyright (C) 2014 Free Software Foundation, Inc.
   20286 # This is free software; see the source for copying conditions.  There is NO
   20287 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20288 
   20289 # GNU Libtool is free software; you can redistribute it and/or modify
   20290 # it under the terms of the GNU General Public License as published by
   20291 # the Free Software Foundation; either version 2 of of the License, or
   20292 # (at your option) any later version.
   20293 #
   20294 # As a special exception to the GNU General Public License, if you
   20295 # distribute this file as part of a program or library that is built
   20296 # using GNU Libtool, you may include this file under the  same
   20297 # distribution terms that you use for the rest of that program.
   20298 #
   20299 # GNU Libtool is distributed in the hope that it will be useful, but
   20300 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20301 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20302 # GNU General Public License for more details.
   20303 #
   20304 # You should have received a copy of the GNU General Public License
   20305 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20306 
   20307 
   20308 # The names of the tagged configurations supported by this script.
   20309 available_tags=''
   20310 
   20311 # Configured defaults for sys_lib_dlsearch_path munging.
   20312 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20313 
   20314 # ### BEGIN LIBTOOL CONFIG
   20315 
   20316 # Whether or not to build static libraries.
   20317 build_old_libs=$enable_static
   20318 
   20319 # Which release of libtool.m4 was used?
   20320 macro_version=$macro_version
   20321 macro_revision=$macro_revision
   20322 
   20323 # Whether or not to build shared libraries.
   20324 build_libtool_libs=$enable_shared
   20325 
   20326 # What type of objects to build.
   20327 pic_mode=$pic_mode
   20328 
   20329 # Whether or not to optimize for fast installation.
   20330 fast_install=$enable_fast_install
   20331 
   20332 # Shared archive member basename,for filename based shared library versioning on AIX.
   20333 shared_archive_member_spec=$shared_archive_member_spec
   20334 
   20335 # Shell to use when invoking shell scripts.
   20336 SHELL=$lt_SHELL
   20337 
   20338 # An echo program that protects backslashes.
   20339 ECHO=$lt_ECHO
   20340 
   20341 # The PATH separator for the build system.
   20342 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20343 
   20344 # The host system.
   20345 host_alias=$host_alias
   20346 host=$host
   20347 host_os=$host_os
   20348 
   20349 # The build system.
   20350 build_alias=$build_alias
   20351 build=$build
   20352 build_os=$build_os
   20353 
   20354 # A sed program that does not truncate output.
   20355 SED=$lt_SED
   20356 
   20357 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20358 Xsed="\$SED -e 1s/^X//"
   20359 
   20360 # A grep program that handles long lines.
   20361 GREP=$lt_GREP
   20362 
   20363 # An ERE matcher.
   20364 EGREP=$lt_EGREP
   20365 
   20366 # A literal string matcher.
   20367 FGREP=$lt_FGREP
   20368 
   20369 # A BSD- or MS-compatible name lister.
   20370 NM=$lt_NM
   20371 
   20372 # Whether we need soft or hard links.
   20373 LN_S=$lt_LN_S
   20374 
   20375 # What is the maximum length of a command?
   20376 max_cmd_len=$max_cmd_len
   20377 
   20378 # Object file suffix (normally "o").
   20379 objext=$ac_objext
   20380 
   20381 # Executable file suffix (normally "").
   20382 exeext=$exeext
   20383 
   20384 # whether the shell understands "unset".
   20385 lt_unset=$lt_unset
   20386 
   20387 # turn spaces into newlines.
   20388 SP2NL=$lt_lt_SP2NL
   20389 
   20390 # turn newlines into spaces.
   20391 NL2SP=$lt_lt_NL2SP
   20392 
   20393 # convert \$build file names to \$host format.
   20394 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20395 
   20396 # convert \$build files to toolchain format.
   20397 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20398 
   20399 # An object symbol dumper.
   20400 OBJDUMP=$lt_OBJDUMP
   20401 
   20402 # Method to check whether dependent libraries are shared objects.
   20403 deplibs_check_method=$lt_deplibs_check_method
   20404 
   20405 # Command to use when deplibs_check_method = "file_magic".
   20406 file_magic_cmd=$lt_file_magic_cmd
   20407 
   20408 # How to find potential files when deplibs_check_method = "file_magic".
   20409 file_magic_glob=$lt_file_magic_glob
   20410 
   20411 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20412 want_nocaseglob=$lt_want_nocaseglob
   20413 
   20414 # DLL creation program.
   20415 DLLTOOL=$lt_DLLTOOL
   20416 
   20417 # Command to associate shared and link libraries.
   20418 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20419 
   20420 # The archiver.
   20421 AR=$lt_AR
   20422 
   20423 # Flags to create an archive.
   20424 AR_FLAGS=$lt_AR_FLAGS
   20425 
   20426 # How to feed a file listing to the archiver.
   20427 archiver_list_spec=$lt_archiver_list_spec
   20428 
   20429 # A symbol stripping program.
   20430 STRIP=$lt_STRIP
   20431 
   20432 # Commands used to install an old-style archive.
   20433 RANLIB=$lt_RANLIB
   20434 old_postinstall_cmds=$lt_old_postinstall_cmds
   20435 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20436 
   20437 # Whether to use a lock for old archive extraction.
   20438 lock_old_archive_extraction=$lock_old_archive_extraction
   20439 
   20440 # A C compiler.
   20441 LTCC=$lt_CC
   20442 
   20443 # LTCC compiler flags.
   20444 LTCFLAGS=$lt_CFLAGS
   20445 
   20446 # Take the output of nm and produce a listing of raw symbols and C names.
   20447 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20448 
   20449 # Transform the output of nm in a proper C declaration.
   20450 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20451 
   20452 # Transform the output of nm into a list of symbols to manually relocate.
   20453 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20454 
   20455 # Transform the output of nm in a C name address pair.
   20456 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20457 
   20458 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20459 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20460 
   20461 # The name lister interface.
   20462 nm_interface=$lt_lt_cv_nm_interface
   20463 
   20464 # Specify filename containing input files for \$NM.
   20465 nm_file_list_spec=$lt_nm_file_list_spec
   20466 
   20467 # The root where to search for dependent libraries,and where our libraries should be installed.
   20468 lt_sysroot=$lt_sysroot
   20469 
   20470 # Command to truncate a binary pipe.
   20471 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20472 
   20473 # The name of the directory that contains temporary libtool files.
   20474 objdir=$objdir
   20475 
   20476 # Used to examine libraries when file_magic_cmd begins with "file".
   20477 MAGIC_CMD=$MAGIC_CMD
   20478 
   20479 # Must we lock files when doing compilation?
   20480 need_locks=$lt_need_locks
   20481 
   20482 # Manifest tool.
   20483 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20484 
   20485 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20486 DSYMUTIL=$lt_DSYMUTIL
   20487 
   20488 # Tool to change global to local symbols on Mac OS X.
   20489 NMEDIT=$lt_NMEDIT
   20490 
   20491 # Tool to manipulate fat objects and archives on Mac OS X.
   20492 LIPO=$lt_LIPO
   20493 
   20494 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20495 OTOOL=$lt_OTOOL
   20496 
   20497 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20498 OTOOL64=$lt_OTOOL64
   20499 
   20500 # Old archive suffix (normally "a").
   20501 libext=$libext
   20502 
   20503 # Shared library suffix (normally ".so").
   20504 shrext_cmds=$lt_shrext_cmds
   20505 
   20506 # The commands to extract the exported symbol list from a shared archive.
   20507 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20508 
   20509 # Variables whose values should be saved in libtool wrapper scripts and
   20510 # restored at link time.
   20511 variables_saved_for_relink=$lt_variables_saved_for_relink
   20512 
   20513 # Do we need the "lib" prefix for modules?
   20514 need_lib_prefix=$need_lib_prefix
   20515 
   20516 # Do we need a version for libraries?
   20517 need_version=$need_version
   20518 
   20519 # Library versioning type.
   20520 version_type=$version_type
   20521 
   20522 # Shared library runtime path variable.
   20523 runpath_var=$runpath_var
   20524 
   20525 # Shared library path variable.
   20526 shlibpath_var=$shlibpath_var
   20527 
   20528 # Is shlibpath searched before the hard-coded library search path?
   20529 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20530 
   20531 # Format of library name prefix.
   20532 libname_spec=$lt_libname_spec
   20533 
   20534 # List of archive names.  First name is the real one, the rest are links.
   20535 # The last name is the one that the linker finds with -lNAME
   20536 library_names_spec=$lt_library_names_spec
   20537 
   20538 # The coded name of the library, if different from the real name.
   20539 soname_spec=$lt_soname_spec
   20540 
   20541 # Permission mode override for installation of shared libraries.
   20542 install_override_mode=$lt_install_override_mode
   20543 
   20544 # Command to use after installation of a shared archive.
   20545 postinstall_cmds=$lt_postinstall_cmds
   20546 
   20547 # Command to use after uninstallation of a shared archive.
   20548 postuninstall_cmds=$lt_postuninstall_cmds
   20549 
   20550 # Commands used to finish a libtool library installation in a directory.
   20551 finish_cmds=$lt_finish_cmds
   20552 
   20553 # As "finish_cmds", except a single script fragment to be evaled but
   20554 # not shown.
   20555 finish_eval=$lt_finish_eval
   20556 
   20557 # Whether we should hardcode library paths into libraries.
   20558 hardcode_into_libs=$hardcode_into_libs
   20559 
   20560 # Compile-time system search path for libraries.
   20561 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20562 
   20563 # Detected run-time system search path for libraries.
   20564 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20565 
   20566 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20567 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20568 
   20569 # Whether dlopen is supported.
   20570 dlopen_support=$enable_dlopen
   20571 
   20572 # Whether dlopen of programs is supported.
   20573 dlopen_self=$enable_dlopen_self
   20574 
   20575 # Whether dlopen of statically linked programs is supported.
   20576 dlopen_self_static=$enable_dlopen_self_static
   20577 
   20578 # Commands to strip libraries.
   20579 old_striplib=$lt_old_striplib
   20580 striplib=$lt_striplib
   20581 
   20582 
   20583 # The linker used to build libraries.
   20584 LD=$lt_LD
   20585 
   20586 # How to create reloadable object files.
   20587 reload_flag=$lt_reload_flag
   20588 reload_cmds=$lt_reload_cmds
   20589 
   20590 # Commands used to build an old-style archive.
   20591 old_archive_cmds=$lt_old_archive_cmds
   20592 
   20593 # A language specific compiler.
   20594 CC=$lt_compiler
   20595 
   20596 # Is the compiler the GNU compiler?
   20597 with_gcc=$GCC
   20598 
   20599 # Compiler flag to turn off builtin functions.
   20600 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20601 
   20602 # Additional compiler flags for building library objects.
   20603 pic_flag=$lt_lt_prog_compiler_pic
   20604 
   20605 # How to pass a linker flag through the compiler.
   20606 wl=$lt_lt_prog_compiler_wl
   20607 
   20608 # Compiler flag to prevent dynamic linking.
   20609 link_static_flag=$lt_lt_prog_compiler_static
   20610 
   20611 # Does compiler simultaneously support -c and -o options?
   20612 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20613 
   20614 # Whether or not to add -lc for building shared libraries.
   20615 build_libtool_need_lc=$archive_cmds_need_lc
   20616 
   20617 # Whether or not to disallow shared libs when runtime libs are static.
   20618 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20619 
   20620 # Compiler flag to allow reflexive dlopens.
   20621 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20622 
   20623 # Compiler flag to generate shared objects directly from archives.
   20624 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20625 
   20626 # Whether the compiler copes with passing no objects directly.
   20627 compiler_needs_object=$lt_compiler_needs_object
   20628 
   20629 # Create an old-style archive from a shared archive.
   20630 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20631 
   20632 # Create a temporary old-style archive to link instead of a shared archive.
   20633 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20634 
   20635 # Commands used to build a shared archive.
   20636 archive_cmds=$lt_archive_cmds
   20637 archive_expsym_cmds=$lt_archive_expsym_cmds
   20638 
   20639 # Commands used to build a loadable module if different from building
   20640 # a shared archive.
   20641 module_cmds=$lt_module_cmds
   20642 module_expsym_cmds=$lt_module_expsym_cmds
   20643 
   20644 # Whether we are building with GNU ld or not.
   20645 with_gnu_ld=$lt_with_gnu_ld
   20646 
   20647 # Flag that allows shared libraries with undefined symbols to be built.
   20648 allow_undefined_flag=$lt_allow_undefined_flag
   20649 
   20650 # Flag that enforces no undefined symbols.
   20651 no_undefined_flag=$lt_no_undefined_flag
   20652 
   20653 # Flag to hardcode \$libdir into a binary during linking.
   20654 # This must work even if \$libdir does not exist
   20655 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20656 
   20657 # Whether we need a single "-rpath" flag with a separated argument.
   20658 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20659 
   20660 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20661 # DIR into the resulting binary.
   20662 hardcode_direct=$hardcode_direct
   20663 
   20664 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20665 # DIR into the resulting binary and the resulting library dependency is
   20666 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   20667 # library is relocated.
   20668 hardcode_direct_absolute=$hardcode_direct_absolute
   20669 
   20670 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20671 # into the resulting binary.
   20672 hardcode_minus_L=$hardcode_minus_L
   20673 
   20674 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20675 # into the resulting binary.
   20676 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20677 
   20678 # Set to "yes" if building a shared library automatically hardcodes DIR
   20679 # into the library and all subsequent libraries and executables linked
   20680 # against it.
   20681 hardcode_automatic=$hardcode_automatic
   20682 
   20683 # Set to yes if linker adds runtime paths of dependent libraries
   20684 # to runtime path list.
   20685 inherit_rpath=$inherit_rpath
   20686 
   20687 # Whether libtool must link a program against all its dependency libraries.
   20688 link_all_deplibs=$link_all_deplibs
   20689 
   20690 # Set to "yes" if exported symbols are required.
   20691 always_export_symbols=$always_export_symbols
   20692 
   20693 # The commands to list exported symbols.
   20694 export_symbols_cmds=$lt_export_symbols_cmds
   20695 
   20696 # Symbols that should not be listed in the preloaded symbols.
   20697 exclude_expsyms=$lt_exclude_expsyms
   20698 
   20699 # Symbols that must always be exported.
   20700 include_expsyms=$lt_include_expsyms
   20701 
   20702 # Commands necessary for linking programs (against libraries) with templates.
   20703 prelink_cmds=$lt_prelink_cmds
   20704 
   20705 # Commands necessary for finishing linking programs.
   20706 postlink_cmds=$lt_postlink_cmds
   20707 
   20708 # Specify filename containing input files.
   20709 file_list_spec=$lt_file_list_spec
   20710 
   20711 # How to hardcode a shared library path into an executable.
   20712 hardcode_action=$hardcode_action
   20713 
   20714 # ### END LIBTOOL CONFIG
   20715 
   20716 _LT_EOF
   20717 
   20718     cat <<'_LT_EOF' >> "$cfgfile"
   20719 
   20720 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   20721 
   20722 # func_munge_path_list VARIABLE PATH
   20723 # -----------------------------------
   20724 # VARIABLE is name of variable containing _space_ separated list of
   20725 # directories to be munged by the contents of PATH, which is string
   20726 # having a format:
   20727 # "DIR[:DIR]:"
   20728 #       string "DIR[ DIR]" will be prepended to VARIABLE
   20729 # ":DIR[:DIR]"
   20730 #       string "DIR[ DIR]" will be appended to VARIABLE
   20731 # "DIRP[:DIRP]::[DIRA:]DIRA"
   20732 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   20733 #       "DIRA[ DIRA]" will be appended to VARIABLE
   20734 # "DIR[:DIR]"
   20735 #       VARIABLE will be replaced by "DIR[ DIR]"
   20736 func_munge_path_list ()
   20737 {
   20738     case x$2 in
   20739     x)
   20740         ;;
   20741     *:)
   20742         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   20743         ;;
   20744     x:*)
   20745         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   20746         ;;
   20747     *::*)
   20748         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   20749         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   20750         ;;
   20751     *)
   20752         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   20753         ;;
   20754     esac
   20755 }
   20756 
   20757 
   20758 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   20759 func_cc_basename ()
   20760 {
   20761     for cc_temp in $*""; do
   20762       case $cc_temp in
   20763         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   20764         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   20765         \-*) ;;
   20766         *) break;;
   20767       esac
   20768     done
   20769     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   20770 }
   20771 
   20772 
   20773 # ### END FUNCTIONS SHARED WITH CONFIGURE
   20774 
   20775 _LT_EOF
   20776 
   20777   case $host_os in
   20778   aix3*)
   20779     cat <<\_LT_EOF >> "$cfgfile"
   20780 # AIX sometimes has problems with the GCC collect2 program.  For some
   20781 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20782 # vanish in a puff of smoke.
   20783 if test set != "${COLLECT_NAMES+set}"; then
   20784   COLLECT_NAMES=
   20785   export COLLECT_NAMES
   20786 fi
   20787 _LT_EOF
   20788     ;;
   20789   esac
   20790 
   20791 
   20792 ltmain=$ac_aux_dir/ltmain.sh
   20793 
   20794 
   20795   # We use sed instead of cat because bash on DJGPP gets confused if
   20796   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20797   # text mode, it properly converts lines to CR/LF.  This bash problem
   20798   # is reportedly fixed, but why not run on old versions too?
   20799   sed '$q' "$ltmain" >> "$cfgfile" \
   20800      || (rm -f "$cfgfile"; exit 1)
   20801 
   20802    mv -f "$cfgfile" "$ofile" ||
   20803     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20804   chmod +x "$ofile"
   20805 
   20806  ;;
   20807 
   20808   esac
   20809 done # for ac_tag
   20810 
   20811 
   20812 as_fn_exit 0
   20813 _ACEOF
   20814 ac_clean_files=$ac_clean_files_save
   20815 
   20816 test $ac_write_fail = 0 ||
   20817   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20818 
   20819 
   20820 # configure is writing to config.log, and then calls config.status.
   20821 # config.status does its own redirection, appending to config.log.
   20822 # Unfortunately, on DOS this fails, as config.log is still kept open
   20823 # by configure, so config.status won't be able to write to it; its
   20824 # output is simply discarded.  So we exec the FD to /dev/null,
   20825 # effectively closing config.log, so it can be properly (re)opened and
   20826 # appended to by config.status.  When coming back to configure, we
   20827 # need to make the FD available again.
   20828 if test "$no_create" != yes; then
   20829   ac_cs_success=:
   20830   ac_config_status_args=
   20831   test "$silent" = yes &&
   20832     ac_config_status_args="$ac_config_status_args --quiet"
   20833   exec 5>/dev/null
   20834   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20835   exec 5>>config.log
   20836   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20837   # would make configure fail if this is the last instruction.
   20838   $ac_cs_success || as_fn_exit 1
   20839 fi
   20840 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20841   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20842 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20843 fi
   20844 
   20845