Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-nouveau 1.0.17.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-nouveau'
    593 PACKAGE_TARNAME='xf86-video-nouveau'
    594 PACKAGE_VERSION='1.0.17'
    595 PACKAGE_STRING='xf86-video-nouveau 1.0.17'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 LIBUDEV_FALSE
    643 LIBUDEV_TRUE
    644 LIBUDEV_LIBS
    645 LIBUDEV_CFLAGS
    646 PCIACCESS_LIBS
    647 PCIACCESS_CFLAGS
    648 HAVE_XEXTPROTO_71_FALSE
    649 HAVE_XEXTPROTO_71_TRUE
    650 XEXT_LIBS
    651 XEXT_CFLAGS
    652 XORG_LIBS
    653 XORG_CFLAGS
    654 LIBDRM_NOUVEAU_LIBS
    655 LIBDRM_NOUVEAU_CFLAGS
    656 LIBDRM_LIBS
    657 LIBDRM_CFLAGS
    658 LT_SYS_LIBRARY_PATH
    659 OTOOL64
    660 OTOOL
    661 LIPO
    662 NMEDIT
    663 DSYMUTIL
    664 MANIFEST_TOOL
    665 RANLIB
    666 ac_ct_AR
    667 AR
    668 DLLTOOL
    669 OBJDUMP
    670 LN_S
    671 NM
    672 ac_ct_DUMPBIN
    673 DUMPBIN
    674 LD
    675 FGREP
    676 LIBTOOL
    677 MAN_SUBSTS
    678 XORG_MAN_PAGE
    679 ADMIN_MAN_DIR
    680 DRIVER_MAN_DIR
    681 MISC_MAN_DIR
    682 FILE_MAN_DIR
    683 LIB_MAN_DIR
    684 APP_MAN_DIR
    685 ADMIN_MAN_SUFFIX
    686 DRIVER_MAN_SUFFIX
    687 MISC_MAN_SUFFIX
    688 FILE_MAN_SUFFIX
    689 LIB_MAN_SUFFIX
    690 APP_MAN_SUFFIX
    691 SED
    692 host_os
    693 host_vendor
    694 host_cpu
    695 host
    696 build_os
    697 build_vendor
    698 build_cpu
    699 build
    700 INSTALL_CMD
    701 PKG_CONFIG_LIBDIR
    702 PKG_CONFIG_PATH
    703 PKG_CONFIG
    704 CHANGELOG_CMD
    705 STRICT_CFLAGS
    706 CWARNFLAGS
    707 BASE_CFLAGS
    708 EGREP
    709 GREP
    710 CPP
    711 am__fastdepCC_FALSE
    712 am__fastdepCC_TRUE
    713 CCDEPMODE
    714 am__nodep
    715 AMDEPBACKSLASH
    716 AMDEP_FALSE
    717 AMDEP_TRUE
    718 am__include
    719 DEPDIR
    720 OBJEXT
    721 EXEEXT
    722 ac_ct_CC
    723 CPPFLAGS
    724 LDFLAGS
    725 CFLAGS
    726 CC
    727 AM_BACKSLASH
    728 AM_DEFAULT_VERBOSITY
    729 AM_DEFAULT_V
    730 AM_V
    731 am__untar
    732 am__tar
    733 AMTAR
    734 am__leading_dot
    735 SET_MAKE
    736 AWK
    737 mkdir_p
    738 MKDIR_P
    739 INSTALL_STRIP_PROGRAM
    740 STRIP
    741 install_sh
    742 MAKEINFO
    743 AUTOHEADER
    744 AUTOMAKE
    745 AUTOCONF
    746 ACLOCAL
    747 VERSION
    748 PACKAGE
    749 CYGPATH_W
    750 am__isrc
    751 INSTALL_DATA
    752 INSTALL_SCRIPT
    753 INSTALL_PROGRAM
    754 target_alias
    755 host_alias
    756 build_alias
    757 LIBS
    758 ECHO_T
    759 ECHO_N
    760 ECHO_C
    761 DEFS
    762 mandir
    763 localedir
    764 libdir
    765 psdir
    766 pdfdir
    767 dvidir
    768 htmldir
    769 infodir
    770 docdir
    771 oldincludedir
    772 includedir
    773 runstatedir
    774 localstatedir
    775 sharedstatedir
    776 sysconfdir
    777 datadir
    778 datarootdir
    779 libexecdir
    780 sbindir
    781 bindir
    782 program_transform_name
    783 prefix
    784 exec_prefix
    785 PACKAGE_URL
    786 PACKAGE_BUGREPORT
    787 PACKAGE_STRING
    788 PACKAGE_VERSION
    789 PACKAGE_TARNAME
    790 PACKAGE_NAME
    791 PATH_SEPARATOR
    792 SHELL
    793 am__quote'
    794 ac_subst_files=''
    795 ac_user_opts='
    796 enable_option_checking
    797 enable_silent_rules
    798 enable_dependency_tracking
    799 enable_selective_werror
    800 enable_strict_compilation
    801 enable_static
    802 enable_shared
    803 with_pic
    804 enable_fast_install
    805 with_aix_soname
    806 with_gnu_ld
    807 with_sysroot
    808 enable_libtool_lock
    809 with_xorg_module_dir
    810 '
    811       ac_precious_vars='build_alias
    812 host_alias
    813 target_alias
    814 CC
    815 CFLAGS
    816 LDFLAGS
    817 LIBS
    818 CPPFLAGS
    819 CPP
    820 PKG_CONFIG
    821 PKG_CONFIG_PATH
    822 PKG_CONFIG_LIBDIR
    823 LT_SYS_LIBRARY_PATH
    824 LIBDRM_CFLAGS
    825 LIBDRM_LIBS
    826 LIBDRM_NOUVEAU_CFLAGS
    827 LIBDRM_NOUVEAU_LIBS
    828 XORG_CFLAGS
    829 XORG_LIBS
    830 XEXT_CFLAGS
    831 XEXT_LIBS
    832 PCIACCESS_CFLAGS
    833 PCIACCESS_LIBS
    834 LIBUDEV_CFLAGS
    835 LIBUDEV_LIBS'
    836 
    837 
    838 # Initialize some variables set by options.
    839 ac_init_help=
    840 ac_init_version=false
    841 ac_unrecognized_opts=
    842 ac_unrecognized_sep=
    843 # The variables have the same names as the options, with
    844 # dashes changed to underlines.
    845 cache_file=/dev/null
    846 exec_prefix=NONE
    847 no_create=
    848 no_recursion=
    849 prefix=NONE
    850 program_prefix=NONE
    851 program_suffix=NONE
    852 program_transform_name=s,x,x,
    853 silent=
    854 site=
    855 srcdir=
    856 verbose=
    857 x_includes=NONE
    858 x_libraries=NONE
    859 
    860 # Installation directory options.
    861 # These are left unexpanded so users can "make install exec_prefix=/foo"
    862 # and all the variables that are supposed to be based on exec_prefix
    863 # by default will actually change.
    864 # Use braces instead of parens because sh, perl, etc. also accept them.
    865 # (The list follows the same order as the GNU Coding Standards.)
    866 bindir='${exec_prefix}/bin'
    867 sbindir='${exec_prefix}/sbin'
    868 libexecdir='${exec_prefix}/libexec'
    869 datarootdir='${prefix}/share'
    870 datadir='${datarootdir}'
    871 sysconfdir='${prefix}/etc'
    872 sharedstatedir='${prefix}/com'
    873 localstatedir='${prefix}/var'
    874 runstatedir='${localstatedir}/run'
    875 includedir='${prefix}/include'
    876 oldincludedir='/usr/include'
    877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    878 infodir='${datarootdir}/info'
    879 htmldir='${docdir}'
    880 dvidir='${docdir}'
    881 pdfdir='${docdir}'
    882 psdir='${docdir}'
    883 libdir='${exec_prefix}/lib'
    884 localedir='${datarootdir}/locale'
    885 mandir='${datarootdir}/man'
    886 
    887 ac_prev=
    888 ac_dashdash=
    889 for ac_option
    890 do
    891   # If the previous option needs an argument, assign it.
    892   if test -n "$ac_prev"; then
    893     eval $ac_prev=\$ac_option
    894     ac_prev=
    895     continue
    896   fi
    897 
    898   case $ac_option in
    899   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    900   *=)   ac_optarg= ;;
    901   *)    ac_optarg=yes ;;
    902   esac
    903 
    904   # Accept the important Cygnus configure options, so we can diagnose typos.
    905 
    906   case $ac_dashdash$ac_option in
    907   --)
    908     ac_dashdash=yes ;;
    909 
    910   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    911     ac_prev=bindir ;;
    912   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    913     bindir=$ac_optarg ;;
    914 
    915   -build | --build | --buil | --bui | --bu)
    916     ac_prev=build_alias ;;
    917   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    918     build_alias=$ac_optarg ;;
    919 
    920   -cache-file | --cache-file | --cache-fil | --cache-fi \
    921   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    922     ac_prev=cache_file ;;
    923   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    924   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    925     cache_file=$ac_optarg ;;
    926 
    927   --config-cache | -C)
    928     cache_file=config.cache ;;
    929 
    930   -datadir | --datadir | --datadi | --datad)
    931     ac_prev=datadir ;;
    932   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    933     datadir=$ac_optarg ;;
    934 
    935   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    936   | --dataroo | --dataro | --datar)
    937     ac_prev=datarootdir ;;
    938   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    939   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    940     datarootdir=$ac_optarg ;;
    941 
    942   -disable-* | --disable-*)
    943     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    944     # Reject names that are not valid shell variable names.
    945     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    946       as_fn_error $? "invalid feature name: $ac_useropt"
    947     ac_useropt_orig=$ac_useropt
    948     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    949     case $ac_user_opts in
    950       *"
    951 "enable_$ac_useropt"
    952 "*) ;;
    953       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    954 	 ac_unrecognized_sep=', ';;
    955     esac
    956     eval enable_$ac_useropt=no ;;
    957 
    958   -docdir | --docdir | --docdi | --doc | --do)
    959     ac_prev=docdir ;;
    960   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    961     docdir=$ac_optarg ;;
    962 
    963   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    964     ac_prev=dvidir ;;
    965   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    966     dvidir=$ac_optarg ;;
    967 
    968   -enable-* | --enable-*)
    969     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    970     # Reject names that are not valid shell variable names.
    971     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    972       as_fn_error $? "invalid feature name: $ac_useropt"
    973     ac_useropt_orig=$ac_useropt
    974     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    975     case $ac_user_opts in
    976       *"
    977 "enable_$ac_useropt"
    978 "*) ;;
    979       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    980 	 ac_unrecognized_sep=', ';;
    981     esac
    982     eval enable_$ac_useropt=\$ac_optarg ;;
    983 
    984   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    985   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    986   | --exec | --exe | --ex)
    987     ac_prev=exec_prefix ;;
    988   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    989   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    990   | --exec=* | --exe=* | --ex=*)
    991     exec_prefix=$ac_optarg ;;
    992 
    993   -gas | --gas | --ga | --g)
    994     # Obsolete; use --with-gas.
    995     with_gas=yes ;;
    996 
    997   -help | --help | --hel | --he | -h)
    998     ac_init_help=long ;;
    999   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1000     ac_init_help=recursive ;;
   1001   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1002     ac_init_help=short ;;
   1003 
   1004   -host | --host | --hos | --ho)
   1005     ac_prev=host_alias ;;
   1006   -host=* | --host=* | --hos=* | --ho=*)
   1007     host_alias=$ac_optarg ;;
   1008 
   1009   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1010     ac_prev=htmldir ;;
   1011   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1012   | --ht=*)
   1013     htmldir=$ac_optarg ;;
   1014 
   1015   -includedir | --includedir | --includedi | --included | --include \
   1016   | --includ | --inclu | --incl | --inc)
   1017     ac_prev=includedir ;;
   1018   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1019   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1020     includedir=$ac_optarg ;;
   1021 
   1022   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1023     ac_prev=infodir ;;
   1024   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1025     infodir=$ac_optarg ;;
   1026 
   1027   -libdir | --libdir | --libdi | --libd)
   1028     ac_prev=libdir ;;
   1029   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1030     libdir=$ac_optarg ;;
   1031 
   1032   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1033   | --libexe | --libex | --libe)
   1034     ac_prev=libexecdir ;;
   1035   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1036   | --libexe=* | --libex=* | --libe=*)
   1037     libexecdir=$ac_optarg ;;
   1038 
   1039   -localedir | --localedir | --localedi | --localed | --locale)
   1040     ac_prev=localedir ;;
   1041   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1042     localedir=$ac_optarg ;;
   1043 
   1044   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1045   | --localstate | --localstat | --localsta | --localst | --locals)
   1046     ac_prev=localstatedir ;;
   1047   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1048   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1049     localstatedir=$ac_optarg ;;
   1050 
   1051   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1052     ac_prev=mandir ;;
   1053   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1054     mandir=$ac_optarg ;;
   1055 
   1056   -nfp | --nfp | --nf)
   1057     # Obsolete; use --without-fp.
   1058     with_fp=no ;;
   1059 
   1060   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1061   | --no-cr | --no-c | -n)
   1062     no_create=yes ;;
   1063 
   1064   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1065   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1066     no_recursion=yes ;;
   1067 
   1068   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1069   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1070   | --oldin | --oldi | --old | --ol | --o)
   1071     ac_prev=oldincludedir ;;
   1072   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1073   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1074   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1075     oldincludedir=$ac_optarg ;;
   1076 
   1077   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1078     ac_prev=prefix ;;
   1079   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1080     prefix=$ac_optarg ;;
   1081 
   1082   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1083   | --program-pre | --program-pr | --program-p)
   1084     ac_prev=program_prefix ;;
   1085   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1086   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1087     program_prefix=$ac_optarg ;;
   1088 
   1089   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1090   | --program-suf | --program-su | --program-s)
   1091     ac_prev=program_suffix ;;
   1092   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1093   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1094     program_suffix=$ac_optarg ;;
   1095 
   1096   -program-transform-name | --program-transform-name \
   1097   | --program-transform-nam | --program-transform-na \
   1098   | --program-transform-n | --program-transform- \
   1099   | --program-transform | --program-transfor \
   1100   | --program-transfo | --program-transf \
   1101   | --program-trans | --program-tran \
   1102   | --progr-tra | --program-tr | --program-t)
   1103     ac_prev=program_transform_name ;;
   1104   -program-transform-name=* | --program-transform-name=* \
   1105   | --program-transform-nam=* | --program-transform-na=* \
   1106   | --program-transform-n=* | --program-transform-=* \
   1107   | --program-transform=* | --program-transfor=* \
   1108   | --program-transfo=* | --program-transf=* \
   1109   | --program-trans=* | --program-tran=* \
   1110   | --progr-tra=* | --program-tr=* | --program-t=*)
   1111     program_transform_name=$ac_optarg ;;
   1112 
   1113   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1114     ac_prev=pdfdir ;;
   1115   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1116     pdfdir=$ac_optarg ;;
   1117 
   1118   -psdir | --psdir | --psdi | --psd | --ps)
   1119     ac_prev=psdir ;;
   1120   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1121     psdir=$ac_optarg ;;
   1122 
   1123   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1124   | -silent | --silent | --silen | --sile | --sil)
   1125     silent=yes ;;
   1126 
   1127   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1128   | --runstate | --runstat | --runsta | --runst | --runs \
   1129   | --run | --ru | --r)
   1130     ac_prev=runstatedir ;;
   1131   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1132   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1133   | --run=* | --ru=* | --r=*)
   1134     runstatedir=$ac_optarg ;;
   1135 
   1136   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1137     ac_prev=sbindir ;;
   1138   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1139   | --sbi=* | --sb=*)
   1140     sbindir=$ac_optarg ;;
   1141 
   1142   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1143   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1144   | --sharedst | --shareds | --shared | --share | --shar \
   1145   | --sha | --sh)
   1146     ac_prev=sharedstatedir ;;
   1147   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1148   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1149   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1150   | --sha=* | --sh=*)
   1151     sharedstatedir=$ac_optarg ;;
   1152 
   1153   -site | --site | --sit)
   1154     ac_prev=site ;;
   1155   -site=* | --site=* | --sit=*)
   1156     site=$ac_optarg ;;
   1157 
   1158   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1159     ac_prev=srcdir ;;
   1160   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1161     srcdir=$ac_optarg ;;
   1162 
   1163   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1164   | --syscon | --sysco | --sysc | --sys | --sy)
   1165     ac_prev=sysconfdir ;;
   1166   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1167   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1168     sysconfdir=$ac_optarg ;;
   1169 
   1170   -target | --target | --targe | --targ | --tar | --ta | --t)
   1171     ac_prev=target_alias ;;
   1172   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1173     target_alias=$ac_optarg ;;
   1174 
   1175   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1176     verbose=yes ;;
   1177 
   1178   -version | --version | --versio | --versi | --vers | -V)
   1179     ac_init_version=: ;;
   1180 
   1181   -with-* | --with-*)
   1182     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1183     # Reject names that are not valid shell variable names.
   1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1185       as_fn_error $? "invalid package name: $ac_useropt"
   1186     ac_useropt_orig=$ac_useropt
   1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1188     case $ac_user_opts in
   1189       *"
   1190 "with_$ac_useropt"
   1191 "*) ;;
   1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1193 	 ac_unrecognized_sep=', ';;
   1194     esac
   1195     eval with_$ac_useropt=\$ac_optarg ;;
   1196 
   1197   -without-* | --without-*)
   1198     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1199     # Reject names that are not valid shell variable names.
   1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1201       as_fn_error $? "invalid package name: $ac_useropt"
   1202     ac_useropt_orig=$ac_useropt
   1203     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1204     case $ac_user_opts in
   1205       *"
   1206 "with_$ac_useropt"
   1207 "*) ;;
   1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1209 	 ac_unrecognized_sep=', ';;
   1210     esac
   1211     eval with_$ac_useropt=no ;;
   1212 
   1213   --x)
   1214     # Obsolete; use --with-x.
   1215     with_x=yes ;;
   1216 
   1217   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1218   | --x-incl | --x-inc | --x-in | --x-i)
   1219     ac_prev=x_includes ;;
   1220   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1221   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1222     x_includes=$ac_optarg ;;
   1223 
   1224   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1225   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1226     ac_prev=x_libraries ;;
   1227   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1228   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1229     x_libraries=$ac_optarg ;;
   1230 
   1231   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1232 Try \`$0 --help' for more information"
   1233     ;;
   1234 
   1235   *=*)
   1236     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1237     # Reject names that are not valid shell variable names.
   1238     case $ac_envvar in #(
   1239       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1240       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1241     esac
   1242     eval $ac_envvar=\$ac_optarg
   1243     export $ac_envvar ;;
   1244 
   1245   *)
   1246     # FIXME: should be removed in autoconf 3.0.
   1247     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1248     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1249       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1250     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1251     ;;
   1252 
   1253   esac
   1254 done
   1255 
   1256 if test -n "$ac_prev"; then
   1257   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1258   as_fn_error $? "missing argument to $ac_option"
   1259 fi
   1260 
   1261 if test -n "$ac_unrecognized_opts"; then
   1262   case $enable_option_checking in
   1263     no) ;;
   1264     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1265     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1266   esac
   1267 fi
   1268 
   1269 # Check all directory arguments for consistency.
   1270 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1271 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1272 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1273 		libdir localedir mandir runstatedir
   1274 do
   1275   eval ac_val=\$$ac_var
   1276   # Remove trailing slashes.
   1277   case $ac_val in
   1278     */ )
   1279       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1280       eval $ac_var=\$ac_val;;
   1281   esac
   1282   # Be sure to have absolute directory names.
   1283   case $ac_val in
   1284     [\\/$]* | ?:[\\/]* )  continue;;
   1285     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1286   esac
   1287   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1288 done
   1289 
   1290 # There might be people who depend on the old broken behavior: `$host'
   1291 # used to hold the argument of --host etc.
   1292 # FIXME: To remove some day.
   1293 build=$build_alias
   1294 host=$host_alias
   1295 target=$target_alias
   1296 
   1297 # FIXME: To remove some day.
   1298 if test "x$host_alias" != x; then
   1299   if test "x$build_alias" = x; then
   1300     cross_compiling=maybe
   1301   elif test "x$build_alias" != "x$host_alias"; then
   1302     cross_compiling=yes
   1303   fi
   1304 fi
   1305 
   1306 ac_tool_prefix=
   1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1308 
   1309 test "$silent" = yes && exec 6>/dev/null
   1310 
   1311 
   1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1313 ac_ls_di=`ls -di .` &&
   1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1315   as_fn_error $? "working directory cannot be determined"
   1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1317   as_fn_error $? "pwd does not report name of working directory"
   1318 
   1319 
   1320 # Find the source files, if location was not specified.
   1321 if test -z "$srcdir"; then
   1322   ac_srcdir_defaulted=yes
   1323   # Try the directory containing this script, then the parent directory.
   1324   ac_confdir=`$as_dirname -- "$as_myself" ||
   1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1326 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1327 	 X"$as_myself" : 'X\(//\)$' \| \
   1328 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1329 $as_echo X"$as_myself" |
   1330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1331 	    s//\1/
   1332 	    q
   1333 	  }
   1334 	  /^X\(\/\/\)[^/].*/{
   1335 	    s//\1/
   1336 	    q
   1337 	  }
   1338 	  /^X\(\/\/\)$/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  /^X\(\/\).*/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  s/.*/./; q'`
   1347   srcdir=$ac_confdir
   1348   if test ! -r "$srcdir/$ac_unique_file"; then
   1349     srcdir=..
   1350   fi
   1351 else
   1352   ac_srcdir_defaulted=no
   1353 fi
   1354 if test ! -r "$srcdir/$ac_unique_file"; then
   1355   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1356   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1357 fi
   1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1359 ac_abs_confdir=`(
   1360 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1361 	pwd)`
   1362 # When building in place, set srcdir=.
   1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1364   srcdir=.
   1365 fi
   1366 # Remove unnecessary trailing slashes from srcdir.
   1367 # Double slashes in file names in object file debugging info
   1368 # mess up M-x gdb in Emacs.
   1369 case $srcdir in
   1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1371 esac
   1372 for ac_var in $ac_precious_vars; do
   1373   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1374   eval ac_env_${ac_var}_value=\$${ac_var}
   1375   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1376   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1377 done
   1378 
   1379 #
   1380 # Report the --help message.
   1381 #
   1382 if test "$ac_init_help" = "long"; then
   1383   # Omit some internal or obsolete options to make the list less imposing.
   1384   # This message is too long to be a string in the A/UX 3.1 sh.
   1385   cat <<_ACEOF
   1386 \`configure' configures xf86-video-nouveau 1.0.17 to adapt to many kinds of systems.
   1387 
   1388 Usage: $0 [OPTION]... [VAR=VALUE]...
   1389 
   1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1391 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1392 
   1393 Defaults for the options are specified in brackets.
   1394 
   1395 Configuration:
   1396   -h, --help              display this help and exit
   1397       --help=short        display options specific to this package
   1398       --help=recursive    display the short help of all the included packages
   1399   -V, --version           display version information and exit
   1400   -q, --quiet, --silent   do not print \`checking ...' messages
   1401       --cache-file=FILE   cache test results in FILE [disabled]
   1402   -C, --config-cache      alias for \`--cache-file=config.cache'
   1403   -n, --no-create         do not create output files
   1404       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1405 
   1406 Installation directories:
   1407   --prefix=PREFIX         install architecture-independent files in PREFIX
   1408                           [$ac_default_prefix]
   1409   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1410                           [PREFIX]
   1411 
   1412 By default, \`make install' will install all the files in
   1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1415 for instance \`--prefix=\$HOME'.
   1416 
   1417 For better control, use the options below.
   1418 
   1419 Fine tuning of the installation directories:
   1420   --bindir=DIR            user executables [EPREFIX/bin]
   1421   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1422   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1423   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1424   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1425   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1426   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1427   --libdir=DIR            object code libraries [EPREFIX/lib]
   1428   --includedir=DIR        C header files [PREFIX/include]
   1429   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1430   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1431   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1432   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1433   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1434   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1435   --docdir=DIR            documentation root
   1436                           [DATAROOTDIR/doc/xf86-video-nouveau]
   1437   --htmldir=DIR           html documentation [DOCDIR]
   1438   --dvidir=DIR            dvi documentation [DOCDIR]
   1439   --pdfdir=DIR            pdf documentation [DOCDIR]
   1440   --psdir=DIR             ps documentation [DOCDIR]
   1441 _ACEOF
   1442 
   1443   cat <<\_ACEOF
   1444 
   1445 Program names:
   1446   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1447   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1448   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1449 
   1450 System types:
   1451   --build=BUILD     configure for building on BUILD [guessed]
   1452   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1453 _ACEOF
   1454 fi
   1455 
   1456 if test -n "$ac_init_help"; then
   1457   case $ac_init_help in
   1458      short | recursive ) echo "Configuration of xf86-video-nouveau 1.0.17:";;
   1459    esac
   1460   cat <<\_ACEOF
   1461 
   1462 Optional Features:
   1463   --disable-option-checking  ignore unrecognized --enable/--with options
   1464   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1465   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1466   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1467   --disable-silent-rules  verbose build output (undo: "make V=0")
   1468   --enable-dependency-tracking
   1469                           do not reject slow dependency extractors
   1470   --disable-dependency-tracking
   1471                           speeds up one-time build
   1472   --disable-selective-werror
   1473                           Turn off selective compiler errors. (default:
   1474                           enabled)
   1475   --enable-strict-compilation
   1476                           Enable all warnings from compiler and make them
   1477                           errors (default: disabled)
   1478   --enable-static[=PKGS]  build static libraries [default=no]
   1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1480   --enable-fast-install[=PKGS]
   1481                           optimize for fast installation [default=yes]
   1482   --disable-libtool-lock  avoid locking (might break parallel builds)
   1483 
   1484 Optional Packages:
   1485   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1486   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1487   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1488                           both]
   1489   --with-aix-soname=aix|svr4|both
   1490                           shared library versioning (aka "SONAME") variant to
   1491                           provide on AIX, [default=aix].
   1492   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1493   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1494                           compiler's sysroot if not specified).
   1495   --with-xorg-module-dir=DIR
   1496                           Default xorg module directory
   1497                           [[default=$libdir/xorg/modules]]
   1498 
   1499 Some influential environment variables:
   1500   CC          C compiler command
   1501   CFLAGS      C compiler flags
   1502   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1503               nonstandard directory <lib dir>
   1504   LIBS        libraries to pass to the linker, e.g. -l<library>
   1505   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1506               you have headers in a nonstandard directory <include dir>
   1507   CPP         C preprocessor
   1508   PKG_CONFIG  path to pkg-config utility
   1509   PKG_CONFIG_PATH
   1510               directories to add to pkg-config's search path
   1511   PKG_CONFIG_LIBDIR
   1512               path overriding pkg-config's built-in search path
   1513   LT_SYS_LIBRARY_PATH
   1514               User-defined run-time library search path.
   1515   LIBDRM_CFLAGS
   1516               C compiler flags for LIBDRM, overriding pkg-config
   1517   LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
   1518   LIBDRM_NOUVEAU_CFLAGS
   1519               C compiler flags for LIBDRM_NOUVEAU, overriding pkg-config
   1520   LIBDRM_NOUVEAU_LIBS
   1521               linker flags for LIBDRM_NOUVEAU, overriding pkg-config
   1522   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1523   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1524   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1525   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1526   PCIACCESS_CFLAGS
   1527               C compiler flags for PCIACCESS, overriding pkg-config
   1528   PCIACCESS_LIBS
   1529               linker flags for PCIACCESS, overriding pkg-config
   1530   LIBUDEV_CFLAGS
   1531               C compiler flags for LIBUDEV, overriding pkg-config
   1532   LIBUDEV_LIBS
   1533               linker flags for LIBUDEV, overriding pkg-config
   1534 
   1535 Use these variables to override the choices made by `configure' or to help
   1536 it to find libraries and programs with nonstandard names/locations.
   1537 
   1538 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/>.
   1539 _ACEOF
   1540 ac_status=$?
   1541 fi
   1542 
   1543 if test "$ac_init_help" = "recursive"; then
   1544   # If there are subdirs, report their specific --help.
   1545   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1546     test -d "$ac_dir" ||
   1547       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1548       continue
   1549     ac_builddir=.
   1550 
   1551 case "$ac_dir" in
   1552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1553 *)
   1554   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1555   # A ".." for each directory in $ac_dir_suffix.
   1556   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1557   case $ac_top_builddir_sub in
   1558   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1559   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1560   esac ;;
   1561 esac
   1562 ac_abs_top_builddir=$ac_pwd
   1563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1564 # for backward compatibility:
   1565 ac_top_builddir=$ac_top_build_prefix
   1566 
   1567 case $srcdir in
   1568   .)  # We are building in place.
   1569     ac_srcdir=.
   1570     ac_top_srcdir=$ac_top_builddir_sub
   1571     ac_abs_top_srcdir=$ac_pwd ;;
   1572   [\\/]* | ?:[\\/]* )  # Absolute name.
   1573     ac_srcdir=$srcdir$ac_dir_suffix;
   1574     ac_top_srcdir=$srcdir
   1575     ac_abs_top_srcdir=$srcdir ;;
   1576   *) # Relative name.
   1577     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1578     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1579     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1580 esac
   1581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1582 
   1583     cd "$ac_dir" || { ac_status=$?; continue; }
   1584     # Check for guested configure.
   1585     if test -f "$ac_srcdir/configure.gnu"; then
   1586       echo &&
   1587       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1588     elif test -f "$ac_srcdir/configure"; then
   1589       echo &&
   1590       $SHELL "$ac_srcdir/configure" --help=recursive
   1591     else
   1592       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1593     fi || ac_status=$?
   1594     cd "$ac_pwd" || { ac_status=$?; break; }
   1595   done
   1596 fi
   1597 
   1598 test -n "$ac_init_help" && exit $ac_status
   1599 if $ac_init_version; then
   1600   cat <<\_ACEOF
   1601 xf86-video-nouveau configure 1.0.17
   1602 generated by GNU Autoconf 2.69
   1603 
   1604 Copyright (C) 2012 Free Software Foundation, Inc.
   1605 This configure script is free software; the Free Software Foundation
   1606 gives unlimited permission to copy, distribute and modify it.
   1607 _ACEOF
   1608   exit
   1609 fi
   1610 
   1611 ## ------------------------ ##
   1612 ## Autoconf initialization. ##
   1613 ## ------------------------ ##
   1614 
   1615 # ac_fn_c_try_compile LINENO
   1616 # --------------------------
   1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1618 ac_fn_c_try_compile ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   rm -f conftest.$ac_objext
   1622   if { { ac_try="$ac_compile"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 $as_echo "$ac_try_echo"; } >&5
   1629   (eval "$ac_compile") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } && {
   1638 	 test -z "$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        } && test -s conftest.$ac_objext; then :
   1641   ac_retval=0
   1642 else
   1643   $as_echo "$as_me: failed program was:" >&5
   1644 sed 's/^/| /' conftest.$ac_ext >&5
   1645 
   1646 	ac_retval=1
   1647 fi
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649   as_fn_set_status $ac_retval
   1650 
   1651 } # ac_fn_c_try_compile
   1652 
   1653 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1654 # ---------------------------------------------
   1655 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1656 # accordingly.
   1657 ac_fn_c_check_decl ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1661   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1663 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1664 if eval \${$3+:} false; then :
   1665   $as_echo_n "(cached) " >&6
   1666 else
   1667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1668 /* end confdefs.h.  */
   1669 $4
   1670 int
   1671 main ()
   1672 {
   1673 #ifndef $as_decl_name
   1674 #ifdef __cplusplus
   1675   (void) $as_decl_use;
   1676 #else
   1677   (void) $as_decl_name;
   1678 #endif
   1679 #endif
   1680 
   1681   ;
   1682   return 0;
   1683 }
   1684 _ACEOF
   1685 if ac_fn_c_try_compile "$LINENO"; then :
   1686   eval "$3=yes"
   1687 else
   1688   eval "$3=no"
   1689 fi
   1690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1691 fi
   1692 eval ac_res=\$$3
   1693 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1694 $as_echo "$ac_res" >&6; }
   1695   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1696 
   1697 } # ac_fn_c_check_decl
   1698 
   1699 # ac_fn_c_try_cpp LINENO
   1700 # ----------------------
   1701 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1702 ac_fn_c_try_cpp ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1706 case "(($ac_try" in
   1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1708   *) ac_try_echo=$ac_try;;
   1709 esac
   1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1711 $as_echo "$ac_try_echo"; } >&5
   1712   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1713   ac_status=$?
   1714   if test -s conftest.err; then
   1715     grep -v '^ *+' conftest.err >conftest.er1
   1716     cat conftest.er1 >&5
   1717     mv -f conftest.er1 conftest.err
   1718   fi
   1719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1720   test $ac_status = 0; } > conftest.i && {
   1721 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1722 	 test ! -s conftest.err
   1723        }; then :
   1724   ac_retval=0
   1725 else
   1726   $as_echo "$as_me: failed program was:" >&5
   1727 sed 's/^/| /' conftest.$ac_ext >&5
   1728 
   1729     ac_retval=1
   1730 fi
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732   as_fn_set_status $ac_retval
   1733 
   1734 } # ac_fn_c_try_cpp
   1735 
   1736 # ac_fn_c_try_run LINENO
   1737 # ----------------------
   1738 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1739 # that executables *can* be run.
   1740 ac_fn_c_try_run ()
   1741 {
   1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1743   if { { ac_try="$ac_link"
   1744 case "(($ac_try" in
   1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1746   *) ac_try_echo=$ac_try;;
   1747 esac
   1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1749 $as_echo "$ac_try_echo"; } >&5
   1750   (eval "$ac_link") 2>&5
   1751   ac_status=$?
   1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1753   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1754   { { case "(($ac_try" in
   1755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1756   *) ac_try_echo=$ac_try;;
   1757 esac
   1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1759 $as_echo "$ac_try_echo"; } >&5
   1760   (eval "$ac_try") 2>&5
   1761   ac_status=$?
   1762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1763   test $ac_status = 0; }; }; then :
   1764   ac_retval=0
   1765 else
   1766   $as_echo "$as_me: program exited with status $ac_status" >&5
   1767        $as_echo "$as_me: failed program was:" >&5
   1768 sed 's/^/| /' conftest.$ac_ext >&5
   1769 
   1770        ac_retval=$ac_status
   1771 fi
   1772   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1774   as_fn_set_status $ac_retval
   1775 
   1776 } # ac_fn_c_try_run
   1777 
   1778 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1779 # -------------------------------------------------------
   1780 # Tests whether HEADER exists and can be compiled using the include files in
   1781 # INCLUDES, setting the cache variable VAR accordingly.
   1782 ac_fn_c_check_header_compile ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1786 $as_echo_n "checking for $2... " >&6; }
   1787 if eval \${$3+:} false; then :
   1788   $as_echo_n "(cached) " >&6
   1789 else
   1790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1791 /* end confdefs.h.  */
   1792 $4
   1793 #include <$2>
   1794 _ACEOF
   1795 if ac_fn_c_try_compile "$LINENO"; then :
   1796   eval "$3=yes"
   1797 else
   1798   eval "$3=no"
   1799 fi
   1800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1801 fi
   1802 eval ac_res=\$$3
   1803 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1804 $as_echo "$ac_res" >&6; }
   1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1806 
   1807 } # ac_fn_c_check_header_compile
   1808 
   1809 # ac_fn_c_try_link LINENO
   1810 # -----------------------
   1811 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1812 ac_fn_c_try_link ()
   1813 {
   1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1815   rm -f conftest.$ac_objext conftest$ac_exeext
   1816   if { { ac_try="$ac_link"
   1817 case "(($ac_try" in
   1818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1819   *) ac_try_echo=$ac_try;;
   1820 esac
   1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1822 $as_echo "$ac_try_echo"; } >&5
   1823   (eval "$ac_link") 2>conftest.err
   1824   ac_status=$?
   1825   if test -s conftest.err; then
   1826     grep -v '^ *+' conftest.err >conftest.er1
   1827     cat conftest.er1 >&5
   1828     mv -f conftest.er1 conftest.err
   1829   fi
   1830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1831   test $ac_status = 0; } && {
   1832 	 test -z "$ac_c_werror_flag" ||
   1833 	 test ! -s conftest.err
   1834        } && test -s conftest$ac_exeext && {
   1835 	 test "$cross_compiling" = yes ||
   1836 	 test -x conftest$ac_exeext
   1837        }; then :
   1838   ac_retval=0
   1839 else
   1840   $as_echo "$as_me: failed program was:" >&5
   1841 sed 's/^/| /' conftest.$ac_ext >&5
   1842 
   1843 	ac_retval=1
   1844 fi
   1845   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1846   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1847   # interfere with the next link command; also delete a directory that is
   1848   # left behind by Apple's compiler.  We do this before executing the actions.
   1849   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1851   as_fn_set_status $ac_retval
   1852 
   1853 } # ac_fn_c_try_link
   1854 
   1855 # ac_fn_c_check_func LINENO FUNC VAR
   1856 # ----------------------------------
   1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1858 ac_fn_c_check_func ()
   1859 {
   1860   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1862 $as_echo_n "checking for $2... " >&6; }
   1863 if eval \${$3+:} false; then :
   1864   $as_echo_n "(cached) " >&6
   1865 else
   1866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1867 /* end confdefs.h.  */
   1868 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1870 #define $2 innocuous_$2
   1871 
   1872 /* System header to define __stub macros and hopefully few prototypes,
   1873     which can conflict with char $2 (); below.
   1874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1875     <limits.h> exists even on freestanding compilers.  */
   1876 
   1877 #ifdef __STDC__
   1878 # include <limits.h>
   1879 #else
   1880 # include <assert.h>
   1881 #endif
   1882 
   1883 #undef $2
   1884 
   1885 /* Override any GCC internal prototype to avoid an error.
   1886    Use char because int might match the return type of a GCC
   1887    builtin and then its argument prototype would still apply.  */
   1888 #ifdef __cplusplus
   1889 extern "C"
   1890 #endif
   1891 char $2 ();
   1892 /* The GNU C library defines this for functions which it implements
   1893     to always fail with ENOSYS.  Some functions are actually named
   1894     something starting with __ and the normal name is an alias.  */
   1895 #if defined __stub_$2 || defined __stub___$2
   1896 choke me
   1897 #endif
   1898 
   1899 int
   1900 main ()
   1901 {
   1902 return $2 ();
   1903   ;
   1904   return 0;
   1905 }
   1906 _ACEOF
   1907 if ac_fn_c_try_link "$LINENO"; then :
   1908   eval "$3=yes"
   1909 else
   1910   eval "$3=no"
   1911 fi
   1912 rm -f core conftest.err conftest.$ac_objext \
   1913     conftest$ac_exeext conftest.$ac_ext
   1914 fi
   1915 eval ac_res=\$$3
   1916 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1917 $as_echo "$ac_res" >&6; }
   1918   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1919 
   1920 } # ac_fn_c_check_func
   1921 cat >config.log <<_ACEOF
   1922 This file contains any messages produced by compilers while
   1923 running configure, to aid debugging if configure makes a mistake.
   1924 
   1925 It was created by xf86-video-nouveau $as_me 1.0.17, which was
   1926 generated by GNU Autoconf 2.69.  Invocation command line was
   1927 
   1928   $ $0 $@
   1929 
   1930 _ACEOF
   1931 exec 5>>config.log
   1932 {
   1933 cat <<_ASUNAME
   1934 ## --------- ##
   1935 ## Platform. ##
   1936 ## --------- ##
   1937 
   1938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1943 
   1944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1945 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1946 
   1947 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1948 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1950 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1951 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1952 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1953 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1954 
   1955 _ASUNAME
   1956 
   1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1958 for as_dir in $PATH
   1959 do
   1960   IFS=$as_save_IFS
   1961   test -z "$as_dir" && as_dir=.
   1962     $as_echo "PATH: $as_dir"
   1963   done
   1964 IFS=$as_save_IFS
   1965 
   1966 } >&5
   1967 
   1968 cat >&5 <<_ACEOF
   1969 
   1970 
   1971 ## ----------- ##
   1972 ## Core tests. ##
   1973 ## ----------- ##
   1974 
   1975 _ACEOF
   1976 
   1977 
   1978 # Keep a trace of the command line.
   1979 # Strip out --no-create and --no-recursion so they do not pile up.
   1980 # Strip out --silent because we don't want to record it for future runs.
   1981 # Also quote any args containing shell meta-characters.
   1982 # Make two passes to allow for proper duplicate-argument suppression.
   1983 ac_configure_args=
   1984 ac_configure_args0=
   1985 ac_configure_args1=
   1986 ac_must_keep_next=false
   1987 for ac_pass in 1 2
   1988 do
   1989   for ac_arg
   1990   do
   1991     case $ac_arg in
   1992     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1993     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1994     | -silent | --silent | --silen | --sile | --sil)
   1995       continue ;;
   1996     *\'*)
   1997       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1998     esac
   1999     case $ac_pass in
   2000     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2001     2)
   2002       as_fn_append ac_configure_args1 " '$ac_arg'"
   2003       if test $ac_must_keep_next = true; then
   2004 	ac_must_keep_next=false # Got value, back to normal.
   2005       else
   2006 	case $ac_arg in
   2007 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2008 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2009 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2010 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2011 	    case "$ac_configure_args0 " in
   2012 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2013 	    esac
   2014 	    ;;
   2015 	  -* ) ac_must_keep_next=true ;;
   2016 	esac
   2017       fi
   2018       as_fn_append ac_configure_args " '$ac_arg'"
   2019       ;;
   2020     esac
   2021   done
   2022 done
   2023 { ac_configure_args0=; unset ac_configure_args0;}
   2024 { ac_configure_args1=; unset ac_configure_args1;}
   2025 
   2026 # When interrupted or exit'd, cleanup temporary files, and complete
   2027 # config.log.  We remove comments because anyway the quotes in there
   2028 # would cause problems or look ugly.
   2029 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2030 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2031 trap 'exit_status=$?
   2032   # Save into config.log some information that might help in debugging.
   2033   {
   2034     echo
   2035 
   2036     $as_echo "## ---------------- ##
   2037 ## Cache variables. ##
   2038 ## ---------------- ##"
   2039     echo
   2040     # The following way of writing the cache mishandles newlines in values,
   2041 (
   2042   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2043     eval ac_val=\$$ac_var
   2044     case $ac_val in #(
   2045     *${as_nl}*)
   2046       case $ac_var in #(
   2047       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2049       esac
   2050       case $ac_var in #(
   2051       _ | IFS | as_nl) ;; #(
   2052       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2053       *) { eval $ac_var=; unset $ac_var;} ;;
   2054       esac ;;
   2055     esac
   2056   done
   2057   (set) 2>&1 |
   2058     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2059     *${as_nl}ac_space=\ *)
   2060       sed -n \
   2061 	"s/'\''/'\''\\\\'\'''\''/g;
   2062 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2063       ;; #(
   2064     *)
   2065       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2066       ;;
   2067     esac |
   2068     sort
   2069 )
   2070     echo
   2071 
   2072     $as_echo "## ----------------- ##
   2073 ## Output variables. ##
   2074 ## ----------------- ##"
   2075     echo
   2076     for ac_var in $ac_subst_vars
   2077     do
   2078       eval ac_val=\$$ac_var
   2079       case $ac_val in
   2080       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2081       esac
   2082       $as_echo "$ac_var='\''$ac_val'\''"
   2083     done | sort
   2084     echo
   2085 
   2086     if test -n "$ac_subst_files"; then
   2087       $as_echo "## ------------------- ##
   2088 ## File substitutions. ##
   2089 ## ------------------- ##"
   2090       echo
   2091       for ac_var in $ac_subst_files
   2092       do
   2093 	eval ac_val=\$$ac_var
   2094 	case $ac_val in
   2095 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2096 	esac
   2097 	$as_echo "$ac_var='\''$ac_val'\''"
   2098       done | sort
   2099       echo
   2100     fi
   2101 
   2102     if test -s confdefs.h; then
   2103       $as_echo "## ----------- ##
   2104 ## confdefs.h. ##
   2105 ## ----------- ##"
   2106       echo
   2107       cat confdefs.h
   2108       echo
   2109     fi
   2110     test "$ac_signal" != 0 &&
   2111       $as_echo "$as_me: caught signal $ac_signal"
   2112     $as_echo "$as_me: exit $exit_status"
   2113   } >&5
   2114   rm -f core *.core core.conftest.* &&
   2115     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2116     exit $exit_status
   2117 ' 0
   2118 for ac_signal in 1 2 13 15; do
   2119   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2120 done
   2121 ac_signal=0
   2122 
   2123 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2124 rm -f -r conftest* confdefs.h
   2125 
   2126 $as_echo "/* confdefs.h */" > confdefs.h
   2127 
   2128 # Predefined preprocessor variables.
   2129 
   2130 cat >>confdefs.h <<_ACEOF
   2131 #define PACKAGE_NAME "$PACKAGE_NAME"
   2132 _ACEOF
   2133 
   2134 cat >>confdefs.h <<_ACEOF
   2135 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2136 _ACEOF
   2137 
   2138 cat >>confdefs.h <<_ACEOF
   2139 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2140 _ACEOF
   2141 
   2142 cat >>confdefs.h <<_ACEOF
   2143 #define PACKAGE_STRING "$PACKAGE_STRING"
   2144 _ACEOF
   2145 
   2146 cat >>confdefs.h <<_ACEOF
   2147 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2148 _ACEOF
   2149 
   2150 cat >>confdefs.h <<_ACEOF
   2151 #define PACKAGE_URL "$PACKAGE_URL"
   2152 _ACEOF
   2153 
   2154 
   2155 # Let the site file select an alternate cache file if it wants to.
   2156 # Prefer an explicitly selected file to automatically selected ones.
   2157 ac_site_file1=NONE
   2158 ac_site_file2=NONE
   2159 if test -n "$CONFIG_SITE"; then
   2160   # We do not want a PATH search for config.site.
   2161   case $CONFIG_SITE in #((
   2162     -*)  ac_site_file1=./$CONFIG_SITE;;
   2163     */*) ac_site_file1=$CONFIG_SITE;;
   2164     *)   ac_site_file1=./$CONFIG_SITE;;
   2165   esac
   2166 elif test "x$prefix" != xNONE; then
   2167   ac_site_file1=$prefix/share/config.site
   2168   ac_site_file2=$prefix/etc/config.site
   2169 else
   2170   ac_site_file1=$ac_default_prefix/share/config.site
   2171   ac_site_file2=$ac_default_prefix/etc/config.site
   2172 fi
   2173 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2174 do
   2175   test "x$ac_site_file" = xNONE && continue
   2176   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2177     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2178 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2179     sed 's/^/| /' "$ac_site_file" >&5
   2180     . "$ac_site_file" \
   2181       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2183 as_fn_error $? "failed to load site script $ac_site_file
   2184 See \`config.log' for more details" "$LINENO" 5; }
   2185   fi
   2186 done
   2187 
   2188 if test -r "$cache_file"; then
   2189   # Some versions of bash will fail to source /dev/null (special files
   2190   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2191   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2192     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2193 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2194     case $cache_file in
   2195       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2196       *)                      . "./$cache_file";;
   2197     esac
   2198   fi
   2199 else
   2200   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2201 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2202   >$cache_file
   2203 fi
   2204 
   2205 # Check that the precious variables saved in the cache have kept the same
   2206 # value.
   2207 ac_cache_corrupted=false
   2208 for ac_var in $ac_precious_vars; do
   2209   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2210   eval ac_new_set=\$ac_env_${ac_var}_set
   2211   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2212   eval ac_new_val=\$ac_env_${ac_var}_value
   2213   case $ac_old_set,$ac_new_set in
   2214     set,)
   2215       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2216 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2217       ac_cache_corrupted=: ;;
   2218     ,set)
   2219       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2220 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2221       ac_cache_corrupted=: ;;
   2222     ,);;
   2223     *)
   2224       if test "x$ac_old_val" != "x$ac_new_val"; then
   2225 	# differences in whitespace do not lead to failure.
   2226 	ac_old_val_w=`echo x $ac_old_val`
   2227 	ac_new_val_w=`echo x $ac_new_val`
   2228 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2229 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2230 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2231 	  ac_cache_corrupted=:
   2232 	else
   2233 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2234 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2235 	  eval $ac_var=\$ac_old_val
   2236 	fi
   2237 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2238 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2239 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2240 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2241       fi;;
   2242   esac
   2243   # Pass precious variables to config.status.
   2244   if test "$ac_new_set" = set; then
   2245     case $ac_new_val in
   2246     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2247     *) ac_arg=$ac_var=$ac_new_val ;;
   2248     esac
   2249     case " $ac_configure_args " in
   2250       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2251       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2252     esac
   2253   fi
   2254 done
   2255 if $ac_cache_corrupted; then
   2256   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2258   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2259 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2260   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2261 fi
   2262 ## -------------------- ##
   2263 ## Main body of script. ##
   2264 ## -------------------- ##
   2265 
   2266 ac_ext=c
   2267 ac_cpp='$CPP $CPPFLAGS'
   2268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2271 
   2272 
   2273 
   2274 
   2275 cat >>confdefs.h <<_ACEOF
   2276 #define NV_DRIVER_DATE $(echo -n \";git log |head -3|tail -1|tr -d '\n';echo -n \")
   2277 _ACEOF
   2278 
   2279 
   2280 
   2281 ac_config_headers="$ac_config_headers config.h"
   2282 
   2283 
   2284 ac_aux_dir=
   2285 for ac_dir in . "$srcdir"/.; do
   2286   if test -f "$ac_dir/install-sh"; then
   2287     ac_aux_dir=$ac_dir
   2288     ac_install_sh="$ac_aux_dir/install-sh -c"
   2289     break
   2290   elif test -f "$ac_dir/install.sh"; then
   2291     ac_aux_dir=$ac_dir
   2292     ac_install_sh="$ac_aux_dir/install.sh -c"
   2293     break
   2294   elif test -f "$ac_dir/shtool"; then
   2295     ac_aux_dir=$ac_dir
   2296     ac_install_sh="$ac_aux_dir/shtool install -c"
   2297     break
   2298   fi
   2299 done
   2300 if test -z "$ac_aux_dir"; then
   2301   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2302 fi
   2303 
   2304 # These three variables are undocumented and unsupported,
   2305 # and are intended to be withdrawn in a future Autoconf release.
   2306 # They can cause serious problems if a builder's source tree is in a directory
   2307 # whose full name contains unusual characters.
   2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2310 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2311 
   2312 
   2313 
   2314 # Initialize Automake
   2315 am__api_version='1.16'
   2316 
   2317 # Find a good install program.  We prefer a C program (faster),
   2318 # so one script is as good as another.  But avoid the broken or
   2319 # incompatible versions:
   2320 # SysV /etc/install, /usr/sbin/install
   2321 # SunOS /usr/etc/install
   2322 # IRIX /sbin/install
   2323 # AIX /bin/install
   2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2328 # OS/2's system install, which has a completely different semantic
   2329 # ./install, which can be erroneously created by make from ./install.sh.
   2330 # Reject install programs that cannot install multiple files.
   2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2333 if test -z "$INSTALL"; then
   2334 if ${ac_cv_path_install+:} false; then :
   2335   $as_echo_n "(cached) " >&6
   2336 else
   2337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2338 for as_dir in $PATH
   2339 do
   2340   IFS=$as_save_IFS
   2341   test -z "$as_dir" && as_dir=.
   2342     # Account for people who put trailing slashes in PATH elements.
   2343 case $as_dir/ in #((
   2344   ./ | .// | /[cC]/* | \
   2345   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2346   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2347   /usr/ucb/* ) ;;
   2348   *)
   2349     # OSF1 and SCO ODT 3.0 have their own names for install.
   2350     # Don't use installbsd from OSF since it installs stuff as root
   2351     # by default.
   2352     for ac_prog in ginstall scoinst install; do
   2353       for ac_exec_ext in '' $ac_executable_extensions; do
   2354 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2355 	  if test $ac_prog = install &&
   2356 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2357 	    # AIX install.  It has an incompatible calling convention.
   2358 	    :
   2359 	  elif test $ac_prog = install &&
   2360 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2361 	    # program-specific install script used by HP pwplus--don't use.
   2362 	    :
   2363 	  else
   2364 	    rm -rf conftest.one conftest.two conftest.dir
   2365 	    echo one > conftest.one
   2366 	    echo two > conftest.two
   2367 	    mkdir conftest.dir
   2368 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2369 	      test -s conftest.one && test -s conftest.two &&
   2370 	      test -s conftest.dir/conftest.one &&
   2371 	      test -s conftest.dir/conftest.two
   2372 	    then
   2373 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2374 	      break 3
   2375 	    fi
   2376 	  fi
   2377 	fi
   2378       done
   2379     done
   2380     ;;
   2381 esac
   2382 
   2383   done
   2384 IFS=$as_save_IFS
   2385 
   2386 rm -rf conftest.one conftest.two conftest.dir
   2387 
   2388 fi
   2389   if test "${ac_cv_path_install+set}" = set; then
   2390     INSTALL=$ac_cv_path_install
   2391   else
   2392     # As a last resort, use the slow shell script.  Don't cache a
   2393     # value for INSTALL within a source directory, because that will
   2394     # break other packages using the cache if that directory is
   2395     # removed, or if the value is a relative name.
   2396     INSTALL=$ac_install_sh
   2397   fi
   2398 fi
   2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2400 $as_echo "$INSTALL" >&6; }
   2401 
   2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2403 # It thinks the first close brace ends the variable substitution.
   2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2405 
   2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2407 
   2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2409 
   2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2411 $as_echo_n "checking whether build environment is sane... " >&6; }
   2412 # Reject unsafe characters in $srcdir or the absolute working directory
   2413 # name.  Accept space and tab only in the latter.
   2414 am_lf='
   2415 '
   2416 case `pwd` in
   2417   *[\\\"\#\$\&\'\`$am_lf]*)
   2418     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2419 esac
   2420 case $srcdir in
   2421   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2422     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2423 esac
   2424 
   2425 # Do 'set' in a subshell so we don't clobber the current shell's
   2426 # arguments.  Must try -L first in case configure is actually a
   2427 # symlink; some systems play weird games with the mod time of symlinks
   2428 # (eg FreeBSD returns the mod time of the symlink's containing
   2429 # directory).
   2430 if (
   2431    am_has_slept=no
   2432    for am_try in 1 2; do
   2433      echo "timestamp, slept: $am_has_slept" > conftest.file
   2434      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2435      if test "$*" = "X"; then
   2436 	# -L didn't work.
   2437 	set X `ls -t "$srcdir/configure" conftest.file`
   2438      fi
   2439      if test "$*" != "X $srcdir/configure conftest.file" \
   2440 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2441 
   2442 	# If neither matched, then we have a broken ls.  This can happen
   2443 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2444 	# broken ls alias from the environment.  This has actually
   2445 	# happened.  Such a system could not be considered "sane".
   2446 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2447   alias in your environment" "$LINENO" 5
   2448      fi
   2449      if test "$2" = conftest.file || test $am_try -eq 2; then
   2450        break
   2451      fi
   2452      # Just in case.
   2453      sleep 1
   2454      am_has_slept=yes
   2455    done
   2456    test "$2" = conftest.file
   2457    )
   2458 then
   2459    # Ok.
   2460    :
   2461 else
   2462    as_fn_error $? "newly created file is older than distributed files!
   2463 Check your system clock" "$LINENO" 5
   2464 fi
   2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2466 $as_echo "yes" >&6; }
   2467 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2468 # generated files are strictly newer.
   2469 am_sleep_pid=
   2470 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2471   ( sleep 1 ) &
   2472   am_sleep_pid=$!
   2473 fi
   2474 
   2475 rm -f conftest.file
   2476 
   2477 test "$program_prefix" != NONE &&
   2478   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2479 # Use a double $ so make ignores it.
   2480 test "$program_suffix" != NONE &&
   2481   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2482 # Double any \ or $.
   2483 # By default was `s,x,x', remove it if useless.
   2484 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2485 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2486 
   2487 # Expand $ac_aux_dir to an absolute path.
   2488 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2489 
   2490 if test x"${MISSING+set}" != xset; then
   2491   case $am_aux_dir in
   2492   *\ * | *\	*)
   2493     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2494   *)
   2495     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2496   esac
   2497 fi
   2498 # Use eval to expand $SHELL
   2499 if eval "$MISSING --is-lightweight"; then
   2500   am_missing_run="$MISSING "
   2501 else
   2502   am_missing_run=
   2503   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2504 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2505 fi
   2506 
   2507 if test x"${install_sh+set}" != xset; then
   2508   case $am_aux_dir in
   2509   *\ * | *\	*)
   2510     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2511   *)
   2512     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2513   esac
   2514 fi
   2515 
   2516 # Installed binaries are usually stripped using 'strip' when the user
   2517 # run "make install-strip".  However 'strip' might not be the right
   2518 # tool to use in cross-compilation environments, therefore Automake
   2519 # will honor the 'STRIP' environment variable to overrule this program.
   2520 if test "$cross_compiling" != no; then
   2521   if test -n "$ac_tool_prefix"; then
   2522   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2523 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2525 $as_echo_n "checking for $ac_word... " >&6; }
   2526 if ${ac_cv_prog_STRIP+:} false; then :
   2527   $as_echo_n "(cached) " >&6
   2528 else
   2529   if test -n "$STRIP"; then
   2530   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2531 else
   2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2533 for as_dir in $PATH
   2534 do
   2535   IFS=$as_save_IFS
   2536   test -z "$as_dir" && as_dir=.
   2537     for ac_exec_ext in '' $ac_executable_extensions; do
   2538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2539     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2541     break 2
   2542   fi
   2543 done
   2544   done
   2545 IFS=$as_save_IFS
   2546 
   2547 fi
   2548 fi
   2549 STRIP=$ac_cv_prog_STRIP
   2550 if test -n "$STRIP"; then
   2551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2552 $as_echo "$STRIP" >&6; }
   2553 else
   2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2555 $as_echo "no" >&6; }
   2556 fi
   2557 
   2558 
   2559 fi
   2560 if test -z "$ac_cv_prog_STRIP"; then
   2561   ac_ct_STRIP=$STRIP
   2562   # Extract the first word of "strip", so it can be a program name with args.
   2563 set dummy strip; ac_word=$2
   2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2565 $as_echo_n "checking for $ac_word... " >&6; }
   2566 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2567   $as_echo_n "(cached) " >&6
   2568 else
   2569   if test -n "$ac_ct_STRIP"; then
   2570   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2571 else
   2572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2573 for as_dir in $PATH
   2574 do
   2575   IFS=$as_save_IFS
   2576   test -z "$as_dir" && as_dir=.
   2577     for ac_exec_ext in '' $ac_executable_extensions; do
   2578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2579     ac_cv_prog_ac_ct_STRIP="strip"
   2580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2581     break 2
   2582   fi
   2583 done
   2584   done
   2585 IFS=$as_save_IFS
   2586 
   2587 fi
   2588 fi
   2589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2590 if test -n "$ac_ct_STRIP"; then
   2591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2592 $as_echo "$ac_ct_STRIP" >&6; }
   2593 else
   2594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2595 $as_echo "no" >&6; }
   2596 fi
   2597 
   2598   if test "x$ac_ct_STRIP" = x; then
   2599     STRIP=":"
   2600   else
   2601     case $cross_compiling:$ac_tool_warned in
   2602 yes:)
   2603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2605 ac_tool_warned=yes ;;
   2606 esac
   2607     STRIP=$ac_ct_STRIP
   2608   fi
   2609 else
   2610   STRIP="$ac_cv_prog_STRIP"
   2611 fi
   2612 
   2613 fi
   2614 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2615 
   2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2617 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2618 if test -z "$MKDIR_P"; then
   2619   if ${ac_cv_path_mkdir+:} false; then :
   2620   $as_echo_n "(cached) " >&6
   2621 else
   2622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2623 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2624 do
   2625   IFS=$as_save_IFS
   2626   test -z "$as_dir" && as_dir=.
   2627     for ac_prog in mkdir gmkdir; do
   2628 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2629 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2630 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2631 	     'mkdir (GNU coreutils) '* | \
   2632 	     'mkdir (coreutils) '* | \
   2633 	     'mkdir (fileutils) '4.1*)
   2634 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2635 	       break 3;;
   2636 	   esac
   2637 	 done
   2638        done
   2639   done
   2640 IFS=$as_save_IFS
   2641 
   2642 fi
   2643 
   2644   test -d ./--version && rmdir ./--version
   2645   if test "${ac_cv_path_mkdir+set}" = set; then
   2646     MKDIR_P="$ac_cv_path_mkdir -p"
   2647   else
   2648     # As a last resort, use the slow shell script.  Don't cache a
   2649     # value for MKDIR_P within a source directory, because that will
   2650     # break other packages using the cache if that directory is
   2651     # removed, or if the value is a relative name.
   2652     MKDIR_P="$ac_install_sh -d"
   2653   fi
   2654 fi
   2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2656 $as_echo "$MKDIR_P" >&6; }
   2657 
   2658 for ac_prog in gawk mawk nawk awk
   2659 do
   2660   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2661 set dummy $ac_prog; ac_word=$2
   2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2663 $as_echo_n "checking for $ac_word... " >&6; }
   2664 if ${ac_cv_prog_AWK+:} false; then :
   2665   $as_echo_n "(cached) " >&6
   2666 else
   2667   if test -n "$AWK"; then
   2668   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2669 else
   2670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2671 for as_dir in $PATH
   2672 do
   2673   IFS=$as_save_IFS
   2674   test -z "$as_dir" && as_dir=.
   2675     for ac_exec_ext in '' $ac_executable_extensions; do
   2676   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2677     ac_cv_prog_AWK="$ac_prog"
   2678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2679     break 2
   2680   fi
   2681 done
   2682   done
   2683 IFS=$as_save_IFS
   2684 
   2685 fi
   2686 fi
   2687 AWK=$ac_cv_prog_AWK
   2688 if test -n "$AWK"; then
   2689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2690 $as_echo "$AWK" >&6; }
   2691 else
   2692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2693 $as_echo "no" >&6; }
   2694 fi
   2695 
   2696 
   2697   test -n "$AWK" && break
   2698 done
   2699 
   2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2701 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2702 set x ${MAKE-make}
   2703 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2704 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2705   $as_echo_n "(cached) " >&6
   2706 else
   2707   cat >conftest.make <<\_ACEOF
   2708 SHELL = /bin/sh
   2709 all:
   2710 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2711 _ACEOF
   2712 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2713 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2714   *@@@%%%=?*=@@@%%%*)
   2715     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2716   *)
   2717     eval ac_cv_prog_make_${ac_make}_set=no;;
   2718 esac
   2719 rm -f conftest.make
   2720 fi
   2721 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2723 $as_echo "yes" >&6; }
   2724   SET_MAKE=
   2725 else
   2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2727 $as_echo "no" >&6; }
   2728   SET_MAKE="MAKE=${MAKE-make}"
   2729 fi
   2730 
   2731 rm -rf .tst 2>/dev/null
   2732 mkdir .tst 2>/dev/null
   2733 if test -d .tst; then
   2734   am__leading_dot=.
   2735 else
   2736   am__leading_dot=_
   2737 fi
   2738 rmdir .tst 2>/dev/null
   2739 
   2740 # Check whether --enable-silent-rules was given.
   2741 if test "${enable_silent_rules+set}" = set; then :
   2742   enableval=$enable_silent_rules;
   2743 fi
   2744 
   2745 case $enable_silent_rules in # (((
   2746   yes) AM_DEFAULT_VERBOSITY=0;;
   2747    no) AM_DEFAULT_VERBOSITY=1;;
   2748     *) AM_DEFAULT_VERBOSITY=1;;
   2749 esac
   2750 am_make=${MAKE-make}
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2752 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2753 if ${am_cv_make_support_nested_variables+:} false; then :
   2754   $as_echo_n "(cached) " >&6
   2755 else
   2756   if $as_echo 'TRUE=$(BAR$(V))
   2757 BAR0=false
   2758 BAR1=true
   2759 V=1
   2760 am__doit:
   2761 	@$(TRUE)
   2762 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2763   am_cv_make_support_nested_variables=yes
   2764 else
   2765   am_cv_make_support_nested_variables=no
   2766 fi
   2767 fi
   2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2769 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2770 if test $am_cv_make_support_nested_variables = yes; then
   2771     AM_V='$(V)'
   2772   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2773 else
   2774   AM_V=$AM_DEFAULT_VERBOSITY
   2775   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2776 fi
   2777 AM_BACKSLASH='\'
   2778 
   2779 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2780   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2781   # is not polluted with repeated "-I."
   2782   am__isrc=' -I$(srcdir)'
   2783   # test to see if srcdir already configured
   2784   if test -f $srcdir/config.status; then
   2785     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2786   fi
   2787 fi
   2788 
   2789 # test whether we have cygpath
   2790 if test -z "$CYGPATH_W"; then
   2791   if (cygpath --version) >/dev/null 2>/dev/null; then
   2792     CYGPATH_W='cygpath -w'
   2793   else
   2794     CYGPATH_W=echo
   2795   fi
   2796 fi
   2797 
   2798 
   2799 # Define the identity of the package.
   2800  PACKAGE='xf86-video-nouveau'
   2801  VERSION='1.0.17'
   2802 
   2803 
   2804 cat >>confdefs.h <<_ACEOF
   2805 #define PACKAGE "$PACKAGE"
   2806 _ACEOF
   2807 
   2808 
   2809 cat >>confdefs.h <<_ACEOF
   2810 #define VERSION "$VERSION"
   2811 _ACEOF
   2812 
   2813 # Some tools Automake needs.
   2814 
   2815 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2816 
   2817 
   2818 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2819 
   2820 
   2821 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2822 
   2823 
   2824 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2825 
   2826 
   2827 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2828 
   2829 # For better backward compatibility.  To be removed once Automake 1.9.x
   2830 # dies out for good.  For more background, see:
   2831 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2832 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2833 mkdir_p='$(MKDIR_P)'
   2834 
   2835 # We need awk for the "check" target (and possibly the TAP driver).  The
   2836 # system "awk" is bad on some platforms.
   2837 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2838 # in the wild :-(  We should find a proper way to deprecate it ...
   2839 AMTAR='$${TAR-tar}'
   2840 
   2841 
   2842 # We'll loop over all known methods to create a tar archive until one works.
   2843 _am_tools='gnutar  pax cpio none'
   2844 
   2845 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2846 
   2847 
   2848 
   2849 
   2850 
   2851 
   2852 # POSIX will say in a future version that running "rm -f" with no argument
   2853 # is OK; and we want to be able to make that assumption in our Makefile
   2854 # recipes.  So use an aggressive probe to check that the usage we want is
   2855 # actually supported "in the wild" to an acceptable degree.
   2856 # See automake bug#10828.
   2857 # To make any issue more visible, cause the running configure to be aborted
   2858 # by default if the 'rm' program in use doesn't match our expectations; the
   2859 # user can still override this though.
   2860 if rm -f && rm -fr && rm -rf; then : OK; else
   2861   cat >&2 <<'END'
   2862 Oops!
   2863 
   2864 Your 'rm' program seems unable to run without file operands specified
   2865 on the command line, even when the '-f' option is present.  This is contrary
   2866 to the behaviour of most rm programs out there, and not conforming with
   2867 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2868 
   2869 Please tell bug-automake@gnu.org about your system, including the value
   2870 of your $PATH and any error possibly output before this message.  This
   2871 can help us improve future automake versions.
   2872 
   2873 END
   2874   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2875     echo 'Configuration will proceed anyway, since you have set the' >&2
   2876     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2877     echo >&2
   2878   else
   2879     cat >&2 <<'END'
   2880 Aborting the configuration process, to ensure you take notice of the issue.
   2881 
   2882 You can download and install GNU coreutils to get an 'rm' implementation
   2883 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2884 
   2885 If you want to complete the configuration process using your problematic
   2886 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2887 to "yes", and re-run configure.
   2888 
   2889 END
   2890     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2891   fi
   2892 fi
   2893 
   2894 
   2895 # Check whether --enable-silent-rules was given.
   2896 if test "${enable_silent_rules+set}" = set; then :
   2897   enableval=$enable_silent_rules;
   2898 fi
   2899 
   2900 case $enable_silent_rules in # (((
   2901   yes) AM_DEFAULT_VERBOSITY=0;;
   2902    no) AM_DEFAULT_VERBOSITY=1;;
   2903     *) AM_DEFAULT_VERBOSITY=0;;
   2904 esac
   2905 am_make=${MAKE-make}
   2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2907 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2908 if ${am_cv_make_support_nested_variables+:} false; then :
   2909   $as_echo_n "(cached) " >&6
   2910 else
   2911   if $as_echo 'TRUE=$(BAR$(V))
   2912 BAR0=false
   2913 BAR1=true
   2914 V=1
   2915 am__doit:
   2916 	@$(TRUE)
   2917 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2918   am_cv_make_support_nested_variables=yes
   2919 else
   2920   am_cv_make_support_nested_variables=no
   2921 fi
   2922 fi
   2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2924 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2925 if test $am_cv_make_support_nested_variables = yes; then
   2926     AM_V='$(V)'
   2927   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2928 else
   2929   AM_V=$AM_DEFAULT_VERBOSITY
   2930   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2931 fi
   2932 AM_BACKSLASH='\'
   2933 
   2934 
   2935 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2936 
   2937 
   2938 
   2939 
   2940 
   2941 
   2942 
   2943 
   2944 
   2945 
   2946 
   2947 
   2948 DEPDIR="${am__leading_dot}deps"
   2949 
   2950 ac_config_commands="$ac_config_commands depfiles"
   2951 
   2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   2953 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   2954 cat > confinc.mk << 'END'
   2955 am__doit:
   2956 	@echo this is the am__doit target >confinc.out
   2957 .PHONY: am__doit
   2958 END
   2959 am__include="#"
   2960 am__quote=
   2961 # BSD make does it like this.
   2962 echo '.include "confinc.mk" # ignored' > confmf.BSD
   2963 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   2964 echo 'include confinc.mk # ignored' > confmf.GNU
   2965 _am_result=no
   2966 for s in GNU BSD; do
   2967   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   2968    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   2969    ac_status=$?
   2970    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2971    (exit $ac_status); }
   2972   case $?:`cat confinc.out 2>/dev/null` in #(
   2973   '0:this is the am__doit target') :
   2974     case $s in #(
   2975   BSD) :
   2976     am__include='.include' am__quote='"' ;; #(
   2977   *) :
   2978     am__include='include' am__quote='' ;;
   2979 esac ;; #(
   2980   *) :
   2981      ;;
   2982 esac
   2983   if test "$am__include" != "#"; then
   2984     _am_result="yes ($s style)"
   2985     break
   2986   fi
   2987 done
   2988 rm -f confinc.* confmf.*
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   2990 $as_echo "${_am_result}" >&6; }
   2991 
   2992 # Check whether --enable-dependency-tracking was given.
   2993 if test "${enable_dependency_tracking+set}" = set; then :
   2994   enableval=$enable_dependency_tracking;
   2995 fi
   2996 
   2997 if test "x$enable_dependency_tracking" != xno; then
   2998   am_depcomp="$ac_aux_dir/depcomp"
   2999   AMDEPBACKSLASH='\'
   3000   am__nodep='_no'
   3001 fi
   3002  if test "x$enable_dependency_tracking" != xno; then
   3003   AMDEP_TRUE=
   3004   AMDEP_FALSE='#'
   3005 else
   3006   AMDEP_TRUE='#'
   3007   AMDEP_FALSE=
   3008 fi
   3009 
   3010 
   3011 ac_ext=c
   3012 ac_cpp='$CPP $CPPFLAGS'
   3013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3016 if test -n "$ac_tool_prefix"; then
   3017   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3018 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3020 $as_echo_n "checking for $ac_word... " >&6; }
   3021 if ${ac_cv_prog_CC+:} false; then :
   3022   $as_echo_n "(cached) " >&6
   3023 else
   3024   if test -n "$CC"; then
   3025   ac_cv_prog_CC="$CC" # Let the user override the test.
   3026 else
   3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3028 for as_dir in $PATH
   3029 do
   3030   IFS=$as_save_IFS
   3031   test -z "$as_dir" && as_dir=.
   3032     for ac_exec_ext in '' $ac_executable_extensions; do
   3033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3034     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3036     break 2
   3037   fi
   3038 done
   3039   done
   3040 IFS=$as_save_IFS
   3041 
   3042 fi
   3043 fi
   3044 CC=$ac_cv_prog_CC
   3045 if test -n "$CC"; then
   3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3047 $as_echo "$CC" >&6; }
   3048 else
   3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3050 $as_echo "no" >&6; }
   3051 fi
   3052 
   3053 
   3054 fi
   3055 if test -z "$ac_cv_prog_CC"; then
   3056   ac_ct_CC=$CC
   3057   # Extract the first word of "gcc", so it can be a program name with args.
   3058 set dummy gcc; ac_word=$2
   3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3060 $as_echo_n "checking for $ac_word... " >&6; }
   3061 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3062   $as_echo_n "(cached) " >&6
   3063 else
   3064   if test -n "$ac_ct_CC"; then
   3065   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3066 else
   3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3068 for as_dir in $PATH
   3069 do
   3070   IFS=$as_save_IFS
   3071   test -z "$as_dir" && as_dir=.
   3072     for ac_exec_ext in '' $ac_executable_extensions; do
   3073   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3074     ac_cv_prog_ac_ct_CC="gcc"
   3075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3076     break 2
   3077   fi
   3078 done
   3079   done
   3080 IFS=$as_save_IFS
   3081 
   3082 fi
   3083 fi
   3084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3085 if test -n "$ac_ct_CC"; then
   3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3087 $as_echo "$ac_ct_CC" >&6; }
   3088 else
   3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3090 $as_echo "no" >&6; }
   3091 fi
   3092 
   3093   if test "x$ac_ct_CC" = x; then
   3094     CC=""
   3095   else
   3096     case $cross_compiling:$ac_tool_warned in
   3097 yes:)
   3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3100 ac_tool_warned=yes ;;
   3101 esac
   3102     CC=$ac_ct_CC
   3103   fi
   3104 else
   3105   CC="$ac_cv_prog_CC"
   3106 fi
   3107 
   3108 if test -z "$CC"; then
   3109           if test -n "$ac_tool_prefix"; then
   3110     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3111 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3113 $as_echo_n "checking for $ac_word... " >&6; }
   3114 if ${ac_cv_prog_CC+:} false; then :
   3115   $as_echo_n "(cached) " >&6
   3116 else
   3117   if test -n "$CC"; then
   3118   ac_cv_prog_CC="$CC" # Let the user override the test.
   3119 else
   3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3121 for as_dir in $PATH
   3122 do
   3123   IFS=$as_save_IFS
   3124   test -z "$as_dir" && as_dir=.
   3125     for ac_exec_ext in '' $ac_executable_extensions; do
   3126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3127     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3129     break 2
   3130   fi
   3131 done
   3132   done
   3133 IFS=$as_save_IFS
   3134 
   3135 fi
   3136 fi
   3137 CC=$ac_cv_prog_CC
   3138 if test -n "$CC"; then
   3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3140 $as_echo "$CC" >&6; }
   3141 else
   3142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3143 $as_echo "no" >&6; }
   3144 fi
   3145 
   3146 
   3147   fi
   3148 fi
   3149 if test -z "$CC"; then
   3150   # Extract the first word of "cc", so it can be a program name with args.
   3151 set dummy cc; ac_word=$2
   3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3153 $as_echo_n "checking for $ac_word... " >&6; }
   3154 if ${ac_cv_prog_CC+:} false; then :
   3155   $as_echo_n "(cached) " >&6
   3156 else
   3157   if test -n "$CC"; then
   3158   ac_cv_prog_CC="$CC" # Let the user override the test.
   3159 else
   3160   ac_prog_rejected=no
   3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3162 for as_dir in $PATH
   3163 do
   3164   IFS=$as_save_IFS
   3165   test -z "$as_dir" && as_dir=.
   3166     for ac_exec_ext in '' $ac_executable_extensions; do
   3167   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3168     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3169        ac_prog_rejected=yes
   3170        continue
   3171      fi
   3172     ac_cv_prog_CC="cc"
   3173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3174     break 2
   3175   fi
   3176 done
   3177   done
   3178 IFS=$as_save_IFS
   3179 
   3180 if test $ac_prog_rejected = yes; then
   3181   # We found a bogon in the path, so make sure we never use it.
   3182   set dummy $ac_cv_prog_CC
   3183   shift
   3184   if test $# != 0; then
   3185     # We chose a different compiler from the bogus one.
   3186     # However, it has the same basename, so the bogon will be chosen
   3187     # first if we set CC to just the basename; use the full file name.
   3188     shift
   3189     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3190   fi
   3191 fi
   3192 fi
   3193 fi
   3194 CC=$ac_cv_prog_CC
   3195 if test -n "$CC"; then
   3196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3197 $as_echo "$CC" >&6; }
   3198 else
   3199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3200 $as_echo "no" >&6; }
   3201 fi
   3202 
   3203 
   3204 fi
   3205 if test -z "$CC"; then
   3206   if test -n "$ac_tool_prefix"; then
   3207   for ac_prog in cl.exe
   3208   do
   3209     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3210 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3212 $as_echo_n "checking for $ac_word... " >&6; }
   3213 if ${ac_cv_prog_CC+:} false; then :
   3214   $as_echo_n "(cached) " >&6
   3215 else
   3216   if test -n "$CC"; then
   3217   ac_cv_prog_CC="$CC" # Let the user override the test.
   3218 else
   3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3220 for as_dir in $PATH
   3221 do
   3222   IFS=$as_save_IFS
   3223   test -z "$as_dir" && as_dir=.
   3224     for ac_exec_ext in '' $ac_executable_extensions; do
   3225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3226     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3228     break 2
   3229   fi
   3230 done
   3231   done
   3232 IFS=$as_save_IFS
   3233 
   3234 fi
   3235 fi
   3236 CC=$ac_cv_prog_CC
   3237 if test -n "$CC"; then
   3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3239 $as_echo "$CC" >&6; }
   3240 else
   3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3242 $as_echo "no" >&6; }
   3243 fi
   3244 
   3245 
   3246     test -n "$CC" && break
   3247   done
   3248 fi
   3249 if test -z "$CC"; then
   3250   ac_ct_CC=$CC
   3251   for ac_prog in cl.exe
   3252 do
   3253   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3254 set dummy $ac_prog; ac_word=$2
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3256 $as_echo_n "checking for $ac_word... " >&6; }
   3257 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3258   $as_echo_n "(cached) " >&6
   3259 else
   3260   if test -n "$ac_ct_CC"; then
   3261   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3262 else
   3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3264 for as_dir in $PATH
   3265 do
   3266   IFS=$as_save_IFS
   3267   test -z "$as_dir" && as_dir=.
   3268     for ac_exec_ext in '' $ac_executable_extensions; do
   3269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3270     ac_cv_prog_ac_ct_CC="$ac_prog"
   3271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3272     break 2
   3273   fi
   3274 done
   3275   done
   3276 IFS=$as_save_IFS
   3277 
   3278 fi
   3279 fi
   3280 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3281 if test -n "$ac_ct_CC"; then
   3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3283 $as_echo "$ac_ct_CC" >&6; }
   3284 else
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3286 $as_echo "no" >&6; }
   3287 fi
   3288 
   3289 
   3290   test -n "$ac_ct_CC" && break
   3291 done
   3292 
   3293   if test "x$ac_ct_CC" = x; then
   3294     CC=""
   3295   else
   3296     case $cross_compiling:$ac_tool_warned in
   3297 yes:)
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3300 ac_tool_warned=yes ;;
   3301 esac
   3302     CC=$ac_ct_CC
   3303   fi
   3304 fi
   3305 
   3306 fi
   3307 
   3308 
   3309 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3311 as_fn_error $? "no acceptable C compiler found in \$PATH
   3312 See \`config.log' for more details" "$LINENO" 5; }
   3313 
   3314 # Provide some information about the compiler.
   3315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3316 set X $ac_compile
   3317 ac_compiler=$2
   3318 for ac_option in --version -v -V -qversion; do
   3319   { { ac_try="$ac_compiler $ac_option >&5"
   3320 case "(($ac_try" in
   3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3322   *) ac_try_echo=$ac_try;;
   3323 esac
   3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3325 $as_echo "$ac_try_echo"; } >&5
   3326   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3327   ac_status=$?
   3328   if test -s conftest.err; then
   3329     sed '10a\
   3330 ... rest of stderr output deleted ...
   3331          10q' conftest.err >conftest.er1
   3332     cat conftest.er1 >&5
   3333   fi
   3334   rm -f conftest.er1 conftest.err
   3335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3336   test $ac_status = 0; }
   3337 done
   3338 
   3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3340 /* end confdefs.h.  */
   3341 
   3342 int
   3343 main ()
   3344 {
   3345 
   3346   ;
   3347   return 0;
   3348 }
   3349 _ACEOF
   3350 ac_clean_files_save=$ac_clean_files
   3351 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3352 # Try to create an executable without -o first, disregard a.out.
   3353 # It will help us diagnose broken compilers, and finding out an intuition
   3354 # of exeext.
   3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3356 $as_echo_n "checking whether the C compiler works... " >&6; }
   3357 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3358 
   3359 # The possible output files:
   3360 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3361 
   3362 ac_rmfiles=
   3363 for ac_file in $ac_files
   3364 do
   3365   case $ac_file in
   3366     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3367     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3368   esac
   3369 done
   3370 rm -f $ac_rmfiles
   3371 
   3372 if { { ac_try="$ac_link_default"
   3373 case "(($ac_try" in
   3374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3375   *) ac_try_echo=$ac_try;;
   3376 esac
   3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3378 $as_echo "$ac_try_echo"; } >&5
   3379   (eval "$ac_link_default") 2>&5
   3380   ac_status=$?
   3381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3382   test $ac_status = 0; }; then :
   3383   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3384 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3385 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3386 # so that the user can short-circuit this test for compilers unknown to
   3387 # Autoconf.
   3388 for ac_file in $ac_files ''
   3389 do
   3390   test -f "$ac_file" || continue
   3391   case $ac_file in
   3392     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3393 	;;
   3394     [ab].out )
   3395 	# We found the default executable, but exeext='' is most
   3396 	# certainly right.
   3397 	break;;
   3398     *.* )
   3399 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3400 	then :; else
   3401 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3402 	fi
   3403 	# We set ac_cv_exeext here because the later test for it is not
   3404 	# safe: cross compilers may not add the suffix if given an `-o'
   3405 	# argument, so we may need to know it at that point already.
   3406 	# Even if this section looks crufty: it has the advantage of
   3407 	# actually working.
   3408 	break;;
   3409     * )
   3410 	break;;
   3411   esac
   3412 done
   3413 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3414 
   3415 else
   3416   ac_file=''
   3417 fi
   3418 if test -z "$ac_file"; then :
   3419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3420 $as_echo "no" >&6; }
   3421 $as_echo "$as_me: failed program was:" >&5
   3422 sed 's/^/| /' conftest.$ac_ext >&5
   3423 
   3424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3426 as_fn_error 77 "C compiler cannot create executables
   3427 See \`config.log' for more details" "$LINENO" 5; }
   3428 else
   3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3430 $as_echo "yes" >&6; }
   3431 fi
   3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3433 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3435 $as_echo "$ac_file" >&6; }
   3436 ac_exeext=$ac_cv_exeext
   3437 
   3438 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3439 ac_clean_files=$ac_clean_files_save
   3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3441 $as_echo_n "checking for suffix of executables... " >&6; }
   3442 if { { ac_try="$ac_link"
   3443 case "(($ac_try" in
   3444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3445   *) ac_try_echo=$ac_try;;
   3446 esac
   3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3448 $as_echo "$ac_try_echo"; } >&5
   3449   (eval "$ac_link") 2>&5
   3450   ac_status=$?
   3451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3452   test $ac_status = 0; }; then :
   3453   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3454 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3455 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3456 # `rm'.
   3457 for ac_file in conftest.exe conftest conftest.*; do
   3458   test -f "$ac_file" || continue
   3459   case $ac_file in
   3460     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3461     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3462 	  break;;
   3463     * ) break;;
   3464   esac
   3465 done
   3466 else
   3467   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3469 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3470 See \`config.log' for more details" "$LINENO" 5; }
   3471 fi
   3472 rm -f conftest conftest$ac_cv_exeext
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3474 $as_echo "$ac_cv_exeext" >&6; }
   3475 
   3476 rm -f conftest.$ac_ext
   3477 EXEEXT=$ac_cv_exeext
   3478 ac_exeext=$EXEEXT
   3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3480 /* end confdefs.h.  */
   3481 #include <stdio.h>
   3482 int
   3483 main ()
   3484 {
   3485 FILE *f = fopen ("conftest.out", "w");
   3486  return ferror (f) || fclose (f) != 0;
   3487 
   3488   ;
   3489   return 0;
   3490 }
   3491 _ACEOF
   3492 ac_clean_files="$ac_clean_files conftest.out"
   3493 # Check that the compiler produces executables we can run.  If not, either
   3494 # the compiler is broken, or we cross compile.
   3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3496 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3497 if test "$cross_compiling" != yes; then
   3498   { { ac_try="$ac_link"
   3499 case "(($ac_try" in
   3500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3501   *) ac_try_echo=$ac_try;;
   3502 esac
   3503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3504 $as_echo "$ac_try_echo"; } >&5
   3505   (eval "$ac_link") 2>&5
   3506   ac_status=$?
   3507   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3508   test $ac_status = 0; }
   3509   if { ac_try='./conftest$ac_cv_exeext'
   3510   { { case "(($ac_try" in
   3511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3512   *) ac_try_echo=$ac_try;;
   3513 esac
   3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3515 $as_echo "$ac_try_echo"; } >&5
   3516   (eval "$ac_try") 2>&5
   3517   ac_status=$?
   3518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3519   test $ac_status = 0; }; }; then
   3520     cross_compiling=no
   3521   else
   3522     if test "$cross_compiling" = maybe; then
   3523 	cross_compiling=yes
   3524     else
   3525 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3527 as_fn_error $? "cannot run C compiled programs.
   3528 If you meant to cross compile, use \`--host'.
   3529 See \`config.log' for more details" "$LINENO" 5; }
   3530     fi
   3531   fi
   3532 fi
   3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3534 $as_echo "$cross_compiling" >&6; }
   3535 
   3536 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3537 ac_clean_files=$ac_clean_files_save
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3539 $as_echo_n "checking for suffix of object files... " >&6; }
   3540 if ${ac_cv_objext+:} false; then :
   3541   $as_echo_n "(cached) " >&6
   3542 else
   3543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3544 /* end confdefs.h.  */
   3545 
   3546 int
   3547 main ()
   3548 {
   3549 
   3550   ;
   3551   return 0;
   3552 }
   3553 _ACEOF
   3554 rm -f conftest.o conftest.obj
   3555 if { { ac_try="$ac_compile"
   3556 case "(($ac_try" in
   3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3558   *) ac_try_echo=$ac_try;;
   3559 esac
   3560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3561 $as_echo "$ac_try_echo"; } >&5
   3562   (eval "$ac_compile") 2>&5
   3563   ac_status=$?
   3564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3565   test $ac_status = 0; }; then :
   3566   for ac_file in conftest.o conftest.obj conftest.*; do
   3567   test -f "$ac_file" || continue;
   3568   case $ac_file in
   3569     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3570     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3571        break;;
   3572   esac
   3573 done
   3574 else
   3575   $as_echo "$as_me: failed program was:" >&5
   3576 sed 's/^/| /' conftest.$ac_ext >&5
   3577 
   3578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3580 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3581 See \`config.log' for more details" "$LINENO" 5; }
   3582 fi
   3583 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3584 fi
   3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3586 $as_echo "$ac_cv_objext" >&6; }
   3587 OBJEXT=$ac_cv_objext
   3588 ac_objext=$OBJEXT
   3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3590 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3591 if ${ac_cv_c_compiler_gnu+:} false; then :
   3592   $as_echo_n "(cached) " >&6
   3593 else
   3594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3595 /* end confdefs.h.  */
   3596 
   3597 int
   3598 main ()
   3599 {
   3600 #ifndef __GNUC__
   3601        choke me
   3602 #endif
   3603 
   3604   ;
   3605   return 0;
   3606 }
   3607 _ACEOF
   3608 if ac_fn_c_try_compile "$LINENO"; then :
   3609   ac_compiler_gnu=yes
   3610 else
   3611   ac_compiler_gnu=no
   3612 fi
   3613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3614 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3615 
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3618 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3619 if test $ac_compiler_gnu = yes; then
   3620   GCC=yes
   3621 else
   3622   GCC=
   3623 fi
   3624 ac_test_CFLAGS=${CFLAGS+set}
   3625 ac_save_CFLAGS=$CFLAGS
   3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3627 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3628 if ${ac_cv_prog_cc_g+:} false; then :
   3629   $as_echo_n "(cached) " >&6
   3630 else
   3631   ac_save_c_werror_flag=$ac_c_werror_flag
   3632    ac_c_werror_flag=yes
   3633    ac_cv_prog_cc_g=no
   3634    CFLAGS="-g"
   3635    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3636 /* end confdefs.h.  */
   3637 
   3638 int
   3639 main ()
   3640 {
   3641 
   3642   ;
   3643   return 0;
   3644 }
   3645 _ACEOF
   3646 if ac_fn_c_try_compile "$LINENO"; then :
   3647   ac_cv_prog_cc_g=yes
   3648 else
   3649   CFLAGS=""
   3650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3651 /* end confdefs.h.  */
   3652 
   3653 int
   3654 main ()
   3655 {
   3656 
   3657   ;
   3658   return 0;
   3659 }
   3660 _ACEOF
   3661 if ac_fn_c_try_compile "$LINENO"; then :
   3662 
   3663 else
   3664   ac_c_werror_flag=$ac_save_c_werror_flag
   3665 	 CFLAGS="-g"
   3666 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3667 /* end confdefs.h.  */
   3668 
   3669 int
   3670 main ()
   3671 {
   3672 
   3673   ;
   3674   return 0;
   3675 }
   3676 _ACEOF
   3677 if ac_fn_c_try_compile "$LINENO"; then :
   3678   ac_cv_prog_cc_g=yes
   3679 fi
   3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3681 fi
   3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3683 fi
   3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3685    ac_c_werror_flag=$ac_save_c_werror_flag
   3686 fi
   3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3688 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3689 if test "$ac_test_CFLAGS" = set; then
   3690   CFLAGS=$ac_save_CFLAGS
   3691 elif test $ac_cv_prog_cc_g = yes; then
   3692   if test "$GCC" = yes; then
   3693     CFLAGS="-g -O2"
   3694   else
   3695     CFLAGS="-g"
   3696   fi
   3697 else
   3698   if test "$GCC" = yes; then
   3699     CFLAGS="-O2"
   3700   else
   3701     CFLAGS=
   3702   fi
   3703 fi
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3705 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3706 if ${ac_cv_prog_cc_c89+:} false; then :
   3707   $as_echo_n "(cached) " >&6
   3708 else
   3709   ac_cv_prog_cc_c89=no
   3710 ac_save_CC=$CC
   3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 #include <stdarg.h>
   3714 #include <stdio.h>
   3715 struct stat;
   3716 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3717 struct buf { int x; };
   3718 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3719 static char *e (p, i)
   3720      char **p;
   3721      int i;
   3722 {
   3723   return p[i];
   3724 }
   3725 static char *f (char * (*g) (char **, int), char **p, ...)
   3726 {
   3727   char *s;
   3728   va_list v;
   3729   va_start (v,p);
   3730   s = g (p, va_arg (v,int));
   3731   va_end (v);
   3732   return s;
   3733 }
   3734 
   3735 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3736    function prototypes and stuff, but not '\xHH' hex character constants.
   3737    These don't provoke an error unfortunately, instead are silently treated
   3738    as 'x'.  The following induces an error, until -std is added to get
   3739    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3740    array size at least.  It's necessary to write '\x00'==0 to get something
   3741    that's true only with -std.  */
   3742 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3743 
   3744 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3745    inside strings and character constants.  */
   3746 #define FOO(x) 'x'
   3747 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3748 
   3749 int test (int i, double x);
   3750 struct s1 {int (*f) (int a);};
   3751 struct s2 {int (*f) (double a);};
   3752 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3753 int argc;
   3754 char **argv;
   3755 int
   3756 main ()
   3757 {
   3758 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3759   ;
   3760   return 0;
   3761 }
   3762 _ACEOF
   3763 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3764 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3765 do
   3766   CC="$ac_save_CC $ac_arg"
   3767   if ac_fn_c_try_compile "$LINENO"; then :
   3768   ac_cv_prog_cc_c89=$ac_arg
   3769 fi
   3770 rm -f core conftest.err conftest.$ac_objext
   3771   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3772 done
   3773 rm -f conftest.$ac_ext
   3774 CC=$ac_save_CC
   3775 
   3776 fi
   3777 # AC_CACHE_VAL
   3778 case "x$ac_cv_prog_cc_c89" in
   3779   x)
   3780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3781 $as_echo "none needed" >&6; } ;;
   3782   xno)
   3783     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3784 $as_echo "unsupported" >&6; } ;;
   3785   *)
   3786     CC="$CC $ac_cv_prog_cc_c89"
   3787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3788 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3789 esac
   3790 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3791 
   3792 fi
   3793 
   3794 ac_ext=c
   3795 ac_cpp='$CPP $CPPFLAGS'
   3796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3799 
   3800 ac_ext=c
   3801 ac_cpp='$CPP $CPPFLAGS'
   3802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3806 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3807 if ${am_cv_prog_cc_c_o+:} false; then :
   3808   $as_echo_n "(cached) " >&6
   3809 else
   3810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3811 /* end confdefs.h.  */
   3812 
   3813 int
   3814 main ()
   3815 {
   3816 
   3817   ;
   3818   return 0;
   3819 }
   3820 _ACEOF
   3821   # Make sure it works both with $CC and with simple cc.
   3822   # Following AC_PROG_CC_C_O, we do the test twice because some
   3823   # compilers refuse to overwrite an existing .o file with -o,
   3824   # though they will create one.
   3825   am_cv_prog_cc_c_o=yes
   3826   for am_i in 1 2; do
   3827     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3828    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3829    ac_status=$?
   3830    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3831    (exit $ac_status); } \
   3832          && test -f conftest2.$ac_objext; then
   3833       : OK
   3834     else
   3835       am_cv_prog_cc_c_o=no
   3836       break
   3837     fi
   3838   done
   3839   rm -f core conftest*
   3840   unset am_i
   3841 fi
   3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3843 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3844 if test "$am_cv_prog_cc_c_o" != yes; then
   3845    # Losing compiler, so override with the script.
   3846    # FIXME: It is wrong to rewrite CC.
   3847    # But if we don't then we get into trouble of one sort or another.
   3848    # A longer-term fix would be to have automake use am__CC in this case,
   3849    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3850    CC="$am_aux_dir/compile $CC"
   3851 fi
   3852 ac_ext=c
   3853 ac_cpp='$CPP $CPPFLAGS'
   3854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3857 
   3858 
   3859 depcc="$CC"   am_compiler_list=
   3860 
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3862 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3863 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3864   $as_echo_n "(cached) " >&6
   3865 else
   3866   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3867   # We make a subdir and do the tests there.  Otherwise we can end up
   3868   # making bogus files that we don't know about and never remove.  For
   3869   # instance it was reported that on HP-UX the gcc test will end up
   3870   # making a dummy file named 'D' -- because '-MD' means "put the output
   3871   # in D".
   3872   rm -rf conftest.dir
   3873   mkdir conftest.dir
   3874   # Copy depcomp to subdir because otherwise we won't find it if we're
   3875   # using a relative directory.
   3876   cp "$am_depcomp" conftest.dir
   3877   cd conftest.dir
   3878   # We will build objects and dependencies in a subdirectory because
   3879   # it helps to detect inapplicable dependency modes.  For instance
   3880   # both Tru64's cc and ICC support -MD to output dependencies as a
   3881   # side effect of compilation, but ICC will put the dependencies in
   3882   # the current directory while Tru64 will put them in the object
   3883   # directory.
   3884   mkdir sub
   3885 
   3886   am_cv_CC_dependencies_compiler_type=none
   3887   if test "$am_compiler_list" = ""; then
   3888      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3889   fi
   3890   am__universal=false
   3891   case " $depcc " in #(
   3892      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3893      esac
   3894 
   3895   for depmode in $am_compiler_list; do
   3896     # Setup a source with many dependencies, because some compilers
   3897     # like to wrap large dependency lists on column 80 (with \), and
   3898     # we should not choose a depcomp mode which is confused by this.
   3899     #
   3900     # We need to recreate these files for each test, as the compiler may
   3901     # overwrite some of them when testing with obscure command lines.
   3902     # This happens at least with the AIX C compiler.
   3903     : > sub/conftest.c
   3904     for i in 1 2 3 4 5 6; do
   3905       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3906       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3907       # Solaris 10 /bin/sh.
   3908       echo '/* dummy */' > sub/conftst$i.h
   3909     done
   3910     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3911 
   3912     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3913     # mode.  It turns out that the SunPro C++ compiler does not properly
   3914     # handle '-M -o', and we need to detect this.  Also, some Intel
   3915     # versions had trouble with output in subdirs.
   3916     am__obj=sub/conftest.${OBJEXT-o}
   3917     am__minus_obj="-o $am__obj"
   3918     case $depmode in
   3919     gcc)
   3920       # This depmode causes a compiler race in universal mode.
   3921       test "$am__universal" = false || continue
   3922       ;;
   3923     nosideeffect)
   3924       # After this tag, mechanisms are not by side-effect, so they'll
   3925       # only be used when explicitly requested.
   3926       if test "x$enable_dependency_tracking" = xyes; then
   3927 	continue
   3928       else
   3929 	break
   3930       fi
   3931       ;;
   3932     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3933       # This compiler won't grok '-c -o', but also, the minuso test has
   3934       # not run yet.  These depmodes are late enough in the game, and
   3935       # so weak that their functioning should not be impacted.
   3936       am__obj=conftest.${OBJEXT-o}
   3937       am__minus_obj=
   3938       ;;
   3939     none) break ;;
   3940     esac
   3941     if depmode=$depmode \
   3942        source=sub/conftest.c object=$am__obj \
   3943        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3944        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3945          >/dev/null 2>conftest.err &&
   3946        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3947        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3948        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3949        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3950       # icc doesn't choke on unknown options, it will just issue warnings
   3951       # or remarks (even with -Werror).  So we grep stderr for any message
   3952       # that says an option was ignored or not supported.
   3953       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3954       #   icc: Command line warning: ignoring option '-M'; no argument required
   3955       # The diagnosis changed in icc 8.0:
   3956       #   icc: Command line remark: option '-MP' not supported
   3957       if (grep 'ignoring option' conftest.err ||
   3958           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3959         am_cv_CC_dependencies_compiler_type=$depmode
   3960         break
   3961       fi
   3962     fi
   3963   done
   3964 
   3965   cd ..
   3966   rm -rf conftest.dir
   3967 else
   3968   am_cv_CC_dependencies_compiler_type=none
   3969 fi
   3970 
   3971 fi
   3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3973 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3974 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3975 
   3976  if
   3977   test "x$enable_dependency_tracking" != xno \
   3978   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3979   am__fastdepCC_TRUE=
   3980   am__fastdepCC_FALSE='#'
   3981 else
   3982   am__fastdepCC_TRUE='#'
   3983   am__fastdepCC_FALSE=
   3984 fi
   3985 
   3986 
   3987    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3988 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3989 if ${ac_cv_prog_cc_c99+:} false; then :
   3990   $as_echo_n "(cached) " >&6
   3991 else
   3992   ac_cv_prog_cc_c99=no
   3993 ac_save_CC=$CC
   3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 #include <stdarg.h>
   3997 #include <stdbool.h>
   3998 #include <stdlib.h>
   3999 #include <wchar.h>
   4000 #include <stdio.h>
   4001 
   4002 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4003 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4004 #define showlist(...) puts (#__VA_ARGS__)
   4005 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4006 static void
   4007 test_varargs_macros (void)
   4008 {
   4009   int x = 1234;
   4010   int y = 5678;
   4011   debug ("Flag");
   4012   debug ("X = %d\n", x);
   4013   showlist (The first, second, and third items.);
   4014   report (x>y, "x is %d but y is %d", x, y);
   4015 }
   4016 
   4017 // Check long long types.
   4018 #define BIG64 18446744073709551615ull
   4019 #define BIG32 4294967295ul
   4020 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4021 #if !BIG_OK
   4022   your preprocessor is broken;
   4023 #endif
   4024 #if BIG_OK
   4025 #else
   4026   your preprocessor is broken;
   4027 #endif
   4028 static long long int bignum = -9223372036854775807LL;
   4029 static unsigned long long int ubignum = BIG64;
   4030 
   4031 struct incomplete_array
   4032 {
   4033   int datasize;
   4034   double data[];
   4035 };
   4036 
   4037 struct named_init {
   4038   int number;
   4039   const wchar_t *name;
   4040   double average;
   4041 };
   4042 
   4043 typedef const char *ccp;
   4044 
   4045 static inline int
   4046 test_restrict (ccp restrict text)
   4047 {
   4048   // See if C++-style comments work.
   4049   // Iterate through items via the restricted pointer.
   4050   // Also check for declarations in for loops.
   4051   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4052     continue;
   4053   return 0;
   4054 }
   4055 
   4056 // Check varargs and va_copy.
   4057 static void
   4058 test_varargs (const char *format, ...)
   4059 {
   4060   va_list args;
   4061   va_start (args, format);
   4062   va_list args_copy;
   4063   va_copy (args_copy, args);
   4064 
   4065   const char *str;
   4066   int number;
   4067   float fnumber;
   4068 
   4069   while (*format)
   4070     {
   4071       switch (*format++)
   4072 	{
   4073 	case 's': // string
   4074 	  str = va_arg (args_copy, const char *);
   4075 	  break;
   4076 	case 'd': // int
   4077 	  number = va_arg (args_copy, int);
   4078 	  break;
   4079 	case 'f': // float
   4080 	  fnumber = va_arg (args_copy, double);
   4081 	  break;
   4082 	default:
   4083 	  break;
   4084 	}
   4085     }
   4086   va_end (args_copy);
   4087   va_end (args);
   4088 }
   4089 
   4090 int
   4091 main ()
   4092 {
   4093 
   4094   // Check bool.
   4095   _Bool success = false;
   4096 
   4097   // Check restrict.
   4098   if (test_restrict ("String literal") == 0)
   4099     success = true;
   4100   char *restrict newvar = "Another string";
   4101 
   4102   // Check varargs.
   4103   test_varargs ("s, d' f .", "string", 65, 34.234);
   4104   test_varargs_macros ();
   4105 
   4106   // Check flexible array members.
   4107   struct incomplete_array *ia =
   4108     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4109   ia->datasize = 10;
   4110   for (int i = 0; i < ia->datasize; ++i)
   4111     ia->data[i] = i * 1.234;
   4112 
   4113   // Check named initializers.
   4114   struct named_init ni = {
   4115     .number = 34,
   4116     .name = L"Test wide string",
   4117     .average = 543.34343,
   4118   };
   4119 
   4120   ni.number = 58;
   4121 
   4122   int dynamic_array[ni.number];
   4123   dynamic_array[ni.number - 1] = 543;
   4124 
   4125   // work around unused variable warnings
   4126   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4127 	  || dynamic_array[ni.number - 1] != 543);
   4128 
   4129   ;
   4130   return 0;
   4131 }
   4132 _ACEOF
   4133 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4134 do
   4135   CC="$ac_save_CC $ac_arg"
   4136   if ac_fn_c_try_compile "$LINENO"; then :
   4137   ac_cv_prog_cc_c99=$ac_arg
   4138 fi
   4139 rm -f core conftest.err conftest.$ac_objext
   4140   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4141 done
   4142 rm -f conftest.$ac_ext
   4143 CC=$ac_save_CC
   4144 
   4145 fi
   4146 # AC_CACHE_VAL
   4147 case "x$ac_cv_prog_cc_c99" in
   4148   x)
   4149     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4150 $as_echo "none needed" >&6; } ;;
   4151   xno)
   4152     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4153 $as_echo "unsupported" >&6; } ;;
   4154   *)
   4155     CC="$CC $ac_cv_prog_cc_c99"
   4156     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4157 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4158 esac
   4159 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4160 
   4161 fi
   4162 
   4163 
   4164 
   4165 ac_ext=c
   4166 ac_cpp='$CPP $CPPFLAGS'
   4167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4171 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4172 # On Suns, sometimes $CPP names a directory.
   4173 if test -n "$CPP" && test -d "$CPP"; then
   4174   CPP=
   4175 fi
   4176 if test -z "$CPP"; then
   4177   if ${ac_cv_prog_CPP+:} false; then :
   4178   $as_echo_n "(cached) " >&6
   4179 else
   4180       # Double quotes because CPP needs to be expanded
   4181     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4182     do
   4183       ac_preproc_ok=false
   4184 for ac_c_preproc_warn_flag in '' yes
   4185 do
   4186   # Use a header file that comes with gcc, so configuring glibc
   4187   # with a fresh cross-compiler works.
   4188   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4189   # <limits.h> exists even on freestanding compilers.
   4190   # On the NeXT, cc -E runs the code through the compiler's parser,
   4191   # not just through cpp. "Syntax error" is here to catch this case.
   4192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4193 /* end confdefs.h.  */
   4194 #ifdef __STDC__
   4195 # include <limits.h>
   4196 #else
   4197 # include <assert.h>
   4198 #endif
   4199 		     Syntax error
   4200 _ACEOF
   4201 if ac_fn_c_try_cpp "$LINENO"; then :
   4202 
   4203 else
   4204   # Broken: fails on valid input.
   4205 continue
   4206 fi
   4207 rm -f conftest.err conftest.i conftest.$ac_ext
   4208 
   4209   # OK, works on sane cases.  Now check whether nonexistent headers
   4210   # can be detected and how.
   4211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4212 /* end confdefs.h.  */
   4213 #include <ac_nonexistent.h>
   4214 _ACEOF
   4215 if ac_fn_c_try_cpp "$LINENO"; then :
   4216   # Broken: success on invalid input.
   4217 continue
   4218 else
   4219   # Passes both tests.
   4220 ac_preproc_ok=:
   4221 break
   4222 fi
   4223 rm -f conftest.err conftest.i conftest.$ac_ext
   4224 
   4225 done
   4226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4227 rm -f conftest.i conftest.err conftest.$ac_ext
   4228 if $ac_preproc_ok; then :
   4229   break
   4230 fi
   4231 
   4232     done
   4233     ac_cv_prog_CPP=$CPP
   4234 
   4235 fi
   4236   CPP=$ac_cv_prog_CPP
   4237 else
   4238   ac_cv_prog_CPP=$CPP
   4239 fi
   4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4241 $as_echo "$CPP" >&6; }
   4242 ac_preproc_ok=false
   4243 for ac_c_preproc_warn_flag in '' yes
   4244 do
   4245   # Use a header file that comes with gcc, so configuring glibc
   4246   # with a fresh cross-compiler works.
   4247   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4248   # <limits.h> exists even on freestanding compilers.
   4249   # On the NeXT, cc -E runs the code through the compiler's parser,
   4250   # not just through cpp. "Syntax error" is here to catch this case.
   4251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4252 /* end confdefs.h.  */
   4253 #ifdef __STDC__
   4254 # include <limits.h>
   4255 #else
   4256 # include <assert.h>
   4257 #endif
   4258 		     Syntax error
   4259 _ACEOF
   4260 if ac_fn_c_try_cpp "$LINENO"; then :
   4261 
   4262 else
   4263   # Broken: fails on valid input.
   4264 continue
   4265 fi
   4266 rm -f conftest.err conftest.i conftest.$ac_ext
   4267 
   4268   # OK, works on sane cases.  Now check whether nonexistent headers
   4269   # can be detected and how.
   4270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4271 /* end confdefs.h.  */
   4272 #include <ac_nonexistent.h>
   4273 _ACEOF
   4274 if ac_fn_c_try_cpp "$LINENO"; then :
   4275   # Broken: success on invalid input.
   4276 continue
   4277 else
   4278   # Passes both tests.
   4279 ac_preproc_ok=:
   4280 break
   4281 fi
   4282 rm -f conftest.err conftest.i conftest.$ac_ext
   4283 
   4284 done
   4285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4286 rm -f conftest.i conftest.err conftest.$ac_ext
   4287 if $ac_preproc_ok; then :
   4288 
   4289 else
   4290   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4292 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4293 See \`config.log' for more details" "$LINENO" 5; }
   4294 fi
   4295 
   4296 ac_ext=c
   4297 ac_cpp='$CPP $CPPFLAGS'
   4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4301 
   4302 
   4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4304 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4305 if ${ac_cv_path_GREP+:} false; then :
   4306   $as_echo_n "(cached) " >&6
   4307 else
   4308   if test -z "$GREP"; then
   4309   ac_path_GREP_found=false
   4310   # Loop through the user's path and test for each of PROGNAME-LIST
   4311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4313 do
   4314   IFS=$as_save_IFS
   4315   test -z "$as_dir" && as_dir=.
   4316     for ac_prog in grep ggrep; do
   4317     for ac_exec_ext in '' $ac_executable_extensions; do
   4318       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4319       as_fn_executable_p "$ac_path_GREP" || continue
   4320 # Check for GNU ac_path_GREP and select it if it is found.
   4321   # Check for GNU $ac_path_GREP
   4322 case `"$ac_path_GREP" --version 2>&1` in
   4323 *GNU*)
   4324   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4325 *)
   4326   ac_count=0
   4327   $as_echo_n 0123456789 >"conftest.in"
   4328   while :
   4329   do
   4330     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4331     mv "conftest.tmp" "conftest.in"
   4332     cp "conftest.in" "conftest.nl"
   4333     $as_echo 'GREP' >> "conftest.nl"
   4334     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4335     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4336     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4337     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4338       # Best one so far, save it but keep looking for a better one
   4339       ac_cv_path_GREP="$ac_path_GREP"
   4340       ac_path_GREP_max=$ac_count
   4341     fi
   4342     # 10*(2^10) chars as input seems more than enough
   4343     test $ac_count -gt 10 && break
   4344   done
   4345   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4346 esac
   4347 
   4348       $ac_path_GREP_found && break 3
   4349     done
   4350   done
   4351   done
   4352 IFS=$as_save_IFS
   4353   if test -z "$ac_cv_path_GREP"; then
   4354     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4355   fi
   4356 else
   4357   ac_cv_path_GREP=$GREP
   4358 fi
   4359 
   4360 fi
   4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4362 $as_echo "$ac_cv_path_GREP" >&6; }
   4363  GREP="$ac_cv_path_GREP"
   4364 
   4365 
   4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4367 $as_echo_n "checking for egrep... " >&6; }
   4368 if ${ac_cv_path_EGREP+:} false; then :
   4369   $as_echo_n "(cached) " >&6
   4370 else
   4371   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4372    then ac_cv_path_EGREP="$GREP -E"
   4373    else
   4374      if test -z "$EGREP"; then
   4375   ac_path_EGREP_found=false
   4376   # Loop through the user's path and test for each of PROGNAME-LIST
   4377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4379 do
   4380   IFS=$as_save_IFS
   4381   test -z "$as_dir" && as_dir=.
   4382     for ac_prog in egrep; do
   4383     for ac_exec_ext in '' $ac_executable_extensions; do
   4384       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4385       as_fn_executable_p "$ac_path_EGREP" || continue
   4386 # Check for GNU ac_path_EGREP and select it if it is found.
   4387   # Check for GNU $ac_path_EGREP
   4388 case `"$ac_path_EGREP" --version 2>&1` in
   4389 *GNU*)
   4390   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4391 *)
   4392   ac_count=0
   4393   $as_echo_n 0123456789 >"conftest.in"
   4394   while :
   4395   do
   4396     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4397     mv "conftest.tmp" "conftest.in"
   4398     cp "conftest.in" "conftest.nl"
   4399     $as_echo 'EGREP' >> "conftest.nl"
   4400     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4401     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4402     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4403     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4404       # Best one so far, save it but keep looking for a better one
   4405       ac_cv_path_EGREP="$ac_path_EGREP"
   4406       ac_path_EGREP_max=$ac_count
   4407     fi
   4408     # 10*(2^10) chars as input seems more than enough
   4409     test $ac_count -gt 10 && break
   4410   done
   4411   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4412 esac
   4413 
   4414       $ac_path_EGREP_found && break 3
   4415     done
   4416   done
   4417   done
   4418 IFS=$as_save_IFS
   4419   if test -z "$ac_cv_path_EGREP"; then
   4420     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4421   fi
   4422 else
   4423   ac_cv_path_EGREP=$EGREP
   4424 fi
   4425 
   4426    fi
   4427 fi
   4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4429 $as_echo "$ac_cv_path_EGREP" >&6; }
   4430  EGREP="$ac_cv_path_EGREP"
   4431 
   4432 
   4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4434 $as_echo_n "checking for ANSI C header files... " >&6; }
   4435 if ${ac_cv_header_stdc+:} false; then :
   4436   $as_echo_n "(cached) " >&6
   4437 else
   4438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4439 /* end confdefs.h.  */
   4440 #include <stdlib.h>
   4441 #include <stdarg.h>
   4442 #include <string.h>
   4443 #include <float.h>
   4444 
   4445 int
   4446 main ()
   4447 {
   4448 
   4449   ;
   4450   return 0;
   4451 }
   4452 _ACEOF
   4453 if ac_fn_c_try_compile "$LINENO"; then :
   4454   ac_cv_header_stdc=yes
   4455 else
   4456   ac_cv_header_stdc=no
   4457 fi
   4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4459 
   4460 if test $ac_cv_header_stdc = yes; then
   4461   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4463 /* end confdefs.h.  */
   4464 #include <string.h>
   4465 
   4466 _ACEOF
   4467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4468   $EGREP "memchr" >/dev/null 2>&1; then :
   4469 
   4470 else
   4471   ac_cv_header_stdc=no
   4472 fi
   4473 rm -f conftest*
   4474 
   4475 fi
   4476 
   4477 if test $ac_cv_header_stdc = yes; then
   4478   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4480 /* end confdefs.h.  */
   4481 #include <stdlib.h>
   4482 
   4483 _ACEOF
   4484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4485   $EGREP "free" >/dev/null 2>&1; then :
   4486 
   4487 else
   4488   ac_cv_header_stdc=no
   4489 fi
   4490 rm -f conftest*
   4491 
   4492 fi
   4493 
   4494 if test $ac_cv_header_stdc = yes; then
   4495   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4496   if test "$cross_compiling" = yes; then :
   4497   :
   4498 else
   4499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4500 /* end confdefs.h.  */
   4501 #include <ctype.h>
   4502 #include <stdlib.h>
   4503 #if ((' ' & 0x0FF) == 0x020)
   4504 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4505 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4506 #else
   4507 # define ISLOWER(c) \
   4508 		   (('a' <= (c) && (c) <= 'i') \
   4509 		     || ('j' <= (c) && (c) <= 'r') \
   4510 		     || ('s' <= (c) && (c) <= 'z'))
   4511 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4512 #endif
   4513 
   4514 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4515 int
   4516 main ()
   4517 {
   4518   int i;
   4519   for (i = 0; i < 256; i++)
   4520     if (XOR (islower (i), ISLOWER (i))
   4521 	|| toupper (i) != TOUPPER (i))
   4522       return 2;
   4523   return 0;
   4524 }
   4525 _ACEOF
   4526 if ac_fn_c_try_run "$LINENO"; then :
   4527 
   4528 else
   4529   ac_cv_header_stdc=no
   4530 fi
   4531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4532   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4533 fi
   4534 
   4535 fi
   4536 fi
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4538 $as_echo "$ac_cv_header_stdc" >&6; }
   4539 if test $ac_cv_header_stdc = yes; then
   4540 
   4541 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4542 
   4543 fi
   4544 
   4545 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4546 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4547 		  inttypes.h stdint.h unistd.h
   4548 do :
   4549   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4550 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4551 "
   4552 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4553   cat >>confdefs.h <<_ACEOF
   4554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4555 _ACEOF
   4556 
   4557 fi
   4558 
   4559 done
   4560 
   4561 
   4562 
   4563 
   4564 
   4565 
   4566 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4567 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4568   CLANGCC="yes"
   4569 else
   4570   CLANGCC="no"
   4571 fi
   4572 
   4573 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4574 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4575   INTELCC="yes"
   4576 else
   4577   INTELCC="no"
   4578 fi
   4579 
   4580 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4581 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4582   SUNCC="yes"
   4583 else
   4584   SUNCC="no"
   4585 fi
   4586 
   4587 
   4588 
   4589 
   4590 
   4591 
   4592 
   4593 
   4594 
   4595 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4596 	if test -n "$ac_tool_prefix"; then
   4597   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4598 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4600 $as_echo_n "checking for $ac_word... " >&6; }
   4601 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4602   $as_echo_n "(cached) " >&6
   4603 else
   4604   case $PKG_CONFIG in
   4605   [\\/]* | ?:[\\/]*)
   4606   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4607   ;;
   4608   *)
   4609   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4610 for as_dir in $PATH
   4611 do
   4612   IFS=$as_save_IFS
   4613   test -z "$as_dir" && as_dir=.
   4614     for ac_exec_ext in '' $ac_executable_extensions; do
   4615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4616     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4618     break 2
   4619   fi
   4620 done
   4621   done
   4622 IFS=$as_save_IFS
   4623 
   4624   ;;
   4625 esac
   4626 fi
   4627 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4628 if test -n "$PKG_CONFIG"; then
   4629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4630 $as_echo "$PKG_CONFIG" >&6; }
   4631 else
   4632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4633 $as_echo "no" >&6; }
   4634 fi
   4635 
   4636 
   4637 fi
   4638 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4639   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4640   # Extract the first word of "pkg-config", so it can be a program name with args.
   4641 set dummy pkg-config; ac_word=$2
   4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4643 $as_echo_n "checking for $ac_word... " >&6; }
   4644 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4645   $as_echo_n "(cached) " >&6
   4646 else
   4647   case $ac_pt_PKG_CONFIG in
   4648   [\\/]* | ?:[\\/]*)
   4649   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4650   ;;
   4651   *)
   4652   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4653 for as_dir in $PATH
   4654 do
   4655   IFS=$as_save_IFS
   4656   test -z "$as_dir" && as_dir=.
   4657     for ac_exec_ext in '' $ac_executable_extensions; do
   4658   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4659     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4660     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4661     break 2
   4662   fi
   4663 done
   4664   done
   4665 IFS=$as_save_IFS
   4666 
   4667   ;;
   4668 esac
   4669 fi
   4670 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4671 if test -n "$ac_pt_PKG_CONFIG"; then
   4672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4673 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4674 else
   4675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4676 $as_echo "no" >&6; }
   4677 fi
   4678 
   4679   if test "x$ac_pt_PKG_CONFIG" = x; then
   4680     PKG_CONFIG=""
   4681   else
   4682     case $cross_compiling:$ac_tool_warned in
   4683 yes:)
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4686 ac_tool_warned=yes ;;
   4687 esac
   4688     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4689   fi
   4690 else
   4691   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4692 fi
   4693 
   4694 fi
   4695 if test -n "$PKG_CONFIG"; then
   4696 	_pkg_min_version=0.9.0
   4697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4698 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4699 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4701 $as_echo "yes" >&6; }
   4702 	else
   4703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4704 $as_echo "no" >&6; }
   4705 		PKG_CONFIG=""
   4706 	fi
   4707 fi
   4708 # Make sure we can run config.sub.
   4709 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4710   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4711 
   4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4713 $as_echo_n "checking build system type... " >&6; }
   4714 if ${ac_cv_build+:} false; then :
   4715   $as_echo_n "(cached) " >&6
   4716 else
   4717   ac_build_alias=$build_alias
   4718 test "x$ac_build_alias" = x &&
   4719   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4720 test "x$ac_build_alias" = x &&
   4721   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4722 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4723   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4724 
   4725 fi
   4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4727 $as_echo "$ac_cv_build" >&6; }
   4728 case $ac_cv_build in
   4729 *-*-*) ;;
   4730 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4731 esac
   4732 build=$ac_cv_build
   4733 ac_save_IFS=$IFS; IFS='-'
   4734 set x $ac_cv_build
   4735 shift
   4736 build_cpu=$1
   4737 build_vendor=$2
   4738 shift; shift
   4739 # Remember, the first character of IFS is used to create $*,
   4740 # except with old shells:
   4741 build_os=$*
   4742 IFS=$ac_save_IFS
   4743 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4744 
   4745 
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4747 $as_echo_n "checking host system type... " >&6; }
   4748 if ${ac_cv_host+:} false; then :
   4749   $as_echo_n "(cached) " >&6
   4750 else
   4751   if test "x$host_alias" = x; then
   4752   ac_cv_host=$ac_cv_build
   4753 else
   4754   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4755     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4756 fi
   4757 
   4758 fi
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4760 $as_echo "$ac_cv_host" >&6; }
   4761 case $ac_cv_host in
   4762 *-*-*) ;;
   4763 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4764 esac
   4765 host=$ac_cv_host
   4766 ac_save_IFS=$IFS; IFS='-'
   4767 set x $ac_cv_host
   4768 shift
   4769 host_cpu=$1
   4770 host_vendor=$2
   4771 shift; shift
   4772 # Remember, the first character of IFS is used to create $*,
   4773 # except with old shells:
   4774 host_os=$*
   4775 IFS=$ac_save_IFS
   4776 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4777 
   4778 
   4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4780 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4781 if ${ac_cv_path_SED+:} false; then :
   4782   $as_echo_n "(cached) " >&6
   4783 else
   4784             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4785      for ac_i in 1 2 3 4 5 6 7; do
   4786        ac_script="$ac_script$as_nl$ac_script"
   4787      done
   4788      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4789      { ac_script=; unset ac_script;}
   4790      if test -z "$SED"; then
   4791   ac_path_SED_found=false
   4792   # Loop through the user's path and test for each of PROGNAME-LIST
   4793   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4794 for as_dir in $PATH
   4795 do
   4796   IFS=$as_save_IFS
   4797   test -z "$as_dir" && as_dir=.
   4798     for ac_prog in sed gsed; do
   4799     for ac_exec_ext in '' $ac_executable_extensions; do
   4800       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4801       as_fn_executable_p "$ac_path_SED" || continue
   4802 # Check for GNU ac_path_SED and select it if it is found.
   4803   # Check for GNU $ac_path_SED
   4804 case `"$ac_path_SED" --version 2>&1` in
   4805 *GNU*)
   4806   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4807 *)
   4808   ac_count=0
   4809   $as_echo_n 0123456789 >"conftest.in"
   4810   while :
   4811   do
   4812     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4813     mv "conftest.tmp" "conftest.in"
   4814     cp "conftest.in" "conftest.nl"
   4815     $as_echo '' >> "conftest.nl"
   4816     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4817     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4818     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4819     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4820       # Best one so far, save it but keep looking for a better one
   4821       ac_cv_path_SED="$ac_path_SED"
   4822       ac_path_SED_max=$ac_count
   4823     fi
   4824     # 10*(2^10) chars as input seems more than enough
   4825     test $ac_count -gt 10 && break
   4826   done
   4827   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4828 esac
   4829 
   4830       $ac_path_SED_found && break 3
   4831     done
   4832   done
   4833   done
   4834 IFS=$as_save_IFS
   4835   if test -z "$ac_cv_path_SED"; then
   4836     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4837   fi
   4838 else
   4839   ac_cv_path_SED=$SED
   4840 fi
   4841 
   4842 fi
   4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4844 $as_echo "$ac_cv_path_SED" >&6; }
   4845  SED="$ac_cv_path_SED"
   4846   rm -f conftest.sed
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 # Check whether --enable-selective-werror was given.
   4854 if test "${enable_selective_werror+set}" = set; then :
   4855   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4856 else
   4857   SELECTIVE_WERROR=yes
   4858 fi
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4865 if test "x$SUNCC" = "xyes"; then
   4866     BASE_CFLAGS="-v"
   4867 else
   4868     BASE_CFLAGS=""
   4869 fi
   4870 
   4871 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 xorg_testset_save_CFLAGS="$CFLAGS"
   4886 
   4887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4892   $as_echo_n "(cached) " >&6
   4893 else
   4894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4895 /* end confdefs.h.  */
   4896 int i;
   4897 _ACEOF
   4898 if ac_fn_c_try_compile "$LINENO"; then :
   4899   xorg_cv_cc_flag_unknown_warning_option=yes
   4900 else
   4901   xorg_cv_cc_flag_unknown_warning_option=no
   4902 fi
   4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4904 fi
   4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4908 	CFLAGS="$xorg_testset_save_CFLAGS"
   4909 fi
   4910 
   4911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4914 	fi
   4915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4919   $as_echo_n "(cached) " >&6
   4920 else
   4921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4922 /* end confdefs.h.  */
   4923 int i;
   4924 _ACEOF
   4925 if ac_fn_c_try_compile "$LINENO"; then :
   4926   xorg_cv_cc_flag_unused_command_line_argument=yes
   4927 else
   4928   xorg_cv_cc_flag_unused_command_line_argument=no
   4929 fi
   4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4931 fi
   4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4935 	CFLAGS="$xorg_testset_save_CFLAGS"
   4936 fi
   4937 
   4938 found="no"
   4939 
   4940 	if test $found = "no" ; then
   4941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4943 		fi
   4944 
   4945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4947 		fi
   4948 
   4949 		CFLAGS="$CFLAGS -Wall"
   4950 
   4951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4952 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4953 		cacheid=xorg_cv_cc_flag__Wall
   4954 		if eval \${$cacheid+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4958 /* end confdefs.h.  */
   4959 int i;
   4960 int
   4961 main ()
   4962 {
   4963 
   4964   ;
   4965   return 0;
   4966 }
   4967 _ACEOF
   4968 if ac_fn_c_try_link "$LINENO"; then :
   4969   eval $cacheid=yes
   4970 else
   4971   eval $cacheid=no
   4972 fi
   4973 rm -f core conftest.err conftest.$ac_objext \
   4974     conftest$ac_exeext conftest.$ac_ext
   4975 fi
   4976 
   4977 
   4978 		CFLAGS="$xorg_testset_save_CFLAGS"
   4979 
   4980 		eval supported=\$$cacheid
   4981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4982 $as_echo "$supported" >&6; }
   4983 		if test "$supported" = "yes" ; then
   4984 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4985 			found="yes"
   4986 		fi
   4987 	fi
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 xorg_testset_save_CFLAGS="$CFLAGS"
   5004 
   5005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5010   $as_echo_n "(cached) " >&6
   5011 else
   5012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5013 /* end confdefs.h.  */
   5014 int i;
   5015 _ACEOF
   5016 if ac_fn_c_try_compile "$LINENO"; then :
   5017   xorg_cv_cc_flag_unknown_warning_option=yes
   5018 else
   5019   xorg_cv_cc_flag_unknown_warning_option=no
   5020 fi
   5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5022 fi
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5026 	CFLAGS="$xorg_testset_save_CFLAGS"
   5027 fi
   5028 
   5029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5032 	fi
   5033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5037   $as_echo_n "(cached) " >&6
   5038 else
   5039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5040 /* end confdefs.h.  */
   5041 int i;
   5042 _ACEOF
   5043 if ac_fn_c_try_compile "$LINENO"; then :
   5044   xorg_cv_cc_flag_unused_command_line_argument=yes
   5045 else
   5046   xorg_cv_cc_flag_unused_command_line_argument=no
   5047 fi
   5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5049 fi
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5053 	CFLAGS="$xorg_testset_save_CFLAGS"
   5054 fi
   5055 
   5056 found="no"
   5057 
   5058 	if test $found = "no" ; then
   5059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5061 		fi
   5062 
   5063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5065 		fi
   5066 
   5067 		CFLAGS="$CFLAGS -Wpointer-arith"
   5068 
   5069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5070 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5071 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5072 		if eval \${$cacheid+:} false; then :
   5073   $as_echo_n "(cached) " >&6
   5074 else
   5075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5076 /* end confdefs.h.  */
   5077 int i;
   5078 int
   5079 main ()
   5080 {
   5081 
   5082   ;
   5083   return 0;
   5084 }
   5085 _ACEOF
   5086 if ac_fn_c_try_link "$LINENO"; then :
   5087   eval $cacheid=yes
   5088 else
   5089   eval $cacheid=no
   5090 fi
   5091 rm -f core conftest.err conftest.$ac_objext \
   5092     conftest$ac_exeext conftest.$ac_ext
   5093 fi
   5094 
   5095 
   5096 		CFLAGS="$xorg_testset_save_CFLAGS"
   5097 
   5098 		eval supported=\$$cacheid
   5099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5100 $as_echo "$supported" >&6; }
   5101 		if test "$supported" = "yes" ; then
   5102 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5103 			found="yes"
   5104 		fi
   5105 	fi
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 xorg_testset_save_CFLAGS="$CFLAGS"
   5122 
   5123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5128   $as_echo_n "(cached) " >&6
   5129 else
   5130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5131 /* end confdefs.h.  */
   5132 int i;
   5133 _ACEOF
   5134 if ac_fn_c_try_compile "$LINENO"; then :
   5135   xorg_cv_cc_flag_unknown_warning_option=yes
   5136 else
   5137   xorg_cv_cc_flag_unknown_warning_option=no
   5138 fi
   5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5140 fi
   5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5144 	CFLAGS="$xorg_testset_save_CFLAGS"
   5145 fi
   5146 
   5147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5150 	fi
   5151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5155   $as_echo_n "(cached) " >&6
   5156 else
   5157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5158 /* end confdefs.h.  */
   5159 int i;
   5160 _ACEOF
   5161 if ac_fn_c_try_compile "$LINENO"; then :
   5162   xorg_cv_cc_flag_unused_command_line_argument=yes
   5163 else
   5164   xorg_cv_cc_flag_unused_command_line_argument=no
   5165 fi
   5166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5167 fi
   5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5171 	CFLAGS="$xorg_testset_save_CFLAGS"
   5172 fi
   5173 
   5174 found="no"
   5175 
   5176 	if test $found = "no" ; then
   5177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5179 		fi
   5180 
   5181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5183 		fi
   5184 
   5185 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5186 
   5187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5188 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5189 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5190 		if eval \${$cacheid+:} false; then :
   5191   $as_echo_n "(cached) " >&6
   5192 else
   5193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5194 /* end confdefs.h.  */
   5195 int i;
   5196 int
   5197 main ()
   5198 {
   5199 
   5200   ;
   5201   return 0;
   5202 }
   5203 _ACEOF
   5204 if ac_fn_c_try_link "$LINENO"; then :
   5205   eval $cacheid=yes
   5206 else
   5207   eval $cacheid=no
   5208 fi
   5209 rm -f core conftest.err conftest.$ac_objext \
   5210     conftest$ac_exeext conftest.$ac_ext
   5211 fi
   5212 
   5213 
   5214 		CFLAGS="$xorg_testset_save_CFLAGS"
   5215 
   5216 		eval supported=\$$cacheid
   5217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5218 $as_echo "$supported" >&6; }
   5219 		if test "$supported" = "yes" ; then
   5220 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5221 			found="yes"
   5222 		fi
   5223 	fi
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 xorg_testset_save_CFLAGS="$CFLAGS"
   5240 
   5241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5245 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5246   $as_echo_n "(cached) " >&6
   5247 else
   5248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5249 /* end confdefs.h.  */
   5250 int i;
   5251 _ACEOF
   5252 if ac_fn_c_try_compile "$LINENO"; then :
   5253   xorg_cv_cc_flag_unknown_warning_option=yes
   5254 else
   5255   xorg_cv_cc_flag_unknown_warning_option=no
   5256 fi
   5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5258 fi
   5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5262 	CFLAGS="$xorg_testset_save_CFLAGS"
   5263 fi
   5264 
   5265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5268 	fi
   5269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5273   $as_echo_n "(cached) " >&6
   5274 else
   5275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5276 /* end confdefs.h.  */
   5277 int i;
   5278 _ACEOF
   5279 if ac_fn_c_try_compile "$LINENO"; then :
   5280   xorg_cv_cc_flag_unused_command_line_argument=yes
   5281 else
   5282   xorg_cv_cc_flag_unused_command_line_argument=no
   5283 fi
   5284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5285 fi
   5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5289 	CFLAGS="$xorg_testset_save_CFLAGS"
   5290 fi
   5291 
   5292 found="no"
   5293 
   5294 	if test $found = "no" ; then
   5295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5297 		fi
   5298 
   5299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5301 		fi
   5302 
   5303 		CFLAGS="$CFLAGS -Wformat=2"
   5304 
   5305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5306 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5307 		cacheid=xorg_cv_cc_flag__Wformat_2
   5308 		if eval \${$cacheid+:} false; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5312 /* end confdefs.h.  */
   5313 int i;
   5314 int
   5315 main ()
   5316 {
   5317 
   5318   ;
   5319   return 0;
   5320 }
   5321 _ACEOF
   5322 if ac_fn_c_try_link "$LINENO"; then :
   5323   eval $cacheid=yes
   5324 else
   5325   eval $cacheid=no
   5326 fi
   5327 rm -f core conftest.err conftest.$ac_objext \
   5328     conftest$ac_exeext conftest.$ac_ext
   5329 fi
   5330 
   5331 
   5332 		CFLAGS="$xorg_testset_save_CFLAGS"
   5333 
   5334 		eval supported=\$$cacheid
   5335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5336 $as_echo "$supported" >&6; }
   5337 		if test "$supported" = "yes" ; then
   5338 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5339 			found="yes"
   5340 		fi
   5341 	fi
   5342 
   5343 	if test $found = "no" ; then
   5344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5346 		fi
   5347 
   5348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5350 		fi
   5351 
   5352 		CFLAGS="$CFLAGS -Wformat"
   5353 
   5354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5355 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5356 		cacheid=xorg_cv_cc_flag__Wformat
   5357 		if eval \${$cacheid+:} false; then :
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5361 /* end confdefs.h.  */
   5362 int i;
   5363 int
   5364 main ()
   5365 {
   5366 
   5367   ;
   5368   return 0;
   5369 }
   5370 _ACEOF
   5371 if ac_fn_c_try_link "$LINENO"; then :
   5372   eval $cacheid=yes
   5373 else
   5374   eval $cacheid=no
   5375 fi
   5376 rm -f core conftest.err conftest.$ac_objext \
   5377     conftest$ac_exeext conftest.$ac_ext
   5378 fi
   5379 
   5380 
   5381 		CFLAGS="$xorg_testset_save_CFLAGS"
   5382 
   5383 		eval supported=\$$cacheid
   5384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5385 $as_echo "$supported" >&6; }
   5386 		if test "$supported" = "yes" ; then
   5387 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5388 			found="yes"
   5389 		fi
   5390 	fi
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 xorg_testset_save_CFLAGS="$CFLAGS"
   5409 
   5410 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5411 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5413 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5414 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5415   $as_echo_n "(cached) " >&6
   5416 else
   5417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5418 /* end confdefs.h.  */
   5419 int i;
   5420 _ACEOF
   5421 if ac_fn_c_try_compile "$LINENO"; then :
   5422   xorg_cv_cc_flag_unknown_warning_option=yes
   5423 else
   5424   xorg_cv_cc_flag_unknown_warning_option=no
   5425 fi
   5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5427 fi
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5429 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5431 	CFLAGS="$xorg_testset_save_CFLAGS"
   5432 fi
   5433 
   5434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 	fi
   5438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5440 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5441 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5442   $as_echo_n "(cached) " >&6
   5443 else
   5444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5445 /* end confdefs.h.  */
   5446 int i;
   5447 _ACEOF
   5448 if ac_fn_c_try_compile "$LINENO"; then :
   5449   xorg_cv_cc_flag_unused_command_line_argument=yes
   5450 else
   5451   xorg_cv_cc_flag_unused_command_line_argument=no
   5452 fi
   5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5454 fi
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5456 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5458 	CFLAGS="$xorg_testset_save_CFLAGS"
   5459 fi
   5460 
   5461 found="no"
   5462 
   5463 	if test $found = "no" ; then
   5464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5466 		fi
   5467 
   5468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5470 		fi
   5471 
   5472 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5473 
   5474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5475 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5476 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5477 		if eval \${$cacheid+:} false; then :
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5481 /* end confdefs.h.  */
   5482 int i;
   5483 int
   5484 main ()
   5485 {
   5486 
   5487   ;
   5488   return 0;
   5489 }
   5490 _ACEOF
   5491 if ac_fn_c_try_link "$LINENO"; then :
   5492   eval $cacheid=yes
   5493 else
   5494   eval $cacheid=no
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext \
   5497     conftest$ac_exeext conftest.$ac_ext
   5498 fi
   5499 
   5500 
   5501 		CFLAGS="$xorg_testset_save_CFLAGS"
   5502 
   5503 		eval supported=\$$cacheid
   5504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5505 $as_echo "$supported" >&6; }
   5506 		if test "$supported" = "yes" ; then
   5507 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5508 			found="yes"
   5509 		fi
   5510 	fi
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 xorg_testset_save_CFLAGS="$CFLAGS"
   5527 
   5528 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5529 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5531 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5532 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5533   $as_echo_n "(cached) " >&6
   5534 else
   5535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5536 /* end confdefs.h.  */
   5537 int i;
   5538 _ACEOF
   5539 if ac_fn_c_try_compile "$LINENO"; then :
   5540   xorg_cv_cc_flag_unknown_warning_option=yes
   5541 else
   5542   xorg_cv_cc_flag_unknown_warning_option=no
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5545 fi
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5547 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5549 	CFLAGS="$xorg_testset_save_CFLAGS"
   5550 fi
   5551 
   5552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 	fi
   5556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5558 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5559 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5563 /* end confdefs.h.  */
   5564 int i;
   5565 _ACEOF
   5566 if ac_fn_c_try_compile "$LINENO"; then :
   5567   xorg_cv_cc_flag_unused_command_line_argument=yes
   5568 else
   5569   xorg_cv_cc_flag_unused_command_line_argument=no
   5570 fi
   5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5572 fi
   5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5574 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5576 	CFLAGS="$xorg_testset_save_CFLAGS"
   5577 fi
   5578 
   5579 found="no"
   5580 
   5581 	if test $found = "no" ; then
   5582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5584 		fi
   5585 
   5586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5588 		fi
   5589 
   5590 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5591 
   5592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5593 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5594 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5595 		if eval \${$cacheid+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5599 /* end confdefs.h.  */
   5600 int i;
   5601 int
   5602 main ()
   5603 {
   5604 
   5605   ;
   5606   return 0;
   5607 }
   5608 _ACEOF
   5609 if ac_fn_c_try_link "$LINENO"; then :
   5610   eval $cacheid=yes
   5611 else
   5612   eval $cacheid=no
   5613 fi
   5614 rm -f core conftest.err conftest.$ac_objext \
   5615     conftest$ac_exeext conftest.$ac_ext
   5616 fi
   5617 
   5618 
   5619 		CFLAGS="$xorg_testset_save_CFLAGS"
   5620 
   5621 		eval supported=\$$cacheid
   5622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5623 $as_echo "$supported" >&6; }
   5624 		if test "$supported" = "yes" ; then
   5625 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5626 			found="yes"
   5627 		fi
   5628 	fi
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 xorg_testset_save_CFLAGS="$CFLAGS"
   5645 
   5646 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5647 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5649 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5650 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5651   $as_echo_n "(cached) " >&6
   5652 else
   5653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5654 /* end confdefs.h.  */
   5655 int i;
   5656 _ACEOF
   5657 if ac_fn_c_try_compile "$LINENO"; then :
   5658   xorg_cv_cc_flag_unknown_warning_option=yes
   5659 else
   5660   xorg_cv_cc_flag_unknown_warning_option=no
   5661 fi
   5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5663 fi
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5665 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5667 	CFLAGS="$xorg_testset_save_CFLAGS"
   5668 fi
   5669 
   5670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 	fi
   5674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5676 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5677 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5678   $as_echo_n "(cached) " >&6
   5679 else
   5680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5681 /* end confdefs.h.  */
   5682 int i;
   5683 _ACEOF
   5684 if ac_fn_c_try_compile "$LINENO"; then :
   5685   xorg_cv_cc_flag_unused_command_line_argument=yes
   5686 else
   5687   xorg_cv_cc_flag_unused_command_line_argument=no
   5688 fi
   5689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5690 fi
   5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5692 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5694 	CFLAGS="$xorg_testset_save_CFLAGS"
   5695 fi
   5696 
   5697 found="no"
   5698 
   5699 	if test $found = "no" ; then
   5700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5702 		fi
   5703 
   5704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5706 		fi
   5707 
   5708 		CFLAGS="$CFLAGS -Wnested-externs"
   5709 
   5710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5711 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5712 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5713 		if eval \${$cacheid+:} false; then :
   5714   $as_echo_n "(cached) " >&6
   5715 else
   5716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5717 /* end confdefs.h.  */
   5718 int i;
   5719 int
   5720 main ()
   5721 {
   5722 
   5723   ;
   5724   return 0;
   5725 }
   5726 _ACEOF
   5727 if ac_fn_c_try_link "$LINENO"; then :
   5728   eval $cacheid=yes
   5729 else
   5730   eval $cacheid=no
   5731 fi
   5732 rm -f core conftest.err conftest.$ac_objext \
   5733     conftest$ac_exeext conftest.$ac_ext
   5734 fi
   5735 
   5736 
   5737 		CFLAGS="$xorg_testset_save_CFLAGS"
   5738 
   5739 		eval supported=\$$cacheid
   5740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5741 $as_echo "$supported" >&6; }
   5742 		if test "$supported" = "yes" ; then
   5743 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5744 			found="yes"
   5745 		fi
   5746 	fi
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 xorg_testset_save_CFLAGS="$CFLAGS"
   5763 
   5764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5767 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5768 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5769   $as_echo_n "(cached) " >&6
   5770 else
   5771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5772 /* end confdefs.h.  */
   5773 int i;
   5774 _ACEOF
   5775 if ac_fn_c_try_compile "$LINENO"; then :
   5776   xorg_cv_cc_flag_unknown_warning_option=yes
   5777 else
   5778   xorg_cv_cc_flag_unknown_warning_option=no
   5779 fi
   5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5781 fi
   5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5783 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5785 	CFLAGS="$xorg_testset_save_CFLAGS"
   5786 fi
   5787 
   5788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5791 	fi
   5792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5794 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5795 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5796   $as_echo_n "(cached) " >&6
   5797 else
   5798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5799 /* end confdefs.h.  */
   5800 int i;
   5801 _ACEOF
   5802 if ac_fn_c_try_compile "$LINENO"; then :
   5803   xorg_cv_cc_flag_unused_command_line_argument=yes
   5804 else
   5805   xorg_cv_cc_flag_unused_command_line_argument=no
   5806 fi
   5807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5808 fi
   5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5810 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5812 	CFLAGS="$xorg_testset_save_CFLAGS"
   5813 fi
   5814 
   5815 found="no"
   5816 
   5817 	if test $found = "no" ; then
   5818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5820 		fi
   5821 
   5822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5824 		fi
   5825 
   5826 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5827 
   5828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5829 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5830 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5831 		if eval \${$cacheid+:} false; then :
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5835 /* end confdefs.h.  */
   5836 int i;
   5837 int
   5838 main ()
   5839 {
   5840 
   5841   ;
   5842   return 0;
   5843 }
   5844 _ACEOF
   5845 if ac_fn_c_try_link "$LINENO"; then :
   5846   eval $cacheid=yes
   5847 else
   5848   eval $cacheid=no
   5849 fi
   5850 rm -f core conftest.err conftest.$ac_objext \
   5851     conftest$ac_exeext conftest.$ac_ext
   5852 fi
   5853 
   5854 
   5855 		CFLAGS="$xorg_testset_save_CFLAGS"
   5856 
   5857 		eval supported=\$$cacheid
   5858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5859 $as_echo "$supported" >&6; }
   5860 		if test "$supported" = "yes" ; then
   5861 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5862 			found="yes"
   5863 		fi
   5864 	fi
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 xorg_testset_save_CFLAGS="$CFLAGS"
   5881 
   5882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5885 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5886 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5887   $as_echo_n "(cached) " >&6
   5888 else
   5889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5890 /* end confdefs.h.  */
   5891 int i;
   5892 _ACEOF
   5893 if ac_fn_c_try_compile "$LINENO"; then :
   5894   xorg_cv_cc_flag_unknown_warning_option=yes
   5895 else
   5896   xorg_cv_cc_flag_unknown_warning_option=no
   5897 fi
   5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5899 fi
   5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5901 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5902 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5903 	CFLAGS="$xorg_testset_save_CFLAGS"
   5904 fi
   5905 
   5906 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5907 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5909 	fi
   5910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5912 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5913 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5914   $as_echo_n "(cached) " >&6
   5915 else
   5916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5917 /* end confdefs.h.  */
   5918 int i;
   5919 _ACEOF
   5920 if ac_fn_c_try_compile "$LINENO"; then :
   5921   xorg_cv_cc_flag_unused_command_line_argument=yes
   5922 else
   5923   xorg_cv_cc_flag_unused_command_line_argument=no
   5924 fi
   5925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5926 fi
   5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5928 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5929 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5930 	CFLAGS="$xorg_testset_save_CFLAGS"
   5931 fi
   5932 
   5933 found="no"
   5934 
   5935 	if test $found = "no" ; then
   5936 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5938 		fi
   5939 
   5940 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5942 		fi
   5943 
   5944 		CFLAGS="$CFLAGS -Wold-style-definition"
   5945 
   5946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5947 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5948 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5949 		if eval \${$cacheid+:} false; then :
   5950   $as_echo_n "(cached) " >&6
   5951 else
   5952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5953 /* end confdefs.h.  */
   5954 int i;
   5955 int
   5956 main ()
   5957 {
   5958 
   5959   ;
   5960   return 0;
   5961 }
   5962 _ACEOF
   5963 if ac_fn_c_try_link "$LINENO"; then :
   5964   eval $cacheid=yes
   5965 else
   5966   eval $cacheid=no
   5967 fi
   5968 rm -f core conftest.err conftest.$ac_objext \
   5969     conftest$ac_exeext conftest.$ac_ext
   5970 fi
   5971 
   5972 
   5973 		CFLAGS="$xorg_testset_save_CFLAGS"
   5974 
   5975 		eval supported=\$$cacheid
   5976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5977 $as_echo "$supported" >&6; }
   5978 		if test "$supported" = "yes" ; then
   5979 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5980 			found="yes"
   5981 		fi
   5982 	fi
   5983 
   5984 	if test $found = "no" ; then
   5985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5987 		fi
   5988 
   5989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5991 		fi
   5992 
   5993 		CFLAGS="$CFLAGS -fd"
   5994 
   5995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5996 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5997 		cacheid=xorg_cv_cc_flag__fd
   5998 		if eval \${$cacheid+:} false; then :
   5999   $as_echo_n "(cached) " >&6
   6000 else
   6001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6002 /* end confdefs.h.  */
   6003 int i;
   6004 int
   6005 main ()
   6006 {
   6007 
   6008   ;
   6009   return 0;
   6010 }
   6011 _ACEOF
   6012 if ac_fn_c_try_link "$LINENO"; then :
   6013   eval $cacheid=yes
   6014 else
   6015   eval $cacheid=no
   6016 fi
   6017 rm -f core conftest.err conftest.$ac_objext \
   6018     conftest$ac_exeext conftest.$ac_ext
   6019 fi
   6020 
   6021 
   6022 		CFLAGS="$xorg_testset_save_CFLAGS"
   6023 
   6024 		eval supported=\$$cacheid
   6025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6026 $as_echo "$supported" >&6; }
   6027 		if test "$supported" = "yes" ; then
   6028 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6029 			found="yes"
   6030 		fi
   6031 	fi
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 xorg_testset_save_CFLAGS="$CFLAGS"
   6048 
   6049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6052 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6053 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6054   $as_echo_n "(cached) " >&6
   6055 else
   6056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6057 /* end confdefs.h.  */
   6058 int i;
   6059 _ACEOF
   6060 if ac_fn_c_try_compile "$LINENO"; then :
   6061   xorg_cv_cc_flag_unknown_warning_option=yes
   6062 else
   6063   xorg_cv_cc_flag_unknown_warning_option=no
   6064 fi
   6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6066 fi
   6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6068 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6070 	CFLAGS="$xorg_testset_save_CFLAGS"
   6071 fi
   6072 
   6073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6076 	fi
   6077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6079 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6080 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6081   $as_echo_n "(cached) " >&6
   6082 else
   6083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6084 /* end confdefs.h.  */
   6085 int i;
   6086 _ACEOF
   6087 if ac_fn_c_try_compile "$LINENO"; then :
   6088   xorg_cv_cc_flag_unused_command_line_argument=yes
   6089 else
   6090   xorg_cv_cc_flag_unused_command_line_argument=no
   6091 fi
   6092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6093 fi
   6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6095 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6096 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6097 	CFLAGS="$xorg_testset_save_CFLAGS"
   6098 fi
   6099 
   6100 found="no"
   6101 
   6102 	if test $found = "no" ; then
   6103 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6105 		fi
   6106 
   6107 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6109 		fi
   6110 
   6111 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6112 
   6113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6114 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6115 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6116 		if eval \${$cacheid+:} false; then :
   6117   $as_echo_n "(cached) " >&6
   6118 else
   6119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 int i;
   6122 int
   6123 main ()
   6124 {
   6125 
   6126   ;
   6127   return 0;
   6128 }
   6129 _ACEOF
   6130 if ac_fn_c_try_link "$LINENO"; then :
   6131   eval $cacheid=yes
   6132 else
   6133   eval $cacheid=no
   6134 fi
   6135 rm -f core conftest.err conftest.$ac_objext \
   6136     conftest$ac_exeext conftest.$ac_ext
   6137 fi
   6138 
   6139 
   6140 		CFLAGS="$xorg_testset_save_CFLAGS"
   6141 
   6142 		eval supported=\$$cacheid
   6143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6144 $as_echo "$supported" >&6; }
   6145 		if test "$supported" = "yes" ; then
   6146 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6147 			found="yes"
   6148 		fi
   6149 	fi
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 # This chunk adds additional warnings that could catch undesired effects.
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 xorg_testset_save_CFLAGS="$CFLAGS"
   6170 
   6171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6173 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6174 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6175 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6176   $as_echo_n "(cached) " >&6
   6177 else
   6178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6179 /* end confdefs.h.  */
   6180 int i;
   6181 _ACEOF
   6182 if ac_fn_c_try_compile "$LINENO"; then :
   6183   xorg_cv_cc_flag_unknown_warning_option=yes
   6184 else
   6185   xorg_cv_cc_flag_unknown_warning_option=no
   6186 fi
   6187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6188 fi
   6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6190 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6191 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6192 	CFLAGS="$xorg_testset_save_CFLAGS"
   6193 fi
   6194 
   6195 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6196 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6197 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6198 	fi
   6199 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6200 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6201 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6202 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6203   $as_echo_n "(cached) " >&6
   6204 else
   6205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6206 /* end confdefs.h.  */
   6207 int i;
   6208 _ACEOF
   6209 if ac_fn_c_try_compile "$LINENO"; then :
   6210   xorg_cv_cc_flag_unused_command_line_argument=yes
   6211 else
   6212   xorg_cv_cc_flag_unused_command_line_argument=no
   6213 fi
   6214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6215 fi
   6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6217 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6219 	CFLAGS="$xorg_testset_save_CFLAGS"
   6220 fi
   6221 
   6222 found="no"
   6223 
   6224 	if test $found = "no" ; then
   6225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6227 		fi
   6228 
   6229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6231 		fi
   6232 
   6233 		CFLAGS="$CFLAGS -Wunused"
   6234 
   6235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6236 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6237 		cacheid=xorg_cv_cc_flag__Wunused
   6238 		if eval \${$cacheid+:} false; then :
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6242 /* end confdefs.h.  */
   6243 int i;
   6244 int
   6245 main ()
   6246 {
   6247 
   6248   ;
   6249   return 0;
   6250 }
   6251 _ACEOF
   6252 if ac_fn_c_try_link "$LINENO"; then :
   6253   eval $cacheid=yes
   6254 else
   6255   eval $cacheid=no
   6256 fi
   6257 rm -f core conftest.err conftest.$ac_objext \
   6258     conftest$ac_exeext conftest.$ac_ext
   6259 fi
   6260 
   6261 
   6262 		CFLAGS="$xorg_testset_save_CFLAGS"
   6263 
   6264 		eval supported=\$$cacheid
   6265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6266 $as_echo "$supported" >&6; }
   6267 		if test "$supported" = "yes" ; then
   6268 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6269 			found="yes"
   6270 		fi
   6271 	fi
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 xorg_testset_save_CFLAGS="$CFLAGS"
   6288 
   6289 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6290 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6291 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6292 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6293 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6294   $as_echo_n "(cached) " >&6
   6295 else
   6296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6297 /* end confdefs.h.  */
   6298 int i;
   6299 _ACEOF
   6300 if ac_fn_c_try_compile "$LINENO"; then :
   6301   xorg_cv_cc_flag_unknown_warning_option=yes
   6302 else
   6303   xorg_cv_cc_flag_unknown_warning_option=no
   6304 fi
   6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6306 fi
   6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6308 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6310 	CFLAGS="$xorg_testset_save_CFLAGS"
   6311 fi
   6312 
   6313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6316 	fi
   6317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6318 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6319 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6320 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6321   $as_echo_n "(cached) " >&6
   6322 else
   6323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6324 /* end confdefs.h.  */
   6325 int i;
   6326 _ACEOF
   6327 if ac_fn_c_try_compile "$LINENO"; then :
   6328   xorg_cv_cc_flag_unused_command_line_argument=yes
   6329 else
   6330   xorg_cv_cc_flag_unused_command_line_argument=no
   6331 fi
   6332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6333 fi
   6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6335 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6337 	CFLAGS="$xorg_testset_save_CFLAGS"
   6338 fi
   6339 
   6340 found="no"
   6341 
   6342 	if test $found = "no" ; then
   6343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6345 		fi
   6346 
   6347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6349 		fi
   6350 
   6351 		CFLAGS="$CFLAGS -Wuninitialized"
   6352 
   6353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6354 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6355 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6356 		if eval \${$cacheid+:} false; then :
   6357   $as_echo_n "(cached) " >&6
   6358 else
   6359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6360 /* end confdefs.h.  */
   6361 int i;
   6362 int
   6363 main ()
   6364 {
   6365 
   6366   ;
   6367   return 0;
   6368 }
   6369 _ACEOF
   6370 if ac_fn_c_try_link "$LINENO"; then :
   6371   eval $cacheid=yes
   6372 else
   6373   eval $cacheid=no
   6374 fi
   6375 rm -f core conftest.err conftest.$ac_objext \
   6376     conftest$ac_exeext conftest.$ac_ext
   6377 fi
   6378 
   6379 
   6380 		CFLAGS="$xorg_testset_save_CFLAGS"
   6381 
   6382 		eval supported=\$$cacheid
   6383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6384 $as_echo "$supported" >&6; }
   6385 		if test "$supported" = "yes" ; then
   6386 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6387 			found="yes"
   6388 		fi
   6389 	fi
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 xorg_testset_save_CFLAGS="$CFLAGS"
   6406 
   6407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6410 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6411 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6412   $as_echo_n "(cached) " >&6
   6413 else
   6414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6415 /* end confdefs.h.  */
   6416 int i;
   6417 _ACEOF
   6418 if ac_fn_c_try_compile "$LINENO"; then :
   6419   xorg_cv_cc_flag_unknown_warning_option=yes
   6420 else
   6421   xorg_cv_cc_flag_unknown_warning_option=no
   6422 fi
   6423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6424 fi
   6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6426 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6427 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6428 	CFLAGS="$xorg_testset_save_CFLAGS"
   6429 fi
   6430 
   6431 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6432 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6433 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6434 	fi
   6435 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6436 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6437 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6438 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6439   $as_echo_n "(cached) " >&6
   6440 else
   6441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6442 /* end confdefs.h.  */
   6443 int i;
   6444 _ACEOF
   6445 if ac_fn_c_try_compile "$LINENO"; then :
   6446   xorg_cv_cc_flag_unused_command_line_argument=yes
   6447 else
   6448   xorg_cv_cc_flag_unused_command_line_argument=no
   6449 fi
   6450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6451 fi
   6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6453 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6455 	CFLAGS="$xorg_testset_save_CFLAGS"
   6456 fi
   6457 
   6458 found="no"
   6459 
   6460 	if test $found = "no" ; then
   6461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6463 		fi
   6464 
   6465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6467 		fi
   6468 
   6469 		CFLAGS="$CFLAGS -Wshadow"
   6470 
   6471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6472 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6473 		cacheid=xorg_cv_cc_flag__Wshadow
   6474 		if eval \${$cacheid+:} false; then :
   6475   $as_echo_n "(cached) " >&6
   6476 else
   6477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6478 /* end confdefs.h.  */
   6479 int i;
   6480 int
   6481 main ()
   6482 {
   6483 
   6484   ;
   6485   return 0;
   6486 }
   6487 _ACEOF
   6488 if ac_fn_c_try_link "$LINENO"; then :
   6489   eval $cacheid=yes
   6490 else
   6491   eval $cacheid=no
   6492 fi
   6493 rm -f core conftest.err conftest.$ac_objext \
   6494     conftest$ac_exeext conftest.$ac_ext
   6495 fi
   6496 
   6497 
   6498 		CFLAGS="$xorg_testset_save_CFLAGS"
   6499 
   6500 		eval supported=\$$cacheid
   6501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6502 $as_echo "$supported" >&6; }
   6503 		if test "$supported" = "yes" ; then
   6504 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6505 			found="yes"
   6506 		fi
   6507 	fi
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 xorg_testset_save_CFLAGS="$CFLAGS"
   6524 
   6525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6528 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6529 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6530   $as_echo_n "(cached) " >&6
   6531 else
   6532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6533 /* end confdefs.h.  */
   6534 int i;
   6535 _ACEOF
   6536 if ac_fn_c_try_compile "$LINENO"; then :
   6537   xorg_cv_cc_flag_unknown_warning_option=yes
   6538 else
   6539   xorg_cv_cc_flag_unknown_warning_option=no
   6540 fi
   6541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6542 fi
   6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6544 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6546 	CFLAGS="$xorg_testset_save_CFLAGS"
   6547 fi
   6548 
   6549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6552 	fi
   6553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6555 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6556 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6557   $as_echo_n "(cached) " >&6
   6558 else
   6559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6560 /* end confdefs.h.  */
   6561 int i;
   6562 _ACEOF
   6563 if ac_fn_c_try_compile "$LINENO"; then :
   6564   xorg_cv_cc_flag_unused_command_line_argument=yes
   6565 else
   6566   xorg_cv_cc_flag_unused_command_line_argument=no
   6567 fi
   6568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6569 fi
   6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6571 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6573 	CFLAGS="$xorg_testset_save_CFLAGS"
   6574 fi
   6575 
   6576 found="no"
   6577 
   6578 	if test $found = "no" ; then
   6579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6581 		fi
   6582 
   6583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6585 		fi
   6586 
   6587 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6588 
   6589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6590 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6591 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6592 		if eval \${$cacheid+:} false; then :
   6593   $as_echo_n "(cached) " >&6
   6594 else
   6595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6596 /* end confdefs.h.  */
   6597 int i;
   6598 int
   6599 main ()
   6600 {
   6601 
   6602   ;
   6603   return 0;
   6604 }
   6605 _ACEOF
   6606 if ac_fn_c_try_link "$LINENO"; then :
   6607   eval $cacheid=yes
   6608 else
   6609   eval $cacheid=no
   6610 fi
   6611 rm -f core conftest.err conftest.$ac_objext \
   6612     conftest$ac_exeext conftest.$ac_ext
   6613 fi
   6614 
   6615 
   6616 		CFLAGS="$xorg_testset_save_CFLAGS"
   6617 
   6618 		eval supported=\$$cacheid
   6619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6620 $as_echo "$supported" >&6; }
   6621 		if test "$supported" = "yes" ; then
   6622 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6623 			found="yes"
   6624 		fi
   6625 	fi
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 xorg_testset_save_CFLAGS="$CFLAGS"
   6642 
   6643 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6644 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6646 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6647 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6648   $as_echo_n "(cached) " >&6
   6649 else
   6650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6651 /* end confdefs.h.  */
   6652 int i;
   6653 _ACEOF
   6654 if ac_fn_c_try_compile "$LINENO"; then :
   6655   xorg_cv_cc_flag_unknown_warning_option=yes
   6656 else
   6657   xorg_cv_cc_flag_unknown_warning_option=no
   6658 fi
   6659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6660 fi
   6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6662 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6664 	CFLAGS="$xorg_testset_save_CFLAGS"
   6665 fi
   6666 
   6667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6670 	fi
   6671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6672 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6673 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6674 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6675   $as_echo_n "(cached) " >&6
   6676 else
   6677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6678 /* end confdefs.h.  */
   6679 int i;
   6680 _ACEOF
   6681 if ac_fn_c_try_compile "$LINENO"; then :
   6682   xorg_cv_cc_flag_unused_command_line_argument=yes
   6683 else
   6684   xorg_cv_cc_flag_unused_command_line_argument=no
   6685 fi
   6686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6687 fi
   6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6689 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6691 	CFLAGS="$xorg_testset_save_CFLAGS"
   6692 fi
   6693 
   6694 found="no"
   6695 
   6696 	if test $found = "no" ; then
   6697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6699 		fi
   6700 
   6701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6703 		fi
   6704 
   6705 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6706 
   6707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6708 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6709 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6710 		if eval \${$cacheid+:} false; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6714 /* end confdefs.h.  */
   6715 int i;
   6716 int
   6717 main ()
   6718 {
   6719 
   6720   ;
   6721   return 0;
   6722 }
   6723 _ACEOF
   6724 if ac_fn_c_try_link "$LINENO"; then :
   6725   eval $cacheid=yes
   6726 else
   6727   eval $cacheid=no
   6728 fi
   6729 rm -f core conftest.err conftest.$ac_objext \
   6730     conftest$ac_exeext conftest.$ac_ext
   6731 fi
   6732 
   6733 
   6734 		CFLAGS="$xorg_testset_save_CFLAGS"
   6735 
   6736 		eval supported=\$$cacheid
   6737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6738 $as_echo "$supported" >&6; }
   6739 		if test "$supported" = "yes" ; then
   6740 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6741 			found="yes"
   6742 		fi
   6743 	fi
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 xorg_testset_save_CFLAGS="$CFLAGS"
   6760 
   6761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6764 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6765 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6766   $as_echo_n "(cached) " >&6
   6767 else
   6768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6769 /* end confdefs.h.  */
   6770 int i;
   6771 _ACEOF
   6772 if ac_fn_c_try_compile "$LINENO"; then :
   6773   xorg_cv_cc_flag_unknown_warning_option=yes
   6774 else
   6775   xorg_cv_cc_flag_unknown_warning_option=no
   6776 fi
   6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6778 fi
   6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6780 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6782 	CFLAGS="$xorg_testset_save_CFLAGS"
   6783 fi
   6784 
   6785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6788 	fi
   6789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6790 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6791 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6792 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6793   $as_echo_n "(cached) " >&6
   6794 else
   6795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6796 /* end confdefs.h.  */
   6797 int i;
   6798 _ACEOF
   6799 if ac_fn_c_try_compile "$LINENO"; then :
   6800   xorg_cv_cc_flag_unused_command_line_argument=yes
   6801 else
   6802   xorg_cv_cc_flag_unused_command_line_argument=no
   6803 fi
   6804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6805 fi
   6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6807 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6809 	CFLAGS="$xorg_testset_save_CFLAGS"
   6810 fi
   6811 
   6812 found="no"
   6813 
   6814 	if test $found = "no" ; then
   6815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6817 		fi
   6818 
   6819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6821 		fi
   6822 
   6823 		CFLAGS="$CFLAGS -Wredundant-decls"
   6824 
   6825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6826 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6827 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6828 		if eval \${$cacheid+:} false; then :
   6829   $as_echo_n "(cached) " >&6
   6830 else
   6831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 int i;
   6834 int
   6835 main ()
   6836 {
   6837 
   6838   ;
   6839   return 0;
   6840 }
   6841 _ACEOF
   6842 if ac_fn_c_try_link "$LINENO"; then :
   6843   eval $cacheid=yes
   6844 else
   6845   eval $cacheid=no
   6846 fi
   6847 rm -f core conftest.err conftest.$ac_objext \
   6848     conftest$ac_exeext conftest.$ac_ext
   6849 fi
   6850 
   6851 
   6852 		CFLAGS="$xorg_testset_save_CFLAGS"
   6853 
   6854 		eval supported=\$$cacheid
   6855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6856 $as_echo "$supported" >&6; }
   6857 		if test "$supported" = "yes" ; then
   6858 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6859 			found="yes"
   6860 		fi
   6861 	fi
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 xorg_testset_save_CFLAGS="$CFLAGS"
   6878 
   6879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6884   $as_echo_n "(cached) " >&6
   6885 else
   6886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6887 /* end confdefs.h.  */
   6888 int i;
   6889 _ACEOF
   6890 if ac_fn_c_try_compile "$LINENO"; then :
   6891   xorg_cv_cc_flag_unknown_warning_option=yes
   6892 else
   6893   xorg_cv_cc_flag_unknown_warning_option=no
   6894 fi
   6895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6896 fi
   6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6899 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6900 	CFLAGS="$xorg_testset_save_CFLAGS"
   6901 fi
   6902 
   6903 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6904 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6906 	fi
   6907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6911   $as_echo_n "(cached) " >&6
   6912 else
   6913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6914 /* end confdefs.h.  */
   6915 int i;
   6916 _ACEOF
   6917 if ac_fn_c_try_compile "$LINENO"; then :
   6918   xorg_cv_cc_flag_unused_command_line_argument=yes
   6919 else
   6920   xorg_cv_cc_flag_unused_command_line_argument=no
   6921 fi
   6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6923 fi
   6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6927 	CFLAGS="$xorg_testset_save_CFLAGS"
   6928 fi
   6929 
   6930 found="no"
   6931 
   6932 	if test $found = "no" ; then
   6933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6935 		fi
   6936 
   6937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6939 		fi
   6940 
   6941 		CFLAGS="$CFLAGS -Wlogical-op"
   6942 
   6943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6944 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6945 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6946 		if eval \${$cacheid+:} false; then :
   6947   $as_echo_n "(cached) " >&6
   6948 else
   6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6950 /* end confdefs.h.  */
   6951 int i;
   6952 int
   6953 main ()
   6954 {
   6955 
   6956   ;
   6957   return 0;
   6958 }
   6959 _ACEOF
   6960 if ac_fn_c_try_link "$LINENO"; then :
   6961   eval $cacheid=yes
   6962 else
   6963   eval $cacheid=no
   6964 fi
   6965 rm -f core conftest.err conftest.$ac_objext \
   6966     conftest$ac_exeext conftest.$ac_ext
   6967 fi
   6968 
   6969 
   6970 		CFLAGS="$xorg_testset_save_CFLAGS"
   6971 
   6972 		eval supported=\$$cacheid
   6973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6974 $as_echo "$supported" >&6; }
   6975 		if test "$supported" = "yes" ; then
   6976 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6977 			found="yes"
   6978 		fi
   6979 	fi
   6980 
   6981 
   6982 
   6983 # These are currently disabled because they are noisy.  They will be enabled
   6984 # in the future once the codebase is sufficiently modernized to silence
   6985 # them.  For now, I don't want them to drown out the other warnings.
   6986 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6987 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6988 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6989 
   6990 # Turn some warnings into errors, so we don't accidently get successful builds
   6991 # when there are problems that should be fixed.
   6992 
   6993 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 xorg_testset_save_CFLAGS="$CFLAGS"
   7008 
   7009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7014   $as_echo_n "(cached) " >&6
   7015 else
   7016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7017 /* end confdefs.h.  */
   7018 int i;
   7019 _ACEOF
   7020 if ac_fn_c_try_compile "$LINENO"; then :
   7021   xorg_cv_cc_flag_unknown_warning_option=yes
   7022 else
   7023   xorg_cv_cc_flag_unknown_warning_option=no
   7024 fi
   7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7026 fi
   7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7030 	CFLAGS="$xorg_testset_save_CFLAGS"
   7031 fi
   7032 
   7033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7036 	fi
   7037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7041   $as_echo_n "(cached) " >&6
   7042 else
   7043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7044 /* end confdefs.h.  */
   7045 int i;
   7046 _ACEOF
   7047 if ac_fn_c_try_compile "$LINENO"; then :
   7048   xorg_cv_cc_flag_unused_command_line_argument=yes
   7049 else
   7050   xorg_cv_cc_flag_unused_command_line_argument=no
   7051 fi
   7052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7053 fi
   7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7057 	CFLAGS="$xorg_testset_save_CFLAGS"
   7058 fi
   7059 
   7060 found="no"
   7061 
   7062 	if test $found = "no" ; then
   7063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7065 		fi
   7066 
   7067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7069 		fi
   7070 
   7071 		CFLAGS="$CFLAGS -Werror=implicit"
   7072 
   7073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7074 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7075 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7076 		if eval \${$cacheid+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 int
   7083 main ()
   7084 {
   7085 
   7086   ;
   7087   return 0;
   7088 }
   7089 _ACEOF
   7090 if ac_fn_c_try_link "$LINENO"; then :
   7091   eval $cacheid=yes
   7092 else
   7093   eval $cacheid=no
   7094 fi
   7095 rm -f core conftest.err conftest.$ac_objext \
   7096     conftest$ac_exeext conftest.$ac_ext
   7097 fi
   7098 
   7099 
   7100 		CFLAGS="$xorg_testset_save_CFLAGS"
   7101 
   7102 		eval supported=\$$cacheid
   7103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7104 $as_echo "$supported" >&6; }
   7105 		if test "$supported" = "yes" ; then
   7106 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7107 			found="yes"
   7108 		fi
   7109 	fi
   7110 
   7111 	if test $found = "no" ; then
   7112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7114 		fi
   7115 
   7116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7118 		fi
   7119 
   7120 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7121 
   7122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7123 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7124 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7125 		if eval \${$cacheid+:} false; then :
   7126   $as_echo_n "(cached) " >&6
   7127 else
   7128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7129 /* end confdefs.h.  */
   7130 int i;
   7131 int
   7132 main ()
   7133 {
   7134 
   7135   ;
   7136   return 0;
   7137 }
   7138 _ACEOF
   7139 if ac_fn_c_try_link "$LINENO"; then :
   7140   eval $cacheid=yes
   7141 else
   7142   eval $cacheid=no
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext \
   7145     conftest$ac_exeext conftest.$ac_ext
   7146 fi
   7147 
   7148 
   7149 		CFLAGS="$xorg_testset_save_CFLAGS"
   7150 
   7151 		eval supported=\$$cacheid
   7152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7153 $as_echo "$supported" >&6; }
   7154 		if test "$supported" = "yes" ; then
   7155 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7156 			found="yes"
   7157 		fi
   7158 	fi
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 xorg_testset_save_CFLAGS="$CFLAGS"
   7175 
   7176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7179 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7180 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7181   $as_echo_n "(cached) " >&6
   7182 else
   7183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7184 /* end confdefs.h.  */
   7185 int i;
   7186 _ACEOF
   7187 if ac_fn_c_try_compile "$LINENO"; then :
   7188   xorg_cv_cc_flag_unknown_warning_option=yes
   7189 else
   7190   xorg_cv_cc_flag_unknown_warning_option=no
   7191 fi
   7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7193 fi
   7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7195 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7197 	CFLAGS="$xorg_testset_save_CFLAGS"
   7198 fi
   7199 
   7200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7203 	fi
   7204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7206 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7207 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7208   $as_echo_n "(cached) " >&6
   7209 else
   7210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7211 /* end confdefs.h.  */
   7212 int i;
   7213 _ACEOF
   7214 if ac_fn_c_try_compile "$LINENO"; then :
   7215   xorg_cv_cc_flag_unused_command_line_argument=yes
   7216 else
   7217   xorg_cv_cc_flag_unused_command_line_argument=no
   7218 fi
   7219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7220 fi
   7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7222 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7224 	CFLAGS="$xorg_testset_save_CFLAGS"
   7225 fi
   7226 
   7227 found="no"
   7228 
   7229 	if test $found = "no" ; then
   7230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7232 		fi
   7233 
   7234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7236 		fi
   7237 
   7238 		CFLAGS="$CFLAGS -Werror=nonnull"
   7239 
   7240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7241 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7242 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7243 		if eval \${$cacheid+:} false; then :
   7244   $as_echo_n "(cached) " >&6
   7245 else
   7246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7247 /* end confdefs.h.  */
   7248 int i;
   7249 int
   7250 main ()
   7251 {
   7252 
   7253   ;
   7254   return 0;
   7255 }
   7256 _ACEOF
   7257 if ac_fn_c_try_link "$LINENO"; then :
   7258   eval $cacheid=yes
   7259 else
   7260   eval $cacheid=no
   7261 fi
   7262 rm -f core conftest.err conftest.$ac_objext \
   7263     conftest$ac_exeext conftest.$ac_ext
   7264 fi
   7265 
   7266 
   7267 		CFLAGS="$xorg_testset_save_CFLAGS"
   7268 
   7269 		eval supported=\$$cacheid
   7270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7271 $as_echo "$supported" >&6; }
   7272 		if test "$supported" = "yes" ; then
   7273 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7274 			found="yes"
   7275 		fi
   7276 	fi
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 xorg_testset_save_CFLAGS="$CFLAGS"
   7293 
   7294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7297 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7298 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7299   $as_echo_n "(cached) " >&6
   7300 else
   7301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7302 /* end confdefs.h.  */
   7303 int i;
   7304 _ACEOF
   7305 if ac_fn_c_try_compile "$LINENO"; then :
   7306   xorg_cv_cc_flag_unknown_warning_option=yes
   7307 else
   7308   xorg_cv_cc_flag_unknown_warning_option=no
   7309 fi
   7310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7311 fi
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7313 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7315 	CFLAGS="$xorg_testset_save_CFLAGS"
   7316 fi
   7317 
   7318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7321 	fi
   7322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7324 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7325 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7329 /* end confdefs.h.  */
   7330 int i;
   7331 _ACEOF
   7332 if ac_fn_c_try_compile "$LINENO"; then :
   7333   xorg_cv_cc_flag_unused_command_line_argument=yes
   7334 else
   7335   xorg_cv_cc_flag_unused_command_line_argument=no
   7336 fi
   7337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7338 fi
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7340 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7341 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7342 	CFLAGS="$xorg_testset_save_CFLAGS"
   7343 fi
   7344 
   7345 found="no"
   7346 
   7347 	if test $found = "no" ; then
   7348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7350 		fi
   7351 
   7352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7354 		fi
   7355 
   7356 		CFLAGS="$CFLAGS -Werror=init-self"
   7357 
   7358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7359 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7360 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7361 		if eval \${$cacheid+:} false; then :
   7362   $as_echo_n "(cached) " >&6
   7363 else
   7364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7365 /* end confdefs.h.  */
   7366 int i;
   7367 int
   7368 main ()
   7369 {
   7370 
   7371   ;
   7372   return 0;
   7373 }
   7374 _ACEOF
   7375 if ac_fn_c_try_link "$LINENO"; then :
   7376   eval $cacheid=yes
   7377 else
   7378   eval $cacheid=no
   7379 fi
   7380 rm -f core conftest.err conftest.$ac_objext \
   7381     conftest$ac_exeext conftest.$ac_ext
   7382 fi
   7383 
   7384 
   7385 		CFLAGS="$xorg_testset_save_CFLAGS"
   7386 
   7387 		eval supported=\$$cacheid
   7388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7389 $as_echo "$supported" >&6; }
   7390 		if test "$supported" = "yes" ; then
   7391 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7392 			found="yes"
   7393 		fi
   7394 	fi
   7395 
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 xorg_testset_save_CFLAGS="$CFLAGS"
   7411 
   7412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7417   $as_echo_n "(cached) " >&6
   7418 else
   7419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7420 /* end confdefs.h.  */
   7421 int i;
   7422 _ACEOF
   7423 if ac_fn_c_try_compile "$LINENO"; then :
   7424   xorg_cv_cc_flag_unknown_warning_option=yes
   7425 else
   7426   xorg_cv_cc_flag_unknown_warning_option=no
   7427 fi
   7428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7429 fi
   7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7433 	CFLAGS="$xorg_testset_save_CFLAGS"
   7434 fi
   7435 
   7436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7439 	fi
   7440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7444   $as_echo_n "(cached) " >&6
   7445 else
   7446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7447 /* end confdefs.h.  */
   7448 int i;
   7449 _ACEOF
   7450 if ac_fn_c_try_compile "$LINENO"; then :
   7451   xorg_cv_cc_flag_unused_command_line_argument=yes
   7452 else
   7453   xorg_cv_cc_flag_unused_command_line_argument=no
   7454 fi
   7455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7456 fi
   7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7460 	CFLAGS="$xorg_testset_save_CFLAGS"
   7461 fi
   7462 
   7463 found="no"
   7464 
   7465 	if test $found = "no" ; then
   7466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7468 		fi
   7469 
   7470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7472 		fi
   7473 
   7474 		CFLAGS="$CFLAGS -Werror=main"
   7475 
   7476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7477 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7478 		cacheid=xorg_cv_cc_flag__Werror_main
   7479 		if eval \${$cacheid+:} false; then :
   7480   $as_echo_n "(cached) " >&6
   7481 else
   7482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7483 /* end confdefs.h.  */
   7484 int i;
   7485 int
   7486 main ()
   7487 {
   7488 
   7489   ;
   7490   return 0;
   7491 }
   7492 _ACEOF
   7493 if ac_fn_c_try_link "$LINENO"; then :
   7494   eval $cacheid=yes
   7495 else
   7496   eval $cacheid=no
   7497 fi
   7498 rm -f core conftest.err conftest.$ac_objext \
   7499     conftest$ac_exeext conftest.$ac_ext
   7500 fi
   7501 
   7502 
   7503 		CFLAGS="$xorg_testset_save_CFLAGS"
   7504 
   7505 		eval supported=\$$cacheid
   7506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7507 $as_echo "$supported" >&6; }
   7508 		if test "$supported" = "yes" ; then
   7509 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7510 			found="yes"
   7511 		fi
   7512 	fi
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 xorg_testset_save_CFLAGS="$CFLAGS"
   7529 
   7530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7532 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7533 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7534 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7535   $as_echo_n "(cached) " >&6
   7536 else
   7537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7538 /* end confdefs.h.  */
   7539 int i;
   7540 _ACEOF
   7541 if ac_fn_c_try_compile "$LINENO"; then :
   7542   xorg_cv_cc_flag_unknown_warning_option=yes
   7543 else
   7544   xorg_cv_cc_flag_unknown_warning_option=no
   7545 fi
   7546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7547 fi
   7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7549 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7551 	CFLAGS="$xorg_testset_save_CFLAGS"
   7552 fi
   7553 
   7554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7557 	fi
   7558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7560 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7561 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7562   $as_echo_n "(cached) " >&6
   7563 else
   7564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7565 /* end confdefs.h.  */
   7566 int i;
   7567 _ACEOF
   7568 if ac_fn_c_try_compile "$LINENO"; then :
   7569   xorg_cv_cc_flag_unused_command_line_argument=yes
   7570 else
   7571   xorg_cv_cc_flag_unused_command_line_argument=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7574 fi
   7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7576 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7578 	CFLAGS="$xorg_testset_save_CFLAGS"
   7579 fi
   7580 
   7581 found="no"
   7582 
   7583 	if test $found = "no" ; then
   7584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7586 		fi
   7587 
   7588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7590 		fi
   7591 
   7592 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7593 
   7594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7595 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7596 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7597 		if eval \${$cacheid+:} false; then :
   7598   $as_echo_n "(cached) " >&6
   7599 else
   7600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7601 /* end confdefs.h.  */
   7602 int i;
   7603 int
   7604 main ()
   7605 {
   7606 
   7607   ;
   7608   return 0;
   7609 }
   7610 _ACEOF
   7611 if ac_fn_c_try_link "$LINENO"; then :
   7612   eval $cacheid=yes
   7613 else
   7614   eval $cacheid=no
   7615 fi
   7616 rm -f core conftest.err conftest.$ac_objext \
   7617     conftest$ac_exeext conftest.$ac_ext
   7618 fi
   7619 
   7620 
   7621 		CFLAGS="$xorg_testset_save_CFLAGS"
   7622 
   7623 		eval supported=\$$cacheid
   7624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7625 $as_echo "$supported" >&6; }
   7626 		if test "$supported" = "yes" ; then
   7627 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7628 			found="yes"
   7629 		fi
   7630 	fi
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 xorg_testset_save_CFLAGS="$CFLAGS"
   7647 
   7648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7650 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7651 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7652 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7653   $as_echo_n "(cached) " >&6
   7654 else
   7655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7656 /* end confdefs.h.  */
   7657 int i;
   7658 _ACEOF
   7659 if ac_fn_c_try_compile "$LINENO"; then :
   7660   xorg_cv_cc_flag_unknown_warning_option=yes
   7661 else
   7662   xorg_cv_cc_flag_unknown_warning_option=no
   7663 fi
   7664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7665 fi
   7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7667 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7669 	CFLAGS="$xorg_testset_save_CFLAGS"
   7670 fi
   7671 
   7672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7675 	fi
   7676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7678 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7679 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7680   $as_echo_n "(cached) " >&6
   7681 else
   7682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7683 /* end confdefs.h.  */
   7684 int i;
   7685 _ACEOF
   7686 if ac_fn_c_try_compile "$LINENO"; then :
   7687   xorg_cv_cc_flag_unused_command_line_argument=yes
   7688 else
   7689   xorg_cv_cc_flag_unused_command_line_argument=no
   7690 fi
   7691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7692 fi
   7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7694 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7696 	CFLAGS="$xorg_testset_save_CFLAGS"
   7697 fi
   7698 
   7699 found="no"
   7700 
   7701 	if test $found = "no" ; then
   7702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7704 		fi
   7705 
   7706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7708 		fi
   7709 
   7710 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7711 
   7712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7713 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7714 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7715 		if eval \${$cacheid+:} false; then :
   7716   $as_echo_n "(cached) " >&6
   7717 else
   7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 int
   7722 main ()
   7723 {
   7724 
   7725   ;
   7726   return 0;
   7727 }
   7728 _ACEOF
   7729 if ac_fn_c_try_link "$LINENO"; then :
   7730   eval $cacheid=yes
   7731 else
   7732   eval $cacheid=no
   7733 fi
   7734 rm -f core conftest.err conftest.$ac_objext \
   7735     conftest$ac_exeext conftest.$ac_ext
   7736 fi
   7737 
   7738 
   7739 		CFLAGS="$xorg_testset_save_CFLAGS"
   7740 
   7741 		eval supported=\$$cacheid
   7742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7743 $as_echo "$supported" >&6; }
   7744 		if test "$supported" = "yes" ; then
   7745 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7746 			found="yes"
   7747 		fi
   7748 	fi
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 xorg_testset_save_CFLAGS="$CFLAGS"
   7765 
   7766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7769 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7770 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7771   $as_echo_n "(cached) " >&6
   7772 else
   7773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7774 /* end confdefs.h.  */
   7775 int i;
   7776 _ACEOF
   7777 if ac_fn_c_try_compile "$LINENO"; then :
   7778   xorg_cv_cc_flag_unknown_warning_option=yes
   7779 else
   7780   xorg_cv_cc_flag_unknown_warning_option=no
   7781 fi
   7782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7783 fi
   7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7785 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7786 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7787 	CFLAGS="$xorg_testset_save_CFLAGS"
   7788 fi
   7789 
   7790 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7791 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7793 	fi
   7794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7796 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7797 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7798   $as_echo_n "(cached) " >&6
   7799 else
   7800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7801 /* end confdefs.h.  */
   7802 int i;
   7803 _ACEOF
   7804 if ac_fn_c_try_compile "$LINENO"; then :
   7805   xorg_cv_cc_flag_unused_command_line_argument=yes
   7806 else
   7807   xorg_cv_cc_flag_unused_command_line_argument=no
   7808 fi
   7809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7810 fi
   7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7812 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7814 	CFLAGS="$xorg_testset_save_CFLAGS"
   7815 fi
   7816 
   7817 found="no"
   7818 
   7819 	if test $found = "no" ; then
   7820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7822 		fi
   7823 
   7824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7826 		fi
   7827 
   7828 		CFLAGS="$CFLAGS -Werror=return-type"
   7829 
   7830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7831 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7832 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7833 		if eval \${$cacheid+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7837 /* end confdefs.h.  */
   7838 int i;
   7839 int
   7840 main ()
   7841 {
   7842 
   7843   ;
   7844   return 0;
   7845 }
   7846 _ACEOF
   7847 if ac_fn_c_try_link "$LINENO"; then :
   7848   eval $cacheid=yes
   7849 else
   7850   eval $cacheid=no
   7851 fi
   7852 rm -f core conftest.err conftest.$ac_objext \
   7853     conftest$ac_exeext conftest.$ac_ext
   7854 fi
   7855 
   7856 
   7857 		CFLAGS="$xorg_testset_save_CFLAGS"
   7858 
   7859 		eval supported=\$$cacheid
   7860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7861 $as_echo "$supported" >&6; }
   7862 		if test "$supported" = "yes" ; then
   7863 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7864 			found="yes"
   7865 		fi
   7866 	fi
   7867 
   7868 	if test $found = "no" ; then
   7869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7871 		fi
   7872 
   7873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7875 		fi
   7876 
   7877 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7878 
   7879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7880 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7881 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7882 		if eval \${$cacheid+:} false; then :
   7883   $as_echo_n "(cached) " >&6
   7884 else
   7885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7886 /* end confdefs.h.  */
   7887 int i;
   7888 int
   7889 main ()
   7890 {
   7891 
   7892   ;
   7893   return 0;
   7894 }
   7895 _ACEOF
   7896 if ac_fn_c_try_link "$LINENO"; then :
   7897   eval $cacheid=yes
   7898 else
   7899   eval $cacheid=no
   7900 fi
   7901 rm -f core conftest.err conftest.$ac_objext \
   7902     conftest$ac_exeext conftest.$ac_ext
   7903 fi
   7904 
   7905 
   7906 		CFLAGS="$xorg_testset_save_CFLAGS"
   7907 
   7908 		eval supported=\$$cacheid
   7909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7910 $as_echo "$supported" >&6; }
   7911 		if test "$supported" = "yes" ; then
   7912 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7913 			found="yes"
   7914 		fi
   7915 	fi
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 xorg_testset_save_CFLAGS="$CFLAGS"
   7932 
   7933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7938   $as_echo_n "(cached) " >&6
   7939 else
   7940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7941 /* end confdefs.h.  */
   7942 int i;
   7943 _ACEOF
   7944 if ac_fn_c_try_compile "$LINENO"; then :
   7945   xorg_cv_cc_flag_unknown_warning_option=yes
   7946 else
   7947   xorg_cv_cc_flag_unknown_warning_option=no
   7948 fi
   7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7950 fi
   7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7954 	CFLAGS="$xorg_testset_save_CFLAGS"
   7955 fi
   7956 
   7957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7960 	fi
   7961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7965   $as_echo_n "(cached) " >&6
   7966 else
   7967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7968 /* end confdefs.h.  */
   7969 int i;
   7970 _ACEOF
   7971 if ac_fn_c_try_compile "$LINENO"; then :
   7972   xorg_cv_cc_flag_unused_command_line_argument=yes
   7973 else
   7974   xorg_cv_cc_flag_unused_command_line_argument=no
   7975 fi
   7976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7977 fi
   7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7979 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7981 	CFLAGS="$xorg_testset_save_CFLAGS"
   7982 fi
   7983 
   7984 found="no"
   7985 
   7986 	if test $found = "no" ; then
   7987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7989 		fi
   7990 
   7991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7993 		fi
   7994 
   7995 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7996 
   7997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7998 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7999 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8000 		if eval \${$cacheid+:} false; then :
   8001   $as_echo_n "(cached) " >&6
   8002 else
   8003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8004 /* end confdefs.h.  */
   8005 int i;
   8006 int
   8007 main ()
   8008 {
   8009 
   8010   ;
   8011   return 0;
   8012 }
   8013 _ACEOF
   8014 if ac_fn_c_try_link "$LINENO"; then :
   8015   eval $cacheid=yes
   8016 else
   8017   eval $cacheid=no
   8018 fi
   8019 rm -f core conftest.err conftest.$ac_objext \
   8020     conftest$ac_exeext conftest.$ac_ext
   8021 fi
   8022 
   8023 
   8024 		CFLAGS="$xorg_testset_save_CFLAGS"
   8025 
   8026 		eval supported=\$$cacheid
   8027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8028 $as_echo "$supported" >&6; }
   8029 		if test "$supported" = "yes" ; then
   8030 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8031 			found="yes"
   8032 		fi
   8033 	fi
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 xorg_testset_save_CFLAGS="$CFLAGS"
   8050 
   8051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8054 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8055 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8056   $as_echo_n "(cached) " >&6
   8057 else
   8058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8059 /* end confdefs.h.  */
   8060 int i;
   8061 _ACEOF
   8062 if ac_fn_c_try_compile "$LINENO"; then :
   8063   xorg_cv_cc_flag_unknown_warning_option=yes
   8064 else
   8065   xorg_cv_cc_flag_unknown_warning_option=no
   8066 fi
   8067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8068 fi
   8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8070 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8071 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8072 	CFLAGS="$xorg_testset_save_CFLAGS"
   8073 fi
   8074 
   8075 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8076 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8077 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8078 	fi
   8079 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8081 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8082 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8083   $as_echo_n "(cached) " >&6
   8084 else
   8085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8086 /* end confdefs.h.  */
   8087 int i;
   8088 _ACEOF
   8089 if ac_fn_c_try_compile "$LINENO"; then :
   8090   xorg_cv_cc_flag_unused_command_line_argument=yes
   8091 else
   8092   xorg_cv_cc_flag_unused_command_line_argument=no
   8093 fi
   8094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8095 fi
   8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8097 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8099 	CFLAGS="$xorg_testset_save_CFLAGS"
   8100 fi
   8101 
   8102 found="no"
   8103 
   8104 	if test $found = "no" ; then
   8105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8107 		fi
   8108 
   8109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8111 		fi
   8112 
   8113 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8114 
   8115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8116 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8117 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8118 		if eval \${$cacheid+:} false; then :
   8119   $as_echo_n "(cached) " >&6
   8120 else
   8121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8122 /* end confdefs.h.  */
   8123 int i;
   8124 int
   8125 main ()
   8126 {
   8127 
   8128   ;
   8129   return 0;
   8130 }
   8131 _ACEOF
   8132 if ac_fn_c_try_link "$LINENO"; then :
   8133   eval $cacheid=yes
   8134 else
   8135   eval $cacheid=no
   8136 fi
   8137 rm -f core conftest.err conftest.$ac_objext \
   8138     conftest$ac_exeext conftest.$ac_ext
   8139 fi
   8140 
   8141 
   8142 		CFLAGS="$xorg_testset_save_CFLAGS"
   8143 
   8144 		eval supported=\$$cacheid
   8145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8146 $as_echo "$supported" >&6; }
   8147 		if test "$supported" = "yes" ; then
   8148 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8149 			found="yes"
   8150 		fi
   8151 	fi
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 xorg_testset_save_CFLAGS="$CFLAGS"
   8168 
   8169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8172 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8173 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8174   $as_echo_n "(cached) " >&6
   8175 else
   8176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8177 /* end confdefs.h.  */
   8178 int i;
   8179 _ACEOF
   8180 if ac_fn_c_try_compile "$LINENO"; then :
   8181   xorg_cv_cc_flag_unknown_warning_option=yes
   8182 else
   8183   xorg_cv_cc_flag_unknown_warning_option=no
   8184 fi
   8185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8186 fi
   8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8188 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8190 	CFLAGS="$xorg_testset_save_CFLAGS"
   8191 fi
   8192 
   8193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8196 	fi
   8197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8199 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8200 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8201   $as_echo_n "(cached) " >&6
   8202 else
   8203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8204 /* end confdefs.h.  */
   8205 int i;
   8206 _ACEOF
   8207 if ac_fn_c_try_compile "$LINENO"; then :
   8208   xorg_cv_cc_flag_unused_command_line_argument=yes
   8209 else
   8210   xorg_cv_cc_flag_unused_command_line_argument=no
   8211 fi
   8212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8213 fi
   8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8215 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8217 	CFLAGS="$xorg_testset_save_CFLAGS"
   8218 fi
   8219 
   8220 found="no"
   8221 
   8222 	if test $found = "no" ; then
   8223 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8225 		fi
   8226 
   8227 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8229 		fi
   8230 
   8231 		CFLAGS="$CFLAGS -Werror=write-strings"
   8232 
   8233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8234 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8235 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8236 		if eval \${$cacheid+:} false; then :
   8237   $as_echo_n "(cached) " >&6
   8238 else
   8239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8240 /* end confdefs.h.  */
   8241 int i;
   8242 int
   8243 main ()
   8244 {
   8245 
   8246   ;
   8247   return 0;
   8248 }
   8249 _ACEOF
   8250 if ac_fn_c_try_link "$LINENO"; then :
   8251   eval $cacheid=yes
   8252 else
   8253   eval $cacheid=no
   8254 fi
   8255 rm -f core conftest.err conftest.$ac_objext \
   8256     conftest$ac_exeext conftest.$ac_ext
   8257 fi
   8258 
   8259 
   8260 		CFLAGS="$xorg_testset_save_CFLAGS"
   8261 
   8262 		eval supported=\$$cacheid
   8263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8264 $as_echo "$supported" >&6; }
   8265 		if test "$supported" = "yes" ; then
   8266 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8267 			found="yes"
   8268 		fi
   8269 	fi
   8270 
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 xorg_testset_save_CFLAGS="$CFLAGS"
   8286 
   8287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8290 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8291 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8292   $as_echo_n "(cached) " >&6
   8293 else
   8294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8295 /* end confdefs.h.  */
   8296 int i;
   8297 _ACEOF
   8298 if ac_fn_c_try_compile "$LINENO"; then :
   8299   xorg_cv_cc_flag_unknown_warning_option=yes
   8300 else
   8301   xorg_cv_cc_flag_unknown_warning_option=no
   8302 fi
   8303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8304 fi
   8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8306 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8307 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8308 	CFLAGS="$xorg_testset_save_CFLAGS"
   8309 fi
   8310 
   8311 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8312 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8313 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8314 	fi
   8315 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8317 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8318 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8319   $as_echo_n "(cached) " >&6
   8320 else
   8321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8322 /* end confdefs.h.  */
   8323 int i;
   8324 _ACEOF
   8325 if ac_fn_c_try_compile "$LINENO"; then :
   8326   xorg_cv_cc_flag_unused_command_line_argument=yes
   8327 else
   8328   xorg_cv_cc_flag_unused_command_line_argument=no
   8329 fi
   8330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8331 fi
   8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8333 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8335 	CFLAGS="$xorg_testset_save_CFLAGS"
   8336 fi
   8337 
   8338 found="no"
   8339 
   8340 	if test $found = "no" ; then
   8341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8343 		fi
   8344 
   8345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8347 		fi
   8348 
   8349 		CFLAGS="$CFLAGS -Werror=address"
   8350 
   8351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8352 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8353 		cacheid=xorg_cv_cc_flag__Werror_address
   8354 		if eval \${$cacheid+:} false; then :
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 int
   8361 main ()
   8362 {
   8363 
   8364   ;
   8365   return 0;
   8366 }
   8367 _ACEOF
   8368 if ac_fn_c_try_link "$LINENO"; then :
   8369   eval $cacheid=yes
   8370 else
   8371   eval $cacheid=no
   8372 fi
   8373 rm -f core conftest.err conftest.$ac_objext \
   8374     conftest$ac_exeext conftest.$ac_ext
   8375 fi
   8376 
   8377 
   8378 		CFLAGS="$xorg_testset_save_CFLAGS"
   8379 
   8380 		eval supported=\$$cacheid
   8381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8382 $as_echo "$supported" >&6; }
   8383 		if test "$supported" = "yes" ; then
   8384 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8385 			found="yes"
   8386 		fi
   8387 	fi
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 xorg_testset_save_CFLAGS="$CFLAGS"
   8404 
   8405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8406 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8408 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8409 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8410   $as_echo_n "(cached) " >&6
   8411 else
   8412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8413 /* end confdefs.h.  */
   8414 int i;
   8415 _ACEOF
   8416 if ac_fn_c_try_compile "$LINENO"; then :
   8417   xorg_cv_cc_flag_unknown_warning_option=yes
   8418 else
   8419   xorg_cv_cc_flag_unknown_warning_option=no
   8420 fi
   8421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8422 fi
   8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8424 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8426 	CFLAGS="$xorg_testset_save_CFLAGS"
   8427 fi
   8428 
   8429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8432 	fi
   8433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8435 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8436 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8437   $as_echo_n "(cached) " >&6
   8438 else
   8439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8440 /* end confdefs.h.  */
   8441 int i;
   8442 _ACEOF
   8443 if ac_fn_c_try_compile "$LINENO"; then :
   8444   xorg_cv_cc_flag_unused_command_line_argument=yes
   8445 else
   8446   xorg_cv_cc_flag_unused_command_line_argument=no
   8447 fi
   8448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8449 fi
   8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8451 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8453 	CFLAGS="$xorg_testset_save_CFLAGS"
   8454 fi
   8455 
   8456 found="no"
   8457 
   8458 	if test $found = "no" ; then
   8459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8461 		fi
   8462 
   8463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8465 		fi
   8466 
   8467 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8468 
   8469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8470 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8471 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8472 		if eval \${$cacheid+:} false; then :
   8473   $as_echo_n "(cached) " >&6
   8474 else
   8475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8476 /* end confdefs.h.  */
   8477 int i;
   8478 int
   8479 main ()
   8480 {
   8481 
   8482   ;
   8483   return 0;
   8484 }
   8485 _ACEOF
   8486 if ac_fn_c_try_link "$LINENO"; then :
   8487   eval $cacheid=yes
   8488 else
   8489   eval $cacheid=no
   8490 fi
   8491 rm -f core conftest.err conftest.$ac_objext \
   8492     conftest$ac_exeext conftest.$ac_ext
   8493 fi
   8494 
   8495 
   8496 		CFLAGS="$xorg_testset_save_CFLAGS"
   8497 
   8498 		eval supported=\$$cacheid
   8499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8500 $as_echo "$supported" >&6; }
   8501 		if test "$supported" = "yes" ; then
   8502 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8503 			found="yes"
   8504 		fi
   8505 	fi
   8506 
   8507 	if test $found = "no" ; then
   8508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8510 		fi
   8511 
   8512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8514 		fi
   8515 
   8516 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8517 
   8518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8519 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8520 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8521 		if eval \${$cacheid+:} false; then :
   8522   $as_echo_n "(cached) " >&6
   8523 else
   8524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8525 /* end confdefs.h.  */
   8526 int i;
   8527 int
   8528 main ()
   8529 {
   8530 
   8531   ;
   8532   return 0;
   8533 }
   8534 _ACEOF
   8535 if ac_fn_c_try_link "$LINENO"; then :
   8536   eval $cacheid=yes
   8537 else
   8538   eval $cacheid=no
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext \
   8541     conftest$ac_exeext conftest.$ac_ext
   8542 fi
   8543 
   8544 
   8545 		CFLAGS="$xorg_testset_save_CFLAGS"
   8546 
   8547 		eval supported=\$$cacheid
   8548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8549 $as_echo "$supported" >&6; }
   8550 		if test "$supported" = "yes" ; then
   8551 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8552 			found="yes"
   8553 		fi
   8554 	fi
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 xorg_testset_save_CFLAGS="$CFLAGS"
   8571 
   8572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8575 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8576 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8577   $as_echo_n "(cached) " >&6
   8578 else
   8579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8580 /* end confdefs.h.  */
   8581 int i;
   8582 _ACEOF
   8583 if ac_fn_c_try_compile "$LINENO"; then :
   8584   xorg_cv_cc_flag_unknown_warning_option=yes
   8585 else
   8586   xorg_cv_cc_flag_unknown_warning_option=no
   8587 fi
   8588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8589 fi
   8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8591 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8593 	CFLAGS="$xorg_testset_save_CFLAGS"
   8594 fi
   8595 
   8596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8599 	fi
   8600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8601 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8602 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8603 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8604   $as_echo_n "(cached) " >&6
   8605 else
   8606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8607 /* end confdefs.h.  */
   8608 int i;
   8609 _ACEOF
   8610 if ac_fn_c_try_compile "$LINENO"; then :
   8611   xorg_cv_cc_flag_unused_command_line_argument=yes
   8612 else
   8613   xorg_cv_cc_flag_unused_command_line_argument=no
   8614 fi
   8615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8616 fi
   8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8618 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8620 	CFLAGS="$xorg_testset_save_CFLAGS"
   8621 fi
   8622 
   8623 found="no"
   8624 
   8625 	if test $found = "no" ; then
   8626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8628 		fi
   8629 
   8630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8632 		fi
   8633 
   8634 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8635 
   8636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8637 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8638 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8639 		if eval \${$cacheid+:} false; then :
   8640   $as_echo_n "(cached) " >&6
   8641 else
   8642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8643 /* end confdefs.h.  */
   8644 int i;
   8645 int
   8646 main ()
   8647 {
   8648 
   8649   ;
   8650   return 0;
   8651 }
   8652 _ACEOF
   8653 if ac_fn_c_try_link "$LINENO"; then :
   8654   eval $cacheid=yes
   8655 else
   8656   eval $cacheid=no
   8657 fi
   8658 rm -f core conftest.err conftest.$ac_objext \
   8659     conftest$ac_exeext conftest.$ac_ext
   8660 fi
   8661 
   8662 
   8663 		CFLAGS="$xorg_testset_save_CFLAGS"
   8664 
   8665 		eval supported=\$$cacheid
   8666 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8667 $as_echo "$supported" >&6; }
   8668 		if test "$supported" = "yes" ; then
   8669 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8670 			found="yes"
   8671 		fi
   8672 	fi
   8673 
   8674  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8675 else
   8676 { $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
   8677 $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;}
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 xorg_testset_save_CFLAGS="$CFLAGS"
   8692 
   8693 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8694 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8696 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8697 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8698   $as_echo_n "(cached) " >&6
   8699 else
   8700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8701 /* end confdefs.h.  */
   8702 int i;
   8703 _ACEOF
   8704 if ac_fn_c_try_compile "$LINENO"; then :
   8705   xorg_cv_cc_flag_unknown_warning_option=yes
   8706 else
   8707   xorg_cv_cc_flag_unknown_warning_option=no
   8708 fi
   8709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8710 fi
   8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8712 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8713 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8714 	CFLAGS="$xorg_testset_save_CFLAGS"
   8715 fi
   8716 
   8717 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8718 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8719 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8720 	fi
   8721 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8723 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8724 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8725   $as_echo_n "(cached) " >&6
   8726 else
   8727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8728 /* end confdefs.h.  */
   8729 int i;
   8730 _ACEOF
   8731 if ac_fn_c_try_compile "$LINENO"; then :
   8732   xorg_cv_cc_flag_unused_command_line_argument=yes
   8733 else
   8734   xorg_cv_cc_flag_unused_command_line_argument=no
   8735 fi
   8736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8737 fi
   8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8739 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8741 	CFLAGS="$xorg_testset_save_CFLAGS"
   8742 fi
   8743 
   8744 found="no"
   8745 
   8746 	if test $found = "no" ; then
   8747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8749 		fi
   8750 
   8751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8753 		fi
   8754 
   8755 		CFLAGS="$CFLAGS -Wimplicit"
   8756 
   8757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8758 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8759 		cacheid=xorg_cv_cc_flag__Wimplicit
   8760 		if eval \${$cacheid+:} false; then :
   8761   $as_echo_n "(cached) " >&6
   8762 else
   8763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8764 /* end confdefs.h.  */
   8765 int i;
   8766 int
   8767 main ()
   8768 {
   8769 
   8770   ;
   8771   return 0;
   8772 }
   8773 _ACEOF
   8774 if ac_fn_c_try_link "$LINENO"; then :
   8775   eval $cacheid=yes
   8776 else
   8777   eval $cacheid=no
   8778 fi
   8779 rm -f core conftest.err conftest.$ac_objext \
   8780     conftest$ac_exeext conftest.$ac_ext
   8781 fi
   8782 
   8783 
   8784 		CFLAGS="$xorg_testset_save_CFLAGS"
   8785 
   8786 		eval supported=\$$cacheid
   8787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8788 $as_echo "$supported" >&6; }
   8789 		if test "$supported" = "yes" ; then
   8790 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8791 			found="yes"
   8792 		fi
   8793 	fi
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 xorg_testset_save_CFLAGS="$CFLAGS"
   8810 
   8811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8814 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8815 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8816   $as_echo_n "(cached) " >&6
   8817 else
   8818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8819 /* end confdefs.h.  */
   8820 int i;
   8821 _ACEOF
   8822 if ac_fn_c_try_compile "$LINENO"; then :
   8823   xorg_cv_cc_flag_unknown_warning_option=yes
   8824 else
   8825   xorg_cv_cc_flag_unknown_warning_option=no
   8826 fi
   8827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8828 fi
   8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8830 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8832 	CFLAGS="$xorg_testset_save_CFLAGS"
   8833 fi
   8834 
   8835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8838 	fi
   8839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8841 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8842 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8843   $as_echo_n "(cached) " >&6
   8844 else
   8845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8846 /* end confdefs.h.  */
   8847 int i;
   8848 _ACEOF
   8849 if ac_fn_c_try_compile "$LINENO"; then :
   8850   xorg_cv_cc_flag_unused_command_line_argument=yes
   8851 else
   8852   xorg_cv_cc_flag_unused_command_line_argument=no
   8853 fi
   8854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8855 fi
   8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8857 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8858 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8859 	CFLAGS="$xorg_testset_save_CFLAGS"
   8860 fi
   8861 
   8862 found="no"
   8863 
   8864 	if test $found = "no" ; then
   8865 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8867 		fi
   8868 
   8869 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8871 		fi
   8872 
   8873 		CFLAGS="$CFLAGS -Wnonnull"
   8874 
   8875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8876 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8877 		cacheid=xorg_cv_cc_flag__Wnonnull
   8878 		if eval \${$cacheid+:} false; then :
   8879   $as_echo_n "(cached) " >&6
   8880 else
   8881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 int
   8885 main ()
   8886 {
   8887 
   8888   ;
   8889   return 0;
   8890 }
   8891 _ACEOF
   8892 if ac_fn_c_try_link "$LINENO"; then :
   8893   eval $cacheid=yes
   8894 else
   8895   eval $cacheid=no
   8896 fi
   8897 rm -f core conftest.err conftest.$ac_objext \
   8898     conftest$ac_exeext conftest.$ac_ext
   8899 fi
   8900 
   8901 
   8902 		CFLAGS="$xorg_testset_save_CFLAGS"
   8903 
   8904 		eval supported=\$$cacheid
   8905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8906 $as_echo "$supported" >&6; }
   8907 		if test "$supported" = "yes" ; then
   8908 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8909 			found="yes"
   8910 		fi
   8911 	fi
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 xorg_testset_save_CFLAGS="$CFLAGS"
   8928 
   8929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8932 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8933 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8934   $as_echo_n "(cached) " >&6
   8935 else
   8936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8937 /* end confdefs.h.  */
   8938 int i;
   8939 _ACEOF
   8940 if ac_fn_c_try_compile "$LINENO"; then :
   8941   xorg_cv_cc_flag_unknown_warning_option=yes
   8942 else
   8943   xorg_cv_cc_flag_unknown_warning_option=no
   8944 fi
   8945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8946 fi
   8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8948 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8950 	CFLAGS="$xorg_testset_save_CFLAGS"
   8951 fi
   8952 
   8953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8956 	fi
   8957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8958 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8959 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8960 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8961   $as_echo_n "(cached) " >&6
   8962 else
   8963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8964 /* end confdefs.h.  */
   8965 int i;
   8966 _ACEOF
   8967 if ac_fn_c_try_compile "$LINENO"; then :
   8968   xorg_cv_cc_flag_unused_command_line_argument=yes
   8969 else
   8970   xorg_cv_cc_flag_unused_command_line_argument=no
   8971 fi
   8972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8973 fi
   8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8975 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8976 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8977 	CFLAGS="$xorg_testset_save_CFLAGS"
   8978 fi
   8979 
   8980 found="no"
   8981 
   8982 	if test $found = "no" ; then
   8983 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8984 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8985 		fi
   8986 
   8987 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8988 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8989 		fi
   8990 
   8991 		CFLAGS="$CFLAGS -Winit-self"
   8992 
   8993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8994 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8995 		cacheid=xorg_cv_cc_flag__Winit_self
   8996 		if eval \${$cacheid+:} false; then :
   8997   $as_echo_n "(cached) " >&6
   8998 else
   8999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 int i;
   9002 int
   9003 main ()
   9004 {
   9005 
   9006   ;
   9007   return 0;
   9008 }
   9009 _ACEOF
   9010 if ac_fn_c_try_link "$LINENO"; then :
   9011   eval $cacheid=yes
   9012 else
   9013   eval $cacheid=no
   9014 fi
   9015 rm -f core conftest.err conftest.$ac_objext \
   9016     conftest$ac_exeext conftest.$ac_ext
   9017 fi
   9018 
   9019 
   9020 		CFLAGS="$xorg_testset_save_CFLAGS"
   9021 
   9022 		eval supported=\$$cacheid
   9023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9024 $as_echo "$supported" >&6; }
   9025 		if test "$supported" = "yes" ; then
   9026 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9027 			found="yes"
   9028 		fi
   9029 	fi
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 xorg_testset_save_CFLAGS="$CFLAGS"
   9046 
   9047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9050 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9051 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9052   $as_echo_n "(cached) " >&6
   9053 else
   9054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9055 /* end confdefs.h.  */
   9056 int i;
   9057 _ACEOF
   9058 if ac_fn_c_try_compile "$LINENO"; then :
   9059   xorg_cv_cc_flag_unknown_warning_option=yes
   9060 else
   9061   xorg_cv_cc_flag_unknown_warning_option=no
   9062 fi
   9063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9064 fi
   9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9066 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9067 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9068 	CFLAGS="$xorg_testset_save_CFLAGS"
   9069 fi
   9070 
   9071 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9072 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9073 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9074 	fi
   9075 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9076 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9077 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9078 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9079   $as_echo_n "(cached) " >&6
   9080 else
   9081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9082 /* end confdefs.h.  */
   9083 int i;
   9084 _ACEOF
   9085 if ac_fn_c_try_compile "$LINENO"; then :
   9086   xorg_cv_cc_flag_unused_command_line_argument=yes
   9087 else
   9088   xorg_cv_cc_flag_unused_command_line_argument=no
   9089 fi
   9090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9091 fi
   9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9093 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9095 	CFLAGS="$xorg_testset_save_CFLAGS"
   9096 fi
   9097 
   9098 found="no"
   9099 
   9100 	if test $found = "no" ; then
   9101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9103 		fi
   9104 
   9105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9107 		fi
   9108 
   9109 		CFLAGS="$CFLAGS -Wmain"
   9110 
   9111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9112 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9113 		cacheid=xorg_cv_cc_flag__Wmain
   9114 		if eval \${$cacheid+:} false; then :
   9115   $as_echo_n "(cached) " >&6
   9116 else
   9117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9118 /* end confdefs.h.  */
   9119 int i;
   9120 int
   9121 main ()
   9122 {
   9123 
   9124   ;
   9125   return 0;
   9126 }
   9127 _ACEOF
   9128 if ac_fn_c_try_link "$LINENO"; then :
   9129   eval $cacheid=yes
   9130 else
   9131   eval $cacheid=no
   9132 fi
   9133 rm -f core conftest.err conftest.$ac_objext \
   9134     conftest$ac_exeext conftest.$ac_ext
   9135 fi
   9136 
   9137 
   9138 		CFLAGS="$xorg_testset_save_CFLAGS"
   9139 
   9140 		eval supported=\$$cacheid
   9141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9142 $as_echo "$supported" >&6; }
   9143 		if test "$supported" = "yes" ; then
   9144 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9145 			found="yes"
   9146 		fi
   9147 	fi
   9148 
   9149 
   9150 
   9151 
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 xorg_testset_save_CFLAGS="$CFLAGS"
   9164 
   9165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9168 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9169 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9170   $as_echo_n "(cached) " >&6
   9171 else
   9172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9173 /* end confdefs.h.  */
   9174 int i;
   9175 _ACEOF
   9176 if ac_fn_c_try_compile "$LINENO"; then :
   9177   xorg_cv_cc_flag_unknown_warning_option=yes
   9178 else
   9179   xorg_cv_cc_flag_unknown_warning_option=no
   9180 fi
   9181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9182 fi
   9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9184 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9185 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9186 	CFLAGS="$xorg_testset_save_CFLAGS"
   9187 fi
   9188 
   9189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9190 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9192 	fi
   9193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9195 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9196 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9197   $as_echo_n "(cached) " >&6
   9198 else
   9199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9200 /* end confdefs.h.  */
   9201 int i;
   9202 _ACEOF
   9203 if ac_fn_c_try_compile "$LINENO"; then :
   9204   xorg_cv_cc_flag_unused_command_line_argument=yes
   9205 else
   9206   xorg_cv_cc_flag_unused_command_line_argument=no
   9207 fi
   9208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9209 fi
   9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9211 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9213 	CFLAGS="$xorg_testset_save_CFLAGS"
   9214 fi
   9215 
   9216 found="no"
   9217 
   9218 	if test $found = "no" ; then
   9219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9221 		fi
   9222 
   9223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9225 		fi
   9226 
   9227 		CFLAGS="$CFLAGS -Wmissing-braces"
   9228 
   9229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9230 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9231 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9232 		if eval \${$cacheid+:} false; then :
   9233   $as_echo_n "(cached) " >&6
   9234 else
   9235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9236 /* end confdefs.h.  */
   9237 int i;
   9238 int
   9239 main ()
   9240 {
   9241 
   9242   ;
   9243   return 0;
   9244 }
   9245 _ACEOF
   9246 if ac_fn_c_try_link "$LINENO"; then :
   9247   eval $cacheid=yes
   9248 else
   9249   eval $cacheid=no
   9250 fi
   9251 rm -f core conftest.err conftest.$ac_objext \
   9252     conftest$ac_exeext conftest.$ac_ext
   9253 fi
   9254 
   9255 
   9256 		CFLAGS="$xorg_testset_save_CFLAGS"
   9257 
   9258 		eval supported=\$$cacheid
   9259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9260 $as_echo "$supported" >&6; }
   9261 		if test "$supported" = "yes" ; then
   9262 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9263 			found="yes"
   9264 		fi
   9265 	fi
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 xorg_testset_save_CFLAGS="$CFLAGS"
   9282 
   9283 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9284 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9286 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9287 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9288   $as_echo_n "(cached) " >&6
   9289 else
   9290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9291 /* end confdefs.h.  */
   9292 int i;
   9293 _ACEOF
   9294 if ac_fn_c_try_compile "$LINENO"; then :
   9295   xorg_cv_cc_flag_unknown_warning_option=yes
   9296 else
   9297   xorg_cv_cc_flag_unknown_warning_option=no
   9298 fi
   9299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9300 fi
   9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9302 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9303 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9304 	CFLAGS="$xorg_testset_save_CFLAGS"
   9305 fi
   9306 
   9307 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9308 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9309 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9310 	fi
   9311 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9313 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9314 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9315   $as_echo_n "(cached) " >&6
   9316 else
   9317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9318 /* end confdefs.h.  */
   9319 int i;
   9320 _ACEOF
   9321 if ac_fn_c_try_compile "$LINENO"; then :
   9322   xorg_cv_cc_flag_unused_command_line_argument=yes
   9323 else
   9324   xorg_cv_cc_flag_unused_command_line_argument=no
   9325 fi
   9326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9327 fi
   9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9329 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9330 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9331 	CFLAGS="$xorg_testset_save_CFLAGS"
   9332 fi
   9333 
   9334 found="no"
   9335 
   9336 	if test $found = "no" ; then
   9337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9339 		fi
   9340 
   9341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9343 		fi
   9344 
   9345 		CFLAGS="$CFLAGS -Wsequence-point"
   9346 
   9347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9348 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9349 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9350 		if eval \${$cacheid+:} false; then :
   9351   $as_echo_n "(cached) " >&6
   9352 else
   9353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9354 /* end confdefs.h.  */
   9355 int i;
   9356 int
   9357 main ()
   9358 {
   9359 
   9360   ;
   9361   return 0;
   9362 }
   9363 _ACEOF
   9364 if ac_fn_c_try_link "$LINENO"; then :
   9365   eval $cacheid=yes
   9366 else
   9367   eval $cacheid=no
   9368 fi
   9369 rm -f core conftest.err conftest.$ac_objext \
   9370     conftest$ac_exeext conftest.$ac_ext
   9371 fi
   9372 
   9373 
   9374 		CFLAGS="$xorg_testset_save_CFLAGS"
   9375 
   9376 		eval supported=\$$cacheid
   9377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9378 $as_echo "$supported" >&6; }
   9379 		if test "$supported" = "yes" ; then
   9380 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9381 			found="yes"
   9382 		fi
   9383 	fi
   9384 
   9385 
   9386 
   9387 
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 xorg_testset_save_CFLAGS="$CFLAGS"
   9400 
   9401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9404 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9405 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9406   $as_echo_n "(cached) " >&6
   9407 else
   9408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9409 /* end confdefs.h.  */
   9410 int i;
   9411 _ACEOF
   9412 if ac_fn_c_try_compile "$LINENO"; then :
   9413   xorg_cv_cc_flag_unknown_warning_option=yes
   9414 else
   9415   xorg_cv_cc_flag_unknown_warning_option=no
   9416 fi
   9417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9418 fi
   9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9420 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9422 	CFLAGS="$xorg_testset_save_CFLAGS"
   9423 fi
   9424 
   9425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9428 	fi
   9429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9431 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9432 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9433   $as_echo_n "(cached) " >&6
   9434 else
   9435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9436 /* end confdefs.h.  */
   9437 int i;
   9438 _ACEOF
   9439 if ac_fn_c_try_compile "$LINENO"; then :
   9440   xorg_cv_cc_flag_unused_command_line_argument=yes
   9441 else
   9442   xorg_cv_cc_flag_unused_command_line_argument=no
   9443 fi
   9444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9445 fi
   9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9447 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9449 	CFLAGS="$xorg_testset_save_CFLAGS"
   9450 fi
   9451 
   9452 found="no"
   9453 
   9454 	if test $found = "no" ; then
   9455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9457 		fi
   9458 
   9459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9461 		fi
   9462 
   9463 		CFLAGS="$CFLAGS -Wreturn-type"
   9464 
   9465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9466 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9467 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9468 		if eval \${$cacheid+:} false; then :
   9469   $as_echo_n "(cached) " >&6
   9470 else
   9471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9472 /* end confdefs.h.  */
   9473 int i;
   9474 int
   9475 main ()
   9476 {
   9477 
   9478   ;
   9479   return 0;
   9480 }
   9481 _ACEOF
   9482 if ac_fn_c_try_link "$LINENO"; then :
   9483   eval $cacheid=yes
   9484 else
   9485   eval $cacheid=no
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext \
   9488     conftest$ac_exeext conftest.$ac_ext
   9489 fi
   9490 
   9491 
   9492 		CFLAGS="$xorg_testset_save_CFLAGS"
   9493 
   9494 		eval supported=\$$cacheid
   9495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9496 $as_echo "$supported" >&6; }
   9497 		if test "$supported" = "yes" ; then
   9498 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9499 			found="yes"
   9500 		fi
   9501 	fi
   9502 
   9503 
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 xorg_testset_save_CFLAGS="$CFLAGS"
   9518 
   9519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9522 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9523 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9524   $as_echo_n "(cached) " >&6
   9525 else
   9526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9527 /* end confdefs.h.  */
   9528 int i;
   9529 _ACEOF
   9530 if ac_fn_c_try_compile "$LINENO"; then :
   9531   xorg_cv_cc_flag_unknown_warning_option=yes
   9532 else
   9533   xorg_cv_cc_flag_unknown_warning_option=no
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9536 fi
   9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9538 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9540 	CFLAGS="$xorg_testset_save_CFLAGS"
   9541 fi
   9542 
   9543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9546 	fi
   9547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9549 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9550 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9551   $as_echo_n "(cached) " >&6
   9552 else
   9553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9554 /* end confdefs.h.  */
   9555 int i;
   9556 _ACEOF
   9557 if ac_fn_c_try_compile "$LINENO"; then :
   9558   xorg_cv_cc_flag_unused_command_line_argument=yes
   9559 else
   9560   xorg_cv_cc_flag_unused_command_line_argument=no
   9561 fi
   9562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9563 fi
   9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9565 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9567 	CFLAGS="$xorg_testset_save_CFLAGS"
   9568 fi
   9569 
   9570 found="no"
   9571 
   9572 	if test $found = "no" ; then
   9573 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9575 		fi
   9576 
   9577 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9579 		fi
   9580 
   9581 		CFLAGS="$CFLAGS -Wtrigraphs"
   9582 
   9583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9584 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9585 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9586 		if eval \${$cacheid+:} false; then :
   9587   $as_echo_n "(cached) " >&6
   9588 else
   9589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9590 /* end confdefs.h.  */
   9591 int i;
   9592 int
   9593 main ()
   9594 {
   9595 
   9596   ;
   9597   return 0;
   9598 }
   9599 _ACEOF
   9600 if ac_fn_c_try_link "$LINENO"; then :
   9601   eval $cacheid=yes
   9602 else
   9603   eval $cacheid=no
   9604 fi
   9605 rm -f core conftest.err conftest.$ac_objext \
   9606     conftest$ac_exeext conftest.$ac_ext
   9607 fi
   9608 
   9609 
   9610 		CFLAGS="$xorg_testset_save_CFLAGS"
   9611 
   9612 		eval supported=\$$cacheid
   9613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9614 $as_echo "$supported" >&6; }
   9615 		if test "$supported" = "yes" ; then
   9616 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9617 			found="yes"
   9618 		fi
   9619 	fi
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 xorg_testset_save_CFLAGS="$CFLAGS"
   9636 
   9637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9640 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9641 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9642   $as_echo_n "(cached) " >&6
   9643 else
   9644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9645 /* end confdefs.h.  */
   9646 int i;
   9647 _ACEOF
   9648 if ac_fn_c_try_compile "$LINENO"; then :
   9649   xorg_cv_cc_flag_unknown_warning_option=yes
   9650 else
   9651   xorg_cv_cc_flag_unknown_warning_option=no
   9652 fi
   9653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9654 fi
   9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9656 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9657 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9658 	CFLAGS="$xorg_testset_save_CFLAGS"
   9659 fi
   9660 
   9661 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9662 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9664 	fi
   9665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9667 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9668 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9669   $as_echo_n "(cached) " >&6
   9670 else
   9671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9672 /* end confdefs.h.  */
   9673 int i;
   9674 _ACEOF
   9675 if ac_fn_c_try_compile "$LINENO"; then :
   9676   xorg_cv_cc_flag_unused_command_line_argument=yes
   9677 else
   9678   xorg_cv_cc_flag_unused_command_line_argument=no
   9679 fi
   9680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9681 fi
   9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9683 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9684 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9685 	CFLAGS="$xorg_testset_save_CFLAGS"
   9686 fi
   9687 
   9688 found="no"
   9689 
   9690 	if test $found = "no" ; then
   9691 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9693 		fi
   9694 
   9695 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9697 		fi
   9698 
   9699 		CFLAGS="$CFLAGS -Warray-bounds"
   9700 
   9701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9702 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9703 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9704 		if eval \${$cacheid+:} false; then :
   9705   $as_echo_n "(cached) " >&6
   9706 else
   9707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9708 /* end confdefs.h.  */
   9709 int i;
   9710 int
   9711 main ()
   9712 {
   9713 
   9714   ;
   9715   return 0;
   9716 }
   9717 _ACEOF
   9718 if ac_fn_c_try_link "$LINENO"; then :
   9719   eval $cacheid=yes
   9720 else
   9721   eval $cacheid=no
   9722 fi
   9723 rm -f core conftest.err conftest.$ac_objext \
   9724     conftest$ac_exeext conftest.$ac_ext
   9725 fi
   9726 
   9727 
   9728 		CFLAGS="$xorg_testset_save_CFLAGS"
   9729 
   9730 		eval supported=\$$cacheid
   9731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9732 $as_echo "$supported" >&6; }
   9733 		if test "$supported" = "yes" ; then
   9734 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9735 			found="yes"
   9736 		fi
   9737 	fi
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 xorg_testset_save_CFLAGS="$CFLAGS"
   9754 
   9755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9758 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9759 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9760   $as_echo_n "(cached) " >&6
   9761 else
   9762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9763 /* end confdefs.h.  */
   9764 int i;
   9765 _ACEOF
   9766 if ac_fn_c_try_compile "$LINENO"; then :
   9767   xorg_cv_cc_flag_unknown_warning_option=yes
   9768 else
   9769   xorg_cv_cc_flag_unknown_warning_option=no
   9770 fi
   9771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9772 fi
   9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9774 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9776 	CFLAGS="$xorg_testset_save_CFLAGS"
   9777 fi
   9778 
   9779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9782 	fi
   9783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9785 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9786 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9787   $as_echo_n "(cached) " >&6
   9788 else
   9789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9790 /* end confdefs.h.  */
   9791 int i;
   9792 _ACEOF
   9793 if ac_fn_c_try_compile "$LINENO"; then :
   9794   xorg_cv_cc_flag_unused_command_line_argument=yes
   9795 else
   9796   xorg_cv_cc_flag_unused_command_line_argument=no
   9797 fi
   9798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9799 fi
   9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9801 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9803 	CFLAGS="$xorg_testset_save_CFLAGS"
   9804 fi
   9805 
   9806 found="no"
   9807 
   9808 	if test $found = "no" ; then
   9809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9811 		fi
   9812 
   9813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9815 		fi
   9816 
   9817 		CFLAGS="$CFLAGS -Wwrite-strings"
   9818 
   9819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9820 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9821 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9822 		if eval \${$cacheid+:} false; then :
   9823   $as_echo_n "(cached) " >&6
   9824 else
   9825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9826 /* end confdefs.h.  */
   9827 int i;
   9828 int
   9829 main ()
   9830 {
   9831 
   9832   ;
   9833   return 0;
   9834 }
   9835 _ACEOF
   9836 if ac_fn_c_try_link "$LINENO"; then :
   9837   eval $cacheid=yes
   9838 else
   9839   eval $cacheid=no
   9840 fi
   9841 rm -f core conftest.err conftest.$ac_objext \
   9842     conftest$ac_exeext conftest.$ac_ext
   9843 fi
   9844 
   9845 
   9846 		CFLAGS="$xorg_testset_save_CFLAGS"
   9847 
   9848 		eval supported=\$$cacheid
   9849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9850 $as_echo "$supported" >&6; }
   9851 		if test "$supported" = "yes" ; then
   9852 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9853 			found="yes"
   9854 		fi
   9855 	fi
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 xorg_testset_save_CFLAGS="$CFLAGS"
   9872 
   9873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9877 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9878   $as_echo_n "(cached) " >&6
   9879 else
   9880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9881 /* end confdefs.h.  */
   9882 int i;
   9883 _ACEOF
   9884 if ac_fn_c_try_compile "$LINENO"; then :
   9885   xorg_cv_cc_flag_unknown_warning_option=yes
   9886 else
   9887   xorg_cv_cc_flag_unknown_warning_option=no
   9888 fi
   9889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9890 fi
   9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9892 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9894 	CFLAGS="$xorg_testset_save_CFLAGS"
   9895 fi
   9896 
   9897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9900 	fi
   9901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9903 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9904 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9905   $as_echo_n "(cached) " >&6
   9906 else
   9907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9908 /* end confdefs.h.  */
   9909 int i;
   9910 _ACEOF
   9911 if ac_fn_c_try_compile "$LINENO"; then :
   9912   xorg_cv_cc_flag_unused_command_line_argument=yes
   9913 else
   9914   xorg_cv_cc_flag_unused_command_line_argument=no
   9915 fi
   9916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9917 fi
   9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9919 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9921 	CFLAGS="$xorg_testset_save_CFLAGS"
   9922 fi
   9923 
   9924 found="no"
   9925 
   9926 	if test $found = "no" ; then
   9927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9929 		fi
   9930 
   9931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9933 		fi
   9934 
   9935 		CFLAGS="$CFLAGS -Waddress"
   9936 
   9937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9938 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9939 		cacheid=xorg_cv_cc_flag__Waddress
   9940 		if eval \${$cacheid+:} false; then :
   9941   $as_echo_n "(cached) " >&6
   9942 else
   9943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9944 /* end confdefs.h.  */
   9945 int i;
   9946 int
   9947 main ()
   9948 {
   9949 
   9950   ;
   9951   return 0;
   9952 }
   9953 _ACEOF
   9954 if ac_fn_c_try_link "$LINENO"; then :
   9955   eval $cacheid=yes
   9956 else
   9957   eval $cacheid=no
   9958 fi
   9959 rm -f core conftest.err conftest.$ac_objext \
   9960     conftest$ac_exeext conftest.$ac_ext
   9961 fi
   9962 
   9963 
   9964 		CFLAGS="$xorg_testset_save_CFLAGS"
   9965 
   9966 		eval supported=\$$cacheid
   9967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9968 $as_echo "$supported" >&6; }
   9969 		if test "$supported" = "yes" ; then
   9970 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9971 			found="yes"
   9972 		fi
   9973 	fi
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 xorg_testset_save_CFLAGS="$CFLAGS"
   9990 
   9991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9994 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9995 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9996   $as_echo_n "(cached) " >&6
   9997 else
   9998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9999 /* end confdefs.h.  */
   10000 int i;
   10001 _ACEOF
   10002 if ac_fn_c_try_compile "$LINENO"; then :
   10003   xorg_cv_cc_flag_unknown_warning_option=yes
   10004 else
   10005   xorg_cv_cc_flag_unknown_warning_option=no
   10006 fi
   10007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10008 fi
   10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10010 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10012 	CFLAGS="$xorg_testset_save_CFLAGS"
   10013 fi
   10014 
   10015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10018 	fi
   10019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10021 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10022 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10023   $as_echo_n "(cached) " >&6
   10024 else
   10025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10026 /* end confdefs.h.  */
   10027 int i;
   10028 _ACEOF
   10029 if ac_fn_c_try_compile "$LINENO"; then :
   10030   xorg_cv_cc_flag_unused_command_line_argument=yes
   10031 else
   10032   xorg_cv_cc_flag_unused_command_line_argument=no
   10033 fi
   10034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10035 fi
   10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10037 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10039 	CFLAGS="$xorg_testset_save_CFLAGS"
   10040 fi
   10041 
   10042 found="no"
   10043 
   10044 	if test $found = "no" ; then
   10045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10047 		fi
   10048 
   10049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10051 		fi
   10052 
   10053 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10054 
   10055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10056 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10057 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10058 		if eval \${$cacheid+:} false; then :
   10059   $as_echo_n "(cached) " >&6
   10060 else
   10061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10062 /* end confdefs.h.  */
   10063 int i;
   10064 int
   10065 main ()
   10066 {
   10067 
   10068   ;
   10069   return 0;
   10070 }
   10071 _ACEOF
   10072 if ac_fn_c_try_link "$LINENO"; then :
   10073   eval $cacheid=yes
   10074 else
   10075   eval $cacheid=no
   10076 fi
   10077 rm -f core conftest.err conftest.$ac_objext \
   10078     conftest$ac_exeext conftest.$ac_ext
   10079 fi
   10080 
   10081 
   10082 		CFLAGS="$xorg_testset_save_CFLAGS"
   10083 
   10084 		eval supported=\$$cacheid
   10085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10086 $as_echo "$supported" >&6; }
   10087 		if test "$supported" = "yes" ; then
   10088 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10089 			found="yes"
   10090 		fi
   10091 	fi
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 xorg_testset_save_CFLAGS="$CFLAGS"
   10108 
   10109 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10110 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10111 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10112 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10113 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10114   $as_echo_n "(cached) " >&6
   10115 else
   10116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10117 /* end confdefs.h.  */
   10118 int i;
   10119 _ACEOF
   10120 if ac_fn_c_try_compile "$LINENO"; then :
   10121   xorg_cv_cc_flag_unknown_warning_option=yes
   10122 else
   10123   xorg_cv_cc_flag_unknown_warning_option=no
   10124 fi
   10125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10126 fi
   10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10128 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10130 	CFLAGS="$xorg_testset_save_CFLAGS"
   10131 fi
   10132 
   10133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10136 	fi
   10137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10138 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10139 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10140 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10141   $as_echo_n "(cached) " >&6
   10142 else
   10143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10144 /* end confdefs.h.  */
   10145 int i;
   10146 _ACEOF
   10147 if ac_fn_c_try_compile "$LINENO"; then :
   10148   xorg_cv_cc_flag_unused_command_line_argument=yes
   10149 else
   10150   xorg_cv_cc_flag_unused_command_line_argument=no
   10151 fi
   10152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10153 fi
   10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10155 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10157 	CFLAGS="$xorg_testset_save_CFLAGS"
   10158 fi
   10159 
   10160 found="no"
   10161 
   10162 	if test $found = "no" ; then
   10163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10165 		fi
   10166 
   10167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10169 		fi
   10170 
   10171 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10172 
   10173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10174 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10175 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10176 		if eval \${$cacheid+:} false; then :
   10177   $as_echo_n "(cached) " >&6
   10178 else
   10179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10180 /* end confdefs.h.  */
   10181 int i;
   10182 int
   10183 main ()
   10184 {
   10185 
   10186   ;
   10187   return 0;
   10188 }
   10189 _ACEOF
   10190 if ac_fn_c_try_link "$LINENO"; then :
   10191   eval $cacheid=yes
   10192 else
   10193   eval $cacheid=no
   10194 fi
   10195 rm -f core conftest.err conftest.$ac_objext \
   10196     conftest$ac_exeext conftest.$ac_ext
   10197 fi
   10198 
   10199 
   10200 		CFLAGS="$xorg_testset_save_CFLAGS"
   10201 
   10202 		eval supported=\$$cacheid
   10203 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10204 $as_echo "$supported" >&6; }
   10205 		if test "$supported" = "yes" ; then
   10206 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10207 			found="yes"
   10208 		fi
   10209 	fi
   10210 
   10211 
   10212 fi
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 		CWARNFLAGS="$BASE_CFLAGS"
   10221 		if  test "x$GCC" = xyes ; then
   10222 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10223 		fi
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 # Check whether --enable-strict-compilation was given.
   10233 if test "${enable_strict_compilation+set}" = set; then :
   10234   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10235 else
   10236   STRICT_COMPILE=no
   10237 fi
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 STRICT_CFLAGS=""
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 xorg_testset_save_CFLAGS="$CFLAGS"
   10259 
   10260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10262 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10263 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10264 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10265   $as_echo_n "(cached) " >&6
   10266 else
   10267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10268 /* end confdefs.h.  */
   10269 int i;
   10270 _ACEOF
   10271 if ac_fn_c_try_compile "$LINENO"; then :
   10272   xorg_cv_cc_flag_unknown_warning_option=yes
   10273 else
   10274   xorg_cv_cc_flag_unknown_warning_option=no
   10275 fi
   10276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10277 fi
   10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10279 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10280 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10281 	CFLAGS="$xorg_testset_save_CFLAGS"
   10282 fi
   10283 
   10284 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10285 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10286 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10287 	fi
   10288 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10290 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10291 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10292   $as_echo_n "(cached) " >&6
   10293 else
   10294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10295 /* end confdefs.h.  */
   10296 int i;
   10297 _ACEOF
   10298 if ac_fn_c_try_compile "$LINENO"; then :
   10299   xorg_cv_cc_flag_unused_command_line_argument=yes
   10300 else
   10301   xorg_cv_cc_flag_unused_command_line_argument=no
   10302 fi
   10303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10304 fi
   10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10306 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10308 	CFLAGS="$xorg_testset_save_CFLAGS"
   10309 fi
   10310 
   10311 found="no"
   10312 
   10313 	if test $found = "no" ; then
   10314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10316 		fi
   10317 
   10318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10320 		fi
   10321 
   10322 		CFLAGS="$CFLAGS -pedantic"
   10323 
   10324 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10325 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10326 		cacheid=xorg_cv_cc_flag__pedantic
   10327 		if eval \${$cacheid+:} false; then :
   10328   $as_echo_n "(cached) " >&6
   10329 else
   10330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10331 /* end confdefs.h.  */
   10332 int i;
   10333 int
   10334 main ()
   10335 {
   10336 
   10337   ;
   10338   return 0;
   10339 }
   10340 _ACEOF
   10341 if ac_fn_c_try_link "$LINENO"; then :
   10342   eval $cacheid=yes
   10343 else
   10344   eval $cacheid=no
   10345 fi
   10346 rm -f core conftest.err conftest.$ac_objext \
   10347     conftest$ac_exeext conftest.$ac_ext
   10348 fi
   10349 
   10350 
   10351 		CFLAGS="$xorg_testset_save_CFLAGS"
   10352 
   10353 		eval supported=\$$cacheid
   10354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10355 $as_echo "$supported" >&6; }
   10356 		if test "$supported" = "yes" ; then
   10357 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10358 			found="yes"
   10359 		fi
   10360 	fi
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 xorg_testset_save_CFLAGS="$CFLAGS"
   10377 
   10378 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10379 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10380 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10381 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10382 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10383   $as_echo_n "(cached) " >&6
   10384 else
   10385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10386 /* end confdefs.h.  */
   10387 int i;
   10388 _ACEOF
   10389 if ac_fn_c_try_compile "$LINENO"; then :
   10390   xorg_cv_cc_flag_unknown_warning_option=yes
   10391 else
   10392   xorg_cv_cc_flag_unknown_warning_option=no
   10393 fi
   10394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10395 fi
   10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10397 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10398 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10399 	CFLAGS="$xorg_testset_save_CFLAGS"
   10400 fi
   10401 
   10402 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10403 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10404 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10405 	fi
   10406 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10408 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10409 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10410   $as_echo_n "(cached) " >&6
   10411 else
   10412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10413 /* end confdefs.h.  */
   10414 int i;
   10415 _ACEOF
   10416 if ac_fn_c_try_compile "$LINENO"; then :
   10417   xorg_cv_cc_flag_unused_command_line_argument=yes
   10418 else
   10419   xorg_cv_cc_flag_unused_command_line_argument=no
   10420 fi
   10421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10422 fi
   10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10424 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10425 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10426 	CFLAGS="$xorg_testset_save_CFLAGS"
   10427 fi
   10428 
   10429 found="no"
   10430 
   10431 	if test $found = "no" ; then
   10432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10434 		fi
   10435 
   10436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10438 		fi
   10439 
   10440 		CFLAGS="$CFLAGS -Werror"
   10441 
   10442 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10443 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10444 		cacheid=xorg_cv_cc_flag__Werror
   10445 		if eval \${$cacheid+:} false; then :
   10446   $as_echo_n "(cached) " >&6
   10447 else
   10448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 int i;
   10451 int
   10452 main ()
   10453 {
   10454 
   10455   ;
   10456   return 0;
   10457 }
   10458 _ACEOF
   10459 if ac_fn_c_try_link "$LINENO"; then :
   10460   eval $cacheid=yes
   10461 else
   10462   eval $cacheid=no
   10463 fi
   10464 rm -f core conftest.err conftest.$ac_objext \
   10465     conftest$ac_exeext conftest.$ac_ext
   10466 fi
   10467 
   10468 
   10469 		CFLAGS="$xorg_testset_save_CFLAGS"
   10470 
   10471 		eval supported=\$$cacheid
   10472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10473 $as_echo "$supported" >&6; }
   10474 		if test "$supported" = "yes" ; then
   10475 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10476 			found="yes"
   10477 		fi
   10478 	fi
   10479 
   10480 	if test $found = "no" ; then
   10481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10483 		fi
   10484 
   10485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10487 		fi
   10488 
   10489 		CFLAGS="$CFLAGS -errwarn"
   10490 
   10491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10492 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10493 		cacheid=xorg_cv_cc_flag__errwarn
   10494 		if eval \${$cacheid+:} false; then :
   10495   $as_echo_n "(cached) " >&6
   10496 else
   10497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10498 /* end confdefs.h.  */
   10499 int i;
   10500 int
   10501 main ()
   10502 {
   10503 
   10504   ;
   10505   return 0;
   10506 }
   10507 _ACEOF
   10508 if ac_fn_c_try_link "$LINENO"; then :
   10509   eval $cacheid=yes
   10510 else
   10511   eval $cacheid=no
   10512 fi
   10513 rm -f core conftest.err conftest.$ac_objext \
   10514     conftest$ac_exeext conftest.$ac_ext
   10515 fi
   10516 
   10517 
   10518 		CFLAGS="$xorg_testset_save_CFLAGS"
   10519 
   10520 		eval supported=\$$cacheid
   10521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10522 $as_echo "$supported" >&6; }
   10523 		if test "$supported" = "yes" ; then
   10524 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10525 			found="yes"
   10526 		fi
   10527 	fi
   10528 
   10529 
   10530 
   10531 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10532 # activate it with -Werror, so we add it here explicitly.
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 xorg_testset_save_CFLAGS="$CFLAGS"
   10547 
   10548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10553   $as_echo_n "(cached) " >&6
   10554 else
   10555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10556 /* end confdefs.h.  */
   10557 int i;
   10558 _ACEOF
   10559 if ac_fn_c_try_compile "$LINENO"; then :
   10560   xorg_cv_cc_flag_unknown_warning_option=yes
   10561 else
   10562   xorg_cv_cc_flag_unknown_warning_option=no
   10563 fi
   10564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10565 fi
   10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10569 	CFLAGS="$xorg_testset_save_CFLAGS"
   10570 fi
   10571 
   10572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10575 	fi
   10576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10580   $as_echo_n "(cached) " >&6
   10581 else
   10582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10583 /* end confdefs.h.  */
   10584 int i;
   10585 _ACEOF
   10586 if ac_fn_c_try_compile "$LINENO"; then :
   10587   xorg_cv_cc_flag_unused_command_line_argument=yes
   10588 else
   10589   xorg_cv_cc_flag_unused_command_line_argument=no
   10590 fi
   10591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10592 fi
   10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10596 	CFLAGS="$xorg_testset_save_CFLAGS"
   10597 fi
   10598 
   10599 found="no"
   10600 
   10601 	if test $found = "no" ; then
   10602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10604 		fi
   10605 
   10606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10608 		fi
   10609 
   10610 		CFLAGS="$CFLAGS -Werror=attributes"
   10611 
   10612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10613 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10614 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10615 		if eval \${$cacheid+:} false; then :
   10616   $as_echo_n "(cached) " >&6
   10617 else
   10618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10619 /* end confdefs.h.  */
   10620 int i;
   10621 int
   10622 main ()
   10623 {
   10624 
   10625   ;
   10626   return 0;
   10627 }
   10628 _ACEOF
   10629 if ac_fn_c_try_link "$LINENO"; then :
   10630   eval $cacheid=yes
   10631 else
   10632   eval $cacheid=no
   10633 fi
   10634 rm -f core conftest.err conftest.$ac_objext \
   10635     conftest$ac_exeext conftest.$ac_ext
   10636 fi
   10637 
   10638 
   10639 		CFLAGS="$xorg_testset_save_CFLAGS"
   10640 
   10641 		eval supported=\$$cacheid
   10642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10643 $as_echo "$supported" >&6; }
   10644 		if test "$supported" = "yes" ; then
   10645 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10646 			found="yes"
   10647 		fi
   10648 	fi
   10649 
   10650 
   10651 
   10652 if test "x$STRICT_COMPILE" = "xyes"; then
   10653     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10654     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10655 fi
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 cat >>confdefs.h <<_ACEOF
   10663 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10664 _ACEOF
   10665 
   10666 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10667 	if test "x$PVM" = "x"; then
   10668 		PVM="0"
   10669 	fi
   10670 
   10671 cat >>confdefs.h <<_ACEOF
   10672 #define PACKAGE_VERSION_MINOR $PVM
   10673 _ACEOF
   10674 
   10675 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10676 	if test "x$PVP" = "x"; then
   10677 		PVP="0"
   10678 	fi
   10679 
   10680 cat >>confdefs.h <<_ACEOF
   10681 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10682 _ACEOF
   10683 
   10684 
   10685 
   10686 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10687 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10688 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10689 touch \$(top_srcdir)/ChangeLog; \
   10690 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10691 
   10692 
   10693 
   10694 
   10695 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10696 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10697 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10698 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10699 touch \$(top_srcdir)/INSTALL; \
   10700 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 case $host_os in
   10708     solaris*)
   10709         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10710         # check for a man page file found in later versions that use
   10711         # traditional section numbers instead
   10712         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10713 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10714 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10715   $as_echo_n "(cached) " >&6
   10716 else
   10717   test "$cross_compiling" = yes &&
   10718   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10719 if test -r "/usr/share/man/man7/attributes.7"; then
   10720   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10721 else
   10722   ac_cv_file__usr_share_man_man7_attributes_7=no
   10723 fi
   10724 fi
   10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10726 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10727 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10728   SYSV_MAN_SECTIONS=false
   10729 else
   10730   SYSV_MAN_SECTIONS=true
   10731 fi
   10732 
   10733         ;;
   10734     *) SYSV_MAN_SECTIONS=false ;;
   10735 esac
   10736 
   10737 if test x$APP_MAN_SUFFIX = x    ; then
   10738     APP_MAN_SUFFIX=1
   10739 fi
   10740 if test x$APP_MAN_DIR = x    ; then
   10741     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10742 fi
   10743 
   10744 if test x$LIB_MAN_SUFFIX = x    ; then
   10745     LIB_MAN_SUFFIX=3
   10746 fi
   10747 if test x$LIB_MAN_DIR = x    ; then
   10748     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10749 fi
   10750 
   10751 if test x$FILE_MAN_SUFFIX = x    ; then
   10752     case $SYSV_MAN_SECTIONS in
   10753 	true)				FILE_MAN_SUFFIX=4  ;;
   10754 	*)				FILE_MAN_SUFFIX=5  ;;
   10755     esac
   10756 fi
   10757 if test x$FILE_MAN_DIR = x    ; then
   10758     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10759 fi
   10760 
   10761 if test x$MISC_MAN_SUFFIX = x    ; then
   10762     case $SYSV_MAN_SECTIONS in
   10763 	true)				MISC_MAN_SUFFIX=5  ;;
   10764 	*)				MISC_MAN_SUFFIX=7  ;;
   10765     esac
   10766 fi
   10767 if test x$MISC_MAN_DIR = x    ; then
   10768     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10769 fi
   10770 
   10771 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10772     case $SYSV_MAN_SECTIONS in
   10773 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10774 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10775     esac
   10776 fi
   10777 if test x$DRIVER_MAN_DIR = x    ; then
   10778     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10779 fi
   10780 
   10781 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10782     case $SYSV_MAN_SECTIONS in
   10783 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10784 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10785     esac
   10786 fi
   10787 if test x$ADMIN_MAN_DIR = x    ; then
   10788     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10789 fi
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 XORG_MAN_PAGE="X Version 11"
   10806 
   10807 MAN_SUBSTS="\
   10808 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10809 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10810 	-e 's|__xservername__|Xorg|g' \
   10811 	-e 's|__xconfigfile__|xorg.conf|g' \
   10812 	-e 's|__projectroot__|\$(prefix)|g' \
   10813 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10814 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10815 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10816 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10817 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10818 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10819 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10820 
   10821 
   10822 
   10823 # Check whether --enable-silent-rules was given.
   10824 if test "${enable_silent_rules+set}" = set; then :
   10825   enableval=$enable_silent_rules;
   10826 fi
   10827 
   10828 case $enable_silent_rules in # (((
   10829   yes) AM_DEFAULT_VERBOSITY=0;;
   10830    no) AM_DEFAULT_VERBOSITY=1;;
   10831     *) AM_DEFAULT_VERBOSITY=0;;
   10832 esac
   10833 am_make=${MAKE-make}
   10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10835 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10836 if ${am_cv_make_support_nested_variables+:} false; then :
   10837   $as_echo_n "(cached) " >&6
   10838 else
   10839   if $as_echo 'TRUE=$(BAR$(V))
   10840 BAR0=false
   10841 BAR1=true
   10842 V=1
   10843 am__doit:
   10844 	@$(TRUE)
   10845 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10846   am_cv_make_support_nested_variables=yes
   10847 else
   10848   am_cv_make_support_nested_variables=no
   10849 fi
   10850 fi
   10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10852 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10853 if test $am_cv_make_support_nested_variables = yes; then
   10854     AM_V='$(V)'
   10855   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10856 else
   10857   AM_V=$AM_DEFAULT_VERBOSITY
   10858   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10859 fi
   10860 AM_BACKSLASH='\'
   10861 
   10862 
   10863 
   10864 # Require X.Org server macros (i.e. XORG_DRIVER_CHECK_EXT) to check for required modules
   10865 
   10866 
   10867 # Initialize libtool
   10868 case `pwd` in
   10869   *\ * | *\	*)
   10870     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10871 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10872 esac
   10873 
   10874 
   10875 
   10876 macro_version='2.4.6'
   10877 macro_revision='2.4.6'
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 ltmain=$ac_aux_dir/ltmain.sh
   10892 
   10893 # Backslashify metacharacters that are still active within
   10894 # double-quoted strings.
   10895 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10896 
   10897 # Same as above, but do not quote variable references.
   10898 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10899 
   10900 # Sed substitution to delay expansion of an escaped shell variable in a
   10901 # double_quote_subst'ed string.
   10902 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10903 
   10904 # Sed substitution to delay expansion of an escaped single quote.
   10905 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10906 
   10907 # Sed substitution to avoid accidental globbing in evaled expressions
   10908 no_glob_subst='s/\*/\\\*/g'
   10909 
   10910 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10911 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10912 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10913 
   10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10915 $as_echo_n "checking how to print strings... " >&6; }
   10916 # Test print first, because it will be a builtin if present.
   10917 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10918    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10919   ECHO='print -r --'
   10920 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10921   ECHO='printf %s\n'
   10922 else
   10923   # Use this function as a fallback that always works.
   10924   func_fallback_echo ()
   10925   {
   10926     eval 'cat <<_LTECHO_EOF
   10927 $1
   10928 _LTECHO_EOF'
   10929   }
   10930   ECHO='func_fallback_echo'
   10931 fi
   10932 
   10933 # func_echo_all arg...
   10934 # Invoke $ECHO with all args, space-separated.
   10935 func_echo_all ()
   10936 {
   10937     $ECHO ""
   10938 }
   10939 
   10940 case $ECHO in
   10941   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10942 $as_echo "printf" >&6; } ;;
   10943   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10944 $as_echo "print -r" >&6; } ;;
   10945   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10946 $as_echo "cat" >&6; } ;;
   10947 esac
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10963 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10964 if ${ac_cv_path_SED+:} false; then :
   10965   $as_echo_n "(cached) " >&6
   10966 else
   10967             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10968      for ac_i in 1 2 3 4 5 6 7; do
   10969        ac_script="$ac_script$as_nl$ac_script"
   10970      done
   10971      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10972      { ac_script=; unset ac_script;}
   10973      if test -z "$SED"; then
   10974   ac_path_SED_found=false
   10975   # Loop through the user's path and test for each of PROGNAME-LIST
   10976   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10977 for as_dir in $PATH
   10978 do
   10979   IFS=$as_save_IFS
   10980   test -z "$as_dir" && as_dir=.
   10981     for ac_prog in sed gsed; do
   10982     for ac_exec_ext in '' $ac_executable_extensions; do
   10983       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10984       as_fn_executable_p "$ac_path_SED" || continue
   10985 # Check for GNU ac_path_SED and select it if it is found.
   10986   # Check for GNU $ac_path_SED
   10987 case `"$ac_path_SED" --version 2>&1` in
   10988 *GNU*)
   10989   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10990 *)
   10991   ac_count=0
   10992   $as_echo_n 0123456789 >"conftest.in"
   10993   while :
   10994   do
   10995     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10996     mv "conftest.tmp" "conftest.in"
   10997     cp "conftest.in" "conftest.nl"
   10998     $as_echo '' >> "conftest.nl"
   10999     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11000     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11001     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11002     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11003       # Best one so far, save it but keep looking for a better one
   11004       ac_cv_path_SED="$ac_path_SED"
   11005       ac_path_SED_max=$ac_count
   11006     fi
   11007     # 10*(2^10) chars as input seems more than enough
   11008     test $ac_count -gt 10 && break
   11009   done
   11010   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11011 esac
   11012 
   11013       $ac_path_SED_found && break 3
   11014     done
   11015   done
   11016   done
   11017 IFS=$as_save_IFS
   11018   if test -z "$ac_cv_path_SED"; then
   11019     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11020   fi
   11021 else
   11022   ac_cv_path_SED=$SED
   11023 fi
   11024 
   11025 fi
   11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11027 $as_echo "$ac_cv_path_SED" >&6; }
   11028  SED="$ac_cv_path_SED"
   11029   rm -f conftest.sed
   11030 
   11031 test -z "$SED" && SED=sed
   11032 Xsed="$SED -e 1s/^X//"
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11045 $as_echo_n "checking for fgrep... " >&6; }
   11046 if ${ac_cv_path_FGREP+:} false; then :
   11047   $as_echo_n "(cached) " >&6
   11048 else
   11049   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11050    then ac_cv_path_FGREP="$GREP -F"
   11051    else
   11052      if test -z "$FGREP"; then
   11053   ac_path_FGREP_found=false
   11054   # Loop through the user's path and test for each of PROGNAME-LIST
   11055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11056 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11057 do
   11058   IFS=$as_save_IFS
   11059   test -z "$as_dir" && as_dir=.
   11060     for ac_prog in fgrep; do
   11061     for ac_exec_ext in '' $ac_executable_extensions; do
   11062       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11063       as_fn_executable_p "$ac_path_FGREP" || continue
   11064 # Check for GNU ac_path_FGREP and select it if it is found.
   11065   # Check for GNU $ac_path_FGREP
   11066 case `"$ac_path_FGREP" --version 2>&1` in
   11067 *GNU*)
   11068   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11069 *)
   11070   ac_count=0
   11071   $as_echo_n 0123456789 >"conftest.in"
   11072   while :
   11073   do
   11074     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11075     mv "conftest.tmp" "conftest.in"
   11076     cp "conftest.in" "conftest.nl"
   11077     $as_echo 'FGREP' >> "conftest.nl"
   11078     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11079     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11080     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11081     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11082       # Best one so far, save it but keep looking for a better one
   11083       ac_cv_path_FGREP="$ac_path_FGREP"
   11084       ac_path_FGREP_max=$ac_count
   11085     fi
   11086     # 10*(2^10) chars as input seems more than enough
   11087     test $ac_count -gt 10 && break
   11088   done
   11089   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11090 esac
   11091 
   11092       $ac_path_FGREP_found && break 3
   11093     done
   11094   done
   11095   done
   11096 IFS=$as_save_IFS
   11097   if test -z "$ac_cv_path_FGREP"; then
   11098     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11099   fi
   11100 else
   11101   ac_cv_path_FGREP=$FGREP
   11102 fi
   11103 
   11104    fi
   11105 fi
   11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11107 $as_echo "$ac_cv_path_FGREP" >&6; }
   11108  FGREP="$ac_cv_path_FGREP"
   11109 
   11110 
   11111 test -z "$GREP" && GREP=grep
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 # Check whether --with-gnu-ld was given.
   11132 if test "${with_gnu_ld+set}" = set; then :
   11133   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11134 else
   11135   with_gnu_ld=no
   11136 fi
   11137 
   11138 ac_prog=ld
   11139 if test yes = "$GCC"; then
   11140   # Check if gcc -print-prog-name=ld gives a path.
   11141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11142 $as_echo_n "checking for ld used by $CC... " >&6; }
   11143   case $host in
   11144   *-*-mingw*)
   11145     # gcc leaves a trailing carriage return, which upsets mingw
   11146     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11147   *)
   11148     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11149   esac
   11150   case $ac_prog in
   11151     # Accept absolute paths.
   11152     [\\/]* | ?:[\\/]*)
   11153       re_direlt='/[^/][^/]*/\.\./'
   11154       # Canonicalize the pathname of ld
   11155       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11156       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11157 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11158       done
   11159       test -z "$LD" && LD=$ac_prog
   11160       ;;
   11161   "")
   11162     # If it fails, then pretend we aren't using GCC.
   11163     ac_prog=ld
   11164     ;;
   11165   *)
   11166     # If it is relative, then search for the first ld in PATH.
   11167     with_gnu_ld=unknown
   11168     ;;
   11169   esac
   11170 elif test yes = "$with_gnu_ld"; then
   11171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11172 $as_echo_n "checking for GNU ld... " >&6; }
   11173 else
   11174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11175 $as_echo_n "checking for non-GNU ld... " >&6; }
   11176 fi
   11177 if ${lt_cv_path_LD+:} false; then :
   11178   $as_echo_n "(cached) " >&6
   11179 else
   11180   if test -z "$LD"; then
   11181   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11182   for ac_dir in $PATH; do
   11183     IFS=$lt_save_ifs
   11184     test -z "$ac_dir" && ac_dir=.
   11185     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11186       lt_cv_path_LD=$ac_dir/$ac_prog
   11187       # Check to see if the program is GNU ld.  I'd rather use --version,
   11188       # but apparently some variants of GNU ld only accept -v.
   11189       # Break only if it was the GNU/non-GNU ld that we prefer.
   11190       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11191       *GNU* | *'with BFD'*)
   11192 	test no != "$with_gnu_ld" && break
   11193 	;;
   11194       *)
   11195 	test yes != "$with_gnu_ld" && break
   11196 	;;
   11197       esac
   11198     fi
   11199   done
   11200   IFS=$lt_save_ifs
   11201 else
   11202   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11203 fi
   11204 fi
   11205 
   11206 LD=$lt_cv_path_LD
   11207 if test -n "$LD"; then
   11208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11209 $as_echo "$LD" >&6; }
   11210 else
   11211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11212 $as_echo "no" >&6; }
   11213 fi
   11214 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11216 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11217 if ${lt_cv_prog_gnu_ld+:} false; then :
   11218   $as_echo_n "(cached) " >&6
   11219 else
   11220   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11221 case `$LD -v 2>&1 </dev/null` in
   11222 *GNU* | *'with BFD'*)
   11223   lt_cv_prog_gnu_ld=yes
   11224   ;;
   11225 *)
   11226   lt_cv_prog_gnu_ld=no
   11227   ;;
   11228 esac
   11229 fi
   11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11231 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11232 with_gnu_ld=$lt_cv_prog_gnu_ld
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11243 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11244 if ${lt_cv_path_NM+:} false; then :
   11245   $as_echo_n "(cached) " >&6
   11246 else
   11247   if test -n "$NM"; then
   11248   # Let the user override the test.
   11249   lt_cv_path_NM=$NM
   11250 else
   11251   lt_nm_to_check=${ac_tool_prefix}nm
   11252   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11253     lt_nm_to_check="$lt_nm_to_check nm"
   11254   fi
   11255   for lt_tmp_nm in $lt_nm_to_check; do
   11256     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11257     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11258       IFS=$lt_save_ifs
   11259       test -z "$ac_dir" && ac_dir=.
   11260       tmp_nm=$ac_dir/$lt_tmp_nm
   11261       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11262 	# Check to see if the nm accepts a BSD-compat flag.
   11263 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11264 	#   nm: unknown option "B" ignored
   11265 	# Tru64's nm complains that /dev/null is an invalid object file
   11266 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11267 	case $build_os in
   11268 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11269 	*) lt_bad_file=/dev/null ;;
   11270 	esac
   11271 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11272 	*$lt_bad_file* | *'Invalid file or object type'*)
   11273 	  lt_cv_path_NM="$tmp_nm -B"
   11274 	  break 2
   11275 	  ;;
   11276 	*)
   11277 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11278 	  */dev/null*)
   11279 	    lt_cv_path_NM="$tmp_nm -p"
   11280 	    break 2
   11281 	    ;;
   11282 	  *)
   11283 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11284 	    continue # so that we can try to find one that supports BSD flags
   11285 	    ;;
   11286 	  esac
   11287 	  ;;
   11288 	esac
   11289       fi
   11290     done
   11291     IFS=$lt_save_ifs
   11292   done
   11293   : ${lt_cv_path_NM=no}
   11294 fi
   11295 fi
   11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11297 $as_echo "$lt_cv_path_NM" >&6; }
   11298 if test no != "$lt_cv_path_NM"; then
   11299   NM=$lt_cv_path_NM
   11300 else
   11301   # Didn't find any BSD compatible name lister, look for dumpbin.
   11302   if test -n "$DUMPBIN"; then :
   11303     # Let the user override the test.
   11304   else
   11305     if test -n "$ac_tool_prefix"; then
   11306   for ac_prog in dumpbin "link -dump"
   11307   do
   11308     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11311 $as_echo_n "checking for $ac_word... " >&6; }
   11312 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11313   $as_echo_n "(cached) " >&6
   11314 else
   11315   if test -n "$DUMPBIN"; then
   11316   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11317 else
   11318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11319 for as_dir in $PATH
   11320 do
   11321   IFS=$as_save_IFS
   11322   test -z "$as_dir" && as_dir=.
   11323     for ac_exec_ext in '' $ac_executable_extensions; do
   11324   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11325     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11327     break 2
   11328   fi
   11329 done
   11330   done
   11331 IFS=$as_save_IFS
   11332 
   11333 fi
   11334 fi
   11335 DUMPBIN=$ac_cv_prog_DUMPBIN
   11336 if test -n "$DUMPBIN"; then
   11337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11338 $as_echo "$DUMPBIN" >&6; }
   11339 else
   11340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11341 $as_echo "no" >&6; }
   11342 fi
   11343 
   11344 
   11345     test -n "$DUMPBIN" && break
   11346   done
   11347 fi
   11348 if test -z "$DUMPBIN"; then
   11349   ac_ct_DUMPBIN=$DUMPBIN
   11350   for ac_prog in dumpbin "link -dump"
   11351 do
   11352   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11353 set dummy $ac_prog; ac_word=$2
   11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11355 $as_echo_n "checking for $ac_word... " >&6; }
   11356 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11357   $as_echo_n "(cached) " >&6
   11358 else
   11359   if test -n "$ac_ct_DUMPBIN"; then
   11360   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11361 else
   11362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11363 for as_dir in $PATH
   11364 do
   11365   IFS=$as_save_IFS
   11366   test -z "$as_dir" && as_dir=.
   11367     for ac_exec_ext in '' $ac_executable_extensions; do
   11368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11369     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11371     break 2
   11372   fi
   11373 done
   11374   done
   11375 IFS=$as_save_IFS
   11376 
   11377 fi
   11378 fi
   11379 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11380 if test -n "$ac_ct_DUMPBIN"; then
   11381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11382 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11383 else
   11384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11385 $as_echo "no" >&6; }
   11386 fi
   11387 
   11388 
   11389   test -n "$ac_ct_DUMPBIN" && break
   11390 done
   11391 
   11392   if test "x$ac_ct_DUMPBIN" = x; then
   11393     DUMPBIN=":"
   11394   else
   11395     case $cross_compiling:$ac_tool_warned in
   11396 yes:)
   11397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11399 ac_tool_warned=yes ;;
   11400 esac
   11401     DUMPBIN=$ac_ct_DUMPBIN
   11402   fi
   11403 fi
   11404 
   11405     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11406     *COFF*)
   11407       DUMPBIN="$DUMPBIN -symbols -headers"
   11408       ;;
   11409     *)
   11410       DUMPBIN=:
   11411       ;;
   11412     esac
   11413   fi
   11414 
   11415   if test : != "$DUMPBIN"; then
   11416     NM=$DUMPBIN
   11417   fi
   11418 fi
   11419 test -z "$NM" && NM=nm
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11427 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11428 if ${lt_cv_nm_interface+:} false; then :
   11429   $as_echo_n "(cached) " >&6
   11430 else
   11431   lt_cv_nm_interface="BSD nm"
   11432   echo "int some_variable = 0;" > conftest.$ac_ext
   11433   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11434   (eval "$ac_compile" 2>conftest.err)
   11435   cat conftest.err >&5
   11436   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11437   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11438   cat conftest.err >&5
   11439   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11440   cat conftest.out >&5
   11441   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11442     lt_cv_nm_interface="MS dumpbin"
   11443   fi
   11444   rm -f conftest*
   11445 fi
   11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11447 $as_echo "$lt_cv_nm_interface" >&6; }
   11448 
   11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11450 $as_echo_n "checking whether ln -s works... " >&6; }
   11451 LN_S=$as_ln_s
   11452 if test "$LN_S" = "ln -s"; then
   11453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11454 $as_echo "yes" >&6; }
   11455 else
   11456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11457 $as_echo "no, using $LN_S" >&6; }
   11458 fi
   11459 
   11460 # find the maximum length of command line arguments
   11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11462 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11463 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11464   $as_echo_n "(cached) " >&6
   11465 else
   11466     i=0
   11467   teststring=ABCD
   11468 
   11469   case $build_os in
   11470   msdosdjgpp*)
   11471     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11472     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11473     # during glob expansion).  Even if it were fixed, the result of this
   11474     # check would be larger than it should be.
   11475     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11476     ;;
   11477 
   11478   gnu*)
   11479     # Under GNU Hurd, this test is not required because there is
   11480     # no limit to the length of command line arguments.
   11481     # Libtool will interpret -1 as no limit whatsoever
   11482     lt_cv_sys_max_cmd_len=-1;
   11483     ;;
   11484 
   11485   cygwin* | mingw* | cegcc*)
   11486     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11487     # about 5 minutes as the teststring grows exponentially.
   11488     # Worse, since 9x/ME are not pre-emptively multitasking,
   11489     # you end up with a "frozen" computer, even though with patience
   11490     # the test eventually succeeds (with a max line length of 256k).
   11491     # Instead, let's just punt: use the minimum linelength reported by
   11492     # all of the supported platforms: 8192 (on NT/2K/XP).
   11493     lt_cv_sys_max_cmd_len=8192;
   11494     ;;
   11495 
   11496   mint*)
   11497     # On MiNT this can take a long time and run out of memory.
   11498     lt_cv_sys_max_cmd_len=8192;
   11499     ;;
   11500 
   11501   mint*)
   11502     # On MiNT this can take a long time and run out of memory.
   11503     lt_cv_sys_max_cmd_len=8192;
   11504     ;;
   11505 
   11506   amigaos*)
   11507     # On AmigaOS with pdksh, this test takes hours, literally.
   11508     # So we just punt and use a minimum line length of 8192.
   11509     lt_cv_sys_max_cmd_len=8192;
   11510     ;;
   11511 
   11512   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11513     # This has been around since 386BSD, at least.  Likely further.
   11514     if test -x /sbin/sysctl; then
   11515       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11516     elif test -x /usr/sbin/sysctl; then
   11517       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11518     else
   11519       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11520     fi
   11521     # And add a safety zone
   11522     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11523     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11524     ;;
   11525 
   11526   interix*)
   11527     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11528     lt_cv_sys_max_cmd_len=196608
   11529     ;;
   11530 
   11531   os2*)
   11532     # The test takes a long time on OS/2.
   11533     lt_cv_sys_max_cmd_len=8192
   11534     ;;
   11535 
   11536   osf*)
   11537     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11538     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11539     # nice to cause kernel panics so lets avoid the loop below.
   11540     # First set a reasonable default.
   11541     lt_cv_sys_max_cmd_len=16384
   11542     #
   11543     if test -x /sbin/sysconfig; then
   11544       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11545         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11546       esac
   11547     fi
   11548     ;;
   11549   sco3.2v5*)
   11550     lt_cv_sys_max_cmd_len=102400
   11551     ;;
   11552   sysv5* | sco5v6* | sysv4.2uw2*)
   11553     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11554     if test -n "$kargmax"; then
   11555       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11556     else
   11557       lt_cv_sys_max_cmd_len=32768
   11558     fi
   11559     ;;
   11560   *)
   11561     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11562     if test -n "$lt_cv_sys_max_cmd_len" && \
   11563        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11564       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11565       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11566     else
   11567       # Make teststring a little bigger before we do anything with it.
   11568       # a 1K string should be a reasonable start.
   11569       for i in 1 2 3 4 5 6 7 8; do
   11570         teststring=$teststring$teststring
   11571       done
   11572       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11573       # If test is not a shell built-in, we'll probably end up computing a
   11574       # maximum length that is only half of the actual maximum length, but
   11575       # we can't tell.
   11576       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11577 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11578 	      test 17 != "$i" # 1/2 MB should be enough
   11579       do
   11580         i=`expr $i + 1`
   11581         teststring=$teststring$teststring
   11582       done
   11583       # Only check the string length outside the loop.
   11584       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11585       teststring=
   11586       # Add a significant safety factor because C++ compilers can tack on
   11587       # massive amounts of additional arguments before passing them to the
   11588       # linker.  It appears as though 1/2 is a usable value.
   11589       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11590     fi
   11591     ;;
   11592   esac
   11593 
   11594 fi
   11595 
   11596 if test -n "$lt_cv_sys_max_cmd_len"; then
   11597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11598 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11599 else
   11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11601 $as_echo "none" >&6; }
   11602 fi
   11603 max_cmd_len=$lt_cv_sys_max_cmd_len
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 : ${CP="cp -f"}
   11611 : ${MV="mv -f"}
   11612 : ${RM="rm -f"}
   11613 
   11614 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11615   lt_unset=unset
   11616 else
   11617   lt_unset=false
   11618 fi
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 # test EBCDIC or ASCII
   11625 case `echo X|tr X '\101'` in
   11626  A) # ASCII based system
   11627     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11628   lt_SP2NL='tr \040 \012'
   11629   lt_NL2SP='tr \015\012 \040\040'
   11630   ;;
   11631  *) # EBCDIC based system
   11632   lt_SP2NL='tr \100 \n'
   11633   lt_NL2SP='tr \r\n \100\100'
   11634   ;;
   11635 esac
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11646 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11647 if ${lt_cv_to_host_file_cmd+:} false; then :
   11648   $as_echo_n "(cached) " >&6
   11649 else
   11650   case $host in
   11651   *-*-mingw* )
   11652     case $build in
   11653       *-*-mingw* ) # actually msys
   11654         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11655         ;;
   11656       *-*-cygwin* )
   11657         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11658         ;;
   11659       * ) # otherwise, assume *nix
   11660         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11661         ;;
   11662     esac
   11663     ;;
   11664   *-*-cygwin* )
   11665     case $build in
   11666       *-*-mingw* ) # actually msys
   11667         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11668         ;;
   11669       *-*-cygwin* )
   11670         lt_cv_to_host_file_cmd=func_convert_file_noop
   11671         ;;
   11672       * ) # otherwise, assume *nix
   11673         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11674         ;;
   11675     esac
   11676     ;;
   11677   * ) # unhandled hosts (and "normal" native builds)
   11678     lt_cv_to_host_file_cmd=func_convert_file_noop
   11679     ;;
   11680 esac
   11681 
   11682 fi
   11683 
   11684 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11686 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11693 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11694 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11695   $as_echo_n "(cached) " >&6
   11696 else
   11697   #assume ordinary cross tools, or native build.
   11698 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11699 case $host in
   11700   *-*-mingw* )
   11701     case $build in
   11702       *-*-mingw* ) # actually msys
   11703         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11704         ;;
   11705     esac
   11706     ;;
   11707 esac
   11708 
   11709 fi
   11710 
   11711 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11713 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11720 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11721 if ${lt_cv_ld_reload_flag+:} false; then :
   11722   $as_echo_n "(cached) " >&6
   11723 else
   11724   lt_cv_ld_reload_flag='-r'
   11725 fi
   11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11727 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11728 reload_flag=$lt_cv_ld_reload_flag
   11729 case $reload_flag in
   11730 "" | " "*) ;;
   11731 *) reload_flag=" $reload_flag" ;;
   11732 esac
   11733 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11734 case $host_os in
   11735   cygwin* | mingw* | pw32* | cegcc*)
   11736     if test yes != "$GCC"; then
   11737       reload_cmds=false
   11738     fi
   11739     ;;
   11740   darwin*)
   11741     if test yes = "$GCC"; then
   11742       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11743     else
   11744       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11745     fi
   11746     ;;
   11747 esac
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 if test -n "$ac_tool_prefix"; then
   11758   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11759 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11761 $as_echo_n "checking for $ac_word... " >&6; }
   11762 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11763   $as_echo_n "(cached) " >&6
   11764 else
   11765   if test -n "$OBJDUMP"; then
   11766   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11767 else
   11768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11769 for as_dir in $PATH
   11770 do
   11771   IFS=$as_save_IFS
   11772   test -z "$as_dir" && as_dir=.
   11773     for ac_exec_ext in '' $ac_executable_extensions; do
   11774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11775     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11777     break 2
   11778   fi
   11779 done
   11780   done
   11781 IFS=$as_save_IFS
   11782 
   11783 fi
   11784 fi
   11785 OBJDUMP=$ac_cv_prog_OBJDUMP
   11786 if test -n "$OBJDUMP"; then
   11787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11788 $as_echo "$OBJDUMP" >&6; }
   11789 else
   11790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11791 $as_echo "no" >&6; }
   11792 fi
   11793 
   11794 
   11795 fi
   11796 if test -z "$ac_cv_prog_OBJDUMP"; then
   11797   ac_ct_OBJDUMP=$OBJDUMP
   11798   # Extract the first word of "objdump", so it can be a program name with args.
   11799 set dummy objdump; ac_word=$2
   11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11801 $as_echo_n "checking for $ac_word... " >&6; }
   11802 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11803   $as_echo_n "(cached) " >&6
   11804 else
   11805   if test -n "$ac_ct_OBJDUMP"; then
   11806   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11807 else
   11808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11809 for as_dir in $PATH
   11810 do
   11811   IFS=$as_save_IFS
   11812   test -z "$as_dir" && as_dir=.
   11813     for ac_exec_ext in '' $ac_executable_extensions; do
   11814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11815     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11817     break 2
   11818   fi
   11819 done
   11820   done
   11821 IFS=$as_save_IFS
   11822 
   11823 fi
   11824 fi
   11825 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11826 if test -n "$ac_ct_OBJDUMP"; then
   11827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11828 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11829 else
   11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11831 $as_echo "no" >&6; }
   11832 fi
   11833 
   11834   if test "x$ac_ct_OBJDUMP" = x; then
   11835     OBJDUMP="false"
   11836   else
   11837     case $cross_compiling:$ac_tool_warned in
   11838 yes:)
   11839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11841 ac_tool_warned=yes ;;
   11842 esac
   11843     OBJDUMP=$ac_ct_OBJDUMP
   11844   fi
   11845 else
   11846   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11847 fi
   11848 
   11849 test -z "$OBJDUMP" && OBJDUMP=objdump
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11860 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11861 if ${lt_cv_deplibs_check_method+:} false; then :
   11862   $as_echo_n "(cached) " >&6
   11863 else
   11864   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11865 lt_cv_file_magic_test_file=
   11866 lt_cv_deplibs_check_method='unknown'
   11867 # Need to set the preceding variable on all platforms that support
   11868 # interlibrary dependencies.
   11869 # 'none' -- dependencies not supported.
   11870 # 'unknown' -- same as none, but documents that we really don't know.
   11871 # 'pass_all' -- all dependencies passed with no checks.
   11872 # 'test_compile' -- check by making test program.
   11873 # 'file_magic [[regex]]' -- check by looking for files in library path
   11874 # that responds to the $file_magic_cmd with a given extended regex.
   11875 # If you have 'file' or equivalent on your system and you're not sure
   11876 # whether 'pass_all' will *always* work, you probably want this one.
   11877 
   11878 case $host_os in
   11879 aix[4-9]*)
   11880   lt_cv_deplibs_check_method=pass_all
   11881   ;;
   11882 
   11883 beos*)
   11884   lt_cv_deplibs_check_method=pass_all
   11885   ;;
   11886 
   11887 bsdi[45]*)
   11888   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11889   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11890   lt_cv_file_magic_test_file=/shlib/libc.so
   11891   ;;
   11892 
   11893 cygwin*)
   11894   # func_win32_libid is a shell function defined in ltmain.sh
   11895   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11896   lt_cv_file_magic_cmd='func_win32_libid'
   11897   ;;
   11898 
   11899 mingw* | pw32*)
   11900   # Base MSYS/MinGW do not provide the 'file' command needed by
   11901   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11902   # unless we find 'file', for example because we are cross-compiling.
   11903   if ( file / ) >/dev/null 2>&1; then
   11904     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11905     lt_cv_file_magic_cmd='func_win32_libid'
   11906   else
   11907     # Keep this pattern in sync with the one in func_win32_libid.
   11908     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11909     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11910   fi
   11911   ;;
   11912 
   11913 cegcc*)
   11914   # use the weaker test based on 'objdump'. See mingw*.
   11915   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11916   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11917   ;;
   11918 
   11919 darwin* | rhapsody*)
   11920   lt_cv_deplibs_check_method=pass_all
   11921   ;;
   11922 
   11923 freebsd* | dragonfly*)
   11924   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11925     case $host_cpu in
   11926     i*86 )
   11927       # Not sure whether the presence of OpenBSD here was a mistake.
   11928       # Let's accept both of them until this is cleared up.
   11929       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11930       lt_cv_file_magic_cmd=/usr/bin/file
   11931       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11932       ;;
   11933     esac
   11934   else
   11935     lt_cv_deplibs_check_method=pass_all
   11936   fi
   11937   ;;
   11938 
   11939 haiku*)
   11940   lt_cv_deplibs_check_method=pass_all
   11941   ;;
   11942 
   11943 hpux10.20* | hpux11*)
   11944   lt_cv_file_magic_cmd=/usr/bin/file
   11945   case $host_cpu in
   11946   ia64*)
   11947     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11948     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11949     ;;
   11950   hppa*64*)
   11951     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]'
   11952     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11953     ;;
   11954   *)
   11955     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11956     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11957     ;;
   11958   esac
   11959   ;;
   11960 
   11961 interix[3-9]*)
   11962   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11963   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11964   ;;
   11965 
   11966 irix5* | irix6* | nonstopux*)
   11967   case $LD in
   11968   *-32|*"-32 ") libmagic=32-bit;;
   11969   *-n32|*"-n32 ") libmagic=N32;;
   11970   *-64|*"-64 ") libmagic=64-bit;;
   11971   *) libmagic=never-match;;
   11972   esac
   11973   lt_cv_deplibs_check_method=pass_all
   11974   ;;
   11975 
   11976 # This must be glibc/ELF.
   11977 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11978   lt_cv_deplibs_check_method=pass_all
   11979   ;;
   11980 
   11981 netbsd*)
   11982   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11983     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11984   else
   11985     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11986   fi
   11987   ;;
   11988 
   11989 newos6*)
   11990   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11991   lt_cv_file_magic_cmd=/usr/bin/file
   11992   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11993   ;;
   11994 
   11995 *nto* | *qnx*)
   11996   lt_cv_deplibs_check_method=pass_all
   11997   ;;
   11998 
   11999 openbsd* | bitrig*)
   12000   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12001     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12002   else
   12003     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12004   fi
   12005   ;;
   12006 
   12007 osf3* | osf4* | osf5*)
   12008   lt_cv_deplibs_check_method=pass_all
   12009   ;;
   12010 
   12011 rdos*)
   12012   lt_cv_deplibs_check_method=pass_all
   12013   ;;
   12014 
   12015 solaris*)
   12016   lt_cv_deplibs_check_method=pass_all
   12017   ;;
   12018 
   12019 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12020   lt_cv_deplibs_check_method=pass_all
   12021   ;;
   12022 
   12023 sysv4 | sysv4.3*)
   12024   case $host_vendor in
   12025   motorola)
   12026     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]'
   12027     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12028     ;;
   12029   ncr)
   12030     lt_cv_deplibs_check_method=pass_all
   12031     ;;
   12032   sequent)
   12033     lt_cv_file_magic_cmd='/bin/file'
   12034     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12035     ;;
   12036   sni)
   12037     lt_cv_file_magic_cmd='/bin/file'
   12038     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12039     lt_cv_file_magic_test_file=/lib/libc.so
   12040     ;;
   12041   siemens)
   12042     lt_cv_deplibs_check_method=pass_all
   12043     ;;
   12044   pc)
   12045     lt_cv_deplibs_check_method=pass_all
   12046     ;;
   12047   esac
   12048   ;;
   12049 
   12050 tpf*)
   12051   lt_cv_deplibs_check_method=pass_all
   12052   ;;
   12053 os2*)
   12054   lt_cv_deplibs_check_method=pass_all
   12055   ;;
   12056 esac
   12057 
   12058 fi
   12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12060 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12061 
   12062 file_magic_glob=
   12063 want_nocaseglob=no
   12064 if test "$build" = "$host"; then
   12065   case $host_os in
   12066   mingw* | pw32*)
   12067     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12068       want_nocaseglob=yes
   12069     else
   12070       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12071     fi
   12072     ;;
   12073   esac
   12074 fi
   12075 
   12076 file_magic_cmd=$lt_cv_file_magic_cmd
   12077 deplibs_check_method=$lt_cv_deplibs_check_method
   12078 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 if test -n "$ac_tool_prefix"; then
   12102   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12103 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12105 $as_echo_n "checking for $ac_word... " >&6; }
   12106 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12107   $as_echo_n "(cached) " >&6
   12108 else
   12109   if test -n "$DLLTOOL"; then
   12110   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12111 else
   12112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12113 for as_dir in $PATH
   12114 do
   12115   IFS=$as_save_IFS
   12116   test -z "$as_dir" && as_dir=.
   12117     for ac_exec_ext in '' $ac_executable_extensions; do
   12118   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12119     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12121     break 2
   12122   fi
   12123 done
   12124   done
   12125 IFS=$as_save_IFS
   12126 
   12127 fi
   12128 fi
   12129 DLLTOOL=$ac_cv_prog_DLLTOOL
   12130 if test -n "$DLLTOOL"; then
   12131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12132 $as_echo "$DLLTOOL" >&6; }
   12133 else
   12134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12135 $as_echo "no" >&6; }
   12136 fi
   12137 
   12138 
   12139 fi
   12140 if test -z "$ac_cv_prog_DLLTOOL"; then
   12141   ac_ct_DLLTOOL=$DLLTOOL
   12142   # Extract the first word of "dlltool", so it can be a program name with args.
   12143 set dummy dlltool; ac_word=$2
   12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12145 $as_echo_n "checking for $ac_word... " >&6; }
   12146 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12147   $as_echo_n "(cached) " >&6
   12148 else
   12149   if test -n "$ac_ct_DLLTOOL"; then
   12150   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12151 else
   12152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12153 for as_dir in $PATH
   12154 do
   12155   IFS=$as_save_IFS
   12156   test -z "$as_dir" && as_dir=.
   12157     for ac_exec_ext in '' $ac_executable_extensions; do
   12158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12159     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12161     break 2
   12162   fi
   12163 done
   12164   done
   12165 IFS=$as_save_IFS
   12166 
   12167 fi
   12168 fi
   12169 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12170 if test -n "$ac_ct_DLLTOOL"; then
   12171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12172 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12173 else
   12174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12175 $as_echo "no" >&6; }
   12176 fi
   12177 
   12178   if test "x$ac_ct_DLLTOOL" = x; then
   12179     DLLTOOL="false"
   12180   else
   12181     case $cross_compiling:$ac_tool_warned in
   12182 yes:)
   12183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12185 ac_tool_warned=yes ;;
   12186 esac
   12187     DLLTOOL=$ac_ct_DLLTOOL
   12188   fi
   12189 else
   12190   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12191 fi
   12192 
   12193 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12205 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12206 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12207   $as_echo_n "(cached) " >&6
   12208 else
   12209   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12210 
   12211 case $host_os in
   12212 cygwin* | mingw* | pw32* | cegcc*)
   12213   # two different shell functions defined in ltmain.sh;
   12214   # decide which one to use based on capabilities of $DLLTOOL
   12215   case `$DLLTOOL --help 2>&1` in
   12216   *--identify-strict*)
   12217     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12218     ;;
   12219   *)
   12220     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12221     ;;
   12222   esac
   12223   ;;
   12224 *)
   12225   # fallback: assume linklib IS sharedlib
   12226   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12227   ;;
   12228 esac
   12229 
   12230 fi
   12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12232 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12233 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12234 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 if test -n "$ac_tool_prefix"; then
   12243   for ac_prog in ar
   12244   do
   12245     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12246 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12248 $as_echo_n "checking for $ac_word... " >&6; }
   12249 if ${ac_cv_prog_AR+:} false; then :
   12250   $as_echo_n "(cached) " >&6
   12251 else
   12252   if test -n "$AR"; then
   12253   ac_cv_prog_AR="$AR" # Let the user override the test.
   12254 else
   12255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12256 for as_dir in $PATH
   12257 do
   12258   IFS=$as_save_IFS
   12259   test -z "$as_dir" && as_dir=.
   12260     for ac_exec_ext in '' $ac_executable_extensions; do
   12261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12262     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12264     break 2
   12265   fi
   12266 done
   12267   done
   12268 IFS=$as_save_IFS
   12269 
   12270 fi
   12271 fi
   12272 AR=$ac_cv_prog_AR
   12273 if test -n "$AR"; then
   12274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12275 $as_echo "$AR" >&6; }
   12276 else
   12277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12278 $as_echo "no" >&6; }
   12279 fi
   12280 
   12281 
   12282     test -n "$AR" && break
   12283   done
   12284 fi
   12285 if test -z "$AR"; then
   12286   ac_ct_AR=$AR
   12287   for ac_prog in ar
   12288 do
   12289   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12290 set dummy $ac_prog; ac_word=$2
   12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12292 $as_echo_n "checking for $ac_word... " >&6; }
   12293 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12294   $as_echo_n "(cached) " >&6
   12295 else
   12296   if test -n "$ac_ct_AR"; then
   12297   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12298 else
   12299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12300 for as_dir in $PATH
   12301 do
   12302   IFS=$as_save_IFS
   12303   test -z "$as_dir" && as_dir=.
   12304     for ac_exec_ext in '' $ac_executable_extensions; do
   12305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12306     ac_cv_prog_ac_ct_AR="$ac_prog"
   12307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12308     break 2
   12309   fi
   12310 done
   12311   done
   12312 IFS=$as_save_IFS
   12313 
   12314 fi
   12315 fi
   12316 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12317 if test -n "$ac_ct_AR"; then
   12318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12319 $as_echo "$ac_ct_AR" >&6; }
   12320 else
   12321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12322 $as_echo "no" >&6; }
   12323 fi
   12324 
   12325 
   12326   test -n "$ac_ct_AR" && break
   12327 done
   12328 
   12329   if test "x$ac_ct_AR" = x; then
   12330     AR="false"
   12331   else
   12332     case $cross_compiling:$ac_tool_warned in
   12333 yes:)
   12334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12336 ac_tool_warned=yes ;;
   12337 esac
   12338     AR=$ac_ct_AR
   12339   fi
   12340 fi
   12341 
   12342 : ${AR=ar}
   12343 : ${AR_FLAGS=cru}
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12356 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12357 if ${lt_cv_ar_at_file+:} false; then :
   12358   $as_echo_n "(cached) " >&6
   12359 else
   12360   lt_cv_ar_at_file=no
   12361    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12362 /* end confdefs.h.  */
   12363 
   12364 int
   12365 main ()
   12366 {
   12367 
   12368   ;
   12369   return 0;
   12370 }
   12371 _ACEOF
   12372 if ac_fn_c_try_compile "$LINENO"; then :
   12373   echo conftest.$ac_objext > conftest.lst
   12374       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12375       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12376   (eval $lt_ar_try) 2>&5
   12377   ac_status=$?
   12378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12379   test $ac_status = 0; }
   12380       if test 0 -eq "$ac_status"; then
   12381 	# Ensure the archiver fails upon bogus file names.
   12382 	rm -f conftest.$ac_objext libconftest.a
   12383 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12384   (eval $lt_ar_try) 2>&5
   12385   ac_status=$?
   12386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12387   test $ac_status = 0; }
   12388 	if test 0 -ne "$ac_status"; then
   12389           lt_cv_ar_at_file=@
   12390         fi
   12391       fi
   12392       rm -f conftest.* libconftest.a
   12393 
   12394 fi
   12395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12396 
   12397 fi
   12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12399 $as_echo "$lt_cv_ar_at_file" >&6; }
   12400 
   12401 if test no = "$lt_cv_ar_at_file"; then
   12402   archiver_list_spec=
   12403 else
   12404   archiver_list_spec=$lt_cv_ar_at_file
   12405 fi
   12406 
   12407 
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 if test -n "$ac_tool_prefix"; then
   12414   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12415 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12417 $as_echo_n "checking for $ac_word... " >&6; }
   12418 if ${ac_cv_prog_STRIP+:} false; then :
   12419   $as_echo_n "(cached) " >&6
   12420 else
   12421   if test -n "$STRIP"; then
   12422   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12423 else
   12424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12425 for as_dir in $PATH
   12426 do
   12427   IFS=$as_save_IFS
   12428   test -z "$as_dir" && as_dir=.
   12429     for ac_exec_ext in '' $ac_executable_extensions; do
   12430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12431     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12433     break 2
   12434   fi
   12435 done
   12436   done
   12437 IFS=$as_save_IFS
   12438 
   12439 fi
   12440 fi
   12441 STRIP=$ac_cv_prog_STRIP
   12442 if test -n "$STRIP"; then
   12443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12444 $as_echo "$STRIP" >&6; }
   12445 else
   12446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12447 $as_echo "no" >&6; }
   12448 fi
   12449 
   12450 
   12451 fi
   12452 if test -z "$ac_cv_prog_STRIP"; then
   12453   ac_ct_STRIP=$STRIP
   12454   # Extract the first word of "strip", so it can be a program name with args.
   12455 set dummy strip; ac_word=$2
   12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12457 $as_echo_n "checking for $ac_word... " >&6; }
   12458 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12459   $as_echo_n "(cached) " >&6
   12460 else
   12461   if test -n "$ac_ct_STRIP"; then
   12462   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12463 else
   12464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12465 for as_dir in $PATH
   12466 do
   12467   IFS=$as_save_IFS
   12468   test -z "$as_dir" && as_dir=.
   12469     for ac_exec_ext in '' $ac_executable_extensions; do
   12470   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12471     ac_cv_prog_ac_ct_STRIP="strip"
   12472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12473     break 2
   12474   fi
   12475 done
   12476   done
   12477 IFS=$as_save_IFS
   12478 
   12479 fi
   12480 fi
   12481 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12482 if test -n "$ac_ct_STRIP"; then
   12483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12484 $as_echo "$ac_ct_STRIP" >&6; }
   12485 else
   12486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12487 $as_echo "no" >&6; }
   12488 fi
   12489 
   12490   if test "x$ac_ct_STRIP" = x; then
   12491     STRIP=":"
   12492   else
   12493     case $cross_compiling:$ac_tool_warned in
   12494 yes:)
   12495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12497 ac_tool_warned=yes ;;
   12498 esac
   12499     STRIP=$ac_ct_STRIP
   12500   fi
   12501 else
   12502   STRIP="$ac_cv_prog_STRIP"
   12503 fi
   12504 
   12505 test -z "$STRIP" && STRIP=:
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 if test -n "$ac_tool_prefix"; then
   12513   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12514 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12516 $as_echo_n "checking for $ac_word... " >&6; }
   12517 if ${ac_cv_prog_RANLIB+:} false; then :
   12518   $as_echo_n "(cached) " >&6
   12519 else
   12520   if test -n "$RANLIB"; then
   12521   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12522 else
   12523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12524 for as_dir in $PATH
   12525 do
   12526   IFS=$as_save_IFS
   12527   test -z "$as_dir" && as_dir=.
   12528     for ac_exec_ext in '' $ac_executable_extensions; do
   12529   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12530     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12532     break 2
   12533   fi
   12534 done
   12535   done
   12536 IFS=$as_save_IFS
   12537 
   12538 fi
   12539 fi
   12540 RANLIB=$ac_cv_prog_RANLIB
   12541 if test -n "$RANLIB"; then
   12542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12543 $as_echo "$RANLIB" >&6; }
   12544 else
   12545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12546 $as_echo "no" >&6; }
   12547 fi
   12548 
   12549 
   12550 fi
   12551 if test -z "$ac_cv_prog_RANLIB"; then
   12552   ac_ct_RANLIB=$RANLIB
   12553   # Extract the first word of "ranlib", so it can be a program name with args.
   12554 set dummy ranlib; ac_word=$2
   12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12556 $as_echo_n "checking for $ac_word... " >&6; }
   12557 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12558   $as_echo_n "(cached) " >&6
   12559 else
   12560   if test -n "$ac_ct_RANLIB"; then
   12561   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12562 else
   12563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12564 for as_dir in $PATH
   12565 do
   12566   IFS=$as_save_IFS
   12567   test -z "$as_dir" && as_dir=.
   12568     for ac_exec_ext in '' $ac_executable_extensions; do
   12569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12570     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12572     break 2
   12573   fi
   12574 done
   12575   done
   12576 IFS=$as_save_IFS
   12577 
   12578 fi
   12579 fi
   12580 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12581 if test -n "$ac_ct_RANLIB"; then
   12582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12583 $as_echo "$ac_ct_RANLIB" >&6; }
   12584 else
   12585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12586 $as_echo "no" >&6; }
   12587 fi
   12588 
   12589   if test "x$ac_ct_RANLIB" = x; then
   12590     RANLIB=":"
   12591   else
   12592     case $cross_compiling:$ac_tool_warned in
   12593 yes:)
   12594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12596 ac_tool_warned=yes ;;
   12597 esac
   12598     RANLIB=$ac_ct_RANLIB
   12599   fi
   12600 else
   12601   RANLIB="$ac_cv_prog_RANLIB"
   12602 fi
   12603 
   12604 test -z "$RANLIB" && RANLIB=:
   12605 
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 # Determine commands to create old-style static archives.
   12612 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12613 old_postinstall_cmds='chmod 644 $oldlib'
   12614 old_postuninstall_cmds=
   12615 
   12616 if test -n "$RANLIB"; then
   12617   case $host_os in
   12618   bitrig* | openbsd*)
   12619     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12620     ;;
   12621   *)
   12622     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12623     ;;
   12624   esac
   12625   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12626 fi
   12627 
   12628 case $host_os in
   12629   darwin*)
   12630     lock_old_archive_extraction=yes ;;
   12631   *)
   12632     lock_old_archive_extraction=no ;;
   12633 esac
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 # If no C compiler was specified, use CC.
   12674 LTCC=${LTCC-"$CC"}
   12675 
   12676 # If no C compiler flags were specified, use CFLAGS.
   12677 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12678 
   12679 # Allow CC to be a program name with arguments.
   12680 compiler=$CC
   12681 
   12682 
   12683 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12685 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12686 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12687   $as_echo_n "(cached) " >&6
   12688 else
   12689 
   12690 # These are sane defaults that work on at least a few old systems.
   12691 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12692 
   12693 # Character class describing NM global symbol codes.
   12694 symcode='[BCDEGRST]'
   12695 
   12696 # Regexp to match symbols that can be accessed directly from C.
   12697 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12698 
   12699 # Define system-specific variables.
   12700 case $host_os in
   12701 aix*)
   12702   symcode='[BCDT]'
   12703   ;;
   12704 cygwin* | mingw* | pw32* | cegcc*)
   12705   symcode='[ABCDGISTW]'
   12706   ;;
   12707 hpux*)
   12708   if test ia64 = "$host_cpu"; then
   12709     symcode='[ABCDEGRST]'
   12710   fi
   12711   ;;
   12712 irix* | nonstopux*)
   12713   symcode='[BCDEGRST]'
   12714   ;;
   12715 osf*)
   12716   symcode='[BCDEGQRST]'
   12717   ;;
   12718 solaris*)
   12719   symcode='[BDRT]'
   12720   ;;
   12721 sco3.2v5*)
   12722   symcode='[DT]'
   12723   ;;
   12724 sysv4.2uw2*)
   12725   symcode='[DT]'
   12726   ;;
   12727 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12728   symcode='[ABDT]'
   12729   ;;
   12730 sysv4)
   12731   symcode='[DFNSTU]'
   12732   ;;
   12733 esac
   12734 
   12735 # If we're using GNU nm, then use its standard symbol codes.
   12736 case `$NM -V 2>&1` in
   12737 *GNU* | *'with BFD'*)
   12738   symcode='[ABCDGIRSTW]' ;;
   12739 esac
   12740 
   12741 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12742   # Gets list of data symbols to import.
   12743   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12744   # Adjust the below global symbol transforms to fixup imported variables.
   12745   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12746   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12747   lt_c_name_lib_hook="\
   12748   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12749   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12750 else
   12751   # Disable hooks by default.
   12752   lt_cv_sys_global_symbol_to_import=
   12753   lt_cdecl_hook=
   12754   lt_c_name_hook=
   12755   lt_c_name_lib_hook=
   12756 fi
   12757 
   12758 # Transform an extracted symbol line into a proper C declaration.
   12759 # Some systems (esp. on ia64) link data and code symbols differently,
   12760 # so use this general approach.
   12761 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12762 $lt_cdecl_hook\
   12763 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12764 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12765 
   12766 # Transform an extracted symbol line into symbol name and symbol address
   12767 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12768 $lt_c_name_hook\
   12769 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12770 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12771 
   12772 # Transform an extracted symbol line into symbol name with lib prefix and
   12773 # symbol address.
   12774 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12775 $lt_c_name_lib_hook\
   12776 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12777 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12778 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12779 
   12780 # Handle CRLF in mingw tool chain
   12781 opt_cr=
   12782 case $build_os in
   12783 mingw*)
   12784   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12785   ;;
   12786 esac
   12787 
   12788 # Try without a prefix underscore, then with it.
   12789 for ac_symprfx in "" "_"; do
   12790 
   12791   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12792   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12793 
   12794   # Write the raw and C identifiers.
   12795   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12796     # Fake it for dumpbin and say T for any non-static function,
   12797     # D for any global variable and I for any imported variable.
   12798     # Also find C++ and __fastcall symbols from MSVC++,
   12799     # which start with @ or ?.
   12800     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12801 "     {last_section=section; section=\$ 3};"\
   12802 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12803 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12804 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12805 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12806 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12807 "     \$ 0!~/External *\|/{next};"\
   12808 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12809 "     {if(hide[section]) next};"\
   12810 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12811 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12812 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12813 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12814 "     ' prfx=^$ac_symprfx"
   12815   else
   12816     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12817   fi
   12818   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12819 
   12820   # Check to see that the pipe works correctly.
   12821   pipe_works=no
   12822 
   12823   rm -f conftest*
   12824   cat > conftest.$ac_ext <<_LT_EOF
   12825 #ifdef __cplusplus
   12826 extern "C" {
   12827 #endif
   12828 char nm_test_var;
   12829 void nm_test_func(void);
   12830 void nm_test_func(void){}
   12831 #ifdef __cplusplus
   12832 }
   12833 #endif
   12834 int main(){nm_test_var='a';nm_test_func();return(0);}
   12835 _LT_EOF
   12836 
   12837   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12838   (eval $ac_compile) 2>&5
   12839   ac_status=$?
   12840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12841   test $ac_status = 0; }; then
   12842     # Now try to grab the symbols.
   12843     nlist=conftest.nm
   12844     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12845   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12846   ac_status=$?
   12847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12848   test $ac_status = 0; } && test -s "$nlist"; then
   12849       # Try sorting and uniquifying the output.
   12850       if sort "$nlist" | uniq > "$nlist"T; then
   12851 	mv -f "$nlist"T "$nlist"
   12852       else
   12853 	rm -f "$nlist"T
   12854       fi
   12855 
   12856       # Make sure that we snagged all the symbols we need.
   12857       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12858 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12859 	  cat <<_LT_EOF > conftest.$ac_ext
   12860 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12861 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12862 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12863    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12864 # define LT_DLSYM_CONST
   12865 #elif defined __osf__
   12866 /* This system does not cope well with relocations in const data.  */
   12867 # define LT_DLSYM_CONST
   12868 #else
   12869 # define LT_DLSYM_CONST const
   12870 #endif
   12871 
   12872 #ifdef __cplusplus
   12873 extern "C" {
   12874 #endif
   12875 
   12876 _LT_EOF
   12877 	  # Now generate the symbol file.
   12878 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12879 
   12880 	  cat <<_LT_EOF >> conftest.$ac_ext
   12881 
   12882 /* The mapping between symbol names and symbols.  */
   12883 LT_DLSYM_CONST struct {
   12884   const char *name;
   12885   void       *address;
   12886 }
   12887 lt__PROGRAM__LTX_preloaded_symbols[] =
   12888 {
   12889   { "@PROGRAM@", (void *) 0 },
   12890 _LT_EOF
   12891 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12892 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12893   {0, (void *) 0}
   12894 };
   12895 
   12896 /* This works around a problem in FreeBSD linker */
   12897 #ifdef FREEBSD_WORKAROUND
   12898 static const void *lt_preloaded_setup() {
   12899   return lt__PROGRAM__LTX_preloaded_symbols;
   12900 }
   12901 #endif
   12902 
   12903 #ifdef __cplusplus
   12904 }
   12905 #endif
   12906 _LT_EOF
   12907 	  # Now try linking the two files.
   12908 	  mv conftest.$ac_objext conftstm.$ac_objext
   12909 	  lt_globsym_save_LIBS=$LIBS
   12910 	  lt_globsym_save_CFLAGS=$CFLAGS
   12911 	  LIBS=conftstm.$ac_objext
   12912 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12913 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12914   (eval $ac_link) 2>&5
   12915   ac_status=$?
   12916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12917   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12918 	    pipe_works=yes
   12919 	  fi
   12920 	  LIBS=$lt_globsym_save_LIBS
   12921 	  CFLAGS=$lt_globsym_save_CFLAGS
   12922 	else
   12923 	  echo "cannot find nm_test_func in $nlist" >&5
   12924 	fi
   12925       else
   12926 	echo "cannot find nm_test_var in $nlist" >&5
   12927       fi
   12928     else
   12929       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12930     fi
   12931   else
   12932     echo "$progname: failed program was:" >&5
   12933     cat conftest.$ac_ext >&5
   12934   fi
   12935   rm -rf conftest* conftst*
   12936 
   12937   # Do not use the global_symbol_pipe unless it works.
   12938   if test yes = "$pipe_works"; then
   12939     break
   12940   else
   12941     lt_cv_sys_global_symbol_pipe=
   12942   fi
   12943 done
   12944 
   12945 fi
   12946 
   12947 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12948   lt_cv_sys_global_symbol_to_cdecl=
   12949 fi
   12950 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12952 $as_echo "failed" >&6; }
   12953 else
   12954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12955 $as_echo "ok" >&6; }
   12956 fi
   12957 
   12958 # Response file support.
   12959 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12960   nm_file_list_spec='@'
   12961 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12962   nm_file_list_spec='@'
   12963 fi
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13002 $as_echo_n "checking for sysroot... " >&6; }
   13003 
   13004 # Check whether --with-sysroot was given.
   13005 if test "${with_sysroot+set}" = set; then :
   13006   withval=$with_sysroot;
   13007 else
   13008   with_sysroot=no
   13009 fi
   13010 
   13011 
   13012 lt_sysroot=
   13013 case $with_sysroot in #(
   13014  yes)
   13015    if test yes = "$GCC"; then
   13016      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13017    fi
   13018    ;; #(
   13019  /*)
   13020    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13021    ;; #(
   13022  no|'')
   13023    ;; #(
   13024  *)
   13025    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13026 $as_echo "$with_sysroot" >&6; }
   13027    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13028    ;;
   13029 esac
   13030 
   13031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13032 $as_echo "${lt_sysroot:-no}" >&6; }
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13039 $as_echo_n "checking for a working dd... " >&6; }
   13040 if ${ac_cv_path_lt_DD+:} false; then :
   13041   $as_echo_n "(cached) " >&6
   13042 else
   13043   printf 0123456789abcdef0123456789abcdef >conftest.i
   13044 cat conftest.i conftest.i >conftest2.i
   13045 : ${lt_DD:=$DD}
   13046 if test -z "$lt_DD"; then
   13047   ac_path_lt_DD_found=false
   13048   # Loop through the user's path and test for each of PROGNAME-LIST
   13049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13050 for as_dir in $PATH
   13051 do
   13052   IFS=$as_save_IFS
   13053   test -z "$as_dir" && as_dir=.
   13054     for ac_prog in dd; do
   13055     for ac_exec_ext in '' $ac_executable_extensions; do
   13056       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13057       as_fn_executable_p "$ac_path_lt_DD" || continue
   13058 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13059   cmp -s conftest.i conftest.out \
   13060   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13061 fi
   13062       $ac_path_lt_DD_found && break 3
   13063     done
   13064   done
   13065   done
   13066 IFS=$as_save_IFS
   13067   if test -z "$ac_cv_path_lt_DD"; then
   13068     :
   13069   fi
   13070 else
   13071   ac_cv_path_lt_DD=$lt_DD
   13072 fi
   13073 
   13074 rm -f conftest.i conftest2.i conftest.out
   13075 fi
   13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13077 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13078 
   13079 
   13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13081 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13082 if ${lt_cv_truncate_bin+:} false; then :
   13083   $as_echo_n "(cached) " >&6
   13084 else
   13085   printf 0123456789abcdef0123456789abcdef >conftest.i
   13086 cat conftest.i conftest.i >conftest2.i
   13087 lt_cv_truncate_bin=
   13088 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13089   cmp -s conftest.i conftest.out \
   13090   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13091 fi
   13092 rm -f conftest.i conftest2.i conftest.out
   13093 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13094 fi
   13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13096 $as_echo "$lt_cv_truncate_bin" >&6; }
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13105 func_cc_basename ()
   13106 {
   13107     for cc_temp in $*""; do
   13108       case $cc_temp in
   13109         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13110         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13111         \-*) ;;
   13112         *) break;;
   13113       esac
   13114     done
   13115     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13116 }
   13117 
   13118 # Check whether --enable-libtool-lock was given.
   13119 if test "${enable_libtool_lock+set}" = set; then :
   13120   enableval=$enable_libtool_lock;
   13121 fi
   13122 
   13123 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13124 
   13125 # Some flags need to be propagated to the compiler or linker for good
   13126 # libtool support.
   13127 case $host in
   13128 ia64-*-hpux*)
   13129   # Find out what ABI is being produced by ac_compile, and set mode
   13130   # options accordingly.
   13131   echo 'int i;' > conftest.$ac_ext
   13132   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13133   (eval $ac_compile) 2>&5
   13134   ac_status=$?
   13135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13136   test $ac_status = 0; }; then
   13137     case `/usr/bin/file conftest.$ac_objext` in
   13138       *ELF-32*)
   13139 	HPUX_IA64_MODE=32
   13140 	;;
   13141       *ELF-64*)
   13142 	HPUX_IA64_MODE=64
   13143 	;;
   13144     esac
   13145   fi
   13146   rm -rf conftest*
   13147   ;;
   13148 *-*-irix6*)
   13149   # Find out what ABI is being produced by ac_compile, and set linker
   13150   # options accordingly.
   13151   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13152   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13153   (eval $ac_compile) 2>&5
   13154   ac_status=$?
   13155   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13156   test $ac_status = 0; }; then
   13157     if test yes = "$lt_cv_prog_gnu_ld"; then
   13158       case `/usr/bin/file conftest.$ac_objext` in
   13159 	*32-bit*)
   13160 	  LD="${LD-ld} -melf32bsmip"
   13161 	  ;;
   13162 	*N32*)
   13163 	  LD="${LD-ld} -melf32bmipn32"
   13164 	  ;;
   13165 	*64-bit*)
   13166 	  LD="${LD-ld} -melf64bmip"
   13167 	;;
   13168       esac
   13169     else
   13170       case `/usr/bin/file conftest.$ac_objext` in
   13171 	*32-bit*)
   13172 	  LD="${LD-ld} -32"
   13173 	  ;;
   13174 	*N32*)
   13175 	  LD="${LD-ld} -n32"
   13176 	  ;;
   13177 	*64-bit*)
   13178 	  LD="${LD-ld} -64"
   13179 	  ;;
   13180       esac
   13181     fi
   13182   fi
   13183   rm -rf conftest*
   13184   ;;
   13185 
   13186 mips64*-*linux*)
   13187   # Find out what ABI is being produced by ac_compile, and set linker
   13188   # options accordingly.
   13189   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13190   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13191   (eval $ac_compile) 2>&5
   13192   ac_status=$?
   13193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13194   test $ac_status = 0; }; then
   13195     emul=elf
   13196     case `/usr/bin/file conftest.$ac_objext` in
   13197       *32-bit*)
   13198 	emul="${emul}32"
   13199 	;;
   13200       *64-bit*)
   13201 	emul="${emul}64"
   13202 	;;
   13203     esac
   13204     case `/usr/bin/file conftest.$ac_objext` in
   13205       *MSB*)
   13206 	emul="${emul}btsmip"
   13207 	;;
   13208       *LSB*)
   13209 	emul="${emul}ltsmip"
   13210 	;;
   13211     esac
   13212     case `/usr/bin/file conftest.$ac_objext` in
   13213       *N32*)
   13214 	emul="${emul}n32"
   13215 	;;
   13216     esac
   13217     LD="${LD-ld} -m $emul"
   13218   fi
   13219   rm -rf conftest*
   13220   ;;
   13221 
   13222 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13223 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13224   # Find out what ABI is being produced by ac_compile, and set linker
   13225   # options accordingly.  Note that the listed cases only cover the
   13226   # situations where additional linker options are needed (such as when
   13227   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13228   # vice versa); the common cases where no linker options are needed do
   13229   # not appear in the list.
   13230   echo 'int i;' > conftest.$ac_ext
   13231   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13232   (eval $ac_compile) 2>&5
   13233   ac_status=$?
   13234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13235   test $ac_status = 0; }; then
   13236     case `/usr/bin/file conftest.o` in
   13237       *32-bit*)
   13238 	case $host in
   13239 	  x86_64-*kfreebsd*-gnu)
   13240 	    LD="${LD-ld} -m elf_i386_fbsd"
   13241 	    ;;
   13242 	  x86_64-*linux*)
   13243 	    case `/usr/bin/file conftest.o` in
   13244 	      *x86-64*)
   13245 		LD="${LD-ld} -m elf32_x86_64"
   13246 		;;
   13247 	      *)
   13248 		LD="${LD-ld} -m elf_i386"
   13249 		;;
   13250 	    esac
   13251 	    ;;
   13252 	  powerpc64le-*linux*)
   13253 	    LD="${LD-ld} -m elf32lppclinux"
   13254 	    ;;
   13255 	  powerpc64-*linux*)
   13256 	    LD="${LD-ld} -m elf32ppclinux"
   13257 	    ;;
   13258 	  s390x-*linux*)
   13259 	    LD="${LD-ld} -m elf_s390"
   13260 	    ;;
   13261 	  sparc64-*linux*)
   13262 	    LD="${LD-ld} -m elf32_sparc"
   13263 	    ;;
   13264 	esac
   13265 	;;
   13266       *64-bit*)
   13267 	case $host in
   13268 	  x86_64-*kfreebsd*-gnu)
   13269 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13270 	    ;;
   13271 	  x86_64-*linux*)
   13272 	    LD="${LD-ld} -m elf_x86_64"
   13273 	    ;;
   13274 	  powerpcle-*linux*|powerpc64le-*linux*)
   13275 	    LD="${LD-ld} -m elf64lppc"
   13276 	    ;;
   13277 	  powerpc-*linux*|powerpc64-*linux*)
   13278 	    LD="${LD-ld} -m elf64ppc"
   13279 	    ;;
   13280 	  s390*-*linux*|s390*-*tpf*)
   13281 	    LD="${LD-ld} -m elf64_s390"
   13282 	    ;;
   13283 	  sparc*-*linux*)
   13284 	    LD="${LD-ld} -m elf64_sparc"
   13285 	    ;;
   13286 	esac
   13287 	;;
   13288     esac
   13289   fi
   13290   rm -rf conftest*
   13291   ;;
   13292 
   13293 *-*-sco3.2v5*)
   13294   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13295   SAVE_CFLAGS=$CFLAGS
   13296   CFLAGS="$CFLAGS -belf"
   13297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13298 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13299 if ${lt_cv_cc_needs_belf+:} false; then :
   13300   $as_echo_n "(cached) " >&6
   13301 else
   13302   ac_ext=c
   13303 ac_cpp='$CPP $CPPFLAGS'
   13304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13307 
   13308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13309 /* end confdefs.h.  */
   13310 
   13311 int
   13312 main ()
   13313 {
   13314 
   13315   ;
   13316   return 0;
   13317 }
   13318 _ACEOF
   13319 if ac_fn_c_try_link "$LINENO"; then :
   13320   lt_cv_cc_needs_belf=yes
   13321 else
   13322   lt_cv_cc_needs_belf=no
   13323 fi
   13324 rm -f core conftest.err conftest.$ac_objext \
   13325     conftest$ac_exeext conftest.$ac_ext
   13326      ac_ext=c
   13327 ac_cpp='$CPP $CPPFLAGS'
   13328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13331 
   13332 fi
   13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13334 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13335   if test yes != "$lt_cv_cc_needs_belf"; then
   13336     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13337     CFLAGS=$SAVE_CFLAGS
   13338   fi
   13339   ;;
   13340 *-*solaris*)
   13341   # Find out what ABI is being produced by ac_compile, and set linker
   13342   # options accordingly.
   13343   echo 'int i;' > conftest.$ac_ext
   13344   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13345   (eval $ac_compile) 2>&5
   13346   ac_status=$?
   13347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13348   test $ac_status = 0; }; then
   13349     case `/usr/bin/file conftest.o` in
   13350     *64-bit*)
   13351       case $lt_cv_prog_gnu_ld in
   13352       yes*)
   13353         case $host in
   13354         i?86-*-solaris*|x86_64-*-solaris*)
   13355           LD="${LD-ld} -m elf_x86_64"
   13356           ;;
   13357         sparc*-*-solaris*)
   13358           LD="${LD-ld} -m elf64_sparc"
   13359           ;;
   13360         esac
   13361         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13362         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13363           LD=${LD-ld}_sol2
   13364         fi
   13365         ;;
   13366       *)
   13367 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13368 	  LD="${LD-ld} -64"
   13369 	fi
   13370 	;;
   13371       esac
   13372       ;;
   13373     esac
   13374   fi
   13375   rm -rf conftest*
   13376   ;;
   13377 esac
   13378 
   13379 need_locks=$enable_libtool_lock
   13380 
   13381 if test -n "$ac_tool_prefix"; then
   13382   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13383 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13385 $as_echo_n "checking for $ac_word... " >&6; }
   13386 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13387   $as_echo_n "(cached) " >&6
   13388 else
   13389   if test -n "$MANIFEST_TOOL"; then
   13390   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13391 else
   13392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13393 for as_dir in $PATH
   13394 do
   13395   IFS=$as_save_IFS
   13396   test -z "$as_dir" && as_dir=.
   13397     for ac_exec_ext in '' $ac_executable_extensions; do
   13398   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13399     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13400     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13401     break 2
   13402   fi
   13403 done
   13404   done
   13405 IFS=$as_save_IFS
   13406 
   13407 fi
   13408 fi
   13409 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13410 if test -n "$MANIFEST_TOOL"; then
   13411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13412 $as_echo "$MANIFEST_TOOL" >&6; }
   13413 else
   13414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13415 $as_echo "no" >&6; }
   13416 fi
   13417 
   13418 
   13419 fi
   13420 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13421   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13422   # Extract the first word of "mt", so it can be a program name with args.
   13423 set dummy mt; ac_word=$2
   13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13425 $as_echo_n "checking for $ac_word... " >&6; }
   13426 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13427   $as_echo_n "(cached) " >&6
   13428 else
   13429   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13430   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13431 else
   13432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13433 for as_dir in $PATH
   13434 do
   13435   IFS=$as_save_IFS
   13436   test -z "$as_dir" && as_dir=.
   13437     for ac_exec_ext in '' $ac_executable_extensions; do
   13438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13439     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13441     break 2
   13442   fi
   13443 done
   13444   done
   13445 IFS=$as_save_IFS
   13446 
   13447 fi
   13448 fi
   13449 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13450 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13452 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13453 else
   13454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13455 $as_echo "no" >&6; }
   13456 fi
   13457 
   13458   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13459     MANIFEST_TOOL=":"
   13460   else
   13461     case $cross_compiling:$ac_tool_warned in
   13462 yes:)
   13463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13465 ac_tool_warned=yes ;;
   13466 esac
   13467     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13468   fi
   13469 else
   13470   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13471 fi
   13472 
   13473 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13475 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13476 if ${lt_cv_path_mainfest_tool+:} false; then :
   13477   $as_echo_n "(cached) " >&6
   13478 else
   13479   lt_cv_path_mainfest_tool=no
   13480   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13481   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13482   cat conftest.err >&5
   13483   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13484     lt_cv_path_mainfest_tool=yes
   13485   fi
   13486   rm -f conftest*
   13487 fi
   13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13489 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13490 if test yes != "$lt_cv_path_mainfest_tool"; then
   13491   MANIFEST_TOOL=:
   13492 fi
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499   case $host_os in
   13500     rhapsody* | darwin*)
   13501     if test -n "$ac_tool_prefix"; then
   13502   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13503 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13505 $as_echo_n "checking for $ac_word... " >&6; }
   13506 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13507   $as_echo_n "(cached) " >&6
   13508 else
   13509   if test -n "$DSYMUTIL"; then
   13510   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13511 else
   13512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13513 for as_dir in $PATH
   13514 do
   13515   IFS=$as_save_IFS
   13516   test -z "$as_dir" && as_dir=.
   13517     for ac_exec_ext in '' $ac_executable_extensions; do
   13518   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13519     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13521     break 2
   13522   fi
   13523 done
   13524   done
   13525 IFS=$as_save_IFS
   13526 
   13527 fi
   13528 fi
   13529 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13530 if test -n "$DSYMUTIL"; then
   13531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13532 $as_echo "$DSYMUTIL" >&6; }
   13533 else
   13534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13535 $as_echo "no" >&6; }
   13536 fi
   13537 
   13538 
   13539 fi
   13540 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13541   ac_ct_DSYMUTIL=$DSYMUTIL
   13542   # Extract the first word of "dsymutil", so it can be a program name with args.
   13543 set dummy dsymutil; ac_word=$2
   13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13545 $as_echo_n "checking for $ac_word... " >&6; }
   13546 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13547   $as_echo_n "(cached) " >&6
   13548 else
   13549   if test -n "$ac_ct_DSYMUTIL"; then
   13550   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13551 else
   13552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13553 for as_dir in $PATH
   13554 do
   13555   IFS=$as_save_IFS
   13556   test -z "$as_dir" && as_dir=.
   13557     for ac_exec_ext in '' $ac_executable_extensions; do
   13558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13559     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13561     break 2
   13562   fi
   13563 done
   13564   done
   13565 IFS=$as_save_IFS
   13566 
   13567 fi
   13568 fi
   13569 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13570 if test -n "$ac_ct_DSYMUTIL"; then
   13571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13572 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13573 else
   13574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13575 $as_echo "no" >&6; }
   13576 fi
   13577 
   13578   if test "x$ac_ct_DSYMUTIL" = x; then
   13579     DSYMUTIL=":"
   13580   else
   13581     case $cross_compiling:$ac_tool_warned in
   13582 yes:)
   13583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13585 ac_tool_warned=yes ;;
   13586 esac
   13587     DSYMUTIL=$ac_ct_DSYMUTIL
   13588   fi
   13589 else
   13590   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13591 fi
   13592 
   13593     if test -n "$ac_tool_prefix"; then
   13594   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13595 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13597 $as_echo_n "checking for $ac_word... " >&6; }
   13598 if ${ac_cv_prog_NMEDIT+:} false; then :
   13599   $as_echo_n "(cached) " >&6
   13600 else
   13601   if test -n "$NMEDIT"; then
   13602   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13603 else
   13604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13605 for as_dir in $PATH
   13606 do
   13607   IFS=$as_save_IFS
   13608   test -z "$as_dir" && as_dir=.
   13609     for ac_exec_ext in '' $ac_executable_extensions; do
   13610   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13611     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13612     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13613     break 2
   13614   fi
   13615 done
   13616   done
   13617 IFS=$as_save_IFS
   13618 
   13619 fi
   13620 fi
   13621 NMEDIT=$ac_cv_prog_NMEDIT
   13622 if test -n "$NMEDIT"; then
   13623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13624 $as_echo "$NMEDIT" >&6; }
   13625 else
   13626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13627 $as_echo "no" >&6; }
   13628 fi
   13629 
   13630 
   13631 fi
   13632 if test -z "$ac_cv_prog_NMEDIT"; then
   13633   ac_ct_NMEDIT=$NMEDIT
   13634   # Extract the first word of "nmedit", so it can be a program name with args.
   13635 set dummy nmedit; ac_word=$2
   13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13637 $as_echo_n "checking for $ac_word... " >&6; }
   13638 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13639   $as_echo_n "(cached) " >&6
   13640 else
   13641   if test -n "$ac_ct_NMEDIT"; then
   13642   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13643 else
   13644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13645 for as_dir in $PATH
   13646 do
   13647   IFS=$as_save_IFS
   13648   test -z "$as_dir" && as_dir=.
   13649     for ac_exec_ext in '' $ac_executable_extensions; do
   13650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13651     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13653     break 2
   13654   fi
   13655 done
   13656   done
   13657 IFS=$as_save_IFS
   13658 
   13659 fi
   13660 fi
   13661 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13662 if test -n "$ac_ct_NMEDIT"; then
   13663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13664 $as_echo "$ac_ct_NMEDIT" >&6; }
   13665 else
   13666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13667 $as_echo "no" >&6; }
   13668 fi
   13669 
   13670   if test "x$ac_ct_NMEDIT" = x; then
   13671     NMEDIT=":"
   13672   else
   13673     case $cross_compiling:$ac_tool_warned in
   13674 yes:)
   13675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13677 ac_tool_warned=yes ;;
   13678 esac
   13679     NMEDIT=$ac_ct_NMEDIT
   13680   fi
   13681 else
   13682   NMEDIT="$ac_cv_prog_NMEDIT"
   13683 fi
   13684 
   13685     if test -n "$ac_tool_prefix"; then
   13686   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13687 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13689 $as_echo_n "checking for $ac_word... " >&6; }
   13690 if ${ac_cv_prog_LIPO+:} false; then :
   13691   $as_echo_n "(cached) " >&6
   13692 else
   13693   if test -n "$LIPO"; then
   13694   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13695 else
   13696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13697 for as_dir in $PATH
   13698 do
   13699   IFS=$as_save_IFS
   13700   test -z "$as_dir" && as_dir=.
   13701     for ac_exec_ext in '' $ac_executable_extensions; do
   13702   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13703     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13705     break 2
   13706   fi
   13707 done
   13708   done
   13709 IFS=$as_save_IFS
   13710 
   13711 fi
   13712 fi
   13713 LIPO=$ac_cv_prog_LIPO
   13714 if test -n "$LIPO"; then
   13715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13716 $as_echo "$LIPO" >&6; }
   13717 else
   13718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13719 $as_echo "no" >&6; }
   13720 fi
   13721 
   13722 
   13723 fi
   13724 if test -z "$ac_cv_prog_LIPO"; then
   13725   ac_ct_LIPO=$LIPO
   13726   # Extract the first word of "lipo", so it can be a program name with args.
   13727 set dummy lipo; ac_word=$2
   13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13729 $as_echo_n "checking for $ac_word... " >&6; }
   13730 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13731   $as_echo_n "(cached) " >&6
   13732 else
   13733   if test -n "$ac_ct_LIPO"; then
   13734   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13735 else
   13736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13737 for as_dir in $PATH
   13738 do
   13739   IFS=$as_save_IFS
   13740   test -z "$as_dir" && as_dir=.
   13741     for ac_exec_ext in '' $ac_executable_extensions; do
   13742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13743     ac_cv_prog_ac_ct_LIPO="lipo"
   13744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13745     break 2
   13746   fi
   13747 done
   13748   done
   13749 IFS=$as_save_IFS
   13750 
   13751 fi
   13752 fi
   13753 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13754 if test -n "$ac_ct_LIPO"; then
   13755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13756 $as_echo "$ac_ct_LIPO" >&6; }
   13757 else
   13758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13759 $as_echo "no" >&6; }
   13760 fi
   13761 
   13762   if test "x$ac_ct_LIPO" = x; then
   13763     LIPO=":"
   13764   else
   13765     case $cross_compiling:$ac_tool_warned in
   13766 yes:)
   13767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13769 ac_tool_warned=yes ;;
   13770 esac
   13771     LIPO=$ac_ct_LIPO
   13772   fi
   13773 else
   13774   LIPO="$ac_cv_prog_LIPO"
   13775 fi
   13776 
   13777     if test -n "$ac_tool_prefix"; then
   13778   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13779 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13781 $as_echo_n "checking for $ac_word... " >&6; }
   13782 if ${ac_cv_prog_OTOOL+:} false; then :
   13783   $as_echo_n "(cached) " >&6
   13784 else
   13785   if test -n "$OTOOL"; then
   13786   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13787 else
   13788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13789 for as_dir in $PATH
   13790 do
   13791   IFS=$as_save_IFS
   13792   test -z "$as_dir" && as_dir=.
   13793     for ac_exec_ext in '' $ac_executable_extensions; do
   13794   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13795     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13796     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13797     break 2
   13798   fi
   13799 done
   13800   done
   13801 IFS=$as_save_IFS
   13802 
   13803 fi
   13804 fi
   13805 OTOOL=$ac_cv_prog_OTOOL
   13806 if test -n "$OTOOL"; then
   13807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13808 $as_echo "$OTOOL" >&6; }
   13809 else
   13810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13811 $as_echo "no" >&6; }
   13812 fi
   13813 
   13814 
   13815 fi
   13816 if test -z "$ac_cv_prog_OTOOL"; then
   13817   ac_ct_OTOOL=$OTOOL
   13818   # Extract the first word of "otool", so it can be a program name with args.
   13819 set dummy otool; ac_word=$2
   13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13821 $as_echo_n "checking for $ac_word... " >&6; }
   13822 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13823   $as_echo_n "(cached) " >&6
   13824 else
   13825   if test -n "$ac_ct_OTOOL"; then
   13826   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13827 else
   13828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13829 for as_dir in $PATH
   13830 do
   13831   IFS=$as_save_IFS
   13832   test -z "$as_dir" && as_dir=.
   13833     for ac_exec_ext in '' $ac_executable_extensions; do
   13834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13835     ac_cv_prog_ac_ct_OTOOL="otool"
   13836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13837     break 2
   13838   fi
   13839 done
   13840   done
   13841 IFS=$as_save_IFS
   13842 
   13843 fi
   13844 fi
   13845 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13846 if test -n "$ac_ct_OTOOL"; then
   13847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13848 $as_echo "$ac_ct_OTOOL" >&6; }
   13849 else
   13850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13851 $as_echo "no" >&6; }
   13852 fi
   13853 
   13854   if test "x$ac_ct_OTOOL" = x; then
   13855     OTOOL=":"
   13856   else
   13857     case $cross_compiling:$ac_tool_warned in
   13858 yes:)
   13859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13861 ac_tool_warned=yes ;;
   13862 esac
   13863     OTOOL=$ac_ct_OTOOL
   13864   fi
   13865 else
   13866   OTOOL="$ac_cv_prog_OTOOL"
   13867 fi
   13868 
   13869     if test -n "$ac_tool_prefix"; then
   13870   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13871 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13873 $as_echo_n "checking for $ac_word... " >&6; }
   13874 if ${ac_cv_prog_OTOOL64+:} false; then :
   13875   $as_echo_n "(cached) " >&6
   13876 else
   13877   if test -n "$OTOOL64"; then
   13878   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13879 else
   13880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13881 for as_dir in $PATH
   13882 do
   13883   IFS=$as_save_IFS
   13884   test -z "$as_dir" && as_dir=.
   13885     for ac_exec_ext in '' $ac_executable_extensions; do
   13886   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13887     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13889     break 2
   13890   fi
   13891 done
   13892   done
   13893 IFS=$as_save_IFS
   13894 
   13895 fi
   13896 fi
   13897 OTOOL64=$ac_cv_prog_OTOOL64
   13898 if test -n "$OTOOL64"; then
   13899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13900 $as_echo "$OTOOL64" >&6; }
   13901 else
   13902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13903 $as_echo "no" >&6; }
   13904 fi
   13905 
   13906 
   13907 fi
   13908 if test -z "$ac_cv_prog_OTOOL64"; then
   13909   ac_ct_OTOOL64=$OTOOL64
   13910   # Extract the first word of "otool64", so it can be a program name with args.
   13911 set dummy otool64; ac_word=$2
   13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13913 $as_echo_n "checking for $ac_word... " >&6; }
   13914 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13915   $as_echo_n "(cached) " >&6
   13916 else
   13917   if test -n "$ac_ct_OTOOL64"; then
   13918   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13919 else
   13920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13921 for as_dir in $PATH
   13922 do
   13923   IFS=$as_save_IFS
   13924   test -z "$as_dir" && as_dir=.
   13925     for ac_exec_ext in '' $ac_executable_extensions; do
   13926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13927     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13929     break 2
   13930   fi
   13931 done
   13932   done
   13933 IFS=$as_save_IFS
   13934 
   13935 fi
   13936 fi
   13937 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13938 if test -n "$ac_ct_OTOOL64"; then
   13939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13940 $as_echo "$ac_ct_OTOOL64" >&6; }
   13941 else
   13942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13943 $as_echo "no" >&6; }
   13944 fi
   13945 
   13946   if test "x$ac_ct_OTOOL64" = x; then
   13947     OTOOL64=":"
   13948   else
   13949     case $cross_compiling:$ac_tool_warned in
   13950 yes:)
   13951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13953 ac_tool_warned=yes ;;
   13954 esac
   13955     OTOOL64=$ac_ct_OTOOL64
   13956   fi
   13957 else
   13958   OTOOL64="$ac_cv_prog_OTOOL64"
   13959 fi
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 
   13971 
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13988 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13989 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13990   $as_echo_n "(cached) " >&6
   13991 else
   13992   lt_cv_apple_cc_single_mod=no
   13993       if test -z "$LT_MULTI_MODULE"; then
   13994 	# By default we will add the -single_module flag. You can override
   13995 	# by either setting the environment variable LT_MULTI_MODULE
   13996 	# non-empty at configure time, or by adding -multi_module to the
   13997 	# link flags.
   13998 	rm -rf libconftest.dylib*
   13999 	echo "int foo(void){return 1;}" > conftest.c
   14000 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14001 -dynamiclib -Wl,-single_module conftest.c" >&5
   14002 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14003 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14004         _lt_result=$?
   14005 	# If there is a non-empty error log, and "single_module"
   14006 	# appears in it, assume the flag caused a linker warning
   14007         if test -s conftest.err && $GREP single_module conftest.err; then
   14008 	  cat conftest.err >&5
   14009 	# Otherwise, if the output was created with a 0 exit code from
   14010 	# the compiler, it worked.
   14011 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14012 	  lt_cv_apple_cc_single_mod=yes
   14013 	else
   14014 	  cat conftest.err >&5
   14015 	fi
   14016 	rm -rf libconftest.dylib*
   14017 	rm -f conftest.*
   14018       fi
   14019 fi
   14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14021 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14022 
   14023     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14024 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14025 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14026   $as_echo_n "(cached) " >&6
   14027 else
   14028   lt_cv_ld_exported_symbols_list=no
   14029       save_LDFLAGS=$LDFLAGS
   14030       echo "_main" > conftest.sym
   14031       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14033 /* end confdefs.h.  */
   14034 
   14035 int
   14036 main ()
   14037 {
   14038 
   14039   ;
   14040   return 0;
   14041 }
   14042 _ACEOF
   14043 if ac_fn_c_try_link "$LINENO"; then :
   14044   lt_cv_ld_exported_symbols_list=yes
   14045 else
   14046   lt_cv_ld_exported_symbols_list=no
   14047 fi
   14048 rm -f core conftest.err conftest.$ac_objext \
   14049     conftest$ac_exeext conftest.$ac_ext
   14050 	LDFLAGS=$save_LDFLAGS
   14051 
   14052 fi
   14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14054 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14055 
   14056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14057 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14058 if ${lt_cv_ld_force_load+:} false; then :
   14059   $as_echo_n "(cached) " >&6
   14060 else
   14061   lt_cv_ld_force_load=no
   14062       cat > conftest.c << _LT_EOF
   14063 int forced_loaded() { return 2;}
   14064 _LT_EOF
   14065       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14066       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14067       echo "$AR cru libconftest.a conftest.o" >&5
   14068       $AR cru libconftest.a conftest.o 2>&5
   14069       echo "$RANLIB libconftest.a" >&5
   14070       $RANLIB libconftest.a 2>&5
   14071       cat > conftest.c << _LT_EOF
   14072 int main() { return 0;}
   14073 _LT_EOF
   14074       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14075       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14076       _lt_result=$?
   14077       if test -s conftest.err && $GREP force_load conftest.err; then
   14078 	cat conftest.err >&5
   14079       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14080 	lt_cv_ld_force_load=yes
   14081       else
   14082 	cat conftest.err >&5
   14083       fi
   14084         rm -f conftest.err libconftest.a conftest conftest.c
   14085         rm -rf conftest.dSYM
   14086 
   14087 fi
   14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14089 $as_echo "$lt_cv_ld_force_load" >&6; }
   14090     case $host_os in
   14091     rhapsody* | darwin1.[012])
   14092       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14093     darwin1.*)
   14094       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14095     darwin*) # darwin 5.x on
   14096       # if running on 10.5 or later, the deployment target defaults
   14097       # to the OS version, if on x86, and 10.4, the deployment
   14098       # target defaults to 10.4. Don't you love it?
   14099       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14100 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14101 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14102 	10.[012][,.]*)
   14103 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14104 	10.*)
   14105 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14106       esac
   14107     ;;
   14108   esac
   14109     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14110       _lt_dar_single_mod='$single_module'
   14111     fi
   14112     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14113       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14114     else
   14115       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14116     fi
   14117     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14118       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14119     else
   14120       _lt_dsymutil=
   14121     fi
   14122     ;;
   14123   esac
   14124 
   14125 # func_munge_path_list VARIABLE PATH
   14126 # -----------------------------------
   14127 # VARIABLE is name of variable containing _space_ separated list of
   14128 # directories to be munged by the contents of PATH, which is string
   14129 # having a format:
   14130 # "DIR[:DIR]:"
   14131 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14132 # ":DIR[:DIR]"
   14133 #       string "DIR[ DIR]" will be appended to VARIABLE
   14134 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14135 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14136 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14137 # "DIR[:DIR]"
   14138 #       VARIABLE will be replaced by "DIR[ DIR]"
   14139 func_munge_path_list ()
   14140 {
   14141     case x$2 in
   14142     x)
   14143         ;;
   14144     *:)
   14145         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14146         ;;
   14147     x:*)
   14148         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14149         ;;
   14150     *::*)
   14151         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14152         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14153         ;;
   14154     *)
   14155         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14156         ;;
   14157     esac
   14158 }
   14159 
   14160 for ac_header in dlfcn.h
   14161 do :
   14162   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14163 "
   14164 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14165   cat >>confdefs.h <<_ACEOF
   14166 #define HAVE_DLFCN_H 1
   14167 _ACEOF
   14168 
   14169 fi
   14170 
   14171 done
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 # Set options
   14178 # Check whether --enable-static was given.
   14179 if test "${enable_static+set}" = set; then :
   14180   enableval=$enable_static; p=${PACKAGE-default}
   14181     case $enableval in
   14182     yes) enable_static=yes ;;
   14183     no) enable_static=no ;;
   14184     *)
   14185      enable_static=no
   14186       # Look at the argument we got.  We use all the common list separators.
   14187       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14188       for pkg in $enableval; do
   14189 	IFS=$lt_save_ifs
   14190 	if test "X$pkg" = "X$p"; then
   14191 	  enable_static=yes
   14192 	fi
   14193       done
   14194       IFS=$lt_save_ifs
   14195       ;;
   14196     esac
   14197 else
   14198   enable_static=no
   14199 fi
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 
   14209 
   14210         enable_dlopen=no
   14211 
   14212 
   14213   enable_win32_dll=no
   14214 
   14215 
   14216             # Check whether --enable-shared was given.
   14217 if test "${enable_shared+set}" = set; then :
   14218   enableval=$enable_shared; p=${PACKAGE-default}
   14219     case $enableval in
   14220     yes) enable_shared=yes ;;
   14221     no) enable_shared=no ;;
   14222     *)
   14223       enable_shared=no
   14224       # Look at the argument we got.  We use all the common list separators.
   14225       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14226       for pkg in $enableval; do
   14227 	IFS=$lt_save_ifs
   14228 	if test "X$pkg" = "X$p"; then
   14229 	  enable_shared=yes
   14230 	fi
   14231       done
   14232       IFS=$lt_save_ifs
   14233       ;;
   14234     esac
   14235 else
   14236   enable_shared=yes
   14237 fi
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 # Check whether --with-pic was given.
   14250 if test "${with_pic+set}" = set; then :
   14251   withval=$with_pic; lt_p=${PACKAGE-default}
   14252     case $withval in
   14253     yes|no) pic_mode=$withval ;;
   14254     *)
   14255       pic_mode=default
   14256       # Look at the argument we got.  We use all the common list separators.
   14257       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14258       for lt_pkg in $withval; do
   14259 	IFS=$lt_save_ifs
   14260 	if test "X$lt_pkg" = "X$lt_p"; then
   14261 	  pic_mode=yes
   14262 	fi
   14263       done
   14264       IFS=$lt_save_ifs
   14265       ;;
   14266     esac
   14267 else
   14268   pic_mode=default
   14269 fi
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278   # Check whether --enable-fast-install was given.
   14279 if test "${enable_fast_install+set}" = set; then :
   14280   enableval=$enable_fast_install; p=${PACKAGE-default}
   14281     case $enableval in
   14282     yes) enable_fast_install=yes ;;
   14283     no) enable_fast_install=no ;;
   14284     *)
   14285       enable_fast_install=no
   14286       # Look at the argument we got.  We use all the common list separators.
   14287       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14288       for pkg in $enableval; do
   14289 	IFS=$lt_save_ifs
   14290 	if test "X$pkg" = "X$p"; then
   14291 	  enable_fast_install=yes
   14292 	fi
   14293       done
   14294       IFS=$lt_save_ifs
   14295       ;;
   14296     esac
   14297 else
   14298   enable_fast_install=yes
   14299 fi
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308   shared_archive_member_spec=
   14309 case $host,$enable_shared in
   14310 power*-*-aix[5-9]*,yes)
   14311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14312 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14313 
   14314 # Check whether --with-aix-soname was given.
   14315 if test "${with_aix_soname+set}" = set; then :
   14316   withval=$with_aix_soname; case $withval in
   14317     aix|svr4|both)
   14318       ;;
   14319     *)
   14320       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14321       ;;
   14322     esac
   14323     lt_cv_with_aix_soname=$with_aix_soname
   14324 else
   14325   if ${lt_cv_with_aix_soname+:} false; then :
   14326   $as_echo_n "(cached) " >&6
   14327 else
   14328   lt_cv_with_aix_soname=aix
   14329 fi
   14330 
   14331     with_aix_soname=$lt_cv_with_aix_soname
   14332 fi
   14333 
   14334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14335 $as_echo "$with_aix_soname" >&6; }
   14336   if test aix != "$with_aix_soname"; then
   14337     # For the AIX way of multilib, we name the shared archive member
   14338     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14339     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14340     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14341     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14342     if test 64 = "${OBJECT_MODE-32}"; then
   14343       shared_archive_member_spec=shr_64
   14344     else
   14345       shared_archive_member_spec=shr
   14346     fi
   14347   fi
   14348   ;;
   14349 *)
   14350   with_aix_soname=aix
   14351   ;;
   14352 esac
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 # This can be used to rebuild libtool when needed
   14364 LIBTOOL_DEPS=$ltmain
   14365 
   14366 # Always use our own libtool.
   14367 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 test -z "$LN_S" && LN_S="ln -s"
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 if test -n "${ZSH_VERSION+set}"; then
   14414    setopt NO_GLOB_SUBST
   14415 fi
   14416 
   14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14418 $as_echo_n "checking for objdir... " >&6; }
   14419 if ${lt_cv_objdir+:} false; then :
   14420   $as_echo_n "(cached) " >&6
   14421 else
   14422   rm -f .libs 2>/dev/null
   14423 mkdir .libs 2>/dev/null
   14424 if test -d .libs; then
   14425   lt_cv_objdir=.libs
   14426 else
   14427   # MS-DOS does not allow filenames that begin with a dot.
   14428   lt_cv_objdir=_libs
   14429 fi
   14430 rmdir .libs 2>/dev/null
   14431 fi
   14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14433 $as_echo "$lt_cv_objdir" >&6; }
   14434 objdir=$lt_cv_objdir
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 cat >>confdefs.h <<_ACEOF
   14441 #define LT_OBJDIR "$lt_cv_objdir/"
   14442 _ACEOF
   14443 
   14444 
   14445 
   14446 
   14447 case $host_os in
   14448 aix3*)
   14449   # AIX sometimes has problems with the GCC collect2 program.  For some
   14450   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14451   # vanish in a puff of smoke.
   14452   if test set != "${COLLECT_NAMES+set}"; then
   14453     COLLECT_NAMES=
   14454     export COLLECT_NAMES
   14455   fi
   14456   ;;
   14457 esac
   14458 
   14459 # Global variables:
   14460 ofile=libtool
   14461 can_build_shared=yes
   14462 
   14463 # All known linkers require a '.a' archive for static linking (except MSVC,
   14464 # which needs '.lib').
   14465 libext=a
   14466 
   14467 with_gnu_ld=$lt_cv_prog_gnu_ld
   14468 
   14469 old_CC=$CC
   14470 old_CFLAGS=$CFLAGS
   14471 
   14472 # Set sane defaults for various variables
   14473 test -z "$CC" && CC=cc
   14474 test -z "$LTCC" && LTCC=$CC
   14475 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14476 test -z "$LD" && LD=ld
   14477 test -z "$ac_objext" && ac_objext=o
   14478 
   14479 func_cc_basename $compiler
   14480 cc_basename=$func_cc_basename_result
   14481 
   14482 
   14483 # Only perform the check for file, if the check method requires it
   14484 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14485 case $deplibs_check_method in
   14486 file_magic*)
   14487   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14489 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14490 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14491   $as_echo_n "(cached) " >&6
   14492 else
   14493   case $MAGIC_CMD in
   14494 [\\/*] |  ?:[\\/]*)
   14495   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14496   ;;
   14497 *)
   14498   lt_save_MAGIC_CMD=$MAGIC_CMD
   14499   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14500   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14501   for ac_dir in $ac_dummy; do
   14502     IFS=$lt_save_ifs
   14503     test -z "$ac_dir" && ac_dir=.
   14504     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14505       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14506       if test -n "$file_magic_test_file"; then
   14507 	case $deplibs_check_method in
   14508 	"file_magic "*)
   14509 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14510 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14511 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14512 	    $EGREP "$file_magic_regex" > /dev/null; then
   14513 	    :
   14514 	  else
   14515 	    cat <<_LT_EOF 1>&2
   14516 
   14517 *** Warning: the command libtool uses to detect shared libraries,
   14518 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14519 *** The result is that libtool may fail to recognize shared libraries
   14520 *** as such.  This will affect the creation of libtool libraries that
   14521 *** depend on shared libraries, but programs linked with such libtool
   14522 *** libraries will work regardless of this problem.  Nevertheless, you
   14523 *** may want to report the problem to your system manager and/or to
   14524 *** bug-libtool (at] gnu.org
   14525 
   14526 _LT_EOF
   14527 	  fi ;;
   14528 	esac
   14529       fi
   14530       break
   14531     fi
   14532   done
   14533   IFS=$lt_save_ifs
   14534   MAGIC_CMD=$lt_save_MAGIC_CMD
   14535   ;;
   14536 esac
   14537 fi
   14538 
   14539 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14540 if test -n "$MAGIC_CMD"; then
   14541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14542 $as_echo "$MAGIC_CMD" >&6; }
   14543 else
   14544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14545 $as_echo "no" >&6; }
   14546 fi
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14553   if test -n "$ac_tool_prefix"; then
   14554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14555 $as_echo_n "checking for file... " >&6; }
   14556 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14557   $as_echo_n "(cached) " >&6
   14558 else
   14559   case $MAGIC_CMD in
   14560 [\\/*] |  ?:[\\/]*)
   14561   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14562   ;;
   14563 *)
   14564   lt_save_MAGIC_CMD=$MAGIC_CMD
   14565   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14566   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14567   for ac_dir in $ac_dummy; do
   14568     IFS=$lt_save_ifs
   14569     test -z "$ac_dir" && ac_dir=.
   14570     if test -f "$ac_dir/file"; then
   14571       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14572       if test -n "$file_magic_test_file"; then
   14573 	case $deplibs_check_method in
   14574 	"file_magic "*)
   14575 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14576 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14577 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14578 	    $EGREP "$file_magic_regex" > /dev/null; then
   14579 	    :
   14580 	  else
   14581 	    cat <<_LT_EOF 1>&2
   14582 
   14583 *** Warning: the command libtool uses to detect shared libraries,
   14584 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14585 *** The result is that libtool may fail to recognize shared libraries
   14586 *** as such.  This will affect the creation of libtool libraries that
   14587 *** depend on shared libraries, but programs linked with such libtool
   14588 *** libraries will work regardless of this problem.  Nevertheless, you
   14589 *** may want to report the problem to your system manager and/or to
   14590 *** bug-libtool (at] gnu.org
   14591 
   14592 _LT_EOF
   14593 	  fi ;;
   14594 	esac
   14595       fi
   14596       break
   14597     fi
   14598   done
   14599   IFS=$lt_save_ifs
   14600   MAGIC_CMD=$lt_save_MAGIC_CMD
   14601   ;;
   14602 esac
   14603 fi
   14604 
   14605 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14606 if test -n "$MAGIC_CMD"; then
   14607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14608 $as_echo "$MAGIC_CMD" >&6; }
   14609 else
   14610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14611 $as_echo "no" >&6; }
   14612 fi
   14613 
   14614 
   14615   else
   14616     MAGIC_CMD=:
   14617   fi
   14618 fi
   14619 
   14620   fi
   14621   ;;
   14622 esac
   14623 
   14624 # Use C for the default configuration in the libtool script
   14625 
   14626 lt_save_CC=$CC
   14627 ac_ext=c
   14628 ac_cpp='$CPP $CPPFLAGS'
   14629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14632 
   14633 
   14634 # Source file extension for C test sources.
   14635 ac_ext=c
   14636 
   14637 # Object file extension for compiled C test sources.
   14638 objext=o
   14639 objext=$objext
   14640 
   14641 # Code to be used in simple compile tests
   14642 lt_simple_compile_test_code="int some_variable = 0;"
   14643 
   14644 # Code to be used in simple link tests
   14645 lt_simple_link_test_code='int main(){return(0);}'
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 # If no C compiler was specified, use CC.
   14654 LTCC=${LTCC-"$CC"}
   14655 
   14656 # If no C compiler flags were specified, use CFLAGS.
   14657 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14658 
   14659 # Allow CC to be a program name with arguments.
   14660 compiler=$CC
   14661 
   14662 # Save the default compiler, since it gets overwritten when the other
   14663 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14664 compiler_DEFAULT=$CC
   14665 
   14666 # save warnings/boilerplate of simple test code
   14667 ac_outfile=conftest.$ac_objext
   14668 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14669 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14670 _lt_compiler_boilerplate=`cat conftest.err`
   14671 $RM conftest*
   14672 
   14673 ac_outfile=conftest.$ac_objext
   14674 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14675 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14676 _lt_linker_boilerplate=`cat conftest.err`
   14677 $RM -r conftest*
   14678 
   14679 
   14680 ## CAVEAT EMPTOR:
   14681 ## There is no encapsulation within the following macros, do not change
   14682 ## the running order or otherwise move them around unless you know exactly
   14683 ## what you are doing...
   14684 if test -n "$compiler"; then
   14685 
   14686 lt_prog_compiler_no_builtin_flag=
   14687 
   14688 if test yes = "$GCC"; then
   14689   case $cc_basename in
   14690   nvcc*)
   14691     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14692   *)
   14693     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14694   esac
   14695 
   14696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14697 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14698 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14699   $as_echo_n "(cached) " >&6
   14700 else
   14701   lt_cv_prog_compiler_rtti_exceptions=no
   14702    ac_outfile=conftest.$ac_objext
   14703    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14704    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14705    # Insert the option either (1) after the last *FLAGS variable, or
   14706    # (2) before a word containing "conftest.", or (3) at the end.
   14707    # Note that $ac_compile itself does not contain backslashes and begins
   14708    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14709    # The option is referenced via a variable to avoid confusing sed.
   14710    lt_compile=`echo "$ac_compile" | $SED \
   14711    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14712    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14713    -e 's:$: $lt_compiler_flag:'`
   14714    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14715    (eval "$lt_compile" 2>conftest.err)
   14716    ac_status=$?
   14717    cat conftest.err >&5
   14718    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14719    if (exit $ac_status) && test -s "$ac_outfile"; then
   14720      # The compiler can only warn and ignore the option if not recognized
   14721      # So say no if there are warnings other than the usual output.
   14722      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14723      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14724      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14725        lt_cv_prog_compiler_rtti_exceptions=yes
   14726      fi
   14727    fi
   14728    $RM conftest*
   14729 
   14730 fi
   14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14732 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14733 
   14734 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14735     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14736 else
   14737     :
   14738 fi
   14739 
   14740 fi
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747   lt_prog_compiler_wl=
   14748 lt_prog_compiler_pic=
   14749 lt_prog_compiler_static=
   14750 
   14751 
   14752   if test yes = "$GCC"; then
   14753     lt_prog_compiler_wl='-Wl,'
   14754     lt_prog_compiler_static='-static'
   14755 
   14756     case $host_os in
   14757       aix*)
   14758       # All AIX code is PIC.
   14759       if test ia64 = "$host_cpu"; then
   14760 	# AIX 5 now supports IA64 processor
   14761 	lt_prog_compiler_static='-Bstatic'
   14762       fi
   14763       lt_prog_compiler_pic='-fPIC'
   14764       ;;
   14765 
   14766     amigaos*)
   14767       case $host_cpu in
   14768       powerpc)
   14769             # see comment about AmigaOS4 .so support
   14770             lt_prog_compiler_pic='-fPIC'
   14771         ;;
   14772       m68k)
   14773             # FIXME: we need at least 68020 code to build shared libraries, but
   14774             # adding the '-m68020' flag to GCC prevents building anything better,
   14775             # like '-m68040'.
   14776             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14777         ;;
   14778       esac
   14779       ;;
   14780 
   14781     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14782       # PIC is the default for these OSes.
   14783       ;;
   14784 
   14785     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14786       # This hack is so that the source file can tell whether it is being
   14787       # built for inclusion in a dll (and should export symbols for example).
   14788       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14789       # (--disable-auto-import) libraries
   14790       lt_prog_compiler_pic='-DDLL_EXPORT'
   14791       case $host_os in
   14792       os2*)
   14793 	lt_prog_compiler_static='$wl-static'
   14794 	;;
   14795       esac
   14796       ;;
   14797 
   14798     darwin* | rhapsody*)
   14799       # PIC is the default on this platform
   14800       # Common symbols not allowed in MH_DYLIB files
   14801       lt_prog_compiler_pic='-fno-common'
   14802       ;;
   14803 
   14804     haiku*)
   14805       # PIC is the default for Haiku.
   14806       # The "-static" flag exists, but is broken.
   14807       lt_prog_compiler_static=
   14808       ;;
   14809 
   14810     hpux*)
   14811       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14812       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14813       # sets the default TLS model and affects inlining.
   14814       case $host_cpu in
   14815       hppa*64*)
   14816 	# +Z the default
   14817 	;;
   14818       *)
   14819 	lt_prog_compiler_pic='-fPIC'
   14820 	;;
   14821       esac
   14822       ;;
   14823 
   14824     interix[3-9]*)
   14825       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14826       # Instead, we relocate shared libraries at runtime.
   14827       ;;
   14828 
   14829     msdosdjgpp*)
   14830       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14831       # on systems that don't support them.
   14832       lt_prog_compiler_can_build_shared=no
   14833       enable_shared=no
   14834       ;;
   14835 
   14836     *nto* | *qnx*)
   14837       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14838       # it will coredump.
   14839       lt_prog_compiler_pic='-fPIC -shared'
   14840       ;;
   14841 
   14842     sysv4*MP*)
   14843       if test -d /usr/nec; then
   14844 	lt_prog_compiler_pic=-Kconform_pic
   14845       fi
   14846       ;;
   14847 
   14848     *)
   14849       lt_prog_compiler_pic='-fPIC'
   14850       ;;
   14851     esac
   14852 
   14853     case $cc_basename in
   14854     nvcc*) # Cuda Compiler Driver 2.2
   14855       lt_prog_compiler_wl='-Xlinker '
   14856       if test -n "$lt_prog_compiler_pic"; then
   14857         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14858       fi
   14859       ;;
   14860     esac
   14861   else
   14862     # PORTME Check for flag to pass linker flags through the system compiler.
   14863     case $host_os in
   14864     aix*)
   14865       lt_prog_compiler_wl='-Wl,'
   14866       if test ia64 = "$host_cpu"; then
   14867 	# AIX 5 now supports IA64 processor
   14868 	lt_prog_compiler_static='-Bstatic'
   14869       else
   14870 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14871       fi
   14872       ;;
   14873 
   14874     darwin* | rhapsody*)
   14875       # PIC is the default on this platform
   14876       # Common symbols not allowed in MH_DYLIB files
   14877       lt_prog_compiler_pic='-fno-common'
   14878       case $cc_basename in
   14879       nagfor*)
   14880         # NAG Fortran compiler
   14881         lt_prog_compiler_wl='-Wl,-Wl,,'
   14882         lt_prog_compiler_pic='-PIC'
   14883         lt_prog_compiler_static='-Bstatic'
   14884         ;;
   14885       esac
   14886       ;;
   14887 
   14888     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14889       # This hack is so that the source file can tell whether it is being
   14890       # built for inclusion in a dll (and should export symbols for example).
   14891       lt_prog_compiler_pic='-DDLL_EXPORT'
   14892       case $host_os in
   14893       os2*)
   14894 	lt_prog_compiler_static='$wl-static'
   14895 	;;
   14896       esac
   14897       ;;
   14898 
   14899     hpux9* | hpux10* | hpux11*)
   14900       lt_prog_compiler_wl='-Wl,'
   14901       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14902       # not for PA HP-UX.
   14903       case $host_cpu in
   14904       hppa*64*|ia64*)
   14905 	# +Z the default
   14906 	;;
   14907       *)
   14908 	lt_prog_compiler_pic='+Z'
   14909 	;;
   14910       esac
   14911       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14912       lt_prog_compiler_static='$wl-a ${wl}archive'
   14913       ;;
   14914 
   14915     irix5* | irix6* | nonstopux*)
   14916       lt_prog_compiler_wl='-Wl,'
   14917       # PIC (with -KPIC) is the default.
   14918       lt_prog_compiler_static='-non_shared'
   14919       ;;
   14920 
   14921     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14922       case $cc_basename in
   14923       # old Intel for x86_64, which still supported -KPIC.
   14924       ecc*)
   14925 	lt_prog_compiler_wl='-Wl,'
   14926 	lt_prog_compiler_pic='-KPIC'
   14927 	lt_prog_compiler_static='-static'
   14928         ;;
   14929       # icc used to be incompatible with GCC.
   14930       # ICC 10 doesn't accept -KPIC any more.
   14931       icc* | ifort*)
   14932 	lt_prog_compiler_wl='-Wl,'
   14933 	lt_prog_compiler_pic='-fPIC'
   14934 	lt_prog_compiler_static='-static'
   14935         ;;
   14936       # Lahey Fortran 8.1.
   14937       lf95*)
   14938 	lt_prog_compiler_wl='-Wl,'
   14939 	lt_prog_compiler_pic='--shared'
   14940 	lt_prog_compiler_static='--static'
   14941 	;;
   14942       nagfor*)
   14943 	# NAG Fortran compiler
   14944 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14945 	lt_prog_compiler_pic='-PIC'
   14946 	lt_prog_compiler_static='-Bstatic'
   14947 	;;
   14948       tcc*)
   14949 	# Fabrice Bellard et al's Tiny C Compiler
   14950 	lt_prog_compiler_wl='-Wl,'
   14951 	lt_prog_compiler_pic='-fPIC'
   14952 	lt_prog_compiler_static='-static'
   14953 	;;
   14954       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14955         # Portland Group compilers (*not* the Pentium gcc compiler,
   14956 	# which looks to be a dead project)
   14957 	lt_prog_compiler_wl='-Wl,'
   14958 	lt_prog_compiler_pic='-fpic'
   14959 	lt_prog_compiler_static='-Bstatic'
   14960         ;;
   14961       ccc*)
   14962         lt_prog_compiler_wl='-Wl,'
   14963         # All Alpha code is PIC.
   14964         lt_prog_compiler_static='-non_shared'
   14965         ;;
   14966       xl* | bgxl* | bgf* | mpixl*)
   14967 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14968 	lt_prog_compiler_wl='-Wl,'
   14969 	lt_prog_compiler_pic='-qpic'
   14970 	lt_prog_compiler_static='-qstaticlink'
   14971 	;;
   14972       *)
   14973 	case `$CC -V 2>&1 | sed 5q` in
   14974 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14975 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14976 	  lt_prog_compiler_pic='-KPIC'
   14977 	  lt_prog_compiler_static='-Bstatic'
   14978 	  lt_prog_compiler_wl=''
   14979 	  ;;
   14980 	*Sun\ F* | *Sun*Fortran*)
   14981 	  lt_prog_compiler_pic='-KPIC'
   14982 	  lt_prog_compiler_static='-Bstatic'
   14983 	  lt_prog_compiler_wl='-Qoption ld '
   14984 	  ;;
   14985 	*Sun\ C*)
   14986 	  # Sun C 5.9
   14987 	  lt_prog_compiler_pic='-KPIC'
   14988 	  lt_prog_compiler_static='-Bstatic'
   14989 	  lt_prog_compiler_wl='-Wl,'
   14990 	  ;;
   14991         *Intel*\ [CF]*Compiler*)
   14992 	  lt_prog_compiler_wl='-Wl,'
   14993 	  lt_prog_compiler_pic='-fPIC'
   14994 	  lt_prog_compiler_static='-static'
   14995 	  ;;
   14996 	*Portland\ Group*)
   14997 	  lt_prog_compiler_wl='-Wl,'
   14998 	  lt_prog_compiler_pic='-fpic'
   14999 	  lt_prog_compiler_static='-Bstatic'
   15000 	  ;;
   15001 	esac
   15002 	;;
   15003       esac
   15004       ;;
   15005 
   15006     newsos6)
   15007       lt_prog_compiler_pic='-KPIC'
   15008       lt_prog_compiler_static='-Bstatic'
   15009       ;;
   15010 
   15011     *nto* | *qnx*)
   15012       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15013       # it will coredump.
   15014       lt_prog_compiler_pic='-fPIC -shared'
   15015       ;;
   15016 
   15017     osf3* | osf4* | osf5*)
   15018       lt_prog_compiler_wl='-Wl,'
   15019       # All OSF/1 code is PIC.
   15020       lt_prog_compiler_static='-non_shared'
   15021       ;;
   15022 
   15023     rdos*)
   15024       lt_prog_compiler_static='-non_shared'
   15025       ;;
   15026 
   15027     solaris*)
   15028       lt_prog_compiler_pic='-KPIC'
   15029       lt_prog_compiler_static='-Bstatic'
   15030       case $cc_basename in
   15031       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15032 	lt_prog_compiler_wl='-Qoption ld ';;
   15033       *)
   15034 	lt_prog_compiler_wl='-Wl,';;
   15035       esac
   15036       ;;
   15037 
   15038     sunos4*)
   15039       lt_prog_compiler_wl='-Qoption ld '
   15040       lt_prog_compiler_pic='-PIC'
   15041       lt_prog_compiler_static='-Bstatic'
   15042       ;;
   15043 
   15044     sysv4 | sysv4.2uw2* | sysv4.3*)
   15045       lt_prog_compiler_wl='-Wl,'
   15046       lt_prog_compiler_pic='-KPIC'
   15047       lt_prog_compiler_static='-Bstatic'
   15048       ;;
   15049 
   15050     sysv4*MP*)
   15051       if test -d /usr/nec; then
   15052 	lt_prog_compiler_pic='-Kconform_pic'
   15053 	lt_prog_compiler_static='-Bstatic'
   15054       fi
   15055       ;;
   15056 
   15057     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15058       lt_prog_compiler_wl='-Wl,'
   15059       lt_prog_compiler_pic='-KPIC'
   15060       lt_prog_compiler_static='-Bstatic'
   15061       ;;
   15062 
   15063     unicos*)
   15064       lt_prog_compiler_wl='-Wl,'
   15065       lt_prog_compiler_can_build_shared=no
   15066       ;;
   15067 
   15068     uts4*)
   15069       lt_prog_compiler_pic='-pic'
   15070       lt_prog_compiler_static='-Bstatic'
   15071       ;;
   15072 
   15073     *)
   15074       lt_prog_compiler_can_build_shared=no
   15075       ;;
   15076     esac
   15077   fi
   15078 
   15079 case $host_os in
   15080   # For platforms that do not support PIC, -DPIC is meaningless:
   15081   *djgpp*)
   15082     lt_prog_compiler_pic=
   15083     ;;
   15084   *)
   15085     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15086     ;;
   15087 esac
   15088 
   15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15090 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15091 if ${lt_cv_prog_compiler_pic+:} false; then :
   15092   $as_echo_n "(cached) " >&6
   15093 else
   15094   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15095 fi
   15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15097 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15098 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15099 
   15100 #
   15101 # Check to make sure the PIC flag actually works.
   15102 #
   15103 if test -n "$lt_prog_compiler_pic"; then
   15104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15105 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15106 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15107   $as_echo_n "(cached) " >&6
   15108 else
   15109   lt_cv_prog_compiler_pic_works=no
   15110    ac_outfile=conftest.$ac_objext
   15111    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15112    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15113    # Insert the option either (1) after the last *FLAGS variable, or
   15114    # (2) before a word containing "conftest.", or (3) at the end.
   15115    # Note that $ac_compile itself does not contain backslashes and begins
   15116    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15117    # The option is referenced via a variable to avoid confusing sed.
   15118    lt_compile=`echo "$ac_compile" | $SED \
   15119    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15120    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15121    -e 's:$: $lt_compiler_flag:'`
   15122    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15123    (eval "$lt_compile" 2>conftest.err)
   15124    ac_status=$?
   15125    cat conftest.err >&5
   15126    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15127    if (exit $ac_status) && test -s "$ac_outfile"; then
   15128      # The compiler can only warn and ignore the option if not recognized
   15129      # So say no if there are warnings other than the usual output.
   15130      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15131      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15132      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15133        lt_cv_prog_compiler_pic_works=yes
   15134      fi
   15135    fi
   15136    $RM conftest*
   15137 
   15138 fi
   15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15140 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15141 
   15142 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15143     case $lt_prog_compiler_pic in
   15144      "" | " "*) ;;
   15145      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15146      esac
   15147 else
   15148     lt_prog_compiler_pic=
   15149      lt_prog_compiler_can_build_shared=no
   15150 fi
   15151 
   15152 fi
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 #
   15165 # Check to make sure the static flag actually works.
   15166 #
   15167 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15169 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15170 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15171   $as_echo_n "(cached) " >&6
   15172 else
   15173   lt_cv_prog_compiler_static_works=no
   15174    save_LDFLAGS=$LDFLAGS
   15175    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15176    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15177    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15178      # The linker can only warn and ignore the option if not recognized
   15179      # So say no if there are warnings
   15180      if test -s conftest.err; then
   15181        # Append any errors to the config.log.
   15182        cat conftest.err 1>&5
   15183        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15184        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15185        if diff conftest.exp conftest.er2 >/dev/null; then
   15186          lt_cv_prog_compiler_static_works=yes
   15187        fi
   15188      else
   15189        lt_cv_prog_compiler_static_works=yes
   15190      fi
   15191    fi
   15192    $RM -r conftest*
   15193    LDFLAGS=$save_LDFLAGS
   15194 
   15195 fi
   15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15197 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15198 
   15199 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15200     :
   15201 else
   15202     lt_prog_compiler_static=
   15203 fi
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15212 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15213 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15214   $as_echo_n "(cached) " >&6
   15215 else
   15216   lt_cv_prog_compiler_c_o=no
   15217    $RM -r conftest 2>/dev/null
   15218    mkdir conftest
   15219    cd conftest
   15220    mkdir out
   15221    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15222 
   15223    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15224    # Insert the option either (1) after the last *FLAGS variable, or
   15225    # (2) before a word containing "conftest.", or (3) at the end.
   15226    # Note that $ac_compile itself does not contain backslashes and begins
   15227    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15228    lt_compile=`echo "$ac_compile" | $SED \
   15229    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15230    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15231    -e 's:$: $lt_compiler_flag:'`
   15232    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15233    (eval "$lt_compile" 2>out/conftest.err)
   15234    ac_status=$?
   15235    cat out/conftest.err >&5
   15236    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15237    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15238    then
   15239      # The compiler can only warn and ignore the option if not recognized
   15240      # So say no if there are warnings
   15241      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15242      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15243      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15244        lt_cv_prog_compiler_c_o=yes
   15245      fi
   15246    fi
   15247    chmod u+w . 2>&5
   15248    $RM conftest*
   15249    # SGI C++ compiler will create directory out/ii_files/ for
   15250    # template instantiation
   15251    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15252    $RM out/* && rmdir out
   15253    cd ..
   15254    $RM -r conftest
   15255    $RM conftest*
   15256 
   15257 fi
   15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15259 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15267 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15268 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15269   $as_echo_n "(cached) " >&6
   15270 else
   15271   lt_cv_prog_compiler_c_o=no
   15272    $RM -r conftest 2>/dev/null
   15273    mkdir conftest
   15274    cd conftest
   15275    mkdir out
   15276    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15277 
   15278    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15279    # Insert the option either (1) after the last *FLAGS variable, or
   15280    # (2) before a word containing "conftest.", or (3) at the end.
   15281    # Note that $ac_compile itself does not contain backslashes and begins
   15282    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15283    lt_compile=`echo "$ac_compile" | $SED \
   15284    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15285    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15286    -e 's:$: $lt_compiler_flag:'`
   15287    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15288    (eval "$lt_compile" 2>out/conftest.err)
   15289    ac_status=$?
   15290    cat out/conftest.err >&5
   15291    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15292    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15293    then
   15294      # The compiler can only warn and ignore the option if not recognized
   15295      # So say no if there are warnings
   15296      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15297      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15298      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15299        lt_cv_prog_compiler_c_o=yes
   15300      fi
   15301    fi
   15302    chmod u+w . 2>&5
   15303    $RM conftest*
   15304    # SGI C++ compiler will create directory out/ii_files/ for
   15305    # template instantiation
   15306    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15307    $RM out/* && rmdir out
   15308    cd ..
   15309    $RM -r conftest
   15310    $RM conftest*
   15311 
   15312 fi
   15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15314 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15315 
   15316 
   15317 
   15318 
   15319 hard_links=nottested
   15320 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15321   # do not overwrite the value of need_locks provided by the user
   15322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15323 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15324   hard_links=yes
   15325   $RM conftest*
   15326   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15327   touch conftest.a
   15328   ln conftest.a conftest.b 2>&5 || hard_links=no
   15329   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15331 $as_echo "$hard_links" >&6; }
   15332   if test no = "$hard_links"; then
   15333     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15334 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15335     need_locks=warn
   15336   fi
   15337 else
   15338   need_locks=no
   15339 fi
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15347 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15348 
   15349   runpath_var=
   15350   allow_undefined_flag=
   15351   always_export_symbols=no
   15352   archive_cmds=
   15353   archive_expsym_cmds=
   15354   compiler_needs_object=no
   15355   enable_shared_with_static_runtimes=no
   15356   export_dynamic_flag_spec=
   15357   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15358   hardcode_automatic=no
   15359   hardcode_direct=no
   15360   hardcode_direct_absolute=no
   15361   hardcode_libdir_flag_spec=
   15362   hardcode_libdir_separator=
   15363   hardcode_minus_L=no
   15364   hardcode_shlibpath_var=unsupported
   15365   inherit_rpath=no
   15366   link_all_deplibs=unknown
   15367   module_cmds=
   15368   module_expsym_cmds=
   15369   old_archive_from_new_cmds=
   15370   old_archive_from_expsyms_cmds=
   15371   thread_safe_flag_spec=
   15372   whole_archive_flag_spec=
   15373   # include_expsyms should be a list of space-separated symbols to be *always*
   15374   # included in the symbol list
   15375   include_expsyms=
   15376   # exclude_expsyms can be an extended regexp of symbols to exclude
   15377   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15378   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15379   # as well as any symbol that contains 'd'.
   15380   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15381   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15382   # platforms (ab)use it in PIC code, but their linkers get confused if
   15383   # the symbol is explicitly referenced.  Since portable code cannot
   15384   # rely on this symbol name, it's probably fine to never include it in
   15385   # preloaded symbol tables.
   15386   # Exclude shared library initialization/finalization symbols.
   15387   extract_expsyms_cmds=
   15388 
   15389   case $host_os in
   15390   cygwin* | mingw* | pw32* | cegcc*)
   15391     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15392     # When not using gcc, we currently assume that we are using
   15393     # Microsoft Visual C++.
   15394     if test yes != "$GCC"; then
   15395       with_gnu_ld=no
   15396     fi
   15397     ;;
   15398   interix*)
   15399     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15400     with_gnu_ld=yes
   15401     ;;
   15402   openbsd* | bitrig*)
   15403     with_gnu_ld=no
   15404     ;;
   15405   esac
   15406 
   15407   ld_shlibs=yes
   15408 
   15409   # On some targets, GNU ld is compatible enough with the native linker
   15410   # that we're better off using the native interface for both.
   15411   lt_use_gnu_ld_interface=no
   15412   if test yes = "$with_gnu_ld"; then
   15413     case $host_os in
   15414       aix*)
   15415 	# The AIX port of GNU ld has always aspired to compatibility
   15416 	# with the native linker.  However, as the warning in the GNU ld
   15417 	# block says, versions before 2.19.5* couldn't really create working
   15418 	# shared libraries, regardless of the interface used.
   15419 	case `$LD -v 2>&1` in
   15420 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15421 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15422 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15423 	  *)
   15424 	    lt_use_gnu_ld_interface=yes
   15425 	    ;;
   15426 	esac
   15427 	;;
   15428       *)
   15429 	lt_use_gnu_ld_interface=yes
   15430 	;;
   15431     esac
   15432   fi
   15433 
   15434   if test yes = "$lt_use_gnu_ld_interface"; then
   15435     # If archive_cmds runs LD, not CC, wlarc should be empty
   15436     wlarc='$wl'
   15437 
   15438     # Set some defaults for GNU ld with shared library support. These
   15439     # are reset later if shared libraries are not supported. Putting them
   15440     # here allows them to be overridden if necessary.
   15441     runpath_var=LD_RUN_PATH
   15442     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15443     export_dynamic_flag_spec='$wl--export-dynamic'
   15444     # ancient GNU ld didn't support --whole-archive et. al.
   15445     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15446       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15447     else
   15448       whole_archive_flag_spec=
   15449     fi
   15450     supports_anon_versioning=no
   15451     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15452       *GNU\ gold*) supports_anon_versioning=yes ;;
   15453       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15454       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15455       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15456       *\ 2.11.*) ;; # other 2.11 versions
   15457       *) supports_anon_versioning=yes ;;
   15458     esac
   15459 
   15460     # See if GNU ld supports shared libraries.
   15461     case $host_os in
   15462     aix[3-9]*)
   15463       # On AIX/PPC, the GNU linker is very broken
   15464       if test ia64 != "$host_cpu"; then
   15465 	ld_shlibs=no
   15466 	cat <<_LT_EOF 1>&2
   15467 
   15468 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15469 *** to be unable to reliably create shared libraries on AIX.
   15470 *** Therefore, libtool is disabling shared libraries support.  If you
   15471 *** really care for shared libraries, you may want to install binutils
   15472 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15473 *** You will then need to restart the configuration process.
   15474 
   15475 _LT_EOF
   15476       fi
   15477       ;;
   15478 
   15479     amigaos*)
   15480       case $host_cpu in
   15481       powerpc)
   15482             # see comment about AmigaOS4 .so support
   15483             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15484             archive_expsym_cmds=''
   15485         ;;
   15486       m68k)
   15487             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)'
   15488             hardcode_libdir_flag_spec='-L$libdir'
   15489             hardcode_minus_L=yes
   15490         ;;
   15491       esac
   15492       ;;
   15493 
   15494     beos*)
   15495       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15496 	allow_undefined_flag=unsupported
   15497 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15498 	# support --undefined.  This deserves some investigation.  FIXME
   15499 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15500       else
   15501 	ld_shlibs=no
   15502       fi
   15503       ;;
   15504 
   15505     cygwin* | mingw* | pw32* | cegcc*)
   15506       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15507       # as there is no search path for DLLs.
   15508       hardcode_libdir_flag_spec='-L$libdir'
   15509       export_dynamic_flag_spec='$wl--export-all-symbols'
   15510       allow_undefined_flag=unsupported
   15511       always_export_symbols=no
   15512       enable_shared_with_static_runtimes=yes
   15513       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'
   15514       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15515 
   15516       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15517         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15518 	# If the export-symbols file already is a .def file, use it as
   15519 	# is; otherwise, prepend EXPORTS...
   15520 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15521           cp $export_symbols $output_objdir/$soname.def;
   15522         else
   15523           echo EXPORTS > $output_objdir/$soname.def;
   15524           cat $export_symbols >> $output_objdir/$soname.def;
   15525         fi~
   15526         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15527       else
   15528 	ld_shlibs=no
   15529       fi
   15530       ;;
   15531 
   15532     haiku*)
   15533       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15534       link_all_deplibs=yes
   15535       ;;
   15536 
   15537     os2*)
   15538       hardcode_libdir_flag_spec='-L$libdir'
   15539       hardcode_minus_L=yes
   15540       allow_undefined_flag=unsupported
   15541       shrext_cmds=.dll
   15542       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15543 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15544 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15545 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15546 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15547 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15548 	emximp -o $lib $output_objdir/$libname.def'
   15549       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15550 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15551 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15552 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15553 	prefix_cmds="$SED"~
   15554 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15555 	  prefix_cmds="$prefix_cmds -e 1d";
   15556 	fi~
   15557 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15558 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15559 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15560 	emximp -o $lib $output_objdir/$libname.def'
   15561       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15562       enable_shared_with_static_runtimes=yes
   15563       ;;
   15564 
   15565     interix[3-9]*)
   15566       hardcode_direct=no
   15567       hardcode_shlibpath_var=no
   15568       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15569       export_dynamic_flag_spec='$wl-E'
   15570       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15571       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15572       # default) and relocated if they conflict, which is a slow very memory
   15573       # consuming and fragmenting process.  To avoid this, we pick a random,
   15574       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15575       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15576       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15577       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'
   15578       ;;
   15579 
   15580     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15581       tmp_diet=no
   15582       if test linux-dietlibc = "$host_os"; then
   15583 	case $cc_basename in
   15584 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15585 	esac
   15586       fi
   15587       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15588 	 && test no = "$tmp_diet"
   15589       then
   15590 	tmp_addflag=' $pic_flag'
   15591 	tmp_sharedflag='-shared'
   15592 	case $cc_basename,$host_cpu in
   15593         pgcc*)				# Portland Group C compiler
   15594 	  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'
   15595 	  tmp_addflag=' $pic_flag'
   15596 	  ;;
   15597 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15598 					# Portland Group f77 and f90 compilers
   15599 	  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'
   15600 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15601 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15602 	  tmp_addflag=' -i_dynamic' ;;
   15603 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15604 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15605 	ifc* | ifort*)			# Intel Fortran compiler
   15606 	  tmp_addflag=' -nofor_main' ;;
   15607 	lf95*)				# Lahey Fortran 8.1
   15608 	  whole_archive_flag_spec=
   15609 	  tmp_sharedflag='--shared' ;;
   15610         nagfor*)                        # NAGFOR 5.3
   15611           tmp_sharedflag='-Wl,-shared' ;;
   15612 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15613 	  tmp_sharedflag='-qmkshrobj'
   15614 	  tmp_addflag= ;;
   15615 	nvcc*)	# Cuda Compiler Driver 2.2
   15616 	  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'
   15617 	  compiler_needs_object=yes
   15618 	  ;;
   15619 	esac
   15620 	case `$CC -V 2>&1 | sed 5q` in
   15621 	*Sun\ C*)			# Sun C 5.9
   15622 	  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'
   15623 	  compiler_needs_object=yes
   15624 	  tmp_sharedflag='-G' ;;
   15625 	*Sun\ F*)			# Sun Fortran 8.3
   15626 	  tmp_sharedflag='-G' ;;
   15627 	esac
   15628 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15629 
   15630         if test yes = "$supports_anon_versioning"; then
   15631           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15632             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15633             echo "local: *; };" >> $output_objdir/$libname.ver~
   15634             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15635         fi
   15636 
   15637 	case $cc_basename in
   15638 	tcc*)
   15639 	  export_dynamic_flag_spec='-rdynamic'
   15640 	  ;;
   15641 	xlf* | bgf* | bgxlf* | mpixlf*)
   15642 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15643 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15644 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15645 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15646 	  if test yes = "$supports_anon_versioning"; then
   15647 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15648               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15649               echo "local: *; };" >> $output_objdir/$libname.ver~
   15650               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15651 	  fi
   15652 	  ;;
   15653 	esac
   15654       else
   15655         ld_shlibs=no
   15656       fi
   15657       ;;
   15658 
   15659     netbsd*)
   15660       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15661 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15662 	wlarc=
   15663       else
   15664 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15665 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15666       fi
   15667       ;;
   15668 
   15669     solaris*)
   15670       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15671 	ld_shlibs=no
   15672 	cat <<_LT_EOF 1>&2
   15673 
   15674 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15675 *** create shared libraries on Solaris systems.  Therefore, libtool
   15676 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15677 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15678 *** your PATH or compiler configuration so that the native linker is
   15679 *** used, and then restart.
   15680 
   15681 _LT_EOF
   15682       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15683 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15684 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15685       else
   15686 	ld_shlibs=no
   15687       fi
   15688       ;;
   15689 
   15690     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15691       case `$LD -v 2>&1` in
   15692         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15693 	ld_shlibs=no
   15694 	cat <<_LT_EOF 1>&2
   15695 
   15696 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15697 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15698 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15699 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15700 *** your PATH or compiler configuration so that the native linker is
   15701 *** used, and then restart.
   15702 
   15703 _LT_EOF
   15704 	;;
   15705 	*)
   15706 	  # For security reasons, it is highly recommended that you always
   15707 	  # use absolute paths for naming shared libraries, and exclude the
   15708 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15709 	  # requires that you compile everything twice, which is a pain.
   15710 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15711 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15712 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15713 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15714 	  else
   15715 	    ld_shlibs=no
   15716 	  fi
   15717 	;;
   15718       esac
   15719       ;;
   15720 
   15721     sunos4*)
   15722       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15723       wlarc=
   15724       hardcode_direct=yes
   15725       hardcode_shlibpath_var=no
   15726       ;;
   15727 
   15728     *)
   15729       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15730 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15731 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15732       else
   15733 	ld_shlibs=no
   15734       fi
   15735       ;;
   15736     esac
   15737 
   15738     if test no = "$ld_shlibs"; then
   15739       runpath_var=
   15740       hardcode_libdir_flag_spec=
   15741       export_dynamic_flag_spec=
   15742       whole_archive_flag_spec=
   15743     fi
   15744   else
   15745     # PORTME fill in a description of your system's linker (not GNU ld)
   15746     case $host_os in
   15747     aix3*)
   15748       allow_undefined_flag=unsupported
   15749       always_export_symbols=yes
   15750       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'
   15751       # Note: this linker hardcodes the directories in LIBPATH if there
   15752       # are no directories specified by -L.
   15753       hardcode_minus_L=yes
   15754       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15755 	# Neither direct hardcoding nor static linking is supported with a
   15756 	# broken collect2.
   15757 	hardcode_direct=unsupported
   15758       fi
   15759       ;;
   15760 
   15761     aix[4-9]*)
   15762       if test ia64 = "$host_cpu"; then
   15763 	# On IA64, the linker does run time linking by default, so we don't
   15764 	# have to do anything special.
   15765 	aix_use_runtimelinking=no
   15766 	exp_sym_flag='-Bexport'
   15767 	no_entry_flag=
   15768       else
   15769 	# If we're using GNU nm, then we don't want the "-C" option.
   15770 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15771 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15772 	# weak defined symbols like other global defined symbols, whereas
   15773 	# GNU nm marks them as "W".
   15774 	# While the 'weak' keyword is ignored in the Export File, we need
   15775 	# it in the Import File for the 'aix-soname' feature, so we have
   15776 	# to replace the "-B" option with "-P" for AIX nm.
   15777 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15778 	  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'
   15779 	else
   15780 	  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'
   15781 	fi
   15782 	aix_use_runtimelinking=no
   15783 
   15784 	# Test if we are trying to use run time linking or normal
   15785 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15786 	# have runtime linking enabled, and use it for executables.
   15787 	# For shared libraries, we enable/disable runtime linking
   15788 	# depending on the kind of the shared library created -
   15789 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15790 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15791 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15792 	#            lib.a           static archive
   15793 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15794 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15795 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15796 	#            lib.a(lib.so.V) shared, rtl:no
   15797 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15798 	#            lib.a           static archive
   15799 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15800 	  for ld_flag in $LDFLAGS; do
   15801 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15802 	    aix_use_runtimelinking=yes
   15803 	    break
   15804 	  fi
   15805 	  done
   15806 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15807 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15808 	    # so we don't have lib.a shared libs to link our executables.
   15809 	    # We have to force runtime linking in this case.
   15810 	    aix_use_runtimelinking=yes
   15811 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15812 	  fi
   15813 	  ;;
   15814 	esac
   15815 
   15816 	exp_sym_flag='-bexport'
   15817 	no_entry_flag='-bnoentry'
   15818       fi
   15819 
   15820       # When large executables or shared objects are built, AIX ld can
   15821       # have problems creating the table of contents.  If linking a library
   15822       # or program results in "error TOC overflow" add -mminimal-toc to
   15823       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15824       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15825 
   15826       archive_cmds=''
   15827       hardcode_direct=yes
   15828       hardcode_direct_absolute=yes
   15829       hardcode_libdir_separator=':'
   15830       link_all_deplibs=yes
   15831       file_list_spec='$wl-f,'
   15832       case $with_aix_soname,$aix_use_runtimelinking in
   15833       aix,*) ;; # traditional, no import file
   15834       svr4,* | *,yes) # use import file
   15835 	# The Import File defines what to hardcode.
   15836 	hardcode_direct=no
   15837 	hardcode_direct_absolute=no
   15838 	;;
   15839       esac
   15840 
   15841       if test yes = "$GCC"; then
   15842 	case $host_os in aix4.[012]|aix4.[012].*)
   15843 	# We only want to do this on AIX 4.2 and lower, the check
   15844 	# below for broken collect2 doesn't work under 4.3+
   15845 	  collect2name=`$CC -print-prog-name=collect2`
   15846 	  if test -f "$collect2name" &&
   15847 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15848 	  then
   15849 	  # We have reworked collect2
   15850 	  :
   15851 	  else
   15852 	  # We have old collect2
   15853 	  hardcode_direct=unsupported
   15854 	  # It fails to find uninstalled libraries when the uninstalled
   15855 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15856 	  # to unsupported forces relinking
   15857 	  hardcode_minus_L=yes
   15858 	  hardcode_libdir_flag_spec='-L$libdir'
   15859 	  hardcode_libdir_separator=
   15860 	  fi
   15861 	  ;;
   15862 	esac
   15863 	shared_flag='-shared'
   15864 	if test yes = "$aix_use_runtimelinking"; then
   15865 	  shared_flag="$shared_flag "'$wl-G'
   15866 	fi
   15867 	# Need to ensure runtime linking is disabled for the traditional
   15868 	# shared library, or the linker may eventually find shared libraries
   15869 	# /with/ Import File - we do not want to mix them.
   15870 	shared_flag_aix='-shared'
   15871 	shared_flag_svr4='-shared $wl-G'
   15872       else
   15873 	# not using gcc
   15874 	if test ia64 = "$host_cpu"; then
   15875 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15876 	# chokes on -Wl,-G. The following line is correct:
   15877 	  shared_flag='-G'
   15878 	else
   15879 	  if test yes = "$aix_use_runtimelinking"; then
   15880 	    shared_flag='$wl-G'
   15881 	  else
   15882 	    shared_flag='$wl-bM:SRE'
   15883 	  fi
   15884 	  shared_flag_aix='$wl-bM:SRE'
   15885 	  shared_flag_svr4='$wl-G'
   15886 	fi
   15887       fi
   15888 
   15889       export_dynamic_flag_spec='$wl-bexpall'
   15890       # It seems that -bexpall does not export symbols beginning with
   15891       # underscore (_), so it is better to generate a list of symbols to export.
   15892       always_export_symbols=yes
   15893       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15894 	# Warning - without using the other runtime loading flags (-brtl),
   15895 	# -berok will link without error, but may produce a broken library.
   15896 	allow_undefined_flag='-berok'
   15897         # Determine the default libpath from the value encoded in an
   15898         # empty executable.
   15899         if test set = "${lt_cv_aix_libpath+set}"; then
   15900   aix_libpath=$lt_cv_aix_libpath
   15901 else
   15902   if ${lt_cv_aix_libpath_+:} false; then :
   15903   $as_echo_n "(cached) " >&6
   15904 else
   15905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15906 /* end confdefs.h.  */
   15907 
   15908 int
   15909 main ()
   15910 {
   15911 
   15912   ;
   15913   return 0;
   15914 }
   15915 _ACEOF
   15916 if ac_fn_c_try_link "$LINENO"; then :
   15917 
   15918   lt_aix_libpath_sed='
   15919       /Import File Strings/,/^$/ {
   15920 	  /^0/ {
   15921 	      s/^0  *\([^ ]*\) *$/\1/
   15922 	      p
   15923 	  }
   15924       }'
   15925   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15926   # Check for a 64-bit object if we didn't find anything.
   15927   if test -z "$lt_cv_aix_libpath_"; then
   15928     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15929   fi
   15930 fi
   15931 rm -f core conftest.err conftest.$ac_objext \
   15932     conftest$ac_exeext conftest.$ac_ext
   15933   if test -z "$lt_cv_aix_libpath_"; then
   15934     lt_cv_aix_libpath_=/usr/lib:/lib
   15935   fi
   15936 
   15937 fi
   15938 
   15939   aix_libpath=$lt_cv_aix_libpath_
   15940 fi
   15941 
   15942         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15943         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
   15944       else
   15945 	if test ia64 = "$host_cpu"; then
   15946 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15947 	  allow_undefined_flag="-z nodefs"
   15948 	  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"
   15949 	else
   15950 	 # Determine the default libpath from the value encoded in an
   15951 	 # empty executable.
   15952 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15953   aix_libpath=$lt_cv_aix_libpath
   15954 else
   15955   if ${lt_cv_aix_libpath_+:} false; then :
   15956   $as_echo_n "(cached) " >&6
   15957 else
   15958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15959 /* end confdefs.h.  */
   15960 
   15961 int
   15962 main ()
   15963 {
   15964 
   15965   ;
   15966   return 0;
   15967 }
   15968 _ACEOF
   15969 if ac_fn_c_try_link "$LINENO"; then :
   15970 
   15971   lt_aix_libpath_sed='
   15972       /Import File Strings/,/^$/ {
   15973 	  /^0/ {
   15974 	      s/^0  *\([^ ]*\) *$/\1/
   15975 	      p
   15976 	  }
   15977       }'
   15978   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15979   # Check for a 64-bit object if we didn't find anything.
   15980   if test -z "$lt_cv_aix_libpath_"; then
   15981     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15982   fi
   15983 fi
   15984 rm -f core conftest.err conftest.$ac_objext \
   15985     conftest$ac_exeext conftest.$ac_ext
   15986   if test -z "$lt_cv_aix_libpath_"; then
   15987     lt_cv_aix_libpath_=/usr/lib:/lib
   15988   fi
   15989 
   15990 fi
   15991 
   15992   aix_libpath=$lt_cv_aix_libpath_
   15993 fi
   15994 
   15995 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15996 	  # Warning - without using the other run time loading flags,
   15997 	  # -berok will link without error, but may produce a broken library.
   15998 	  no_undefined_flag=' $wl-bernotok'
   15999 	  allow_undefined_flag=' $wl-berok'
   16000 	  if test yes = "$with_gnu_ld"; then
   16001 	    # We only use this code for GNU lds that support --whole-archive.
   16002 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16003 	  else
   16004 	    # Exported symbols can be pulled into shared objects from archives
   16005 	    whole_archive_flag_spec='$convenience'
   16006 	  fi
   16007 	  archive_cmds_need_lc=yes
   16008 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16009 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16010 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16011 	  if test svr4 != "$with_aix_soname"; then
   16012 	    # This is similar to how AIX traditionally builds its shared libraries.
   16013 	    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'
   16014 	  fi
   16015 	  if test aix != "$with_aix_soname"; then
   16016 	    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'
   16017 	  else
   16018 	    # used by -dlpreopen to get the symbols
   16019 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16020 	  fi
   16021 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16022 	fi
   16023       fi
   16024       ;;
   16025 
   16026     amigaos*)
   16027       case $host_cpu in
   16028       powerpc)
   16029             # see comment about AmigaOS4 .so support
   16030             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16031             archive_expsym_cmds=''
   16032         ;;
   16033       m68k)
   16034             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)'
   16035             hardcode_libdir_flag_spec='-L$libdir'
   16036             hardcode_minus_L=yes
   16037         ;;
   16038       esac
   16039       ;;
   16040 
   16041     bsdi[45]*)
   16042       export_dynamic_flag_spec=-rdynamic
   16043       ;;
   16044 
   16045     cygwin* | mingw* | pw32* | cegcc*)
   16046       # When not using gcc, we currently assume that we are using
   16047       # Microsoft Visual C++.
   16048       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16049       # no search path for DLLs.
   16050       case $cc_basename in
   16051       cl*)
   16052 	# Native MSVC
   16053 	hardcode_libdir_flag_spec=' '
   16054 	allow_undefined_flag=unsupported
   16055 	always_export_symbols=yes
   16056 	file_list_spec='@'
   16057 	# Tell ltmain to make .lib files, not .a files.
   16058 	libext=lib
   16059 	# Tell ltmain to make .dll files, not .so files.
   16060 	shrext_cmds=.dll
   16061 	# FIXME: Setting linknames here is a bad hack.
   16062 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16063 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16064             cp "$export_symbols" "$output_objdir/$soname.def";
   16065             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16066           else
   16067             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16068           fi~
   16069           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16070           linknames='
   16071 	# The linker will not automatically build a static lib if we build a DLL.
   16072 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16073 	enable_shared_with_static_runtimes=yes
   16074 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16075 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16076 	# Don't use ranlib
   16077 	old_postinstall_cmds='chmod 644 $oldlib'
   16078 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16079           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16080           case $lt_outputfile in
   16081             *.exe|*.EXE) ;;
   16082             *)
   16083               lt_outputfile=$lt_outputfile.exe
   16084               lt_tool_outputfile=$lt_tool_outputfile.exe
   16085               ;;
   16086           esac~
   16087           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16088             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16089             $RM "$lt_outputfile.manifest";
   16090           fi'
   16091 	;;
   16092       *)
   16093 	# Assume MSVC wrapper
   16094 	hardcode_libdir_flag_spec=' '
   16095 	allow_undefined_flag=unsupported
   16096 	# Tell ltmain to make .lib files, not .a files.
   16097 	libext=lib
   16098 	# Tell ltmain to make .dll files, not .so files.
   16099 	shrext_cmds=.dll
   16100 	# FIXME: Setting linknames here is a bad hack.
   16101 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16102 	# The linker will automatically build a .lib file if we build a DLL.
   16103 	old_archive_from_new_cmds='true'
   16104 	# FIXME: Should let the user specify the lib program.
   16105 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16106 	enable_shared_with_static_runtimes=yes
   16107 	;;
   16108       esac
   16109       ;;
   16110 
   16111     darwin* | rhapsody*)
   16112 
   16113 
   16114   archive_cmds_need_lc=no
   16115   hardcode_direct=no
   16116   hardcode_automatic=yes
   16117   hardcode_shlibpath_var=unsupported
   16118   if test yes = "$lt_cv_ld_force_load"; then
   16119     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\"`'
   16120 
   16121   else
   16122     whole_archive_flag_spec=''
   16123   fi
   16124   link_all_deplibs=yes
   16125   allow_undefined_flag=$_lt_dar_allow_undefined
   16126   case $cc_basename in
   16127      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16128      *) _lt_dar_can_shared=$GCC ;;
   16129   esac
   16130   if test yes = "$_lt_dar_can_shared"; then
   16131     output_verbose_link_cmd=func_echo_all
   16132     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16133     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16134     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"
   16135     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"
   16136 
   16137   else
   16138   ld_shlibs=no
   16139   fi
   16140 
   16141       ;;
   16142 
   16143     dgux*)
   16144       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16145       hardcode_libdir_flag_spec='-L$libdir'
   16146       hardcode_shlibpath_var=no
   16147       ;;
   16148 
   16149     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16150     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16151     # does not break anything, and helps significantly (at the cost of a little
   16152     # extra space).
   16153     freebsd2.2*)
   16154       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16155       hardcode_libdir_flag_spec='-R$libdir'
   16156       hardcode_direct=yes
   16157       hardcode_shlibpath_var=no
   16158       ;;
   16159 
   16160     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16161     freebsd2.*)
   16162       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16163       hardcode_direct=yes
   16164       hardcode_minus_L=yes
   16165       hardcode_shlibpath_var=no
   16166       ;;
   16167 
   16168     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16169     freebsd* | dragonfly*)
   16170       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16171       hardcode_libdir_flag_spec='-R$libdir'
   16172       hardcode_direct=yes
   16173       hardcode_shlibpath_var=no
   16174       ;;
   16175 
   16176     hpux9*)
   16177       if test yes = "$GCC"; then
   16178 	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'
   16179       else
   16180 	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'
   16181       fi
   16182       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16183       hardcode_libdir_separator=:
   16184       hardcode_direct=yes
   16185 
   16186       # hardcode_minus_L: Not really in the search PATH,
   16187       # but as the default location of the library.
   16188       hardcode_minus_L=yes
   16189       export_dynamic_flag_spec='$wl-E'
   16190       ;;
   16191 
   16192     hpux10*)
   16193       if test yes,no = "$GCC,$with_gnu_ld"; then
   16194 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16195       else
   16196 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16197       fi
   16198       if test no = "$with_gnu_ld"; then
   16199 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16200 	hardcode_libdir_separator=:
   16201 	hardcode_direct=yes
   16202 	hardcode_direct_absolute=yes
   16203 	export_dynamic_flag_spec='$wl-E'
   16204 	# hardcode_minus_L: Not really in the search PATH,
   16205 	# but as the default location of the library.
   16206 	hardcode_minus_L=yes
   16207       fi
   16208       ;;
   16209 
   16210     hpux11*)
   16211       if test yes,no = "$GCC,$with_gnu_ld"; then
   16212 	case $host_cpu in
   16213 	hppa*64*)
   16214 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16215 	  ;;
   16216 	ia64*)
   16217 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16218 	  ;;
   16219 	*)
   16220 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16221 	  ;;
   16222 	esac
   16223       else
   16224 	case $host_cpu in
   16225 	hppa*64*)
   16226 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16227 	  ;;
   16228 	ia64*)
   16229 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16230 	  ;;
   16231 	*)
   16232 
   16233 	  # Older versions of the 11.00 compiler do not understand -b yet
   16234 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16235 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16236 $as_echo_n "checking if $CC understands -b... " >&6; }
   16237 if ${lt_cv_prog_compiler__b+:} false; then :
   16238   $as_echo_n "(cached) " >&6
   16239 else
   16240   lt_cv_prog_compiler__b=no
   16241    save_LDFLAGS=$LDFLAGS
   16242    LDFLAGS="$LDFLAGS -b"
   16243    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16244    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16245      # The linker can only warn and ignore the option if not recognized
   16246      # So say no if there are warnings
   16247      if test -s conftest.err; then
   16248        # Append any errors to the config.log.
   16249        cat conftest.err 1>&5
   16250        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16251        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16252        if diff conftest.exp conftest.er2 >/dev/null; then
   16253          lt_cv_prog_compiler__b=yes
   16254        fi
   16255      else
   16256        lt_cv_prog_compiler__b=yes
   16257      fi
   16258    fi
   16259    $RM -r conftest*
   16260    LDFLAGS=$save_LDFLAGS
   16261 
   16262 fi
   16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16264 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16265 
   16266 if test yes = "$lt_cv_prog_compiler__b"; then
   16267     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16268 else
   16269     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16270 fi
   16271 
   16272 	  ;;
   16273 	esac
   16274       fi
   16275       if test no = "$with_gnu_ld"; then
   16276 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16277 	hardcode_libdir_separator=:
   16278 
   16279 	case $host_cpu in
   16280 	hppa*64*|ia64*)
   16281 	  hardcode_direct=no
   16282 	  hardcode_shlibpath_var=no
   16283 	  ;;
   16284 	*)
   16285 	  hardcode_direct=yes
   16286 	  hardcode_direct_absolute=yes
   16287 	  export_dynamic_flag_spec='$wl-E'
   16288 
   16289 	  # hardcode_minus_L: Not really in the search PATH,
   16290 	  # but as the default location of the library.
   16291 	  hardcode_minus_L=yes
   16292 	  ;;
   16293 	esac
   16294       fi
   16295       ;;
   16296 
   16297     irix5* | irix6* | nonstopux*)
   16298       if test yes = "$GCC"; then
   16299 	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'
   16300 	# Try to use the -exported_symbol ld option, if it does not
   16301 	# work, assume that -exports_file does not work either and
   16302 	# implicitly export all symbols.
   16303 	# This should be the same for all languages, so no per-tag cache variable.
   16304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16305 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16306 if ${lt_cv_irix_exported_symbol+:} false; then :
   16307   $as_echo_n "(cached) " >&6
   16308 else
   16309   save_LDFLAGS=$LDFLAGS
   16310 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16311 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16312 /* end confdefs.h.  */
   16313 int foo (void) { return 0; }
   16314 _ACEOF
   16315 if ac_fn_c_try_link "$LINENO"; then :
   16316   lt_cv_irix_exported_symbol=yes
   16317 else
   16318   lt_cv_irix_exported_symbol=no
   16319 fi
   16320 rm -f core conftest.err conftest.$ac_objext \
   16321     conftest$ac_exeext conftest.$ac_ext
   16322            LDFLAGS=$save_LDFLAGS
   16323 fi
   16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16325 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16326 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16327           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'
   16328 	fi
   16329       else
   16330 	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'
   16331 	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'
   16332       fi
   16333       archive_cmds_need_lc='no'
   16334       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16335       hardcode_libdir_separator=:
   16336       inherit_rpath=yes
   16337       link_all_deplibs=yes
   16338       ;;
   16339 
   16340     linux*)
   16341       case $cc_basename in
   16342       tcc*)
   16343 	# Fabrice Bellard et al's Tiny C Compiler
   16344 	ld_shlibs=yes
   16345 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16346 	;;
   16347       esac
   16348       ;;
   16349 
   16350     netbsd*)
   16351       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16352 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16353       else
   16354 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16355       fi
   16356       hardcode_libdir_flag_spec='-R$libdir'
   16357       hardcode_direct=yes
   16358       hardcode_shlibpath_var=no
   16359       ;;
   16360 
   16361     newsos6)
   16362       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16363       hardcode_direct=yes
   16364       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16365       hardcode_libdir_separator=:
   16366       hardcode_shlibpath_var=no
   16367       ;;
   16368 
   16369     *nto* | *qnx*)
   16370       ;;
   16371 
   16372     openbsd* | bitrig*)
   16373       if test -f /usr/libexec/ld.so; then
   16374 	hardcode_direct=yes
   16375 	hardcode_shlibpath_var=no
   16376 	hardcode_direct_absolute=yes
   16377 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16378 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16379 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16380 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16381 	  export_dynamic_flag_spec='$wl-E'
   16382 	else
   16383 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16384 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16385 	fi
   16386       else
   16387 	ld_shlibs=no
   16388       fi
   16389       ;;
   16390 
   16391     os2*)
   16392       hardcode_libdir_flag_spec='-L$libdir'
   16393       hardcode_minus_L=yes
   16394       allow_undefined_flag=unsupported
   16395       shrext_cmds=.dll
   16396       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16397 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16398 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16399 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16400 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16401 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16402 	emximp -o $lib $output_objdir/$libname.def'
   16403       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16404 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16405 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16406 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16407 	prefix_cmds="$SED"~
   16408 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16409 	  prefix_cmds="$prefix_cmds -e 1d";
   16410 	fi~
   16411 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16412 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16413 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16414 	emximp -o $lib $output_objdir/$libname.def'
   16415       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16416       enable_shared_with_static_runtimes=yes
   16417       ;;
   16418 
   16419     osf3*)
   16420       if test yes = "$GCC"; then
   16421 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16422 	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'
   16423       else
   16424 	allow_undefined_flag=' -expect_unresolved \*'
   16425 	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'
   16426       fi
   16427       archive_cmds_need_lc='no'
   16428       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16429       hardcode_libdir_separator=:
   16430       ;;
   16431 
   16432     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16433       if test yes = "$GCC"; then
   16434 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16435 	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'
   16436 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16437       else
   16438 	allow_undefined_flag=' -expect_unresolved \*'
   16439 	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'
   16440 	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~
   16441           $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'
   16442 
   16443 	# Both c and cxx compiler support -rpath directly
   16444 	hardcode_libdir_flag_spec='-rpath $libdir'
   16445       fi
   16446       archive_cmds_need_lc='no'
   16447       hardcode_libdir_separator=:
   16448       ;;
   16449 
   16450     solaris*)
   16451       no_undefined_flag=' -z defs'
   16452       if test yes = "$GCC"; then
   16453 	wlarc='$wl'
   16454 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16455 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16456           $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'
   16457       else
   16458 	case `$CC -V 2>&1` in
   16459 	*"Compilers 5.0"*)
   16460 	  wlarc=''
   16461 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16462 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16463             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16464 	  ;;
   16465 	*)
   16466 	  wlarc='$wl'
   16467 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16468 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16469             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16470 	  ;;
   16471 	esac
   16472       fi
   16473       hardcode_libdir_flag_spec='-R$libdir'
   16474       hardcode_shlibpath_var=no
   16475       case $host_os in
   16476       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16477       *)
   16478 	# The compiler driver will combine and reorder linker options,
   16479 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16480 	# but is careful enough not to reorder.
   16481 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16482 	if test yes = "$GCC"; then
   16483 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16484 	else
   16485 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16486 	fi
   16487 	;;
   16488       esac
   16489       link_all_deplibs=yes
   16490       ;;
   16491 
   16492     sunos4*)
   16493       if test sequent = "$host_vendor"; then
   16494 	# Use $CC to link under sequent, because it throws in some extra .o
   16495 	# files that make .init and .fini sections work.
   16496 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16497       else
   16498 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16499       fi
   16500       hardcode_libdir_flag_spec='-L$libdir'
   16501       hardcode_direct=yes
   16502       hardcode_minus_L=yes
   16503       hardcode_shlibpath_var=no
   16504       ;;
   16505 
   16506     sysv4)
   16507       case $host_vendor in
   16508 	sni)
   16509 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16510 	  hardcode_direct=yes # is this really true???
   16511 	;;
   16512 	siemens)
   16513 	  ## LD is ld it makes a PLAMLIB
   16514 	  ## CC just makes a GrossModule.
   16515 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16516 	  reload_cmds='$CC -r -o $output$reload_objs'
   16517 	  hardcode_direct=no
   16518         ;;
   16519 	motorola)
   16520 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16521 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16522 	;;
   16523       esac
   16524       runpath_var='LD_RUN_PATH'
   16525       hardcode_shlibpath_var=no
   16526       ;;
   16527 
   16528     sysv4.3*)
   16529       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16530       hardcode_shlibpath_var=no
   16531       export_dynamic_flag_spec='-Bexport'
   16532       ;;
   16533 
   16534     sysv4*MP*)
   16535       if test -d /usr/nec; then
   16536 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16537 	hardcode_shlibpath_var=no
   16538 	runpath_var=LD_RUN_PATH
   16539 	hardcode_runpath_var=yes
   16540 	ld_shlibs=yes
   16541       fi
   16542       ;;
   16543 
   16544     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16545       no_undefined_flag='$wl-z,text'
   16546       archive_cmds_need_lc=no
   16547       hardcode_shlibpath_var=no
   16548       runpath_var='LD_RUN_PATH'
   16549 
   16550       if test yes = "$GCC"; then
   16551 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16552 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16553       else
   16554 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16555 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16556       fi
   16557       ;;
   16558 
   16559     sysv5* | sco3.2v5* | sco5v6*)
   16560       # Note: We CANNOT use -z defs as we might desire, because we do not
   16561       # link with -lc, and that would cause any symbols used from libc to
   16562       # always be unresolved, which means just about no library would
   16563       # ever link correctly.  If we're not using GNU ld we use -z text
   16564       # though, which does catch some bad symbols but isn't as heavy-handed
   16565       # as -z defs.
   16566       no_undefined_flag='$wl-z,text'
   16567       allow_undefined_flag='$wl-z,nodefs'
   16568       archive_cmds_need_lc=no
   16569       hardcode_shlibpath_var=no
   16570       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16571       hardcode_libdir_separator=':'
   16572       link_all_deplibs=yes
   16573       export_dynamic_flag_spec='$wl-Bexport'
   16574       runpath_var='LD_RUN_PATH'
   16575 
   16576       if test yes = "$GCC"; then
   16577 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16578 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16579       else
   16580 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16581 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16582       fi
   16583       ;;
   16584 
   16585     uts4*)
   16586       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16587       hardcode_libdir_flag_spec='-L$libdir'
   16588       hardcode_shlibpath_var=no
   16589       ;;
   16590 
   16591     *)
   16592       ld_shlibs=no
   16593       ;;
   16594     esac
   16595 
   16596     if test sni = "$host_vendor"; then
   16597       case $host in
   16598       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16599 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16600 	;;
   16601       esac
   16602     fi
   16603   fi
   16604 
   16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16606 $as_echo "$ld_shlibs" >&6; }
   16607 test no = "$ld_shlibs" && can_build_shared=no
   16608 
   16609 with_gnu_ld=$with_gnu_ld
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 #
   16626 # Do we need to explicitly link libc?
   16627 #
   16628 case "x$archive_cmds_need_lc" in
   16629 x|xyes)
   16630   # Assume -lc should be added
   16631   archive_cmds_need_lc=yes
   16632 
   16633   if test yes,yes = "$GCC,$enable_shared"; then
   16634     case $archive_cmds in
   16635     *'~'*)
   16636       # FIXME: we may have to deal with multi-command sequences.
   16637       ;;
   16638     '$CC '*)
   16639       # Test whether the compiler implicitly links with -lc since on some
   16640       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16641       # to ld, don't add -lc before -lgcc.
   16642       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16643 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16644 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16645   $as_echo_n "(cached) " >&6
   16646 else
   16647   $RM conftest*
   16648 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16649 
   16650 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16651   (eval $ac_compile) 2>&5
   16652   ac_status=$?
   16653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16654   test $ac_status = 0; } 2>conftest.err; then
   16655 	  soname=conftest
   16656 	  lib=conftest
   16657 	  libobjs=conftest.$ac_objext
   16658 	  deplibs=
   16659 	  wl=$lt_prog_compiler_wl
   16660 	  pic_flag=$lt_prog_compiler_pic
   16661 	  compiler_flags=-v
   16662 	  linker_flags=-v
   16663 	  verstring=
   16664 	  output_objdir=.
   16665 	  libname=conftest
   16666 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16667 	  allow_undefined_flag=
   16668 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16669   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16670   ac_status=$?
   16671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16672   test $ac_status = 0; }
   16673 	  then
   16674 	    lt_cv_archive_cmds_need_lc=no
   16675 	  else
   16676 	    lt_cv_archive_cmds_need_lc=yes
   16677 	  fi
   16678 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16679 	else
   16680 	  cat conftest.err 1>&5
   16681 	fi
   16682 	$RM conftest*
   16683 
   16684 fi
   16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16686 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16687       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16688       ;;
   16689     esac
   16690   fi
   16691   ;;
   16692 esac
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16846 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16847 
   16848 if test yes = "$GCC"; then
   16849   case $host_os in
   16850     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16851     *) lt_awk_arg='/^libraries:/' ;;
   16852   esac
   16853   case $host_os in
   16854     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16855     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16856   esac
   16857   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16858   case $lt_search_path_spec in
   16859   *\;*)
   16860     # if the path contains ";" then we assume it to be the separator
   16861     # otherwise default to the standard path separator (i.e. ":") - it is
   16862     # assumed that no part of a normal pathname contains ";" but that should
   16863     # okay in the real world where ";" in dirpaths is itself problematic.
   16864     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16865     ;;
   16866   *)
   16867     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16868     ;;
   16869   esac
   16870   # Ok, now we have the path, separated by spaces, we can step through it
   16871   # and add multilib dir if necessary...
   16872   lt_tmp_lt_search_path_spec=
   16873   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16874   # ...but if some path component already ends with the multilib dir we assume
   16875   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16876   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16877   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16878     lt_multi_os_dir=
   16879     ;;
   16880   esac
   16881   for lt_sys_path in $lt_search_path_spec; do
   16882     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16883       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16884     elif test -n "$lt_multi_os_dir"; then
   16885       test -d "$lt_sys_path" && \
   16886 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16887     fi
   16888   done
   16889   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16890 BEGIN {RS = " "; FS = "/|\n";} {
   16891   lt_foo = "";
   16892   lt_count = 0;
   16893   for (lt_i = NF; lt_i > 0; lt_i--) {
   16894     if ($lt_i != "" && $lt_i != ".") {
   16895       if ($lt_i == "..") {
   16896         lt_count++;
   16897       } else {
   16898         if (lt_count == 0) {
   16899           lt_foo = "/" $lt_i lt_foo;
   16900         } else {
   16901           lt_count--;
   16902         }
   16903       }
   16904     }
   16905   }
   16906   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16907   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16908 }'`
   16909   # AWK program above erroneously prepends '/' to C:/dos/paths
   16910   # for these hosts.
   16911   case $host_os in
   16912     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16913       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16914   esac
   16915   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16916 else
   16917   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16918 fi
   16919 library_names_spec=
   16920 libname_spec='lib$name'
   16921 soname_spec=
   16922 shrext_cmds=.so
   16923 postinstall_cmds=
   16924 postuninstall_cmds=
   16925 finish_cmds=
   16926 finish_eval=
   16927 shlibpath_var=
   16928 shlibpath_overrides_runpath=unknown
   16929 version_type=none
   16930 dynamic_linker="$host_os ld.so"
   16931 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16932 need_lib_prefix=unknown
   16933 hardcode_into_libs=no
   16934 
   16935 # when you set need_version to no, make sure it does not cause -set_version
   16936 # flags to be left without arguments
   16937 need_version=unknown
   16938 
   16939 
   16940 
   16941 case $host_os in
   16942 aix3*)
   16943   version_type=linux # correct to gnu/linux during the next big refactor
   16944   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16945   shlibpath_var=LIBPATH
   16946 
   16947   # AIX 3 has no versioning support, so we append a major version to the name.
   16948   soname_spec='$libname$release$shared_ext$major'
   16949   ;;
   16950 
   16951 aix[4-9]*)
   16952   version_type=linux # correct to gnu/linux during the next big refactor
   16953   need_lib_prefix=no
   16954   need_version=no
   16955   hardcode_into_libs=yes
   16956   if test ia64 = "$host_cpu"; then
   16957     # AIX 5 supports IA64
   16958     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16959     shlibpath_var=LD_LIBRARY_PATH
   16960   else
   16961     # With GCC up to 2.95.x, collect2 would create an import file
   16962     # for dependence libraries.  The import file would start with
   16963     # the line '#! .'.  This would cause the generated library to
   16964     # depend on '.', always an invalid library.  This was fixed in
   16965     # development snapshots of GCC prior to 3.0.
   16966     case $host_os in
   16967       aix4 | aix4.[01] | aix4.[01].*)
   16968       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16969 	   echo ' yes '
   16970 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16971 	:
   16972       else
   16973 	can_build_shared=no
   16974       fi
   16975       ;;
   16976     esac
   16977     # Using Import Files as archive members, it is possible to support
   16978     # filename-based versioning of shared library archives on AIX. While
   16979     # this would work for both with and without runtime linking, it will
   16980     # prevent static linking of such archives. So we do filename-based
   16981     # shared library versioning with .so extension only, which is used
   16982     # when both runtime linking and shared linking is enabled.
   16983     # Unfortunately, runtime linking may impact performance, so we do
   16984     # not want this to be the default eventually. Also, we use the
   16985     # versioned .so libs for executables only if there is the -brtl
   16986     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16987     # To allow for filename-based versioning support, we need to create
   16988     # libNAME.so.V as an archive file, containing:
   16989     # *) an Import File, referring to the versioned filename of the
   16990     #    archive as well as the shared archive member, telling the
   16991     #    bitwidth (32 or 64) of that shared object, and providing the
   16992     #    list of exported symbols of that shared object, eventually
   16993     #    decorated with the 'weak' keyword
   16994     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16995     #    it being seen by the linker.
   16996     # At run time we better use the real file rather than another symlink,
   16997     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16998 
   16999     case $with_aix_soname,$aix_use_runtimelinking in
   17000     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17001     # soname into executable. Probably we can add versioning support to
   17002     # collect2, so additional links can be useful in future.
   17003     aix,yes) # traditional libtool
   17004       dynamic_linker='AIX unversionable lib.so'
   17005       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17006       # instead of lib<name>.a to let people know that these are not
   17007       # typical AIX shared libraries.
   17008       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17009       ;;
   17010     aix,no) # traditional AIX only
   17011       dynamic_linker='AIX lib.a(lib.so.V)'
   17012       # We preserve .a as extension for shared libraries through AIX4.2
   17013       # and later when we are not doing run time linking.
   17014       library_names_spec='$libname$release.a $libname.a'
   17015       soname_spec='$libname$release$shared_ext$major'
   17016       ;;
   17017     svr4,*) # full svr4 only
   17018       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17019       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17020       # We do not specify a path in Import Files, so LIBPATH fires.
   17021       shlibpath_overrides_runpath=yes
   17022       ;;
   17023     *,yes) # both, prefer svr4
   17024       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17025       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17026       # unpreferred sharedlib libNAME.a needs extra handling
   17027       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"'
   17028       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"'
   17029       # We do not specify a path in Import Files, so LIBPATH fires.
   17030       shlibpath_overrides_runpath=yes
   17031       ;;
   17032     *,no) # both, prefer aix
   17033       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17034       library_names_spec='$libname$release.a $libname.a'
   17035       soname_spec='$libname$release$shared_ext$major'
   17036       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17037       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)'
   17038       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"'
   17039       ;;
   17040     esac
   17041     shlibpath_var=LIBPATH
   17042   fi
   17043   ;;
   17044 
   17045 amigaos*)
   17046   case $host_cpu in
   17047   powerpc)
   17048     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17049     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17050     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17051     ;;
   17052   m68k)
   17053     library_names_spec='$libname.ixlibrary $libname.a'
   17054     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17055     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'
   17056     ;;
   17057   esac
   17058   ;;
   17059 
   17060 beos*)
   17061   library_names_spec='$libname$shared_ext'
   17062   dynamic_linker="$host_os ld.so"
   17063   shlibpath_var=LIBRARY_PATH
   17064   ;;
   17065 
   17066 bsdi[45]*)
   17067   version_type=linux # correct to gnu/linux during the next big refactor
   17068   need_version=no
   17069   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17070   soname_spec='$libname$release$shared_ext$major'
   17071   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17072   shlibpath_var=LD_LIBRARY_PATH
   17073   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17074   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17075   # the default ld.so.conf also contains /usr/contrib/lib and
   17076   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17077   # libtool to hard-code these into programs
   17078   ;;
   17079 
   17080 cygwin* | mingw* | pw32* | cegcc*)
   17081   version_type=windows
   17082   shrext_cmds=.dll
   17083   need_version=no
   17084   need_lib_prefix=no
   17085 
   17086   case $GCC,$cc_basename in
   17087   yes,*)
   17088     # gcc
   17089     library_names_spec='$libname.dll.a'
   17090     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17091     postinstall_cmds='base_file=`basename \$file`~
   17092       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17093       dldir=$destdir/`dirname \$dlpath`~
   17094       test -d \$dldir || mkdir -p \$dldir~
   17095       $install_prog $dir/$dlname \$dldir/$dlname~
   17096       chmod a+x \$dldir/$dlname~
   17097       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17098         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17099       fi'
   17100     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17101       dlpath=$dir/\$dldll~
   17102        $RM \$dlpath'
   17103     shlibpath_overrides_runpath=yes
   17104 
   17105     case $host_os in
   17106     cygwin*)
   17107       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17108       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17109 
   17110       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17111       ;;
   17112     mingw* | cegcc*)
   17113       # MinGW DLLs use traditional 'lib' prefix
   17114       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17115       ;;
   17116     pw32*)
   17117       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17118       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17119       ;;
   17120     esac
   17121     dynamic_linker='Win32 ld.exe'
   17122     ;;
   17123 
   17124   *,cl*)
   17125     # Native MSVC
   17126     libname_spec='$name'
   17127     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17128     library_names_spec='$libname.dll.lib'
   17129 
   17130     case $build_os in
   17131     mingw*)
   17132       sys_lib_search_path_spec=
   17133       lt_save_ifs=$IFS
   17134       IFS=';'
   17135       for lt_path in $LIB
   17136       do
   17137         IFS=$lt_save_ifs
   17138         # Let DOS variable expansion print the short 8.3 style file name.
   17139         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17140         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17141       done
   17142       IFS=$lt_save_ifs
   17143       # Convert to MSYS style.
   17144       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17145       ;;
   17146     cygwin*)
   17147       # Convert to unix form, then to dos form, then back to unix form
   17148       # but this time dos style (no spaces!) so that the unix form looks
   17149       # like /cygdrive/c/PROGRA~1:/cygdr...
   17150       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17151       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17152       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17153       ;;
   17154     *)
   17155       sys_lib_search_path_spec=$LIB
   17156       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17157         # It is most probably a Windows format PATH.
   17158         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17159       else
   17160         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17161       fi
   17162       # FIXME: find the short name or the path components, as spaces are
   17163       # common. (e.g. "Program Files" -> "PROGRA~1")
   17164       ;;
   17165     esac
   17166 
   17167     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17168     postinstall_cmds='base_file=`basename \$file`~
   17169       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17170       dldir=$destdir/`dirname \$dlpath`~
   17171       test -d \$dldir || mkdir -p \$dldir~
   17172       $install_prog $dir/$dlname \$dldir/$dlname'
   17173     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17174       dlpath=$dir/\$dldll~
   17175        $RM \$dlpath'
   17176     shlibpath_overrides_runpath=yes
   17177     dynamic_linker='Win32 link.exe'
   17178     ;;
   17179 
   17180   *)
   17181     # Assume MSVC wrapper
   17182     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17183     dynamic_linker='Win32 ld.exe'
   17184     ;;
   17185   esac
   17186   # FIXME: first we should search . and the directory the executable is in
   17187   shlibpath_var=PATH
   17188   ;;
   17189 
   17190 darwin* | rhapsody*)
   17191   dynamic_linker="$host_os dyld"
   17192   version_type=darwin
   17193   need_lib_prefix=no
   17194   need_version=no
   17195   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   17196   soname_spec='$libname$release$major$shared_ext'
   17197   shlibpath_overrides_runpath=yes
   17198   shlibpath_var=DYLD_LIBRARY_PATH
   17199   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   17200 
   17201   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17202   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17203   ;;
   17204 
   17205 dgux*)
   17206   version_type=linux # correct to gnu/linux during the next big refactor
   17207   need_lib_prefix=no
   17208   need_version=no
   17209   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17210   soname_spec='$libname$release$shared_ext$major'
   17211   shlibpath_var=LD_LIBRARY_PATH
   17212   ;;
   17213 
   17214 freebsd* | dragonfly*)
   17215   # DragonFly does not have aout.  When/if they implement a new
   17216   # versioning mechanism, adjust this.
   17217   if test -x /usr/bin/objformat; then
   17218     objformat=`/usr/bin/objformat`
   17219   else
   17220     case $host_os in
   17221     freebsd[23].*) objformat=aout ;;
   17222     *) objformat=elf ;;
   17223     esac
   17224   fi
   17225   # Handle Gentoo/FreeBSD as it was Linux
   17226   case $host_vendor in
   17227     gentoo)
   17228       version_type=linux ;;
   17229     *)
   17230       version_type=freebsd-$objformat ;;
   17231   esac
   17232 
   17233   case $version_type in
   17234     freebsd-elf*)
   17235       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17236       soname_spec='$libname$release$shared_ext$major'
   17237       need_version=no
   17238       need_lib_prefix=no
   17239       ;;
   17240     freebsd-*)
   17241       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17242       need_version=yes
   17243       ;;
   17244     linux)
   17245       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17246       soname_spec='${libname}${release}${shared_ext}$major'
   17247       need_lib_prefix=no
   17248       need_version=no
   17249       ;;
   17250   esac
   17251   shlibpath_var=LD_LIBRARY_PATH
   17252   case $host_os in
   17253   freebsd2.*)
   17254     shlibpath_overrides_runpath=yes
   17255     ;;
   17256   freebsd3.[01]* | freebsdelf3.[01]*)
   17257     shlibpath_overrides_runpath=yes
   17258     hardcode_into_libs=yes
   17259     ;;
   17260   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17261   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17262     shlibpath_overrides_runpath=no
   17263     hardcode_into_libs=yes
   17264     ;;
   17265   *) # from 4.6 on, and DragonFly
   17266     shlibpath_overrides_runpath=yes
   17267     hardcode_into_libs=yes
   17268     ;;
   17269   esac
   17270   ;;
   17271 
   17272 haiku*)
   17273   version_type=linux # correct to gnu/linux during the next big refactor
   17274   need_lib_prefix=no
   17275   need_version=no
   17276   dynamic_linker="$host_os runtime_loader"
   17277   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17278   soname_spec='$libname$release$shared_ext$major'
   17279   shlibpath_var=LIBRARY_PATH
   17280   shlibpath_overrides_runpath=no
   17281   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17282   hardcode_into_libs=yes
   17283   ;;
   17284 
   17285 hpux9* | hpux10* | hpux11*)
   17286   # Give a soname corresponding to the major version so that dld.sl refuses to
   17287   # link against other versions.
   17288   version_type=sunos
   17289   need_lib_prefix=no
   17290   need_version=no
   17291   case $host_cpu in
   17292   ia64*)
   17293     shrext_cmds='.so'
   17294     hardcode_into_libs=yes
   17295     dynamic_linker="$host_os dld.so"
   17296     shlibpath_var=LD_LIBRARY_PATH
   17297     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17298     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17299     soname_spec='$libname$release$shared_ext$major'
   17300     if test 32 = "$HPUX_IA64_MODE"; then
   17301       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17302       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17303     else
   17304       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17305       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17306     fi
   17307     ;;
   17308   hppa*64*)
   17309     shrext_cmds='.sl'
   17310     hardcode_into_libs=yes
   17311     dynamic_linker="$host_os dld.sl"
   17312     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17313     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17314     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17315     soname_spec='$libname$release$shared_ext$major'
   17316     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17317     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17318     ;;
   17319   *)
   17320     shrext_cmds='.sl'
   17321     dynamic_linker="$host_os dld.sl"
   17322     shlibpath_var=SHLIB_PATH
   17323     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17324     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17325     soname_spec='$libname$release$shared_ext$major'
   17326     ;;
   17327   esac
   17328   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17329   postinstall_cmds='chmod 555 $lib'
   17330   # or fails outright, so override atomically:
   17331   install_override_mode=555
   17332   ;;
   17333 
   17334 interix[3-9]*)
   17335   version_type=linux # correct to gnu/linux during the next big refactor
   17336   need_lib_prefix=no
   17337   need_version=no
   17338   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17339   soname_spec='$libname$release$shared_ext$major'
   17340   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17341   shlibpath_var=LD_LIBRARY_PATH
   17342   shlibpath_overrides_runpath=no
   17343   hardcode_into_libs=yes
   17344   ;;
   17345 
   17346 irix5* | irix6* | nonstopux*)
   17347   case $host_os in
   17348     nonstopux*) version_type=nonstopux ;;
   17349     *)
   17350 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17351 		version_type=linux # correct to gnu/linux during the next big refactor
   17352 	else
   17353 		version_type=irix
   17354 	fi ;;
   17355   esac
   17356   need_lib_prefix=no
   17357   need_version=no
   17358   soname_spec='$libname$release$shared_ext$major'
   17359   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17360   case $host_os in
   17361   irix5* | nonstopux*)
   17362     libsuff= shlibsuff=
   17363     ;;
   17364   *)
   17365     case $LD in # libtool.m4 will add one of these switches to LD
   17366     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17367       libsuff= shlibsuff= libmagic=32-bit;;
   17368     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17369       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17370     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17371       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17372     *) libsuff= shlibsuff= libmagic=never-match;;
   17373     esac
   17374     ;;
   17375   esac
   17376   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17377   shlibpath_overrides_runpath=no
   17378   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17379   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17380   hardcode_into_libs=yes
   17381   ;;
   17382 
   17383 # No shared lib support for Linux oldld, aout, or coff.
   17384 linux*oldld* | linux*aout* | linux*coff*)
   17385   dynamic_linker=no
   17386   ;;
   17387 
   17388 linux*android*)
   17389   version_type=none # Android doesn't support versioned libraries.
   17390   need_lib_prefix=no
   17391   need_version=no
   17392   library_names_spec='$libname$release$shared_ext'
   17393   soname_spec='$libname$release$shared_ext'
   17394   finish_cmds=
   17395   shlibpath_var=LD_LIBRARY_PATH
   17396   shlibpath_overrides_runpath=yes
   17397 
   17398   # This implies no fast_install, which is unacceptable.
   17399   # Some rework will be needed to allow for fast_install
   17400   # before this can be enabled.
   17401   hardcode_into_libs=yes
   17402 
   17403   dynamic_linker='Android linker'
   17404   # Don't embed -rpath directories since the linker doesn't support them.
   17405   hardcode_libdir_flag_spec='-L$libdir'
   17406   ;;
   17407 
   17408 # This must be glibc/ELF.
   17409 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17410   version_type=linux # correct to gnu/linux during the next big refactor
   17411   need_lib_prefix=no
   17412   need_version=no
   17413   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17414   soname_spec='$libname$release$shared_ext$major'
   17415   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17416   shlibpath_var=LD_LIBRARY_PATH
   17417   shlibpath_overrides_runpath=no
   17418 
   17419   # Some binutils ld are patched to set DT_RUNPATH
   17420   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17421   $as_echo_n "(cached) " >&6
   17422 else
   17423   lt_cv_shlibpath_overrides_runpath=no
   17424     save_LDFLAGS=$LDFLAGS
   17425     save_libdir=$libdir
   17426     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17427 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17428     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17429 /* end confdefs.h.  */
   17430 
   17431 int
   17432 main ()
   17433 {
   17434 
   17435   ;
   17436   return 0;
   17437 }
   17438 _ACEOF
   17439 if ac_fn_c_try_link "$LINENO"; then :
   17440   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17441   lt_cv_shlibpath_overrides_runpath=yes
   17442 fi
   17443 fi
   17444 rm -f core conftest.err conftest.$ac_objext \
   17445     conftest$ac_exeext conftest.$ac_ext
   17446     LDFLAGS=$save_LDFLAGS
   17447     libdir=$save_libdir
   17448 
   17449 fi
   17450 
   17451   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17452 
   17453   # This implies no fast_install, which is unacceptable.
   17454   # Some rework will be needed to allow for fast_install
   17455   # before this can be enabled.
   17456   hardcode_into_libs=yes
   17457 
   17458   # Ideally, we could use ldconfig to report *all* directores which are
   17459   # searched for libraries, however this is still not possible.  Aside from not
   17460   # being certain /sbin/ldconfig is available, command
   17461   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17462   # even though it is searched at run-time.  Try to do the best guess by
   17463   # appending ld.so.conf contents (and includes) to the search path.
   17464   if test -f /etc/ld.so.conf; then
   17465     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' ' '`
   17466     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17467   fi
   17468 
   17469   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17470   # powerpc, because MkLinux only supported shared libraries with the
   17471   # GNU dynamic linker.  Since this was broken with cross compilers,
   17472   # most powerpc-linux boxes support dynamic linking these days and
   17473   # people can always --disable-shared, the test was removed, and we
   17474   # assume the GNU/Linux dynamic linker is in use.
   17475   dynamic_linker='GNU/Linux ld.so'
   17476   ;;
   17477 
   17478 netbsd*)
   17479   version_type=sunos
   17480   need_lib_prefix=no
   17481   need_version=no
   17482   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17483     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17484     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17485     dynamic_linker='NetBSD (a.out) ld.so'
   17486   else
   17487     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17488     soname_spec='$libname$release$shared_ext$major'
   17489     dynamic_linker='NetBSD ld.elf_so'
   17490   fi
   17491   shlibpath_var=LD_LIBRARY_PATH
   17492   shlibpath_overrides_runpath=yes
   17493   hardcode_into_libs=yes
   17494   ;;
   17495 
   17496 newsos6)
   17497   version_type=linux # correct to gnu/linux during the next big refactor
   17498   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17499   shlibpath_var=LD_LIBRARY_PATH
   17500   shlibpath_overrides_runpath=yes
   17501   ;;
   17502 
   17503 *nto* | *qnx*)
   17504   version_type=qnx
   17505   need_lib_prefix=no
   17506   need_version=no
   17507   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17508   soname_spec='$libname$release$shared_ext$major'
   17509   shlibpath_var=LD_LIBRARY_PATH
   17510   shlibpath_overrides_runpath=no
   17511   hardcode_into_libs=yes
   17512   dynamic_linker='ldqnx.so'
   17513   ;;
   17514 
   17515 openbsd* | bitrig*)
   17516   version_type=sunos
   17517   sys_lib_dlsearch_path_spec=/usr/lib
   17518   need_lib_prefix=no
   17519   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17520     need_version=no
   17521   else
   17522     need_version=yes
   17523   fi
   17524   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17525   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17526   shlibpath_var=LD_LIBRARY_PATH
   17527   shlibpath_overrides_runpath=yes
   17528   ;;
   17529 
   17530 os2*)
   17531   libname_spec='$name'
   17532   version_type=windows
   17533   shrext_cmds=.dll
   17534   need_version=no
   17535   need_lib_prefix=no
   17536   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17537   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17538     v=$($ECHO $release$versuffix | tr -d .-);
   17539     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17540     $ECHO $n$v`$shared_ext'
   17541   library_names_spec='${libname}_dll.$libext'
   17542   dynamic_linker='OS/2 ld.exe'
   17543   shlibpath_var=BEGINLIBPATH
   17544   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17545   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17546   postinstall_cmds='base_file=`basename \$file`~
   17547     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17548     dldir=$destdir/`dirname \$dlpath`~
   17549     test -d \$dldir || mkdir -p \$dldir~
   17550     $install_prog $dir/$dlname \$dldir/$dlname~
   17551     chmod a+x \$dldir/$dlname~
   17552     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17553       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17554     fi'
   17555   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17556     dlpath=$dir/\$dldll~
   17557     $RM \$dlpath'
   17558   ;;
   17559 
   17560 osf3* | osf4* | osf5*)
   17561   version_type=osf
   17562   need_lib_prefix=no
   17563   need_version=no
   17564   soname_spec='$libname$release$shared_ext$major'
   17565   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17566   shlibpath_var=LD_LIBRARY_PATH
   17567   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17568   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17569   ;;
   17570 
   17571 rdos*)
   17572   dynamic_linker=no
   17573   ;;
   17574 
   17575 solaris*)
   17576   version_type=linux # correct to gnu/linux during the next big refactor
   17577   need_lib_prefix=no
   17578   need_version=no
   17579   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17580   soname_spec='$libname$release$shared_ext$major'
   17581   shlibpath_var=LD_LIBRARY_PATH
   17582   shlibpath_overrides_runpath=yes
   17583   hardcode_into_libs=yes
   17584   # ldd complains unless libraries are executable
   17585   postinstall_cmds='chmod +x $lib'
   17586   ;;
   17587 
   17588 sunos4*)
   17589   version_type=sunos
   17590   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17591   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17592   shlibpath_var=LD_LIBRARY_PATH
   17593   shlibpath_overrides_runpath=yes
   17594   if test yes = "$with_gnu_ld"; then
   17595     need_lib_prefix=no
   17596   fi
   17597   need_version=yes
   17598   ;;
   17599 
   17600 sysv4 | sysv4.3*)
   17601   version_type=linux # correct to gnu/linux during the next big refactor
   17602   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17603   soname_spec='$libname$release$shared_ext$major'
   17604   shlibpath_var=LD_LIBRARY_PATH
   17605   case $host_vendor in
   17606     sni)
   17607       shlibpath_overrides_runpath=no
   17608       need_lib_prefix=no
   17609       runpath_var=LD_RUN_PATH
   17610       ;;
   17611     siemens)
   17612       need_lib_prefix=no
   17613       ;;
   17614     motorola)
   17615       need_lib_prefix=no
   17616       need_version=no
   17617       shlibpath_overrides_runpath=no
   17618       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17619       ;;
   17620   esac
   17621   ;;
   17622 
   17623 sysv4*MP*)
   17624   if test -d /usr/nec; then
   17625     version_type=linux # correct to gnu/linux during the next big refactor
   17626     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17627     soname_spec='$libname$shared_ext.$major'
   17628     shlibpath_var=LD_LIBRARY_PATH
   17629   fi
   17630   ;;
   17631 
   17632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17633   version_type=sco
   17634   need_lib_prefix=no
   17635   need_version=no
   17636   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17637   soname_spec='$libname$release$shared_ext$major'
   17638   shlibpath_var=LD_LIBRARY_PATH
   17639   shlibpath_overrides_runpath=yes
   17640   hardcode_into_libs=yes
   17641   if test yes = "$with_gnu_ld"; then
   17642     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17643   else
   17644     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17645     case $host_os in
   17646       sco3.2v5*)
   17647         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17648 	;;
   17649     esac
   17650   fi
   17651   sys_lib_dlsearch_path_spec='/usr/lib'
   17652   ;;
   17653 
   17654 tpf*)
   17655   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17656   version_type=linux # correct to gnu/linux during the next big refactor
   17657   need_lib_prefix=no
   17658   need_version=no
   17659   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17660   shlibpath_var=LD_LIBRARY_PATH
   17661   shlibpath_overrides_runpath=no
   17662   hardcode_into_libs=yes
   17663   ;;
   17664 
   17665 uts4*)
   17666   version_type=linux # correct to gnu/linux during the next big refactor
   17667   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17668   soname_spec='$libname$release$shared_ext$major'
   17669   shlibpath_var=LD_LIBRARY_PATH
   17670   ;;
   17671 
   17672 *)
   17673   dynamic_linker=no
   17674   ;;
   17675 esac
   17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17677 $as_echo "$dynamic_linker" >&6; }
   17678 test no = "$dynamic_linker" && can_build_shared=no
   17679 
   17680 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17681 if test yes = "$GCC"; then
   17682   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17683 fi
   17684 
   17685 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17686   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17687 fi
   17688 
   17689 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17690   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17691 fi
   17692 
   17693 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17694 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17695 
   17696 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17697 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17698 
   17699 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17700 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17799 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17800 hardcode_action=
   17801 if test -n "$hardcode_libdir_flag_spec" ||
   17802    test -n "$runpath_var" ||
   17803    test yes = "$hardcode_automatic"; then
   17804 
   17805   # We can hardcode non-existent directories.
   17806   if test no != "$hardcode_direct" &&
   17807      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17808      # have to relink, otherwise we might link with an installed library
   17809      # when we should be linking with a yet-to-be-installed one
   17810      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17811      test no != "$hardcode_minus_L"; then
   17812     # Linking always hardcodes the temporary library directory.
   17813     hardcode_action=relink
   17814   else
   17815     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17816     hardcode_action=immediate
   17817   fi
   17818 else
   17819   # We cannot hardcode anything, or else we can only hardcode existing
   17820   # directories.
   17821   hardcode_action=unsupported
   17822 fi
   17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17824 $as_echo "$hardcode_action" >&6; }
   17825 
   17826 if test relink = "$hardcode_action" ||
   17827    test yes = "$inherit_rpath"; then
   17828   # Fast installation is not supported
   17829   enable_fast_install=no
   17830 elif test yes = "$shlibpath_overrides_runpath" ||
   17831      test no = "$enable_shared"; then
   17832   # Fast installation is not necessary
   17833   enable_fast_install=needless
   17834 fi
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 
   17841   if test yes != "$enable_dlopen"; then
   17842   enable_dlopen=unknown
   17843   enable_dlopen_self=unknown
   17844   enable_dlopen_self_static=unknown
   17845 else
   17846   lt_cv_dlopen=no
   17847   lt_cv_dlopen_libs=
   17848 
   17849   case $host_os in
   17850   beos*)
   17851     lt_cv_dlopen=load_add_on
   17852     lt_cv_dlopen_libs=
   17853     lt_cv_dlopen_self=yes
   17854     ;;
   17855 
   17856   mingw* | pw32* | cegcc*)
   17857     lt_cv_dlopen=LoadLibrary
   17858     lt_cv_dlopen_libs=
   17859     ;;
   17860 
   17861   cygwin*)
   17862     lt_cv_dlopen=dlopen
   17863     lt_cv_dlopen_libs=
   17864     ;;
   17865 
   17866   darwin*)
   17867     # if libdl is installed we need to link against it
   17868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17869 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17870 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17871   $as_echo_n "(cached) " >&6
   17872 else
   17873   ac_check_lib_save_LIBS=$LIBS
   17874 LIBS="-ldl  $LIBS"
   17875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17876 /* end confdefs.h.  */
   17877 
   17878 /* Override any GCC internal prototype to avoid an error.
   17879    Use char because int might match the return type of a GCC
   17880    builtin and then its argument prototype would still apply.  */
   17881 #ifdef __cplusplus
   17882 extern "C"
   17883 #endif
   17884 char dlopen ();
   17885 int
   17886 main ()
   17887 {
   17888 return dlopen ();
   17889   ;
   17890   return 0;
   17891 }
   17892 _ACEOF
   17893 if ac_fn_c_try_link "$LINENO"; then :
   17894   ac_cv_lib_dl_dlopen=yes
   17895 else
   17896   ac_cv_lib_dl_dlopen=no
   17897 fi
   17898 rm -f core conftest.err conftest.$ac_objext \
   17899     conftest$ac_exeext conftest.$ac_ext
   17900 LIBS=$ac_check_lib_save_LIBS
   17901 fi
   17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17903 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17904 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17905   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17906 else
   17907 
   17908     lt_cv_dlopen=dyld
   17909     lt_cv_dlopen_libs=
   17910     lt_cv_dlopen_self=yes
   17911 
   17912 fi
   17913 
   17914     ;;
   17915 
   17916   tpf*)
   17917     # Don't try to run any link tests for TPF.  We know it's impossible
   17918     # because TPF is a cross-compiler, and we know how we open DSOs.
   17919     lt_cv_dlopen=dlopen
   17920     lt_cv_dlopen_libs=
   17921     lt_cv_dlopen_self=no
   17922     ;;
   17923 
   17924   *)
   17925     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17926 if test "x$ac_cv_func_shl_load" = xyes; then :
   17927   lt_cv_dlopen=shl_load
   17928 else
   17929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17930 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17931 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17932   $as_echo_n "(cached) " >&6
   17933 else
   17934   ac_check_lib_save_LIBS=$LIBS
   17935 LIBS="-ldld  $LIBS"
   17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17937 /* end confdefs.h.  */
   17938 
   17939 /* Override any GCC internal prototype to avoid an error.
   17940    Use char because int might match the return type of a GCC
   17941    builtin and then its argument prototype would still apply.  */
   17942 #ifdef __cplusplus
   17943 extern "C"
   17944 #endif
   17945 char shl_load ();
   17946 int
   17947 main ()
   17948 {
   17949 return shl_load ();
   17950   ;
   17951   return 0;
   17952 }
   17953 _ACEOF
   17954 if ac_fn_c_try_link "$LINENO"; then :
   17955   ac_cv_lib_dld_shl_load=yes
   17956 else
   17957   ac_cv_lib_dld_shl_load=no
   17958 fi
   17959 rm -f core conftest.err conftest.$ac_objext \
   17960     conftest$ac_exeext conftest.$ac_ext
   17961 LIBS=$ac_check_lib_save_LIBS
   17962 fi
   17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17964 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17965 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17966   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17967 else
   17968   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17969 if test "x$ac_cv_func_dlopen" = xyes; then :
   17970   lt_cv_dlopen=dlopen
   17971 else
   17972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17973 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17974 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17975   $as_echo_n "(cached) " >&6
   17976 else
   17977   ac_check_lib_save_LIBS=$LIBS
   17978 LIBS="-ldl  $LIBS"
   17979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17980 /* end confdefs.h.  */
   17981 
   17982 /* Override any GCC internal prototype to avoid an error.
   17983    Use char because int might match the return type of a GCC
   17984    builtin and then its argument prototype would still apply.  */
   17985 #ifdef __cplusplus
   17986 extern "C"
   17987 #endif
   17988 char dlopen ();
   17989 int
   17990 main ()
   17991 {
   17992 return dlopen ();
   17993   ;
   17994   return 0;
   17995 }
   17996 _ACEOF
   17997 if ac_fn_c_try_link "$LINENO"; then :
   17998   ac_cv_lib_dl_dlopen=yes
   17999 else
   18000   ac_cv_lib_dl_dlopen=no
   18001 fi
   18002 rm -f core conftest.err conftest.$ac_objext \
   18003     conftest$ac_exeext conftest.$ac_ext
   18004 LIBS=$ac_check_lib_save_LIBS
   18005 fi
   18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18007 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18008 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18009   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18010 else
   18011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18012 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18013 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18014   $as_echo_n "(cached) " >&6
   18015 else
   18016   ac_check_lib_save_LIBS=$LIBS
   18017 LIBS="-lsvld  $LIBS"
   18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18019 /* end confdefs.h.  */
   18020 
   18021 /* Override any GCC internal prototype to avoid an error.
   18022    Use char because int might match the return type of a GCC
   18023    builtin and then its argument prototype would still apply.  */
   18024 #ifdef __cplusplus
   18025 extern "C"
   18026 #endif
   18027 char dlopen ();
   18028 int
   18029 main ()
   18030 {
   18031 return dlopen ();
   18032   ;
   18033   return 0;
   18034 }
   18035 _ACEOF
   18036 if ac_fn_c_try_link "$LINENO"; then :
   18037   ac_cv_lib_svld_dlopen=yes
   18038 else
   18039   ac_cv_lib_svld_dlopen=no
   18040 fi
   18041 rm -f core conftest.err conftest.$ac_objext \
   18042     conftest$ac_exeext conftest.$ac_ext
   18043 LIBS=$ac_check_lib_save_LIBS
   18044 fi
   18045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18046 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18047 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18048   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18049 else
   18050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18051 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18052 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18053   $as_echo_n "(cached) " >&6
   18054 else
   18055   ac_check_lib_save_LIBS=$LIBS
   18056 LIBS="-ldld  $LIBS"
   18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18058 /* end confdefs.h.  */
   18059 
   18060 /* Override any GCC internal prototype to avoid an error.
   18061    Use char because int might match the return type of a GCC
   18062    builtin and then its argument prototype would still apply.  */
   18063 #ifdef __cplusplus
   18064 extern "C"
   18065 #endif
   18066 char dld_link ();
   18067 int
   18068 main ()
   18069 {
   18070 return dld_link ();
   18071   ;
   18072   return 0;
   18073 }
   18074 _ACEOF
   18075 if ac_fn_c_try_link "$LINENO"; then :
   18076   ac_cv_lib_dld_dld_link=yes
   18077 else
   18078   ac_cv_lib_dld_dld_link=no
   18079 fi
   18080 rm -f core conftest.err conftest.$ac_objext \
   18081     conftest$ac_exeext conftest.$ac_ext
   18082 LIBS=$ac_check_lib_save_LIBS
   18083 fi
   18084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18085 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18086 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18087   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18088 fi
   18089 
   18090 
   18091 fi
   18092 
   18093 
   18094 fi
   18095 
   18096 
   18097 fi
   18098 
   18099 
   18100 fi
   18101 
   18102 
   18103 fi
   18104 
   18105     ;;
   18106   esac
   18107 
   18108   if test no = "$lt_cv_dlopen"; then
   18109     enable_dlopen=no
   18110   else
   18111     enable_dlopen=yes
   18112   fi
   18113 
   18114   case $lt_cv_dlopen in
   18115   dlopen)
   18116     save_CPPFLAGS=$CPPFLAGS
   18117     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18118 
   18119     save_LDFLAGS=$LDFLAGS
   18120     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18121 
   18122     save_LIBS=$LIBS
   18123     LIBS="$lt_cv_dlopen_libs $LIBS"
   18124 
   18125     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18126 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18127 if ${lt_cv_dlopen_self+:} false; then :
   18128   $as_echo_n "(cached) " >&6
   18129 else
   18130   	  if test yes = "$cross_compiling"; then :
   18131   lt_cv_dlopen_self=cross
   18132 else
   18133   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18134   lt_status=$lt_dlunknown
   18135   cat > conftest.$ac_ext <<_LT_EOF
   18136 #line $LINENO "configure"
   18137 #include "confdefs.h"
   18138 
   18139 #if HAVE_DLFCN_H
   18140 #include <dlfcn.h>
   18141 #endif
   18142 
   18143 #include <stdio.h>
   18144 
   18145 #ifdef RTLD_GLOBAL
   18146 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18147 #else
   18148 #  ifdef DL_GLOBAL
   18149 #    define LT_DLGLOBAL		DL_GLOBAL
   18150 #  else
   18151 #    define LT_DLGLOBAL		0
   18152 #  endif
   18153 #endif
   18154 
   18155 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18156    find out it does not work in some platform. */
   18157 #ifndef LT_DLLAZY_OR_NOW
   18158 #  ifdef RTLD_LAZY
   18159 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18160 #  else
   18161 #    ifdef DL_LAZY
   18162 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18163 #    else
   18164 #      ifdef RTLD_NOW
   18165 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18166 #      else
   18167 #        ifdef DL_NOW
   18168 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18169 #        else
   18170 #          define LT_DLLAZY_OR_NOW	0
   18171 #        endif
   18172 #      endif
   18173 #    endif
   18174 #  endif
   18175 #endif
   18176 
   18177 /* When -fvisibility=hidden is used, assume the code has been annotated
   18178    correspondingly for the symbols needed.  */
   18179 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18180 int fnord () __attribute__((visibility("default")));
   18181 #endif
   18182 
   18183 int fnord () { return 42; }
   18184 int main ()
   18185 {
   18186   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18187   int status = $lt_dlunknown;
   18188 
   18189   if (self)
   18190     {
   18191       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18192       else
   18193         {
   18194 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18195           else puts (dlerror ());
   18196 	}
   18197       /* dlclose (self); */
   18198     }
   18199   else
   18200     puts (dlerror ());
   18201 
   18202   return status;
   18203 }
   18204 _LT_EOF
   18205   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18206   (eval $ac_link) 2>&5
   18207   ac_status=$?
   18208   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18209   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18210     (./conftest; exit; ) >&5 2>/dev/null
   18211     lt_status=$?
   18212     case x$lt_status in
   18213       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18214       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18215       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18216     esac
   18217   else :
   18218     # compilation failed
   18219     lt_cv_dlopen_self=no
   18220   fi
   18221 fi
   18222 rm -fr conftest*
   18223 
   18224 
   18225 fi
   18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18227 $as_echo "$lt_cv_dlopen_self" >&6; }
   18228 
   18229     if test yes = "$lt_cv_dlopen_self"; then
   18230       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18231       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18232 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18233 if ${lt_cv_dlopen_self_static+:} false; then :
   18234   $as_echo_n "(cached) " >&6
   18235 else
   18236   	  if test yes = "$cross_compiling"; then :
   18237   lt_cv_dlopen_self_static=cross
   18238 else
   18239   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18240   lt_status=$lt_dlunknown
   18241   cat > conftest.$ac_ext <<_LT_EOF
   18242 #line $LINENO "configure"
   18243 #include "confdefs.h"
   18244 
   18245 #if HAVE_DLFCN_H
   18246 #include <dlfcn.h>
   18247 #endif
   18248 
   18249 #include <stdio.h>
   18250 
   18251 #ifdef RTLD_GLOBAL
   18252 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18253 #else
   18254 #  ifdef DL_GLOBAL
   18255 #    define LT_DLGLOBAL		DL_GLOBAL
   18256 #  else
   18257 #    define LT_DLGLOBAL		0
   18258 #  endif
   18259 #endif
   18260 
   18261 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18262    find out it does not work in some platform. */
   18263 #ifndef LT_DLLAZY_OR_NOW
   18264 #  ifdef RTLD_LAZY
   18265 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18266 #  else
   18267 #    ifdef DL_LAZY
   18268 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18269 #    else
   18270 #      ifdef RTLD_NOW
   18271 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18272 #      else
   18273 #        ifdef DL_NOW
   18274 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18275 #        else
   18276 #          define LT_DLLAZY_OR_NOW	0
   18277 #        endif
   18278 #      endif
   18279 #    endif
   18280 #  endif
   18281 #endif
   18282 
   18283 /* When -fvisibility=hidden is used, assume the code has been annotated
   18284    correspondingly for the symbols needed.  */
   18285 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18286 int fnord () __attribute__((visibility("default")));
   18287 #endif
   18288 
   18289 int fnord () { return 42; }
   18290 int main ()
   18291 {
   18292   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18293   int status = $lt_dlunknown;
   18294 
   18295   if (self)
   18296     {
   18297       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18298       else
   18299         {
   18300 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18301           else puts (dlerror ());
   18302 	}
   18303       /* dlclose (self); */
   18304     }
   18305   else
   18306     puts (dlerror ());
   18307 
   18308   return status;
   18309 }
   18310 _LT_EOF
   18311   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18312   (eval $ac_link) 2>&5
   18313   ac_status=$?
   18314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18315   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18316     (./conftest; exit; ) >&5 2>/dev/null
   18317     lt_status=$?
   18318     case x$lt_status in
   18319       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18320       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18321       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18322     esac
   18323   else :
   18324     # compilation failed
   18325     lt_cv_dlopen_self_static=no
   18326   fi
   18327 fi
   18328 rm -fr conftest*
   18329 
   18330 
   18331 fi
   18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18333 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18334     fi
   18335 
   18336     CPPFLAGS=$save_CPPFLAGS
   18337     LDFLAGS=$save_LDFLAGS
   18338     LIBS=$save_LIBS
   18339     ;;
   18340   esac
   18341 
   18342   case $lt_cv_dlopen_self in
   18343   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18344   *) enable_dlopen_self=unknown ;;
   18345   esac
   18346 
   18347   case $lt_cv_dlopen_self_static in
   18348   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18349   *) enable_dlopen_self_static=unknown ;;
   18350   esac
   18351 fi
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 striplib=
   18370 old_striplib=
   18371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18372 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18373 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18374   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18375   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18377 $as_echo "yes" >&6; }
   18378 else
   18379 # FIXME - insert some real tests, host_os isn't really good enough
   18380   case $host_os in
   18381   darwin*)
   18382     if test -n "$STRIP"; then
   18383       striplib="$STRIP -x"
   18384       old_striplib="$STRIP -S"
   18385       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18386 $as_echo "yes" >&6; }
   18387     else
   18388       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18389 $as_echo "no" >&6; }
   18390     fi
   18391     ;;
   18392   *)
   18393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18394 $as_echo "no" >&6; }
   18395     ;;
   18396   esac
   18397 fi
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 
   18407 
   18408 
   18409 
   18410   # Report what library types will actually be built
   18411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18412 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18414 $as_echo "$can_build_shared" >&6; }
   18415 
   18416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18417 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18418   test no = "$can_build_shared" && enable_shared=no
   18419 
   18420   # On AIX, shared libraries and static libraries use the same namespace, and
   18421   # are all built from PIC.
   18422   case $host_os in
   18423   aix3*)
   18424     test yes = "$enable_shared" && enable_static=no
   18425     if test -n "$RANLIB"; then
   18426       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18427       postinstall_cmds='$RANLIB $lib'
   18428     fi
   18429     ;;
   18430 
   18431   aix[4-9]*)
   18432     if test ia64 != "$host_cpu"; then
   18433       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18434       yes,aix,yes) ;;			# shared object as lib.so file only
   18435       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18436       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18437       esac
   18438     fi
   18439     ;;
   18440   esac
   18441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18442 $as_echo "$enable_shared" >&6; }
   18443 
   18444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18445 $as_echo_n "checking whether to build static libraries... " >&6; }
   18446   # Make sure either enable_shared or enable_static is yes.
   18447   test yes = "$enable_shared" || enable_static=yes
   18448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18449 $as_echo "$enable_static" >&6; }
   18450 
   18451 
   18452 
   18453 
   18454 fi
   18455 ac_ext=c
   18456 ac_cpp='$CPP $CPPFLAGS'
   18457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18460 
   18461 CC=$lt_save_CC
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477         ac_config_commands="$ac_config_commands libtool"
   18478 
   18479 
   18480 
   18481 
   18482 # Only expand once:
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 # Define a configure option for an alternate module directory
   18489 
   18490 # Check whether --with-xorg-module-dir was given.
   18491 if test "${with_xorg_module_dir+set}" = set; then :
   18492   withval=$with_xorg_module_dir; moduledir="$withval"
   18493 else
   18494   moduledir="$libdir/xorg/modules"
   18495 fi
   18496 
   18497 
   18498 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18499 
   18500 
   18501 	SAVE_CFLAGS="$CFLAGS"
   18502 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18503 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18504 /* end confdefs.h.  */
   18505 
   18506 #include "xorg-server.h"
   18507 #if !defined RANDR
   18508 #error RANDR not defined
   18509 #endif
   18510 
   18511 int
   18512 main ()
   18513 {
   18514 
   18515   ;
   18516   return 0;
   18517 }
   18518 _ACEOF
   18519 if ac_fn_c_try_compile "$LINENO"; then :
   18520   _EXT_CHECK=yes
   18521 else
   18522   _EXT_CHECK=no
   18523 fi
   18524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18525 	CFLAGS="$SAVE_CFLAGS"
   18526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18527 $as_echo_n "checking if RANDR is defined... " >&6; }
   18528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18529 $as_echo "$_EXT_CHECK" >&6; }
   18530 	if test "$_EXT_CHECK" != no; then
   18531 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18532 	fi
   18533 
   18534 
   18535 
   18536 	SAVE_CFLAGS="$CFLAGS"
   18537 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18538 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18539 /* end confdefs.h.  */
   18540 
   18541 #include "xorg-server.h"
   18542 #if !defined RENDER
   18543 #error RENDER not defined
   18544 #endif
   18545 
   18546 int
   18547 main ()
   18548 {
   18549 
   18550   ;
   18551   return 0;
   18552 }
   18553 _ACEOF
   18554 if ac_fn_c_try_compile "$LINENO"; then :
   18555   _EXT_CHECK=yes
   18556 else
   18557   _EXT_CHECK=no
   18558 fi
   18559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18560 	CFLAGS="$SAVE_CFLAGS"
   18561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18562 $as_echo_n "checking if RENDER is defined... " >&6; }
   18563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18564 $as_echo "$_EXT_CHECK" >&6; }
   18565 	if test "$_EXT_CHECK" != no; then
   18566 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18567 	fi
   18568 
   18569 
   18570 
   18571 	SAVE_CFLAGS="$CFLAGS"
   18572 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18573 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18574 /* end confdefs.h.  */
   18575 
   18576 #include "xorg-server.h"
   18577 #if !defined XV
   18578 #error XV not defined
   18579 #endif
   18580 
   18581 int
   18582 main ()
   18583 {
   18584 
   18585   ;
   18586   return 0;
   18587 }
   18588 _ACEOF
   18589 if ac_fn_c_try_compile "$LINENO"; then :
   18590   _EXT_CHECK=yes
   18591 else
   18592   _EXT_CHECK=no
   18593 fi
   18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18595 	CFLAGS="$SAVE_CFLAGS"
   18596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18597 $as_echo_n "checking if XV is defined... " >&6; }
   18598 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18599 $as_echo "$_EXT_CHECK" >&6; }
   18600 	if test "$_EXT_CHECK" != no; then
   18601 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18602 	fi
   18603 
   18604 
   18605 
   18606 	SAVE_CFLAGS="$CFLAGS"
   18607 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18608 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18609 /* end confdefs.h.  */
   18610 
   18611 #include "xorg-server.h"
   18612 #if !defined DPMSExtension
   18613 #error DPMSExtension not defined
   18614 #endif
   18615 
   18616 int
   18617 main ()
   18618 {
   18619 
   18620   ;
   18621   return 0;
   18622 }
   18623 _ACEOF
   18624 if ac_fn_c_try_compile "$LINENO"; then :
   18625   _EXT_CHECK=yes
   18626 else
   18627   _EXT_CHECK=no
   18628 fi
   18629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18630 	CFLAGS="$SAVE_CFLAGS"
   18631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18632 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18634 $as_echo "$_EXT_CHECK" >&6; }
   18635 	if test "$_EXT_CHECK" != no; then
   18636 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18637 	fi
   18638 
   18639 
   18640 
   18641 	SAVE_CFLAGS="$CFLAGS"
   18642 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18643 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18644 /* end confdefs.h.  */
   18645 
   18646 #include "xorg-server.h"
   18647 #if !defined DRI2
   18648 #error DRI2 not defined
   18649 #endif
   18650 
   18651 int
   18652 main ()
   18653 {
   18654 
   18655   ;
   18656   return 0;
   18657 }
   18658 _ACEOF
   18659 if ac_fn_c_try_compile "$LINENO"; then :
   18660   _EXT_CHECK=yes
   18661 else
   18662   _EXT_CHECK=no
   18663 fi
   18664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18665 	CFLAGS="$SAVE_CFLAGS"
   18666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DRI2 is defined" >&5
   18667 $as_echo_n "checking if DRI2 is defined... " >&6; }
   18668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18669 $as_echo "$_EXT_CHECK" >&6; }
   18670 	if test "$_EXT_CHECK" != no; then
   18671 		REQUIRED_MODULES="$REQUIRED_MODULES dri2proto >= 2.6"
   18672 	fi
   18673 
   18674 
   18675 # Checks for libraries
   18676 
   18677 pkg_failed=no
   18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdrm >= 2.4.60" >&5
   18679 $as_echo_n "checking for libdrm >= 2.4.60... " >&6; }
   18680 
   18681 if test -n "$LIBDRM_CFLAGS"; then
   18682     pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS"
   18683  elif test -n "$PKG_CONFIG"; then
   18684     if test -n "$PKG_CONFIG" && \
   18685     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.60\""; } >&5
   18686   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.60") 2>&5
   18687   ac_status=$?
   18688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18689   test $ac_status = 0; }; then
   18690   pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.60" 2>/dev/null`
   18691 		      test "x$?" != "x0" && pkg_failed=yes
   18692 else
   18693   pkg_failed=yes
   18694 fi
   18695  else
   18696     pkg_failed=untried
   18697 fi
   18698 if test -n "$LIBDRM_LIBS"; then
   18699     pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS"
   18700  elif test -n "$PKG_CONFIG"; then
   18701     if test -n "$PKG_CONFIG" && \
   18702     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.60\""; } >&5
   18703   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.60") 2>&5
   18704   ac_status=$?
   18705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18706   test $ac_status = 0; }; then
   18707   pkg_cv_LIBDRM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.60" 2>/dev/null`
   18708 		      test "x$?" != "x0" && pkg_failed=yes
   18709 else
   18710   pkg_failed=yes
   18711 fi
   18712  else
   18713     pkg_failed=untried
   18714 fi
   18715 
   18716 
   18717 
   18718 if test $pkg_failed = yes; then
   18719         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18720 $as_echo "no" >&6; }
   18721 
   18722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18723         _pkg_short_errors_supported=yes
   18724 else
   18725         _pkg_short_errors_supported=no
   18726 fi
   18727         if test $_pkg_short_errors_supported = yes; then
   18728 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.4.60" 2>&1`
   18729         else
   18730 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.4.60" 2>&1`
   18731         fi
   18732 	# Put the nasty error message in config.log where it belongs
   18733 	echo "$LIBDRM_PKG_ERRORS" >&5
   18734 
   18735 	as_fn_error $? "Package requirements (libdrm >= 2.4.60) were not met:
   18736 
   18737 $LIBDRM_PKG_ERRORS
   18738 
   18739 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18740 installed software in a non-standard prefix.
   18741 
   18742 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   18743 and LIBDRM_LIBS to avoid the need to call pkg-config.
   18744 See the pkg-config man page for more details." "$LINENO" 5
   18745 elif test $pkg_failed = untried; then
   18746         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18747 $as_echo "no" >&6; }
   18748 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18750 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18751 is in your PATH or set the PKG_CONFIG environment variable to the full
   18752 path to pkg-config.
   18753 
   18754 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   18755 and LIBDRM_LIBS to avoid the need to call pkg-config.
   18756 See the pkg-config man page for more details.
   18757 
   18758 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18759 See \`config.log' for more details" "$LINENO" 5; }
   18760 else
   18761 	LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS
   18762 	LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS
   18763         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18764 $as_echo "yes" >&6; }
   18765 
   18766 fi
   18767 
   18768 pkg_failed=no
   18769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdrm_nouveau >= 2.4.25" >&5
   18770 $as_echo_n "checking for libdrm_nouveau >= 2.4.25... " >&6; }
   18771 
   18772 if test -n "$LIBDRM_NOUVEAU_CFLAGS"; then
   18773     pkg_cv_LIBDRM_NOUVEAU_CFLAGS="$LIBDRM_NOUVEAU_CFLAGS"
   18774  elif test -n "$PKG_CONFIG"; then
   18775     if test -n "$PKG_CONFIG" && \
   18776     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_nouveau >= 2.4.25\""; } >&5
   18777   ($PKG_CONFIG --exists --print-errors "libdrm_nouveau >= 2.4.25") 2>&5
   18778   ac_status=$?
   18779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18780   test $ac_status = 0; }; then
   18781   pkg_cv_LIBDRM_NOUVEAU_CFLAGS=`$PKG_CONFIG --cflags "libdrm_nouveau >= 2.4.25" 2>/dev/null`
   18782 		      test "x$?" != "x0" && pkg_failed=yes
   18783 else
   18784   pkg_failed=yes
   18785 fi
   18786  else
   18787     pkg_failed=untried
   18788 fi
   18789 if test -n "$LIBDRM_NOUVEAU_LIBS"; then
   18790     pkg_cv_LIBDRM_NOUVEAU_LIBS="$LIBDRM_NOUVEAU_LIBS"
   18791  elif test -n "$PKG_CONFIG"; then
   18792     if test -n "$PKG_CONFIG" && \
   18793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_nouveau >= 2.4.25\""; } >&5
   18794   ($PKG_CONFIG --exists --print-errors "libdrm_nouveau >= 2.4.25") 2>&5
   18795   ac_status=$?
   18796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18797   test $ac_status = 0; }; then
   18798   pkg_cv_LIBDRM_NOUVEAU_LIBS=`$PKG_CONFIG --libs "libdrm_nouveau >= 2.4.25" 2>/dev/null`
   18799 		      test "x$?" != "x0" && pkg_failed=yes
   18800 else
   18801   pkg_failed=yes
   18802 fi
   18803  else
   18804     pkg_failed=untried
   18805 fi
   18806 
   18807 
   18808 
   18809 if test $pkg_failed = yes; then
   18810         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18811 $as_echo "no" >&6; }
   18812 
   18813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18814         _pkg_short_errors_supported=yes
   18815 else
   18816         _pkg_short_errors_supported=no
   18817 fi
   18818         if test $_pkg_short_errors_supported = yes; then
   18819 	        LIBDRM_NOUVEAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm_nouveau >= 2.4.25" 2>&1`
   18820         else
   18821 	        LIBDRM_NOUVEAU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm_nouveau >= 2.4.25" 2>&1`
   18822         fi
   18823 	# Put the nasty error message in config.log where it belongs
   18824 	echo "$LIBDRM_NOUVEAU_PKG_ERRORS" >&5
   18825 
   18826 	as_fn_error $? "Package requirements (libdrm_nouveau >= 2.4.25) were not met:
   18827 
   18828 $LIBDRM_NOUVEAU_PKG_ERRORS
   18829 
   18830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18831 installed software in a non-standard prefix.
   18832 
   18833 Alternatively, you may set the environment variables LIBDRM_NOUVEAU_CFLAGS
   18834 and LIBDRM_NOUVEAU_LIBS to avoid the need to call pkg-config.
   18835 See the pkg-config man page for more details." "$LINENO" 5
   18836 elif test $pkg_failed = untried; then
   18837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18838 $as_echo "no" >&6; }
   18839 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18841 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18842 is in your PATH or set the PKG_CONFIG environment variable to the full
   18843 path to pkg-config.
   18844 
   18845 Alternatively, you may set the environment variables LIBDRM_NOUVEAU_CFLAGS
   18846 and LIBDRM_NOUVEAU_LIBS to avoid the need to call pkg-config.
   18847 See the pkg-config man page for more details.
   18848 
   18849 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18850 See \`config.log' for more details" "$LINENO" 5; }
   18851 else
   18852 	LIBDRM_NOUVEAU_CFLAGS=$pkg_cv_LIBDRM_NOUVEAU_CFLAGS
   18853 	LIBDRM_NOUVEAU_LIBS=$pkg_cv_LIBDRM_NOUVEAU_LIBS
   18854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18855 $as_echo "yes" >&6; }
   18856 
   18857 fi
   18858 
   18859 # Obtain compiler/linker options for the driver dependencies
   18860 
   18861 pkg_failed=no
   18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" >&5
   18863 $as_echo_n "checking for xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES... " >&6; }
   18864 
   18865 if test -n "$XORG_CFLAGS"; then
   18866     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18867  elif test -n "$PKG_CONFIG"; then
   18868     if test -n "$PKG_CONFIG" && \
   18869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.8 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18870   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18871   ac_status=$?
   18872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18873   test $ac_status = 0; }; then
   18874   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18875 		      test "x$?" != "x0" && pkg_failed=yes
   18876 else
   18877   pkg_failed=yes
   18878 fi
   18879  else
   18880     pkg_failed=untried
   18881 fi
   18882 if test -n "$XORG_LIBS"; then
   18883     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18884  elif test -n "$PKG_CONFIG"; then
   18885     if test -n "$PKG_CONFIG" && \
   18886     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.8 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18887   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18888   ac_status=$?
   18889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18890   test $ac_status = 0; }; then
   18891   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18892 		      test "x$?" != "x0" && pkg_failed=yes
   18893 else
   18894   pkg_failed=yes
   18895 fi
   18896  else
   18897     pkg_failed=untried
   18898 fi
   18899 
   18900 
   18901 
   18902 if test $pkg_failed = yes; then
   18903         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18904 $as_echo "no" >&6; }
   18905 
   18906 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18907         _pkg_short_errors_supported=yes
   18908 else
   18909         _pkg_short_errors_supported=no
   18910 fi
   18911         if test $_pkg_short_errors_supported = yes; then
   18912 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18913         else
   18914 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18915         fi
   18916 	# Put the nasty error message in config.log where it belongs
   18917 	echo "$XORG_PKG_ERRORS" >&5
   18918 
   18919 	as_fn_error $? "Package requirements (xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES) were not met:
   18920 
   18921 $XORG_PKG_ERRORS
   18922 
   18923 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18924 installed software in a non-standard prefix.
   18925 
   18926 Alternatively, you may set the environment variables XORG_CFLAGS
   18927 and XORG_LIBS to avoid the need to call pkg-config.
   18928 See the pkg-config man page for more details." "$LINENO" 5
   18929 elif test $pkg_failed = untried; then
   18930         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18931 $as_echo "no" >&6; }
   18932 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18934 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18935 is in your PATH or set the PKG_CONFIG environment variable to the full
   18936 path to pkg-config.
   18937 
   18938 Alternatively, you may set the environment variables XORG_CFLAGS
   18939 and XORG_LIBS to avoid the need to call pkg-config.
   18940 See the pkg-config man page for more details.
   18941 
   18942 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18943 See \`config.log' for more details" "$LINENO" 5; }
   18944 else
   18945 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18946 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18948 $as_echo "yes" >&6; }
   18949 
   18950 fi
   18951 
   18952 pkg_failed=no
   18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xextproto >= 7.0.99.1" >&5
   18954 $as_echo_n "checking for xextproto >= 7.0.99.1... " >&6; }
   18955 
   18956 if test -n "$XEXT_CFLAGS"; then
   18957     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18958  elif test -n "$PKG_CONFIG"; then
   18959     if test -n "$PKG_CONFIG" && \
   18960     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18961   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18962   ac_status=$?
   18963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18964   test $ac_status = 0; }; then
   18965   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18966 		      test "x$?" != "x0" && pkg_failed=yes
   18967 else
   18968   pkg_failed=yes
   18969 fi
   18970  else
   18971     pkg_failed=untried
   18972 fi
   18973 if test -n "$XEXT_LIBS"; then
   18974     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18975  elif test -n "$PKG_CONFIG"; then
   18976     if test -n "$PKG_CONFIG" && \
   18977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18978   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18979   ac_status=$?
   18980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18981   test $ac_status = 0; }; then
   18982   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18983 		      test "x$?" != "x0" && pkg_failed=yes
   18984 else
   18985   pkg_failed=yes
   18986 fi
   18987  else
   18988     pkg_failed=untried
   18989 fi
   18990 
   18991 
   18992 
   18993 if test $pkg_failed = yes; then
   18994         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18995 $as_echo "no" >&6; }
   18996 
   18997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18998         _pkg_short_errors_supported=yes
   18999 else
   19000         _pkg_short_errors_supported=no
   19001 fi
   19002         if test $_pkg_short_errors_supported = yes; then
   19003 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19004         else
   19005 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   19006         fi
   19007 	# Put the nasty error message in config.log where it belongs
   19008 	echo "$XEXT_PKG_ERRORS" >&5
   19009 
   19010 	HAVE_XEXTPROTO_71="no"
   19011 elif test $pkg_failed = untried; then
   19012         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19013 $as_echo "no" >&6; }
   19014 	HAVE_XEXTPROTO_71="no"
   19015 else
   19016 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   19017 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   19018         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19019 $as_echo "yes" >&6; }
   19020 	HAVE_XEXTPROTO_71="yes";
   19021 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   19022 
   19023 fi
   19024  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   19025   HAVE_XEXTPROTO_71_TRUE=
   19026   HAVE_XEXTPROTO_71_FALSE='#'
   19027 else
   19028   HAVE_XEXTPROTO_71_TRUE='#'
   19029   HAVE_XEXTPROTO_71_FALSE=
   19030 fi
   19031 
   19032 
   19033 
   19034 pkg_failed=no
   19035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pciaccess >= 0.10" >&5
   19036 $as_echo_n "checking for pciaccess >= 0.10... " >&6; }
   19037 
   19038 if test -n "$PCIACCESS_CFLAGS"; then
   19039     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19040  elif test -n "$PKG_CONFIG"; then
   19041     if test -n "$PKG_CONFIG" && \
   19042     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   19043   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   19044   ac_status=$?
   19045   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19046   test $ac_status = 0; }; then
   19047   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   19048 		      test "x$?" != "x0" && pkg_failed=yes
   19049 else
   19050   pkg_failed=yes
   19051 fi
   19052  else
   19053     pkg_failed=untried
   19054 fi
   19055 if test -n "$PCIACCESS_LIBS"; then
   19056     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19057  elif test -n "$PKG_CONFIG"; then
   19058     if test -n "$PKG_CONFIG" && \
   19059     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   19060   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   19061   ac_status=$?
   19062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19063   test $ac_status = 0; }; then
   19064   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   19065 		      test "x$?" != "x0" && pkg_failed=yes
   19066 else
   19067   pkg_failed=yes
   19068 fi
   19069  else
   19070     pkg_failed=untried
   19071 fi
   19072 
   19073 
   19074 
   19075 if test $pkg_failed = yes; then
   19076         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19077 $as_echo "no" >&6; }
   19078 
   19079 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19080         _pkg_short_errors_supported=yes
   19081 else
   19082         _pkg_short_errors_supported=no
   19083 fi
   19084         if test $_pkg_short_errors_supported = yes; then
   19085 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   19086         else
   19087 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   19088         fi
   19089 	# Put the nasty error message in config.log where it belongs
   19090 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19091 
   19092 	as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
   19093 
   19094 $PCIACCESS_PKG_ERRORS
   19095 
   19096 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19097 installed software in a non-standard prefix.
   19098 
   19099 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19100 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19101 See the pkg-config man page for more details." "$LINENO" 5
   19102 elif test $pkg_failed = untried; then
   19103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19104 $as_echo "no" >&6; }
   19105 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19107 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19108 is in your PATH or set the PKG_CONFIG environment variable to the full
   19109 path to pkg-config.
   19110 
   19111 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19112 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19113 See the pkg-config man page for more details.
   19114 
   19115 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19116 See \`config.log' for more details" "$LINENO" 5; }
   19117 else
   19118 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19119 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19120         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19121 $as_echo "yes" >&6; }
   19122 
   19123 fi
   19124 
   19125 
   19126 pkg_failed=no
   19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libudev" >&5
   19128 $as_echo_n "checking for libudev... " >&6; }
   19129 
   19130 if test -n "$LIBUDEV_CFLAGS"; then
   19131     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   19132  elif test -n "$PKG_CONFIG"; then
   19133     if test -n "$PKG_CONFIG" && \
   19134     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19135   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19136   ac_status=$?
   19137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19138   test $ac_status = 0; }; then
   19139   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   19140 		      test "x$?" != "x0" && pkg_failed=yes
   19141 else
   19142   pkg_failed=yes
   19143 fi
   19144  else
   19145     pkg_failed=untried
   19146 fi
   19147 if test -n "$LIBUDEV_LIBS"; then
   19148     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   19149  elif test -n "$PKG_CONFIG"; then
   19150     if test -n "$PKG_CONFIG" && \
   19151     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19152   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19153   ac_status=$?
   19154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19155   test $ac_status = 0; }; then
   19156   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   19157 		      test "x$?" != "x0" && pkg_failed=yes
   19158 else
   19159   pkg_failed=yes
   19160 fi
   19161  else
   19162     pkg_failed=untried
   19163 fi
   19164 
   19165 
   19166 
   19167 if test $pkg_failed = yes; then
   19168         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19169 $as_echo "no" >&6; }
   19170 
   19171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19172         _pkg_short_errors_supported=yes
   19173 else
   19174         _pkg_short_errors_supported=no
   19175 fi
   19176         if test $_pkg_short_errors_supported = yes; then
   19177 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
   19178         else
   19179 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
   19180         fi
   19181 	# Put the nasty error message in config.log where it belongs
   19182 	echo "$LIBUDEV_PKG_ERRORS" >&5
   19183 
   19184 	LIBUDEV=no
   19185 elif test $pkg_failed = untried; then
   19186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19187 $as_echo "no" >&6; }
   19188 	LIBUDEV=no
   19189 else
   19190 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   19191 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   19192         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19193 $as_echo "yes" >&6; }
   19194 	LIBUDEV=yes
   19195 fi
   19196 if test "x$LIBUDEV" = xyes; then
   19197 
   19198 $as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
   19199 
   19200 fi
   19201  if  test "x$LIBUDEV" = "xyes"  ; then
   19202   LIBUDEV_TRUE=
   19203   LIBUDEV_FALSE='#'
   19204 else
   19205   LIBUDEV_TRUE='#'
   19206   LIBUDEV_FALSE=
   19207 fi
   19208 
   19209 
   19210 # Use -Wall all the time
   19211 CFLAGS="$CFLAGS -Wall"
   19212 
   19213 # Check for -minline-all-stringops availability
   19214 OLD_CFLAGS="$CFLAGS"
   19215 CFLAGS="$CFLAGS -minline-all-stringops"
   19216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19217 /* end confdefs.h.  */
   19218  #include <stdio.h>
   19219 int
   19220 main ()
   19221 {
   19222 
   19223   ;
   19224   return 0;
   19225 }
   19226 _ACEOF
   19227 if ac_fn_c_try_compile "$LINENO"; then :
   19228    CFLAGS="$OLD_CFLAGS -minline-all-stringops"
   19229 else
   19230   CFLAGS="$OLD_CFLAGS"
   19231 fi
   19232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19233 
   19234 # needed for the next test
   19235 CFLAGS="$CFLAGS $XORG_CFLAGS"
   19236 
   19237 
   19238 
   19239 
   19240 DRIVER_NAME=nouveau
   19241 
   19242 
   19243 ac_fn_c_check_decl "$LINENO" "xf86CursorResetCursor" "ac_cv_have_decl_xf86CursorResetCursor" "#include <xorg-server.h>
   19244                #include <xf86Cursor.h>
   19245 "
   19246 if test "x$ac_cv_have_decl_xf86CursorResetCursor" = xyes; then :
   19247 
   19248 $as_echo "#define HAVE_XF86_CURSOR_RESET_CURSOR 1" >>confdefs.h
   19249 
   19250 fi
   19251 
   19252 
   19253 ac_fn_c_check_decl "$LINENO" "xorg_list_init" "ac_cv_have_decl_xorg_list_init" "#include <X11/Xdefs.h>
   19254                #include \"xorg-server.h\"
   19255                #include \"list.h\"
   19256 "
   19257 if test "x$ac_cv_have_decl_xorg_list_init" = xyes; then :
   19258 
   19259 $as_echo "#define HAVE_XORG_LIST 1" >>confdefs.h
   19260 
   19261 fi
   19262 
   19263 
   19264 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19265 
   19266 cat >confcache <<\_ACEOF
   19267 # This file is a shell script that caches the results of configure
   19268 # tests run on this system so they can be shared between configure
   19269 # scripts and configure runs, see configure's option --config-cache.
   19270 # It is not useful on other systems.  If it contains results you don't
   19271 # want to keep, you may remove or edit it.
   19272 #
   19273 # config.status only pays attention to the cache file if you give it
   19274 # the --recheck option to rerun configure.
   19275 #
   19276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19278 # following values.
   19279 
   19280 _ACEOF
   19281 
   19282 # The following way of writing the cache mishandles newlines in values,
   19283 # but we know of no workaround that is simple, portable, and efficient.
   19284 # So, we kill variables containing newlines.
   19285 # Ultrix sh set writes to stderr and can't be redirected directly,
   19286 # and sets the high bit in the cache file unless we assign to the vars.
   19287 (
   19288   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19289     eval ac_val=\$$ac_var
   19290     case $ac_val in #(
   19291     *${as_nl}*)
   19292       case $ac_var in #(
   19293       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19294 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19295       esac
   19296       case $ac_var in #(
   19297       _ | IFS | as_nl) ;; #(
   19298       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19299       *) { eval $ac_var=; unset $ac_var;} ;;
   19300       esac ;;
   19301     esac
   19302   done
   19303 
   19304   (set) 2>&1 |
   19305     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19306     *${as_nl}ac_space=\ *)
   19307       # `set' does not quote correctly, so add quotes: double-quote
   19308       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19309       sed -n \
   19310 	"s/'/'\\\\''/g;
   19311 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19312       ;; #(
   19313     *)
   19314       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19315       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19316       ;;
   19317     esac |
   19318     sort
   19319 ) |
   19320   sed '
   19321      /^ac_cv_env_/b end
   19322      t clear
   19323      :clear
   19324      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19325      t end
   19326      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19327      :end' >>confcache
   19328 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19329   if test -w "$cache_file"; then
   19330     if test "x$cache_file" != "x/dev/null"; then
   19331       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19332 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19333       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19334 	cat confcache >"$cache_file"
   19335       else
   19336         case $cache_file in #(
   19337         */* | ?:*)
   19338 	  mv -f confcache "$cache_file"$$ &&
   19339 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19340         *)
   19341 	  mv -f confcache "$cache_file" ;;
   19342 	esac
   19343       fi
   19344     fi
   19345   else
   19346     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19347 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19348   fi
   19349 fi
   19350 rm -f confcache
   19351 
   19352 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19353 # Let make expand exec_prefix.
   19354 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19355 
   19356 DEFS=-DHAVE_CONFIG_H
   19357 
   19358 ac_libobjs=
   19359 ac_ltlibobjs=
   19360 U=
   19361 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19362   # 1. Remove the extension, and $U if already installed.
   19363   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19364   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19365   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19366   #    will be set to the directory where LIBOBJS objects are built.
   19367   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19368   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19369 done
   19370 LIBOBJS=$ac_libobjs
   19371 
   19372 LTLIBOBJS=$ac_ltlibobjs
   19373 
   19374 
   19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19376 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19377    if test -n "$am_sleep_pid"; then
   19378      # Hide warnings about reused PIDs.
   19379      wait $am_sleep_pid 2>/dev/null
   19380    fi
   19381    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19382 $as_echo "done" >&6; }
   19383  if test -n "$EXEEXT"; then
   19384   am__EXEEXT_TRUE=
   19385   am__EXEEXT_FALSE='#'
   19386 else
   19387   am__EXEEXT_TRUE='#'
   19388   am__EXEEXT_FALSE=
   19389 fi
   19390 
   19391 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19392   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19394 fi
   19395 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19396   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19398 fi
   19399 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19400   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19402 fi
   19403 if test -z "${LIBUDEV_TRUE}" && test -z "${LIBUDEV_FALSE}"; then
   19404   as_fn_error $? "conditional \"LIBUDEV\" was never defined.
   19405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19406 fi
   19407 
   19408 : "${CONFIG_STATUS=./config.status}"
   19409 ac_write_fail=0
   19410 ac_clean_files_save=$ac_clean_files
   19411 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19412 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19413 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19414 as_write_fail=0
   19415 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19416 #! $SHELL
   19417 # Generated by $as_me.
   19418 # Run this file to recreate the current configuration.
   19419 # Compiler output produced by configure, useful for debugging
   19420 # configure, is in config.log if it exists.
   19421 
   19422 debug=false
   19423 ac_cs_recheck=false
   19424 ac_cs_silent=false
   19425 
   19426 SHELL=\${CONFIG_SHELL-$SHELL}
   19427 export SHELL
   19428 _ASEOF
   19429 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19430 ## -------------------- ##
   19431 ## M4sh Initialization. ##
   19432 ## -------------------- ##
   19433 
   19434 # Be more Bourne compatible
   19435 DUALCASE=1; export DUALCASE # for MKS sh
   19436 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19437   emulate sh
   19438   NULLCMD=:
   19439   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19440   # is contrary to our usage.  Disable this feature.
   19441   alias -g '${1+"$@"}'='"$@"'
   19442   setopt NO_GLOB_SUBST
   19443 else
   19444   case `(set -o) 2>/dev/null` in #(
   19445   *posix*) :
   19446     set -o posix ;; #(
   19447   *) :
   19448      ;;
   19449 esac
   19450 fi
   19451 
   19452 
   19453 as_nl='
   19454 '
   19455 export as_nl
   19456 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19457 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19458 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19460 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19461 # but without wasting forks for bash or zsh.
   19462 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19463     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19464   as_echo='print -r --'
   19465   as_echo_n='print -rn --'
   19466 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19467   as_echo='printf %s\n'
   19468   as_echo_n='printf %s'
   19469 else
   19470   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19471     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19472     as_echo_n='/usr/ucb/echo -n'
   19473   else
   19474     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19475     as_echo_n_body='eval
   19476       arg=$1;
   19477       case $arg in #(
   19478       *"$as_nl"*)
   19479 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19480 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19481       esac;
   19482       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19483     '
   19484     export as_echo_n_body
   19485     as_echo_n='sh -c $as_echo_n_body as_echo'
   19486   fi
   19487   export as_echo_body
   19488   as_echo='sh -c $as_echo_body as_echo'
   19489 fi
   19490 
   19491 # The user is always right.
   19492 if test "${PATH_SEPARATOR+set}" != set; then
   19493   PATH_SEPARATOR=:
   19494   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19495     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19496       PATH_SEPARATOR=';'
   19497   }
   19498 fi
   19499 
   19500 
   19501 # IFS
   19502 # We need space, tab and new line, in precisely that order.  Quoting is
   19503 # there to prevent editors from complaining about space-tab.
   19504 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19505 # splitting by setting IFS to empty value.)
   19506 IFS=" ""	$as_nl"
   19507 
   19508 # Find who we are.  Look in the path if we contain no directory separator.
   19509 as_myself=
   19510 case $0 in #((
   19511   *[\\/]* ) as_myself=$0 ;;
   19512   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19513 for as_dir in $PATH
   19514 do
   19515   IFS=$as_save_IFS
   19516   test -z "$as_dir" && as_dir=.
   19517     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19518   done
   19519 IFS=$as_save_IFS
   19520 
   19521      ;;
   19522 esac
   19523 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19524 # in which case we are not to be found in the path.
   19525 if test "x$as_myself" = x; then
   19526   as_myself=$0
   19527 fi
   19528 if test ! -f "$as_myself"; then
   19529   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19530   exit 1
   19531 fi
   19532 
   19533 # Unset variables that we do not need and which cause bugs (e.g. in
   19534 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19535 # suppresses any "Segmentation fault" message there.  '((' could
   19536 # trigger a bug in pdksh 5.2.14.
   19537 for as_var in BASH_ENV ENV MAIL MAILPATH
   19538 do eval test x\${$as_var+set} = xset \
   19539   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19540 done
   19541 PS1='$ '
   19542 PS2='> '
   19543 PS4='+ '
   19544 
   19545 # NLS nuisances.
   19546 LC_ALL=C
   19547 export LC_ALL
   19548 LANGUAGE=C
   19549 export LANGUAGE
   19550 
   19551 # CDPATH.
   19552 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19553 
   19554 
   19555 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19556 # ----------------------------------------
   19557 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19558 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19559 # script with STATUS, using 1 if that was 0.
   19560 as_fn_error ()
   19561 {
   19562   as_status=$1; test $as_status -eq 0 && as_status=1
   19563   if test "$4"; then
   19564     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19565     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19566   fi
   19567   $as_echo "$as_me: error: $2" >&2
   19568   as_fn_exit $as_status
   19569 } # as_fn_error
   19570 
   19571 
   19572 # as_fn_set_status STATUS
   19573 # -----------------------
   19574 # Set $? to STATUS, without forking.
   19575 as_fn_set_status ()
   19576 {
   19577   return $1
   19578 } # as_fn_set_status
   19579 
   19580 # as_fn_exit STATUS
   19581 # -----------------
   19582 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19583 as_fn_exit ()
   19584 {
   19585   set +e
   19586   as_fn_set_status $1
   19587   exit $1
   19588 } # as_fn_exit
   19589 
   19590 # as_fn_unset VAR
   19591 # ---------------
   19592 # Portably unset VAR.
   19593 as_fn_unset ()
   19594 {
   19595   { eval $1=; unset $1;}
   19596 }
   19597 as_unset=as_fn_unset
   19598 # as_fn_append VAR VALUE
   19599 # ----------------------
   19600 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19601 # advantage of any shell optimizations that allow amortized linear growth over
   19602 # repeated appends, instead of the typical quadratic growth present in naive
   19603 # implementations.
   19604 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19605   eval 'as_fn_append ()
   19606   {
   19607     eval $1+=\$2
   19608   }'
   19609 else
   19610   as_fn_append ()
   19611   {
   19612     eval $1=\$$1\$2
   19613   }
   19614 fi # as_fn_append
   19615 
   19616 # as_fn_arith ARG...
   19617 # ------------------
   19618 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19619 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19620 # must be portable across $(()) and expr.
   19621 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19622   eval 'as_fn_arith ()
   19623   {
   19624     as_val=$(( $* ))
   19625   }'
   19626 else
   19627   as_fn_arith ()
   19628   {
   19629     as_val=`expr "$@" || test $? -eq 1`
   19630   }
   19631 fi # as_fn_arith
   19632 
   19633 
   19634 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19635    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19636   as_expr=expr
   19637 else
   19638   as_expr=false
   19639 fi
   19640 
   19641 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19642   as_basename=basename
   19643 else
   19644   as_basename=false
   19645 fi
   19646 
   19647 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19648   as_dirname=dirname
   19649 else
   19650   as_dirname=false
   19651 fi
   19652 
   19653 as_me=`$as_basename -- "$0" ||
   19654 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19655 	 X"$0" : 'X\(//\)$' \| \
   19656 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19657 $as_echo X/"$0" |
   19658     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19659 	    s//\1/
   19660 	    q
   19661 	  }
   19662 	  /^X\/\(\/\/\)$/{
   19663 	    s//\1/
   19664 	    q
   19665 	  }
   19666 	  /^X\/\(\/\).*/{
   19667 	    s//\1/
   19668 	    q
   19669 	  }
   19670 	  s/.*/./; q'`
   19671 
   19672 # Avoid depending upon Character Ranges.
   19673 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19674 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19675 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19676 as_cr_digits='0123456789'
   19677 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19678 
   19679 ECHO_C= ECHO_N= ECHO_T=
   19680 case `echo -n x` in #(((((
   19681 -n*)
   19682   case `echo 'xy\c'` in
   19683   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19684   xy)  ECHO_C='\c';;
   19685   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19686        ECHO_T='	';;
   19687   esac;;
   19688 *)
   19689   ECHO_N='-n';;
   19690 esac
   19691 
   19692 rm -f conf$$ conf$$.exe conf$$.file
   19693 if test -d conf$$.dir; then
   19694   rm -f conf$$.dir/conf$$.file
   19695 else
   19696   rm -f conf$$.dir
   19697   mkdir conf$$.dir 2>/dev/null
   19698 fi
   19699 if (echo >conf$$.file) 2>/dev/null; then
   19700   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19701     as_ln_s='ln -s'
   19702     # ... but there are two gotchas:
   19703     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19704     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19705     # In both cases, we have to default to `cp -pR'.
   19706     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19707       as_ln_s='cp -pR'
   19708   elif ln conf$$.file conf$$ 2>/dev/null; then
   19709     as_ln_s=ln
   19710   else
   19711     as_ln_s='cp -pR'
   19712   fi
   19713 else
   19714   as_ln_s='cp -pR'
   19715 fi
   19716 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19717 rmdir conf$$.dir 2>/dev/null
   19718 
   19719 
   19720 # as_fn_mkdir_p
   19721 # -------------
   19722 # Create "$as_dir" as a directory, including parents if necessary.
   19723 as_fn_mkdir_p ()
   19724 {
   19725 
   19726   case $as_dir in #(
   19727   -*) as_dir=./$as_dir;;
   19728   esac
   19729   test -d "$as_dir" || eval $as_mkdir_p || {
   19730     as_dirs=
   19731     while :; do
   19732       case $as_dir in #(
   19733       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19734       *) as_qdir=$as_dir;;
   19735       esac
   19736       as_dirs="'$as_qdir' $as_dirs"
   19737       as_dir=`$as_dirname -- "$as_dir" ||
   19738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19739 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19740 	 X"$as_dir" : 'X\(//\)$' \| \
   19741 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19742 $as_echo X"$as_dir" |
   19743     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19744 	    s//\1/
   19745 	    q
   19746 	  }
   19747 	  /^X\(\/\/\)[^/].*/{
   19748 	    s//\1/
   19749 	    q
   19750 	  }
   19751 	  /^X\(\/\/\)$/{
   19752 	    s//\1/
   19753 	    q
   19754 	  }
   19755 	  /^X\(\/\).*/{
   19756 	    s//\1/
   19757 	    q
   19758 	  }
   19759 	  s/.*/./; q'`
   19760       test -d "$as_dir" && break
   19761     done
   19762     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19763   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19764 
   19765 
   19766 } # as_fn_mkdir_p
   19767 if mkdir -p . 2>/dev/null; then
   19768   as_mkdir_p='mkdir -p "$as_dir"'
   19769 else
   19770   test -d ./-p && rmdir ./-p
   19771   as_mkdir_p=false
   19772 fi
   19773 
   19774 
   19775 # as_fn_executable_p FILE
   19776 # -----------------------
   19777 # Test if FILE is an executable regular file.
   19778 as_fn_executable_p ()
   19779 {
   19780   test -f "$1" && test -x "$1"
   19781 } # as_fn_executable_p
   19782 as_test_x='test -x'
   19783 as_executable_p=as_fn_executable_p
   19784 
   19785 # Sed expression to map a string onto a valid CPP name.
   19786 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19787 
   19788 # Sed expression to map a string onto a valid variable name.
   19789 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19790 
   19791 
   19792 exec 6>&1
   19793 ## ----------------------------------- ##
   19794 ## Main body of $CONFIG_STATUS script. ##
   19795 ## ----------------------------------- ##
   19796 _ASEOF
   19797 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19798 
   19799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19800 # Save the log message, to keep $0 and so on meaningful, and to
   19801 # report actual input values of CONFIG_FILES etc. instead of their
   19802 # values after options handling.
   19803 ac_log="
   19804 This file was extended by xf86-video-nouveau $as_me 1.0.17, which was
   19805 generated by GNU Autoconf 2.69.  Invocation command line was
   19806 
   19807   CONFIG_FILES    = $CONFIG_FILES
   19808   CONFIG_HEADERS  = $CONFIG_HEADERS
   19809   CONFIG_LINKS    = $CONFIG_LINKS
   19810   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19811   $ $0 $@
   19812 
   19813 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19814 "
   19815 
   19816 _ACEOF
   19817 
   19818 case $ac_config_files in *"
   19819 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19820 esac
   19821 
   19822 case $ac_config_headers in *"
   19823 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19824 esac
   19825 
   19826 
   19827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19828 # Files that config.status was made for.
   19829 config_files="$ac_config_files"
   19830 config_headers="$ac_config_headers"
   19831 config_commands="$ac_config_commands"
   19832 
   19833 _ACEOF
   19834 
   19835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19836 ac_cs_usage="\
   19837 \`$as_me' instantiates files and other configuration actions
   19838 from templates according to the current configuration.  Unless the files
   19839 and actions are specified as TAGs, all are instantiated by default.
   19840 
   19841 Usage: $0 [OPTION]... [TAG]...
   19842 
   19843   -h, --help       print this help, then exit
   19844   -V, --version    print version number and configuration settings, then exit
   19845       --config     print configuration, then exit
   19846   -q, --quiet, --silent
   19847                    do not print progress messages
   19848   -d, --debug      don't remove temporary files
   19849       --recheck    update $as_me by reconfiguring in the same conditions
   19850       --file=FILE[:TEMPLATE]
   19851                    instantiate the configuration file FILE
   19852       --header=FILE[:TEMPLATE]
   19853                    instantiate the configuration header FILE
   19854 
   19855 Configuration files:
   19856 $config_files
   19857 
   19858 Configuration headers:
   19859 $config_headers
   19860 
   19861 Configuration commands:
   19862 $config_commands
   19863 
   19864 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/>."
   19865 
   19866 _ACEOF
   19867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19868 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19869 ac_cs_version="\\
   19870 xf86-video-nouveau config.status 1.0.17
   19871 configured by $0, generated by GNU Autoconf 2.69,
   19872   with options \\"\$ac_cs_config\\"
   19873 
   19874 Copyright (C) 2012 Free Software Foundation, Inc.
   19875 This config.status script is free software; the Free Software Foundation
   19876 gives unlimited permission to copy, distribute and modify it."
   19877 
   19878 ac_pwd='$ac_pwd'
   19879 srcdir='$srcdir'
   19880 INSTALL='$INSTALL'
   19881 MKDIR_P='$MKDIR_P'
   19882 AWK='$AWK'
   19883 test -n "\$AWK" || AWK=awk
   19884 _ACEOF
   19885 
   19886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19887 # The default lists apply if the user does not specify any file.
   19888 ac_need_defaults=:
   19889 while test $# != 0
   19890 do
   19891   case $1 in
   19892   --*=?*)
   19893     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19894     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19895     ac_shift=:
   19896     ;;
   19897   --*=)
   19898     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19899     ac_optarg=
   19900     ac_shift=:
   19901     ;;
   19902   *)
   19903     ac_option=$1
   19904     ac_optarg=$2
   19905     ac_shift=shift
   19906     ;;
   19907   esac
   19908 
   19909   case $ac_option in
   19910   # Handling of the options.
   19911   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19912     ac_cs_recheck=: ;;
   19913   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19914     $as_echo "$ac_cs_version"; exit ;;
   19915   --config | --confi | --conf | --con | --co | --c )
   19916     $as_echo "$ac_cs_config"; exit ;;
   19917   --debug | --debu | --deb | --de | --d | -d )
   19918     debug=: ;;
   19919   --file | --fil | --fi | --f )
   19920     $ac_shift
   19921     case $ac_optarg in
   19922     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19923     '') as_fn_error $? "missing file argument" ;;
   19924     esac
   19925     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19926     ac_need_defaults=false;;
   19927   --header | --heade | --head | --hea )
   19928     $ac_shift
   19929     case $ac_optarg in
   19930     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19931     esac
   19932     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19933     ac_need_defaults=false;;
   19934   --he | --h)
   19935     # Conflict between --help and --header
   19936     as_fn_error $? "ambiguous option: \`$1'
   19937 Try \`$0 --help' for more information.";;
   19938   --help | --hel | -h )
   19939     $as_echo "$ac_cs_usage"; exit ;;
   19940   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19941   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19942     ac_cs_silent=: ;;
   19943 
   19944   # This is an error.
   19945   -*) as_fn_error $? "unrecognized option: \`$1'
   19946 Try \`$0 --help' for more information." ;;
   19947 
   19948   *) as_fn_append ac_config_targets " $1"
   19949      ac_need_defaults=false ;;
   19950 
   19951   esac
   19952   shift
   19953 done
   19954 
   19955 ac_configure_extra_args=
   19956 
   19957 if $ac_cs_silent; then
   19958   exec 6>/dev/null
   19959   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19960 fi
   19961 
   19962 _ACEOF
   19963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19964 if \$ac_cs_recheck; then
   19965   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19966   shift
   19967   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19968   CONFIG_SHELL='$SHELL'
   19969   export CONFIG_SHELL
   19970   exec "\$@"
   19971 fi
   19972 
   19973 _ACEOF
   19974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19975 exec 5>>config.log
   19976 {
   19977   echo
   19978   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19979 ## Running $as_me. ##
   19980 _ASBOX
   19981   $as_echo "$ac_log"
   19982 } >&5
   19983 
   19984 _ACEOF
   19985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19986 #
   19987 # INIT-COMMANDS
   19988 #
   19989 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   19990 
   19991 
   19992 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19993 # if CDPATH is set.
   19994 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19995 
   19996 sed_quote_subst='$sed_quote_subst'
   19997 double_quote_subst='$double_quote_subst'
   19998 delay_variable_subst='$delay_variable_subst'
   19999 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20000 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20001 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20002 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20003 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20004 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20005 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20006 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20007 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20008 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20009 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20010 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20011 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20012 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20013 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20014 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20015 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20016 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20017 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20018 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20019 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20020 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20021 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20022 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20023 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20024 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20025 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20026 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20027 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20028 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20029 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20030 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20031 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20032 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20033 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20034 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20035 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20036 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20037 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20038 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20039 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20040 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20041 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20042 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20043 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20044 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20045 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20046 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20047 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20048 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20049 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20050 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20051 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20052 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20053 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20054 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20055 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20056 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20057 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"`'
   20058 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20059 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20060 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20061 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20062 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20063 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20064 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20065 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20066 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20067 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20068 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20069 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20070 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20071 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20072 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20073 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20074 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20075 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20076 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20077 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20078 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20079 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20080 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20081 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20082 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20083 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20084 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20085 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20086 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20087 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20088 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20089 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20090 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20091 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20092 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20093 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20094 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20095 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20096 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20097 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20098 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20099 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20100 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20101 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20102 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20103 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20104 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20105 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20106 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20107 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20108 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20109 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20110 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20111 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20112 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20113 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20114 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20115 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20116 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20117 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20118 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20119 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20120 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20121 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20122 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20123 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20124 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20125 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20126 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20127 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20128 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20129 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20130 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20131 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20132 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20133 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20134 
   20135 LTCC='$LTCC'
   20136 LTCFLAGS='$LTCFLAGS'
   20137 compiler='$compiler_DEFAULT'
   20138 
   20139 # A function that is used when there is no print builtin or printf.
   20140 func_fallback_echo ()
   20141 {
   20142   eval 'cat <<_LTECHO_EOF
   20143 \$1
   20144 _LTECHO_EOF'
   20145 }
   20146 
   20147 # Quote evaled strings.
   20148 for var in SHELL \
   20149 ECHO \
   20150 PATH_SEPARATOR \
   20151 SED \
   20152 GREP \
   20153 EGREP \
   20154 FGREP \
   20155 LD \
   20156 NM \
   20157 LN_S \
   20158 lt_SP2NL \
   20159 lt_NL2SP \
   20160 reload_flag \
   20161 OBJDUMP \
   20162 deplibs_check_method \
   20163 file_magic_cmd \
   20164 file_magic_glob \
   20165 want_nocaseglob \
   20166 DLLTOOL \
   20167 sharedlib_from_linklib_cmd \
   20168 AR \
   20169 AR_FLAGS \
   20170 archiver_list_spec \
   20171 STRIP \
   20172 RANLIB \
   20173 CC \
   20174 CFLAGS \
   20175 compiler \
   20176 lt_cv_sys_global_symbol_pipe \
   20177 lt_cv_sys_global_symbol_to_cdecl \
   20178 lt_cv_sys_global_symbol_to_import \
   20179 lt_cv_sys_global_symbol_to_c_name_address \
   20180 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20181 lt_cv_nm_interface \
   20182 nm_file_list_spec \
   20183 lt_cv_truncate_bin \
   20184 lt_prog_compiler_no_builtin_flag \
   20185 lt_prog_compiler_pic \
   20186 lt_prog_compiler_wl \
   20187 lt_prog_compiler_static \
   20188 lt_cv_prog_compiler_c_o \
   20189 need_locks \
   20190 MANIFEST_TOOL \
   20191 DSYMUTIL \
   20192 NMEDIT \
   20193 LIPO \
   20194 OTOOL \
   20195 OTOOL64 \
   20196 shrext_cmds \
   20197 export_dynamic_flag_spec \
   20198 whole_archive_flag_spec \
   20199 compiler_needs_object \
   20200 with_gnu_ld \
   20201 allow_undefined_flag \
   20202 no_undefined_flag \
   20203 hardcode_libdir_flag_spec \
   20204 hardcode_libdir_separator \
   20205 exclude_expsyms \
   20206 include_expsyms \
   20207 file_list_spec \
   20208 variables_saved_for_relink \
   20209 libname_spec \
   20210 library_names_spec \
   20211 soname_spec \
   20212 install_override_mode \
   20213 finish_eval \
   20214 old_striplib \
   20215 striplib; do
   20216     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20217     *[\\\\\\\`\\"\\\$]*)
   20218       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20219       ;;
   20220     *)
   20221       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20222       ;;
   20223     esac
   20224 done
   20225 
   20226 # Double-quote double-evaled strings.
   20227 for var in reload_cmds \
   20228 old_postinstall_cmds \
   20229 old_postuninstall_cmds \
   20230 old_archive_cmds \
   20231 extract_expsyms_cmds \
   20232 old_archive_from_new_cmds \
   20233 old_archive_from_expsyms_cmds \
   20234 archive_cmds \
   20235 archive_expsym_cmds \
   20236 module_cmds \
   20237 module_expsym_cmds \
   20238 export_symbols_cmds \
   20239 prelink_cmds \
   20240 postlink_cmds \
   20241 postinstall_cmds \
   20242 postuninstall_cmds \
   20243 finish_cmds \
   20244 sys_lib_search_path_spec \
   20245 configure_time_dlsearch_path \
   20246 configure_time_lt_sys_library_path; do
   20247     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20248     *[\\\\\\\`\\"\\\$]*)
   20249       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20250       ;;
   20251     *)
   20252       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20253       ;;
   20254     esac
   20255 done
   20256 
   20257 ac_aux_dir='$ac_aux_dir'
   20258 
   20259 # See if we are running on zsh, and set the options that allow our
   20260 # commands through without removal of \ escapes INIT.
   20261 if test -n "\${ZSH_VERSION+set}"; then
   20262    setopt NO_GLOB_SUBST
   20263 fi
   20264 
   20265 
   20266     PACKAGE='$PACKAGE'
   20267     VERSION='$VERSION'
   20268     RM='$RM'
   20269     ofile='$ofile'
   20270 
   20271 
   20272 
   20273 
   20274 _ACEOF
   20275 
   20276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20277 
   20278 # Handling of arguments.
   20279 for ac_config_target in $ac_config_targets
   20280 do
   20281   case $ac_config_target in
   20282     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20283     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20284     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20285     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20286     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20287     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20288 
   20289   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20290   esac
   20291 done
   20292 
   20293 
   20294 # If the user did not use the arguments to specify the items to instantiate,
   20295 # then the envvar interface is used.  Set only those that are not.
   20296 # We use the long form for the default assignment because of an extremely
   20297 # bizarre bug on SunOS 4.1.3.
   20298 if $ac_need_defaults; then
   20299   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20300   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20301   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20302 fi
   20303 
   20304 # Have a temporary directory for convenience.  Make it in the build tree
   20305 # simply because there is no reason against having it here, and in addition,
   20306 # creating and moving files from /tmp can sometimes cause problems.
   20307 # Hook for its removal unless debugging.
   20308 # Note that there is a small window in which the directory will not be cleaned:
   20309 # after its creation but before its name has been assigned to `$tmp'.
   20310 $debug ||
   20311 {
   20312   tmp= ac_tmp=
   20313   trap 'exit_status=$?
   20314   : "${ac_tmp:=$tmp}"
   20315   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20316 ' 0
   20317   trap 'as_fn_exit 1' 1 2 13 15
   20318 }
   20319 # Create a (secure) tmp directory for tmp files.
   20320 
   20321 {
   20322   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20323   test -d "$tmp"
   20324 }  ||
   20325 {
   20326   tmp=./conf$$-$RANDOM
   20327   (umask 077 && mkdir "$tmp")
   20328 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20329 ac_tmp=$tmp
   20330 
   20331 # Set up the scripts for CONFIG_FILES section.
   20332 # No need to generate them if there are no CONFIG_FILES.
   20333 # This happens for instance with `./config.status config.h'.
   20334 if test -n "$CONFIG_FILES"; then
   20335 
   20336 
   20337 ac_cr=`echo X | tr X '\015'`
   20338 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20339 # But we know of no other shell where ac_cr would be empty at this
   20340 # point, so we can use a bashism as a fallback.
   20341 if test "x$ac_cr" = x; then
   20342   eval ac_cr=\$\'\\r\'
   20343 fi
   20344 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20345 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20346   ac_cs_awk_cr='\\r'
   20347 else
   20348   ac_cs_awk_cr=$ac_cr
   20349 fi
   20350 
   20351 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20352 _ACEOF
   20353 
   20354 
   20355 {
   20356   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20357   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20358   echo "_ACEOF"
   20359 } >conf$$subs.sh ||
   20360   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20361 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20362 ac_delim='%!_!# '
   20363 for ac_last_try in false false false false false :; do
   20364   . ./conf$$subs.sh ||
   20365     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20366 
   20367   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20368   if test $ac_delim_n = $ac_delim_num; then
   20369     break
   20370   elif $ac_last_try; then
   20371     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20372   else
   20373     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20374   fi
   20375 done
   20376 rm -f conf$$subs.sh
   20377 
   20378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20379 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20380 _ACEOF
   20381 sed -n '
   20382 h
   20383 s/^/S["/; s/!.*/"]=/
   20384 p
   20385 g
   20386 s/^[^!]*!//
   20387 :repl
   20388 t repl
   20389 s/'"$ac_delim"'$//
   20390 t delim
   20391 :nl
   20392 h
   20393 s/\(.\{148\}\)..*/\1/
   20394 t more1
   20395 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20396 p
   20397 n
   20398 b repl
   20399 :more1
   20400 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20401 p
   20402 g
   20403 s/.\{148\}//
   20404 t nl
   20405 :delim
   20406 h
   20407 s/\(.\{148\}\)..*/\1/
   20408 t more2
   20409 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20410 p
   20411 b
   20412 :more2
   20413 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20414 p
   20415 g
   20416 s/.\{148\}//
   20417 t delim
   20418 ' <conf$$subs.awk | sed '
   20419 /^[^""]/{
   20420   N
   20421   s/\n//
   20422 }
   20423 ' >>$CONFIG_STATUS || ac_write_fail=1
   20424 rm -f conf$$subs.awk
   20425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20426 _ACAWK
   20427 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20428   for (key in S) S_is_set[key] = 1
   20429   FS = ""
   20430 
   20431 }
   20432 {
   20433   line = $ 0
   20434   nfields = split(line, field, "@")
   20435   substed = 0
   20436   len = length(field[1])
   20437   for (i = 2; i < nfields; i++) {
   20438     key = field[i]
   20439     keylen = length(key)
   20440     if (S_is_set[key]) {
   20441       value = S[key]
   20442       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20443       len += length(value) + length(field[++i])
   20444       substed = 1
   20445     } else
   20446       len += 1 + keylen
   20447   }
   20448 
   20449   print line
   20450 }
   20451 
   20452 _ACAWK
   20453 _ACEOF
   20454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20455 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20456   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20457 else
   20458   cat
   20459 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20460   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20461 _ACEOF
   20462 
   20463 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20464 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20465 # trailing colons and then remove the whole line if VPATH becomes empty
   20466 # (actually we leave an empty line to preserve line numbers).
   20467 if test "x$srcdir" = x.; then
   20468   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20469 h
   20470 s///
   20471 s/^/:/
   20472 s/[	 ]*$/:/
   20473 s/:\$(srcdir):/:/g
   20474 s/:\${srcdir}:/:/g
   20475 s/:@srcdir@:/:/g
   20476 s/^:*//
   20477 s/:*$//
   20478 x
   20479 s/\(=[	 ]*\).*/\1/
   20480 G
   20481 s/\n//
   20482 s/^[^=]*=[	 ]*$//
   20483 }'
   20484 fi
   20485 
   20486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20487 fi # test -n "$CONFIG_FILES"
   20488 
   20489 # Set up the scripts for CONFIG_HEADERS section.
   20490 # No need to generate them if there are no CONFIG_HEADERS.
   20491 # This happens for instance with `./config.status Makefile'.
   20492 if test -n "$CONFIG_HEADERS"; then
   20493 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20494 BEGIN {
   20495 _ACEOF
   20496 
   20497 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20498 # here-document in config.status, that substitutes the proper values into
   20499 # config.h.in to produce config.h.
   20500 
   20501 # Create a delimiter string that does not exist in confdefs.h, to ease
   20502 # handling of long lines.
   20503 ac_delim='%!_!# '
   20504 for ac_last_try in false false :; do
   20505   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20506   if test -z "$ac_tt"; then
   20507     break
   20508   elif $ac_last_try; then
   20509     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20510   else
   20511     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20512   fi
   20513 done
   20514 
   20515 # For the awk script, D is an array of macro values keyed by name,
   20516 # likewise P contains macro parameters if any.  Preserve backslash
   20517 # newline sequences.
   20518 
   20519 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20520 sed -n '
   20521 s/.\{148\}/&'"$ac_delim"'/g
   20522 t rset
   20523 :rset
   20524 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20525 t def
   20526 d
   20527 :def
   20528 s/\\$//
   20529 t bsnl
   20530 s/["\\]/\\&/g
   20531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20532 D["\1"]=" \3"/p
   20533 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20534 d
   20535 :bsnl
   20536 s/["\\]/\\&/g
   20537 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20538 D["\1"]=" \3\\\\\\n"\\/p
   20539 t cont
   20540 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20541 t cont
   20542 d
   20543 :cont
   20544 n
   20545 s/.\{148\}/&'"$ac_delim"'/g
   20546 t clear
   20547 :clear
   20548 s/\\$//
   20549 t bsnlc
   20550 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20551 d
   20552 :bsnlc
   20553 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20554 b cont
   20555 ' <confdefs.h | sed '
   20556 s/'"$ac_delim"'/"\\\
   20557 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20558 
   20559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20560   for (key in D) D_is_set[key] = 1
   20561   FS = ""
   20562 }
   20563 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20564   line = \$ 0
   20565   split(line, arg, " ")
   20566   if (arg[1] == "#") {
   20567     defundef = arg[2]
   20568     mac1 = arg[3]
   20569   } else {
   20570     defundef = substr(arg[1], 2)
   20571     mac1 = arg[2]
   20572   }
   20573   split(mac1, mac2, "(") #)
   20574   macro = mac2[1]
   20575   prefix = substr(line, 1, index(line, defundef) - 1)
   20576   if (D_is_set[macro]) {
   20577     # Preserve the white space surrounding the "#".
   20578     print prefix "define", macro P[macro] D[macro]
   20579     next
   20580   } else {
   20581     # Replace #undef with comments.  This is necessary, for example,
   20582     # in the case of _POSIX_SOURCE, which is predefined and required
   20583     # on some systems where configure will not decide to define it.
   20584     if (defundef == "undef") {
   20585       print "/*", prefix defundef, macro, "*/"
   20586       next
   20587     }
   20588   }
   20589 }
   20590 { print }
   20591 _ACAWK
   20592 _ACEOF
   20593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20594   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20595 fi # test -n "$CONFIG_HEADERS"
   20596 
   20597 
   20598 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20599 shift
   20600 for ac_tag
   20601 do
   20602   case $ac_tag in
   20603   :[FHLC]) ac_mode=$ac_tag; continue;;
   20604   esac
   20605   case $ac_mode$ac_tag in
   20606   :[FHL]*:*);;
   20607   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20608   :[FH]-) ac_tag=-:-;;
   20609   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20610   esac
   20611   ac_save_IFS=$IFS
   20612   IFS=:
   20613   set x $ac_tag
   20614   IFS=$ac_save_IFS
   20615   shift
   20616   ac_file=$1
   20617   shift
   20618 
   20619   case $ac_mode in
   20620   :L) ac_source=$1;;
   20621   :[FH])
   20622     ac_file_inputs=
   20623     for ac_f
   20624     do
   20625       case $ac_f in
   20626       -) ac_f="$ac_tmp/stdin";;
   20627       *) # Look for the file first in the build tree, then in the source tree
   20628 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20629 	 # because $ac_f cannot contain `:'.
   20630 	 test -f "$ac_f" ||
   20631 	   case $ac_f in
   20632 	   [\\/$]*) false;;
   20633 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20634 	   esac ||
   20635 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20636       esac
   20637       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20638       as_fn_append ac_file_inputs " '$ac_f'"
   20639     done
   20640 
   20641     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20642     # use $as_me), people would be surprised to read:
   20643     #    /* config.h.  Generated by config.status.  */
   20644     configure_input='Generated from '`
   20645 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20646 	`' by configure.'
   20647     if test x"$ac_file" != x-; then
   20648       configure_input="$ac_file.  $configure_input"
   20649       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20650 $as_echo "$as_me: creating $ac_file" >&6;}
   20651     fi
   20652     # Neutralize special characters interpreted by sed in replacement strings.
   20653     case $configure_input in #(
   20654     *\&* | *\|* | *\\* )
   20655        ac_sed_conf_input=`$as_echo "$configure_input" |
   20656        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20657     *) ac_sed_conf_input=$configure_input;;
   20658     esac
   20659 
   20660     case $ac_tag in
   20661     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20662       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20663     esac
   20664     ;;
   20665   esac
   20666 
   20667   ac_dir=`$as_dirname -- "$ac_file" ||
   20668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20669 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20670 	 X"$ac_file" : 'X\(//\)$' \| \
   20671 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20672 $as_echo X"$ac_file" |
   20673     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20674 	    s//\1/
   20675 	    q
   20676 	  }
   20677 	  /^X\(\/\/\)[^/].*/{
   20678 	    s//\1/
   20679 	    q
   20680 	  }
   20681 	  /^X\(\/\/\)$/{
   20682 	    s//\1/
   20683 	    q
   20684 	  }
   20685 	  /^X\(\/\).*/{
   20686 	    s//\1/
   20687 	    q
   20688 	  }
   20689 	  s/.*/./; q'`
   20690   as_dir="$ac_dir"; as_fn_mkdir_p
   20691   ac_builddir=.
   20692 
   20693 case "$ac_dir" in
   20694 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20695 *)
   20696   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20697   # A ".." for each directory in $ac_dir_suffix.
   20698   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20699   case $ac_top_builddir_sub in
   20700   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20701   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20702   esac ;;
   20703 esac
   20704 ac_abs_top_builddir=$ac_pwd
   20705 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20706 # for backward compatibility:
   20707 ac_top_builddir=$ac_top_build_prefix
   20708 
   20709 case $srcdir in
   20710   .)  # We are building in place.
   20711     ac_srcdir=.
   20712     ac_top_srcdir=$ac_top_builddir_sub
   20713     ac_abs_top_srcdir=$ac_pwd ;;
   20714   [\\/]* | ?:[\\/]* )  # Absolute name.
   20715     ac_srcdir=$srcdir$ac_dir_suffix;
   20716     ac_top_srcdir=$srcdir
   20717     ac_abs_top_srcdir=$srcdir ;;
   20718   *) # Relative name.
   20719     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20720     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20721     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20722 esac
   20723 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20724 
   20725 
   20726   case $ac_mode in
   20727   :F)
   20728   #
   20729   # CONFIG_FILE
   20730   #
   20731 
   20732   case $INSTALL in
   20733   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20734   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20735   esac
   20736   ac_MKDIR_P=$MKDIR_P
   20737   case $MKDIR_P in
   20738   [\\/$]* | ?:[\\/]* ) ;;
   20739   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20740   esac
   20741 _ACEOF
   20742 
   20743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20744 # If the template does not know about datarootdir, expand it.
   20745 # FIXME: This hack should be removed a few years after 2.60.
   20746 ac_datarootdir_hack=; ac_datarootdir_seen=
   20747 ac_sed_dataroot='
   20748 /datarootdir/ {
   20749   p
   20750   q
   20751 }
   20752 /@datadir@/p
   20753 /@docdir@/p
   20754 /@infodir@/p
   20755 /@localedir@/p
   20756 /@mandir@/p'
   20757 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20758 *datarootdir*) ac_datarootdir_seen=yes;;
   20759 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20760   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20761 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20762 _ACEOF
   20763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20764   ac_datarootdir_hack='
   20765   s&@datadir@&$datadir&g
   20766   s&@docdir@&$docdir&g
   20767   s&@infodir@&$infodir&g
   20768   s&@localedir@&$localedir&g
   20769   s&@mandir@&$mandir&g
   20770   s&\\\${datarootdir}&$datarootdir&g' ;;
   20771 esac
   20772 _ACEOF
   20773 
   20774 # Neutralize VPATH when `$srcdir' = `.'.
   20775 # Shell code in configure.ac might set extrasub.
   20776 # FIXME: do we really want to maintain this feature?
   20777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20778 ac_sed_extra="$ac_vpsub
   20779 $extrasub
   20780 _ACEOF
   20781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20782 :t
   20783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20784 s|@configure_input@|$ac_sed_conf_input|;t t
   20785 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20786 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20787 s&@srcdir@&$ac_srcdir&;t t
   20788 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20789 s&@top_srcdir@&$ac_top_srcdir&;t t
   20790 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20791 s&@builddir@&$ac_builddir&;t t
   20792 s&@abs_builddir@&$ac_abs_builddir&;t t
   20793 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20794 s&@INSTALL@&$ac_INSTALL&;t t
   20795 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20796 $ac_datarootdir_hack
   20797 "
   20798 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20799   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20800 
   20801 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20802   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20803   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20804       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20805   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20806 which seems to be undefined.  Please make sure it is defined" >&5
   20807 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20808 which seems to be undefined.  Please make sure it is defined" >&2;}
   20809 
   20810   rm -f "$ac_tmp/stdin"
   20811   case $ac_file in
   20812   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20813   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20814   esac \
   20815   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20816  ;;
   20817   :H)
   20818   #
   20819   # CONFIG_HEADER
   20820   #
   20821   if test x"$ac_file" != x-; then
   20822     {
   20823       $as_echo "/* $configure_input  */" \
   20824       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20825     } >"$ac_tmp/config.h" \
   20826       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20827     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20828       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20829 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20830     else
   20831       rm -f "$ac_file"
   20832       mv "$ac_tmp/config.h" "$ac_file" \
   20833 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20834     fi
   20835   else
   20836     $as_echo "/* $configure_input  */" \
   20837       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20838       || as_fn_error $? "could not create -" "$LINENO" 5
   20839   fi
   20840 # Compute "$ac_file"'s index in $config_headers.
   20841 _am_arg="$ac_file"
   20842 _am_stamp_count=1
   20843 for _am_header in $config_headers :; do
   20844   case $_am_header in
   20845     $_am_arg | $_am_arg:* )
   20846       break ;;
   20847     * )
   20848       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20849   esac
   20850 done
   20851 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20852 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20853 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20854 	 X"$_am_arg" : 'X\(//\)$' \| \
   20855 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20856 $as_echo X"$_am_arg" |
   20857     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20858 	    s//\1/
   20859 	    q
   20860 	  }
   20861 	  /^X\(\/\/\)[^/].*/{
   20862 	    s//\1/
   20863 	    q
   20864 	  }
   20865 	  /^X\(\/\/\)$/{
   20866 	    s//\1/
   20867 	    q
   20868 	  }
   20869 	  /^X\(\/\).*/{
   20870 	    s//\1/
   20871 	    q
   20872 	  }
   20873 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20874  ;;
   20875 
   20876   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20877 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20878  ;;
   20879   esac
   20880 
   20881 
   20882   case $ac_file$ac_mode in
   20883     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20884   # Older Autoconf quotes --file arguments for eval, but not when files
   20885   # are listed without --file.  Let's play safe and only enable the eval
   20886   # if we detect the quoting.
   20887   # TODO: see whether this extra hack can be removed once we start
   20888   # requiring Autoconf 2.70 or later.
   20889   case $CONFIG_FILES in #(
   20890   *\'*) :
   20891     eval set x "$CONFIG_FILES" ;; #(
   20892   *) :
   20893     set x $CONFIG_FILES ;; #(
   20894   *) :
   20895      ;;
   20896 esac
   20897   shift
   20898   # Used to flag and report bootstrapping failures.
   20899   am_rc=0
   20900   for am_mf
   20901   do
   20902     # Strip MF so we end up with the name of the file.
   20903     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   20904     # Check whether this is an Automake generated Makefile which includes
   20905     # dependency-tracking related rules and includes.
   20906     # Grep'ing the whole file directly is not great: AIX grep has a line
   20907     # limit of 2048, but all sed's we know have understand at least 4000.
   20908     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   20909       || continue
   20910     am_dirpart=`$as_dirname -- "$am_mf" ||
   20911 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20912 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   20913 	 X"$am_mf" : 'X\(//\)$' \| \
   20914 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20915 $as_echo X"$am_mf" |
   20916     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20917 	    s//\1/
   20918 	    q
   20919 	  }
   20920 	  /^X\(\/\/\)[^/].*/{
   20921 	    s//\1/
   20922 	    q
   20923 	  }
   20924 	  /^X\(\/\/\)$/{
   20925 	    s//\1/
   20926 	    q
   20927 	  }
   20928 	  /^X\(\/\).*/{
   20929 	    s//\1/
   20930 	    q
   20931 	  }
   20932 	  s/.*/./; q'`
   20933     am_filepart=`$as_basename -- "$am_mf" ||
   20934 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   20935 	 X"$am_mf" : 'X\(//\)$' \| \
   20936 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20937 $as_echo X/"$am_mf" |
   20938     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20939 	    s//\1/
   20940 	    q
   20941 	  }
   20942 	  /^X\/\(\/\/\)$/{
   20943 	    s//\1/
   20944 	    q
   20945 	  }
   20946 	  /^X\/\(\/\).*/{
   20947 	    s//\1/
   20948 	    q
   20949 	  }
   20950 	  s/.*/./; q'`
   20951     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   20952       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20953         | $MAKE -f - am--depfiles" >&5
   20954    (cd "$am_dirpart" \
   20955       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20956         | $MAKE -f - am--depfiles) >&5 2>&5
   20957    ac_status=$?
   20958    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20959    (exit $ac_status); } || am_rc=$?
   20960   done
   20961   if test $am_rc -ne 0; then
   20962     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20964 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   20965     for automatic dependency tracking.  If GNU make was not used, consider
   20966     re-running the configure script with MAKE=\"gmake\" (or whatever is
   20967     necessary).  You can also try re-running configure with the
   20968     '--disable-dependency-tracking' option to at least be able to build
   20969     the package (albeit without support for automatic dependency tracking).
   20970 See \`config.log' for more details" "$LINENO" 5; }
   20971   fi
   20972   { am_dirpart=; unset am_dirpart;}
   20973   { am_filepart=; unset am_filepart;}
   20974   { am_mf=; unset am_mf;}
   20975   { am_rc=; unset am_rc;}
   20976   rm -f conftest-deps.mk
   20977 }
   20978  ;;
   20979     "libtool":C)
   20980 
   20981     # See if we are running on zsh, and set the options that allow our
   20982     # commands through without removal of \ escapes.
   20983     if test -n "${ZSH_VERSION+set}"; then
   20984       setopt NO_GLOB_SUBST
   20985     fi
   20986 
   20987     cfgfile=${ofile}T
   20988     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20989     $RM "$cfgfile"
   20990 
   20991     cat <<_LT_EOF >> "$cfgfile"
   20992 #! $SHELL
   20993 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20994 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20995 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20996 
   20997 # Provide generalized library-building support services.
   20998 # Written by Gordon Matzigkeit, 1996
   20999 
   21000 # Copyright (C) 2014 Free Software Foundation, Inc.
   21001 # This is free software; see the source for copying conditions.  There is NO
   21002 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21003 
   21004 # GNU Libtool is free software; you can redistribute it and/or modify
   21005 # it under the terms of the GNU General Public License as published by
   21006 # the Free Software Foundation; either version 2 of of the License, or
   21007 # (at your option) any later version.
   21008 #
   21009 # As a special exception to the GNU General Public License, if you
   21010 # distribute this file as part of a program or library that is built
   21011 # using GNU Libtool, you may include this file under the  same
   21012 # distribution terms that you use for the rest of that program.
   21013 #
   21014 # GNU Libtool is distributed in the hope that it will be useful, but
   21015 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21016 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21017 # GNU General Public License for more details.
   21018 #
   21019 # You should have received a copy of the GNU General Public License
   21020 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21021 
   21022 
   21023 # The names of the tagged configurations supported by this script.
   21024 available_tags=''
   21025 
   21026 # Configured defaults for sys_lib_dlsearch_path munging.
   21027 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21028 
   21029 # ### BEGIN LIBTOOL CONFIG
   21030 
   21031 # Which release of libtool.m4 was used?
   21032 macro_version=$macro_version
   21033 macro_revision=$macro_revision
   21034 
   21035 # Whether or not to build static libraries.
   21036 build_old_libs=$enable_static
   21037 
   21038 # Whether or not to build shared libraries.
   21039 build_libtool_libs=$enable_shared
   21040 
   21041 # What type of objects to build.
   21042 pic_mode=$pic_mode
   21043 
   21044 # Whether or not to optimize for fast installation.
   21045 fast_install=$enable_fast_install
   21046 
   21047 # Shared archive member basename,for filename based shared library versioning on AIX.
   21048 shared_archive_member_spec=$shared_archive_member_spec
   21049 
   21050 # Shell to use when invoking shell scripts.
   21051 SHELL=$lt_SHELL
   21052 
   21053 # An echo program that protects backslashes.
   21054 ECHO=$lt_ECHO
   21055 
   21056 # The PATH separator for the build system.
   21057 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21058 
   21059 # The host system.
   21060 host_alias=$host_alias
   21061 host=$host
   21062 host_os=$host_os
   21063 
   21064 # The build system.
   21065 build_alias=$build_alias
   21066 build=$build
   21067 build_os=$build_os
   21068 
   21069 # A sed program that does not truncate output.
   21070 SED=$lt_SED
   21071 
   21072 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21073 Xsed="\$SED -e 1s/^X//"
   21074 
   21075 # A grep program that handles long lines.
   21076 GREP=$lt_GREP
   21077 
   21078 # An ERE matcher.
   21079 EGREP=$lt_EGREP
   21080 
   21081 # A literal string matcher.
   21082 FGREP=$lt_FGREP
   21083 
   21084 # A BSD- or MS-compatible name lister.
   21085 NM=$lt_NM
   21086 
   21087 # Whether we need soft or hard links.
   21088 LN_S=$lt_LN_S
   21089 
   21090 # What is the maximum length of a command?
   21091 max_cmd_len=$max_cmd_len
   21092 
   21093 # Object file suffix (normally "o").
   21094 objext=$ac_objext
   21095 
   21096 # Executable file suffix (normally "").
   21097 exeext=$exeext
   21098 
   21099 # whether the shell understands "unset".
   21100 lt_unset=$lt_unset
   21101 
   21102 # turn spaces into newlines.
   21103 SP2NL=$lt_lt_SP2NL
   21104 
   21105 # turn newlines into spaces.
   21106 NL2SP=$lt_lt_NL2SP
   21107 
   21108 # convert \$build file names to \$host format.
   21109 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21110 
   21111 # convert \$build files to toolchain format.
   21112 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21113 
   21114 # An object symbol dumper.
   21115 OBJDUMP=$lt_OBJDUMP
   21116 
   21117 # Method to check whether dependent libraries are shared objects.
   21118 deplibs_check_method=$lt_deplibs_check_method
   21119 
   21120 # Command to use when deplibs_check_method = "file_magic".
   21121 file_magic_cmd=$lt_file_magic_cmd
   21122 
   21123 # How to find potential files when deplibs_check_method = "file_magic".
   21124 file_magic_glob=$lt_file_magic_glob
   21125 
   21126 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21127 want_nocaseglob=$lt_want_nocaseglob
   21128 
   21129 # DLL creation program.
   21130 DLLTOOL=$lt_DLLTOOL
   21131 
   21132 # Command to associate shared and link libraries.
   21133 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21134 
   21135 # The archiver.
   21136 AR=$lt_AR
   21137 
   21138 # Flags to create an archive.
   21139 AR_FLAGS=$lt_AR_FLAGS
   21140 
   21141 # How to feed a file listing to the archiver.
   21142 archiver_list_spec=$lt_archiver_list_spec
   21143 
   21144 # A symbol stripping program.
   21145 STRIP=$lt_STRIP
   21146 
   21147 # Commands used to install an old-style archive.
   21148 RANLIB=$lt_RANLIB
   21149 old_postinstall_cmds=$lt_old_postinstall_cmds
   21150 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21151 
   21152 # Whether to use a lock for old archive extraction.
   21153 lock_old_archive_extraction=$lock_old_archive_extraction
   21154 
   21155 # A C compiler.
   21156 LTCC=$lt_CC
   21157 
   21158 # LTCC compiler flags.
   21159 LTCFLAGS=$lt_CFLAGS
   21160 
   21161 # Take the output of nm and produce a listing of raw symbols and C names.
   21162 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21163 
   21164 # Transform the output of nm in a proper C declaration.
   21165 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21166 
   21167 # Transform the output of nm into a list of symbols to manually relocate.
   21168 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21169 
   21170 # Transform the output of nm in a C name address pair.
   21171 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21172 
   21173 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21174 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21175 
   21176 # The name lister interface.
   21177 nm_interface=$lt_lt_cv_nm_interface
   21178 
   21179 # Specify filename containing input files for \$NM.
   21180 nm_file_list_spec=$lt_nm_file_list_spec
   21181 
   21182 # The root where to search for dependent libraries,and where our libraries should be installed.
   21183 lt_sysroot=$lt_sysroot
   21184 
   21185 # Command to truncate a binary pipe.
   21186 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21187 
   21188 # The name of the directory that contains temporary libtool files.
   21189 objdir=$objdir
   21190 
   21191 # Used to examine libraries when file_magic_cmd begins with "file".
   21192 MAGIC_CMD=$MAGIC_CMD
   21193 
   21194 # Must we lock files when doing compilation?
   21195 need_locks=$lt_need_locks
   21196 
   21197 # Manifest tool.
   21198 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21199 
   21200 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21201 DSYMUTIL=$lt_DSYMUTIL
   21202 
   21203 # Tool to change global to local symbols on Mac OS X.
   21204 NMEDIT=$lt_NMEDIT
   21205 
   21206 # Tool to manipulate fat objects and archives on Mac OS X.
   21207 LIPO=$lt_LIPO
   21208 
   21209 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21210 OTOOL=$lt_OTOOL
   21211 
   21212 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21213 OTOOL64=$lt_OTOOL64
   21214 
   21215 # Old archive suffix (normally "a").
   21216 libext=$libext
   21217 
   21218 # Shared library suffix (normally ".so").
   21219 shrext_cmds=$lt_shrext_cmds
   21220 
   21221 # The commands to extract the exported symbol list from a shared archive.
   21222 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21223 
   21224 # Variables whose values should be saved in libtool wrapper scripts and
   21225 # restored at link time.
   21226 variables_saved_for_relink=$lt_variables_saved_for_relink
   21227 
   21228 # Do we need the "lib" prefix for modules?
   21229 need_lib_prefix=$need_lib_prefix
   21230 
   21231 # Do we need a version for libraries?
   21232 need_version=$need_version
   21233 
   21234 # Library versioning type.
   21235 version_type=$version_type
   21236 
   21237 # Shared library runtime path variable.
   21238 runpath_var=$runpath_var
   21239 
   21240 # Shared library path variable.
   21241 shlibpath_var=$shlibpath_var
   21242 
   21243 # Is shlibpath searched before the hard-coded library search path?
   21244 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21245 
   21246 # Format of library name prefix.
   21247 libname_spec=$lt_libname_spec
   21248 
   21249 # List of archive names.  First name is the real one, the rest are links.
   21250 # The last name is the one that the linker finds with -lNAME
   21251 library_names_spec=$lt_library_names_spec
   21252 
   21253 # The coded name of the library, if different from the real name.
   21254 soname_spec=$lt_soname_spec
   21255 
   21256 # Permission mode override for installation of shared libraries.
   21257 install_override_mode=$lt_install_override_mode
   21258 
   21259 # Command to use after installation of a shared archive.
   21260 postinstall_cmds=$lt_postinstall_cmds
   21261 
   21262 # Command to use after uninstallation of a shared archive.
   21263 postuninstall_cmds=$lt_postuninstall_cmds
   21264 
   21265 # Commands used to finish a libtool library installation in a directory.
   21266 finish_cmds=$lt_finish_cmds
   21267 
   21268 # As "finish_cmds", except a single script fragment to be evaled but
   21269 # not shown.
   21270 finish_eval=$lt_finish_eval
   21271 
   21272 # Whether we should hardcode library paths into libraries.
   21273 hardcode_into_libs=$hardcode_into_libs
   21274 
   21275 # Compile-time system search path for libraries.
   21276 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21277 
   21278 # Detected run-time system search path for libraries.
   21279 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21280 
   21281 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21282 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21283 
   21284 # Whether dlopen is supported.
   21285 dlopen_support=$enable_dlopen
   21286 
   21287 # Whether dlopen of programs is supported.
   21288 dlopen_self=$enable_dlopen_self
   21289 
   21290 # Whether dlopen of statically linked programs is supported.
   21291 dlopen_self_static=$enable_dlopen_self_static
   21292 
   21293 # Commands to strip libraries.
   21294 old_striplib=$lt_old_striplib
   21295 striplib=$lt_striplib
   21296 
   21297 
   21298 # The linker used to build libraries.
   21299 LD=$lt_LD
   21300 
   21301 # How to create reloadable object files.
   21302 reload_flag=$lt_reload_flag
   21303 reload_cmds=$lt_reload_cmds
   21304 
   21305 # Commands used to build an old-style archive.
   21306 old_archive_cmds=$lt_old_archive_cmds
   21307 
   21308 # A language specific compiler.
   21309 CC=$lt_compiler
   21310 
   21311 # Is the compiler the GNU compiler?
   21312 with_gcc=$GCC
   21313 
   21314 # Compiler flag to turn off builtin functions.
   21315 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21316 
   21317 # Additional compiler flags for building library objects.
   21318 pic_flag=$lt_lt_prog_compiler_pic
   21319 
   21320 # How to pass a linker flag through the compiler.
   21321 wl=$lt_lt_prog_compiler_wl
   21322 
   21323 # Compiler flag to prevent dynamic linking.
   21324 link_static_flag=$lt_lt_prog_compiler_static
   21325 
   21326 # Does compiler simultaneously support -c and -o options?
   21327 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21328 
   21329 # Whether or not to add -lc for building shared libraries.
   21330 build_libtool_need_lc=$archive_cmds_need_lc
   21331 
   21332 # Whether or not to disallow shared libs when runtime libs are static.
   21333 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21334 
   21335 # Compiler flag to allow reflexive dlopens.
   21336 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21337 
   21338 # Compiler flag to generate shared objects directly from archives.
   21339 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21340 
   21341 # Whether the compiler copes with passing no objects directly.
   21342 compiler_needs_object=$lt_compiler_needs_object
   21343 
   21344 # Create an old-style archive from a shared archive.
   21345 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21346 
   21347 # Create a temporary old-style archive to link instead of a shared archive.
   21348 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21349 
   21350 # Commands used to build a shared archive.
   21351 archive_cmds=$lt_archive_cmds
   21352 archive_expsym_cmds=$lt_archive_expsym_cmds
   21353 
   21354 # Commands used to build a loadable module if different from building
   21355 # a shared archive.
   21356 module_cmds=$lt_module_cmds
   21357 module_expsym_cmds=$lt_module_expsym_cmds
   21358 
   21359 # Whether we are building with GNU ld or not.
   21360 with_gnu_ld=$lt_with_gnu_ld
   21361 
   21362 # Flag that allows shared libraries with undefined symbols to be built.
   21363 allow_undefined_flag=$lt_allow_undefined_flag
   21364 
   21365 # Flag that enforces no undefined symbols.
   21366 no_undefined_flag=$lt_no_undefined_flag
   21367 
   21368 # Flag to hardcode \$libdir into a binary during linking.
   21369 # This must work even if \$libdir does not exist
   21370 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21371 
   21372 # Whether we need a single "-rpath" flag with a separated argument.
   21373 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21374 
   21375 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21376 # DIR into the resulting binary.
   21377 hardcode_direct=$hardcode_direct
   21378 
   21379 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21380 # DIR into the resulting binary and the resulting library dependency is
   21381 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21382 # library is relocated.
   21383 hardcode_direct_absolute=$hardcode_direct_absolute
   21384 
   21385 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21386 # into the resulting binary.
   21387 hardcode_minus_L=$hardcode_minus_L
   21388 
   21389 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21390 # into the resulting binary.
   21391 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21392 
   21393 # Set to "yes" if building a shared library automatically hardcodes DIR
   21394 # into the library and all subsequent libraries and executables linked
   21395 # against it.
   21396 hardcode_automatic=$hardcode_automatic
   21397 
   21398 # Set to yes if linker adds runtime paths of dependent libraries
   21399 # to runtime path list.
   21400 inherit_rpath=$inherit_rpath
   21401 
   21402 # Whether libtool must link a program against all its dependency libraries.
   21403 link_all_deplibs=$link_all_deplibs
   21404 
   21405 # Set to "yes" if exported symbols are required.
   21406 always_export_symbols=$always_export_symbols
   21407 
   21408 # The commands to list exported symbols.
   21409 export_symbols_cmds=$lt_export_symbols_cmds
   21410 
   21411 # Symbols that should not be listed in the preloaded symbols.
   21412 exclude_expsyms=$lt_exclude_expsyms
   21413 
   21414 # Symbols that must always be exported.
   21415 include_expsyms=$lt_include_expsyms
   21416 
   21417 # Commands necessary for linking programs (against libraries) with templates.
   21418 prelink_cmds=$lt_prelink_cmds
   21419 
   21420 # Commands necessary for finishing linking programs.
   21421 postlink_cmds=$lt_postlink_cmds
   21422 
   21423 # Specify filename containing input files.
   21424 file_list_spec=$lt_file_list_spec
   21425 
   21426 # How to hardcode a shared library path into an executable.
   21427 hardcode_action=$hardcode_action
   21428 
   21429 # ### END LIBTOOL CONFIG
   21430 
   21431 _LT_EOF
   21432 
   21433     cat <<'_LT_EOF' >> "$cfgfile"
   21434 
   21435 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21436 
   21437 # func_munge_path_list VARIABLE PATH
   21438 # -----------------------------------
   21439 # VARIABLE is name of variable containing _space_ separated list of
   21440 # directories to be munged by the contents of PATH, which is string
   21441 # having a format:
   21442 # "DIR[:DIR]:"
   21443 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21444 # ":DIR[:DIR]"
   21445 #       string "DIR[ DIR]" will be appended to VARIABLE
   21446 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21447 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21448 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21449 # "DIR[:DIR]"
   21450 #       VARIABLE will be replaced by "DIR[ DIR]"
   21451 func_munge_path_list ()
   21452 {
   21453     case x$2 in
   21454     x)
   21455         ;;
   21456     *:)
   21457         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21458         ;;
   21459     x:*)
   21460         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21461         ;;
   21462     *::*)
   21463         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21464         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21465         ;;
   21466     *)
   21467         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21468         ;;
   21469     esac
   21470 }
   21471 
   21472 
   21473 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21474 func_cc_basename ()
   21475 {
   21476     for cc_temp in $*""; do
   21477       case $cc_temp in
   21478         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21479         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21480         \-*) ;;
   21481         *) break;;
   21482       esac
   21483     done
   21484     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21485 }
   21486 
   21487 
   21488 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21489 
   21490 _LT_EOF
   21491 
   21492   case $host_os in
   21493   aix3*)
   21494     cat <<\_LT_EOF >> "$cfgfile"
   21495 # AIX sometimes has problems with the GCC collect2 program.  For some
   21496 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21497 # vanish in a puff of smoke.
   21498 if test set != "${COLLECT_NAMES+set}"; then
   21499   COLLECT_NAMES=
   21500   export COLLECT_NAMES
   21501 fi
   21502 _LT_EOF
   21503     ;;
   21504   esac
   21505 
   21506 
   21507 ltmain=$ac_aux_dir/ltmain.sh
   21508 
   21509 
   21510   # We use sed instead of cat because bash on DJGPP gets confused if
   21511   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21512   # text mode, it properly converts lines to CR/LF.  This bash problem
   21513   # is reportedly fixed, but why not run on old versions too?
   21514   sed '$q' "$ltmain" >> "$cfgfile" \
   21515      || (rm -f "$cfgfile"; exit 1)
   21516 
   21517    mv -f "$cfgfile" "$ofile" ||
   21518     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21519   chmod +x "$ofile"
   21520 
   21521  ;;
   21522 
   21523   esac
   21524 done # for ac_tag
   21525 
   21526 
   21527 as_fn_exit 0
   21528 _ACEOF
   21529 ac_clean_files=$ac_clean_files_save
   21530 
   21531 test $ac_write_fail = 0 ||
   21532   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21533 
   21534 
   21535 # configure is writing to config.log, and then calls config.status.
   21536 # config.status does its own redirection, appending to config.log.
   21537 # Unfortunately, on DOS this fails, as config.log is still kept open
   21538 # by configure, so config.status won't be able to write to it; its
   21539 # output is simply discarded.  So we exec the FD to /dev/null,
   21540 # effectively closing config.log, so it can be properly (re)opened and
   21541 # appended to by config.status.  When coming back to configure, we
   21542 # need to make the FD available again.
   21543 if test "$no_create" != yes; then
   21544   ac_cs_success=:
   21545   ac_config_status_args=
   21546   test "$silent" = yes &&
   21547     ac_config_status_args="$ac_config_status_args --quiet"
   21548   exec 5>/dev/null
   21549   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21550   exec 5>>config.log
   21551   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21552   # would make configure fail if this is the last instruction.
   21553   $ac_cs_success || as_fn_exit 1
   21554 fi
   21555 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21556   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21557 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21558 fi
   21559 
   21560 
   21561 echo ""
   21562 echo "        prefix:              $prefix"
   21563 echo "        exec_prefix:         $exec_prefix"
   21564 echo "        libdir:              $libdir"
   21565 echo "        includedir:          $includedir"
   21566 
   21567 echo ""
   21568 echo "        CFLAGS:              $CFLAGS"
   21569 echo "        CXXFLAGS:            $CXXFLAGS"
   21570 echo "        Macros:              $DEFINES"
   21571 
   21572 echo ""
   21573 echo "        Run '${MAKE-make}' to build xf86-video-nouveau"
   21574 echo ""
   21575