Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      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.16.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/nouveau>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/nouveau
    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.16'
    595 PACKAGE_STRING='xf86-video-nouveau 1.0.16'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/nouveau'
    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 localstatedir
    774 sharedstatedir
    775 sysconfdir
    776 datadir
    777 datarootdir
    778 libexecdir
    779 sbindir
    780 bindir
    781 program_transform_name
    782 prefix
    783 exec_prefix
    784 PACKAGE_URL
    785 PACKAGE_BUGREPORT
    786 PACKAGE_STRING
    787 PACKAGE_VERSION
    788 PACKAGE_TARNAME
    789 PACKAGE_NAME
    790 PATH_SEPARATOR
    791 SHELL
    792 am__quote'
    793 ac_subst_files=''
    794 ac_user_opts='
    795 enable_option_checking
    796 enable_silent_rules
    797 enable_dependency_tracking
    798 enable_selective_werror
    799 enable_strict_compilation
    800 enable_static
    801 enable_shared
    802 with_pic
    803 enable_fast_install
    804 with_aix_soname
    805 with_gnu_ld
    806 with_sysroot
    807 enable_libtool_lock
    808 with_xorg_module_dir
    809 '
    810       ac_precious_vars='build_alias
    811 host_alias
    812 target_alias
    813 CC
    814 CFLAGS
    815 LDFLAGS
    816 LIBS
    817 CPPFLAGS
    818 CPP
    819 PKG_CONFIG
    820 PKG_CONFIG_PATH
    821 PKG_CONFIG_LIBDIR
    822 LT_SYS_LIBRARY_PATH
    823 LIBDRM_CFLAGS
    824 LIBDRM_LIBS
    825 LIBDRM_NOUVEAU_CFLAGS
    826 LIBDRM_NOUVEAU_LIBS
    827 XORG_CFLAGS
    828 XORG_LIBS
    829 XEXT_CFLAGS
    830 XEXT_LIBS
    831 PCIACCESS_CFLAGS
    832 PCIACCESS_LIBS
    833 LIBUDEV_CFLAGS
    834 LIBUDEV_LIBS'
    835 
    836 
    837 # Initialize some variables set by options.
    838 ac_init_help=
    839 ac_init_version=false
    840 ac_unrecognized_opts=
    841 ac_unrecognized_sep=
    842 # The variables have the same names as the options, with
    843 # dashes changed to underlines.
    844 cache_file=/dev/null
    845 exec_prefix=NONE
    846 no_create=
    847 no_recursion=
    848 prefix=NONE
    849 program_prefix=NONE
    850 program_suffix=NONE
    851 program_transform_name=s,x,x,
    852 silent=
    853 site=
    854 srcdir=
    855 verbose=
    856 x_includes=NONE
    857 x_libraries=NONE
    858 
    859 # Installation directory options.
    860 # These are left unexpanded so users can "make install exec_prefix=/foo"
    861 # and all the variables that are supposed to be based on exec_prefix
    862 # by default will actually change.
    863 # Use braces instead of parens because sh, perl, etc. also accept them.
    864 # (The list follows the same order as the GNU Coding Standards.)
    865 bindir='${exec_prefix}/bin'
    866 sbindir='${exec_prefix}/sbin'
    867 libexecdir='${exec_prefix}/libexec'
    868 datarootdir='${prefix}/share'
    869 datadir='${datarootdir}'
    870 sysconfdir='${prefix}/etc'
    871 sharedstatedir='${prefix}/com'
    872 localstatedir='${prefix}/var'
    873 includedir='${prefix}/include'
    874 oldincludedir='/usr/include'
    875 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    876 infodir='${datarootdir}/info'
    877 htmldir='${docdir}'
    878 dvidir='${docdir}'
    879 pdfdir='${docdir}'
    880 psdir='${docdir}'
    881 libdir='${exec_prefix}/lib'
    882 localedir='${datarootdir}/locale'
    883 mandir='${datarootdir}/man'
    884 
    885 ac_prev=
    886 ac_dashdash=
    887 for ac_option
    888 do
    889   # If the previous option needs an argument, assign it.
    890   if test -n "$ac_prev"; then
    891     eval $ac_prev=\$ac_option
    892     ac_prev=
    893     continue
    894   fi
    895 
    896   case $ac_option in
    897   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    898   *=)   ac_optarg= ;;
    899   *)    ac_optarg=yes ;;
    900   esac
    901 
    902   # Accept the important Cygnus configure options, so we can diagnose typos.
    903 
    904   case $ac_dashdash$ac_option in
    905   --)
    906     ac_dashdash=yes ;;
    907 
    908   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    909     ac_prev=bindir ;;
    910   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    911     bindir=$ac_optarg ;;
    912 
    913   -build | --build | --buil | --bui | --bu)
    914     ac_prev=build_alias ;;
    915   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    916     build_alias=$ac_optarg ;;
    917 
    918   -cache-file | --cache-file | --cache-fil | --cache-fi \
    919   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    920     ac_prev=cache_file ;;
    921   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    922   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    923     cache_file=$ac_optarg ;;
    924 
    925   --config-cache | -C)
    926     cache_file=config.cache ;;
    927 
    928   -datadir | --datadir | --datadi | --datad)
    929     ac_prev=datadir ;;
    930   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    931     datadir=$ac_optarg ;;
    932 
    933   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    934   | --dataroo | --dataro | --datar)
    935     ac_prev=datarootdir ;;
    936   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    937   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    938     datarootdir=$ac_optarg ;;
    939 
    940   -disable-* | --disable-*)
    941     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    942     # Reject names that are not valid shell variable names.
    943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    944       as_fn_error $? "invalid feature name: $ac_useropt"
    945     ac_useropt_orig=$ac_useropt
    946     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    947     case $ac_user_opts in
    948       *"
    949 "enable_$ac_useropt"
    950 "*) ;;
    951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    952 	 ac_unrecognized_sep=', ';;
    953     esac
    954     eval enable_$ac_useropt=no ;;
    955 
    956   -docdir | --docdir | --docdi | --doc | --do)
    957     ac_prev=docdir ;;
    958   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    959     docdir=$ac_optarg ;;
    960 
    961   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    962     ac_prev=dvidir ;;
    963   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    964     dvidir=$ac_optarg ;;
    965 
    966   -enable-* | --enable-*)
    967     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    968     # Reject names that are not valid shell variable names.
    969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    970       as_fn_error $? "invalid feature name: $ac_useropt"
    971     ac_useropt_orig=$ac_useropt
    972     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    973     case $ac_user_opts in
    974       *"
    975 "enable_$ac_useropt"
    976 "*) ;;
    977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    978 	 ac_unrecognized_sep=', ';;
    979     esac
    980     eval enable_$ac_useropt=\$ac_optarg ;;
    981 
    982   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    983   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    984   | --exec | --exe | --ex)
    985     ac_prev=exec_prefix ;;
    986   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    987   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    988   | --exec=* | --exe=* | --ex=*)
    989     exec_prefix=$ac_optarg ;;
    990 
    991   -gas | --gas | --ga | --g)
    992     # Obsolete; use --with-gas.
    993     with_gas=yes ;;
    994 
    995   -help | --help | --hel | --he | -h)
    996     ac_init_help=long ;;
    997   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    998     ac_init_help=recursive ;;
    999   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1000     ac_init_help=short ;;
   1001 
   1002   -host | --host | --hos | --ho)
   1003     ac_prev=host_alias ;;
   1004   -host=* | --host=* | --hos=* | --ho=*)
   1005     host_alias=$ac_optarg ;;
   1006 
   1007   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1008     ac_prev=htmldir ;;
   1009   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1010   | --ht=*)
   1011     htmldir=$ac_optarg ;;
   1012 
   1013   -includedir | --includedir | --includedi | --included | --include \
   1014   | --includ | --inclu | --incl | --inc)
   1015     ac_prev=includedir ;;
   1016   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1017   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1018     includedir=$ac_optarg ;;
   1019 
   1020   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1021     ac_prev=infodir ;;
   1022   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1023     infodir=$ac_optarg ;;
   1024 
   1025   -libdir | --libdir | --libdi | --libd)
   1026     ac_prev=libdir ;;
   1027   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1028     libdir=$ac_optarg ;;
   1029 
   1030   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1031   | --libexe | --libex | --libe)
   1032     ac_prev=libexecdir ;;
   1033   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1034   | --libexe=* | --libex=* | --libe=*)
   1035     libexecdir=$ac_optarg ;;
   1036 
   1037   -localedir | --localedir | --localedi | --localed | --locale)
   1038     ac_prev=localedir ;;
   1039   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1040     localedir=$ac_optarg ;;
   1041 
   1042   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1043   | --localstate | --localstat | --localsta | --localst | --locals)
   1044     ac_prev=localstatedir ;;
   1045   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1046   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1047     localstatedir=$ac_optarg ;;
   1048 
   1049   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1050     ac_prev=mandir ;;
   1051   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1052     mandir=$ac_optarg ;;
   1053 
   1054   -nfp | --nfp | --nf)
   1055     # Obsolete; use --without-fp.
   1056     with_fp=no ;;
   1057 
   1058   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1059   | --no-cr | --no-c | -n)
   1060     no_create=yes ;;
   1061 
   1062   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1063   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1064     no_recursion=yes ;;
   1065 
   1066   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1067   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1068   | --oldin | --oldi | --old | --ol | --o)
   1069     ac_prev=oldincludedir ;;
   1070   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1071   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1072   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1073     oldincludedir=$ac_optarg ;;
   1074 
   1075   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1076     ac_prev=prefix ;;
   1077   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1078     prefix=$ac_optarg ;;
   1079 
   1080   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1081   | --program-pre | --program-pr | --program-p)
   1082     ac_prev=program_prefix ;;
   1083   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1084   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1085     program_prefix=$ac_optarg ;;
   1086 
   1087   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1088   | --program-suf | --program-su | --program-s)
   1089     ac_prev=program_suffix ;;
   1090   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1091   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1092     program_suffix=$ac_optarg ;;
   1093 
   1094   -program-transform-name | --program-transform-name \
   1095   | --program-transform-nam | --program-transform-na \
   1096   | --program-transform-n | --program-transform- \
   1097   | --program-transform | --program-transfor \
   1098   | --program-transfo | --program-transf \
   1099   | --program-trans | --program-tran \
   1100   | --progr-tra | --program-tr | --program-t)
   1101     ac_prev=program_transform_name ;;
   1102   -program-transform-name=* | --program-transform-name=* \
   1103   | --program-transform-nam=* | --program-transform-na=* \
   1104   | --program-transform-n=* | --program-transform-=* \
   1105   | --program-transform=* | --program-transfor=* \
   1106   | --program-transfo=* | --program-transf=* \
   1107   | --program-trans=* | --program-tran=* \
   1108   | --progr-tra=* | --program-tr=* | --program-t=*)
   1109     program_transform_name=$ac_optarg ;;
   1110 
   1111   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1112     ac_prev=pdfdir ;;
   1113   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1114     pdfdir=$ac_optarg ;;
   1115 
   1116   -psdir | --psdir | --psdi | --psd | --ps)
   1117     ac_prev=psdir ;;
   1118   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1119     psdir=$ac_optarg ;;
   1120 
   1121   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1122   | -silent | --silent | --silen | --sile | --sil)
   1123     silent=yes ;;
   1124 
   1125   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1126     ac_prev=sbindir ;;
   1127   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1128   | --sbi=* | --sb=*)
   1129     sbindir=$ac_optarg ;;
   1130 
   1131   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1132   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1133   | --sharedst | --shareds | --shared | --share | --shar \
   1134   | --sha | --sh)
   1135     ac_prev=sharedstatedir ;;
   1136   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1137   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1138   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1139   | --sha=* | --sh=*)
   1140     sharedstatedir=$ac_optarg ;;
   1141 
   1142   -site | --site | --sit)
   1143     ac_prev=site ;;
   1144   -site=* | --site=* | --sit=*)
   1145     site=$ac_optarg ;;
   1146 
   1147   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1148     ac_prev=srcdir ;;
   1149   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1150     srcdir=$ac_optarg ;;
   1151 
   1152   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1153   | --syscon | --sysco | --sysc | --sys | --sy)
   1154     ac_prev=sysconfdir ;;
   1155   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1156   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1157     sysconfdir=$ac_optarg ;;
   1158 
   1159   -target | --target | --targe | --targ | --tar | --ta | --t)
   1160     ac_prev=target_alias ;;
   1161   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1162     target_alias=$ac_optarg ;;
   1163 
   1164   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1165     verbose=yes ;;
   1166 
   1167   -version | --version | --versio | --versi | --vers | -V)
   1168     ac_init_version=: ;;
   1169 
   1170   -with-* | --with-*)
   1171     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1172     # Reject names that are not valid shell variable names.
   1173     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1174       as_fn_error $? "invalid package name: $ac_useropt"
   1175     ac_useropt_orig=$ac_useropt
   1176     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1177     case $ac_user_opts in
   1178       *"
   1179 "with_$ac_useropt"
   1180 "*) ;;
   1181       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1182 	 ac_unrecognized_sep=', ';;
   1183     esac
   1184     eval with_$ac_useropt=\$ac_optarg ;;
   1185 
   1186   -without-* | --without-*)
   1187     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1188     # Reject names that are not valid shell variable names.
   1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1190       as_fn_error $? "invalid package name: $ac_useropt"
   1191     ac_useropt_orig=$ac_useropt
   1192     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1193     case $ac_user_opts in
   1194       *"
   1195 "with_$ac_useropt"
   1196 "*) ;;
   1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1198 	 ac_unrecognized_sep=', ';;
   1199     esac
   1200     eval with_$ac_useropt=no ;;
   1201 
   1202   --x)
   1203     # Obsolete; use --with-x.
   1204     with_x=yes ;;
   1205 
   1206   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1207   | --x-incl | --x-inc | --x-in | --x-i)
   1208     ac_prev=x_includes ;;
   1209   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1210   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1211     x_includes=$ac_optarg ;;
   1212 
   1213   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1214   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1215     ac_prev=x_libraries ;;
   1216   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1217   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1218     x_libraries=$ac_optarg ;;
   1219 
   1220   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1221 Try \`$0 --help' for more information"
   1222     ;;
   1223 
   1224   *=*)
   1225     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1226     # Reject names that are not valid shell variable names.
   1227     case $ac_envvar in #(
   1228       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1229       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1230     esac
   1231     eval $ac_envvar=\$ac_optarg
   1232     export $ac_envvar ;;
   1233 
   1234   *)
   1235     # FIXME: should be removed in autoconf 3.0.
   1236     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1237     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1238       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1239     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1240     ;;
   1241 
   1242   esac
   1243 done
   1244 
   1245 if test -n "$ac_prev"; then
   1246   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1247   as_fn_error $? "missing argument to $ac_option"
   1248 fi
   1249 
   1250 if test -n "$ac_unrecognized_opts"; then
   1251   case $enable_option_checking in
   1252     no) ;;
   1253     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1254     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1255   esac
   1256 fi
   1257 
   1258 # Check all directory arguments for consistency.
   1259 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1260 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1261 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1262 		libdir localedir mandir
   1263 do
   1264   eval ac_val=\$$ac_var
   1265   # Remove trailing slashes.
   1266   case $ac_val in
   1267     */ )
   1268       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1269       eval $ac_var=\$ac_val;;
   1270   esac
   1271   # Be sure to have absolute directory names.
   1272   case $ac_val in
   1273     [\\/$]* | ?:[\\/]* )  continue;;
   1274     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1275   esac
   1276   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1277 done
   1278 
   1279 # There might be people who depend on the old broken behavior: `$host'
   1280 # used to hold the argument of --host etc.
   1281 # FIXME: To remove some day.
   1282 build=$build_alias
   1283 host=$host_alias
   1284 target=$target_alias
   1285 
   1286 # FIXME: To remove some day.
   1287 if test "x$host_alias" != x; then
   1288   if test "x$build_alias" = x; then
   1289     cross_compiling=maybe
   1290   elif test "x$build_alias" != "x$host_alias"; then
   1291     cross_compiling=yes
   1292   fi
   1293 fi
   1294 
   1295 ac_tool_prefix=
   1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1297 
   1298 test "$silent" = yes && exec 6>/dev/null
   1299 
   1300 
   1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1302 ac_ls_di=`ls -di .` &&
   1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1304   as_fn_error $? "working directory cannot be determined"
   1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1306   as_fn_error $? "pwd does not report name of working directory"
   1307 
   1308 
   1309 # Find the source files, if location was not specified.
   1310 if test -z "$srcdir"; then
   1311   ac_srcdir_defaulted=yes
   1312   # Try the directory containing this script, then the parent directory.
   1313   ac_confdir=`$as_dirname -- "$as_myself" ||
   1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1315 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1316 	 X"$as_myself" : 'X\(//\)$' \| \
   1317 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1318 $as_echo X"$as_myself" |
   1319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1320 	    s//\1/
   1321 	    q
   1322 	  }
   1323 	  /^X\(\/\/\)[^/].*/{
   1324 	    s//\1/
   1325 	    q
   1326 	  }
   1327 	  /^X\(\/\/\)$/{
   1328 	    s//\1/
   1329 	    q
   1330 	  }
   1331 	  /^X\(\/\).*/{
   1332 	    s//\1/
   1333 	    q
   1334 	  }
   1335 	  s/.*/./; q'`
   1336   srcdir=$ac_confdir
   1337   if test ! -r "$srcdir/$ac_unique_file"; then
   1338     srcdir=..
   1339   fi
   1340 else
   1341   ac_srcdir_defaulted=no
   1342 fi
   1343 if test ! -r "$srcdir/$ac_unique_file"; then
   1344   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1345   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1346 fi
   1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1348 ac_abs_confdir=`(
   1349 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1350 	pwd)`
   1351 # When building in place, set srcdir=.
   1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1353   srcdir=.
   1354 fi
   1355 # Remove unnecessary trailing slashes from srcdir.
   1356 # Double slashes in file names in object file debugging info
   1357 # mess up M-x gdb in Emacs.
   1358 case $srcdir in
   1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1360 esac
   1361 for ac_var in $ac_precious_vars; do
   1362   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1363   eval ac_env_${ac_var}_value=\$${ac_var}
   1364   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1365   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1366 done
   1367 
   1368 #
   1369 # Report the --help message.
   1370 #
   1371 if test "$ac_init_help" = "long"; then
   1372   # Omit some internal or obsolete options to make the list less imposing.
   1373   # This message is too long to be a string in the A/UX 3.1 sh.
   1374   cat <<_ACEOF
   1375 \`configure' configures xf86-video-nouveau 1.0.16 to adapt to many kinds of systems.
   1376 
   1377 Usage: $0 [OPTION]... [VAR=VALUE]...
   1378 
   1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1380 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1381 
   1382 Defaults for the options are specified in brackets.
   1383 
   1384 Configuration:
   1385   -h, --help              display this help and exit
   1386       --help=short        display options specific to this package
   1387       --help=recursive    display the short help of all the included packages
   1388   -V, --version           display version information and exit
   1389   -q, --quiet, --silent   do not print \`checking ...' messages
   1390       --cache-file=FILE   cache test results in FILE [disabled]
   1391   -C, --config-cache      alias for \`--cache-file=config.cache'
   1392   -n, --no-create         do not create output files
   1393       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1394 
   1395 Installation directories:
   1396   --prefix=PREFIX         install architecture-independent files in PREFIX
   1397                           [$ac_default_prefix]
   1398   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1399                           [PREFIX]
   1400 
   1401 By default, \`make install' will install all the files in
   1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1404 for instance \`--prefix=\$HOME'.
   1405 
   1406 For better control, use the options below.
   1407 
   1408 Fine tuning of the installation directories:
   1409   --bindir=DIR            user executables [EPREFIX/bin]
   1410   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1411   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1412   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1413   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1414   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1415   --libdir=DIR            object code libraries [EPREFIX/lib]
   1416   --includedir=DIR        C header files [PREFIX/include]
   1417   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1418   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1419   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1420   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1421   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1422   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1423   --docdir=DIR            documentation root
   1424                           [DATAROOTDIR/doc/xf86-video-nouveau]
   1425   --htmldir=DIR           html documentation [DOCDIR]
   1426   --dvidir=DIR            dvi documentation [DOCDIR]
   1427   --pdfdir=DIR            pdf documentation [DOCDIR]
   1428   --psdir=DIR             ps documentation [DOCDIR]
   1429 _ACEOF
   1430 
   1431   cat <<\_ACEOF
   1432 
   1433 Program names:
   1434   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1435   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1436   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1437 
   1438 System types:
   1439   --build=BUILD     configure for building on BUILD [guessed]
   1440   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1441 _ACEOF
   1442 fi
   1443 
   1444 if test -n "$ac_init_help"; then
   1445   case $ac_init_help in
   1446      short | recursive ) echo "Configuration of xf86-video-nouveau 1.0.16:";;
   1447    esac
   1448   cat <<\_ACEOF
   1449 
   1450 Optional Features:
   1451   --disable-option-checking  ignore unrecognized --enable/--with options
   1452   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1453   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1454   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1455   --disable-silent-rules  verbose build output (undo: "make V=0")
   1456   --enable-dependency-tracking
   1457                           do not reject slow dependency extractors
   1458   --disable-dependency-tracking
   1459                           speeds up one-time build
   1460   --disable-selective-werror
   1461                           Turn off selective compiler errors. (default:
   1462                           enabled)
   1463   --enable-strict-compilation
   1464                           Enable all warnings from compiler and make them
   1465                           errors (default: disabled)
   1466   --enable-static[=PKGS]  build static libraries [default=no]
   1467   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1468   --enable-fast-install[=PKGS]
   1469                           optimize for fast installation [default=yes]
   1470   --disable-libtool-lock  avoid locking (might break parallel builds)
   1471 
   1472 Optional Packages:
   1473   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1474   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1475   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1476                           both]
   1477   --with-aix-soname=aix|svr4|both
   1478                           shared library versioning (aka "SONAME") variant to
   1479                           provide on AIX, [default=aix].
   1480   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1481   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1482                           compiler's sysroot if not specified).
   1483   --with-xorg-module-dir=DIR
   1484                           Default xorg module directory
   1485                           [[default=$libdir/xorg/modules]]
   1486 
   1487 Some influential environment variables:
   1488   CC          C compiler command
   1489   CFLAGS      C compiler flags
   1490   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1491               nonstandard directory <lib dir>
   1492   LIBS        libraries to pass to the linker, e.g. -l<library>
   1493   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1494               you have headers in a nonstandard directory <include dir>
   1495   CPP         C preprocessor
   1496   PKG_CONFIG  path to pkg-config utility
   1497   PKG_CONFIG_PATH
   1498               directories to add to pkg-config's search path
   1499   PKG_CONFIG_LIBDIR
   1500               path overriding pkg-config's built-in search path
   1501   LT_SYS_LIBRARY_PATH
   1502               User-defined run-time library search path.
   1503   LIBDRM_CFLAGS
   1504               C compiler flags for LIBDRM, overriding pkg-config
   1505   LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
   1506   LIBDRM_NOUVEAU_CFLAGS
   1507               C compiler flags for LIBDRM_NOUVEAU, overriding pkg-config
   1508   LIBDRM_NOUVEAU_LIBS
   1509               linker flags for LIBDRM_NOUVEAU, overriding pkg-config
   1510   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1511   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1512   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1513   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1514   PCIACCESS_CFLAGS
   1515               C compiler flags for PCIACCESS, overriding pkg-config
   1516   PCIACCESS_LIBS
   1517               linker flags for PCIACCESS, overriding pkg-config
   1518   LIBUDEV_CFLAGS
   1519               C compiler flags for LIBUDEV, overriding pkg-config
   1520   LIBUDEV_LIBS
   1521               linker flags for LIBUDEV, overriding pkg-config
   1522 
   1523 Use these variables to override the choices made by `configure' or to help
   1524 it to find libraries and programs with nonstandard names/locations.
   1525 
   1526 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/nouveau>.
   1527 _ACEOF
   1528 ac_status=$?
   1529 fi
   1530 
   1531 if test "$ac_init_help" = "recursive"; then
   1532   # If there are subdirs, report their specific --help.
   1533   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1534     test -d "$ac_dir" ||
   1535       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1536       continue
   1537     ac_builddir=.
   1538 
   1539 case "$ac_dir" in
   1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1541 *)
   1542   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1543   # A ".." for each directory in $ac_dir_suffix.
   1544   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1545   case $ac_top_builddir_sub in
   1546   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1547   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1548   esac ;;
   1549 esac
   1550 ac_abs_top_builddir=$ac_pwd
   1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1552 # for backward compatibility:
   1553 ac_top_builddir=$ac_top_build_prefix
   1554 
   1555 case $srcdir in
   1556   .)  # We are building in place.
   1557     ac_srcdir=.
   1558     ac_top_srcdir=$ac_top_builddir_sub
   1559     ac_abs_top_srcdir=$ac_pwd ;;
   1560   [\\/]* | ?:[\\/]* )  # Absolute name.
   1561     ac_srcdir=$srcdir$ac_dir_suffix;
   1562     ac_top_srcdir=$srcdir
   1563     ac_abs_top_srcdir=$srcdir ;;
   1564   *) # Relative name.
   1565     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1566     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1567     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1568 esac
   1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1570 
   1571     cd "$ac_dir" || { ac_status=$?; continue; }
   1572     # Check for guested configure.
   1573     if test -f "$ac_srcdir/configure.gnu"; then
   1574       echo &&
   1575       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1576     elif test -f "$ac_srcdir/configure"; then
   1577       echo &&
   1578       $SHELL "$ac_srcdir/configure" --help=recursive
   1579     else
   1580       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1581     fi || ac_status=$?
   1582     cd "$ac_pwd" || { ac_status=$?; break; }
   1583   done
   1584 fi
   1585 
   1586 test -n "$ac_init_help" && exit $ac_status
   1587 if $ac_init_version; then
   1588   cat <<\_ACEOF
   1589 xf86-video-nouveau configure 1.0.16
   1590 generated by GNU Autoconf 2.69
   1591 
   1592 Copyright (C) 2012 Free Software Foundation, Inc.
   1593 This configure script is free software; the Free Software Foundation
   1594 gives unlimited permission to copy, distribute and modify it.
   1595 _ACEOF
   1596   exit
   1597 fi
   1598 
   1599 ## ------------------------ ##
   1600 ## Autoconf initialization. ##
   1601 ## ------------------------ ##
   1602 
   1603 # ac_fn_c_try_compile LINENO
   1604 # --------------------------
   1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1606 ac_fn_c_try_compile ()
   1607 {
   1608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1609   rm -f conftest.$ac_objext
   1610   if { { ac_try="$ac_compile"
   1611 case "(($ac_try" in
   1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1613   *) ac_try_echo=$ac_try;;
   1614 esac
   1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1616 $as_echo "$ac_try_echo"; } >&5
   1617   (eval "$ac_compile") 2>conftest.err
   1618   ac_status=$?
   1619   if test -s conftest.err; then
   1620     grep -v '^ *+' conftest.err >conftest.er1
   1621     cat conftest.er1 >&5
   1622     mv -f conftest.er1 conftest.err
   1623   fi
   1624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1625   test $ac_status = 0; } && {
   1626 	 test -z "$ac_c_werror_flag" ||
   1627 	 test ! -s conftest.err
   1628        } && test -s conftest.$ac_objext; then :
   1629   ac_retval=0
   1630 else
   1631   $as_echo "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634 	ac_retval=1
   1635 fi
   1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1637   as_fn_set_status $ac_retval
   1638 
   1639 } # ac_fn_c_try_compile
   1640 
   1641 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1642 # ---------------------------------------------
   1643 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1644 # accordingly.
   1645 ac_fn_c_check_decl ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1649   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1651 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1652 if eval \${$3+:} false; then :
   1653   $as_echo_n "(cached) " >&6
   1654 else
   1655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1656 /* end confdefs.h.  */
   1657 $4
   1658 int
   1659 main ()
   1660 {
   1661 #ifndef $as_decl_name
   1662 #ifdef __cplusplus
   1663   (void) $as_decl_use;
   1664 #else
   1665   (void) $as_decl_name;
   1666 #endif
   1667 #endif
   1668 
   1669   ;
   1670   return 0;
   1671 }
   1672 _ACEOF
   1673 if ac_fn_c_try_compile "$LINENO"; then :
   1674   eval "$3=yes"
   1675 else
   1676   eval "$3=no"
   1677 fi
   1678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1679 fi
   1680 eval ac_res=\$$3
   1681 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1682 $as_echo "$ac_res" >&6; }
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684 
   1685 } # ac_fn_c_check_decl
   1686 
   1687 # ac_fn_c_try_cpp LINENO
   1688 # ----------------------
   1689 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1690 ac_fn_c_try_cpp ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1701   ac_status=$?
   1702   if test -s conftest.err; then
   1703     grep -v '^ *+' conftest.err >conftest.er1
   1704     cat conftest.er1 >&5
   1705     mv -f conftest.er1 conftest.err
   1706   fi
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; } > conftest.i && {
   1709 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1710 	 test ! -s conftest.err
   1711        }; then :
   1712   ac_retval=0
   1713 else
   1714   $as_echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717     ac_retval=1
   1718 fi
   1719   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1720   as_fn_set_status $ac_retval
   1721 
   1722 } # ac_fn_c_try_cpp
   1723 
   1724 # ac_fn_c_try_run LINENO
   1725 # ----------------------
   1726 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1727 # that executables *can* be run.
   1728 ac_fn_c_try_run ()
   1729 {
   1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1731   if { { ac_try="$ac_link"
   1732 case "(($ac_try" in
   1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1734   *) ac_try_echo=$ac_try;;
   1735 esac
   1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1737 $as_echo "$ac_try_echo"; } >&5
   1738   (eval "$ac_link") 2>&5
   1739   ac_status=$?
   1740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1741   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1742   { { case "(($ac_try" in
   1743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1744   *) ac_try_echo=$ac_try;;
   1745 esac
   1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1747 $as_echo "$ac_try_echo"; } >&5
   1748   (eval "$ac_try") 2>&5
   1749   ac_status=$?
   1750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1751   test $ac_status = 0; }; }; then :
   1752   ac_retval=0
   1753 else
   1754   $as_echo "$as_me: program exited with status $ac_status" >&5
   1755        $as_echo "$as_me: failed program was:" >&5
   1756 sed 's/^/| /' conftest.$ac_ext >&5
   1757 
   1758        ac_retval=$ac_status
   1759 fi
   1760   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1761   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1762   as_fn_set_status $ac_retval
   1763 
   1764 } # ac_fn_c_try_run
   1765 
   1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1767 # -------------------------------------------------------
   1768 # Tests whether HEADER exists and can be compiled using the include files in
   1769 # INCLUDES, setting the cache variable VAR accordingly.
   1770 ac_fn_c_check_header_compile ()
   1771 {
   1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1774 $as_echo_n "checking for $2... " >&6; }
   1775 if eval \${$3+:} false; then :
   1776   $as_echo_n "(cached) " >&6
   1777 else
   1778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1779 /* end confdefs.h.  */
   1780 $4
   1781 #include <$2>
   1782 _ACEOF
   1783 if ac_fn_c_try_compile "$LINENO"; then :
   1784   eval "$3=yes"
   1785 else
   1786   eval "$3=no"
   1787 fi
   1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1789 fi
   1790 eval ac_res=\$$3
   1791 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1792 $as_echo "$ac_res" >&6; }
   1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1794 
   1795 } # ac_fn_c_check_header_compile
   1796 
   1797 # ac_fn_c_try_link LINENO
   1798 # -----------------------
   1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1800 ac_fn_c_try_link ()
   1801 {
   1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1803   rm -f conftest.$ac_objext conftest$ac_exeext
   1804   if { { ac_try="$ac_link"
   1805 case "(($ac_try" in
   1806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1807   *) ac_try_echo=$ac_try;;
   1808 esac
   1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1810 $as_echo "$ac_try_echo"; } >&5
   1811   (eval "$ac_link") 2>conftest.err
   1812   ac_status=$?
   1813   if test -s conftest.err; then
   1814     grep -v '^ *+' conftest.err >conftest.er1
   1815     cat conftest.er1 >&5
   1816     mv -f conftest.er1 conftest.err
   1817   fi
   1818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1819   test $ac_status = 0; } && {
   1820 	 test -z "$ac_c_werror_flag" ||
   1821 	 test ! -s conftest.err
   1822        } && test -s conftest$ac_exeext && {
   1823 	 test "$cross_compiling" = yes ||
   1824 	 test -x conftest$ac_exeext
   1825        }; then :
   1826   ac_retval=0
   1827 else
   1828   $as_echo "$as_me: failed program was:" >&5
   1829 sed 's/^/| /' conftest.$ac_ext >&5
   1830 
   1831 	ac_retval=1
   1832 fi
   1833   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1834   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1835   # interfere with the next link command; also delete a directory that is
   1836   # left behind by Apple's compiler.  We do this before executing the actions.
   1837   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1838   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1839   as_fn_set_status $ac_retval
   1840 
   1841 } # ac_fn_c_try_link
   1842 
   1843 # ac_fn_c_check_func LINENO FUNC VAR
   1844 # ----------------------------------
   1845 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1846 ac_fn_c_check_func ()
   1847 {
   1848   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1850 $as_echo_n "checking for $2... " >&6; }
   1851 if eval \${$3+:} false; then :
   1852   $as_echo_n "(cached) " >&6
   1853 else
   1854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1855 /* end confdefs.h.  */
   1856 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1858 #define $2 innocuous_$2
   1859 
   1860 /* System header to define __stub macros and hopefully few prototypes,
   1861     which can conflict with char $2 (); below.
   1862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1863     <limits.h> exists even on freestanding compilers.  */
   1864 
   1865 #ifdef __STDC__
   1866 # include <limits.h>
   1867 #else
   1868 # include <assert.h>
   1869 #endif
   1870 
   1871 #undef $2
   1872 
   1873 /* Override any GCC internal prototype to avoid an error.
   1874    Use char because int might match the return type of a GCC
   1875    builtin and then its argument prototype would still apply.  */
   1876 #ifdef __cplusplus
   1877 extern "C"
   1878 #endif
   1879 char $2 ();
   1880 /* The GNU C library defines this for functions which it implements
   1881     to always fail with ENOSYS.  Some functions are actually named
   1882     something starting with __ and the normal name is an alias.  */
   1883 #if defined __stub_$2 || defined __stub___$2
   1884 choke me
   1885 #endif
   1886 
   1887 int
   1888 main ()
   1889 {
   1890 return $2 ();
   1891   ;
   1892   return 0;
   1893 }
   1894 _ACEOF
   1895 if ac_fn_c_try_link "$LINENO"; then :
   1896   eval "$3=yes"
   1897 else
   1898   eval "$3=no"
   1899 fi
   1900 rm -f core conftest.err conftest.$ac_objext \
   1901     conftest$ac_exeext conftest.$ac_ext
   1902 fi
   1903 eval ac_res=\$$3
   1904 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1905 $as_echo "$ac_res" >&6; }
   1906   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1907 
   1908 } # ac_fn_c_check_func
   1909 cat >config.log <<_ACEOF
   1910 This file contains any messages produced by compilers while
   1911 running configure, to aid debugging if configure makes a mistake.
   1912 
   1913 It was created by xf86-video-nouveau $as_me 1.0.16, which was
   1914 generated by GNU Autoconf 2.69.  Invocation command line was
   1915 
   1916   $ $0 $@
   1917 
   1918 _ACEOF
   1919 exec 5>>config.log
   1920 {
   1921 cat <<_ASUNAME
   1922 ## --------- ##
   1923 ## Platform. ##
   1924 ## --------- ##
   1925 
   1926 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1927 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1928 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1929 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1930 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1931 
   1932 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1933 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1934 
   1935 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1936 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1937 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1938 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1939 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1940 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1941 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1942 
   1943 _ASUNAME
   1944 
   1945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1946 for as_dir in $PATH
   1947 do
   1948   IFS=$as_save_IFS
   1949   test -z "$as_dir" && as_dir=.
   1950     $as_echo "PATH: $as_dir"
   1951   done
   1952 IFS=$as_save_IFS
   1953 
   1954 } >&5
   1955 
   1956 cat >&5 <<_ACEOF
   1957 
   1958 
   1959 ## ----------- ##
   1960 ## Core tests. ##
   1961 ## ----------- ##
   1962 
   1963 _ACEOF
   1964 
   1965 
   1966 # Keep a trace of the command line.
   1967 # Strip out --no-create and --no-recursion so they do not pile up.
   1968 # Strip out --silent because we don't want to record it for future runs.
   1969 # Also quote any args containing shell meta-characters.
   1970 # Make two passes to allow for proper duplicate-argument suppression.
   1971 ac_configure_args=
   1972 ac_configure_args0=
   1973 ac_configure_args1=
   1974 ac_must_keep_next=false
   1975 for ac_pass in 1 2
   1976 do
   1977   for ac_arg
   1978   do
   1979     case $ac_arg in
   1980     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1981     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1982     | -silent | --silent | --silen | --sile | --sil)
   1983       continue ;;
   1984     *\'*)
   1985       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1986     esac
   1987     case $ac_pass in
   1988     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1989     2)
   1990       as_fn_append ac_configure_args1 " '$ac_arg'"
   1991       if test $ac_must_keep_next = true; then
   1992 	ac_must_keep_next=false # Got value, back to normal.
   1993       else
   1994 	case $ac_arg in
   1995 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1996 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1997 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1998 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1999 	    case "$ac_configure_args0 " in
   2000 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2001 	    esac
   2002 	    ;;
   2003 	  -* ) ac_must_keep_next=true ;;
   2004 	esac
   2005       fi
   2006       as_fn_append ac_configure_args " '$ac_arg'"
   2007       ;;
   2008     esac
   2009   done
   2010 done
   2011 { ac_configure_args0=; unset ac_configure_args0;}
   2012 { ac_configure_args1=; unset ac_configure_args1;}
   2013 
   2014 # When interrupted or exit'd, cleanup temporary files, and complete
   2015 # config.log.  We remove comments because anyway the quotes in there
   2016 # would cause problems or look ugly.
   2017 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2018 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2019 trap 'exit_status=$?
   2020   # Save into config.log some information that might help in debugging.
   2021   {
   2022     echo
   2023 
   2024     $as_echo "## ---------------- ##
   2025 ## Cache variables. ##
   2026 ## ---------------- ##"
   2027     echo
   2028     # The following way of writing the cache mishandles newlines in values,
   2029 (
   2030   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2031     eval ac_val=\$$ac_var
   2032     case $ac_val in #(
   2033     *${as_nl}*)
   2034       case $ac_var in #(
   2035       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2036 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2037       esac
   2038       case $ac_var in #(
   2039       _ | IFS | as_nl) ;; #(
   2040       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2041       *) { eval $ac_var=; unset $ac_var;} ;;
   2042       esac ;;
   2043     esac
   2044   done
   2045   (set) 2>&1 |
   2046     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2047     *${as_nl}ac_space=\ *)
   2048       sed -n \
   2049 	"s/'\''/'\''\\\\'\'''\''/g;
   2050 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2051       ;; #(
   2052     *)
   2053       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2054       ;;
   2055     esac |
   2056     sort
   2057 )
   2058     echo
   2059 
   2060     $as_echo "## ----------------- ##
   2061 ## Output variables. ##
   2062 ## ----------------- ##"
   2063     echo
   2064     for ac_var in $ac_subst_vars
   2065     do
   2066       eval ac_val=\$$ac_var
   2067       case $ac_val in
   2068       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2069       esac
   2070       $as_echo "$ac_var='\''$ac_val'\''"
   2071     done | sort
   2072     echo
   2073 
   2074     if test -n "$ac_subst_files"; then
   2075       $as_echo "## ------------------- ##
   2076 ## File substitutions. ##
   2077 ## ------------------- ##"
   2078       echo
   2079       for ac_var in $ac_subst_files
   2080       do
   2081 	eval ac_val=\$$ac_var
   2082 	case $ac_val in
   2083 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2084 	esac
   2085 	$as_echo "$ac_var='\''$ac_val'\''"
   2086       done | sort
   2087       echo
   2088     fi
   2089 
   2090     if test -s confdefs.h; then
   2091       $as_echo "## ----------- ##
   2092 ## confdefs.h. ##
   2093 ## ----------- ##"
   2094       echo
   2095       cat confdefs.h
   2096       echo
   2097     fi
   2098     test "$ac_signal" != 0 &&
   2099       $as_echo "$as_me: caught signal $ac_signal"
   2100     $as_echo "$as_me: exit $exit_status"
   2101   } >&5
   2102   rm -f core *.core core.conftest.* &&
   2103     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2104     exit $exit_status
   2105 ' 0
   2106 for ac_signal in 1 2 13 15; do
   2107   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2108 done
   2109 ac_signal=0
   2110 
   2111 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2112 rm -f -r conftest* confdefs.h
   2113 
   2114 $as_echo "/* confdefs.h */" > confdefs.h
   2115 
   2116 # Predefined preprocessor variables.
   2117 
   2118 cat >>confdefs.h <<_ACEOF
   2119 #define PACKAGE_NAME "$PACKAGE_NAME"
   2120 _ACEOF
   2121 
   2122 cat >>confdefs.h <<_ACEOF
   2123 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2124 _ACEOF
   2125 
   2126 cat >>confdefs.h <<_ACEOF
   2127 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2128 _ACEOF
   2129 
   2130 cat >>confdefs.h <<_ACEOF
   2131 #define PACKAGE_STRING "$PACKAGE_STRING"
   2132 _ACEOF
   2133 
   2134 cat >>confdefs.h <<_ACEOF
   2135 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2136 _ACEOF
   2137 
   2138 cat >>confdefs.h <<_ACEOF
   2139 #define PACKAGE_URL "$PACKAGE_URL"
   2140 _ACEOF
   2141 
   2142 
   2143 # Let the site file select an alternate cache file if it wants to.
   2144 # Prefer an explicitly selected file to automatically selected ones.
   2145 ac_site_file1=NONE
   2146 ac_site_file2=NONE
   2147 if test -n "$CONFIG_SITE"; then
   2148   # We do not want a PATH search for config.site.
   2149   case $CONFIG_SITE in #((
   2150     -*)  ac_site_file1=./$CONFIG_SITE;;
   2151     */*) ac_site_file1=$CONFIG_SITE;;
   2152     *)   ac_site_file1=./$CONFIG_SITE;;
   2153   esac
   2154 elif test "x$prefix" != xNONE; then
   2155   ac_site_file1=$prefix/share/config.site
   2156   ac_site_file2=$prefix/etc/config.site
   2157 else
   2158   ac_site_file1=$ac_default_prefix/share/config.site
   2159   ac_site_file2=$ac_default_prefix/etc/config.site
   2160 fi
   2161 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2162 do
   2163   test "x$ac_site_file" = xNONE && continue
   2164   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2165     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2166 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2167     sed 's/^/| /' "$ac_site_file" >&5
   2168     . "$ac_site_file" \
   2169       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2171 as_fn_error $? "failed to load site script $ac_site_file
   2172 See \`config.log' for more details" "$LINENO" 5; }
   2173   fi
   2174 done
   2175 
   2176 if test -r "$cache_file"; then
   2177   # Some versions of bash will fail to source /dev/null (special files
   2178   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2179   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2180     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2181 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2182     case $cache_file in
   2183       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2184       *)                      . "./$cache_file";;
   2185     esac
   2186   fi
   2187 else
   2188   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2189 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2190   >$cache_file
   2191 fi
   2192 
   2193 # Check that the precious variables saved in the cache have kept the same
   2194 # value.
   2195 ac_cache_corrupted=false
   2196 for ac_var in $ac_precious_vars; do
   2197   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2198   eval ac_new_set=\$ac_env_${ac_var}_set
   2199   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2200   eval ac_new_val=\$ac_env_${ac_var}_value
   2201   case $ac_old_set,$ac_new_set in
   2202     set,)
   2203       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2204 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2205       ac_cache_corrupted=: ;;
   2206     ,set)
   2207       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2208 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2209       ac_cache_corrupted=: ;;
   2210     ,);;
   2211     *)
   2212       if test "x$ac_old_val" != "x$ac_new_val"; then
   2213 	# differences in whitespace do not lead to failure.
   2214 	ac_old_val_w=`echo x $ac_old_val`
   2215 	ac_new_val_w=`echo x $ac_new_val`
   2216 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2217 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2218 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2219 	  ac_cache_corrupted=:
   2220 	else
   2221 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2222 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2223 	  eval $ac_var=\$ac_old_val
   2224 	fi
   2225 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2226 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2227 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2228 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2229       fi;;
   2230   esac
   2231   # Pass precious variables to config.status.
   2232   if test "$ac_new_set" = set; then
   2233     case $ac_new_val in
   2234     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2235     *) ac_arg=$ac_var=$ac_new_val ;;
   2236     esac
   2237     case " $ac_configure_args " in
   2238       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2239       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2240     esac
   2241   fi
   2242 done
   2243 if $ac_cache_corrupted; then
   2244   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2246   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2247 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2248   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2249 fi
   2250 ## -------------------- ##
   2251 ## Main body of script. ##
   2252 ## -------------------- ##
   2253 
   2254 ac_ext=c
   2255 ac_cpp='$CPP $CPPFLAGS'
   2256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2259 
   2260 
   2261 
   2262 
   2263 cat >>confdefs.h <<_ACEOF
   2264 #define NV_DRIVER_DATE $(echo -n \";git log |head -3|tail -1|tr -d '\n';echo -n \")
   2265 _ACEOF
   2266 
   2267 
   2268 
   2269 ac_config_headers="$ac_config_headers config.h"
   2270 
   2271 
   2272 ac_aux_dir=
   2273 for ac_dir in . "$srcdir"/.; do
   2274   if test -f "$ac_dir/install-sh"; then
   2275     ac_aux_dir=$ac_dir
   2276     ac_install_sh="$ac_aux_dir/install-sh -c"
   2277     break
   2278   elif test -f "$ac_dir/install.sh"; then
   2279     ac_aux_dir=$ac_dir
   2280     ac_install_sh="$ac_aux_dir/install.sh -c"
   2281     break
   2282   elif test -f "$ac_dir/shtool"; then
   2283     ac_aux_dir=$ac_dir
   2284     ac_install_sh="$ac_aux_dir/shtool install -c"
   2285     break
   2286   fi
   2287 done
   2288 if test -z "$ac_aux_dir"; then
   2289   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2290 fi
   2291 
   2292 # These three variables are undocumented and unsupported,
   2293 # and are intended to be withdrawn in a future Autoconf release.
   2294 # They can cause serious problems if a builder's source tree is in a directory
   2295 # whose full name contains unusual characters.
   2296 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2297 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2298 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2299 
   2300 
   2301 
   2302 # Initialize Automake
   2303 am__api_version='1.16'
   2304 
   2305 # Find a good install program.  We prefer a C program (faster),
   2306 # so one script is as good as another.  But avoid the broken or
   2307 # incompatible versions:
   2308 # SysV /etc/install, /usr/sbin/install
   2309 # SunOS /usr/etc/install
   2310 # IRIX /sbin/install
   2311 # AIX /bin/install
   2312 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2316 # OS/2's system install, which has a completely different semantic
   2317 # ./install, which can be erroneously created by make from ./install.sh.
   2318 # Reject install programs that cannot install multiple files.
   2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2320 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2321 if test -z "$INSTALL"; then
   2322 if ${ac_cv_path_install+:} false; then :
   2323   $as_echo_n "(cached) " >&6
   2324 else
   2325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2326 for as_dir in $PATH
   2327 do
   2328   IFS=$as_save_IFS
   2329   test -z "$as_dir" && as_dir=.
   2330     # Account for people who put trailing slashes in PATH elements.
   2331 case $as_dir/ in #((
   2332   ./ | .// | /[cC]/* | \
   2333   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2334   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2335   /usr/ucb/* ) ;;
   2336   *)
   2337     # OSF1 and SCO ODT 3.0 have their own names for install.
   2338     # Don't use installbsd from OSF since it installs stuff as root
   2339     # by default.
   2340     for ac_prog in ginstall scoinst install; do
   2341       for ac_exec_ext in '' $ac_executable_extensions; do
   2342 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2343 	  if test $ac_prog = install &&
   2344 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2345 	    # AIX install.  It has an incompatible calling convention.
   2346 	    :
   2347 	  elif test $ac_prog = install &&
   2348 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2349 	    # program-specific install script used by HP pwplus--don't use.
   2350 	    :
   2351 	  else
   2352 	    rm -rf conftest.one conftest.two conftest.dir
   2353 	    echo one > conftest.one
   2354 	    echo two > conftest.two
   2355 	    mkdir conftest.dir
   2356 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2357 	      test -s conftest.one && test -s conftest.two &&
   2358 	      test -s conftest.dir/conftest.one &&
   2359 	      test -s conftest.dir/conftest.two
   2360 	    then
   2361 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2362 	      break 3
   2363 	    fi
   2364 	  fi
   2365 	fi
   2366       done
   2367     done
   2368     ;;
   2369 esac
   2370 
   2371   done
   2372 IFS=$as_save_IFS
   2373 
   2374 rm -rf conftest.one conftest.two conftest.dir
   2375 
   2376 fi
   2377   if test "${ac_cv_path_install+set}" = set; then
   2378     INSTALL=$ac_cv_path_install
   2379   else
   2380     # As a last resort, use the slow shell script.  Don't cache a
   2381     # value for INSTALL within a source directory, because that will
   2382     # break other packages using the cache if that directory is
   2383     # removed, or if the value is a relative name.
   2384     INSTALL=$ac_install_sh
   2385   fi
   2386 fi
   2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2388 $as_echo "$INSTALL" >&6; }
   2389 
   2390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2391 # It thinks the first close brace ends the variable substitution.
   2392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2393 
   2394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2395 
   2396 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2397 
   2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2399 $as_echo_n "checking whether build environment is sane... " >&6; }
   2400 # Reject unsafe characters in $srcdir or the absolute working directory
   2401 # name.  Accept space and tab only in the latter.
   2402 am_lf='
   2403 '
   2404 case `pwd` in
   2405   *[\\\"\#\$\&\'\`$am_lf]*)
   2406     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2407 esac
   2408 case $srcdir in
   2409   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2410     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2411 esac
   2412 
   2413 # Do 'set' in a subshell so we don't clobber the current shell's
   2414 # arguments.  Must try -L first in case configure is actually a
   2415 # symlink; some systems play weird games with the mod time of symlinks
   2416 # (eg FreeBSD returns the mod time of the symlink's containing
   2417 # directory).
   2418 if (
   2419    am_has_slept=no
   2420    for am_try in 1 2; do
   2421      echo "timestamp, slept: $am_has_slept" > conftest.file
   2422      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2423      if test "$*" = "X"; then
   2424 	# -L didn't work.
   2425 	set X `ls -t "$srcdir/configure" conftest.file`
   2426      fi
   2427      if test "$*" != "X $srcdir/configure conftest.file" \
   2428 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2429 
   2430 	# If neither matched, then we have a broken ls.  This can happen
   2431 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2432 	# broken ls alias from the environment.  This has actually
   2433 	# happened.  Such a system could not be considered "sane".
   2434 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2435   alias in your environment" "$LINENO" 5
   2436      fi
   2437      if test "$2" = conftest.file || test $am_try -eq 2; then
   2438        break
   2439      fi
   2440      # Just in case.
   2441      sleep 1
   2442      am_has_slept=yes
   2443    done
   2444    test "$2" = conftest.file
   2445    )
   2446 then
   2447    # Ok.
   2448    :
   2449 else
   2450    as_fn_error $? "newly created file is older than distributed files!
   2451 Check your system clock" "$LINENO" 5
   2452 fi
   2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2454 $as_echo "yes" >&6; }
   2455 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2456 # generated files are strictly newer.
   2457 am_sleep_pid=
   2458 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2459   ( sleep 1 ) &
   2460   am_sleep_pid=$!
   2461 fi
   2462 
   2463 rm -f conftest.file
   2464 
   2465 test "$program_prefix" != NONE &&
   2466   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2467 # Use a double $ so make ignores it.
   2468 test "$program_suffix" != NONE &&
   2469   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2470 # Double any \ or $.
   2471 # By default was `s,x,x', remove it if useless.
   2472 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2473 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2474 
   2475 # Expand $ac_aux_dir to an absolute path.
   2476 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2477 
   2478 if test x"${MISSING+set}" != xset; then
   2479   case $am_aux_dir in
   2480   *\ * | *\	*)
   2481     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2482   *)
   2483     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2484   esac
   2485 fi
   2486 # Use eval to expand $SHELL
   2487 if eval "$MISSING --is-lightweight"; then
   2488   am_missing_run="$MISSING "
   2489 else
   2490   am_missing_run=
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2492 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2493 fi
   2494 
   2495 if test x"${install_sh+set}" != xset; then
   2496   case $am_aux_dir in
   2497   *\ * | *\	*)
   2498     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2499   *)
   2500     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2501   esac
   2502 fi
   2503 
   2504 # Installed binaries are usually stripped using 'strip' when the user
   2505 # run "make install-strip".  However 'strip' might not be the right
   2506 # tool to use in cross-compilation environments, therefore Automake
   2507 # will honor the 'STRIP' environment variable to overrule this program.
   2508 if test "$cross_compiling" != no; then
   2509   if test -n "$ac_tool_prefix"; then
   2510   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2511 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2513 $as_echo_n "checking for $ac_word... " >&6; }
   2514 if ${ac_cv_prog_STRIP+:} false; then :
   2515   $as_echo_n "(cached) " >&6
   2516 else
   2517   if test -n "$STRIP"; then
   2518   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2519 else
   2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2521 for as_dir in $PATH
   2522 do
   2523   IFS=$as_save_IFS
   2524   test -z "$as_dir" && as_dir=.
   2525     for ac_exec_ext in '' $ac_executable_extensions; do
   2526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2527     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2529     break 2
   2530   fi
   2531 done
   2532   done
   2533 IFS=$as_save_IFS
   2534 
   2535 fi
   2536 fi
   2537 STRIP=$ac_cv_prog_STRIP
   2538 if test -n "$STRIP"; then
   2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2540 $as_echo "$STRIP" >&6; }
   2541 else
   2542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2543 $as_echo "no" >&6; }
   2544 fi
   2545 
   2546 
   2547 fi
   2548 if test -z "$ac_cv_prog_STRIP"; then
   2549   ac_ct_STRIP=$STRIP
   2550   # Extract the first word of "strip", so it can be a program name with args.
   2551 set dummy strip; ac_word=$2
   2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2553 $as_echo_n "checking for $ac_word... " >&6; }
   2554 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2555   $as_echo_n "(cached) " >&6
   2556 else
   2557   if test -n "$ac_ct_STRIP"; then
   2558   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2559 else
   2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2561 for as_dir in $PATH
   2562 do
   2563   IFS=$as_save_IFS
   2564   test -z "$as_dir" && as_dir=.
   2565     for ac_exec_ext in '' $ac_executable_extensions; do
   2566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2567     ac_cv_prog_ac_ct_STRIP="strip"
   2568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2569     break 2
   2570   fi
   2571 done
   2572   done
   2573 IFS=$as_save_IFS
   2574 
   2575 fi
   2576 fi
   2577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2578 if test -n "$ac_ct_STRIP"; then
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2580 $as_echo "$ac_ct_STRIP" >&6; }
   2581 else
   2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2583 $as_echo "no" >&6; }
   2584 fi
   2585 
   2586   if test "x$ac_ct_STRIP" = x; then
   2587     STRIP=":"
   2588   else
   2589     case $cross_compiling:$ac_tool_warned in
   2590 yes:)
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2593 ac_tool_warned=yes ;;
   2594 esac
   2595     STRIP=$ac_ct_STRIP
   2596   fi
   2597 else
   2598   STRIP="$ac_cv_prog_STRIP"
   2599 fi
   2600 
   2601 fi
   2602 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2603 
   2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2605 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2606 if test -z "$MKDIR_P"; then
   2607   if ${ac_cv_path_mkdir+:} false; then :
   2608   $as_echo_n "(cached) " >&6
   2609 else
   2610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2611 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2612 do
   2613   IFS=$as_save_IFS
   2614   test -z "$as_dir" && as_dir=.
   2615     for ac_prog in mkdir gmkdir; do
   2616 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2617 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2618 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2619 	     'mkdir (GNU coreutils) '* | \
   2620 	     'mkdir (coreutils) '* | \
   2621 	     'mkdir (fileutils) '4.1*)
   2622 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2623 	       break 3;;
   2624 	   esac
   2625 	 done
   2626        done
   2627   done
   2628 IFS=$as_save_IFS
   2629 
   2630 fi
   2631 
   2632   test -d ./--version && rmdir ./--version
   2633   if test "${ac_cv_path_mkdir+set}" = set; then
   2634     MKDIR_P="$ac_cv_path_mkdir -p"
   2635   else
   2636     # As a last resort, use the slow shell script.  Don't cache a
   2637     # value for MKDIR_P within a source directory, because that will
   2638     # break other packages using the cache if that directory is
   2639     # removed, or if the value is a relative name.
   2640     MKDIR_P="$ac_install_sh -d"
   2641   fi
   2642 fi
   2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2644 $as_echo "$MKDIR_P" >&6; }
   2645 
   2646 for ac_prog in gawk mawk nawk awk
   2647 do
   2648   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2649 set dummy $ac_prog; ac_word=$2
   2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2651 $as_echo_n "checking for $ac_word... " >&6; }
   2652 if ${ac_cv_prog_AWK+:} false; then :
   2653   $as_echo_n "(cached) " >&6
   2654 else
   2655   if test -n "$AWK"; then
   2656   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2657 else
   2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2659 for as_dir in $PATH
   2660 do
   2661   IFS=$as_save_IFS
   2662   test -z "$as_dir" && as_dir=.
   2663     for ac_exec_ext in '' $ac_executable_extensions; do
   2664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2665     ac_cv_prog_AWK="$ac_prog"
   2666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2667     break 2
   2668   fi
   2669 done
   2670   done
   2671 IFS=$as_save_IFS
   2672 
   2673 fi
   2674 fi
   2675 AWK=$ac_cv_prog_AWK
   2676 if test -n "$AWK"; then
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2678 $as_echo "$AWK" >&6; }
   2679 else
   2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2681 $as_echo "no" >&6; }
   2682 fi
   2683 
   2684 
   2685   test -n "$AWK" && break
   2686 done
   2687 
   2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2689 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2690 set x ${MAKE-make}
   2691 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2692 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2693   $as_echo_n "(cached) " >&6
   2694 else
   2695   cat >conftest.make <<\_ACEOF
   2696 SHELL = /bin/sh
   2697 all:
   2698 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2699 _ACEOF
   2700 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2701 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2702   *@@@%%%=?*=@@@%%%*)
   2703     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2704   *)
   2705     eval ac_cv_prog_make_${ac_make}_set=no;;
   2706 esac
   2707 rm -f conftest.make
   2708 fi
   2709 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2711 $as_echo "yes" >&6; }
   2712   SET_MAKE=
   2713 else
   2714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2715 $as_echo "no" >&6; }
   2716   SET_MAKE="MAKE=${MAKE-make}"
   2717 fi
   2718 
   2719 rm -rf .tst 2>/dev/null
   2720 mkdir .tst 2>/dev/null
   2721 if test -d .tst; then
   2722   am__leading_dot=.
   2723 else
   2724   am__leading_dot=_
   2725 fi
   2726 rmdir .tst 2>/dev/null
   2727 
   2728 # Check whether --enable-silent-rules was given.
   2729 if test "${enable_silent_rules+set}" = set; then :
   2730   enableval=$enable_silent_rules;
   2731 fi
   2732 
   2733 case $enable_silent_rules in # (((
   2734   yes) AM_DEFAULT_VERBOSITY=0;;
   2735    no) AM_DEFAULT_VERBOSITY=1;;
   2736     *) AM_DEFAULT_VERBOSITY=1;;
   2737 esac
   2738 am_make=${MAKE-make}
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2740 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2741 if ${am_cv_make_support_nested_variables+:} false; then :
   2742   $as_echo_n "(cached) " >&6
   2743 else
   2744   if $as_echo 'TRUE=$(BAR$(V))
   2745 BAR0=false
   2746 BAR1=true
   2747 V=1
   2748 am__doit:
   2749 	@$(TRUE)
   2750 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2751   am_cv_make_support_nested_variables=yes
   2752 else
   2753   am_cv_make_support_nested_variables=no
   2754 fi
   2755 fi
   2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2757 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2758 if test $am_cv_make_support_nested_variables = yes; then
   2759     AM_V='$(V)'
   2760   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2761 else
   2762   AM_V=$AM_DEFAULT_VERBOSITY
   2763   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2764 fi
   2765 AM_BACKSLASH='\'
   2766 
   2767 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2768   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2769   # is not polluted with repeated "-I."
   2770   am__isrc=' -I$(srcdir)'
   2771   # test to see if srcdir already configured
   2772   if test -f $srcdir/config.status; then
   2773     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2774   fi
   2775 fi
   2776 
   2777 # test whether we have cygpath
   2778 if test -z "$CYGPATH_W"; then
   2779   if (cygpath --version) >/dev/null 2>/dev/null; then
   2780     CYGPATH_W='cygpath -w'
   2781   else
   2782     CYGPATH_W=echo
   2783   fi
   2784 fi
   2785 
   2786 
   2787 # Define the identity of the package.
   2788  PACKAGE='xf86-video-nouveau'
   2789  VERSION='1.0.16'
   2790 
   2791 
   2792 cat >>confdefs.h <<_ACEOF
   2793 #define PACKAGE "$PACKAGE"
   2794 _ACEOF
   2795 
   2796 
   2797 cat >>confdefs.h <<_ACEOF
   2798 #define VERSION "$VERSION"
   2799 _ACEOF
   2800 
   2801 # Some tools Automake needs.
   2802 
   2803 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2804 
   2805 
   2806 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2807 
   2808 
   2809 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2810 
   2811 
   2812 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2813 
   2814 
   2815 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2816 
   2817 # For better backward compatibility.  To be removed once Automake 1.9.x
   2818 # dies out for good.  For more background, see:
   2819 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2820 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2821 mkdir_p='$(MKDIR_P)'
   2822 
   2823 # We need awk for the "check" target (and possibly the TAP driver).  The
   2824 # system "awk" is bad on some platforms.
   2825 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2826 # in the wild :-(  We should find a proper way to deprecate it ...
   2827 AMTAR='$${TAR-tar}'
   2828 
   2829 
   2830 # We'll loop over all known methods to create a tar archive until one works.
   2831 _am_tools='gnutar  pax cpio none'
   2832 
   2833 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2834 
   2835 
   2836 
   2837 
   2838 
   2839 
   2840 # POSIX will say in a future version that running "rm -f" with no argument
   2841 # is OK; and we want to be able to make that assumption in our Makefile
   2842 # recipes.  So use an aggressive probe to check that the usage we want is
   2843 # actually supported "in the wild" to an acceptable degree.
   2844 # See automake bug#10828.
   2845 # To make any issue more visible, cause the running configure to be aborted
   2846 # by default if the 'rm' program in use doesn't match our expectations; the
   2847 # user can still override this though.
   2848 if rm -f && rm -fr && rm -rf; then : OK; else
   2849   cat >&2 <<'END'
   2850 Oops!
   2851 
   2852 Your 'rm' program seems unable to run without file operands specified
   2853 on the command line, even when the '-f' option is present.  This is contrary
   2854 to the behaviour of most rm programs out there, and not conforming with
   2855 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2856 
   2857 Please tell bug-automake@gnu.org about your system, including the value
   2858 of your $PATH and any error possibly output before this message.  This
   2859 can help us improve future automake versions.
   2860 
   2861 END
   2862   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2863     echo 'Configuration will proceed anyway, since you have set the' >&2
   2864     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2865     echo >&2
   2866   else
   2867     cat >&2 <<'END'
   2868 Aborting the configuration process, to ensure you take notice of the issue.
   2869 
   2870 You can download and install GNU coreutils to get an 'rm' implementation
   2871 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   2872 
   2873 If you want to complete the configuration process using your problematic
   2874 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2875 to "yes", and re-run configure.
   2876 
   2877 END
   2878     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2879   fi
   2880 fi
   2881 
   2882 
   2883 # Check whether --enable-silent-rules was given.
   2884 if test "${enable_silent_rules+set}" = set; then :
   2885   enableval=$enable_silent_rules;
   2886 fi
   2887 
   2888 case $enable_silent_rules in # (((
   2889   yes) AM_DEFAULT_VERBOSITY=0;;
   2890    no) AM_DEFAULT_VERBOSITY=1;;
   2891     *) AM_DEFAULT_VERBOSITY=0;;
   2892 esac
   2893 am_make=${MAKE-make}
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2895 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2896 if ${am_cv_make_support_nested_variables+:} false; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if $as_echo 'TRUE=$(BAR$(V))
   2900 BAR0=false
   2901 BAR1=true
   2902 V=1
   2903 am__doit:
   2904 	@$(TRUE)
   2905 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2906   am_cv_make_support_nested_variables=yes
   2907 else
   2908   am_cv_make_support_nested_variables=no
   2909 fi
   2910 fi
   2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2912 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2913 if test $am_cv_make_support_nested_variables = yes; then
   2914     AM_V='$(V)'
   2915   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2916 else
   2917   AM_V=$AM_DEFAULT_VERBOSITY
   2918   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2919 fi
   2920 AM_BACKSLASH='\'
   2921 
   2922 
   2923 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2924 
   2925 
   2926 
   2927 
   2928 
   2929 
   2930 
   2931 
   2932 
   2933 
   2934 
   2935 
   2936 DEPDIR="${am__leading_dot}deps"
   2937 
   2938 ac_config_commands="$ac_config_commands depfiles"
   2939 
   2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   2941 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   2942 cat > confinc.mk << 'END'
   2943 am__doit:
   2944 	@echo this is the am__doit target >confinc.out
   2945 .PHONY: am__doit
   2946 END
   2947 am__include="#"
   2948 am__quote=
   2949 # BSD make does it like this.
   2950 echo '.include "confinc.mk" # ignored' > confmf.BSD
   2951 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   2952 echo 'include confinc.mk # ignored' > confmf.GNU
   2953 _am_result=no
   2954 for s in GNU BSD; do
   2955   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   2956    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   2957    ac_status=$?
   2958    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2959    (exit $ac_status); }
   2960   case $?:`cat confinc.out 2>/dev/null` in #(
   2961   '0:this is the am__doit target') :
   2962     case $s in #(
   2963   BSD) :
   2964     am__include='.include' am__quote='"' ;; #(
   2965   *) :
   2966     am__include='include' am__quote='' ;;
   2967 esac ;; #(
   2968   *) :
   2969      ;;
   2970 esac
   2971   if test "$am__include" != "#"; then
   2972     _am_result="yes ($s style)"
   2973     break
   2974   fi
   2975 done
   2976 rm -f confinc.* confmf.*
   2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   2978 $as_echo "${_am_result}" >&6; }
   2979 
   2980 # Check whether --enable-dependency-tracking was given.
   2981 if test "${enable_dependency_tracking+set}" = set; then :
   2982   enableval=$enable_dependency_tracking;
   2983 fi
   2984 
   2985 if test "x$enable_dependency_tracking" != xno; then
   2986   am_depcomp="$ac_aux_dir/depcomp"
   2987   AMDEPBACKSLASH='\'
   2988   am__nodep='_no'
   2989 fi
   2990  if test "x$enable_dependency_tracking" != xno; then
   2991   AMDEP_TRUE=
   2992   AMDEP_FALSE='#'
   2993 else
   2994   AMDEP_TRUE='#'
   2995   AMDEP_FALSE=
   2996 fi
   2997 
   2998 
   2999 ac_ext=c
   3000 ac_cpp='$CPP $CPPFLAGS'
   3001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3004 if test -n "$ac_tool_prefix"; then
   3005   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3006 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3008 $as_echo_n "checking for $ac_word... " >&6; }
   3009 if ${ac_cv_prog_CC+:} false; then :
   3010   $as_echo_n "(cached) " >&6
   3011 else
   3012   if test -n "$CC"; then
   3013   ac_cv_prog_CC="$CC" # Let the user override the test.
   3014 else
   3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 for as_dir in $PATH
   3017 do
   3018   IFS=$as_save_IFS
   3019   test -z "$as_dir" && as_dir=.
   3020     for ac_exec_ext in '' $ac_executable_extensions; do
   3021   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3022     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3024     break 2
   3025   fi
   3026 done
   3027   done
   3028 IFS=$as_save_IFS
   3029 
   3030 fi
   3031 fi
   3032 CC=$ac_cv_prog_CC
   3033 if test -n "$CC"; then
   3034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3035 $as_echo "$CC" >&6; }
   3036 else
   3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3038 $as_echo "no" >&6; }
   3039 fi
   3040 
   3041 
   3042 fi
   3043 if test -z "$ac_cv_prog_CC"; then
   3044   ac_ct_CC=$CC
   3045   # Extract the first word of "gcc", so it can be a program name with args.
   3046 set dummy gcc; ac_word=$2
   3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3048 $as_echo_n "checking for $ac_word... " >&6; }
   3049 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3050   $as_echo_n "(cached) " >&6
   3051 else
   3052   if test -n "$ac_ct_CC"; then
   3053   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3054 else
   3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3056 for as_dir in $PATH
   3057 do
   3058   IFS=$as_save_IFS
   3059   test -z "$as_dir" && as_dir=.
   3060     for ac_exec_ext in '' $ac_executable_extensions; do
   3061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3062     ac_cv_prog_ac_ct_CC="gcc"
   3063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3064     break 2
   3065   fi
   3066 done
   3067   done
   3068 IFS=$as_save_IFS
   3069 
   3070 fi
   3071 fi
   3072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3073 if test -n "$ac_ct_CC"; then
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3075 $as_echo "$ac_ct_CC" >&6; }
   3076 else
   3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3078 $as_echo "no" >&6; }
   3079 fi
   3080 
   3081   if test "x$ac_ct_CC" = x; then
   3082     CC=""
   3083   else
   3084     case $cross_compiling:$ac_tool_warned in
   3085 yes:)
   3086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3088 ac_tool_warned=yes ;;
   3089 esac
   3090     CC=$ac_ct_CC
   3091   fi
   3092 else
   3093   CC="$ac_cv_prog_CC"
   3094 fi
   3095 
   3096 if test -z "$CC"; then
   3097           if test -n "$ac_tool_prefix"; then
   3098     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3099 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3101 $as_echo_n "checking for $ac_word... " >&6; }
   3102 if ${ac_cv_prog_CC+:} false; then :
   3103   $as_echo_n "(cached) " >&6
   3104 else
   3105   if test -n "$CC"; then
   3106   ac_cv_prog_CC="$CC" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   test -z "$as_dir" && as_dir=.
   3113     for ac_exec_ext in '' $ac_executable_extensions; do
   3114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3115     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3117     break 2
   3118   fi
   3119 done
   3120   done
   3121 IFS=$as_save_IFS
   3122 
   3123 fi
   3124 fi
   3125 CC=$ac_cv_prog_CC
   3126 if test -n "$CC"; then
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3128 $as_echo "$CC" >&6; }
   3129 else
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3131 $as_echo "no" >&6; }
   3132 fi
   3133 
   3134 
   3135   fi
   3136 fi
   3137 if test -z "$CC"; then
   3138   # Extract the first word of "cc", so it can be a program name with args.
   3139 set dummy cc; ac_word=$2
   3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3141 $as_echo_n "checking for $ac_word... " >&6; }
   3142 if ${ac_cv_prog_CC+:} false; then :
   3143   $as_echo_n "(cached) " >&6
   3144 else
   3145   if test -n "$CC"; then
   3146   ac_cv_prog_CC="$CC" # Let the user override the test.
   3147 else
   3148   ac_prog_rejected=no
   3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3150 for as_dir in $PATH
   3151 do
   3152   IFS=$as_save_IFS
   3153   test -z "$as_dir" && as_dir=.
   3154     for ac_exec_ext in '' $ac_executable_extensions; do
   3155   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3156     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3157        ac_prog_rejected=yes
   3158        continue
   3159      fi
   3160     ac_cv_prog_CC="cc"
   3161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3162     break 2
   3163   fi
   3164 done
   3165   done
   3166 IFS=$as_save_IFS
   3167 
   3168 if test $ac_prog_rejected = yes; then
   3169   # We found a bogon in the path, so make sure we never use it.
   3170   set dummy $ac_cv_prog_CC
   3171   shift
   3172   if test $# != 0; then
   3173     # We chose a different compiler from the bogus one.
   3174     # However, it has the same basename, so the bogon will be chosen
   3175     # first if we set CC to just the basename; use the full file name.
   3176     shift
   3177     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3178   fi
   3179 fi
   3180 fi
   3181 fi
   3182 CC=$ac_cv_prog_CC
   3183 if test -n "$CC"; then
   3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3185 $as_echo "$CC" >&6; }
   3186 else
   3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3188 $as_echo "no" >&6; }
   3189 fi
   3190 
   3191 
   3192 fi
   3193 if test -z "$CC"; then
   3194   if test -n "$ac_tool_prefix"; then
   3195   for ac_prog in cl.exe
   3196   do
   3197     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3198 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3200 $as_echo_n "checking for $ac_word... " >&6; }
   3201 if ${ac_cv_prog_CC+:} false; then :
   3202   $as_echo_n "(cached) " >&6
   3203 else
   3204   if test -n "$CC"; then
   3205   ac_cv_prog_CC="$CC" # Let the user override the test.
   3206 else
   3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3208 for as_dir in $PATH
   3209 do
   3210   IFS=$as_save_IFS
   3211   test -z "$as_dir" && as_dir=.
   3212     for ac_exec_ext in '' $ac_executable_extensions; do
   3213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3214     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3216     break 2
   3217   fi
   3218 done
   3219   done
   3220 IFS=$as_save_IFS
   3221 
   3222 fi
   3223 fi
   3224 CC=$ac_cv_prog_CC
   3225 if test -n "$CC"; then
   3226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3227 $as_echo "$CC" >&6; }
   3228 else
   3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3230 $as_echo "no" >&6; }
   3231 fi
   3232 
   3233 
   3234     test -n "$CC" && break
   3235   done
   3236 fi
   3237 if test -z "$CC"; then
   3238   ac_ct_CC=$CC
   3239   for ac_prog in cl.exe
   3240 do
   3241   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3242 set dummy $ac_prog; ac_word=$2
   3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3244 $as_echo_n "checking for $ac_word... " >&6; }
   3245 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3246   $as_echo_n "(cached) " >&6
   3247 else
   3248   if test -n "$ac_ct_CC"; then
   3249   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3250 else
   3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3252 for as_dir in $PATH
   3253 do
   3254   IFS=$as_save_IFS
   3255   test -z "$as_dir" && as_dir=.
   3256     for ac_exec_ext in '' $ac_executable_extensions; do
   3257   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3258     ac_cv_prog_ac_ct_CC="$ac_prog"
   3259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3260     break 2
   3261   fi
   3262 done
   3263   done
   3264 IFS=$as_save_IFS
   3265 
   3266 fi
   3267 fi
   3268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3269 if test -n "$ac_ct_CC"; then
   3270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3271 $as_echo "$ac_ct_CC" >&6; }
   3272 else
   3273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3274 $as_echo "no" >&6; }
   3275 fi
   3276 
   3277 
   3278   test -n "$ac_ct_CC" && break
   3279 done
   3280 
   3281   if test "x$ac_ct_CC" = x; then
   3282     CC=""
   3283   else
   3284     case $cross_compiling:$ac_tool_warned in
   3285 yes:)
   3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3288 ac_tool_warned=yes ;;
   3289 esac
   3290     CC=$ac_ct_CC
   3291   fi
   3292 fi
   3293 
   3294 fi
   3295 
   3296 
   3297 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3299 as_fn_error $? "no acceptable C compiler found in \$PATH
   3300 See \`config.log' for more details" "$LINENO" 5; }
   3301 
   3302 # Provide some information about the compiler.
   3303 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3304 set X $ac_compile
   3305 ac_compiler=$2
   3306 for ac_option in --version -v -V -qversion; do
   3307   { { ac_try="$ac_compiler $ac_option >&5"
   3308 case "(($ac_try" in
   3309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3310   *) ac_try_echo=$ac_try;;
   3311 esac
   3312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3313 $as_echo "$ac_try_echo"; } >&5
   3314   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3315   ac_status=$?
   3316   if test -s conftest.err; then
   3317     sed '10a\
   3318 ... rest of stderr output deleted ...
   3319          10q' conftest.err >conftest.er1
   3320     cat conftest.er1 >&5
   3321   fi
   3322   rm -f conftest.er1 conftest.err
   3323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3324   test $ac_status = 0; }
   3325 done
   3326 
   3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3328 /* end confdefs.h.  */
   3329 
   3330 int
   3331 main ()
   3332 {
   3333 
   3334   ;
   3335   return 0;
   3336 }
   3337 _ACEOF
   3338 ac_clean_files_save=$ac_clean_files
   3339 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3340 # Try to create an executable without -o first, disregard a.out.
   3341 # It will help us diagnose broken compilers, and finding out an intuition
   3342 # of exeext.
   3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3344 $as_echo_n "checking whether the C compiler works... " >&6; }
   3345 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3346 
   3347 # The possible output files:
   3348 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3349 
   3350 ac_rmfiles=
   3351 for ac_file in $ac_files
   3352 do
   3353   case $ac_file in
   3354     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3355     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3356   esac
   3357 done
   3358 rm -f $ac_rmfiles
   3359 
   3360 if { { ac_try="$ac_link_default"
   3361 case "(($ac_try" in
   3362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3363   *) ac_try_echo=$ac_try;;
   3364 esac
   3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3366 $as_echo "$ac_try_echo"; } >&5
   3367   (eval "$ac_link_default") 2>&5
   3368   ac_status=$?
   3369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3370   test $ac_status = 0; }; then :
   3371   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3372 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3373 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3374 # so that the user can short-circuit this test for compilers unknown to
   3375 # Autoconf.
   3376 for ac_file in $ac_files ''
   3377 do
   3378   test -f "$ac_file" || continue
   3379   case $ac_file in
   3380     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3381 	;;
   3382     [ab].out )
   3383 	# We found the default executable, but exeext='' is most
   3384 	# certainly right.
   3385 	break;;
   3386     *.* )
   3387 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3388 	then :; else
   3389 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3390 	fi
   3391 	# We set ac_cv_exeext here because the later test for it is not
   3392 	# safe: cross compilers may not add the suffix if given an `-o'
   3393 	# argument, so we may need to know it at that point already.
   3394 	# Even if this section looks crufty: it has the advantage of
   3395 	# actually working.
   3396 	break;;
   3397     * )
   3398 	break;;
   3399   esac
   3400 done
   3401 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3402 
   3403 else
   3404   ac_file=''
   3405 fi
   3406 if test -z "$ac_file"; then :
   3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3408 $as_echo "no" >&6; }
   3409 $as_echo "$as_me: failed program was:" >&5
   3410 sed 's/^/| /' conftest.$ac_ext >&5
   3411 
   3412 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3414 as_fn_error 77 "C compiler cannot create executables
   3415 See \`config.log' for more details" "$LINENO" 5; }
   3416 else
   3417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3418 $as_echo "yes" >&6; }
   3419 fi
   3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3421 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3423 $as_echo "$ac_file" >&6; }
   3424 ac_exeext=$ac_cv_exeext
   3425 
   3426 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3427 ac_clean_files=$ac_clean_files_save
   3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3429 $as_echo_n "checking for suffix of executables... " >&6; }
   3430 if { { ac_try="$ac_link"
   3431 case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3436 $as_echo "$ac_try_echo"; } >&5
   3437   (eval "$ac_link") 2>&5
   3438   ac_status=$?
   3439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3440   test $ac_status = 0; }; then :
   3441   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3442 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3443 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3444 # `rm'.
   3445 for ac_file in conftest.exe conftest conftest.*; do
   3446   test -f "$ac_file" || continue
   3447   case $ac_file in
   3448     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3449     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3450 	  break;;
   3451     * ) break;;
   3452   esac
   3453 done
   3454 else
   3455   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3457 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3458 See \`config.log' for more details" "$LINENO" 5; }
   3459 fi
   3460 rm -f conftest conftest$ac_cv_exeext
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3462 $as_echo "$ac_cv_exeext" >&6; }
   3463 
   3464 rm -f conftest.$ac_ext
   3465 EXEEXT=$ac_cv_exeext
   3466 ac_exeext=$EXEEXT
   3467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3468 /* end confdefs.h.  */
   3469 #include <stdio.h>
   3470 int
   3471 main ()
   3472 {
   3473 FILE *f = fopen ("conftest.out", "w");
   3474  return ferror (f) || fclose (f) != 0;
   3475 
   3476   ;
   3477   return 0;
   3478 }
   3479 _ACEOF
   3480 ac_clean_files="$ac_clean_files conftest.out"
   3481 # Check that the compiler produces executables we can run.  If not, either
   3482 # the compiler is broken, or we cross compile.
   3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3484 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3485 if test "$cross_compiling" != yes; then
   3486   { { ac_try="$ac_link"
   3487 case "(($ac_try" in
   3488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3489   *) ac_try_echo=$ac_try;;
   3490 esac
   3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3492 $as_echo "$ac_try_echo"; } >&5
   3493   (eval "$ac_link") 2>&5
   3494   ac_status=$?
   3495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3496   test $ac_status = 0; }
   3497   if { ac_try='./conftest$ac_cv_exeext'
   3498   { { case "(($ac_try" in
   3499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3500   *) ac_try_echo=$ac_try;;
   3501 esac
   3502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3503 $as_echo "$ac_try_echo"; } >&5
   3504   (eval "$ac_try") 2>&5
   3505   ac_status=$?
   3506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3507   test $ac_status = 0; }; }; then
   3508     cross_compiling=no
   3509   else
   3510     if test "$cross_compiling" = maybe; then
   3511 	cross_compiling=yes
   3512     else
   3513 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3515 as_fn_error $? "cannot run C compiled programs.
   3516 If you meant to cross compile, use \`--host'.
   3517 See \`config.log' for more details" "$LINENO" 5; }
   3518     fi
   3519   fi
   3520 fi
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3522 $as_echo "$cross_compiling" >&6; }
   3523 
   3524 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3525 ac_clean_files=$ac_clean_files_save
   3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3527 $as_echo_n "checking for suffix of object files... " >&6; }
   3528 if ${ac_cv_objext+:} false; then :
   3529   $as_echo_n "(cached) " >&6
   3530 else
   3531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3532 /* end confdefs.h.  */
   3533 
   3534 int
   3535 main ()
   3536 {
   3537 
   3538   ;
   3539   return 0;
   3540 }
   3541 _ACEOF
   3542 rm -f conftest.o conftest.obj
   3543 if { { ac_try="$ac_compile"
   3544 case "(($ac_try" in
   3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3546   *) ac_try_echo=$ac_try;;
   3547 esac
   3548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3549 $as_echo "$ac_try_echo"; } >&5
   3550   (eval "$ac_compile") 2>&5
   3551   ac_status=$?
   3552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3553   test $ac_status = 0; }; then :
   3554   for ac_file in conftest.o conftest.obj conftest.*; do
   3555   test -f "$ac_file" || continue;
   3556   case $ac_file in
   3557     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3558     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3559        break;;
   3560   esac
   3561 done
   3562 else
   3563   $as_echo "$as_me: failed program was:" >&5
   3564 sed 's/^/| /' conftest.$ac_ext >&5
   3565 
   3566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3568 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3569 See \`config.log' for more details" "$LINENO" 5; }
   3570 fi
   3571 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3572 fi
   3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3574 $as_echo "$ac_cv_objext" >&6; }
   3575 OBJEXT=$ac_cv_objext
   3576 ac_objext=$OBJEXT
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3578 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3579 if ${ac_cv_c_compiler_gnu+:} false; then :
   3580   $as_echo_n "(cached) " >&6
   3581 else
   3582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3583 /* end confdefs.h.  */
   3584 
   3585 int
   3586 main ()
   3587 {
   3588 #ifndef __GNUC__
   3589        choke me
   3590 #endif
   3591 
   3592   ;
   3593   return 0;
   3594 }
   3595 _ACEOF
   3596 if ac_fn_c_try_compile "$LINENO"; then :
   3597   ac_compiler_gnu=yes
   3598 else
   3599   ac_compiler_gnu=no
   3600 fi
   3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3602 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3603 
   3604 fi
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3606 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3607 if test $ac_compiler_gnu = yes; then
   3608   GCC=yes
   3609 else
   3610   GCC=
   3611 fi
   3612 ac_test_CFLAGS=${CFLAGS+set}
   3613 ac_save_CFLAGS=$CFLAGS
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3615 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3616 if ${ac_cv_prog_cc_g+:} false; then :
   3617   $as_echo_n "(cached) " >&6
   3618 else
   3619   ac_save_c_werror_flag=$ac_c_werror_flag
   3620    ac_c_werror_flag=yes
   3621    ac_cv_prog_cc_g=no
   3622    CFLAGS="-g"
   3623    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 
   3626 int
   3627 main ()
   3628 {
   3629 
   3630   ;
   3631   return 0;
   3632 }
   3633 _ACEOF
   3634 if ac_fn_c_try_compile "$LINENO"; then :
   3635   ac_cv_prog_cc_g=yes
   3636 else
   3637   CFLAGS=""
   3638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3639 /* end confdefs.h.  */
   3640 
   3641 int
   3642 main ()
   3643 {
   3644 
   3645   ;
   3646   return 0;
   3647 }
   3648 _ACEOF
   3649 if ac_fn_c_try_compile "$LINENO"; then :
   3650 
   3651 else
   3652   ac_c_werror_flag=$ac_save_c_werror_flag
   3653 	 CFLAGS="-g"
   3654 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3655 /* end confdefs.h.  */
   3656 
   3657 int
   3658 main ()
   3659 {
   3660 
   3661   ;
   3662   return 0;
   3663 }
   3664 _ACEOF
   3665 if ac_fn_c_try_compile "$LINENO"; then :
   3666   ac_cv_prog_cc_g=yes
   3667 fi
   3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3669 fi
   3670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3671 fi
   3672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3673    ac_c_werror_flag=$ac_save_c_werror_flag
   3674 fi
   3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3676 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3677 if test "$ac_test_CFLAGS" = set; then
   3678   CFLAGS=$ac_save_CFLAGS
   3679 elif test $ac_cv_prog_cc_g = yes; then
   3680   if test "$GCC" = yes; then
   3681     CFLAGS="-g -O2"
   3682   else
   3683     CFLAGS="-g"
   3684   fi
   3685 else
   3686   if test "$GCC" = yes; then
   3687     CFLAGS="-O2"
   3688   else
   3689     CFLAGS=
   3690   fi
   3691 fi
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3693 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3694 if ${ac_cv_prog_cc_c89+:} false; then :
   3695   $as_echo_n "(cached) " >&6
   3696 else
   3697   ac_cv_prog_cc_c89=no
   3698 ac_save_CC=$CC
   3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3700 /* end confdefs.h.  */
   3701 #include <stdarg.h>
   3702 #include <stdio.h>
   3703 struct stat;
   3704 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3705 struct buf { int x; };
   3706 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3707 static char *e (p, i)
   3708      char **p;
   3709      int i;
   3710 {
   3711   return p[i];
   3712 }
   3713 static char *f (char * (*g) (char **, int), char **p, ...)
   3714 {
   3715   char *s;
   3716   va_list v;
   3717   va_start (v,p);
   3718   s = g (p, va_arg (v,int));
   3719   va_end (v);
   3720   return s;
   3721 }
   3722 
   3723 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3724    function prototypes and stuff, but not '\xHH' hex character constants.
   3725    These don't provoke an error unfortunately, instead are silently treated
   3726    as 'x'.  The following induces an error, until -std is added to get
   3727    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3728    array size at least.  It's necessary to write '\x00'==0 to get something
   3729    that's true only with -std.  */
   3730 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3731 
   3732 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3733    inside strings and character constants.  */
   3734 #define FOO(x) 'x'
   3735 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3736 
   3737 int test (int i, double x);
   3738 struct s1 {int (*f) (int a);};
   3739 struct s2 {int (*f) (double a);};
   3740 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3741 int argc;
   3742 char **argv;
   3743 int
   3744 main ()
   3745 {
   3746 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3747   ;
   3748   return 0;
   3749 }
   3750 _ACEOF
   3751 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3752 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3753 do
   3754   CC="$ac_save_CC $ac_arg"
   3755   if ac_fn_c_try_compile "$LINENO"; then :
   3756   ac_cv_prog_cc_c89=$ac_arg
   3757 fi
   3758 rm -f core conftest.err conftest.$ac_objext
   3759   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3760 done
   3761 rm -f conftest.$ac_ext
   3762 CC=$ac_save_CC
   3763 
   3764 fi
   3765 # AC_CACHE_VAL
   3766 case "x$ac_cv_prog_cc_c89" in
   3767   x)
   3768     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3769 $as_echo "none needed" >&6; } ;;
   3770   xno)
   3771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3772 $as_echo "unsupported" >&6; } ;;
   3773   *)
   3774     CC="$CC $ac_cv_prog_cc_c89"
   3775     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3776 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3777 esac
   3778 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3779 
   3780 fi
   3781 
   3782 ac_ext=c
   3783 ac_cpp='$CPP $CPPFLAGS'
   3784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3787 
   3788 ac_ext=c
   3789 ac_cpp='$CPP $CPPFLAGS'
   3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3794 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3795 if ${am_cv_prog_cc_c_o+:} false; then :
   3796   $as_echo_n "(cached) " >&6
   3797 else
   3798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3799 /* end confdefs.h.  */
   3800 
   3801 int
   3802 main ()
   3803 {
   3804 
   3805   ;
   3806   return 0;
   3807 }
   3808 _ACEOF
   3809   # Make sure it works both with $CC and with simple cc.
   3810   # Following AC_PROG_CC_C_O, we do the test twice because some
   3811   # compilers refuse to overwrite an existing .o file with -o,
   3812   # though they will create one.
   3813   am_cv_prog_cc_c_o=yes
   3814   for am_i in 1 2; do
   3815     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3816    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3817    ac_status=$?
   3818    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3819    (exit $ac_status); } \
   3820          && test -f conftest2.$ac_objext; then
   3821       : OK
   3822     else
   3823       am_cv_prog_cc_c_o=no
   3824       break
   3825     fi
   3826   done
   3827   rm -f core conftest*
   3828   unset am_i
   3829 fi
   3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3831 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3832 if test "$am_cv_prog_cc_c_o" != yes; then
   3833    # Losing compiler, so override with the script.
   3834    # FIXME: It is wrong to rewrite CC.
   3835    # But if we don't then we get into trouble of one sort or another.
   3836    # A longer-term fix would be to have automake use am__CC in this case,
   3837    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3838    CC="$am_aux_dir/compile $CC"
   3839 fi
   3840 ac_ext=c
   3841 ac_cpp='$CPP $CPPFLAGS'
   3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3845 
   3846 
   3847 depcc="$CC"   am_compiler_list=
   3848 
   3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3850 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3851 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3852   $as_echo_n "(cached) " >&6
   3853 else
   3854   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3855   # We make a subdir and do the tests there.  Otherwise we can end up
   3856   # making bogus files that we don't know about and never remove.  For
   3857   # instance it was reported that on HP-UX the gcc test will end up
   3858   # making a dummy file named 'D' -- because '-MD' means "put the output
   3859   # in D".
   3860   rm -rf conftest.dir
   3861   mkdir conftest.dir
   3862   # Copy depcomp to subdir because otherwise we won't find it if we're
   3863   # using a relative directory.
   3864   cp "$am_depcomp" conftest.dir
   3865   cd conftest.dir
   3866   # We will build objects and dependencies in a subdirectory because
   3867   # it helps to detect inapplicable dependency modes.  For instance
   3868   # both Tru64's cc and ICC support -MD to output dependencies as a
   3869   # side effect of compilation, but ICC will put the dependencies in
   3870   # the current directory while Tru64 will put them in the object
   3871   # directory.
   3872   mkdir sub
   3873 
   3874   am_cv_CC_dependencies_compiler_type=none
   3875   if test "$am_compiler_list" = ""; then
   3876      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3877   fi
   3878   am__universal=false
   3879   case " $depcc " in #(
   3880      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3881      esac
   3882 
   3883   for depmode in $am_compiler_list; do
   3884     # Setup a source with many dependencies, because some compilers
   3885     # like to wrap large dependency lists on column 80 (with \), and
   3886     # we should not choose a depcomp mode which is confused by this.
   3887     #
   3888     # We need to recreate these files for each test, as the compiler may
   3889     # overwrite some of them when testing with obscure command lines.
   3890     # This happens at least with the AIX C compiler.
   3891     : > sub/conftest.c
   3892     for i in 1 2 3 4 5 6; do
   3893       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3894       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3895       # Solaris 10 /bin/sh.
   3896       echo '/* dummy */' > sub/conftst$i.h
   3897     done
   3898     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3899 
   3900     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3901     # mode.  It turns out that the SunPro C++ compiler does not properly
   3902     # handle '-M -o', and we need to detect this.  Also, some Intel
   3903     # versions had trouble with output in subdirs.
   3904     am__obj=sub/conftest.${OBJEXT-o}
   3905     am__minus_obj="-o $am__obj"
   3906     case $depmode in
   3907     gcc)
   3908       # This depmode causes a compiler race in universal mode.
   3909       test "$am__universal" = false || continue
   3910       ;;
   3911     nosideeffect)
   3912       # After this tag, mechanisms are not by side-effect, so they'll
   3913       # only be used when explicitly requested.
   3914       if test "x$enable_dependency_tracking" = xyes; then
   3915 	continue
   3916       else
   3917 	break
   3918       fi
   3919       ;;
   3920     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3921       # This compiler won't grok '-c -o', but also, the minuso test has
   3922       # not run yet.  These depmodes are late enough in the game, and
   3923       # so weak that their functioning should not be impacted.
   3924       am__obj=conftest.${OBJEXT-o}
   3925       am__minus_obj=
   3926       ;;
   3927     none) break ;;
   3928     esac
   3929     if depmode=$depmode \
   3930        source=sub/conftest.c object=$am__obj \
   3931        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3932        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3933          >/dev/null 2>conftest.err &&
   3934        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3935        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3936        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3937        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3938       # icc doesn't choke on unknown options, it will just issue warnings
   3939       # or remarks (even with -Werror).  So we grep stderr for any message
   3940       # that says an option was ignored or not supported.
   3941       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3942       #   icc: Command line warning: ignoring option '-M'; no argument required
   3943       # The diagnosis changed in icc 8.0:
   3944       #   icc: Command line remark: option '-MP' not supported
   3945       if (grep 'ignoring option' conftest.err ||
   3946           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3947         am_cv_CC_dependencies_compiler_type=$depmode
   3948         break
   3949       fi
   3950     fi
   3951   done
   3952 
   3953   cd ..
   3954   rm -rf conftest.dir
   3955 else
   3956   am_cv_CC_dependencies_compiler_type=none
   3957 fi
   3958 
   3959 fi
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3961 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3962 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3963 
   3964  if
   3965   test "x$enable_dependency_tracking" != xno \
   3966   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3967   am__fastdepCC_TRUE=
   3968   am__fastdepCC_FALSE='#'
   3969 else
   3970   am__fastdepCC_TRUE='#'
   3971   am__fastdepCC_FALSE=
   3972 fi
   3973 
   3974 
   3975    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3976 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3977 if ${ac_cv_prog_cc_c99+:} false; then :
   3978   $as_echo_n "(cached) " >&6
   3979 else
   3980   ac_cv_prog_cc_c99=no
   3981 ac_save_CC=$CC
   3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3983 /* end confdefs.h.  */
   3984 #include <stdarg.h>
   3985 #include <stdbool.h>
   3986 #include <stdlib.h>
   3987 #include <wchar.h>
   3988 #include <stdio.h>
   3989 
   3990 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3991 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3992 #define showlist(...) puts (#__VA_ARGS__)
   3993 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3994 static void
   3995 test_varargs_macros (void)
   3996 {
   3997   int x = 1234;
   3998   int y = 5678;
   3999   debug ("Flag");
   4000   debug ("X = %d\n", x);
   4001   showlist (The first, second, and third items.);
   4002   report (x>y, "x is %d but y is %d", x, y);
   4003 }
   4004 
   4005 // Check long long types.
   4006 #define BIG64 18446744073709551615ull
   4007 #define BIG32 4294967295ul
   4008 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4009 #if !BIG_OK
   4010   your preprocessor is broken;
   4011 #endif
   4012 #if BIG_OK
   4013 #else
   4014   your preprocessor is broken;
   4015 #endif
   4016 static long long int bignum = -9223372036854775807LL;
   4017 static unsigned long long int ubignum = BIG64;
   4018 
   4019 struct incomplete_array
   4020 {
   4021   int datasize;
   4022   double data[];
   4023 };
   4024 
   4025 struct named_init {
   4026   int number;
   4027   const wchar_t *name;
   4028   double average;
   4029 };
   4030 
   4031 typedef const char *ccp;
   4032 
   4033 static inline int
   4034 test_restrict (ccp restrict text)
   4035 {
   4036   // See if C++-style comments work.
   4037   // Iterate through items via the restricted pointer.
   4038   // Also check for declarations in for loops.
   4039   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4040     continue;
   4041   return 0;
   4042 }
   4043 
   4044 // Check varargs and va_copy.
   4045 static void
   4046 test_varargs (const char *format, ...)
   4047 {
   4048   va_list args;
   4049   va_start (args, format);
   4050   va_list args_copy;
   4051   va_copy (args_copy, args);
   4052 
   4053   const char *str;
   4054   int number;
   4055   float fnumber;
   4056 
   4057   while (*format)
   4058     {
   4059       switch (*format++)
   4060 	{
   4061 	case 's': // string
   4062 	  str = va_arg (args_copy, const char *);
   4063 	  break;
   4064 	case 'd': // int
   4065 	  number = va_arg (args_copy, int);
   4066 	  break;
   4067 	case 'f': // float
   4068 	  fnumber = va_arg (args_copy, double);
   4069 	  break;
   4070 	default:
   4071 	  break;
   4072 	}
   4073     }
   4074   va_end (args_copy);
   4075   va_end (args);
   4076 }
   4077 
   4078 int
   4079 main ()
   4080 {
   4081 
   4082   // Check bool.
   4083   _Bool success = false;
   4084 
   4085   // Check restrict.
   4086   if (test_restrict ("String literal") == 0)
   4087     success = true;
   4088   char *restrict newvar = "Another string";
   4089 
   4090   // Check varargs.
   4091   test_varargs ("s, d' f .", "string", 65, 34.234);
   4092   test_varargs_macros ();
   4093 
   4094   // Check flexible array members.
   4095   struct incomplete_array *ia =
   4096     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4097   ia->datasize = 10;
   4098   for (int i = 0; i < ia->datasize; ++i)
   4099     ia->data[i] = i * 1.234;
   4100 
   4101   // Check named initializers.
   4102   struct named_init ni = {
   4103     .number = 34,
   4104     .name = L"Test wide string",
   4105     .average = 543.34343,
   4106   };
   4107 
   4108   ni.number = 58;
   4109 
   4110   int dynamic_array[ni.number];
   4111   dynamic_array[ni.number - 1] = 543;
   4112 
   4113   // work around unused variable warnings
   4114   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4115 	  || dynamic_array[ni.number - 1] != 543);
   4116 
   4117   ;
   4118   return 0;
   4119 }
   4120 _ACEOF
   4121 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4122 do
   4123   CC="$ac_save_CC $ac_arg"
   4124   if ac_fn_c_try_compile "$LINENO"; then :
   4125   ac_cv_prog_cc_c99=$ac_arg
   4126 fi
   4127 rm -f core conftest.err conftest.$ac_objext
   4128   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4129 done
   4130 rm -f conftest.$ac_ext
   4131 CC=$ac_save_CC
   4132 
   4133 fi
   4134 # AC_CACHE_VAL
   4135 case "x$ac_cv_prog_cc_c99" in
   4136   x)
   4137     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4138 $as_echo "none needed" >&6; } ;;
   4139   xno)
   4140     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4141 $as_echo "unsupported" >&6; } ;;
   4142   *)
   4143     CC="$CC $ac_cv_prog_cc_c99"
   4144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4145 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4146 esac
   4147 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4148 
   4149 fi
   4150 
   4151 
   4152 
   4153 ac_ext=c
   4154 ac_cpp='$CPP $CPPFLAGS'
   4155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4159 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4160 # On Suns, sometimes $CPP names a directory.
   4161 if test -n "$CPP" && test -d "$CPP"; then
   4162   CPP=
   4163 fi
   4164 if test -z "$CPP"; then
   4165   if ${ac_cv_prog_CPP+:} false; then :
   4166   $as_echo_n "(cached) " >&6
   4167 else
   4168       # Double quotes because CPP needs to be expanded
   4169     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4170     do
   4171       ac_preproc_ok=false
   4172 for ac_c_preproc_warn_flag in '' yes
   4173 do
   4174   # Use a header file that comes with gcc, so configuring glibc
   4175   # with a fresh cross-compiler works.
   4176   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4177   # <limits.h> exists even on freestanding compilers.
   4178   # On the NeXT, cc -E runs the code through the compiler's parser,
   4179   # not just through cpp. "Syntax error" is here to catch this case.
   4180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4181 /* end confdefs.h.  */
   4182 #ifdef __STDC__
   4183 # include <limits.h>
   4184 #else
   4185 # include <assert.h>
   4186 #endif
   4187 		     Syntax error
   4188 _ACEOF
   4189 if ac_fn_c_try_cpp "$LINENO"; then :
   4190 
   4191 else
   4192   # Broken: fails on valid input.
   4193 continue
   4194 fi
   4195 rm -f conftest.err conftest.i conftest.$ac_ext
   4196 
   4197   # OK, works on sane cases.  Now check whether nonexistent headers
   4198   # can be detected and how.
   4199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4200 /* end confdefs.h.  */
   4201 #include <ac_nonexistent.h>
   4202 _ACEOF
   4203 if ac_fn_c_try_cpp "$LINENO"; then :
   4204   # Broken: success on invalid input.
   4205 continue
   4206 else
   4207   # Passes both tests.
   4208 ac_preproc_ok=:
   4209 break
   4210 fi
   4211 rm -f conftest.err conftest.i conftest.$ac_ext
   4212 
   4213 done
   4214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4215 rm -f conftest.i conftest.err conftest.$ac_ext
   4216 if $ac_preproc_ok; then :
   4217   break
   4218 fi
   4219 
   4220     done
   4221     ac_cv_prog_CPP=$CPP
   4222 
   4223 fi
   4224   CPP=$ac_cv_prog_CPP
   4225 else
   4226   ac_cv_prog_CPP=$CPP
   4227 fi
   4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4229 $as_echo "$CPP" >&6; }
   4230 ac_preproc_ok=false
   4231 for ac_c_preproc_warn_flag in '' yes
   4232 do
   4233   # Use a header file that comes with gcc, so configuring glibc
   4234   # with a fresh cross-compiler works.
   4235   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4236   # <limits.h> exists even on freestanding compilers.
   4237   # On the NeXT, cc -E runs the code through the compiler's parser,
   4238   # not just through cpp. "Syntax error" is here to catch this case.
   4239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4240 /* end confdefs.h.  */
   4241 #ifdef __STDC__
   4242 # include <limits.h>
   4243 #else
   4244 # include <assert.h>
   4245 #endif
   4246 		     Syntax error
   4247 _ACEOF
   4248 if ac_fn_c_try_cpp "$LINENO"; then :
   4249 
   4250 else
   4251   # Broken: fails on valid input.
   4252 continue
   4253 fi
   4254 rm -f conftest.err conftest.i conftest.$ac_ext
   4255 
   4256   # OK, works on sane cases.  Now check whether nonexistent headers
   4257   # can be detected and how.
   4258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4259 /* end confdefs.h.  */
   4260 #include <ac_nonexistent.h>
   4261 _ACEOF
   4262 if ac_fn_c_try_cpp "$LINENO"; then :
   4263   # Broken: success on invalid input.
   4264 continue
   4265 else
   4266   # Passes both tests.
   4267 ac_preproc_ok=:
   4268 break
   4269 fi
   4270 rm -f conftest.err conftest.i conftest.$ac_ext
   4271 
   4272 done
   4273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4274 rm -f conftest.i conftest.err conftest.$ac_ext
   4275 if $ac_preproc_ok; then :
   4276 
   4277 else
   4278   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4280 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4281 See \`config.log' for more details" "$LINENO" 5; }
   4282 fi
   4283 
   4284 ac_ext=c
   4285 ac_cpp='$CPP $CPPFLAGS'
   4286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4289 
   4290 
   4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4292 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4293 if ${ac_cv_path_GREP+:} false; then :
   4294   $as_echo_n "(cached) " >&6
   4295 else
   4296   if test -z "$GREP"; then
   4297   ac_path_GREP_found=false
   4298   # Loop through the user's path and test for each of PROGNAME-LIST
   4299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4301 do
   4302   IFS=$as_save_IFS
   4303   test -z "$as_dir" && as_dir=.
   4304     for ac_prog in grep ggrep; do
   4305     for ac_exec_ext in '' $ac_executable_extensions; do
   4306       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4307       as_fn_executable_p "$ac_path_GREP" || continue
   4308 # Check for GNU ac_path_GREP and select it if it is found.
   4309   # Check for GNU $ac_path_GREP
   4310 case `"$ac_path_GREP" --version 2>&1` in
   4311 *GNU*)
   4312   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4313 *)
   4314   ac_count=0
   4315   $as_echo_n 0123456789 >"conftest.in"
   4316   while :
   4317   do
   4318     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4319     mv "conftest.tmp" "conftest.in"
   4320     cp "conftest.in" "conftest.nl"
   4321     $as_echo 'GREP' >> "conftest.nl"
   4322     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4323     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4324     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4325     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4326       # Best one so far, save it but keep looking for a better one
   4327       ac_cv_path_GREP="$ac_path_GREP"
   4328       ac_path_GREP_max=$ac_count
   4329     fi
   4330     # 10*(2^10) chars as input seems more than enough
   4331     test $ac_count -gt 10 && break
   4332   done
   4333   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4334 esac
   4335 
   4336       $ac_path_GREP_found && break 3
   4337     done
   4338   done
   4339   done
   4340 IFS=$as_save_IFS
   4341   if test -z "$ac_cv_path_GREP"; then
   4342     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4343   fi
   4344 else
   4345   ac_cv_path_GREP=$GREP
   4346 fi
   4347 
   4348 fi
   4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4350 $as_echo "$ac_cv_path_GREP" >&6; }
   4351  GREP="$ac_cv_path_GREP"
   4352 
   4353 
   4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4355 $as_echo_n "checking for egrep... " >&6; }
   4356 if ${ac_cv_path_EGREP+:} false; then :
   4357   $as_echo_n "(cached) " >&6
   4358 else
   4359   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4360    then ac_cv_path_EGREP="$GREP -E"
   4361    else
   4362      if test -z "$EGREP"; then
   4363   ac_path_EGREP_found=false
   4364   # Loop through the user's path and test for each of PROGNAME-LIST
   4365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4367 do
   4368   IFS=$as_save_IFS
   4369   test -z "$as_dir" && as_dir=.
   4370     for ac_prog in egrep; do
   4371     for ac_exec_ext in '' $ac_executable_extensions; do
   4372       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4373       as_fn_executable_p "$ac_path_EGREP" || continue
   4374 # Check for GNU ac_path_EGREP and select it if it is found.
   4375   # Check for GNU $ac_path_EGREP
   4376 case `"$ac_path_EGREP" --version 2>&1` in
   4377 *GNU*)
   4378   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4379 *)
   4380   ac_count=0
   4381   $as_echo_n 0123456789 >"conftest.in"
   4382   while :
   4383   do
   4384     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4385     mv "conftest.tmp" "conftest.in"
   4386     cp "conftest.in" "conftest.nl"
   4387     $as_echo 'EGREP' >> "conftest.nl"
   4388     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4389     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4390     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4391     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4392       # Best one so far, save it but keep looking for a better one
   4393       ac_cv_path_EGREP="$ac_path_EGREP"
   4394       ac_path_EGREP_max=$ac_count
   4395     fi
   4396     # 10*(2^10) chars as input seems more than enough
   4397     test $ac_count -gt 10 && break
   4398   done
   4399   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4400 esac
   4401 
   4402       $ac_path_EGREP_found && break 3
   4403     done
   4404   done
   4405   done
   4406 IFS=$as_save_IFS
   4407   if test -z "$ac_cv_path_EGREP"; then
   4408     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4409   fi
   4410 else
   4411   ac_cv_path_EGREP=$EGREP
   4412 fi
   4413 
   4414    fi
   4415 fi
   4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4417 $as_echo "$ac_cv_path_EGREP" >&6; }
   4418  EGREP="$ac_cv_path_EGREP"
   4419 
   4420 
   4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4422 $as_echo_n "checking for ANSI C header files... " >&6; }
   4423 if ${ac_cv_header_stdc+:} false; then :
   4424   $as_echo_n "(cached) " >&6
   4425 else
   4426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4427 /* end confdefs.h.  */
   4428 #include <stdlib.h>
   4429 #include <stdarg.h>
   4430 #include <string.h>
   4431 #include <float.h>
   4432 
   4433 int
   4434 main ()
   4435 {
   4436 
   4437   ;
   4438   return 0;
   4439 }
   4440 _ACEOF
   4441 if ac_fn_c_try_compile "$LINENO"; then :
   4442   ac_cv_header_stdc=yes
   4443 else
   4444   ac_cv_header_stdc=no
   4445 fi
   4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4447 
   4448 if test $ac_cv_header_stdc = yes; then
   4449   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4451 /* end confdefs.h.  */
   4452 #include <string.h>
   4453 
   4454 _ACEOF
   4455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4456   $EGREP "memchr" >/dev/null 2>&1; then :
   4457 
   4458 else
   4459   ac_cv_header_stdc=no
   4460 fi
   4461 rm -f conftest*
   4462 
   4463 fi
   4464 
   4465 if test $ac_cv_header_stdc = yes; then
   4466   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4468 /* end confdefs.h.  */
   4469 #include <stdlib.h>
   4470 
   4471 _ACEOF
   4472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4473   $EGREP "free" >/dev/null 2>&1; then :
   4474 
   4475 else
   4476   ac_cv_header_stdc=no
   4477 fi
   4478 rm -f conftest*
   4479 
   4480 fi
   4481 
   4482 if test $ac_cv_header_stdc = yes; then
   4483   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4484   if test "$cross_compiling" = yes; then :
   4485   :
   4486 else
   4487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4488 /* end confdefs.h.  */
   4489 #include <ctype.h>
   4490 #include <stdlib.h>
   4491 #if ((' ' & 0x0FF) == 0x020)
   4492 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4493 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4494 #else
   4495 # define ISLOWER(c) \
   4496 		   (('a' <= (c) && (c) <= 'i') \
   4497 		     || ('j' <= (c) && (c) <= 'r') \
   4498 		     || ('s' <= (c) && (c) <= 'z'))
   4499 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4500 #endif
   4501 
   4502 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4503 int
   4504 main ()
   4505 {
   4506   int i;
   4507   for (i = 0; i < 256; i++)
   4508     if (XOR (islower (i), ISLOWER (i))
   4509 	|| toupper (i) != TOUPPER (i))
   4510       return 2;
   4511   return 0;
   4512 }
   4513 _ACEOF
   4514 if ac_fn_c_try_run "$LINENO"; then :
   4515 
   4516 else
   4517   ac_cv_header_stdc=no
   4518 fi
   4519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4520   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4521 fi
   4522 
   4523 fi
   4524 fi
   4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4526 $as_echo "$ac_cv_header_stdc" >&6; }
   4527 if test $ac_cv_header_stdc = yes; then
   4528 
   4529 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4530 
   4531 fi
   4532 
   4533 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4534 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4535 		  inttypes.h stdint.h unistd.h
   4536 do :
   4537   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4538 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4539 "
   4540 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4541   cat >>confdefs.h <<_ACEOF
   4542 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4543 _ACEOF
   4544 
   4545 fi
   4546 
   4547 done
   4548 
   4549 
   4550 
   4551 
   4552 
   4553 
   4554 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4555 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4556   CLANGCC="yes"
   4557 else
   4558   CLANGCC="no"
   4559 fi
   4560 
   4561 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4562 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4563   INTELCC="yes"
   4564 else
   4565   INTELCC="no"
   4566 fi
   4567 
   4568 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4569 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4570   SUNCC="yes"
   4571 else
   4572   SUNCC="no"
   4573 fi
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4584 	if test -n "$ac_tool_prefix"; then
   4585   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4586 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4588 $as_echo_n "checking for $ac_word... " >&6; }
   4589 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4590   $as_echo_n "(cached) " >&6
   4591 else
   4592   case $PKG_CONFIG in
   4593   [\\/]* | ?:[\\/]*)
   4594   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4595   ;;
   4596   *)
   4597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4598 for as_dir in $PATH
   4599 do
   4600   IFS=$as_save_IFS
   4601   test -z "$as_dir" && as_dir=.
   4602     for ac_exec_ext in '' $ac_executable_extensions; do
   4603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4604     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4606     break 2
   4607   fi
   4608 done
   4609   done
   4610 IFS=$as_save_IFS
   4611 
   4612   ;;
   4613 esac
   4614 fi
   4615 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4616 if test -n "$PKG_CONFIG"; then
   4617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4618 $as_echo "$PKG_CONFIG" >&6; }
   4619 else
   4620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4621 $as_echo "no" >&6; }
   4622 fi
   4623 
   4624 
   4625 fi
   4626 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4627   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4628   # Extract the first word of "pkg-config", so it can be a program name with args.
   4629 set dummy pkg-config; ac_word=$2
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4631 $as_echo_n "checking for $ac_word... " >&6; }
   4632 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4633   $as_echo_n "(cached) " >&6
   4634 else
   4635   case $ac_pt_PKG_CONFIG in
   4636   [\\/]* | ?:[\\/]*)
   4637   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4638   ;;
   4639   *)
   4640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4641 for as_dir in $PATH
   4642 do
   4643   IFS=$as_save_IFS
   4644   test -z "$as_dir" && as_dir=.
   4645     for ac_exec_ext in '' $ac_executable_extensions; do
   4646   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4647     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4649     break 2
   4650   fi
   4651 done
   4652   done
   4653 IFS=$as_save_IFS
   4654 
   4655   ;;
   4656 esac
   4657 fi
   4658 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4659 if test -n "$ac_pt_PKG_CONFIG"; then
   4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4661 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4662 else
   4663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4664 $as_echo "no" >&6; }
   4665 fi
   4666 
   4667   if test "x$ac_pt_PKG_CONFIG" = x; then
   4668     PKG_CONFIG=""
   4669   else
   4670     case $cross_compiling:$ac_tool_warned in
   4671 yes:)
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4674 ac_tool_warned=yes ;;
   4675 esac
   4676     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4677   fi
   4678 else
   4679   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4680 fi
   4681 
   4682 fi
   4683 if test -n "$PKG_CONFIG"; then
   4684 	_pkg_min_version=0.9.0
   4685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4686 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4687 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4689 $as_echo "yes" >&6; }
   4690 	else
   4691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4692 $as_echo "no" >&6; }
   4693 		PKG_CONFIG=""
   4694 	fi
   4695 fi
   4696 # Make sure we can run config.sub.
   4697 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4698   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4699 
   4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4701 $as_echo_n "checking build system type... " >&6; }
   4702 if ${ac_cv_build+:} false; then :
   4703   $as_echo_n "(cached) " >&6
   4704 else
   4705   ac_build_alias=$build_alias
   4706 test "x$ac_build_alias" = x &&
   4707   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4708 test "x$ac_build_alias" = x &&
   4709   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4710 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4711   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4712 
   4713 fi
   4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4715 $as_echo "$ac_cv_build" >&6; }
   4716 case $ac_cv_build in
   4717 *-*-*) ;;
   4718 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4719 esac
   4720 build=$ac_cv_build
   4721 ac_save_IFS=$IFS; IFS='-'
   4722 set x $ac_cv_build
   4723 shift
   4724 build_cpu=$1
   4725 build_vendor=$2
   4726 shift; shift
   4727 # Remember, the first character of IFS is used to create $*,
   4728 # except with old shells:
   4729 build_os=$*
   4730 IFS=$ac_save_IFS
   4731 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4732 
   4733 
   4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4735 $as_echo_n "checking host system type... " >&6; }
   4736 if ${ac_cv_host+:} false; then :
   4737   $as_echo_n "(cached) " >&6
   4738 else
   4739   if test "x$host_alias" = x; then
   4740   ac_cv_host=$ac_cv_build
   4741 else
   4742   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4743     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4744 fi
   4745 
   4746 fi
   4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4748 $as_echo "$ac_cv_host" >&6; }
   4749 case $ac_cv_host in
   4750 *-*-*) ;;
   4751 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4752 esac
   4753 host=$ac_cv_host
   4754 ac_save_IFS=$IFS; IFS='-'
   4755 set x $ac_cv_host
   4756 shift
   4757 host_cpu=$1
   4758 host_vendor=$2
   4759 shift; shift
   4760 # Remember, the first character of IFS is used to create $*,
   4761 # except with old shells:
   4762 host_os=$*
   4763 IFS=$ac_save_IFS
   4764 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4765 
   4766 
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4768 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4769 if ${ac_cv_path_SED+:} false; then :
   4770   $as_echo_n "(cached) " >&6
   4771 else
   4772             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4773      for ac_i in 1 2 3 4 5 6 7; do
   4774        ac_script="$ac_script$as_nl$ac_script"
   4775      done
   4776      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4777      { ac_script=; unset ac_script;}
   4778      if test -z "$SED"; then
   4779   ac_path_SED_found=false
   4780   # Loop through the user's path and test for each of PROGNAME-LIST
   4781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4782 for as_dir in $PATH
   4783 do
   4784   IFS=$as_save_IFS
   4785   test -z "$as_dir" && as_dir=.
   4786     for ac_prog in sed gsed; do
   4787     for ac_exec_ext in '' $ac_executable_extensions; do
   4788       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4789       as_fn_executable_p "$ac_path_SED" || continue
   4790 # Check for GNU ac_path_SED and select it if it is found.
   4791   # Check for GNU $ac_path_SED
   4792 case `"$ac_path_SED" --version 2>&1` in
   4793 *GNU*)
   4794   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4795 *)
   4796   ac_count=0
   4797   $as_echo_n 0123456789 >"conftest.in"
   4798   while :
   4799   do
   4800     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4801     mv "conftest.tmp" "conftest.in"
   4802     cp "conftest.in" "conftest.nl"
   4803     $as_echo '' >> "conftest.nl"
   4804     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4805     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4806     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4807     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4808       # Best one so far, save it but keep looking for a better one
   4809       ac_cv_path_SED="$ac_path_SED"
   4810       ac_path_SED_max=$ac_count
   4811     fi
   4812     # 10*(2^10) chars as input seems more than enough
   4813     test $ac_count -gt 10 && break
   4814   done
   4815   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4816 esac
   4817 
   4818       $ac_path_SED_found && break 3
   4819     done
   4820   done
   4821   done
   4822 IFS=$as_save_IFS
   4823   if test -z "$ac_cv_path_SED"; then
   4824     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4825   fi
   4826 else
   4827   ac_cv_path_SED=$SED
   4828 fi
   4829 
   4830 fi
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4832 $as_echo "$ac_cv_path_SED" >&6; }
   4833  SED="$ac_cv_path_SED"
   4834   rm -f conftest.sed
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 # Check whether --enable-selective-werror was given.
   4842 if test "${enable_selective_werror+set}" = set; then :
   4843   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4844 else
   4845   SELECTIVE_WERROR=yes
   4846 fi
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4853 if test "x$SUNCC" = "xyes"; then
   4854     BASE_CFLAGS="-v"
   4855 else
   4856     BASE_CFLAGS=""
   4857 fi
   4858 
   4859 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 
   4873 xorg_testset_save_CFLAGS="$CFLAGS"
   4874 
   4875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4880   $as_echo_n "(cached) " >&6
   4881 else
   4882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4883 /* end confdefs.h.  */
   4884 int i;
   4885 _ACEOF
   4886 if ac_fn_c_try_compile "$LINENO"; then :
   4887   xorg_cv_cc_flag_unknown_warning_option=yes
   4888 else
   4889   xorg_cv_cc_flag_unknown_warning_option=no
   4890 fi
   4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4892 fi
   4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4896 	CFLAGS="$xorg_testset_save_CFLAGS"
   4897 fi
   4898 
   4899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4902 	fi
   4903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4907   $as_echo_n "(cached) " >&6
   4908 else
   4909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4910 /* end confdefs.h.  */
   4911 int i;
   4912 _ACEOF
   4913 if ac_fn_c_try_compile "$LINENO"; then :
   4914   xorg_cv_cc_flag_unused_command_line_argument=yes
   4915 else
   4916   xorg_cv_cc_flag_unused_command_line_argument=no
   4917 fi
   4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4919 fi
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4923 	CFLAGS="$xorg_testset_save_CFLAGS"
   4924 fi
   4925 
   4926 found="no"
   4927 
   4928 	if test $found = "no" ; then
   4929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4931 		fi
   4932 
   4933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4935 		fi
   4936 
   4937 		CFLAGS="$CFLAGS -Wall"
   4938 
   4939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4940 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4941 		cacheid=xorg_cv_cc_flag__Wall
   4942 		if eval \${$cacheid+:} false; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4946 /* end confdefs.h.  */
   4947 int i;
   4948 int
   4949 main ()
   4950 {
   4951 
   4952   ;
   4953   return 0;
   4954 }
   4955 _ACEOF
   4956 if ac_fn_c_try_link "$LINENO"; then :
   4957   eval $cacheid=yes
   4958 else
   4959   eval $cacheid=no
   4960 fi
   4961 rm -f core conftest.err conftest.$ac_objext \
   4962     conftest$ac_exeext conftest.$ac_ext
   4963 fi
   4964 
   4965 
   4966 		CFLAGS="$xorg_testset_save_CFLAGS"
   4967 
   4968 		eval supported=\$$cacheid
   4969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4970 $as_echo "$supported" >&6; }
   4971 		if test "$supported" = "yes" ; then
   4972 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4973 			found="yes"
   4974 		fi
   4975 	fi
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 xorg_testset_save_CFLAGS="$CFLAGS"
   4992 
   4993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4998   $as_echo_n "(cached) " >&6
   4999 else
   5000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5001 /* end confdefs.h.  */
   5002 int i;
   5003 _ACEOF
   5004 if ac_fn_c_try_compile "$LINENO"; then :
   5005   xorg_cv_cc_flag_unknown_warning_option=yes
   5006 else
   5007   xorg_cv_cc_flag_unknown_warning_option=no
   5008 fi
   5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5010 fi
   5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5014 	CFLAGS="$xorg_testset_save_CFLAGS"
   5015 fi
   5016 
   5017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5020 	fi
   5021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5025   $as_echo_n "(cached) " >&6
   5026 else
   5027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5028 /* end confdefs.h.  */
   5029 int i;
   5030 _ACEOF
   5031 if ac_fn_c_try_compile "$LINENO"; then :
   5032   xorg_cv_cc_flag_unused_command_line_argument=yes
   5033 else
   5034   xorg_cv_cc_flag_unused_command_line_argument=no
   5035 fi
   5036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5037 fi
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5041 	CFLAGS="$xorg_testset_save_CFLAGS"
   5042 fi
   5043 
   5044 found="no"
   5045 
   5046 	if test $found = "no" ; then
   5047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5049 		fi
   5050 
   5051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5053 		fi
   5054 
   5055 		CFLAGS="$CFLAGS -Wpointer-arith"
   5056 
   5057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5058 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5059 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5060 		if eval \${$cacheid+:} false; then :
   5061   $as_echo_n "(cached) " >&6
   5062 else
   5063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 int
   5067 main ()
   5068 {
   5069 
   5070   ;
   5071   return 0;
   5072 }
   5073 _ACEOF
   5074 if ac_fn_c_try_link "$LINENO"; then :
   5075   eval $cacheid=yes
   5076 else
   5077   eval $cacheid=no
   5078 fi
   5079 rm -f core conftest.err conftest.$ac_objext \
   5080     conftest$ac_exeext conftest.$ac_ext
   5081 fi
   5082 
   5083 
   5084 		CFLAGS="$xorg_testset_save_CFLAGS"
   5085 
   5086 		eval supported=\$$cacheid
   5087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5088 $as_echo "$supported" >&6; }
   5089 		if test "$supported" = "yes" ; then
   5090 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5091 			found="yes"
   5092 		fi
   5093 	fi
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 xorg_testset_save_CFLAGS="$CFLAGS"
   5110 
   5111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5119 /* end confdefs.h.  */
   5120 int i;
   5121 _ACEOF
   5122 if ac_fn_c_try_compile "$LINENO"; then :
   5123   xorg_cv_cc_flag_unknown_warning_option=yes
   5124 else
   5125   xorg_cv_cc_flag_unknown_warning_option=no
   5126 fi
   5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5128 fi
   5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5132 	CFLAGS="$xorg_testset_save_CFLAGS"
   5133 fi
   5134 
   5135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 	fi
   5139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5143   $as_echo_n "(cached) " >&6
   5144 else
   5145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5146 /* end confdefs.h.  */
   5147 int i;
   5148 _ACEOF
   5149 if ac_fn_c_try_compile "$LINENO"; then :
   5150   xorg_cv_cc_flag_unused_command_line_argument=yes
   5151 else
   5152   xorg_cv_cc_flag_unused_command_line_argument=no
   5153 fi
   5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5155 fi
   5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5159 	CFLAGS="$xorg_testset_save_CFLAGS"
   5160 fi
   5161 
   5162 found="no"
   5163 
   5164 	if test $found = "no" ; then
   5165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5167 		fi
   5168 
   5169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5171 		fi
   5172 
   5173 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5174 
   5175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5176 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5177 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5178 		if eval \${$cacheid+:} false; then :
   5179   $as_echo_n "(cached) " >&6
   5180 else
   5181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5182 /* end confdefs.h.  */
   5183 int i;
   5184 int
   5185 main ()
   5186 {
   5187 
   5188   ;
   5189   return 0;
   5190 }
   5191 _ACEOF
   5192 if ac_fn_c_try_link "$LINENO"; then :
   5193   eval $cacheid=yes
   5194 else
   5195   eval $cacheid=no
   5196 fi
   5197 rm -f core conftest.err conftest.$ac_objext \
   5198     conftest$ac_exeext conftest.$ac_ext
   5199 fi
   5200 
   5201 
   5202 		CFLAGS="$xorg_testset_save_CFLAGS"
   5203 
   5204 		eval supported=\$$cacheid
   5205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5206 $as_echo "$supported" >&6; }
   5207 		if test "$supported" = "yes" ; then
   5208 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5209 			found="yes"
   5210 		fi
   5211 	fi
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 xorg_testset_save_CFLAGS="$CFLAGS"
   5228 
   5229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5234   $as_echo_n "(cached) " >&6
   5235 else
   5236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5237 /* end confdefs.h.  */
   5238 int i;
   5239 _ACEOF
   5240 if ac_fn_c_try_compile "$LINENO"; then :
   5241   xorg_cv_cc_flag_unknown_warning_option=yes
   5242 else
   5243   xorg_cv_cc_flag_unknown_warning_option=no
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5246 fi
   5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5250 	CFLAGS="$xorg_testset_save_CFLAGS"
   5251 fi
   5252 
   5253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5256 	fi
   5257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5261   $as_echo_n "(cached) " >&6
   5262 else
   5263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5264 /* end confdefs.h.  */
   5265 int i;
   5266 _ACEOF
   5267 if ac_fn_c_try_compile "$LINENO"; then :
   5268   xorg_cv_cc_flag_unused_command_line_argument=yes
   5269 else
   5270   xorg_cv_cc_flag_unused_command_line_argument=no
   5271 fi
   5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5273 fi
   5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5277 	CFLAGS="$xorg_testset_save_CFLAGS"
   5278 fi
   5279 
   5280 found="no"
   5281 
   5282 	if test $found = "no" ; then
   5283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5285 		fi
   5286 
   5287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5289 		fi
   5290 
   5291 		CFLAGS="$CFLAGS -Wformat=2"
   5292 
   5293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5294 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5295 		cacheid=xorg_cv_cc_flag__Wformat_2
   5296 		if eval \${$cacheid+:} false; then :
   5297   $as_echo_n "(cached) " >&6
   5298 else
   5299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5300 /* end confdefs.h.  */
   5301 int i;
   5302 int
   5303 main ()
   5304 {
   5305 
   5306   ;
   5307   return 0;
   5308 }
   5309 _ACEOF
   5310 if ac_fn_c_try_link "$LINENO"; then :
   5311   eval $cacheid=yes
   5312 else
   5313   eval $cacheid=no
   5314 fi
   5315 rm -f core conftest.err conftest.$ac_objext \
   5316     conftest$ac_exeext conftest.$ac_ext
   5317 fi
   5318 
   5319 
   5320 		CFLAGS="$xorg_testset_save_CFLAGS"
   5321 
   5322 		eval supported=\$$cacheid
   5323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5324 $as_echo "$supported" >&6; }
   5325 		if test "$supported" = "yes" ; then
   5326 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5327 			found="yes"
   5328 		fi
   5329 	fi
   5330 
   5331 	if test $found = "no" ; then
   5332 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5333 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5334 		fi
   5335 
   5336 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5337 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5338 		fi
   5339 
   5340 		CFLAGS="$CFLAGS -Wformat"
   5341 
   5342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5343 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5344 		cacheid=xorg_cv_cc_flag__Wformat
   5345 		if eval \${$cacheid+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5349 /* end confdefs.h.  */
   5350 int i;
   5351 int
   5352 main ()
   5353 {
   5354 
   5355   ;
   5356   return 0;
   5357 }
   5358 _ACEOF
   5359 if ac_fn_c_try_link "$LINENO"; then :
   5360   eval $cacheid=yes
   5361 else
   5362   eval $cacheid=no
   5363 fi
   5364 rm -f core conftest.err conftest.$ac_objext \
   5365     conftest$ac_exeext conftest.$ac_ext
   5366 fi
   5367 
   5368 
   5369 		CFLAGS="$xorg_testset_save_CFLAGS"
   5370 
   5371 		eval supported=\$$cacheid
   5372 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5373 $as_echo "$supported" >&6; }
   5374 		if test "$supported" = "yes" ; then
   5375 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5376 			found="yes"
   5377 		fi
   5378 	fi
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 xorg_testset_save_CFLAGS="$CFLAGS"
   5397 
   5398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5401 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5402 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5403   $as_echo_n "(cached) " >&6
   5404 else
   5405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5406 /* end confdefs.h.  */
   5407 int i;
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"; then :
   5410   xorg_cv_cc_flag_unknown_warning_option=yes
   5411 else
   5412   xorg_cv_cc_flag_unknown_warning_option=no
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5415 fi
   5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5417 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5419 	CFLAGS="$xorg_testset_save_CFLAGS"
   5420 fi
   5421 
   5422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5425 	fi
   5426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5428 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5429 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5430   $as_echo_n "(cached) " >&6
   5431 else
   5432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5433 /* end confdefs.h.  */
   5434 int i;
   5435 _ACEOF
   5436 if ac_fn_c_try_compile "$LINENO"; then :
   5437   xorg_cv_cc_flag_unused_command_line_argument=yes
   5438 else
   5439   xorg_cv_cc_flag_unused_command_line_argument=no
   5440 fi
   5441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5442 fi
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5444 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5446 	CFLAGS="$xorg_testset_save_CFLAGS"
   5447 fi
   5448 
   5449 found="no"
   5450 
   5451 	if test $found = "no" ; then
   5452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 		fi
   5455 
   5456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5458 		fi
   5459 
   5460 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5461 
   5462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5463 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5464 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5465 		if eval \${$cacheid+:} false; then :
   5466   $as_echo_n "(cached) " >&6
   5467 else
   5468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5469 /* end confdefs.h.  */
   5470 int i;
   5471 int
   5472 main ()
   5473 {
   5474 
   5475   ;
   5476   return 0;
   5477 }
   5478 _ACEOF
   5479 if ac_fn_c_try_link "$LINENO"; then :
   5480   eval $cacheid=yes
   5481 else
   5482   eval $cacheid=no
   5483 fi
   5484 rm -f core conftest.err conftest.$ac_objext \
   5485     conftest$ac_exeext conftest.$ac_ext
   5486 fi
   5487 
   5488 
   5489 		CFLAGS="$xorg_testset_save_CFLAGS"
   5490 
   5491 		eval supported=\$$cacheid
   5492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5493 $as_echo "$supported" >&6; }
   5494 		if test "$supported" = "yes" ; then
   5495 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5496 			found="yes"
   5497 		fi
   5498 	fi
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 xorg_testset_save_CFLAGS="$CFLAGS"
   5515 
   5516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5519 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5520 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5521   $as_echo_n "(cached) " >&6
   5522 else
   5523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 int i;
   5526 _ACEOF
   5527 if ac_fn_c_try_compile "$LINENO"; then :
   5528   xorg_cv_cc_flag_unknown_warning_option=yes
   5529 else
   5530   xorg_cv_cc_flag_unknown_warning_option=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5533 fi
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5535 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5537 	CFLAGS="$xorg_testset_save_CFLAGS"
   5538 fi
   5539 
   5540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5543 	fi
   5544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5546 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5547 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5548   $as_echo_n "(cached) " >&6
   5549 else
   5550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5551 /* end confdefs.h.  */
   5552 int i;
   5553 _ACEOF
   5554 if ac_fn_c_try_compile "$LINENO"; then :
   5555   xorg_cv_cc_flag_unused_command_line_argument=yes
   5556 else
   5557   xorg_cv_cc_flag_unused_command_line_argument=no
   5558 fi
   5559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5562 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5564 	CFLAGS="$xorg_testset_save_CFLAGS"
   5565 fi
   5566 
   5567 found="no"
   5568 
   5569 	if test $found = "no" ; then
   5570 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 		fi
   5573 
   5574 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5576 		fi
   5577 
   5578 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5579 
   5580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5581 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5582 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5583 		if eval \${$cacheid+:} false; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5587 /* end confdefs.h.  */
   5588 int i;
   5589 int
   5590 main ()
   5591 {
   5592 
   5593   ;
   5594   return 0;
   5595 }
   5596 _ACEOF
   5597 if ac_fn_c_try_link "$LINENO"; then :
   5598   eval $cacheid=yes
   5599 else
   5600   eval $cacheid=no
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext \
   5603     conftest$ac_exeext conftest.$ac_ext
   5604 fi
   5605 
   5606 
   5607 		CFLAGS="$xorg_testset_save_CFLAGS"
   5608 
   5609 		eval supported=\$$cacheid
   5610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5611 $as_echo "$supported" >&6; }
   5612 		if test "$supported" = "yes" ; then
   5613 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5614 			found="yes"
   5615 		fi
   5616 	fi
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 xorg_testset_save_CFLAGS="$CFLAGS"
   5633 
   5634 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5635 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5637 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5638 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5639   $as_echo_n "(cached) " >&6
   5640 else
   5641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5642 /* end confdefs.h.  */
   5643 int i;
   5644 _ACEOF
   5645 if ac_fn_c_try_compile "$LINENO"; then :
   5646   xorg_cv_cc_flag_unknown_warning_option=yes
   5647 else
   5648   xorg_cv_cc_flag_unknown_warning_option=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5651 fi
   5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5653 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5655 	CFLAGS="$xorg_testset_save_CFLAGS"
   5656 fi
   5657 
   5658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 	fi
   5662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5664 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5665 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5666   $as_echo_n "(cached) " >&6
   5667 else
   5668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5669 /* end confdefs.h.  */
   5670 int i;
   5671 _ACEOF
   5672 if ac_fn_c_try_compile "$LINENO"; then :
   5673   xorg_cv_cc_flag_unused_command_line_argument=yes
   5674 else
   5675   xorg_cv_cc_flag_unused_command_line_argument=no
   5676 fi
   5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5678 fi
   5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5680 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5681 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5682 	CFLAGS="$xorg_testset_save_CFLAGS"
   5683 fi
   5684 
   5685 found="no"
   5686 
   5687 	if test $found = "no" ; then
   5688 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5689 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5690 		fi
   5691 
   5692 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5694 		fi
   5695 
   5696 		CFLAGS="$CFLAGS -Wnested-externs"
   5697 
   5698 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5699 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5700 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5701 		if eval \${$cacheid+:} false; then :
   5702   $as_echo_n "(cached) " >&6
   5703 else
   5704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5705 /* end confdefs.h.  */
   5706 int i;
   5707 int
   5708 main ()
   5709 {
   5710 
   5711   ;
   5712   return 0;
   5713 }
   5714 _ACEOF
   5715 if ac_fn_c_try_link "$LINENO"; then :
   5716   eval $cacheid=yes
   5717 else
   5718   eval $cacheid=no
   5719 fi
   5720 rm -f core conftest.err conftest.$ac_objext \
   5721     conftest$ac_exeext conftest.$ac_ext
   5722 fi
   5723 
   5724 
   5725 		CFLAGS="$xorg_testset_save_CFLAGS"
   5726 
   5727 		eval supported=\$$cacheid
   5728 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5729 $as_echo "$supported" >&6; }
   5730 		if test "$supported" = "yes" ; then
   5731 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5732 			found="yes"
   5733 		fi
   5734 	fi
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 xorg_testset_save_CFLAGS="$CFLAGS"
   5751 
   5752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5755 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5756 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5757   $as_echo_n "(cached) " >&6
   5758 else
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 _ACEOF
   5763 if ac_fn_c_try_compile "$LINENO"; then :
   5764   xorg_cv_cc_flag_unknown_warning_option=yes
   5765 else
   5766   xorg_cv_cc_flag_unknown_warning_option=no
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5769 fi
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5771 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5772 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5773 	CFLAGS="$xorg_testset_save_CFLAGS"
   5774 fi
   5775 
   5776 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5777 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5779 	fi
   5780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5782 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5783 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5784   $as_echo_n "(cached) " >&6
   5785 else
   5786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5787 /* end confdefs.h.  */
   5788 int i;
   5789 _ACEOF
   5790 if ac_fn_c_try_compile "$LINENO"; then :
   5791   xorg_cv_cc_flag_unused_command_line_argument=yes
   5792 else
   5793   xorg_cv_cc_flag_unused_command_line_argument=no
   5794 fi
   5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5796 fi
   5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5798 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5800 	CFLAGS="$xorg_testset_save_CFLAGS"
   5801 fi
   5802 
   5803 found="no"
   5804 
   5805 	if test $found = "no" ; then
   5806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 		fi
   5809 
   5810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5812 		fi
   5813 
   5814 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5815 
   5816 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5817 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5818 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5819 		if eval \${$cacheid+:} false; then :
   5820   $as_echo_n "(cached) " >&6
   5821 else
   5822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5823 /* end confdefs.h.  */
   5824 int i;
   5825 int
   5826 main ()
   5827 {
   5828 
   5829   ;
   5830   return 0;
   5831 }
   5832 _ACEOF
   5833 if ac_fn_c_try_link "$LINENO"; then :
   5834   eval $cacheid=yes
   5835 else
   5836   eval $cacheid=no
   5837 fi
   5838 rm -f core conftest.err conftest.$ac_objext \
   5839     conftest$ac_exeext conftest.$ac_ext
   5840 fi
   5841 
   5842 
   5843 		CFLAGS="$xorg_testset_save_CFLAGS"
   5844 
   5845 		eval supported=\$$cacheid
   5846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5847 $as_echo "$supported" >&6; }
   5848 		if test "$supported" = "yes" ; then
   5849 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5850 			found="yes"
   5851 		fi
   5852 	fi
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 xorg_testset_save_CFLAGS="$CFLAGS"
   5869 
   5870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5873 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5874 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5875   $as_echo_n "(cached) " >&6
   5876 else
   5877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5878 /* end confdefs.h.  */
   5879 int i;
   5880 _ACEOF
   5881 if ac_fn_c_try_compile "$LINENO"; then :
   5882   xorg_cv_cc_flag_unknown_warning_option=yes
   5883 else
   5884   xorg_cv_cc_flag_unknown_warning_option=no
   5885 fi
   5886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5887 fi
   5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5889 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5891 	CFLAGS="$xorg_testset_save_CFLAGS"
   5892 fi
   5893 
   5894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5897 	fi
   5898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5900 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5901 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5902   $as_echo_n "(cached) " >&6
   5903 else
   5904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5905 /* end confdefs.h.  */
   5906 int i;
   5907 _ACEOF
   5908 if ac_fn_c_try_compile "$LINENO"; then :
   5909   xorg_cv_cc_flag_unused_command_line_argument=yes
   5910 else
   5911   xorg_cv_cc_flag_unused_command_line_argument=no
   5912 fi
   5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5914 fi
   5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5916 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5917 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5918 	CFLAGS="$xorg_testset_save_CFLAGS"
   5919 fi
   5920 
   5921 found="no"
   5922 
   5923 	if test $found = "no" ; then
   5924 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5925 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5926 		fi
   5927 
   5928 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5929 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5930 		fi
   5931 
   5932 		CFLAGS="$CFLAGS -Wold-style-definition"
   5933 
   5934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5935 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5936 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5937 		if eval \${$cacheid+:} false; then :
   5938   $as_echo_n "(cached) " >&6
   5939 else
   5940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5941 /* end confdefs.h.  */
   5942 int i;
   5943 int
   5944 main ()
   5945 {
   5946 
   5947   ;
   5948   return 0;
   5949 }
   5950 _ACEOF
   5951 if ac_fn_c_try_link "$LINENO"; then :
   5952   eval $cacheid=yes
   5953 else
   5954   eval $cacheid=no
   5955 fi
   5956 rm -f core conftest.err conftest.$ac_objext \
   5957     conftest$ac_exeext conftest.$ac_ext
   5958 fi
   5959 
   5960 
   5961 		CFLAGS="$xorg_testset_save_CFLAGS"
   5962 
   5963 		eval supported=\$$cacheid
   5964 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5965 $as_echo "$supported" >&6; }
   5966 		if test "$supported" = "yes" ; then
   5967 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5968 			found="yes"
   5969 		fi
   5970 	fi
   5971 
   5972 	if test $found = "no" ; then
   5973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5975 		fi
   5976 
   5977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5979 		fi
   5980 
   5981 		CFLAGS="$CFLAGS -fd"
   5982 
   5983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5984 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5985 		cacheid=xorg_cv_cc_flag__fd
   5986 		if eval \${$cacheid+:} false; then :
   5987   $as_echo_n "(cached) " >&6
   5988 else
   5989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5990 /* end confdefs.h.  */
   5991 int i;
   5992 int
   5993 main ()
   5994 {
   5995 
   5996   ;
   5997   return 0;
   5998 }
   5999 _ACEOF
   6000 if ac_fn_c_try_link "$LINENO"; then :
   6001   eval $cacheid=yes
   6002 else
   6003   eval $cacheid=no
   6004 fi
   6005 rm -f core conftest.err conftest.$ac_objext \
   6006     conftest$ac_exeext conftest.$ac_ext
   6007 fi
   6008 
   6009 
   6010 		CFLAGS="$xorg_testset_save_CFLAGS"
   6011 
   6012 		eval supported=\$$cacheid
   6013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6014 $as_echo "$supported" >&6; }
   6015 		if test "$supported" = "yes" ; then
   6016 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6017 			found="yes"
   6018 		fi
   6019 	fi
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 xorg_testset_save_CFLAGS="$CFLAGS"
   6036 
   6037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6042   $as_echo_n "(cached) " >&6
   6043 else
   6044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6045 /* end confdefs.h.  */
   6046 int i;
   6047 _ACEOF
   6048 if ac_fn_c_try_compile "$LINENO"; then :
   6049   xorg_cv_cc_flag_unknown_warning_option=yes
   6050 else
   6051   xorg_cv_cc_flag_unknown_warning_option=no
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6054 fi
   6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6058 	CFLAGS="$xorg_testset_save_CFLAGS"
   6059 fi
   6060 
   6061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6064 	fi
   6065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6069   $as_echo_n "(cached) " >&6
   6070 else
   6071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6072 /* end confdefs.h.  */
   6073 int i;
   6074 _ACEOF
   6075 if ac_fn_c_try_compile "$LINENO"; then :
   6076   xorg_cv_cc_flag_unused_command_line_argument=yes
   6077 else
   6078   xorg_cv_cc_flag_unused_command_line_argument=no
   6079 fi
   6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6081 fi
   6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6085 	CFLAGS="$xorg_testset_save_CFLAGS"
   6086 fi
   6087 
   6088 found="no"
   6089 
   6090 	if test $found = "no" ; then
   6091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6093 		fi
   6094 
   6095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6097 		fi
   6098 
   6099 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6100 
   6101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6102 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6103 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6104 		if eval \${$cacheid+:} false; then :
   6105   $as_echo_n "(cached) " >&6
   6106 else
   6107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6108 /* end confdefs.h.  */
   6109 int i;
   6110 int
   6111 main ()
   6112 {
   6113 
   6114   ;
   6115   return 0;
   6116 }
   6117 _ACEOF
   6118 if ac_fn_c_try_link "$LINENO"; then :
   6119   eval $cacheid=yes
   6120 else
   6121   eval $cacheid=no
   6122 fi
   6123 rm -f core conftest.err conftest.$ac_objext \
   6124     conftest$ac_exeext conftest.$ac_ext
   6125 fi
   6126 
   6127 
   6128 		CFLAGS="$xorg_testset_save_CFLAGS"
   6129 
   6130 		eval supported=\$$cacheid
   6131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6132 $as_echo "$supported" >&6; }
   6133 		if test "$supported" = "yes" ; then
   6134 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6135 			found="yes"
   6136 		fi
   6137 	fi
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 # This chunk adds additional warnings that could catch undesired effects.
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 xorg_testset_save_CFLAGS="$CFLAGS"
   6158 
   6159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6164   $as_echo_n "(cached) " >&6
   6165 else
   6166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6167 /* end confdefs.h.  */
   6168 int i;
   6169 _ACEOF
   6170 if ac_fn_c_try_compile "$LINENO"; then :
   6171   xorg_cv_cc_flag_unknown_warning_option=yes
   6172 else
   6173   xorg_cv_cc_flag_unknown_warning_option=no
   6174 fi
   6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6176 fi
   6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6180 	CFLAGS="$xorg_testset_save_CFLAGS"
   6181 fi
   6182 
   6183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6186 	fi
   6187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6191   $as_echo_n "(cached) " >&6
   6192 else
   6193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6194 /* end confdefs.h.  */
   6195 int i;
   6196 _ACEOF
   6197 if ac_fn_c_try_compile "$LINENO"; then :
   6198   xorg_cv_cc_flag_unused_command_line_argument=yes
   6199 else
   6200   xorg_cv_cc_flag_unused_command_line_argument=no
   6201 fi
   6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6203 fi
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6207 	CFLAGS="$xorg_testset_save_CFLAGS"
   6208 fi
   6209 
   6210 found="no"
   6211 
   6212 	if test $found = "no" ; then
   6213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6215 		fi
   6216 
   6217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6219 		fi
   6220 
   6221 		CFLAGS="$CFLAGS -Wunused"
   6222 
   6223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6224 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6225 		cacheid=xorg_cv_cc_flag__Wunused
   6226 		if eval \${$cacheid+:} false; then :
   6227   $as_echo_n "(cached) " >&6
   6228 else
   6229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6230 /* end confdefs.h.  */
   6231 int i;
   6232 int
   6233 main ()
   6234 {
   6235 
   6236   ;
   6237   return 0;
   6238 }
   6239 _ACEOF
   6240 if ac_fn_c_try_link "$LINENO"; then :
   6241   eval $cacheid=yes
   6242 else
   6243   eval $cacheid=no
   6244 fi
   6245 rm -f core conftest.err conftest.$ac_objext \
   6246     conftest$ac_exeext conftest.$ac_ext
   6247 fi
   6248 
   6249 
   6250 		CFLAGS="$xorg_testset_save_CFLAGS"
   6251 
   6252 		eval supported=\$$cacheid
   6253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6254 $as_echo "$supported" >&6; }
   6255 		if test "$supported" = "yes" ; then
   6256 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6257 			found="yes"
   6258 		fi
   6259 	fi
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 xorg_testset_save_CFLAGS="$CFLAGS"
   6276 
   6277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6282   $as_echo_n "(cached) " >&6
   6283 else
   6284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6285 /* end confdefs.h.  */
   6286 int i;
   6287 _ACEOF
   6288 if ac_fn_c_try_compile "$LINENO"; then :
   6289   xorg_cv_cc_flag_unknown_warning_option=yes
   6290 else
   6291   xorg_cv_cc_flag_unknown_warning_option=no
   6292 fi
   6293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6294 fi
   6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6298 	CFLAGS="$xorg_testset_save_CFLAGS"
   6299 fi
   6300 
   6301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 	fi
   6305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6309   $as_echo_n "(cached) " >&6
   6310 else
   6311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6312 /* end confdefs.h.  */
   6313 int i;
   6314 _ACEOF
   6315 if ac_fn_c_try_compile "$LINENO"; then :
   6316   xorg_cv_cc_flag_unused_command_line_argument=yes
   6317 else
   6318   xorg_cv_cc_flag_unused_command_line_argument=no
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6321 fi
   6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 found="no"
   6329 
   6330 	if test $found = "no" ; then
   6331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6333 		fi
   6334 
   6335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6337 		fi
   6338 
   6339 		CFLAGS="$CFLAGS -Wuninitialized"
   6340 
   6341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6342 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6343 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6344 		if eval \${$cacheid+:} false; then :
   6345   $as_echo_n "(cached) " >&6
   6346 else
   6347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6348 /* end confdefs.h.  */
   6349 int i;
   6350 int
   6351 main ()
   6352 {
   6353 
   6354   ;
   6355   return 0;
   6356 }
   6357 _ACEOF
   6358 if ac_fn_c_try_link "$LINENO"; then :
   6359   eval $cacheid=yes
   6360 else
   6361   eval $cacheid=no
   6362 fi
   6363 rm -f core conftest.err conftest.$ac_objext \
   6364     conftest$ac_exeext conftest.$ac_ext
   6365 fi
   6366 
   6367 
   6368 		CFLAGS="$xorg_testset_save_CFLAGS"
   6369 
   6370 		eval supported=\$$cacheid
   6371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6372 $as_echo "$supported" >&6; }
   6373 		if test "$supported" = "yes" ; then
   6374 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6375 			found="yes"
   6376 		fi
   6377 	fi
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 xorg_testset_save_CFLAGS="$CFLAGS"
   6394 
   6395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6400   $as_echo_n "(cached) " >&6
   6401 else
   6402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6403 /* end confdefs.h.  */
   6404 int i;
   6405 _ACEOF
   6406 if ac_fn_c_try_compile "$LINENO"; then :
   6407   xorg_cv_cc_flag_unknown_warning_option=yes
   6408 else
   6409   xorg_cv_cc_flag_unknown_warning_option=no
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6412 fi
   6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6416 	CFLAGS="$xorg_testset_save_CFLAGS"
   6417 fi
   6418 
   6419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6422 	fi
   6423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6427   $as_echo_n "(cached) " >&6
   6428 else
   6429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6430 /* end confdefs.h.  */
   6431 int i;
   6432 _ACEOF
   6433 if ac_fn_c_try_compile "$LINENO"; then :
   6434   xorg_cv_cc_flag_unused_command_line_argument=yes
   6435 else
   6436   xorg_cv_cc_flag_unused_command_line_argument=no
   6437 fi
   6438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6439 fi
   6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6443 	CFLAGS="$xorg_testset_save_CFLAGS"
   6444 fi
   6445 
   6446 found="no"
   6447 
   6448 	if test $found = "no" ; then
   6449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6451 		fi
   6452 
   6453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6455 		fi
   6456 
   6457 		CFLAGS="$CFLAGS -Wshadow"
   6458 
   6459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6460 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6461 		cacheid=xorg_cv_cc_flag__Wshadow
   6462 		if eval \${$cacheid+:} false; then :
   6463   $as_echo_n "(cached) " >&6
   6464 else
   6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 int i;
   6468 int
   6469 main ()
   6470 {
   6471 
   6472   ;
   6473   return 0;
   6474 }
   6475 _ACEOF
   6476 if ac_fn_c_try_link "$LINENO"; then :
   6477   eval $cacheid=yes
   6478 else
   6479   eval $cacheid=no
   6480 fi
   6481 rm -f core conftest.err conftest.$ac_objext \
   6482     conftest$ac_exeext conftest.$ac_ext
   6483 fi
   6484 
   6485 
   6486 		CFLAGS="$xorg_testset_save_CFLAGS"
   6487 
   6488 		eval supported=\$$cacheid
   6489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6490 $as_echo "$supported" >&6; }
   6491 		if test "$supported" = "yes" ; then
   6492 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6493 			found="yes"
   6494 		fi
   6495 	fi
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 xorg_testset_save_CFLAGS="$CFLAGS"
   6512 
   6513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6518   $as_echo_n "(cached) " >&6
   6519 else
   6520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6521 /* end confdefs.h.  */
   6522 int i;
   6523 _ACEOF
   6524 if ac_fn_c_try_compile "$LINENO"; then :
   6525   xorg_cv_cc_flag_unknown_warning_option=yes
   6526 else
   6527   xorg_cv_cc_flag_unknown_warning_option=no
   6528 fi
   6529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6530 fi
   6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6534 	CFLAGS="$xorg_testset_save_CFLAGS"
   6535 fi
   6536 
   6537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6540 	fi
   6541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6545   $as_echo_n "(cached) " >&6
   6546 else
   6547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6548 /* end confdefs.h.  */
   6549 int i;
   6550 _ACEOF
   6551 if ac_fn_c_try_compile "$LINENO"; then :
   6552   xorg_cv_cc_flag_unused_command_line_argument=yes
   6553 else
   6554   xorg_cv_cc_flag_unused_command_line_argument=no
   6555 fi
   6556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6557 fi
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6561 	CFLAGS="$xorg_testset_save_CFLAGS"
   6562 fi
   6563 
   6564 found="no"
   6565 
   6566 	if test $found = "no" ; then
   6567 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6569 		fi
   6570 
   6571 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6573 		fi
   6574 
   6575 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6576 
   6577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6578 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6579 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6580 		if eval \${$cacheid+:} false; then :
   6581   $as_echo_n "(cached) " >&6
   6582 else
   6583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6584 /* end confdefs.h.  */
   6585 int i;
   6586 int
   6587 main ()
   6588 {
   6589 
   6590   ;
   6591   return 0;
   6592 }
   6593 _ACEOF
   6594 if ac_fn_c_try_link "$LINENO"; then :
   6595   eval $cacheid=yes
   6596 else
   6597   eval $cacheid=no
   6598 fi
   6599 rm -f core conftest.err conftest.$ac_objext \
   6600     conftest$ac_exeext conftest.$ac_ext
   6601 fi
   6602 
   6603 
   6604 		CFLAGS="$xorg_testset_save_CFLAGS"
   6605 
   6606 		eval supported=\$$cacheid
   6607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6608 $as_echo "$supported" >&6; }
   6609 		if test "$supported" = "yes" ; then
   6610 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6611 			found="yes"
   6612 		fi
   6613 	fi
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 xorg_testset_save_CFLAGS="$CFLAGS"
   6630 
   6631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6634 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6635 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6639 /* end confdefs.h.  */
   6640 int i;
   6641 _ACEOF
   6642 if ac_fn_c_try_compile "$LINENO"; then :
   6643   xorg_cv_cc_flag_unknown_warning_option=yes
   6644 else
   6645   xorg_cv_cc_flag_unknown_warning_option=no
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6648 fi
   6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6650 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6652 	CFLAGS="$xorg_testset_save_CFLAGS"
   6653 fi
   6654 
   6655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6658 	fi
   6659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6661 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6662 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6663   $as_echo_n "(cached) " >&6
   6664 else
   6665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6666 /* end confdefs.h.  */
   6667 int i;
   6668 _ACEOF
   6669 if ac_fn_c_try_compile "$LINENO"; then :
   6670   xorg_cv_cc_flag_unused_command_line_argument=yes
   6671 else
   6672   xorg_cv_cc_flag_unused_command_line_argument=no
   6673 fi
   6674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6675 fi
   6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6677 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6679 	CFLAGS="$xorg_testset_save_CFLAGS"
   6680 fi
   6681 
   6682 found="no"
   6683 
   6684 	if test $found = "no" ; then
   6685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6687 		fi
   6688 
   6689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6691 		fi
   6692 
   6693 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6694 
   6695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6696 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6697 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6698 		if eval \${$cacheid+:} false; then :
   6699   $as_echo_n "(cached) " >&6
   6700 else
   6701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6702 /* end confdefs.h.  */
   6703 int i;
   6704 int
   6705 main ()
   6706 {
   6707 
   6708   ;
   6709   return 0;
   6710 }
   6711 _ACEOF
   6712 if ac_fn_c_try_link "$LINENO"; then :
   6713   eval $cacheid=yes
   6714 else
   6715   eval $cacheid=no
   6716 fi
   6717 rm -f core conftest.err conftest.$ac_objext \
   6718     conftest$ac_exeext conftest.$ac_ext
   6719 fi
   6720 
   6721 
   6722 		CFLAGS="$xorg_testset_save_CFLAGS"
   6723 
   6724 		eval supported=\$$cacheid
   6725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6726 $as_echo "$supported" >&6; }
   6727 		if test "$supported" = "yes" ; then
   6728 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6729 			found="yes"
   6730 		fi
   6731 	fi
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 xorg_testset_save_CFLAGS="$CFLAGS"
   6748 
   6749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6754   $as_echo_n "(cached) " >&6
   6755 else
   6756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6757 /* end confdefs.h.  */
   6758 int i;
   6759 _ACEOF
   6760 if ac_fn_c_try_compile "$LINENO"; then :
   6761   xorg_cv_cc_flag_unknown_warning_option=yes
   6762 else
   6763   xorg_cv_cc_flag_unknown_warning_option=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6766 fi
   6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6770 	CFLAGS="$xorg_testset_save_CFLAGS"
   6771 fi
   6772 
   6773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 	fi
   6777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6781   $as_echo_n "(cached) " >&6
   6782 else
   6783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6784 /* end confdefs.h.  */
   6785 int i;
   6786 _ACEOF
   6787 if ac_fn_c_try_compile "$LINENO"; then :
   6788   xorg_cv_cc_flag_unused_command_line_argument=yes
   6789 else
   6790   xorg_cv_cc_flag_unused_command_line_argument=no
   6791 fi
   6792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6793 fi
   6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6797 	CFLAGS="$xorg_testset_save_CFLAGS"
   6798 fi
   6799 
   6800 found="no"
   6801 
   6802 	if test $found = "no" ; then
   6803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6805 		fi
   6806 
   6807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6809 		fi
   6810 
   6811 		CFLAGS="$CFLAGS -Wredundant-decls"
   6812 
   6813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6814 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6815 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6816 		if eval \${$cacheid+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6820 /* end confdefs.h.  */
   6821 int i;
   6822 int
   6823 main ()
   6824 {
   6825 
   6826   ;
   6827   return 0;
   6828 }
   6829 _ACEOF
   6830 if ac_fn_c_try_link "$LINENO"; then :
   6831   eval $cacheid=yes
   6832 else
   6833   eval $cacheid=no
   6834 fi
   6835 rm -f core conftest.err conftest.$ac_objext \
   6836     conftest$ac_exeext conftest.$ac_ext
   6837 fi
   6838 
   6839 
   6840 		CFLAGS="$xorg_testset_save_CFLAGS"
   6841 
   6842 		eval supported=\$$cacheid
   6843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6844 $as_echo "$supported" >&6; }
   6845 		if test "$supported" = "yes" ; then
   6846 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6847 			found="yes"
   6848 		fi
   6849 	fi
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 xorg_testset_save_CFLAGS="$CFLAGS"
   6866 
   6867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 int i;
   6877 _ACEOF
   6878 if ac_fn_c_try_compile "$LINENO"; then :
   6879   xorg_cv_cc_flag_unknown_warning_option=yes
   6880 else
   6881   xorg_cv_cc_flag_unknown_warning_option=no
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6884 fi
   6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6888 	CFLAGS="$xorg_testset_save_CFLAGS"
   6889 fi
   6890 
   6891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6894 	fi
   6895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6899   $as_echo_n "(cached) " >&6
   6900 else
   6901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6902 /* end confdefs.h.  */
   6903 int i;
   6904 _ACEOF
   6905 if ac_fn_c_try_compile "$LINENO"; then :
   6906   xorg_cv_cc_flag_unused_command_line_argument=yes
   6907 else
   6908   xorg_cv_cc_flag_unused_command_line_argument=no
   6909 fi
   6910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6911 fi
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6915 	CFLAGS="$xorg_testset_save_CFLAGS"
   6916 fi
   6917 
   6918 found="no"
   6919 
   6920 	if test $found = "no" ; then
   6921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6923 		fi
   6924 
   6925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6927 		fi
   6928 
   6929 		CFLAGS="$CFLAGS -Wlogical-op"
   6930 
   6931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6932 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6933 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6934 		if eval \${$cacheid+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6938 /* end confdefs.h.  */
   6939 int i;
   6940 int
   6941 main ()
   6942 {
   6943 
   6944   ;
   6945   return 0;
   6946 }
   6947 _ACEOF
   6948 if ac_fn_c_try_link "$LINENO"; then :
   6949   eval $cacheid=yes
   6950 else
   6951   eval $cacheid=no
   6952 fi
   6953 rm -f core conftest.err conftest.$ac_objext \
   6954     conftest$ac_exeext conftest.$ac_ext
   6955 fi
   6956 
   6957 
   6958 		CFLAGS="$xorg_testset_save_CFLAGS"
   6959 
   6960 		eval supported=\$$cacheid
   6961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6962 $as_echo "$supported" >&6; }
   6963 		if test "$supported" = "yes" ; then
   6964 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6965 			found="yes"
   6966 		fi
   6967 	fi
   6968 
   6969 
   6970 
   6971 # These are currently disabled because they are noisy.  They will be enabled
   6972 # in the future once the codebase is sufficiently modernized to silence
   6973 # them.  For now, I don't want them to drown out the other warnings.
   6974 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6975 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6976 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6977 
   6978 # Turn some warnings into errors, so we don't accidently get successful builds
   6979 # when there are problems that should be fixed.
   6980 
   6981 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 xorg_testset_save_CFLAGS="$CFLAGS"
   6996 
   6997 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6998 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7000 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7001 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7002   $as_echo_n "(cached) " >&6
   7003 else
   7004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7005 /* end confdefs.h.  */
   7006 int i;
   7007 _ACEOF
   7008 if ac_fn_c_try_compile "$LINENO"; then :
   7009   xorg_cv_cc_flag_unknown_warning_option=yes
   7010 else
   7011   xorg_cv_cc_flag_unknown_warning_option=no
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7014 fi
   7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7016 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7018 	CFLAGS="$xorg_testset_save_CFLAGS"
   7019 fi
   7020 
   7021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7024 	fi
   7025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7026 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7027 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7028 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7029   $as_echo_n "(cached) " >&6
   7030 else
   7031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7032 /* end confdefs.h.  */
   7033 int i;
   7034 _ACEOF
   7035 if ac_fn_c_try_compile "$LINENO"; then :
   7036   xorg_cv_cc_flag_unused_command_line_argument=yes
   7037 else
   7038   xorg_cv_cc_flag_unused_command_line_argument=no
   7039 fi
   7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7041 fi
   7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7043 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7045 	CFLAGS="$xorg_testset_save_CFLAGS"
   7046 fi
   7047 
   7048 found="no"
   7049 
   7050 	if test $found = "no" ; then
   7051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7053 		fi
   7054 
   7055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7057 		fi
   7058 
   7059 		CFLAGS="$CFLAGS -Werror=implicit"
   7060 
   7061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7062 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7063 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7064 		if eval \${$cacheid+:} false; then :
   7065   $as_echo_n "(cached) " >&6
   7066 else
   7067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7068 /* end confdefs.h.  */
   7069 int i;
   7070 int
   7071 main ()
   7072 {
   7073 
   7074   ;
   7075   return 0;
   7076 }
   7077 _ACEOF
   7078 if ac_fn_c_try_link "$LINENO"; then :
   7079   eval $cacheid=yes
   7080 else
   7081   eval $cacheid=no
   7082 fi
   7083 rm -f core conftest.err conftest.$ac_objext \
   7084     conftest$ac_exeext conftest.$ac_ext
   7085 fi
   7086 
   7087 
   7088 		CFLAGS="$xorg_testset_save_CFLAGS"
   7089 
   7090 		eval supported=\$$cacheid
   7091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7092 $as_echo "$supported" >&6; }
   7093 		if test "$supported" = "yes" ; then
   7094 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7095 			found="yes"
   7096 		fi
   7097 	fi
   7098 
   7099 	if test $found = "no" ; then
   7100 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7101 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7102 		fi
   7103 
   7104 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7106 		fi
   7107 
   7108 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7109 
   7110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7111 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7112 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7113 		if eval \${$cacheid+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7117 /* end confdefs.h.  */
   7118 int i;
   7119 int
   7120 main ()
   7121 {
   7122 
   7123   ;
   7124   return 0;
   7125 }
   7126 _ACEOF
   7127 if ac_fn_c_try_link "$LINENO"; then :
   7128   eval $cacheid=yes
   7129 else
   7130   eval $cacheid=no
   7131 fi
   7132 rm -f core conftest.err conftest.$ac_objext \
   7133     conftest$ac_exeext conftest.$ac_ext
   7134 fi
   7135 
   7136 
   7137 		CFLAGS="$xorg_testset_save_CFLAGS"
   7138 
   7139 		eval supported=\$$cacheid
   7140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7141 $as_echo "$supported" >&6; }
   7142 		if test "$supported" = "yes" ; then
   7143 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7144 			found="yes"
   7145 		fi
   7146 	fi
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 xorg_testset_save_CFLAGS="$CFLAGS"
   7163 
   7164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7167 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7168 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 int i;
   7174 _ACEOF
   7175 if ac_fn_c_try_compile "$LINENO"; then :
   7176   xorg_cv_cc_flag_unknown_warning_option=yes
   7177 else
   7178   xorg_cv_cc_flag_unknown_warning_option=no
   7179 fi
   7180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7181 fi
   7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7183 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7184 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7185 	CFLAGS="$xorg_testset_save_CFLAGS"
   7186 fi
   7187 
   7188 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7189 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7190 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7191 	fi
   7192 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7194 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7195 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7196   $as_echo_n "(cached) " >&6
   7197 else
   7198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7199 /* end confdefs.h.  */
   7200 int i;
   7201 _ACEOF
   7202 if ac_fn_c_try_compile "$LINENO"; then :
   7203   xorg_cv_cc_flag_unused_command_line_argument=yes
   7204 else
   7205   xorg_cv_cc_flag_unused_command_line_argument=no
   7206 fi
   7207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7208 fi
   7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7210 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7212 	CFLAGS="$xorg_testset_save_CFLAGS"
   7213 fi
   7214 
   7215 found="no"
   7216 
   7217 	if test $found = "no" ; then
   7218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7220 		fi
   7221 
   7222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7224 		fi
   7225 
   7226 		CFLAGS="$CFLAGS -Werror=nonnull"
   7227 
   7228 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7229 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7230 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7231 		if eval \${$cacheid+:} false; then :
   7232   $as_echo_n "(cached) " >&6
   7233 else
   7234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7235 /* end confdefs.h.  */
   7236 int i;
   7237 int
   7238 main ()
   7239 {
   7240 
   7241   ;
   7242   return 0;
   7243 }
   7244 _ACEOF
   7245 if ac_fn_c_try_link "$LINENO"; then :
   7246   eval $cacheid=yes
   7247 else
   7248   eval $cacheid=no
   7249 fi
   7250 rm -f core conftest.err conftest.$ac_objext \
   7251     conftest$ac_exeext conftest.$ac_ext
   7252 fi
   7253 
   7254 
   7255 		CFLAGS="$xorg_testset_save_CFLAGS"
   7256 
   7257 		eval supported=\$$cacheid
   7258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7259 $as_echo "$supported" >&6; }
   7260 		if test "$supported" = "yes" ; then
   7261 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7262 			found="yes"
   7263 		fi
   7264 	fi
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 xorg_testset_save_CFLAGS="$CFLAGS"
   7281 
   7282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7285 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7286 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7287   $as_echo_n "(cached) " >&6
   7288 else
   7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 int i;
   7292 _ACEOF
   7293 if ac_fn_c_try_compile "$LINENO"; then :
   7294   xorg_cv_cc_flag_unknown_warning_option=yes
   7295 else
   7296   xorg_cv_cc_flag_unknown_warning_option=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7299 fi
   7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7301 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7302 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7303 	CFLAGS="$xorg_testset_save_CFLAGS"
   7304 fi
   7305 
   7306 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7307 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7308 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7309 	fi
   7310 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7312 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7313 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7314   $as_echo_n "(cached) " >&6
   7315 else
   7316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7317 /* end confdefs.h.  */
   7318 int i;
   7319 _ACEOF
   7320 if ac_fn_c_try_compile "$LINENO"; then :
   7321   xorg_cv_cc_flag_unused_command_line_argument=yes
   7322 else
   7323   xorg_cv_cc_flag_unused_command_line_argument=no
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7326 fi
   7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7328 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7330 	CFLAGS="$xorg_testset_save_CFLAGS"
   7331 fi
   7332 
   7333 found="no"
   7334 
   7335 	if test $found = "no" ; then
   7336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7338 		fi
   7339 
   7340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7342 		fi
   7343 
   7344 		CFLAGS="$CFLAGS -Werror=init-self"
   7345 
   7346 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7347 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7348 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7349 		if eval \${$cacheid+:} false; then :
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7353 /* end confdefs.h.  */
   7354 int i;
   7355 int
   7356 main ()
   7357 {
   7358 
   7359   ;
   7360   return 0;
   7361 }
   7362 _ACEOF
   7363 if ac_fn_c_try_link "$LINENO"; then :
   7364   eval $cacheid=yes
   7365 else
   7366   eval $cacheid=no
   7367 fi
   7368 rm -f core conftest.err conftest.$ac_objext \
   7369     conftest$ac_exeext conftest.$ac_ext
   7370 fi
   7371 
   7372 
   7373 		CFLAGS="$xorg_testset_save_CFLAGS"
   7374 
   7375 		eval supported=\$$cacheid
   7376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7377 $as_echo "$supported" >&6; }
   7378 		if test "$supported" = "yes" ; then
   7379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7380 			found="yes"
   7381 		fi
   7382 	fi
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398 xorg_testset_save_CFLAGS="$CFLAGS"
   7399 
   7400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7403 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7404 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7405   $as_echo_n "(cached) " >&6
   7406 else
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 _ACEOF
   7411 if ac_fn_c_try_compile "$LINENO"; then :
   7412   xorg_cv_cc_flag_unknown_warning_option=yes
   7413 else
   7414   xorg_cv_cc_flag_unknown_warning_option=no
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7417 fi
   7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7419 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7421 	CFLAGS="$xorg_testset_save_CFLAGS"
   7422 fi
   7423 
   7424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7427 	fi
   7428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7430 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7431 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7432   $as_echo_n "(cached) " >&6
   7433 else
   7434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7435 /* end confdefs.h.  */
   7436 int i;
   7437 _ACEOF
   7438 if ac_fn_c_try_compile "$LINENO"; then :
   7439   xorg_cv_cc_flag_unused_command_line_argument=yes
   7440 else
   7441   xorg_cv_cc_flag_unused_command_line_argument=no
   7442 fi
   7443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7444 fi
   7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7446 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7448 	CFLAGS="$xorg_testset_save_CFLAGS"
   7449 fi
   7450 
   7451 found="no"
   7452 
   7453 	if test $found = "no" ; then
   7454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7456 		fi
   7457 
   7458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7460 		fi
   7461 
   7462 		CFLAGS="$CFLAGS -Werror=main"
   7463 
   7464 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7465 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7466 		cacheid=xorg_cv_cc_flag__Werror_main
   7467 		if eval \${$cacheid+:} false; then :
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7471 /* end confdefs.h.  */
   7472 int i;
   7473 int
   7474 main ()
   7475 {
   7476 
   7477   ;
   7478   return 0;
   7479 }
   7480 _ACEOF
   7481 if ac_fn_c_try_link "$LINENO"; then :
   7482   eval $cacheid=yes
   7483 else
   7484   eval $cacheid=no
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext \
   7487     conftest$ac_exeext conftest.$ac_ext
   7488 fi
   7489 
   7490 
   7491 		CFLAGS="$xorg_testset_save_CFLAGS"
   7492 
   7493 		eval supported=\$$cacheid
   7494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7495 $as_echo "$supported" >&6; }
   7496 		if test "$supported" = "yes" ; then
   7497 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7498 			found="yes"
   7499 		fi
   7500 	fi
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 xorg_testset_save_CFLAGS="$CFLAGS"
   7517 
   7518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 int i;
   7528 _ACEOF
   7529 if ac_fn_c_try_compile "$LINENO"; then :
   7530   xorg_cv_cc_flag_unknown_warning_option=yes
   7531 else
   7532   xorg_cv_cc_flag_unknown_warning_option=no
   7533 fi
   7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7535 fi
   7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7539 	CFLAGS="$xorg_testset_save_CFLAGS"
   7540 fi
   7541 
   7542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7545 	fi
   7546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7550   $as_echo_n "(cached) " >&6
   7551 else
   7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7553 /* end confdefs.h.  */
   7554 int i;
   7555 _ACEOF
   7556 if ac_fn_c_try_compile "$LINENO"; then :
   7557   xorg_cv_cc_flag_unused_command_line_argument=yes
   7558 else
   7559   xorg_cv_cc_flag_unused_command_line_argument=no
   7560 fi
   7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7562 fi
   7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7565 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7566 	CFLAGS="$xorg_testset_save_CFLAGS"
   7567 fi
   7568 
   7569 found="no"
   7570 
   7571 	if test $found = "no" ; then
   7572 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7574 		fi
   7575 
   7576 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7578 		fi
   7579 
   7580 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7581 
   7582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7583 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7584 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7585 		if eval \${$cacheid+:} false; then :
   7586   $as_echo_n "(cached) " >&6
   7587 else
   7588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7589 /* end confdefs.h.  */
   7590 int i;
   7591 int
   7592 main ()
   7593 {
   7594 
   7595   ;
   7596   return 0;
   7597 }
   7598 _ACEOF
   7599 if ac_fn_c_try_link "$LINENO"; then :
   7600   eval $cacheid=yes
   7601 else
   7602   eval $cacheid=no
   7603 fi
   7604 rm -f core conftest.err conftest.$ac_objext \
   7605     conftest$ac_exeext conftest.$ac_ext
   7606 fi
   7607 
   7608 
   7609 		CFLAGS="$xorg_testset_save_CFLAGS"
   7610 
   7611 		eval supported=\$$cacheid
   7612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7613 $as_echo "$supported" >&6; }
   7614 		if test "$supported" = "yes" ; then
   7615 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7616 			found="yes"
   7617 		fi
   7618 	fi
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 xorg_testset_save_CFLAGS="$CFLAGS"
   7635 
   7636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7639 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7640 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 _ACEOF
   7647 if ac_fn_c_try_compile "$LINENO"; then :
   7648   xorg_cv_cc_flag_unknown_warning_option=yes
   7649 else
   7650   xorg_cv_cc_flag_unknown_warning_option=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7653 fi
   7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7655 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7656 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7657 	CFLAGS="$xorg_testset_save_CFLAGS"
   7658 fi
   7659 
   7660 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7661 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7662 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7663 	fi
   7664 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7666 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7667 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7668   $as_echo_n "(cached) " >&6
   7669 else
   7670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7671 /* end confdefs.h.  */
   7672 int i;
   7673 _ACEOF
   7674 if ac_fn_c_try_compile "$LINENO"; then :
   7675   xorg_cv_cc_flag_unused_command_line_argument=yes
   7676 else
   7677   xorg_cv_cc_flag_unused_command_line_argument=no
   7678 fi
   7679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7680 fi
   7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7682 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7683 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7684 	CFLAGS="$xorg_testset_save_CFLAGS"
   7685 fi
   7686 
   7687 found="no"
   7688 
   7689 	if test $found = "no" ; then
   7690 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7691 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7692 		fi
   7693 
   7694 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7695 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7696 		fi
   7697 
   7698 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7699 
   7700 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7701 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7702 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7703 		if eval \${$cacheid+:} false; then :
   7704   $as_echo_n "(cached) " >&6
   7705 else
   7706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7707 /* end confdefs.h.  */
   7708 int i;
   7709 int
   7710 main ()
   7711 {
   7712 
   7713   ;
   7714   return 0;
   7715 }
   7716 _ACEOF
   7717 if ac_fn_c_try_link "$LINENO"; then :
   7718   eval $cacheid=yes
   7719 else
   7720   eval $cacheid=no
   7721 fi
   7722 rm -f core conftest.err conftest.$ac_objext \
   7723     conftest$ac_exeext conftest.$ac_ext
   7724 fi
   7725 
   7726 
   7727 		CFLAGS="$xorg_testset_save_CFLAGS"
   7728 
   7729 		eval supported=\$$cacheid
   7730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7731 $as_echo "$supported" >&6; }
   7732 		if test "$supported" = "yes" ; then
   7733 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7734 			found="yes"
   7735 		fi
   7736 	fi
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 xorg_testset_save_CFLAGS="$CFLAGS"
   7753 
   7754 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7755 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7757 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7758 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7762 /* end confdefs.h.  */
   7763 int i;
   7764 _ACEOF
   7765 if ac_fn_c_try_compile "$LINENO"; then :
   7766   xorg_cv_cc_flag_unknown_warning_option=yes
   7767 else
   7768   xorg_cv_cc_flag_unknown_warning_option=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7771 fi
   7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7773 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7775 	CFLAGS="$xorg_testset_save_CFLAGS"
   7776 fi
   7777 
   7778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7781 	fi
   7782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7784 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7785 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7786   $as_echo_n "(cached) " >&6
   7787 else
   7788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7789 /* end confdefs.h.  */
   7790 int i;
   7791 _ACEOF
   7792 if ac_fn_c_try_compile "$LINENO"; then :
   7793   xorg_cv_cc_flag_unused_command_line_argument=yes
   7794 else
   7795   xorg_cv_cc_flag_unused_command_line_argument=no
   7796 fi
   7797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7798 fi
   7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7800 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7802 	CFLAGS="$xorg_testset_save_CFLAGS"
   7803 fi
   7804 
   7805 found="no"
   7806 
   7807 	if test $found = "no" ; then
   7808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7810 		fi
   7811 
   7812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7814 		fi
   7815 
   7816 		CFLAGS="$CFLAGS -Werror=return-type"
   7817 
   7818 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7819 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7820 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7821 		if eval \${$cacheid+:} false; then :
   7822   $as_echo_n "(cached) " >&6
   7823 else
   7824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7825 /* end confdefs.h.  */
   7826 int i;
   7827 int
   7828 main ()
   7829 {
   7830 
   7831   ;
   7832   return 0;
   7833 }
   7834 _ACEOF
   7835 if ac_fn_c_try_link "$LINENO"; then :
   7836   eval $cacheid=yes
   7837 else
   7838   eval $cacheid=no
   7839 fi
   7840 rm -f core conftest.err conftest.$ac_objext \
   7841     conftest$ac_exeext conftest.$ac_ext
   7842 fi
   7843 
   7844 
   7845 		CFLAGS="$xorg_testset_save_CFLAGS"
   7846 
   7847 		eval supported=\$$cacheid
   7848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7849 $as_echo "$supported" >&6; }
   7850 		if test "$supported" = "yes" ; then
   7851 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7852 			found="yes"
   7853 		fi
   7854 	fi
   7855 
   7856 	if test $found = "no" ; then
   7857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7859 		fi
   7860 
   7861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7863 		fi
   7864 
   7865 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7866 
   7867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7868 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7869 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7870 		if eval \${$cacheid+:} false; then :
   7871   $as_echo_n "(cached) " >&6
   7872 else
   7873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7874 /* end confdefs.h.  */
   7875 int i;
   7876 int
   7877 main ()
   7878 {
   7879 
   7880   ;
   7881   return 0;
   7882 }
   7883 _ACEOF
   7884 if ac_fn_c_try_link "$LINENO"; then :
   7885   eval $cacheid=yes
   7886 else
   7887   eval $cacheid=no
   7888 fi
   7889 rm -f core conftest.err conftest.$ac_objext \
   7890     conftest$ac_exeext conftest.$ac_ext
   7891 fi
   7892 
   7893 
   7894 		CFLAGS="$xorg_testset_save_CFLAGS"
   7895 
   7896 		eval supported=\$$cacheid
   7897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7898 $as_echo "$supported" >&6; }
   7899 		if test "$supported" = "yes" ; then
   7900 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7901 			found="yes"
   7902 		fi
   7903 	fi
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 xorg_testset_save_CFLAGS="$CFLAGS"
   7920 
   7921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7926   $as_echo_n "(cached) " >&6
   7927 else
   7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 _ACEOF
   7932 if ac_fn_c_try_compile "$LINENO"; then :
   7933   xorg_cv_cc_flag_unknown_warning_option=yes
   7934 else
   7935   xorg_cv_cc_flag_unknown_warning_option=no
   7936 fi
   7937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7938 fi
   7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7942 	CFLAGS="$xorg_testset_save_CFLAGS"
   7943 fi
   7944 
   7945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7948 	fi
   7949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7953   $as_echo_n "(cached) " >&6
   7954 else
   7955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7956 /* end confdefs.h.  */
   7957 int i;
   7958 _ACEOF
   7959 if ac_fn_c_try_compile "$LINENO"; then :
   7960   xorg_cv_cc_flag_unused_command_line_argument=yes
   7961 else
   7962   xorg_cv_cc_flag_unused_command_line_argument=no
   7963 fi
   7964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7965 fi
   7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7969 	CFLAGS="$xorg_testset_save_CFLAGS"
   7970 fi
   7971 
   7972 found="no"
   7973 
   7974 	if test $found = "no" ; then
   7975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7977 		fi
   7978 
   7979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7981 		fi
   7982 
   7983 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7984 
   7985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7986 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7987 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7988 		if eval \${$cacheid+:} false; then :
   7989   $as_echo_n "(cached) " >&6
   7990 else
   7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 int
   7995 main ()
   7996 {
   7997 
   7998   ;
   7999   return 0;
   8000 }
   8001 _ACEOF
   8002 if ac_fn_c_try_link "$LINENO"; then :
   8003   eval $cacheid=yes
   8004 else
   8005   eval $cacheid=no
   8006 fi
   8007 rm -f core conftest.err conftest.$ac_objext \
   8008     conftest$ac_exeext conftest.$ac_ext
   8009 fi
   8010 
   8011 
   8012 		CFLAGS="$xorg_testset_save_CFLAGS"
   8013 
   8014 		eval supported=\$$cacheid
   8015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8016 $as_echo "$supported" >&6; }
   8017 		if test "$supported" = "yes" ; then
   8018 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8019 			found="yes"
   8020 		fi
   8021 	fi
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 xorg_testset_save_CFLAGS="$CFLAGS"
   8038 
   8039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8044   $as_echo_n "(cached) " >&6
   8045 else
   8046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8047 /* end confdefs.h.  */
   8048 int i;
   8049 _ACEOF
   8050 if ac_fn_c_try_compile "$LINENO"; then :
   8051   xorg_cv_cc_flag_unknown_warning_option=yes
   8052 else
   8053   xorg_cv_cc_flag_unknown_warning_option=no
   8054 fi
   8055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8056 fi
   8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8060 	CFLAGS="$xorg_testset_save_CFLAGS"
   8061 fi
   8062 
   8063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8066 	fi
   8067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8074 /* end confdefs.h.  */
   8075 int i;
   8076 _ACEOF
   8077 if ac_fn_c_try_compile "$LINENO"; then :
   8078   xorg_cv_cc_flag_unused_command_line_argument=yes
   8079 else
   8080   xorg_cv_cc_flag_unused_command_line_argument=no
   8081 fi
   8082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8083 fi
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8087 	CFLAGS="$xorg_testset_save_CFLAGS"
   8088 fi
   8089 
   8090 found="no"
   8091 
   8092 	if test $found = "no" ; then
   8093 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8095 		fi
   8096 
   8097 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8099 		fi
   8100 
   8101 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8102 
   8103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8104 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8105 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8106 		if eval \${$cacheid+:} false; then :
   8107   $as_echo_n "(cached) " >&6
   8108 else
   8109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8110 /* end confdefs.h.  */
   8111 int i;
   8112 int
   8113 main ()
   8114 {
   8115 
   8116   ;
   8117   return 0;
   8118 }
   8119 _ACEOF
   8120 if ac_fn_c_try_link "$LINENO"; then :
   8121   eval $cacheid=yes
   8122 else
   8123   eval $cacheid=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext \
   8126     conftest$ac_exeext conftest.$ac_ext
   8127 fi
   8128 
   8129 
   8130 		CFLAGS="$xorg_testset_save_CFLAGS"
   8131 
   8132 		eval supported=\$$cacheid
   8133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8134 $as_echo "$supported" >&6; }
   8135 		if test "$supported" = "yes" ; then
   8136 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8137 			found="yes"
   8138 		fi
   8139 	fi
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 xorg_testset_save_CFLAGS="$CFLAGS"
   8156 
   8157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8162   $as_echo_n "(cached) " >&6
   8163 else
   8164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8165 /* end confdefs.h.  */
   8166 int i;
   8167 _ACEOF
   8168 if ac_fn_c_try_compile "$LINENO"; then :
   8169   xorg_cv_cc_flag_unknown_warning_option=yes
   8170 else
   8171   xorg_cv_cc_flag_unknown_warning_option=no
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8174 fi
   8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8178 	CFLAGS="$xorg_testset_save_CFLAGS"
   8179 fi
   8180 
   8181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8184 	fi
   8185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8189   $as_echo_n "(cached) " >&6
   8190 else
   8191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8192 /* end confdefs.h.  */
   8193 int i;
   8194 _ACEOF
   8195 if ac_fn_c_try_compile "$LINENO"; then :
   8196   xorg_cv_cc_flag_unused_command_line_argument=yes
   8197 else
   8198   xorg_cv_cc_flag_unused_command_line_argument=no
   8199 fi
   8200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8201 fi
   8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8205 	CFLAGS="$xorg_testset_save_CFLAGS"
   8206 fi
   8207 
   8208 found="no"
   8209 
   8210 	if test $found = "no" ; then
   8211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8213 		fi
   8214 
   8215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8217 		fi
   8218 
   8219 		CFLAGS="$CFLAGS -Werror=write-strings"
   8220 
   8221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8222 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8223 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8224 		if eval \${$cacheid+:} false; then :
   8225   $as_echo_n "(cached) " >&6
   8226 else
   8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8228 /* end confdefs.h.  */
   8229 int i;
   8230 int
   8231 main ()
   8232 {
   8233 
   8234   ;
   8235   return 0;
   8236 }
   8237 _ACEOF
   8238 if ac_fn_c_try_link "$LINENO"; then :
   8239   eval $cacheid=yes
   8240 else
   8241   eval $cacheid=no
   8242 fi
   8243 rm -f core conftest.err conftest.$ac_objext \
   8244     conftest$ac_exeext conftest.$ac_ext
   8245 fi
   8246 
   8247 
   8248 		CFLAGS="$xorg_testset_save_CFLAGS"
   8249 
   8250 		eval supported=\$$cacheid
   8251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8252 $as_echo "$supported" >&6; }
   8253 		if test "$supported" = "yes" ; then
   8254 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8255 			found="yes"
   8256 		fi
   8257 	fi
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 xorg_testset_save_CFLAGS="$CFLAGS"
   8274 
   8275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8280   $as_echo_n "(cached) " >&6
   8281 else
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 _ACEOF
   8286 if ac_fn_c_try_compile "$LINENO"; then :
   8287   xorg_cv_cc_flag_unknown_warning_option=yes
   8288 else
   8289   xorg_cv_cc_flag_unknown_warning_option=no
   8290 fi
   8291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8292 fi
   8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8296 	CFLAGS="$xorg_testset_save_CFLAGS"
   8297 fi
   8298 
   8299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8302 	fi
   8303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8307   $as_echo_n "(cached) " >&6
   8308 else
   8309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8310 /* end confdefs.h.  */
   8311 int i;
   8312 _ACEOF
   8313 if ac_fn_c_try_compile "$LINENO"; then :
   8314   xorg_cv_cc_flag_unused_command_line_argument=yes
   8315 else
   8316   xorg_cv_cc_flag_unused_command_line_argument=no
   8317 fi
   8318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8319 fi
   8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8323 	CFLAGS="$xorg_testset_save_CFLAGS"
   8324 fi
   8325 
   8326 found="no"
   8327 
   8328 	if test $found = "no" ; then
   8329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8331 		fi
   8332 
   8333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8335 		fi
   8336 
   8337 		CFLAGS="$CFLAGS -Werror=address"
   8338 
   8339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8340 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8341 		cacheid=xorg_cv_cc_flag__Werror_address
   8342 		if eval \${$cacheid+:} false; then :
   8343   $as_echo_n "(cached) " >&6
   8344 else
   8345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8346 /* end confdefs.h.  */
   8347 int i;
   8348 int
   8349 main ()
   8350 {
   8351 
   8352   ;
   8353   return 0;
   8354 }
   8355 _ACEOF
   8356 if ac_fn_c_try_link "$LINENO"; then :
   8357   eval $cacheid=yes
   8358 else
   8359   eval $cacheid=no
   8360 fi
   8361 rm -f core conftest.err conftest.$ac_objext \
   8362     conftest$ac_exeext conftest.$ac_ext
   8363 fi
   8364 
   8365 
   8366 		CFLAGS="$xorg_testset_save_CFLAGS"
   8367 
   8368 		eval supported=\$$cacheid
   8369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8370 $as_echo "$supported" >&6; }
   8371 		if test "$supported" = "yes" ; then
   8372 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8373 			found="yes"
   8374 		fi
   8375 	fi
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 xorg_testset_save_CFLAGS="$CFLAGS"
   8392 
   8393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8398   $as_echo_n "(cached) " >&6
   8399 else
   8400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8401 /* end confdefs.h.  */
   8402 int i;
   8403 _ACEOF
   8404 if ac_fn_c_try_compile "$LINENO"; then :
   8405   xorg_cv_cc_flag_unknown_warning_option=yes
   8406 else
   8407   xorg_cv_cc_flag_unknown_warning_option=no
   8408 fi
   8409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8410 fi
   8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8414 	CFLAGS="$xorg_testset_save_CFLAGS"
   8415 fi
   8416 
   8417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8420 	fi
   8421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8425   $as_echo_n "(cached) " >&6
   8426 else
   8427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8428 /* end confdefs.h.  */
   8429 int i;
   8430 _ACEOF
   8431 if ac_fn_c_try_compile "$LINENO"; then :
   8432   xorg_cv_cc_flag_unused_command_line_argument=yes
   8433 else
   8434   xorg_cv_cc_flag_unused_command_line_argument=no
   8435 fi
   8436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8437 fi
   8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8441 	CFLAGS="$xorg_testset_save_CFLAGS"
   8442 fi
   8443 
   8444 found="no"
   8445 
   8446 	if test $found = "no" ; then
   8447 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8449 		fi
   8450 
   8451 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8453 		fi
   8454 
   8455 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8456 
   8457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8458 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8459 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8460 		if eval \${$cacheid+:} false; then :
   8461   $as_echo_n "(cached) " >&6
   8462 else
   8463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8464 /* end confdefs.h.  */
   8465 int i;
   8466 int
   8467 main ()
   8468 {
   8469 
   8470   ;
   8471   return 0;
   8472 }
   8473 _ACEOF
   8474 if ac_fn_c_try_link "$LINENO"; then :
   8475   eval $cacheid=yes
   8476 else
   8477   eval $cacheid=no
   8478 fi
   8479 rm -f core conftest.err conftest.$ac_objext \
   8480     conftest$ac_exeext conftest.$ac_ext
   8481 fi
   8482 
   8483 
   8484 		CFLAGS="$xorg_testset_save_CFLAGS"
   8485 
   8486 		eval supported=\$$cacheid
   8487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8488 $as_echo "$supported" >&6; }
   8489 		if test "$supported" = "yes" ; then
   8490 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8491 			found="yes"
   8492 		fi
   8493 	fi
   8494 
   8495 	if test $found = "no" ; then
   8496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8498 		fi
   8499 
   8500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8502 		fi
   8503 
   8504 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8505 
   8506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8507 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8508 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8509 		if eval \${$cacheid+:} false; then :
   8510   $as_echo_n "(cached) " >&6
   8511 else
   8512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8513 /* end confdefs.h.  */
   8514 int i;
   8515 int
   8516 main ()
   8517 {
   8518 
   8519   ;
   8520   return 0;
   8521 }
   8522 _ACEOF
   8523 if ac_fn_c_try_link "$LINENO"; then :
   8524   eval $cacheid=yes
   8525 else
   8526   eval $cacheid=no
   8527 fi
   8528 rm -f core conftest.err conftest.$ac_objext \
   8529     conftest$ac_exeext conftest.$ac_ext
   8530 fi
   8531 
   8532 
   8533 		CFLAGS="$xorg_testset_save_CFLAGS"
   8534 
   8535 		eval supported=\$$cacheid
   8536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8537 $as_echo "$supported" >&6; }
   8538 		if test "$supported" = "yes" ; then
   8539 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8540 			found="yes"
   8541 		fi
   8542 	fi
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 xorg_testset_save_CFLAGS="$CFLAGS"
   8559 
   8560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8565   $as_echo_n "(cached) " >&6
   8566 else
   8567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8568 /* end confdefs.h.  */
   8569 int i;
   8570 _ACEOF
   8571 if ac_fn_c_try_compile "$LINENO"; then :
   8572   xorg_cv_cc_flag_unknown_warning_option=yes
   8573 else
   8574   xorg_cv_cc_flag_unknown_warning_option=no
   8575 fi
   8576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8577 fi
   8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8581 	CFLAGS="$xorg_testset_save_CFLAGS"
   8582 fi
   8583 
   8584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8587 	fi
   8588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8592   $as_echo_n "(cached) " >&6
   8593 else
   8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8595 /* end confdefs.h.  */
   8596 int i;
   8597 _ACEOF
   8598 if ac_fn_c_try_compile "$LINENO"; then :
   8599   xorg_cv_cc_flag_unused_command_line_argument=yes
   8600 else
   8601   xorg_cv_cc_flag_unused_command_line_argument=no
   8602 fi
   8603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8604 fi
   8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8608 	CFLAGS="$xorg_testset_save_CFLAGS"
   8609 fi
   8610 
   8611 found="no"
   8612 
   8613 	if test $found = "no" ; then
   8614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8616 		fi
   8617 
   8618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8620 		fi
   8621 
   8622 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8623 
   8624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8625 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8626 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8627 		if eval \${$cacheid+:} false; then :
   8628   $as_echo_n "(cached) " >&6
   8629 else
   8630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8631 /* end confdefs.h.  */
   8632 int i;
   8633 int
   8634 main ()
   8635 {
   8636 
   8637   ;
   8638   return 0;
   8639 }
   8640 _ACEOF
   8641 if ac_fn_c_try_link "$LINENO"; then :
   8642   eval $cacheid=yes
   8643 else
   8644   eval $cacheid=no
   8645 fi
   8646 rm -f core conftest.err conftest.$ac_objext \
   8647     conftest$ac_exeext conftest.$ac_ext
   8648 fi
   8649 
   8650 
   8651 		CFLAGS="$xorg_testset_save_CFLAGS"
   8652 
   8653 		eval supported=\$$cacheid
   8654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8655 $as_echo "$supported" >&6; }
   8656 		if test "$supported" = "yes" ; then
   8657 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8658 			found="yes"
   8659 		fi
   8660 	fi
   8661 
   8662  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8663 else
   8664 { $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
   8665 $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;}
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 xorg_testset_save_CFLAGS="$CFLAGS"
   8680 
   8681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8684 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8685 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8686   $as_echo_n "(cached) " >&6
   8687 else
   8688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8689 /* end confdefs.h.  */
   8690 int i;
   8691 _ACEOF
   8692 if ac_fn_c_try_compile "$LINENO"; then :
   8693   xorg_cv_cc_flag_unknown_warning_option=yes
   8694 else
   8695   xorg_cv_cc_flag_unknown_warning_option=no
   8696 fi
   8697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8698 fi
   8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8700 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8702 	CFLAGS="$xorg_testset_save_CFLAGS"
   8703 fi
   8704 
   8705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 	fi
   8709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8711 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8712 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8713   $as_echo_n "(cached) " >&6
   8714 else
   8715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8716 /* end confdefs.h.  */
   8717 int i;
   8718 _ACEOF
   8719 if ac_fn_c_try_compile "$LINENO"; then :
   8720   xorg_cv_cc_flag_unused_command_line_argument=yes
   8721 else
   8722   xorg_cv_cc_flag_unused_command_line_argument=no
   8723 fi
   8724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8725 fi
   8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8727 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8728 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8729 	CFLAGS="$xorg_testset_save_CFLAGS"
   8730 fi
   8731 
   8732 found="no"
   8733 
   8734 	if test $found = "no" ; then
   8735 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8736 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8737 		fi
   8738 
   8739 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8740 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8741 		fi
   8742 
   8743 		CFLAGS="$CFLAGS -Wimplicit"
   8744 
   8745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8746 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8747 		cacheid=xorg_cv_cc_flag__Wimplicit
   8748 		if eval \${$cacheid+:} false; then :
   8749   $as_echo_n "(cached) " >&6
   8750 else
   8751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8752 /* end confdefs.h.  */
   8753 int i;
   8754 int
   8755 main ()
   8756 {
   8757 
   8758   ;
   8759   return 0;
   8760 }
   8761 _ACEOF
   8762 if ac_fn_c_try_link "$LINENO"; then :
   8763   eval $cacheid=yes
   8764 else
   8765   eval $cacheid=no
   8766 fi
   8767 rm -f core conftest.err conftest.$ac_objext \
   8768     conftest$ac_exeext conftest.$ac_ext
   8769 fi
   8770 
   8771 
   8772 		CFLAGS="$xorg_testset_save_CFLAGS"
   8773 
   8774 		eval supported=\$$cacheid
   8775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8776 $as_echo "$supported" >&6; }
   8777 		if test "$supported" = "yes" ; then
   8778 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8779 			found="yes"
   8780 		fi
   8781 	fi
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 xorg_testset_save_CFLAGS="$CFLAGS"
   8798 
   8799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8802 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8803 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8804   $as_echo_n "(cached) " >&6
   8805 else
   8806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8807 /* end confdefs.h.  */
   8808 int i;
   8809 _ACEOF
   8810 if ac_fn_c_try_compile "$LINENO"; then :
   8811   xorg_cv_cc_flag_unknown_warning_option=yes
   8812 else
   8813   xorg_cv_cc_flag_unknown_warning_option=no
   8814 fi
   8815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8816 fi
   8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8818 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8820 	CFLAGS="$xorg_testset_save_CFLAGS"
   8821 fi
   8822 
   8823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	fi
   8827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8829 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8830 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8831   $as_echo_n "(cached) " >&6
   8832 else
   8833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8834 /* end confdefs.h.  */
   8835 int i;
   8836 _ACEOF
   8837 if ac_fn_c_try_compile "$LINENO"; then :
   8838   xorg_cv_cc_flag_unused_command_line_argument=yes
   8839 else
   8840   xorg_cv_cc_flag_unused_command_line_argument=no
   8841 fi
   8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8843 fi
   8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8845 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8847 	CFLAGS="$xorg_testset_save_CFLAGS"
   8848 fi
   8849 
   8850 found="no"
   8851 
   8852 	if test $found = "no" ; then
   8853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8855 		fi
   8856 
   8857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8859 		fi
   8860 
   8861 		CFLAGS="$CFLAGS -Wnonnull"
   8862 
   8863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8864 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8865 		cacheid=xorg_cv_cc_flag__Wnonnull
   8866 		if eval \${$cacheid+:} false; then :
   8867   $as_echo_n "(cached) " >&6
   8868 else
   8869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8870 /* end confdefs.h.  */
   8871 int i;
   8872 int
   8873 main ()
   8874 {
   8875 
   8876   ;
   8877   return 0;
   8878 }
   8879 _ACEOF
   8880 if ac_fn_c_try_link "$LINENO"; then :
   8881   eval $cacheid=yes
   8882 else
   8883   eval $cacheid=no
   8884 fi
   8885 rm -f core conftest.err conftest.$ac_objext \
   8886     conftest$ac_exeext conftest.$ac_ext
   8887 fi
   8888 
   8889 
   8890 		CFLAGS="$xorg_testset_save_CFLAGS"
   8891 
   8892 		eval supported=\$$cacheid
   8893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8894 $as_echo "$supported" >&6; }
   8895 		if test "$supported" = "yes" ; then
   8896 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8897 			found="yes"
   8898 		fi
   8899 	fi
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 xorg_testset_save_CFLAGS="$CFLAGS"
   8916 
   8917 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8918 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8920 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8921 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8922   $as_echo_n "(cached) " >&6
   8923 else
   8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 int i;
   8927 _ACEOF
   8928 if ac_fn_c_try_compile "$LINENO"; then :
   8929   xorg_cv_cc_flag_unknown_warning_option=yes
   8930 else
   8931   xorg_cv_cc_flag_unknown_warning_option=no
   8932 fi
   8933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8934 fi
   8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8936 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8937 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8938 	CFLAGS="$xorg_testset_save_CFLAGS"
   8939 fi
   8940 
   8941 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8942 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8943 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8944 	fi
   8945 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8947 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8948 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8949   $as_echo_n "(cached) " >&6
   8950 else
   8951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8952 /* end confdefs.h.  */
   8953 int i;
   8954 _ACEOF
   8955 if ac_fn_c_try_compile "$LINENO"; then :
   8956   xorg_cv_cc_flag_unused_command_line_argument=yes
   8957 else
   8958   xorg_cv_cc_flag_unused_command_line_argument=no
   8959 fi
   8960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8961 fi
   8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8963 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8964 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8965 	CFLAGS="$xorg_testset_save_CFLAGS"
   8966 fi
   8967 
   8968 found="no"
   8969 
   8970 	if test $found = "no" ; then
   8971 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8973 		fi
   8974 
   8975 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8977 		fi
   8978 
   8979 		CFLAGS="$CFLAGS -Winit-self"
   8980 
   8981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8982 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8983 		cacheid=xorg_cv_cc_flag__Winit_self
   8984 		if eval \${$cacheid+:} false; then :
   8985   $as_echo_n "(cached) " >&6
   8986 else
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 int
   8991 main ()
   8992 {
   8993 
   8994   ;
   8995   return 0;
   8996 }
   8997 _ACEOF
   8998 if ac_fn_c_try_link "$LINENO"; then :
   8999   eval $cacheid=yes
   9000 else
   9001   eval $cacheid=no
   9002 fi
   9003 rm -f core conftest.err conftest.$ac_objext \
   9004     conftest$ac_exeext conftest.$ac_ext
   9005 fi
   9006 
   9007 
   9008 		CFLAGS="$xorg_testset_save_CFLAGS"
   9009 
   9010 		eval supported=\$$cacheid
   9011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9012 $as_echo "$supported" >&6; }
   9013 		if test "$supported" = "yes" ; then
   9014 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9015 			found="yes"
   9016 		fi
   9017 	fi
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 xorg_testset_save_CFLAGS="$CFLAGS"
   9034 
   9035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9038 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9039 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9040   $as_echo_n "(cached) " >&6
   9041 else
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 _ACEOF
   9046 if ac_fn_c_try_compile "$LINENO"; then :
   9047   xorg_cv_cc_flag_unknown_warning_option=yes
   9048 else
   9049   xorg_cv_cc_flag_unknown_warning_option=no
   9050 fi
   9051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9052 fi
   9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9054 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9055 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9056 	CFLAGS="$xorg_testset_save_CFLAGS"
   9057 fi
   9058 
   9059 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9060 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9061 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9062 	fi
   9063 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9065 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9066 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9067   $as_echo_n "(cached) " >&6
   9068 else
   9069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9070 /* end confdefs.h.  */
   9071 int i;
   9072 _ACEOF
   9073 if ac_fn_c_try_compile "$LINENO"; then :
   9074   xorg_cv_cc_flag_unused_command_line_argument=yes
   9075 else
   9076   xorg_cv_cc_flag_unused_command_line_argument=no
   9077 fi
   9078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9079 fi
   9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9081 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9083 	CFLAGS="$xorg_testset_save_CFLAGS"
   9084 fi
   9085 
   9086 found="no"
   9087 
   9088 	if test $found = "no" ; then
   9089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9091 		fi
   9092 
   9093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9095 		fi
   9096 
   9097 		CFLAGS="$CFLAGS -Wmain"
   9098 
   9099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9100 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9101 		cacheid=xorg_cv_cc_flag__Wmain
   9102 		if eval \${$cacheid+:} false; then :
   9103   $as_echo_n "(cached) " >&6
   9104 else
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 int i;
   9108 int
   9109 main ()
   9110 {
   9111 
   9112   ;
   9113   return 0;
   9114 }
   9115 _ACEOF
   9116 if ac_fn_c_try_link "$LINENO"; then :
   9117   eval $cacheid=yes
   9118 else
   9119   eval $cacheid=no
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext \
   9122     conftest$ac_exeext conftest.$ac_ext
   9123 fi
   9124 
   9125 
   9126 		CFLAGS="$xorg_testset_save_CFLAGS"
   9127 
   9128 		eval supported=\$$cacheid
   9129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9130 $as_echo "$supported" >&6; }
   9131 		if test "$supported" = "yes" ; then
   9132 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9133 			found="yes"
   9134 		fi
   9135 	fi
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 
   9151 xorg_testset_save_CFLAGS="$CFLAGS"
   9152 
   9153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9156 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9157 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9158   $as_echo_n "(cached) " >&6
   9159 else
   9160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9161 /* end confdefs.h.  */
   9162 int i;
   9163 _ACEOF
   9164 if ac_fn_c_try_compile "$LINENO"; then :
   9165   xorg_cv_cc_flag_unknown_warning_option=yes
   9166 else
   9167   xorg_cv_cc_flag_unknown_warning_option=no
   9168 fi
   9169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9170 fi
   9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9172 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9174 	CFLAGS="$xorg_testset_save_CFLAGS"
   9175 fi
   9176 
   9177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9180 	fi
   9181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9183 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9184 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9185   $as_echo_n "(cached) " >&6
   9186 else
   9187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9188 /* end confdefs.h.  */
   9189 int i;
   9190 _ACEOF
   9191 if ac_fn_c_try_compile "$LINENO"; then :
   9192   xorg_cv_cc_flag_unused_command_line_argument=yes
   9193 else
   9194   xorg_cv_cc_flag_unused_command_line_argument=no
   9195 fi
   9196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9197 fi
   9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9199 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9201 	CFLAGS="$xorg_testset_save_CFLAGS"
   9202 fi
   9203 
   9204 found="no"
   9205 
   9206 	if test $found = "no" ; then
   9207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9209 		fi
   9210 
   9211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9213 		fi
   9214 
   9215 		CFLAGS="$CFLAGS -Wmissing-braces"
   9216 
   9217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9218 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9219 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9220 		if eval \${$cacheid+:} false; then :
   9221   $as_echo_n "(cached) " >&6
   9222 else
   9223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9224 /* end confdefs.h.  */
   9225 int i;
   9226 int
   9227 main ()
   9228 {
   9229 
   9230   ;
   9231   return 0;
   9232 }
   9233 _ACEOF
   9234 if ac_fn_c_try_link "$LINENO"; then :
   9235   eval $cacheid=yes
   9236 else
   9237   eval $cacheid=no
   9238 fi
   9239 rm -f core conftest.err conftest.$ac_objext \
   9240     conftest$ac_exeext conftest.$ac_ext
   9241 fi
   9242 
   9243 
   9244 		CFLAGS="$xorg_testset_save_CFLAGS"
   9245 
   9246 		eval supported=\$$cacheid
   9247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9248 $as_echo "$supported" >&6; }
   9249 		if test "$supported" = "yes" ; then
   9250 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9251 			found="yes"
   9252 		fi
   9253 	fi
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 
   9269 xorg_testset_save_CFLAGS="$CFLAGS"
   9270 
   9271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9274 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9275 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9276   $as_echo_n "(cached) " >&6
   9277 else
   9278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9279 /* end confdefs.h.  */
   9280 int i;
   9281 _ACEOF
   9282 if ac_fn_c_try_compile "$LINENO"; then :
   9283   xorg_cv_cc_flag_unknown_warning_option=yes
   9284 else
   9285   xorg_cv_cc_flag_unknown_warning_option=no
   9286 fi
   9287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9288 fi
   9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9290 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9292 	CFLAGS="$xorg_testset_save_CFLAGS"
   9293 fi
   9294 
   9295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9298 	fi
   9299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9301 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9302 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9303   $as_echo_n "(cached) " >&6
   9304 else
   9305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9306 /* end confdefs.h.  */
   9307 int i;
   9308 _ACEOF
   9309 if ac_fn_c_try_compile "$LINENO"; then :
   9310   xorg_cv_cc_flag_unused_command_line_argument=yes
   9311 else
   9312   xorg_cv_cc_flag_unused_command_line_argument=no
   9313 fi
   9314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9315 fi
   9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9317 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9319 	CFLAGS="$xorg_testset_save_CFLAGS"
   9320 fi
   9321 
   9322 found="no"
   9323 
   9324 	if test $found = "no" ; then
   9325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9327 		fi
   9328 
   9329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9331 		fi
   9332 
   9333 		CFLAGS="$CFLAGS -Wsequence-point"
   9334 
   9335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9336 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9337 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9338 		if eval \${$cacheid+:} false; then :
   9339   $as_echo_n "(cached) " >&6
   9340 else
   9341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9342 /* end confdefs.h.  */
   9343 int i;
   9344 int
   9345 main ()
   9346 {
   9347 
   9348   ;
   9349   return 0;
   9350 }
   9351 _ACEOF
   9352 if ac_fn_c_try_link "$LINENO"; then :
   9353   eval $cacheid=yes
   9354 else
   9355   eval $cacheid=no
   9356 fi
   9357 rm -f core conftest.err conftest.$ac_objext \
   9358     conftest$ac_exeext conftest.$ac_ext
   9359 fi
   9360 
   9361 
   9362 		CFLAGS="$xorg_testset_save_CFLAGS"
   9363 
   9364 		eval supported=\$$cacheid
   9365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9366 $as_echo "$supported" >&6; }
   9367 		if test "$supported" = "yes" ; then
   9368 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9369 			found="yes"
   9370 		fi
   9371 	fi
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 
   9387 xorg_testset_save_CFLAGS="$CFLAGS"
   9388 
   9389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int i;
   9399 _ACEOF
   9400 if ac_fn_c_try_compile "$LINENO"; then :
   9401   xorg_cv_cc_flag_unknown_warning_option=yes
   9402 else
   9403   xorg_cv_cc_flag_unknown_warning_option=no
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9406 fi
   9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9410 	CFLAGS="$xorg_testset_save_CFLAGS"
   9411 fi
   9412 
   9413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9416 	fi
   9417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9421   $as_echo_n "(cached) " >&6
   9422 else
   9423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9424 /* end confdefs.h.  */
   9425 int i;
   9426 _ACEOF
   9427 if ac_fn_c_try_compile "$LINENO"; then :
   9428   xorg_cv_cc_flag_unused_command_line_argument=yes
   9429 else
   9430   xorg_cv_cc_flag_unused_command_line_argument=no
   9431 fi
   9432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9433 fi
   9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9437 	CFLAGS="$xorg_testset_save_CFLAGS"
   9438 fi
   9439 
   9440 found="no"
   9441 
   9442 	if test $found = "no" ; then
   9443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9445 		fi
   9446 
   9447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9449 		fi
   9450 
   9451 		CFLAGS="$CFLAGS -Wreturn-type"
   9452 
   9453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9454 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9455 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9456 		if eval \${$cacheid+:} false; then :
   9457   $as_echo_n "(cached) " >&6
   9458 else
   9459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9460 /* end confdefs.h.  */
   9461 int i;
   9462 int
   9463 main ()
   9464 {
   9465 
   9466   ;
   9467   return 0;
   9468 }
   9469 _ACEOF
   9470 if ac_fn_c_try_link "$LINENO"; then :
   9471   eval $cacheid=yes
   9472 else
   9473   eval $cacheid=no
   9474 fi
   9475 rm -f core conftest.err conftest.$ac_objext \
   9476     conftest$ac_exeext conftest.$ac_ext
   9477 fi
   9478 
   9479 
   9480 		CFLAGS="$xorg_testset_save_CFLAGS"
   9481 
   9482 		eval supported=\$$cacheid
   9483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9484 $as_echo "$supported" >&6; }
   9485 		if test "$supported" = "yes" ; then
   9486 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9487 			found="yes"
   9488 		fi
   9489 	fi
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 
   9505 xorg_testset_save_CFLAGS="$CFLAGS"
   9506 
   9507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9510 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9511 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9512   $as_echo_n "(cached) " >&6
   9513 else
   9514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9515 /* end confdefs.h.  */
   9516 int i;
   9517 _ACEOF
   9518 if ac_fn_c_try_compile "$LINENO"; then :
   9519   xorg_cv_cc_flag_unknown_warning_option=yes
   9520 else
   9521   xorg_cv_cc_flag_unknown_warning_option=no
   9522 fi
   9523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9524 fi
   9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9526 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9527 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9528 	CFLAGS="$xorg_testset_save_CFLAGS"
   9529 fi
   9530 
   9531 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9532 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9533 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9534 	fi
   9535 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9537 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9538 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9539   $as_echo_n "(cached) " >&6
   9540 else
   9541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9542 /* end confdefs.h.  */
   9543 int i;
   9544 _ACEOF
   9545 if ac_fn_c_try_compile "$LINENO"; then :
   9546   xorg_cv_cc_flag_unused_command_line_argument=yes
   9547 else
   9548   xorg_cv_cc_flag_unused_command_line_argument=no
   9549 fi
   9550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9551 fi
   9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9553 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9555 	CFLAGS="$xorg_testset_save_CFLAGS"
   9556 fi
   9557 
   9558 found="no"
   9559 
   9560 	if test $found = "no" ; then
   9561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9563 		fi
   9564 
   9565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9567 		fi
   9568 
   9569 		CFLAGS="$CFLAGS -Wtrigraphs"
   9570 
   9571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9572 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9573 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9574 		if eval \${$cacheid+:} false; then :
   9575   $as_echo_n "(cached) " >&6
   9576 else
   9577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9578 /* end confdefs.h.  */
   9579 int i;
   9580 int
   9581 main ()
   9582 {
   9583 
   9584   ;
   9585   return 0;
   9586 }
   9587 _ACEOF
   9588 if ac_fn_c_try_link "$LINENO"; then :
   9589   eval $cacheid=yes
   9590 else
   9591   eval $cacheid=no
   9592 fi
   9593 rm -f core conftest.err conftest.$ac_objext \
   9594     conftest$ac_exeext conftest.$ac_ext
   9595 fi
   9596 
   9597 
   9598 		CFLAGS="$xorg_testset_save_CFLAGS"
   9599 
   9600 		eval supported=\$$cacheid
   9601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9602 $as_echo "$supported" >&6; }
   9603 		if test "$supported" = "yes" ; then
   9604 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9605 			found="yes"
   9606 		fi
   9607 	fi
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 xorg_testset_save_CFLAGS="$CFLAGS"
   9624 
   9625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9629 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9630   $as_echo_n "(cached) " >&6
   9631 else
   9632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9633 /* end confdefs.h.  */
   9634 int i;
   9635 _ACEOF
   9636 if ac_fn_c_try_compile "$LINENO"; then :
   9637   xorg_cv_cc_flag_unknown_warning_option=yes
   9638 else
   9639   xorg_cv_cc_flag_unknown_warning_option=no
   9640 fi
   9641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9642 fi
   9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9644 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9646 	CFLAGS="$xorg_testset_save_CFLAGS"
   9647 fi
   9648 
   9649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9652 	fi
   9653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9655 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9656 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9657   $as_echo_n "(cached) " >&6
   9658 else
   9659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 int i;
   9662 _ACEOF
   9663 if ac_fn_c_try_compile "$LINENO"; then :
   9664   xorg_cv_cc_flag_unused_command_line_argument=yes
   9665 else
   9666   xorg_cv_cc_flag_unused_command_line_argument=no
   9667 fi
   9668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9669 fi
   9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9671 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9673 	CFLAGS="$xorg_testset_save_CFLAGS"
   9674 fi
   9675 
   9676 found="no"
   9677 
   9678 	if test $found = "no" ; then
   9679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9681 		fi
   9682 
   9683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9685 		fi
   9686 
   9687 		CFLAGS="$CFLAGS -Warray-bounds"
   9688 
   9689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9690 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9691 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9692 		if eval \${$cacheid+:} false; then :
   9693   $as_echo_n "(cached) " >&6
   9694 else
   9695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9696 /* end confdefs.h.  */
   9697 int i;
   9698 int
   9699 main ()
   9700 {
   9701 
   9702   ;
   9703   return 0;
   9704 }
   9705 _ACEOF
   9706 if ac_fn_c_try_link "$LINENO"; then :
   9707   eval $cacheid=yes
   9708 else
   9709   eval $cacheid=no
   9710 fi
   9711 rm -f core conftest.err conftest.$ac_objext \
   9712     conftest$ac_exeext conftest.$ac_ext
   9713 fi
   9714 
   9715 
   9716 		CFLAGS="$xorg_testset_save_CFLAGS"
   9717 
   9718 		eval supported=\$$cacheid
   9719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9720 $as_echo "$supported" >&6; }
   9721 		if test "$supported" = "yes" ; then
   9722 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9723 			found="yes"
   9724 		fi
   9725 	fi
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 xorg_testset_save_CFLAGS="$CFLAGS"
   9742 
   9743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9748   $as_echo_n "(cached) " >&6
   9749 else
   9750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9751 /* end confdefs.h.  */
   9752 int i;
   9753 _ACEOF
   9754 if ac_fn_c_try_compile "$LINENO"; then :
   9755   xorg_cv_cc_flag_unknown_warning_option=yes
   9756 else
   9757   xorg_cv_cc_flag_unknown_warning_option=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9760 fi
   9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9764 	CFLAGS="$xorg_testset_save_CFLAGS"
   9765 fi
   9766 
   9767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9770 	fi
   9771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9775   $as_echo_n "(cached) " >&6
   9776 else
   9777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9778 /* end confdefs.h.  */
   9779 int i;
   9780 _ACEOF
   9781 if ac_fn_c_try_compile "$LINENO"; then :
   9782   xorg_cv_cc_flag_unused_command_line_argument=yes
   9783 else
   9784   xorg_cv_cc_flag_unused_command_line_argument=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9787 fi
   9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9791 	CFLAGS="$xorg_testset_save_CFLAGS"
   9792 fi
   9793 
   9794 found="no"
   9795 
   9796 	if test $found = "no" ; then
   9797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9799 		fi
   9800 
   9801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9803 		fi
   9804 
   9805 		CFLAGS="$CFLAGS -Wwrite-strings"
   9806 
   9807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9808 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9809 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9810 		if eval \${$cacheid+:} false; then :
   9811   $as_echo_n "(cached) " >&6
   9812 else
   9813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9814 /* end confdefs.h.  */
   9815 int i;
   9816 int
   9817 main ()
   9818 {
   9819 
   9820   ;
   9821   return 0;
   9822 }
   9823 _ACEOF
   9824 if ac_fn_c_try_link "$LINENO"; then :
   9825   eval $cacheid=yes
   9826 else
   9827   eval $cacheid=no
   9828 fi
   9829 rm -f core conftest.err conftest.$ac_objext \
   9830     conftest$ac_exeext conftest.$ac_ext
   9831 fi
   9832 
   9833 
   9834 		CFLAGS="$xorg_testset_save_CFLAGS"
   9835 
   9836 		eval supported=\$$cacheid
   9837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9838 $as_echo "$supported" >&6; }
   9839 		if test "$supported" = "yes" ; then
   9840 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9841 			found="yes"
   9842 		fi
   9843 	fi
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 xorg_testset_save_CFLAGS="$CFLAGS"
   9860 
   9861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9864 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9865 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9866   $as_echo_n "(cached) " >&6
   9867 else
   9868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 _ACEOF
   9872 if ac_fn_c_try_compile "$LINENO"; then :
   9873   xorg_cv_cc_flag_unknown_warning_option=yes
   9874 else
   9875   xorg_cv_cc_flag_unknown_warning_option=no
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9878 fi
   9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9880 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9882 	CFLAGS="$xorg_testset_save_CFLAGS"
   9883 fi
   9884 
   9885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9888 	fi
   9889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9890 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9891 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9892 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9893   $as_echo_n "(cached) " >&6
   9894 else
   9895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9896 /* end confdefs.h.  */
   9897 int i;
   9898 _ACEOF
   9899 if ac_fn_c_try_compile "$LINENO"; then :
   9900   xorg_cv_cc_flag_unused_command_line_argument=yes
   9901 else
   9902   xorg_cv_cc_flag_unused_command_line_argument=no
   9903 fi
   9904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9905 fi
   9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9907 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9909 	CFLAGS="$xorg_testset_save_CFLAGS"
   9910 fi
   9911 
   9912 found="no"
   9913 
   9914 	if test $found = "no" ; then
   9915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9917 		fi
   9918 
   9919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9921 		fi
   9922 
   9923 		CFLAGS="$CFLAGS -Waddress"
   9924 
   9925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9926 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9927 		cacheid=xorg_cv_cc_flag__Waddress
   9928 		if eval \${$cacheid+:} false; then :
   9929   $as_echo_n "(cached) " >&6
   9930 else
   9931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9932 /* end confdefs.h.  */
   9933 int i;
   9934 int
   9935 main ()
   9936 {
   9937 
   9938   ;
   9939   return 0;
   9940 }
   9941 _ACEOF
   9942 if ac_fn_c_try_link "$LINENO"; then :
   9943   eval $cacheid=yes
   9944 else
   9945   eval $cacheid=no
   9946 fi
   9947 rm -f core conftest.err conftest.$ac_objext \
   9948     conftest$ac_exeext conftest.$ac_ext
   9949 fi
   9950 
   9951 
   9952 		CFLAGS="$xorg_testset_save_CFLAGS"
   9953 
   9954 		eval supported=\$$cacheid
   9955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9956 $as_echo "$supported" >&6; }
   9957 		if test "$supported" = "yes" ; then
   9958 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9959 			found="yes"
   9960 		fi
   9961 	fi
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 xorg_testset_save_CFLAGS="$CFLAGS"
   9978 
   9979 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9980 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9982 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9983 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9984   $as_echo_n "(cached) " >&6
   9985 else
   9986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 _ACEOF
   9990 if ac_fn_c_try_compile "$LINENO"; then :
   9991   xorg_cv_cc_flag_unknown_warning_option=yes
   9992 else
   9993   xorg_cv_cc_flag_unknown_warning_option=no
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9996 fi
   9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9998 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10000 	CFLAGS="$xorg_testset_save_CFLAGS"
   10001 fi
   10002 
   10003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10006 	fi
   10007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10009 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10010 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10011   $as_echo_n "(cached) " >&6
   10012 else
   10013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10014 /* end confdefs.h.  */
   10015 int i;
   10016 _ACEOF
   10017 if ac_fn_c_try_compile "$LINENO"; then :
   10018   xorg_cv_cc_flag_unused_command_line_argument=yes
   10019 else
   10020   xorg_cv_cc_flag_unused_command_line_argument=no
   10021 fi
   10022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10023 fi
   10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10025 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10027 	CFLAGS="$xorg_testset_save_CFLAGS"
   10028 fi
   10029 
   10030 found="no"
   10031 
   10032 	if test $found = "no" ; then
   10033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10035 		fi
   10036 
   10037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10039 		fi
   10040 
   10041 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10042 
   10043 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10044 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10045 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10046 		if eval \${$cacheid+:} false; then :
   10047   $as_echo_n "(cached) " >&6
   10048 else
   10049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10050 /* end confdefs.h.  */
   10051 int i;
   10052 int
   10053 main ()
   10054 {
   10055 
   10056   ;
   10057   return 0;
   10058 }
   10059 _ACEOF
   10060 if ac_fn_c_try_link "$LINENO"; then :
   10061   eval $cacheid=yes
   10062 else
   10063   eval $cacheid=no
   10064 fi
   10065 rm -f core conftest.err conftest.$ac_objext \
   10066     conftest$ac_exeext conftest.$ac_ext
   10067 fi
   10068 
   10069 
   10070 		CFLAGS="$xorg_testset_save_CFLAGS"
   10071 
   10072 		eval supported=\$$cacheid
   10073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10074 $as_echo "$supported" >&6; }
   10075 		if test "$supported" = "yes" ; then
   10076 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10077 			found="yes"
   10078 		fi
   10079 	fi
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 xorg_testset_save_CFLAGS="$CFLAGS"
   10096 
   10097 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10098 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10100 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10101 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10102   $as_echo_n "(cached) " >&6
   10103 else
   10104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10105 /* end confdefs.h.  */
   10106 int i;
   10107 _ACEOF
   10108 if ac_fn_c_try_compile "$LINENO"; then :
   10109   xorg_cv_cc_flag_unknown_warning_option=yes
   10110 else
   10111   xorg_cv_cc_flag_unknown_warning_option=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10114 fi
   10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10116 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10124 	fi
   10125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10127 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10128 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10129   $as_echo_n "(cached) " >&6
   10130 else
   10131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10132 /* end confdefs.h.  */
   10133 int i;
   10134 _ACEOF
   10135 if ac_fn_c_try_compile "$LINENO"; then :
   10136   xorg_cv_cc_flag_unused_command_line_argument=yes
   10137 else
   10138   xorg_cv_cc_flag_unused_command_line_argument=no
   10139 fi
   10140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10141 fi
   10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10143 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10145 	CFLAGS="$xorg_testset_save_CFLAGS"
   10146 fi
   10147 
   10148 found="no"
   10149 
   10150 	if test $found = "no" ; then
   10151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 		fi
   10154 
   10155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10157 		fi
   10158 
   10159 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10160 
   10161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10162 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10163 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10164 		if eval \${$cacheid+:} false; then :
   10165   $as_echo_n "(cached) " >&6
   10166 else
   10167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10168 /* end confdefs.h.  */
   10169 int i;
   10170 int
   10171 main ()
   10172 {
   10173 
   10174   ;
   10175   return 0;
   10176 }
   10177 _ACEOF
   10178 if ac_fn_c_try_link "$LINENO"; then :
   10179   eval $cacheid=yes
   10180 else
   10181   eval $cacheid=no
   10182 fi
   10183 rm -f core conftest.err conftest.$ac_objext \
   10184     conftest$ac_exeext conftest.$ac_ext
   10185 fi
   10186 
   10187 
   10188 		CFLAGS="$xorg_testset_save_CFLAGS"
   10189 
   10190 		eval supported=\$$cacheid
   10191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10192 $as_echo "$supported" >&6; }
   10193 		if test "$supported" = "yes" ; then
   10194 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10195 			found="yes"
   10196 		fi
   10197 	fi
   10198 
   10199 
   10200 fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 		CWARNFLAGS="$BASE_CFLAGS"
   10209 		if  test "x$GCC" = xyes ; then
   10210 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10211 		fi
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 # Check whether --enable-strict-compilation was given.
   10221 if test "${enable_strict_compilation+set}" = set; then :
   10222   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10223 else
   10224   STRICT_COMPILE=no
   10225 fi
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 STRICT_CFLAGS=""
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 xorg_testset_save_CFLAGS="$CFLAGS"
   10247 
   10248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10253   $as_echo_n "(cached) " >&6
   10254 else
   10255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10256 /* end confdefs.h.  */
   10257 int i;
   10258 _ACEOF
   10259 if ac_fn_c_try_compile "$LINENO"; then :
   10260   xorg_cv_cc_flag_unknown_warning_option=yes
   10261 else
   10262   xorg_cv_cc_flag_unknown_warning_option=no
   10263 fi
   10264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10265 fi
   10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10269 	CFLAGS="$xorg_testset_save_CFLAGS"
   10270 fi
   10271 
   10272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10275 	fi
   10276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10280   $as_echo_n "(cached) " >&6
   10281 else
   10282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10283 /* end confdefs.h.  */
   10284 int i;
   10285 _ACEOF
   10286 if ac_fn_c_try_compile "$LINENO"; then :
   10287   xorg_cv_cc_flag_unused_command_line_argument=yes
   10288 else
   10289   xorg_cv_cc_flag_unused_command_line_argument=no
   10290 fi
   10291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10292 fi
   10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10296 	CFLAGS="$xorg_testset_save_CFLAGS"
   10297 fi
   10298 
   10299 found="no"
   10300 
   10301 	if test $found = "no" ; then
   10302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10304 		fi
   10305 
   10306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10308 		fi
   10309 
   10310 		CFLAGS="$CFLAGS -pedantic"
   10311 
   10312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10313 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10314 		cacheid=xorg_cv_cc_flag__pedantic
   10315 		if eval \${$cacheid+:} false; then :
   10316   $as_echo_n "(cached) " >&6
   10317 else
   10318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10319 /* end confdefs.h.  */
   10320 int i;
   10321 int
   10322 main ()
   10323 {
   10324 
   10325   ;
   10326   return 0;
   10327 }
   10328 _ACEOF
   10329 if ac_fn_c_try_link "$LINENO"; then :
   10330   eval $cacheid=yes
   10331 else
   10332   eval $cacheid=no
   10333 fi
   10334 rm -f core conftest.err conftest.$ac_objext \
   10335     conftest$ac_exeext conftest.$ac_ext
   10336 fi
   10337 
   10338 
   10339 		CFLAGS="$xorg_testset_save_CFLAGS"
   10340 
   10341 		eval supported=\$$cacheid
   10342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10343 $as_echo "$supported" >&6; }
   10344 		if test "$supported" = "yes" ; then
   10345 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10346 			found="yes"
   10347 		fi
   10348 	fi
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 xorg_testset_save_CFLAGS="$CFLAGS"
   10365 
   10366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10371   $as_echo_n "(cached) " >&6
   10372 else
   10373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10374 /* end confdefs.h.  */
   10375 int i;
   10376 _ACEOF
   10377 if ac_fn_c_try_compile "$LINENO"; then :
   10378   xorg_cv_cc_flag_unknown_warning_option=yes
   10379 else
   10380   xorg_cv_cc_flag_unknown_warning_option=no
   10381 fi
   10382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10383 fi
   10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10387 	CFLAGS="$xorg_testset_save_CFLAGS"
   10388 fi
   10389 
   10390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10393 	fi
   10394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10398   $as_echo_n "(cached) " >&6
   10399 else
   10400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10401 /* end confdefs.h.  */
   10402 int i;
   10403 _ACEOF
   10404 if ac_fn_c_try_compile "$LINENO"; then :
   10405   xorg_cv_cc_flag_unused_command_line_argument=yes
   10406 else
   10407   xorg_cv_cc_flag_unused_command_line_argument=no
   10408 fi
   10409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10410 fi
   10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10414 	CFLAGS="$xorg_testset_save_CFLAGS"
   10415 fi
   10416 
   10417 found="no"
   10418 
   10419 	if test $found = "no" ; then
   10420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10422 		fi
   10423 
   10424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10426 		fi
   10427 
   10428 		CFLAGS="$CFLAGS -Werror"
   10429 
   10430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10431 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10432 		cacheid=xorg_cv_cc_flag__Werror
   10433 		if eval \${$cacheid+:} false; then :
   10434   $as_echo_n "(cached) " >&6
   10435 else
   10436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10437 /* end confdefs.h.  */
   10438 int i;
   10439 int
   10440 main ()
   10441 {
   10442 
   10443   ;
   10444   return 0;
   10445 }
   10446 _ACEOF
   10447 if ac_fn_c_try_link "$LINENO"; then :
   10448   eval $cacheid=yes
   10449 else
   10450   eval $cacheid=no
   10451 fi
   10452 rm -f core conftest.err conftest.$ac_objext \
   10453     conftest$ac_exeext conftest.$ac_ext
   10454 fi
   10455 
   10456 
   10457 		CFLAGS="$xorg_testset_save_CFLAGS"
   10458 
   10459 		eval supported=\$$cacheid
   10460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10461 $as_echo "$supported" >&6; }
   10462 		if test "$supported" = "yes" ; then
   10463 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10464 			found="yes"
   10465 		fi
   10466 	fi
   10467 
   10468 	if test $found = "no" ; then
   10469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10471 		fi
   10472 
   10473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10475 		fi
   10476 
   10477 		CFLAGS="$CFLAGS -errwarn"
   10478 
   10479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10480 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10481 		cacheid=xorg_cv_cc_flag__errwarn
   10482 		if eval \${$cacheid+:} false; then :
   10483   $as_echo_n "(cached) " >&6
   10484 else
   10485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10486 /* end confdefs.h.  */
   10487 int i;
   10488 int
   10489 main ()
   10490 {
   10491 
   10492   ;
   10493   return 0;
   10494 }
   10495 _ACEOF
   10496 if ac_fn_c_try_link "$LINENO"; then :
   10497   eval $cacheid=yes
   10498 else
   10499   eval $cacheid=no
   10500 fi
   10501 rm -f core conftest.err conftest.$ac_objext \
   10502     conftest$ac_exeext conftest.$ac_ext
   10503 fi
   10504 
   10505 
   10506 		CFLAGS="$xorg_testset_save_CFLAGS"
   10507 
   10508 		eval supported=\$$cacheid
   10509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10510 $as_echo "$supported" >&6; }
   10511 		if test "$supported" = "yes" ; then
   10512 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10513 			found="yes"
   10514 		fi
   10515 	fi
   10516 
   10517 
   10518 
   10519 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10520 # activate it with -Werror, so we add it here explicitly.
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 xorg_testset_save_CFLAGS="$CFLAGS"
   10535 
   10536 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10537 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10538 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10539 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10540 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10541   $as_echo_n "(cached) " >&6
   10542 else
   10543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10544 /* end confdefs.h.  */
   10545 int i;
   10546 _ACEOF
   10547 if ac_fn_c_try_compile "$LINENO"; then :
   10548   xorg_cv_cc_flag_unknown_warning_option=yes
   10549 else
   10550   xorg_cv_cc_flag_unknown_warning_option=no
   10551 fi
   10552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10553 fi
   10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10555 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10556 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10557 	CFLAGS="$xorg_testset_save_CFLAGS"
   10558 fi
   10559 
   10560 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10561 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10562 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10563 	fi
   10564 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10566 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10567 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10568   $as_echo_n "(cached) " >&6
   10569 else
   10570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10571 /* end confdefs.h.  */
   10572 int i;
   10573 _ACEOF
   10574 if ac_fn_c_try_compile "$LINENO"; then :
   10575   xorg_cv_cc_flag_unused_command_line_argument=yes
   10576 else
   10577   xorg_cv_cc_flag_unused_command_line_argument=no
   10578 fi
   10579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10580 fi
   10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10582 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10584 	CFLAGS="$xorg_testset_save_CFLAGS"
   10585 fi
   10586 
   10587 found="no"
   10588 
   10589 	if test $found = "no" ; then
   10590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10592 		fi
   10593 
   10594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10596 		fi
   10597 
   10598 		CFLAGS="$CFLAGS -Werror=attributes"
   10599 
   10600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10601 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10602 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10603 		if eval \${$cacheid+:} false; then :
   10604   $as_echo_n "(cached) " >&6
   10605 else
   10606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10607 /* end confdefs.h.  */
   10608 int i;
   10609 int
   10610 main ()
   10611 {
   10612 
   10613   ;
   10614   return 0;
   10615 }
   10616 _ACEOF
   10617 if ac_fn_c_try_link "$LINENO"; then :
   10618   eval $cacheid=yes
   10619 else
   10620   eval $cacheid=no
   10621 fi
   10622 rm -f core conftest.err conftest.$ac_objext \
   10623     conftest$ac_exeext conftest.$ac_ext
   10624 fi
   10625 
   10626 
   10627 		CFLAGS="$xorg_testset_save_CFLAGS"
   10628 
   10629 		eval supported=\$$cacheid
   10630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10631 $as_echo "$supported" >&6; }
   10632 		if test "$supported" = "yes" ; then
   10633 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10634 			found="yes"
   10635 		fi
   10636 	fi
   10637 
   10638 
   10639 
   10640 if test "x$STRICT_COMPILE" = "xyes"; then
   10641     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10642     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10643 fi
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 cat >>confdefs.h <<_ACEOF
   10651 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10652 _ACEOF
   10653 
   10654 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10655 	if test "x$PVM" = "x"; then
   10656 		PVM="0"
   10657 	fi
   10658 
   10659 cat >>confdefs.h <<_ACEOF
   10660 #define PACKAGE_VERSION_MINOR $PVM
   10661 _ACEOF
   10662 
   10663 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10664 	if test "x$PVP" = "x"; then
   10665 		PVP="0"
   10666 	fi
   10667 
   10668 cat >>confdefs.h <<_ACEOF
   10669 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10670 _ACEOF
   10671 
   10672 
   10673 
   10674 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   10675 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10676 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   10677 touch \$(top_srcdir)/ChangeLog; \
   10678 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   10679 
   10680 
   10681 
   10682 
   10683 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10684 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10685 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10686 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   10687 touch \$(top_srcdir)/INSTALL; \
   10688 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 case $host_os in
   10696     solaris*)
   10697         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   10698         # check for a man page file found in later versions that use
   10699         # traditional section numbers instead
   10700         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   10701 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   10702 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   10703   $as_echo_n "(cached) " >&6
   10704 else
   10705   test "$cross_compiling" = yes &&
   10706   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   10707 if test -r "/usr/share/man/man7/attributes.7"; then
   10708   ac_cv_file__usr_share_man_man7_attributes_7=yes
   10709 else
   10710   ac_cv_file__usr_share_man_man7_attributes_7=no
   10711 fi
   10712 fi
   10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   10714 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   10715 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   10716   SYSV_MAN_SECTIONS=false
   10717 else
   10718   SYSV_MAN_SECTIONS=true
   10719 fi
   10720 
   10721         ;;
   10722     *) SYSV_MAN_SECTIONS=false ;;
   10723 esac
   10724 
   10725 if test x$APP_MAN_SUFFIX = x    ; then
   10726     APP_MAN_SUFFIX=1
   10727 fi
   10728 if test x$APP_MAN_DIR = x    ; then
   10729     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10730 fi
   10731 
   10732 if test x$LIB_MAN_SUFFIX = x    ; then
   10733     LIB_MAN_SUFFIX=3
   10734 fi
   10735 if test x$LIB_MAN_DIR = x    ; then
   10736     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10737 fi
   10738 
   10739 if test x$FILE_MAN_SUFFIX = x    ; then
   10740     case $SYSV_MAN_SECTIONS in
   10741 	true)				FILE_MAN_SUFFIX=4  ;;
   10742 	*)				FILE_MAN_SUFFIX=5  ;;
   10743     esac
   10744 fi
   10745 if test x$FILE_MAN_DIR = x    ; then
   10746     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10747 fi
   10748 
   10749 if test x$MISC_MAN_SUFFIX = x    ; then
   10750     case $SYSV_MAN_SECTIONS in
   10751 	true)				MISC_MAN_SUFFIX=5  ;;
   10752 	*)				MISC_MAN_SUFFIX=7  ;;
   10753     esac
   10754 fi
   10755 if test x$MISC_MAN_DIR = x    ; then
   10756     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10757 fi
   10758 
   10759 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10760     case $SYSV_MAN_SECTIONS in
   10761 	true)				DRIVER_MAN_SUFFIX=7  ;;
   10762 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10763     esac
   10764 fi
   10765 if test x$DRIVER_MAN_DIR = x    ; then
   10766     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10767 fi
   10768 
   10769 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10770     case $SYSV_MAN_SECTIONS in
   10771 	true)				ADMIN_MAN_SUFFIX=1m ;;
   10772 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10773     esac
   10774 fi
   10775 if test x$ADMIN_MAN_DIR = x    ; then
   10776     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10777 fi
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 XORG_MAN_PAGE="X Version 11"
   10794 
   10795 MAN_SUBSTS="\
   10796 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10797 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10798 	-e 's|__xservername__|Xorg|g' \
   10799 	-e 's|__xconfigfile__|xorg.conf|g' \
   10800 	-e 's|__projectroot__|\$(prefix)|g' \
   10801 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10802 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10803 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10804 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10805 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10806 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10807 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10808 
   10809 
   10810 
   10811 # Check whether --enable-silent-rules was given.
   10812 if test "${enable_silent_rules+set}" = set; then :
   10813   enableval=$enable_silent_rules;
   10814 fi
   10815 
   10816 case $enable_silent_rules in # (((
   10817   yes) AM_DEFAULT_VERBOSITY=0;;
   10818    no) AM_DEFAULT_VERBOSITY=1;;
   10819     *) AM_DEFAULT_VERBOSITY=0;;
   10820 esac
   10821 am_make=${MAKE-make}
   10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10823 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10824 if ${am_cv_make_support_nested_variables+:} false; then :
   10825   $as_echo_n "(cached) " >&6
   10826 else
   10827   if $as_echo 'TRUE=$(BAR$(V))
   10828 BAR0=false
   10829 BAR1=true
   10830 V=1
   10831 am__doit:
   10832 	@$(TRUE)
   10833 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10834   am_cv_make_support_nested_variables=yes
   10835 else
   10836   am_cv_make_support_nested_variables=no
   10837 fi
   10838 fi
   10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10840 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10841 if test $am_cv_make_support_nested_variables = yes; then
   10842     AM_V='$(V)'
   10843   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10844 else
   10845   AM_V=$AM_DEFAULT_VERBOSITY
   10846   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10847 fi
   10848 AM_BACKSLASH='\'
   10849 
   10850 
   10851 
   10852 # Require X.Org server macros (i.e. XORG_DRIVER_CHECK_EXT) to check for required modules
   10853 
   10854 
   10855 # Initialize libtool
   10856 case `pwd` in
   10857   *\ * | *\	*)
   10858     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10859 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10860 esac
   10861 
   10862 
   10863 
   10864 macro_version='2.4.6'
   10865 macro_revision='2.4.6'
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 ltmain=$ac_aux_dir/ltmain.sh
   10880 
   10881 # Backslashify metacharacters that are still active within
   10882 # double-quoted strings.
   10883 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10884 
   10885 # Same as above, but do not quote variable references.
   10886 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10887 
   10888 # Sed substitution to delay expansion of an escaped shell variable in a
   10889 # double_quote_subst'ed string.
   10890 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10891 
   10892 # Sed substitution to delay expansion of an escaped single quote.
   10893 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10894 
   10895 # Sed substitution to avoid accidental globbing in evaled expressions
   10896 no_glob_subst='s/\*/\\\*/g'
   10897 
   10898 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10899 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10900 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10901 
   10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10903 $as_echo_n "checking how to print strings... " >&6; }
   10904 # Test print first, because it will be a builtin if present.
   10905 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10906    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10907   ECHO='print -r --'
   10908 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10909   ECHO='printf %s\n'
   10910 else
   10911   # Use this function as a fallback that always works.
   10912   func_fallback_echo ()
   10913   {
   10914     eval 'cat <<_LTECHO_EOF
   10915 $1
   10916 _LTECHO_EOF'
   10917   }
   10918   ECHO='func_fallback_echo'
   10919 fi
   10920 
   10921 # func_echo_all arg...
   10922 # Invoke $ECHO with all args, space-separated.
   10923 func_echo_all ()
   10924 {
   10925     $ECHO ""
   10926 }
   10927 
   10928 case $ECHO in
   10929   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10930 $as_echo "printf" >&6; } ;;
   10931   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10932 $as_echo "print -r" >&6; } ;;
   10933   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10934 $as_echo "cat" >&6; } ;;
   10935 esac
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10951 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10952 if ${ac_cv_path_SED+:} false; then :
   10953   $as_echo_n "(cached) " >&6
   10954 else
   10955             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10956      for ac_i in 1 2 3 4 5 6 7; do
   10957        ac_script="$ac_script$as_nl$ac_script"
   10958      done
   10959      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10960      { ac_script=; unset ac_script;}
   10961      if test -z "$SED"; then
   10962   ac_path_SED_found=false
   10963   # Loop through the user's path and test for each of PROGNAME-LIST
   10964   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10965 for as_dir in $PATH
   10966 do
   10967   IFS=$as_save_IFS
   10968   test -z "$as_dir" && as_dir=.
   10969     for ac_prog in sed gsed; do
   10970     for ac_exec_ext in '' $ac_executable_extensions; do
   10971       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10972       as_fn_executable_p "$ac_path_SED" || continue
   10973 # Check for GNU ac_path_SED and select it if it is found.
   10974   # Check for GNU $ac_path_SED
   10975 case `"$ac_path_SED" --version 2>&1` in
   10976 *GNU*)
   10977   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10978 *)
   10979   ac_count=0
   10980   $as_echo_n 0123456789 >"conftest.in"
   10981   while :
   10982   do
   10983     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10984     mv "conftest.tmp" "conftest.in"
   10985     cp "conftest.in" "conftest.nl"
   10986     $as_echo '' >> "conftest.nl"
   10987     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10988     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10989     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10990     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10991       # Best one so far, save it but keep looking for a better one
   10992       ac_cv_path_SED="$ac_path_SED"
   10993       ac_path_SED_max=$ac_count
   10994     fi
   10995     # 10*(2^10) chars as input seems more than enough
   10996     test $ac_count -gt 10 && break
   10997   done
   10998   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10999 esac
   11000 
   11001       $ac_path_SED_found && break 3
   11002     done
   11003   done
   11004   done
   11005 IFS=$as_save_IFS
   11006   if test -z "$ac_cv_path_SED"; then
   11007     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11008   fi
   11009 else
   11010   ac_cv_path_SED=$SED
   11011 fi
   11012 
   11013 fi
   11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11015 $as_echo "$ac_cv_path_SED" >&6; }
   11016  SED="$ac_cv_path_SED"
   11017   rm -f conftest.sed
   11018 
   11019 test -z "$SED" && SED=sed
   11020 Xsed="$SED -e 1s/^X//"
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11033 $as_echo_n "checking for fgrep... " >&6; }
   11034 if ${ac_cv_path_FGREP+:} false; then :
   11035   $as_echo_n "(cached) " >&6
   11036 else
   11037   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11038    then ac_cv_path_FGREP="$GREP -F"
   11039    else
   11040      if test -z "$FGREP"; then
   11041   ac_path_FGREP_found=false
   11042   # Loop through the user's path and test for each of PROGNAME-LIST
   11043   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11045 do
   11046   IFS=$as_save_IFS
   11047   test -z "$as_dir" && as_dir=.
   11048     for ac_prog in fgrep; do
   11049     for ac_exec_ext in '' $ac_executable_extensions; do
   11050       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11051       as_fn_executable_p "$ac_path_FGREP" || continue
   11052 # Check for GNU ac_path_FGREP and select it if it is found.
   11053   # Check for GNU $ac_path_FGREP
   11054 case `"$ac_path_FGREP" --version 2>&1` in
   11055 *GNU*)
   11056   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11057 *)
   11058   ac_count=0
   11059   $as_echo_n 0123456789 >"conftest.in"
   11060   while :
   11061   do
   11062     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11063     mv "conftest.tmp" "conftest.in"
   11064     cp "conftest.in" "conftest.nl"
   11065     $as_echo 'FGREP' >> "conftest.nl"
   11066     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11067     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11068     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11069     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11070       # Best one so far, save it but keep looking for a better one
   11071       ac_cv_path_FGREP="$ac_path_FGREP"
   11072       ac_path_FGREP_max=$ac_count
   11073     fi
   11074     # 10*(2^10) chars as input seems more than enough
   11075     test $ac_count -gt 10 && break
   11076   done
   11077   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11078 esac
   11079 
   11080       $ac_path_FGREP_found && break 3
   11081     done
   11082   done
   11083   done
   11084 IFS=$as_save_IFS
   11085   if test -z "$ac_cv_path_FGREP"; then
   11086     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11087   fi
   11088 else
   11089   ac_cv_path_FGREP=$FGREP
   11090 fi
   11091 
   11092    fi
   11093 fi
   11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11095 $as_echo "$ac_cv_path_FGREP" >&6; }
   11096  FGREP="$ac_cv_path_FGREP"
   11097 
   11098 
   11099 test -z "$GREP" && GREP=grep
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 # Check whether --with-gnu-ld was given.
   11120 if test "${with_gnu_ld+set}" = set; then :
   11121   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11122 else
   11123   with_gnu_ld=no
   11124 fi
   11125 
   11126 ac_prog=ld
   11127 if test yes = "$GCC"; then
   11128   # Check if gcc -print-prog-name=ld gives a path.
   11129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11130 $as_echo_n "checking for ld used by $CC... " >&6; }
   11131   case $host in
   11132   *-*-mingw*)
   11133     # gcc leaves a trailing carriage return, which upsets mingw
   11134     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11135   *)
   11136     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11137   esac
   11138   case $ac_prog in
   11139     # Accept absolute paths.
   11140     [\\/]* | ?:[\\/]*)
   11141       re_direlt='/[^/][^/]*/\.\./'
   11142       # Canonicalize the pathname of ld
   11143       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11144       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11145 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11146       done
   11147       test -z "$LD" && LD=$ac_prog
   11148       ;;
   11149   "")
   11150     # If it fails, then pretend we aren't using GCC.
   11151     ac_prog=ld
   11152     ;;
   11153   *)
   11154     # If it is relative, then search for the first ld in PATH.
   11155     with_gnu_ld=unknown
   11156     ;;
   11157   esac
   11158 elif test yes = "$with_gnu_ld"; then
   11159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11160 $as_echo_n "checking for GNU ld... " >&6; }
   11161 else
   11162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11163 $as_echo_n "checking for non-GNU ld... " >&6; }
   11164 fi
   11165 if ${lt_cv_path_LD+:} false; then :
   11166   $as_echo_n "(cached) " >&6
   11167 else
   11168   if test -z "$LD"; then
   11169   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11170   for ac_dir in $PATH; do
   11171     IFS=$lt_save_ifs
   11172     test -z "$ac_dir" && ac_dir=.
   11173     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11174       lt_cv_path_LD=$ac_dir/$ac_prog
   11175       # Check to see if the program is GNU ld.  I'd rather use --version,
   11176       # but apparently some variants of GNU ld only accept -v.
   11177       # Break only if it was the GNU/non-GNU ld that we prefer.
   11178       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11179       *GNU* | *'with BFD'*)
   11180 	test no != "$with_gnu_ld" && break
   11181 	;;
   11182       *)
   11183 	test yes != "$with_gnu_ld" && break
   11184 	;;
   11185       esac
   11186     fi
   11187   done
   11188   IFS=$lt_save_ifs
   11189 else
   11190   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11191 fi
   11192 fi
   11193 
   11194 LD=$lt_cv_path_LD
   11195 if test -n "$LD"; then
   11196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11197 $as_echo "$LD" >&6; }
   11198 else
   11199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11200 $as_echo "no" >&6; }
   11201 fi
   11202 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11204 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11205 if ${lt_cv_prog_gnu_ld+:} false; then :
   11206   $as_echo_n "(cached) " >&6
   11207 else
   11208   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11209 case `$LD -v 2>&1 </dev/null` in
   11210 *GNU* | *'with BFD'*)
   11211   lt_cv_prog_gnu_ld=yes
   11212   ;;
   11213 *)
   11214   lt_cv_prog_gnu_ld=no
   11215   ;;
   11216 esac
   11217 fi
   11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11219 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11220 with_gnu_ld=$lt_cv_prog_gnu_ld
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11231 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11232 if ${lt_cv_path_NM+:} false; then :
   11233   $as_echo_n "(cached) " >&6
   11234 else
   11235   if test -n "$NM"; then
   11236   # Let the user override the test.
   11237   lt_cv_path_NM=$NM
   11238 else
   11239   lt_nm_to_check=${ac_tool_prefix}nm
   11240   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11241     lt_nm_to_check="$lt_nm_to_check nm"
   11242   fi
   11243   for lt_tmp_nm in $lt_nm_to_check; do
   11244     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11245     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11246       IFS=$lt_save_ifs
   11247       test -z "$ac_dir" && ac_dir=.
   11248       tmp_nm=$ac_dir/$lt_tmp_nm
   11249       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11250 	# Check to see if the nm accepts a BSD-compat flag.
   11251 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11252 	#   nm: unknown option "B" ignored
   11253 	# Tru64's nm complains that /dev/null is an invalid object file
   11254 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11255 	case $build_os in
   11256 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11257 	*) lt_bad_file=/dev/null ;;
   11258 	esac
   11259 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11260 	*$lt_bad_file* | *'Invalid file or object type'*)
   11261 	  lt_cv_path_NM="$tmp_nm -B"
   11262 	  break 2
   11263 	  ;;
   11264 	*)
   11265 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11266 	  */dev/null*)
   11267 	    lt_cv_path_NM="$tmp_nm -p"
   11268 	    break 2
   11269 	    ;;
   11270 	  *)
   11271 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11272 	    continue # so that we can try to find one that supports BSD flags
   11273 	    ;;
   11274 	  esac
   11275 	  ;;
   11276 	esac
   11277       fi
   11278     done
   11279     IFS=$lt_save_ifs
   11280   done
   11281   : ${lt_cv_path_NM=no}
   11282 fi
   11283 fi
   11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11285 $as_echo "$lt_cv_path_NM" >&6; }
   11286 if test no != "$lt_cv_path_NM"; then
   11287   NM=$lt_cv_path_NM
   11288 else
   11289   # Didn't find any BSD compatible name lister, look for dumpbin.
   11290   if test -n "$DUMPBIN"; then :
   11291     # Let the user override the test.
   11292   else
   11293     if test -n "$ac_tool_prefix"; then
   11294   for ac_prog in dumpbin "link -dump"
   11295   do
   11296     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11299 $as_echo_n "checking for $ac_word... " >&6; }
   11300 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11301   $as_echo_n "(cached) " >&6
   11302 else
   11303   if test -n "$DUMPBIN"; then
   11304   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11305 else
   11306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11307 for as_dir in $PATH
   11308 do
   11309   IFS=$as_save_IFS
   11310   test -z "$as_dir" && as_dir=.
   11311     for ac_exec_ext in '' $ac_executable_extensions; do
   11312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11313     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11315     break 2
   11316   fi
   11317 done
   11318   done
   11319 IFS=$as_save_IFS
   11320 
   11321 fi
   11322 fi
   11323 DUMPBIN=$ac_cv_prog_DUMPBIN
   11324 if test -n "$DUMPBIN"; then
   11325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11326 $as_echo "$DUMPBIN" >&6; }
   11327 else
   11328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11329 $as_echo "no" >&6; }
   11330 fi
   11331 
   11332 
   11333     test -n "$DUMPBIN" && break
   11334   done
   11335 fi
   11336 if test -z "$DUMPBIN"; then
   11337   ac_ct_DUMPBIN=$DUMPBIN
   11338   for ac_prog in dumpbin "link -dump"
   11339 do
   11340   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11341 set dummy $ac_prog; ac_word=$2
   11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11343 $as_echo_n "checking for $ac_word... " >&6; }
   11344 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11345   $as_echo_n "(cached) " >&6
   11346 else
   11347   if test -n "$ac_ct_DUMPBIN"; then
   11348   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11349 else
   11350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11351 for as_dir in $PATH
   11352 do
   11353   IFS=$as_save_IFS
   11354   test -z "$as_dir" && as_dir=.
   11355     for ac_exec_ext in '' $ac_executable_extensions; do
   11356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11357     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11359     break 2
   11360   fi
   11361 done
   11362   done
   11363 IFS=$as_save_IFS
   11364 
   11365 fi
   11366 fi
   11367 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11368 if test -n "$ac_ct_DUMPBIN"; then
   11369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11370 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11371 else
   11372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11373 $as_echo "no" >&6; }
   11374 fi
   11375 
   11376 
   11377   test -n "$ac_ct_DUMPBIN" && break
   11378 done
   11379 
   11380   if test "x$ac_ct_DUMPBIN" = x; then
   11381     DUMPBIN=":"
   11382   else
   11383     case $cross_compiling:$ac_tool_warned in
   11384 yes:)
   11385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11387 ac_tool_warned=yes ;;
   11388 esac
   11389     DUMPBIN=$ac_ct_DUMPBIN
   11390   fi
   11391 fi
   11392 
   11393     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11394     *COFF*)
   11395       DUMPBIN="$DUMPBIN -symbols -headers"
   11396       ;;
   11397     *)
   11398       DUMPBIN=:
   11399       ;;
   11400     esac
   11401   fi
   11402 
   11403   if test : != "$DUMPBIN"; then
   11404     NM=$DUMPBIN
   11405   fi
   11406 fi
   11407 test -z "$NM" && NM=nm
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11415 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11416 if ${lt_cv_nm_interface+:} false; then :
   11417   $as_echo_n "(cached) " >&6
   11418 else
   11419   lt_cv_nm_interface="BSD nm"
   11420   echo "int some_variable = 0;" > conftest.$ac_ext
   11421   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11422   (eval "$ac_compile" 2>conftest.err)
   11423   cat conftest.err >&5
   11424   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11425   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11426   cat conftest.err >&5
   11427   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11428   cat conftest.out >&5
   11429   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11430     lt_cv_nm_interface="MS dumpbin"
   11431   fi
   11432   rm -f conftest*
   11433 fi
   11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11435 $as_echo "$lt_cv_nm_interface" >&6; }
   11436 
   11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11438 $as_echo_n "checking whether ln -s works... " >&6; }
   11439 LN_S=$as_ln_s
   11440 if test "$LN_S" = "ln -s"; then
   11441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11442 $as_echo "yes" >&6; }
   11443 else
   11444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11445 $as_echo "no, using $LN_S" >&6; }
   11446 fi
   11447 
   11448 # find the maximum length of command line arguments
   11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11450 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11451 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11452   $as_echo_n "(cached) " >&6
   11453 else
   11454     i=0
   11455   teststring=ABCD
   11456 
   11457   case $build_os in
   11458   msdosdjgpp*)
   11459     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11460     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11461     # during glob expansion).  Even if it were fixed, the result of this
   11462     # check would be larger than it should be.
   11463     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11464     ;;
   11465 
   11466   gnu*)
   11467     # Under GNU Hurd, this test is not required because there is
   11468     # no limit to the length of command line arguments.
   11469     # Libtool will interpret -1 as no limit whatsoever
   11470     lt_cv_sys_max_cmd_len=-1;
   11471     ;;
   11472 
   11473   cygwin* | mingw* | cegcc*)
   11474     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11475     # about 5 minutes as the teststring grows exponentially.
   11476     # Worse, since 9x/ME are not pre-emptively multitasking,
   11477     # you end up with a "frozen" computer, even though with patience
   11478     # the test eventually succeeds (with a max line length of 256k).
   11479     # Instead, let's just punt: use the minimum linelength reported by
   11480     # all of the supported platforms: 8192 (on NT/2K/XP).
   11481     lt_cv_sys_max_cmd_len=8192;
   11482     ;;
   11483 
   11484   mint*)
   11485     # On MiNT this can take a long time and run out of memory.
   11486     lt_cv_sys_max_cmd_len=8192;
   11487     ;;
   11488 
   11489   amigaos*)
   11490     # On AmigaOS with pdksh, this test takes hours, literally.
   11491     # So we just punt and use a minimum line length of 8192.
   11492     lt_cv_sys_max_cmd_len=8192;
   11493     ;;
   11494 
   11495   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11496     # This has been around since 386BSD, at least.  Likely further.
   11497     if test -x /sbin/sysctl; then
   11498       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11499     elif test -x /usr/sbin/sysctl; then
   11500       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11501     else
   11502       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11503     fi
   11504     # And add a safety zone
   11505     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11506     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11507     ;;
   11508 
   11509   interix*)
   11510     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11511     lt_cv_sys_max_cmd_len=196608
   11512     ;;
   11513 
   11514   os2*)
   11515     # The test takes a long time on OS/2.
   11516     lt_cv_sys_max_cmd_len=8192
   11517     ;;
   11518 
   11519   osf*)
   11520     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11521     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11522     # nice to cause kernel panics so lets avoid the loop below.
   11523     # First set a reasonable default.
   11524     lt_cv_sys_max_cmd_len=16384
   11525     #
   11526     if test -x /sbin/sysconfig; then
   11527       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11528         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11529       esac
   11530     fi
   11531     ;;
   11532   sco3.2v5*)
   11533     lt_cv_sys_max_cmd_len=102400
   11534     ;;
   11535   sysv5* | sco5v6* | sysv4.2uw2*)
   11536     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11537     if test -n "$kargmax"; then
   11538       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11539     else
   11540       lt_cv_sys_max_cmd_len=32768
   11541     fi
   11542     ;;
   11543   *)
   11544     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11545     if test -n "$lt_cv_sys_max_cmd_len" && \
   11546        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11547       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11548       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11549     else
   11550       # Make teststring a little bigger before we do anything with it.
   11551       # a 1K string should be a reasonable start.
   11552       for i in 1 2 3 4 5 6 7 8; do
   11553         teststring=$teststring$teststring
   11554       done
   11555       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11556       # If test is not a shell built-in, we'll probably end up computing a
   11557       # maximum length that is only half of the actual maximum length, but
   11558       # we can't tell.
   11559       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11560 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11561 	      test 17 != "$i" # 1/2 MB should be enough
   11562       do
   11563         i=`expr $i + 1`
   11564         teststring=$teststring$teststring
   11565       done
   11566       # Only check the string length outside the loop.
   11567       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11568       teststring=
   11569       # Add a significant safety factor because C++ compilers can tack on
   11570       # massive amounts of additional arguments before passing them to the
   11571       # linker.  It appears as though 1/2 is a usable value.
   11572       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11573     fi
   11574     ;;
   11575   esac
   11576 
   11577 fi
   11578 
   11579 if test -n "$lt_cv_sys_max_cmd_len"; then
   11580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11581 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11582 else
   11583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11584 $as_echo "none" >&6; }
   11585 fi
   11586 max_cmd_len=$lt_cv_sys_max_cmd_len
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 : ${CP="cp -f"}
   11594 : ${MV="mv -f"}
   11595 : ${RM="rm -f"}
   11596 
   11597 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11598   lt_unset=unset
   11599 else
   11600   lt_unset=false
   11601 fi
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 # test EBCDIC or ASCII
   11608 case `echo X|tr X '\101'` in
   11609  A) # ASCII based system
   11610     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11611   lt_SP2NL='tr \040 \012'
   11612   lt_NL2SP='tr \015\012 \040\040'
   11613   ;;
   11614  *) # EBCDIC based system
   11615   lt_SP2NL='tr \100 \n'
   11616   lt_NL2SP='tr \r\n \100\100'
   11617   ;;
   11618 esac
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11629 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11630 if ${lt_cv_to_host_file_cmd+:} false; then :
   11631   $as_echo_n "(cached) " >&6
   11632 else
   11633   case $host in
   11634   *-*-mingw* )
   11635     case $build in
   11636       *-*-mingw* ) # actually msys
   11637         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11638         ;;
   11639       *-*-cygwin* )
   11640         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11641         ;;
   11642       * ) # otherwise, assume *nix
   11643         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11644         ;;
   11645     esac
   11646     ;;
   11647   *-*-cygwin* )
   11648     case $build in
   11649       *-*-mingw* ) # actually msys
   11650         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11651         ;;
   11652       *-*-cygwin* )
   11653         lt_cv_to_host_file_cmd=func_convert_file_noop
   11654         ;;
   11655       * ) # otherwise, assume *nix
   11656         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11657         ;;
   11658     esac
   11659     ;;
   11660   * ) # unhandled hosts (and "normal" native builds)
   11661     lt_cv_to_host_file_cmd=func_convert_file_noop
   11662     ;;
   11663 esac
   11664 
   11665 fi
   11666 
   11667 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11669 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11676 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11677 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11678   $as_echo_n "(cached) " >&6
   11679 else
   11680   #assume ordinary cross tools, or native build.
   11681 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11682 case $host in
   11683   *-*-mingw* )
   11684     case $build in
   11685       *-*-mingw* ) # actually msys
   11686         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11687         ;;
   11688     esac
   11689     ;;
   11690 esac
   11691 
   11692 fi
   11693 
   11694 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11696 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11703 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11704 if ${lt_cv_ld_reload_flag+:} false; then :
   11705   $as_echo_n "(cached) " >&6
   11706 else
   11707   lt_cv_ld_reload_flag='-r'
   11708 fi
   11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11710 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11711 reload_flag=$lt_cv_ld_reload_flag
   11712 case $reload_flag in
   11713 "" | " "*) ;;
   11714 *) reload_flag=" $reload_flag" ;;
   11715 esac
   11716 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11717 case $host_os in
   11718   cygwin* | mingw* | pw32* | cegcc*)
   11719     if test yes != "$GCC"; then
   11720       reload_cmds=false
   11721     fi
   11722     ;;
   11723   darwin*)
   11724     if test yes = "$GCC"; then
   11725       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11726     else
   11727       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11728     fi
   11729     ;;
   11730 esac
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 if test -n "$ac_tool_prefix"; then
   11741   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11742 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11744 $as_echo_n "checking for $ac_word... " >&6; }
   11745 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11746   $as_echo_n "(cached) " >&6
   11747 else
   11748   if test -n "$OBJDUMP"; then
   11749   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11750 else
   11751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11752 for as_dir in $PATH
   11753 do
   11754   IFS=$as_save_IFS
   11755   test -z "$as_dir" && as_dir=.
   11756     for ac_exec_ext in '' $ac_executable_extensions; do
   11757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11758     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11760     break 2
   11761   fi
   11762 done
   11763   done
   11764 IFS=$as_save_IFS
   11765 
   11766 fi
   11767 fi
   11768 OBJDUMP=$ac_cv_prog_OBJDUMP
   11769 if test -n "$OBJDUMP"; then
   11770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11771 $as_echo "$OBJDUMP" >&6; }
   11772 else
   11773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11774 $as_echo "no" >&6; }
   11775 fi
   11776 
   11777 
   11778 fi
   11779 if test -z "$ac_cv_prog_OBJDUMP"; then
   11780   ac_ct_OBJDUMP=$OBJDUMP
   11781   # Extract the first word of "objdump", so it can be a program name with args.
   11782 set dummy objdump; ac_word=$2
   11783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11784 $as_echo_n "checking for $ac_word... " >&6; }
   11785 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11786   $as_echo_n "(cached) " >&6
   11787 else
   11788   if test -n "$ac_ct_OBJDUMP"; then
   11789   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11790 else
   11791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11792 for as_dir in $PATH
   11793 do
   11794   IFS=$as_save_IFS
   11795   test -z "$as_dir" && as_dir=.
   11796     for ac_exec_ext in '' $ac_executable_extensions; do
   11797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11798     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11800     break 2
   11801   fi
   11802 done
   11803   done
   11804 IFS=$as_save_IFS
   11805 
   11806 fi
   11807 fi
   11808 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11809 if test -n "$ac_ct_OBJDUMP"; then
   11810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11811 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11812 else
   11813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11814 $as_echo "no" >&6; }
   11815 fi
   11816 
   11817   if test "x$ac_ct_OBJDUMP" = x; then
   11818     OBJDUMP="false"
   11819   else
   11820     case $cross_compiling:$ac_tool_warned in
   11821 yes:)
   11822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11824 ac_tool_warned=yes ;;
   11825 esac
   11826     OBJDUMP=$ac_ct_OBJDUMP
   11827   fi
   11828 else
   11829   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11830 fi
   11831 
   11832 test -z "$OBJDUMP" && OBJDUMP=objdump
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11843 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11844 if ${lt_cv_deplibs_check_method+:} false; then :
   11845   $as_echo_n "(cached) " >&6
   11846 else
   11847   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11848 lt_cv_file_magic_test_file=
   11849 lt_cv_deplibs_check_method='unknown'
   11850 # Need to set the preceding variable on all platforms that support
   11851 # interlibrary dependencies.
   11852 # 'none' -- dependencies not supported.
   11853 # 'unknown' -- same as none, but documents that we really don't know.
   11854 # 'pass_all' -- all dependencies passed with no checks.
   11855 # 'test_compile' -- check by making test program.
   11856 # 'file_magic [[regex]]' -- check by looking for files in library path
   11857 # that responds to the $file_magic_cmd with a given extended regex.
   11858 # If you have 'file' or equivalent on your system and you're not sure
   11859 # whether 'pass_all' will *always* work, you probably want this one.
   11860 
   11861 case $host_os in
   11862 aix[4-9]*)
   11863   lt_cv_deplibs_check_method=pass_all
   11864   ;;
   11865 
   11866 beos*)
   11867   lt_cv_deplibs_check_method=pass_all
   11868   ;;
   11869 
   11870 bsdi[45]*)
   11871   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11872   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11873   lt_cv_file_magic_test_file=/shlib/libc.so
   11874   ;;
   11875 
   11876 cygwin*)
   11877   # func_win32_libid is a shell function defined in ltmain.sh
   11878   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11879   lt_cv_file_magic_cmd='func_win32_libid'
   11880   ;;
   11881 
   11882 mingw* | pw32*)
   11883   # Base MSYS/MinGW do not provide the 'file' command needed by
   11884   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11885   # unless we find 'file', for example because we are cross-compiling.
   11886   if ( file / ) >/dev/null 2>&1; then
   11887     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11888     lt_cv_file_magic_cmd='func_win32_libid'
   11889   else
   11890     # Keep this pattern in sync with the one in func_win32_libid.
   11891     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11892     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11893   fi
   11894   ;;
   11895 
   11896 cegcc*)
   11897   # use the weaker test based on 'objdump'. See mingw*.
   11898   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11899   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11900   ;;
   11901 
   11902 darwin* | rhapsody*)
   11903   lt_cv_deplibs_check_method=pass_all
   11904   ;;
   11905 
   11906 freebsd* | dragonfly*)
   11907   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11908     case $host_cpu in
   11909     i*86 )
   11910       # Not sure whether the presence of OpenBSD here was a mistake.
   11911       # Let's accept both of them until this is cleared up.
   11912       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11913       lt_cv_file_magic_cmd=/usr/bin/file
   11914       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11915       ;;
   11916     esac
   11917   else
   11918     lt_cv_deplibs_check_method=pass_all
   11919   fi
   11920   ;;
   11921 
   11922 haiku*)
   11923   lt_cv_deplibs_check_method=pass_all
   11924   ;;
   11925 
   11926 hpux10.20* | hpux11*)
   11927   lt_cv_file_magic_cmd=/usr/bin/file
   11928   case $host_cpu in
   11929   ia64*)
   11930     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11931     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11932     ;;
   11933   hppa*64*)
   11934     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]'
   11935     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11936     ;;
   11937   *)
   11938     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11939     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11940     ;;
   11941   esac
   11942   ;;
   11943 
   11944 interix[3-9]*)
   11945   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11946   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11947   ;;
   11948 
   11949 irix5* | irix6* | nonstopux*)
   11950   case $LD in
   11951   *-32|*"-32 ") libmagic=32-bit;;
   11952   *-n32|*"-n32 ") libmagic=N32;;
   11953   *-64|*"-64 ") libmagic=64-bit;;
   11954   *) libmagic=never-match;;
   11955   esac
   11956   lt_cv_deplibs_check_method=pass_all
   11957   ;;
   11958 
   11959 # This must be glibc/ELF.
   11960 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11961   lt_cv_deplibs_check_method=pass_all
   11962   ;;
   11963 
   11964 netbsd*)
   11965   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11966     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11967   else
   11968     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11969   fi
   11970   ;;
   11971 
   11972 newos6*)
   11973   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11974   lt_cv_file_magic_cmd=/usr/bin/file
   11975   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11976   ;;
   11977 
   11978 *nto* | *qnx*)
   11979   lt_cv_deplibs_check_method=pass_all
   11980   ;;
   11981 
   11982 openbsd* | bitrig*)
   11983   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11984     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11985   else
   11986     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11987   fi
   11988   ;;
   11989 
   11990 osf3* | osf4* | osf5*)
   11991   lt_cv_deplibs_check_method=pass_all
   11992   ;;
   11993 
   11994 rdos*)
   11995   lt_cv_deplibs_check_method=pass_all
   11996   ;;
   11997 
   11998 solaris*)
   11999   lt_cv_deplibs_check_method=pass_all
   12000   ;;
   12001 
   12002 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12003   lt_cv_deplibs_check_method=pass_all
   12004   ;;
   12005 
   12006 sysv4 | sysv4.3*)
   12007   case $host_vendor in
   12008   motorola)
   12009     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]'
   12010     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12011     ;;
   12012   ncr)
   12013     lt_cv_deplibs_check_method=pass_all
   12014     ;;
   12015   sequent)
   12016     lt_cv_file_magic_cmd='/bin/file'
   12017     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12018     ;;
   12019   sni)
   12020     lt_cv_file_magic_cmd='/bin/file'
   12021     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12022     lt_cv_file_magic_test_file=/lib/libc.so
   12023     ;;
   12024   siemens)
   12025     lt_cv_deplibs_check_method=pass_all
   12026     ;;
   12027   pc)
   12028     lt_cv_deplibs_check_method=pass_all
   12029     ;;
   12030   esac
   12031   ;;
   12032 
   12033 tpf*)
   12034   lt_cv_deplibs_check_method=pass_all
   12035   ;;
   12036 os2*)
   12037   lt_cv_deplibs_check_method=pass_all
   12038   ;;
   12039 esac
   12040 
   12041 fi
   12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12043 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12044 
   12045 file_magic_glob=
   12046 want_nocaseglob=no
   12047 if test "$build" = "$host"; then
   12048   case $host_os in
   12049   mingw* | pw32*)
   12050     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12051       want_nocaseglob=yes
   12052     else
   12053       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12054     fi
   12055     ;;
   12056   esac
   12057 fi
   12058 
   12059 file_magic_cmd=$lt_cv_file_magic_cmd
   12060 deplibs_check_method=$lt_cv_deplibs_check_method
   12061 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 if test -n "$ac_tool_prefix"; then
   12085   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12086 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12088 $as_echo_n "checking for $ac_word... " >&6; }
   12089 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12090   $as_echo_n "(cached) " >&6
   12091 else
   12092   if test -n "$DLLTOOL"; then
   12093   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12094 else
   12095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12096 for as_dir in $PATH
   12097 do
   12098   IFS=$as_save_IFS
   12099   test -z "$as_dir" && as_dir=.
   12100     for ac_exec_ext in '' $ac_executable_extensions; do
   12101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12102     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12104     break 2
   12105   fi
   12106 done
   12107   done
   12108 IFS=$as_save_IFS
   12109 
   12110 fi
   12111 fi
   12112 DLLTOOL=$ac_cv_prog_DLLTOOL
   12113 if test -n "$DLLTOOL"; then
   12114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12115 $as_echo "$DLLTOOL" >&6; }
   12116 else
   12117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12118 $as_echo "no" >&6; }
   12119 fi
   12120 
   12121 
   12122 fi
   12123 if test -z "$ac_cv_prog_DLLTOOL"; then
   12124   ac_ct_DLLTOOL=$DLLTOOL
   12125   # Extract the first word of "dlltool", so it can be a program name with args.
   12126 set dummy dlltool; ac_word=$2
   12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12128 $as_echo_n "checking for $ac_word... " >&6; }
   12129 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12130   $as_echo_n "(cached) " >&6
   12131 else
   12132   if test -n "$ac_ct_DLLTOOL"; then
   12133   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12134 else
   12135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12136 for as_dir in $PATH
   12137 do
   12138   IFS=$as_save_IFS
   12139   test -z "$as_dir" && as_dir=.
   12140     for ac_exec_ext in '' $ac_executable_extensions; do
   12141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12142     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12144     break 2
   12145   fi
   12146 done
   12147   done
   12148 IFS=$as_save_IFS
   12149 
   12150 fi
   12151 fi
   12152 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12153 if test -n "$ac_ct_DLLTOOL"; then
   12154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12155 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12156 else
   12157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12158 $as_echo "no" >&6; }
   12159 fi
   12160 
   12161   if test "x$ac_ct_DLLTOOL" = x; then
   12162     DLLTOOL="false"
   12163   else
   12164     case $cross_compiling:$ac_tool_warned in
   12165 yes:)
   12166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12168 ac_tool_warned=yes ;;
   12169 esac
   12170     DLLTOOL=$ac_ct_DLLTOOL
   12171   fi
   12172 else
   12173   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12174 fi
   12175 
   12176 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12188 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12189 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12190   $as_echo_n "(cached) " >&6
   12191 else
   12192   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12193 
   12194 case $host_os in
   12195 cygwin* | mingw* | pw32* | cegcc*)
   12196   # two different shell functions defined in ltmain.sh;
   12197   # decide which one to use based on capabilities of $DLLTOOL
   12198   case `$DLLTOOL --help 2>&1` in
   12199   *--identify-strict*)
   12200     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12201     ;;
   12202   *)
   12203     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12204     ;;
   12205   esac
   12206   ;;
   12207 *)
   12208   # fallback: assume linklib IS sharedlib
   12209   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12210   ;;
   12211 esac
   12212 
   12213 fi
   12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12215 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12216 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12217 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 if test -n "$ac_tool_prefix"; then
   12226   for ac_prog in ar
   12227   do
   12228     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12231 $as_echo_n "checking for $ac_word... " >&6; }
   12232 if ${ac_cv_prog_AR+:} false; then :
   12233   $as_echo_n "(cached) " >&6
   12234 else
   12235   if test -n "$AR"; then
   12236   ac_cv_prog_AR="$AR" # Let the user override the test.
   12237 else
   12238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12239 for as_dir in $PATH
   12240 do
   12241   IFS=$as_save_IFS
   12242   test -z "$as_dir" && as_dir=.
   12243     for ac_exec_ext in '' $ac_executable_extensions; do
   12244   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12245     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12247     break 2
   12248   fi
   12249 done
   12250   done
   12251 IFS=$as_save_IFS
   12252 
   12253 fi
   12254 fi
   12255 AR=$ac_cv_prog_AR
   12256 if test -n "$AR"; then
   12257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12258 $as_echo "$AR" >&6; }
   12259 else
   12260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12261 $as_echo "no" >&6; }
   12262 fi
   12263 
   12264 
   12265     test -n "$AR" && break
   12266   done
   12267 fi
   12268 if test -z "$AR"; then
   12269   ac_ct_AR=$AR
   12270   for ac_prog in ar
   12271 do
   12272   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12273 set dummy $ac_prog; ac_word=$2
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12275 $as_echo_n "checking for $ac_word... " >&6; }
   12276 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   if test -n "$ac_ct_AR"; then
   12280   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12281 else
   12282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12283 for as_dir in $PATH
   12284 do
   12285   IFS=$as_save_IFS
   12286   test -z "$as_dir" && as_dir=.
   12287     for ac_exec_ext in '' $ac_executable_extensions; do
   12288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12289     ac_cv_prog_ac_ct_AR="$ac_prog"
   12290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12291     break 2
   12292   fi
   12293 done
   12294   done
   12295 IFS=$as_save_IFS
   12296 
   12297 fi
   12298 fi
   12299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12300 if test -n "$ac_ct_AR"; then
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12302 $as_echo "$ac_ct_AR" >&6; }
   12303 else
   12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12305 $as_echo "no" >&6; }
   12306 fi
   12307 
   12308 
   12309   test -n "$ac_ct_AR" && break
   12310 done
   12311 
   12312   if test "x$ac_ct_AR" = x; then
   12313     AR="false"
   12314   else
   12315     case $cross_compiling:$ac_tool_warned in
   12316 yes:)
   12317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12319 ac_tool_warned=yes ;;
   12320 esac
   12321     AR=$ac_ct_AR
   12322   fi
   12323 fi
   12324 
   12325 : ${AR=ar}
   12326 : ${AR_FLAGS=cru}
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12339 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12340 if ${lt_cv_ar_at_file+:} false; then :
   12341   $as_echo_n "(cached) " >&6
   12342 else
   12343   lt_cv_ar_at_file=no
   12344    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12345 /* end confdefs.h.  */
   12346 
   12347 int
   12348 main ()
   12349 {
   12350 
   12351   ;
   12352   return 0;
   12353 }
   12354 _ACEOF
   12355 if ac_fn_c_try_compile "$LINENO"; then :
   12356   echo conftest.$ac_objext > conftest.lst
   12357       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12358       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12359   (eval $lt_ar_try) 2>&5
   12360   ac_status=$?
   12361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12362   test $ac_status = 0; }
   12363       if test 0 -eq "$ac_status"; then
   12364 	# Ensure the archiver fails upon bogus file names.
   12365 	rm -f conftest.$ac_objext libconftest.a
   12366 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12367   (eval $lt_ar_try) 2>&5
   12368   ac_status=$?
   12369   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12370   test $ac_status = 0; }
   12371 	if test 0 -ne "$ac_status"; then
   12372           lt_cv_ar_at_file=@
   12373         fi
   12374       fi
   12375       rm -f conftest.* libconftest.a
   12376 
   12377 fi
   12378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12379 
   12380 fi
   12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12382 $as_echo "$lt_cv_ar_at_file" >&6; }
   12383 
   12384 if test no = "$lt_cv_ar_at_file"; then
   12385   archiver_list_spec=
   12386 else
   12387   archiver_list_spec=$lt_cv_ar_at_file
   12388 fi
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 if test -n "$ac_tool_prefix"; then
   12397   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12398 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12400 $as_echo_n "checking for $ac_word... " >&6; }
   12401 if ${ac_cv_prog_STRIP+:} false; then :
   12402   $as_echo_n "(cached) " >&6
   12403 else
   12404   if test -n "$STRIP"; then
   12405   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12406 else
   12407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12408 for as_dir in $PATH
   12409 do
   12410   IFS=$as_save_IFS
   12411   test -z "$as_dir" && as_dir=.
   12412     for ac_exec_ext in '' $ac_executable_extensions; do
   12413   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12414     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12416     break 2
   12417   fi
   12418 done
   12419   done
   12420 IFS=$as_save_IFS
   12421 
   12422 fi
   12423 fi
   12424 STRIP=$ac_cv_prog_STRIP
   12425 if test -n "$STRIP"; then
   12426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12427 $as_echo "$STRIP" >&6; }
   12428 else
   12429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12430 $as_echo "no" >&6; }
   12431 fi
   12432 
   12433 
   12434 fi
   12435 if test -z "$ac_cv_prog_STRIP"; then
   12436   ac_ct_STRIP=$STRIP
   12437   # Extract the first word of "strip", so it can be a program name with args.
   12438 set dummy strip; ac_word=$2
   12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12440 $as_echo_n "checking for $ac_word... " >&6; }
   12441 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12442   $as_echo_n "(cached) " >&6
   12443 else
   12444   if test -n "$ac_ct_STRIP"; then
   12445   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12446 else
   12447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12448 for as_dir in $PATH
   12449 do
   12450   IFS=$as_save_IFS
   12451   test -z "$as_dir" && as_dir=.
   12452     for ac_exec_ext in '' $ac_executable_extensions; do
   12453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12454     ac_cv_prog_ac_ct_STRIP="strip"
   12455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12456     break 2
   12457   fi
   12458 done
   12459   done
   12460 IFS=$as_save_IFS
   12461 
   12462 fi
   12463 fi
   12464 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12465 if test -n "$ac_ct_STRIP"; then
   12466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12467 $as_echo "$ac_ct_STRIP" >&6; }
   12468 else
   12469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12470 $as_echo "no" >&6; }
   12471 fi
   12472 
   12473   if test "x$ac_ct_STRIP" = x; then
   12474     STRIP=":"
   12475   else
   12476     case $cross_compiling:$ac_tool_warned in
   12477 yes:)
   12478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12480 ac_tool_warned=yes ;;
   12481 esac
   12482     STRIP=$ac_ct_STRIP
   12483   fi
   12484 else
   12485   STRIP="$ac_cv_prog_STRIP"
   12486 fi
   12487 
   12488 test -z "$STRIP" && STRIP=:
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 if test -n "$ac_tool_prefix"; then
   12496   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12497 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12499 $as_echo_n "checking for $ac_word... " >&6; }
   12500 if ${ac_cv_prog_RANLIB+:} false; then :
   12501   $as_echo_n "(cached) " >&6
   12502 else
   12503   if test -n "$RANLIB"; then
   12504   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12505 else
   12506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12507 for as_dir in $PATH
   12508 do
   12509   IFS=$as_save_IFS
   12510   test -z "$as_dir" && as_dir=.
   12511     for ac_exec_ext in '' $ac_executable_extensions; do
   12512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12513     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12515     break 2
   12516   fi
   12517 done
   12518   done
   12519 IFS=$as_save_IFS
   12520 
   12521 fi
   12522 fi
   12523 RANLIB=$ac_cv_prog_RANLIB
   12524 if test -n "$RANLIB"; then
   12525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12526 $as_echo "$RANLIB" >&6; }
   12527 else
   12528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12529 $as_echo "no" >&6; }
   12530 fi
   12531 
   12532 
   12533 fi
   12534 if test -z "$ac_cv_prog_RANLIB"; then
   12535   ac_ct_RANLIB=$RANLIB
   12536   # Extract the first word of "ranlib", so it can be a program name with args.
   12537 set dummy ranlib; ac_word=$2
   12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12539 $as_echo_n "checking for $ac_word... " >&6; }
   12540 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12541   $as_echo_n "(cached) " >&6
   12542 else
   12543   if test -n "$ac_ct_RANLIB"; then
   12544   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12545 else
   12546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12547 for as_dir in $PATH
   12548 do
   12549   IFS=$as_save_IFS
   12550   test -z "$as_dir" && as_dir=.
   12551     for ac_exec_ext in '' $ac_executable_extensions; do
   12552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12553     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12555     break 2
   12556   fi
   12557 done
   12558   done
   12559 IFS=$as_save_IFS
   12560 
   12561 fi
   12562 fi
   12563 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12564 if test -n "$ac_ct_RANLIB"; then
   12565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12566 $as_echo "$ac_ct_RANLIB" >&6; }
   12567 else
   12568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12569 $as_echo "no" >&6; }
   12570 fi
   12571 
   12572   if test "x$ac_ct_RANLIB" = x; then
   12573     RANLIB=":"
   12574   else
   12575     case $cross_compiling:$ac_tool_warned in
   12576 yes:)
   12577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12579 ac_tool_warned=yes ;;
   12580 esac
   12581     RANLIB=$ac_ct_RANLIB
   12582   fi
   12583 else
   12584   RANLIB="$ac_cv_prog_RANLIB"
   12585 fi
   12586 
   12587 test -z "$RANLIB" && RANLIB=:
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 # Determine commands to create old-style static archives.
   12595 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12596 old_postinstall_cmds='chmod 644 $oldlib'
   12597 old_postuninstall_cmds=
   12598 
   12599 if test -n "$RANLIB"; then
   12600   case $host_os in
   12601   bitrig* | openbsd*)
   12602     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12603     ;;
   12604   *)
   12605     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12606     ;;
   12607   esac
   12608   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12609 fi
   12610 
   12611 case $host_os in
   12612   darwin*)
   12613     lock_old_archive_extraction=yes ;;
   12614   *)
   12615     lock_old_archive_extraction=no ;;
   12616 esac
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 # If no C compiler was specified, use CC.
   12657 LTCC=${LTCC-"$CC"}
   12658 
   12659 # If no C compiler flags were specified, use CFLAGS.
   12660 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12661 
   12662 # Allow CC to be a program name with arguments.
   12663 compiler=$CC
   12664 
   12665 
   12666 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12668 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12669 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12670   $as_echo_n "(cached) " >&6
   12671 else
   12672 
   12673 # These are sane defaults that work on at least a few old systems.
   12674 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12675 
   12676 # Character class describing NM global symbol codes.
   12677 symcode='[BCDEGRST]'
   12678 
   12679 # Regexp to match symbols that can be accessed directly from C.
   12680 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12681 
   12682 # Define system-specific variables.
   12683 case $host_os in
   12684 aix*)
   12685   symcode='[BCDT]'
   12686   ;;
   12687 cygwin* | mingw* | pw32* | cegcc*)
   12688   symcode='[ABCDGISTW]'
   12689   ;;
   12690 hpux*)
   12691   if test ia64 = "$host_cpu"; then
   12692     symcode='[ABCDEGRST]'
   12693   fi
   12694   ;;
   12695 irix* | nonstopux*)
   12696   symcode='[BCDEGRST]'
   12697   ;;
   12698 osf*)
   12699   symcode='[BCDEGQRST]'
   12700   ;;
   12701 solaris*)
   12702   symcode='[BDRT]'
   12703   ;;
   12704 sco3.2v5*)
   12705   symcode='[DT]'
   12706   ;;
   12707 sysv4.2uw2*)
   12708   symcode='[DT]'
   12709   ;;
   12710 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12711   symcode='[ABDT]'
   12712   ;;
   12713 sysv4)
   12714   symcode='[DFNSTU]'
   12715   ;;
   12716 esac
   12717 
   12718 # If we're using GNU nm, then use its standard symbol codes.
   12719 case `$NM -V 2>&1` in
   12720 *GNU* | *'with BFD'*)
   12721   symcode='[ABCDGIRSTW]' ;;
   12722 esac
   12723 
   12724 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12725   # Gets list of data symbols to import.
   12726   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12727   # Adjust the below global symbol transforms to fixup imported variables.
   12728   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12729   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12730   lt_c_name_lib_hook="\
   12731   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12732   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12733 else
   12734   # Disable hooks by default.
   12735   lt_cv_sys_global_symbol_to_import=
   12736   lt_cdecl_hook=
   12737   lt_c_name_hook=
   12738   lt_c_name_lib_hook=
   12739 fi
   12740 
   12741 # Transform an extracted symbol line into a proper C declaration.
   12742 # Some systems (esp. on ia64) link data and code symbols differently,
   12743 # so use this general approach.
   12744 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12745 $lt_cdecl_hook\
   12746 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12747 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12748 
   12749 # Transform an extracted symbol line into symbol name and symbol address
   12750 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12751 $lt_c_name_hook\
   12752 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12753 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12754 
   12755 # Transform an extracted symbol line into symbol name with lib prefix and
   12756 # symbol address.
   12757 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12758 $lt_c_name_lib_hook\
   12759 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12760 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12761 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12762 
   12763 # Handle CRLF in mingw tool chain
   12764 opt_cr=
   12765 case $build_os in
   12766 mingw*)
   12767   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12768   ;;
   12769 esac
   12770 
   12771 # Try without a prefix underscore, then with it.
   12772 for ac_symprfx in "" "_"; do
   12773 
   12774   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12775   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12776 
   12777   # Write the raw and C identifiers.
   12778   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12779     # Fake it for dumpbin and say T for any non-static function,
   12780     # D for any global variable and I for any imported variable.
   12781     # Also find C++ and __fastcall symbols from MSVC++,
   12782     # which start with @ or ?.
   12783     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12784 "     {last_section=section; section=\$ 3};"\
   12785 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12786 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12787 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12788 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12789 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12790 "     \$ 0!~/External *\|/{next};"\
   12791 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12792 "     {if(hide[section]) next};"\
   12793 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12794 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12795 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12796 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12797 "     ' prfx=^$ac_symprfx"
   12798   else
   12799     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12800   fi
   12801   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12802 
   12803   # Check to see that the pipe works correctly.
   12804   pipe_works=no
   12805 
   12806   rm -f conftest*
   12807   cat > conftest.$ac_ext <<_LT_EOF
   12808 #ifdef __cplusplus
   12809 extern "C" {
   12810 #endif
   12811 char nm_test_var;
   12812 void nm_test_func(void);
   12813 void nm_test_func(void){}
   12814 #ifdef __cplusplus
   12815 }
   12816 #endif
   12817 int main(){nm_test_var='a';nm_test_func();return(0);}
   12818 _LT_EOF
   12819 
   12820   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12821   (eval $ac_compile) 2>&5
   12822   ac_status=$?
   12823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12824   test $ac_status = 0; }; then
   12825     # Now try to grab the symbols.
   12826     nlist=conftest.nm
   12827     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12828   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12829   ac_status=$?
   12830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12831   test $ac_status = 0; } && test -s "$nlist"; then
   12832       # Try sorting and uniquifying the output.
   12833       if sort "$nlist" | uniq > "$nlist"T; then
   12834 	mv -f "$nlist"T "$nlist"
   12835       else
   12836 	rm -f "$nlist"T
   12837       fi
   12838 
   12839       # Make sure that we snagged all the symbols we need.
   12840       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12841 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12842 	  cat <<_LT_EOF > conftest.$ac_ext
   12843 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12844 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12845 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12846    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12847 # define LT_DLSYM_CONST
   12848 #elif defined __osf__
   12849 /* This system does not cope well with relocations in const data.  */
   12850 # define LT_DLSYM_CONST
   12851 #else
   12852 # define LT_DLSYM_CONST const
   12853 #endif
   12854 
   12855 #ifdef __cplusplus
   12856 extern "C" {
   12857 #endif
   12858 
   12859 _LT_EOF
   12860 	  # Now generate the symbol file.
   12861 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12862 
   12863 	  cat <<_LT_EOF >> conftest.$ac_ext
   12864 
   12865 /* The mapping between symbol names and symbols.  */
   12866 LT_DLSYM_CONST struct {
   12867   const char *name;
   12868   void       *address;
   12869 }
   12870 lt__PROGRAM__LTX_preloaded_symbols[] =
   12871 {
   12872   { "@PROGRAM@", (void *) 0 },
   12873 _LT_EOF
   12874 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12875 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12876   {0, (void *) 0}
   12877 };
   12878 
   12879 /* This works around a problem in FreeBSD linker */
   12880 #ifdef FREEBSD_WORKAROUND
   12881 static const void *lt_preloaded_setup() {
   12882   return lt__PROGRAM__LTX_preloaded_symbols;
   12883 }
   12884 #endif
   12885 
   12886 #ifdef __cplusplus
   12887 }
   12888 #endif
   12889 _LT_EOF
   12890 	  # Now try linking the two files.
   12891 	  mv conftest.$ac_objext conftstm.$ac_objext
   12892 	  lt_globsym_save_LIBS=$LIBS
   12893 	  lt_globsym_save_CFLAGS=$CFLAGS
   12894 	  LIBS=conftstm.$ac_objext
   12895 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12896 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12897   (eval $ac_link) 2>&5
   12898   ac_status=$?
   12899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12900   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12901 	    pipe_works=yes
   12902 	  fi
   12903 	  LIBS=$lt_globsym_save_LIBS
   12904 	  CFLAGS=$lt_globsym_save_CFLAGS
   12905 	else
   12906 	  echo "cannot find nm_test_func in $nlist" >&5
   12907 	fi
   12908       else
   12909 	echo "cannot find nm_test_var in $nlist" >&5
   12910       fi
   12911     else
   12912       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12913     fi
   12914   else
   12915     echo "$progname: failed program was:" >&5
   12916     cat conftest.$ac_ext >&5
   12917   fi
   12918   rm -rf conftest* conftst*
   12919 
   12920   # Do not use the global_symbol_pipe unless it works.
   12921   if test yes = "$pipe_works"; then
   12922     break
   12923   else
   12924     lt_cv_sys_global_symbol_pipe=
   12925   fi
   12926 done
   12927 
   12928 fi
   12929 
   12930 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12931   lt_cv_sys_global_symbol_to_cdecl=
   12932 fi
   12933 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12935 $as_echo "failed" >&6; }
   12936 else
   12937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12938 $as_echo "ok" >&6; }
   12939 fi
   12940 
   12941 # Response file support.
   12942 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12943   nm_file_list_spec='@'
   12944 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12945   nm_file_list_spec='@'
   12946 fi
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12985 $as_echo_n "checking for sysroot... " >&6; }
   12986 
   12987 # Check whether --with-sysroot was given.
   12988 if test "${with_sysroot+set}" = set; then :
   12989   withval=$with_sysroot;
   12990 else
   12991   with_sysroot=no
   12992 fi
   12993 
   12994 
   12995 lt_sysroot=
   12996 case $with_sysroot in #(
   12997  yes)
   12998    if test yes = "$GCC"; then
   12999      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13000    fi
   13001    ;; #(
   13002  /*)
   13003    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13004    ;; #(
   13005  no|'')
   13006    ;; #(
   13007  *)
   13008    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13009 $as_echo "$with_sysroot" >&6; }
   13010    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13011    ;;
   13012 esac
   13013 
   13014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13015 $as_echo "${lt_sysroot:-no}" >&6; }
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13022 $as_echo_n "checking for a working dd... " >&6; }
   13023 if ${ac_cv_path_lt_DD+:} false; then :
   13024   $as_echo_n "(cached) " >&6
   13025 else
   13026   printf 0123456789abcdef0123456789abcdef >conftest.i
   13027 cat conftest.i conftest.i >conftest2.i
   13028 : ${lt_DD:=$DD}
   13029 if test -z "$lt_DD"; then
   13030   ac_path_lt_DD_found=false
   13031   # Loop through the user's path and test for each of PROGNAME-LIST
   13032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13033 for as_dir in $PATH
   13034 do
   13035   IFS=$as_save_IFS
   13036   test -z "$as_dir" && as_dir=.
   13037     for ac_prog in dd; do
   13038     for ac_exec_ext in '' $ac_executable_extensions; do
   13039       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13040       as_fn_executable_p "$ac_path_lt_DD" || continue
   13041 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13042   cmp -s conftest.i conftest.out \
   13043   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13044 fi
   13045       $ac_path_lt_DD_found && break 3
   13046     done
   13047   done
   13048   done
   13049 IFS=$as_save_IFS
   13050   if test -z "$ac_cv_path_lt_DD"; then
   13051     :
   13052   fi
   13053 else
   13054   ac_cv_path_lt_DD=$lt_DD
   13055 fi
   13056 
   13057 rm -f conftest.i conftest2.i conftest.out
   13058 fi
   13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13060 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13061 
   13062 
   13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13064 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13065 if ${lt_cv_truncate_bin+:} false; then :
   13066   $as_echo_n "(cached) " >&6
   13067 else
   13068   printf 0123456789abcdef0123456789abcdef >conftest.i
   13069 cat conftest.i conftest.i >conftest2.i
   13070 lt_cv_truncate_bin=
   13071 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13072   cmp -s conftest.i conftest.out \
   13073   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13074 fi
   13075 rm -f conftest.i conftest2.i conftest.out
   13076 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13077 fi
   13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13079 $as_echo "$lt_cv_truncate_bin" >&6; }
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13088 func_cc_basename ()
   13089 {
   13090     for cc_temp in $*""; do
   13091       case $cc_temp in
   13092         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13093         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13094         \-*) ;;
   13095         *) break;;
   13096       esac
   13097     done
   13098     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13099 }
   13100 
   13101 # Check whether --enable-libtool-lock was given.
   13102 if test "${enable_libtool_lock+set}" = set; then :
   13103   enableval=$enable_libtool_lock;
   13104 fi
   13105 
   13106 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13107 
   13108 # Some flags need to be propagated to the compiler or linker for good
   13109 # libtool support.
   13110 case $host in
   13111 ia64-*-hpux*)
   13112   # Find out what ABI is being produced by ac_compile, and set mode
   13113   # options accordingly.
   13114   echo 'int i;' > conftest.$ac_ext
   13115   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13116   (eval $ac_compile) 2>&5
   13117   ac_status=$?
   13118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13119   test $ac_status = 0; }; then
   13120     case `/usr/bin/file conftest.$ac_objext` in
   13121       *ELF-32*)
   13122 	HPUX_IA64_MODE=32
   13123 	;;
   13124       *ELF-64*)
   13125 	HPUX_IA64_MODE=64
   13126 	;;
   13127     esac
   13128   fi
   13129   rm -rf conftest*
   13130   ;;
   13131 *-*-irix6*)
   13132   # Find out what ABI is being produced by ac_compile, and set linker
   13133   # options accordingly.
   13134   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13135   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13136   (eval $ac_compile) 2>&5
   13137   ac_status=$?
   13138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13139   test $ac_status = 0; }; then
   13140     if test yes = "$lt_cv_prog_gnu_ld"; then
   13141       case `/usr/bin/file conftest.$ac_objext` in
   13142 	*32-bit*)
   13143 	  LD="${LD-ld} -melf32bsmip"
   13144 	  ;;
   13145 	*N32*)
   13146 	  LD="${LD-ld} -melf32bmipn32"
   13147 	  ;;
   13148 	*64-bit*)
   13149 	  LD="${LD-ld} -melf64bmip"
   13150 	;;
   13151       esac
   13152     else
   13153       case `/usr/bin/file conftest.$ac_objext` in
   13154 	*32-bit*)
   13155 	  LD="${LD-ld} -32"
   13156 	  ;;
   13157 	*N32*)
   13158 	  LD="${LD-ld} -n32"
   13159 	  ;;
   13160 	*64-bit*)
   13161 	  LD="${LD-ld} -64"
   13162 	  ;;
   13163       esac
   13164     fi
   13165   fi
   13166   rm -rf conftest*
   13167   ;;
   13168 
   13169 mips64*-*linux*)
   13170   # Find out what ABI is being produced by ac_compile, and set linker
   13171   # options accordingly.
   13172   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13173   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13174   (eval $ac_compile) 2>&5
   13175   ac_status=$?
   13176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13177   test $ac_status = 0; }; then
   13178     emul=elf
   13179     case `/usr/bin/file conftest.$ac_objext` in
   13180       *32-bit*)
   13181 	emul="${emul}32"
   13182 	;;
   13183       *64-bit*)
   13184 	emul="${emul}64"
   13185 	;;
   13186     esac
   13187     case `/usr/bin/file conftest.$ac_objext` in
   13188       *MSB*)
   13189 	emul="${emul}btsmip"
   13190 	;;
   13191       *LSB*)
   13192 	emul="${emul}ltsmip"
   13193 	;;
   13194     esac
   13195     case `/usr/bin/file conftest.$ac_objext` in
   13196       *N32*)
   13197 	emul="${emul}n32"
   13198 	;;
   13199     esac
   13200     LD="${LD-ld} -m $emul"
   13201   fi
   13202   rm -rf conftest*
   13203   ;;
   13204 
   13205 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13206 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13207   # Find out what ABI is being produced by ac_compile, and set linker
   13208   # options accordingly.  Note that the listed cases only cover the
   13209   # situations where additional linker options are needed (such as when
   13210   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13211   # vice versa); the common cases where no linker options are needed do
   13212   # not appear in the list.
   13213   echo 'int i;' > conftest.$ac_ext
   13214   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13215   (eval $ac_compile) 2>&5
   13216   ac_status=$?
   13217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13218   test $ac_status = 0; }; then
   13219     case `/usr/bin/file conftest.o` in
   13220       *32-bit*)
   13221 	case $host in
   13222 	  x86_64-*kfreebsd*-gnu)
   13223 	    LD="${LD-ld} -m elf_i386_fbsd"
   13224 	    ;;
   13225 	  x86_64-*linux*)
   13226 	    case `/usr/bin/file conftest.o` in
   13227 	      *x86-64*)
   13228 		LD="${LD-ld} -m elf32_x86_64"
   13229 		;;
   13230 	      *)
   13231 		LD="${LD-ld} -m elf_i386"
   13232 		;;
   13233 	    esac
   13234 	    ;;
   13235 	  powerpc64le-*linux*)
   13236 	    LD="${LD-ld} -m elf32lppclinux"
   13237 	    ;;
   13238 	  powerpc64-*linux*)
   13239 	    LD="${LD-ld} -m elf32ppclinux"
   13240 	    ;;
   13241 	  s390x-*linux*)
   13242 	    LD="${LD-ld} -m elf_s390"
   13243 	    ;;
   13244 	  sparc64-*linux*)
   13245 	    LD="${LD-ld} -m elf32_sparc"
   13246 	    ;;
   13247 	esac
   13248 	;;
   13249       *64-bit*)
   13250 	case $host in
   13251 	  x86_64-*kfreebsd*-gnu)
   13252 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13253 	    ;;
   13254 	  x86_64-*linux*)
   13255 	    LD="${LD-ld} -m elf_x86_64"
   13256 	    ;;
   13257 	  powerpcle-*linux*|powerpc64le-*linux*)
   13258 	    LD="${LD-ld} -m elf64lppc"
   13259 	    ;;
   13260 	  powerpc-*linux*|powerpc64-*linux*)
   13261 	    LD="${LD-ld} -m elf64ppc"
   13262 	    ;;
   13263 	  s390*-*linux*|s390*-*tpf*)
   13264 	    LD="${LD-ld} -m elf64_s390"
   13265 	    ;;
   13266 	  sparc*-*linux*)
   13267 	    LD="${LD-ld} -m elf64_sparc"
   13268 	    ;;
   13269 	esac
   13270 	;;
   13271     esac
   13272   fi
   13273   rm -rf conftest*
   13274   ;;
   13275 
   13276 *-*-sco3.2v5*)
   13277   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13278   SAVE_CFLAGS=$CFLAGS
   13279   CFLAGS="$CFLAGS -belf"
   13280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13281 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13282 if ${lt_cv_cc_needs_belf+:} false; then :
   13283   $as_echo_n "(cached) " >&6
   13284 else
   13285   ac_ext=c
   13286 ac_cpp='$CPP $CPPFLAGS'
   13287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13290 
   13291      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13292 /* end confdefs.h.  */
   13293 
   13294 int
   13295 main ()
   13296 {
   13297 
   13298   ;
   13299   return 0;
   13300 }
   13301 _ACEOF
   13302 if ac_fn_c_try_link "$LINENO"; then :
   13303   lt_cv_cc_needs_belf=yes
   13304 else
   13305   lt_cv_cc_needs_belf=no
   13306 fi
   13307 rm -f core conftest.err conftest.$ac_objext \
   13308     conftest$ac_exeext conftest.$ac_ext
   13309      ac_ext=c
   13310 ac_cpp='$CPP $CPPFLAGS'
   13311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13314 
   13315 fi
   13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13317 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13318   if test yes != "$lt_cv_cc_needs_belf"; then
   13319     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13320     CFLAGS=$SAVE_CFLAGS
   13321   fi
   13322   ;;
   13323 *-*solaris*)
   13324   # Find out what ABI is being produced by ac_compile, and set linker
   13325   # options accordingly.
   13326   echo 'int i;' > conftest.$ac_ext
   13327   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13328   (eval $ac_compile) 2>&5
   13329   ac_status=$?
   13330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13331   test $ac_status = 0; }; then
   13332     case `/usr/bin/file conftest.o` in
   13333     *64-bit*)
   13334       case $lt_cv_prog_gnu_ld in
   13335       yes*)
   13336         case $host in
   13337         i?86-*-solaris*|x86_64-*-solaris*)
   13338           LD="${LD-ld} -m elf_x86_64"
   13339           ;;
   13340         sparc*-*-solaris*)
   13341           LD="${LD-ld} -m elf64_sparc"
   13342           ;;
   13343         esac
   13344         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13345         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13346           LD=${LD-ld}_sol2
   13347         fi
   13348         ;;
   13349       *)
   13350 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13351 	  LD="${LD-ld} -64"
   13352 	fi
   13353 	;;
   13354       esac
   13355       ;;
   13356     esac
   13357   fi
   13358   rm -rf conftest*
   13359   ;;
   13360 esac
   13361 
   13362 need_locks=$enable_libtool_lock
   13363 
   13364 if test -n "$ac_tool_prefix"; then
   13365   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13366 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13368 $as_echo_n "checking for $ac_word... " >&6; }
   13369 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13370   $as_echo_n "(cached) " >&6
   13371 else
   13372   if test -n "$MANIFEST_TOOL"; then
   13373   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13374 else
   13375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13376 for as_dir in $PATH
   13377 do
   13378   IFS=$as_save_IFS
   13379   test -z "$as_dir" && as_dir=.
   13380     for ac_exec_ext in '' $ac_executable_extensions; do
   13381   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13382     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13384     break 2
   13385   fi
   13386 done
   13387   done
   13388 IFS=$as_save_IFS
   13389 
   13390 fi
   13391 fi
   13392 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13393 if test -n "$MANIFEST_TOOL"; then
   13394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13395 $as_echo "$MANIFEST_TOOL" >&6; }
   13396 else
   13397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13398 $as_echo "no" >&6; }
   13399 fi
   13400 
   13401 
   13402 fi
   13403 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13404   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13405   # Extract the first word of "mt", so it can be a program name with args.
   13406 set dummy mt; ac_word=$2
   13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13408 $as_echo_n "checking for $ac_word... " >&6; }
   13409 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13410   $as_echo_n "(cached) " >&6
   13411 else
   13412   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13413   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13414 else
   13415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13416 for as_dir in $PATH
   13417 do
   13418   IFS=$as_save_IFS
   13419   test -z "$as_dir" && as_dir=.
   13420     for ac_exec_ext in '' $ac_executable_extensions; do
   13421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13422     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13424     break 2
   13425   fi
   13426 done
   13427   done
   13428 IFS=$as_save_IFS
   13429 
   13430 fi
   13431 fi
   13432 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13433 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13435 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13436 else
   13437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13438 $as_echo "no" >&6; }
   13439 fi
   13440 
   13441   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13442     MANIFEST_TOOL=":"
   13443   else
   13444     case $cross_compiling:$ac_tool_warned in
   13445 yes:)
   13446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13448 ac_tool_warned=yes ;;
   13449 esac
   13450     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13451   fi
   13452 else
   13453   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13454 fi
   13455 
   13456 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13458 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13459 if ${lt_cv_path_mainfest_tool+:} false; then :
   13460   $as_echo_n "(cached) " >&6
   13461 else
   13462   lt_cv_path_mainfest_tool=no
   13463   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13464   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13465   cat conftest.err >&5
   13466   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13467     lt_cv_path_mainfest_tool=yes
   13468   fi
   13469   rm -f conftest*
   13470 fi
   13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13472 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13473 if test yes != "$lt_cv_path_mainfest_tool"; then
   13474   MANIFEST_TOOL=:
   13475 fi
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482   case $host_os in
   13483     rhapsody* | darwin*)
   13484     if test -n "$ac_tool_prefix"; then
   13485   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13486 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13488 $as_echo_n "checking for $ac_word... " >&6; }
   13489 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13490   $as_echo_n "(cached) " >&6
   13491 else
   13492   if test -n "$DSYMUTIL"; then
   13493   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13494 else
   13495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13496 for as_dir in $PATH
   13497 do
   13498   IFS=$as_save_IFS
   13499   test -z "$as_dir" && as_dir=.
   13500     for ac_exec_ext in '' $ac_executable_extensions; do
   13501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13502     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13504     break 2
   13505   fi
   13506 done
   13507   done
   13508 IFS=$as_save_IFS
   13509 
   13510 fi
   13511 fi
   13512 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13513 if test -n "$DSYMUTIL"; then
   13514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13515 $as_echo "$DSYMUTIL" >&6; }
   13516 else
   13517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13518 $as_echo "no" >&6; }
   13519 fi
   13520 
   13521 
   13522 fi
   13523 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13524   ac_ct_DSYMUTIL=$DSYMUTIL
   13525   # Extract the first word of "dsymutil", so it can be a program name with args.
   13526 set dummy dsymutil; ac_word=$2
   13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13528 $as_echo_n "checking for $ac_word... " >&6; }
   13529 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13530   $as_echo_n "(cached) " >&6
   13531 else
   13532   if test -n "$ac_ct_DSYMUTIL"; then
   13533   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13534 else
   13535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13536 for as_dir in $PATH
   13537 do
   13538   IFS=$as_save_IFS
   13539   test -z "$as_dir" && as_dir=.
   13540     for ac_exec_ext in '' $ac_executable_extensions; do
   13541   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13542     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13544     break 2
   13545   fi
   13546 done
   13547   done
   13548 IFS=$as_save_IFS
   13549 
   13550 fi
   13551 fi
   13552 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13553 if test -n "$ac_ct_DSYMUTIL"; then
   13554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13555 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13556 else
   13557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13558 $as_echo "no" >&6; }
   13559 fi
   13560 
   13561   if test "x$ac_ct_DSYMUTIL" = x; then
   13562     DSYMUTIL=":"
   13563   else
   13564     case $cross_compiling:$ac_tool_warned in
   13565 yes:)
   13566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13568 ac_tool_warned=yes ;;
   13569 esac
   13570     DSYMUTIL=$ac_ct_DSYMUTIL
   13571   fi
   13572 else
   13573   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13574 fi
   13575 
   13576     if test -n "$ac_tool_prefix"; then
   13577   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13578 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13580 $as_echo_n "checking for $ac_word... " >&6; }
   13581 if ${ac_cv_prog_NMEDIT+:} false; then :
   13582   $as_echo_n "(cached) " >&6
   13583 else
   13584   if test -n "$NMEDIT"; then
   13585   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13586 else
   13587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13588 for as_dir in $PATH
   13589 do
   13590   IFS=$as_save_IFS
   13591   test -z "$as_dir" && as_dir=.
   13592     for ac_exec_ext in '' $ac_executable_extensions; do
   13593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13594     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13596     break 2
   13597   fi
   13598 done
   13599   done
   13600 IFS=$as_save_IFS
   13601 
   13602 fi
   13603 fi
   13604 NMEDIT=$ac_cv_prog_NMEDIT
   13605 if test -n "$NMEDIT"; then
   13606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13607 $as_echo "$NMEDIT" >&6; }
   13608 else
   13609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13610 $as_echo "no" >&6; }
   13611 fi
   13612 
   13613 
   13614 fi
   13615 if test -z "$ac_cv_prog_NMEDIT"; then
   13616   ac_ct_NMEDIT=$NMEDIT
   13617   # Extract the first word of "nmedit", so it can be a program name with args.
   13618 set dummy nmedit; ac_word=$2
   13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13620 $as_echo_n "checking for $ac_word... " >&6; }
   13621 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13622   $as_echo_n "(cached) " >&6
   13623 else
   13624   if test -n "$ac_ct_NMEDIT"; then
   13625   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13626 else
   13627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13628 for as_dir in $PATH
   13629 do
   13630   IFS=$as_save_IFS
   13631   test -z "$as_dir" && as_dir=.
   13632     for ac_exec_ext in '' $ac_executable_extensions; do
   13633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13634     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13636     break 2
   13637   fi
   13638 done
   13639   done
   13640 IFS=$as_save_IFS
   13641 
   13642 fi
   13643 fi
   13644 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13645 if test -n "$ac_ct_NMEDIT"; then
   13646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13647 $as_echo "$ac_ct_NMEDIT" >&6; }
   13648 else
   13649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13650 $as_echo "no" >&6; }
   13651 fi
   13652 
   13653   if test "x$ac_ct_NMEDIT" = x; then
   13654     NMEDIT=":"
   13655   else
   13656     case $cross_compiling:$ac_tool_warned in
   13657 yes:)
   13658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13660 ac_tool_warned=yes ;;
   13661 esac
   13662     NMEDIT=$ac_ct_NMEDIT
   13663   fi
   13664 else
   13665   NMEDIT="$ac_cv_prog_NMEDIT"
   13666 fi
   13667 
   13668     if test -n "$ac_tool_prefix"; then
   13669   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13670 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13672 $as_echo_n "checking for $ac_word... " >&6; }
   13673 if ${ac_cv_prog_LIPO+:} false; then :
   13674   $as_echo_n "(cached) " >&6
   13675 else
   13676   if test -n "$LIPO"; then
   13677   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13678 else
   13679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13680 for as_dir in $PATH
   13681 do
   13682   IFS=$as_save_IFS
   13683   test -z "$as_dir" && as_dir=.
   13684     for ac_exec_ext in '' $ac_executable_extensions; do
   13685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13686     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13688     break 2
   13689   fi
   13690 done
   13691   done
   13692 IFS=$as_save_IFS
   13693 
   13694 fi
   13695 fi
   13696 LIPO=$ac_cv_prog_LIPO
   13697 if test -n "$LIPO"; then
   13698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13699 $as_echo "$LIPO" >&6; }
   13700 else
   13701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13702 $as_echo "no" >&6; }
   13703 fi
   13704 
   13705 
   13706 fi
   13707 if test -z "$ac_cv_prog_LIPO"; then
   13708   ac_ct_LIPO=$LIPO
   13709   # Extract the first word of "lipo", so it can be a program name with args.
   13710 set dummy lipo; ac_word=$2
   13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13712 $as_echo_n "checking for $ac_word... " >&6; }
   13713 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13714   $as_echo_n "(cached) " >&6
   13715 else
   13716   if test -n "$ac_ct_LIPO"; then
   13717   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13718 else
   13719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13720 for as_dir in $PATH
   13721 do
   13722   IFS=$as_save_IFS
   13723   test -z "$as_dir" && as_dir=.
   13724     for ac_exec_ext in '' $ac_executable_extensions; do
   13725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13726     ac_cv_prog_ac_ct_LIPO="lipo"
   13727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13728     break 2
   13729   fi
   13730 done
   13731   done
   13732 IFS=$as_save_IFS
   13733 
   13734 fi
   13735 fi
   13736 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13737 if test -n "$ac_ct_LIPO"; then
   13738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13739 $as_echo "$ac_ct_LIPO" >&6; }
   13740 else
   13741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13742 $as_echo "no" >&6; }
   13743 fi
   13744 
   13745   if test "x$ac_ct_LIPO" = x; then
   13746     LIPO=":"
   13747   else
   13748     case $cross_compiling:$ac_tool_warned in
   13749 yes:)
   13750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13752 ac_tool_warned=yes ;;
   13753 esac
   13754     LIPO=$ac_ct_LIPO
   13755   fi
   13756 else
   13757   LIPO="$ac_cv_prog_LIPO"
   13758 fi
   13759 
   13760     if test -n "$ac_tool_prefix"; then
   13761   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13762 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13764 $as_echo_n "checking for $ac_word... " >&6; }
   13765 if ${ac_cv_prog_OTOOL+:} false; then :
   13766   $as_echo_n "(cached) " >&6
   13767 else
   13768   if test -n "$OTOOL"; then
   13769   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13770 else
   13771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13772 for as_dir in $PATH
   13773 do
   13774   IFS=$as_save_IFS
   13775   test -z "$as_dir" && as_dir=.
   13776     for ac_exec_ext in '' $ac_executable_extensions; do
   13777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13778     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13780     break 2
   13781   fi
   13782 done
   13783   done
   13784 IFS=$as_save_IFS
   13785 
   13786 fi
   13787 fi
   13788 OTOOL=$ac_cv_prog_OTOOL
   13789 if test -n "$OTOOL"; then
   13790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13791 $as_echo "$OTOOL" >&6; }
   13792 else
   13793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13794 $as_echo "no" >&6; }
   13795 fi
   13796 
   13797 
   13798 fi
   13799 if test -z "$ac_cv_prog_OTOOL"; then
   13800   ac_ct_OTOOL=$OTOOL
   13801   # Extract the first word of "otool", so it can be a program name with args.
   13802 set dummy otool; ac_word=$2
   13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13804 $as_echo_n "checking for $ac_word... " >&6; }
   13805 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13806   $as_echo_n "(cached) " >&6
   13807 else
   13808   if test -n "$ac_ct_OTOOL"; then
   13809   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13810 else
   13811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13812 for as_dir in $PATH
   13813 do
   13814   IFS=$as_save_IFS
   13815   test -z "$as_dir" && as_dir=.
   13816     for ac_exec_ext in '' $ac_executable_extensions; do
   13817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13818     ac_cv_prog_ac_ct_OTOOL="otool"
   13819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13820     break 2
   13821   fi
   13822 done
   13823   done
   13824 IFS=$as_save_IFS
   13825 
   13826 fi
   13827 fi
   13828 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13829 if test -n "$ac_ct_OTOOL"; then
   13830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13831 $as_echo "$ac_ct_OTOOL" >&6; }
   13832 else
   13833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13834 $as_echo "no" >&6; }
   13835 fi
   13836 
   13837   if test "x$ac_ct_OTOOL" = x; then
   13838     OTOOL=":"
   13839   else
   13840     case $cross_compiling:$ac_tool_warned in
   13841 yes:)
   13842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13844 ac_tool_warned=yes ;;
   13845 esac
   13846     OTOOL=$ac_ct_OTOOL
   13847   fi
   13848 else
   13849   OTOOL="$ac_cv_prog_OTOOL"
   13850 fi
   13851 
   13852     if test -n "$ac_tool_prefix"; then
   13853   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13854 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13856 $as_echo_n "checking for $ac_word... " >&6; }
   13857 if ${ac_cv_prog_OTOOL64+:} false; then :
   13858   $as_echo_n "(cached) " >&6
   13859 else
   13860   if test -n "$OTOOL64"; then
   13861   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13862 else
   13863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13864 for as_dir in $PATH
   13865 do
   13866   IFS=$as_save_IFS
   13867   test -z "$as_dir" && as_dir=.
   13868     for ac_exec_ext in '' $ac_executable_extensions; do
   13869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13870     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13872     break 2
   13873   fi
   13874 done
   13875   done
   13876 IFS=$as_save_IFS
   13877 
   13878 fi
   13879 fi
   13880 OTOOL64=$ac_cv_prog_OTOOL64
   13881 if test -n "$OTOOL64"; then
   13882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13883 $as_echo "$OTOOL64" >&6; }
   13884 else
   13885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13886 $as_echo "no" >&6; }
   13887 fi
   13888 
   13889 
   13890 fi
   13891 if test -z "$ac_cv_prog_OTOOL64"; then
   13892   ac_ct_OTOOL64=$OTOOL64
   13893   # Extract the first word of "otool64", so it can be a program name with args.
   13894 set dummy otool64; ac_word=$2
   13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13896 $as_echo_n "checking for $ac_word... " >&6; }
   13897 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13898   $as_echo_n "(cached) " >&6
   13899 else
   13900   if test -n "$ac_ct_OTOOL64"; then
   13901   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13902 else
   13903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13904 for as_dir in $PATH
   13905 do
   13906   IFS=$as_save_IFS
   13907   test -z "$as_dir" && as_dir=.
   13908     for ac_exec_ext in '' $ac_executable_extensions; do
   13909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13910     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13912     break 2
   13913   fi
   13914 done
   13915   done
   13916 IFS=$as_save_IFS
   13917 
   13918 fi
   13919 fi
   13920 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13921 if test -n "$ac_ct_OTOOL64"; then
   13922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13923 $as_echo "$ac_ct_OTOOL64" >&6; }
   13924 else
   13925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13926 $as_echo "no" >&6; }
   13927 fi
   13928 
   13929   if test "x$ac_ct_OTOOL64" = x; then
   13930     OTOOL64=":"
   13931   else
   13932     case $cross_compiling:$ac_tool_warned in
   13933 yes:)
   13934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13936 ac_tool_warned=yes ;;
   13937 esac
   13938     OTOOL64=$ac_ct_OTOOL64
   13939   fi
   13940 else
   13941   OTOOL64="$ac_cv_prog_OTOOL64"
   13942 fi
   13943 
   13944 
   13945 
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13971 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13972 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13973   $as_echo_n "(cached) " >&6
   13974 else
   13975   lt_cv_apple_cc_single_mod=no
   13976       if test -z "$LT_MULTI_MODULE"; then
   13977 	# By default we will add the -single_module flag. You can override
   13978 	# by either setting the environment variable LT_MULTI_MODULE
   13979 	# non-empty at configure time, or by adding -multi_module to the
   13980 	# link flags.
   13981 	rm -rf libconftest.dylib*
   13982 	echo "int foo(void){return 1;}" > conftest.c
   13983 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13984 -dynamiclib -Wl,-single_module conftest.c" >&5
   13985 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13986 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13987         _lt_result=$?
   13988 	# If there is a non-empty error log, and "single_module"
   13989 	# appears in it, assume the flag caused a linker warning
   13990         if test -s conftest.err && $GREP single_module conftest.err; then
   13991 	  cat conftest.err >&5
   13992 	# Otherwise, if the output was created with a 0 exit code from
   13993 	# the compiler, it worked.
   13994 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   13995 	  lt_cv_apple_cc_single_mod=yes
   13996 	else
   13997 	  cat conftest.err >&5
   13998 	fi
   13999 	rm -rf libconftest.dylib*
   14000 	rm -f conftest.*
   14001       fi
   14002 fi
   14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14004 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14005 
   14006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14007 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14008 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14009   $as_echo_n "(cached) " >&6
   14010 else
   14011   lt_cv_ld_exported_symbols_list=no
   14012       save_LDFLAGS=$LDFLAGS
   14013       echo "_main" > conftest.sym
   14014       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14016 /* end confdefs.h.  */
   14017 
   14018 int
   14019 main ()
   14020 {
   14021 
   14022   ;
   14023   return 0;
   14024 }
   14025 _ACEOF
   14026 if ac_fn_c_try_link "$LINENO"; then :
   14027   lt_cv_ld_exported_symbols_list=yes
   14028 else
   14029   lt_cv_ld_exported_symbols_list=no
   14030 fi
   14031 rm -f core conftest.err conftest.$ac_objext \
   14032     conftest$ac_exeext conftest.$ac_ext
   14033 	LDFLAGS=$save_LDFLAGS
   14034 
   14035 fi
   14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14037 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14038 
   14039     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14040 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14041 if ${lt_cv_ld_force_load+:} false; then :
   14042   $as_echo_n "(cached) " >&6
   14043 else
   14044   lt_cv_ld_force_load=no
   14045       cat > conftest.c << _LT_EOF
   14046 int forced_loaded() { return 2;}
   14047 _LT_EOF
   14048       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14049       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14050       echo "$AR cru libconftest.a conftest.o" >&5
   14051       $AR cru libconftest.a conftest.o 2>&5
   14052       echo "$RANLIB libconftest.a" >&5
   14053       $RANLIB libconftest.a 2>&5
   14054       cat > conftest.c << _LT_EOF
   14055 int main() { return 0;}
   14056 _LT_EOF
   14057       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14058       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14059       _lt_result=$?
   14060       if test -s conftest.err && $GREP force_load conftest.err; then
   14061 	cat conftest.err >&5
   14062       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14063 	lt_cv_ld_force_load=yes
   14064       else
   14065 	cat conftest.err >&5
   14066       fi
   14067         rm -f conftest.err libconftest.a conftest conftest.c
   14068         rm -rf conftest.dSYM
   14069 
   14070 fi
   14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14072 $as_echo "$lt_cv_ld_force_load" >&6; }
   14073     case $host_os in
   14074     rhapsody* | darwin1.[012])
   14075       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14076     darwin1.*)
   14077       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14078     darwin*) # darwin 5.x on
   14079       # if running on 10.5 or later, the deployment target defaults
   14080       # to the OS version, if on x86, and 10.4, the deployment
   14081       # target defaults to 10.4. Don't you love it?
   14082       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14083 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14084 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14085 	10.[012][,.]*)
   14086 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14087 	10.*)
   14088 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14089       esac
   14090     ;;
   14091   esac
   14092     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14093       _lt_dar_single_mod='$single_module'
   14094     fi
   14095     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14096       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14097     else
   14098       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14099     fi
   14100     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14101       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14102     else
   14103       _lt_dsymutil=
   14104     fi
   14105     ;;
   14106   esac
   14107 
   14108 # func_munge_path_list VARIABLE PATH
   14109 # -----------------------------------
   14110 # VARIABLE is name of variable containing _space_ separated list of
   14111 # directories to be munged by the contents of PATH, which is string
   14112 # having a format:
   14113 # "DIR[:DIR]:"
   14114 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14115 # ":DIR[:DIR]"
   14116 #       string "DIR[ DIR]" will be appended to VARIABLE
   14117 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14118 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14119 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14120 # "DIR[:DIR]"
   14121 #       VARIABLE will be replaced by "DIR[ DIR]"
   14122 func_munge_path_list ()
   14123 {
   14124     case x$2 in
   14125     x)
   14126         ;;
   14127     *:)
   14128         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14129         ;;
   14130     x:*)
   14131         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14132         ;;
   14133     *::*)
   14134         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14135         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14136         ;;
   14137     *)
   14138         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14139         ;;
   14140     esac
   14141 }
   14142 
   14143 for ac_header in dlfcn.h
   14144 do :
   14145   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14146 "
   14147 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14148   cat >>confdefs.h <<_ACEOF
   14149 #define HAVE_DLFCN_H 1
   14150 _ACEOF
   14151 
   14152 fi
   14153 
   14154 done
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 # Set options
   14161 # Check whether --enable-static was given.
   14162 if test "${enable_static+set}" = set; then :
   14163   enableval=$enable_static; p=${PACKAGE-default}
   14164     case $enableval in
   14165     yes) enable_static=yes ;;
   14166     no) enable_static=no ;;
   14167     *)
   14168      enable_static=no
   14169       # Look at the argument we got.  We use all the common list separators.
   14170       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14171       for pkg in $enableval; do
   14172 	IFS=$lt_save_ifs
   14173 	if test "X$pkg" = "X$p"; then
   14174 	  enable_static=yes
   14175 	fi
   14176       done
   14177       IFS=$lt_save_ifs
   14178       ;;
   14179     esac
   14180 else
   14181   enable_static=no
   14182 fi
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193         enable_dlopen=no
   14194 
   14195 
   14196   enable_win32_dll=no
   14197 
   14198 
   14199             # Check whether --enable-shared was given.
   14200 if test "${enable_shared+set}" = set; then :
   14201   enableval=$enable_shared; p=${PACKAGE-default}
   14202     case $enableval in
   14203     yes) enable_shared=yes ;;
   14204     no) enable_shared=no ;;
   14205     *)
   14206       enable_shared=no
   14207       # Look at the argument we got.  We use all the common list separators.
   14208       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14209       for pkg in $enableval; do
   14210 	IFS=$lt_save_ifs
   14211 	if test "X$pkg" = "X$p"; then
   14212 	  enable_shared=yes
   14213 	fi
   14214       done
   14215       IFS=$lt_save_ifs
   14216       ;;
   14217     esac
   14218 else
   14219   enable_shared=yes
   14220 fi
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 # Check whether --with-pic was given.
   14233 if test "${with_pic+set}" = set; then :
   14234   withval=$with_pic; lt_p=${PACKAGE-default}
   14235     case $withval in
   14236     yes|no) pic_mode=$withval ;;
   14237     *)
   14238       pic_mode=default
   14239       # Look at the argument we got.  We use all the common list separators.
   14240       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14241       for lt_pkg in $withval; do
   14242 	IFS=$lt_save_ifs
   14243 	if test "X$lt_pkg" = "X$lt_p"; then
   14244 	  pic_mode=yes
   14245 	fi
   14246       done
   14247       IFS=$lt_save_ifs
   14248       ;;
   14249     esac
   14250 else
   14251   pic_mode=default
   14252 fi
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261   # Check whether --enable-fast-install was given.
   14262 if test "${enable_fast_install+set}" = set; then :
   14263   enableval=$enable_fast_install; p=${PACKAGE-default}
   14264     case $enableval in
   14265     yes) enable_fast_install=yes ;;
   14266     no) enable_fast_install=no ;;
   14267     *)
   14268       enable_fast_install=no
   14269       # Look at the argument we got.  We use all the common list separators.
   14270       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14271       for pkg in $enableval; do
   14272 	IFS=$lt_save_ifs
   14273 	if test "X$pkg" = "X$p"; then
   14274 	  enable_fast_install=yes
   14275 	fi
   14276       done
   14277       IFS=$lt_save_ifs
   14278       ;;
   14279     esac
   14280 else
   14281   enable_fast_install=yes
   14282 fi
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291   shared_archive_member_spec=
   14292 case $host,$enable_shared in
   14293 power*-*-aix[5-9]*,yes)
   14294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14295 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14296 
   14297 # Check whether --with-aix-soname was given.
   14298 if test "${with_aix_soname+set}" = set; then :
   14299   withval=$with_aix_soname; case $withval in
   14300     aix|svr4|both)
   14301       ;;
   14302     *)
   14303       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14304       ;;
   14305     esac
   14306     lt_cv_with_aix_soname=$with_aix_soname
   14307 else
   14308   if ${lt_cv_with_aix_soname+:} false; then :
   14309   $as_echo_n "(cached) " >&6
   14310 else
   14311   lt_cv_with_aix_soname=aix
   14312 fi
   14313 
   14314     with_aix_soname=$lt_cv_with_aix_soname
   14315 fi
   14316 
   14317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14318 $as_echo "$with_aix_soname" >&6; }
   14319   if test aix != "$with_aix_soname"; then
   14320     # For the AIX way of multilib, we name the shared archive member
   14321     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14322     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14323     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14324     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14325     if test 64 = "${OBJECT_MODE-32}"; then
   14326       shared_archive_member_spec=shr_64
   14327     else
   14328       shared_archive_member_spec=shr
   14329     fi
   14330   fi
   14331   ;;
   14332 *)
   14333   with_aix_soname=aix
   14334   ;;
   14335 esac
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 # This can be used to rebuild libtool when needed
   14347 LIBTOOL_DEPS=$ltmain
   14348 
   14349 # Always use our own libtool.
   14350 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 test -z "$LN_S" && LN_S="ln -s"
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 if test -n "${ZSH_VERSION+set}"; then
   14397    setopt NO_GLOB_SUBST
   14398 fi
   14399 
   14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14401 $as_echo_n "checking for objdir... " >&6; }
   14402 if ${lt_cv_objdir+:} false; then :
   14403   $as_echo_n "(cached) " >&6
   14404 else
   14405   rm -f .libs 2>/dev/null
   14406 mkdir .libs 2>/dev/null
   14407 if test -d .libs; then
   14408   lt_cv_objdir=.libs
   14409 else
   14410   # MS-DOS does not allow filenames that begin with a dot.
   14411   lt_cv_objdir=_libs
   14412 fi
   14413 rmdir .libs 2>/dev/null
   14414 fi
   14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14416 $as_echo "$lt_cv_objdir" >&6; }
   14417 objdir=$lt_cv_objdir
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 cat >>confdefs.h <<_ACEOF
   14424 #define LT_OBJDIR "$lt_cv_objdir/"
   14425 _ACEOF
   14426 
   14427 
   14428 
   14429 
   14430 case $host_os in
   14431 aix3*)
   14432   # AIX sometimes has problems with the GCC collect2 program.  For some
   14433   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14434   # vanish in a puff of smoke.
   14435   if test set != "${COLLECT_NAMES+set}"; then
   14436     COLLECT_NAMES=
   14437     export COLLECT_NAMES
   14438   fi
   14439   ;;
   14440 esac
   14441 
   14442 # Global variables:
   14443 ofile=libtool
   14444 can_build_shared=yes
   14445 
   14446 # All known linkers require a '.a' archive for static linking (except MSVC,
   14447 # which needs '.lib').
   14448 libext=a
   14449 
   14450 with_gnu_ld=$lt_cv_prog_gnu_ld
   14451 
   14452 old_CC=$CC
   14453 old_CFLAGS=$CFLAGS
   14454 
   14455 # Set sane defaults for various variables
   14456 test -z "$CC" && CC=cc
   14457 test -z "$LTCC" && LTCC=$CC
   14458 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14459 test -z "$LD" && LD=ld
   14460 test -z "$ac_objext" && ac_objext=o
   14461 
   14462 func_cc_basename $compiler
   14463 cc_basename=$func_cc_basename_result
   14464 
   14465 
   14466 # Only perform the check for file, if the check method requires it
   14467 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14468 case $deplibs_check_method in
   14469 file_magic*)
   14470   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14472 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14473 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14474   $as_echo_n "(cached) " >&6
   14475 else
   14476   case $MAGIC_CMD in
   14477 [\\/*] |  ?:[\\/]*)
   14478   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14479   ;;
   14480 *)
   14481   lt_save_MAGIC_CMD=$MAGIC_CMD
   14482   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14483   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14484   for ac_dir in $ac_dummy; do
   14485     IFS=$lt_save_ifs
   14486     test -z "$ac_dir" && ac_dir=.
   14487     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14488       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14489       if test -n "$file_magic_test_file"; then
   14490 	case $deplibs_check_method in
   14491 	"file_magic "*)
   14492 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14493 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14494 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14495 	    $EGREP "$file_magic_regex" > /dev/null; then
   14496 	    :
   14497 	  else
   14498 	    cat <<_LT_EOF 1>&2
   14499 
   14500 *** Warning: the command libtool uses to detect shared libraries,
   14501 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14502 *** The result is that libtool may fail to recognize shared libraries
   14503 *** as such.  This will affect the creation of libtool libraries that
   14504 *** depend on shared libraries, but programs linked with such libtool
   14505 *** libraries will work regardless of this problem.  Nevertheless, you
   14506 *** may want to report the problem to your system manager and/or to
   14507 *** bug-libtool (at] gnu.org
   14508 
   14509 _LT_EOF
   14510 	  fi ;;
   14511 	esac
   14512       fi
   14513       break
   14514     fi
   14515   done
   14516   IFS=$lt_save_ifs
   14517   MAGIC_CMD=$lt_save_MAGIC_CMD
   14518   ;;
   14519 esac
   14520 fi
   14521 
   14522 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14523 if test -n "$MAGIC_CMD"; then
   14524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14525 $as_echo "$MAGIC_CMD" >&6; }
   14526 else
   14527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14528 $as_echo "no" >&6; }
   14529 fi
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14536   if test -n "$ac_tool_prefix"; then
   14537     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14538 $as_echo_n "checking for file... " >&6; }
   14539 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14540   $as_echo_n "(cached) " >&6
   14541 else
   14542   case $MAGIC_CMD in
   14543 [\\/*] |  ?:[\\/]*)
   14544   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14545   ;;
   14546 *)
   14547   lt_save_MAGIC_CMD=$MAGIC_CMD
   14548   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14549   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14550   for ac_dir in $ac_dummy; do
   14551     IFS=$lt_save_ifs
   14552     test -z "$ac_dir" && ac_dir=.
   14553     if test -f "$ac_dir/file"; then
   14554       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14555       if test -n "$file_magic_test_file"; then
   14556 	case $deplibs_check_method in
   14557 	"file_magic "*)
   14558 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14559 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14560 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14561 	    $EGREP "$file_magic_regex" > /dev/null; then
   14562 	    :
   14563 	  else
   14564 	    cat <<_LT_EOF 1>&2
   14565 
   14566 *** Warning: the command libtool uses to detect shared libraries,
   14567 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14568 *** The result is that libtool may fail to recognize shared libraries
   14569 *** as such.  This will affect the creation of libtool libraries that
   14570 *** depend on shared libraries, but programs linked with such libtool
   14571 *** libraries will work regardless of this problem.  Nevertheless, you
   14572 *** may want to report the problem to your system manager and/or to
   14573 *** bug-libtool (at] gnu.org
   14574 
   14575 _LT_EOF
   14576 	  fi ;;
   14577 	esac
   14578       fi
   14579       break
   14580     fi
   14581   done
   14582   IFS=$lt_save_ifs
   14583   MAGIC_CMD=$lt_save_MAGIC_CMD
   14584   ;;
   14585 esac
   14586 fi
   14587 
   14588 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14589 if test -n "$MAGIC_CMD"; then
   14590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14591 $as_echo "$MAGIC_CMD" >&6; }
   14592 else
   14593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14594 $as_echo "no" >&6; }
   14595 fi
   14596 
   14597 
   14598   else
   14599     MAGIC_CMD=:
   14600   fi
   14601 fi
   14602 
   14603   fi
   14604   ;;
   14605 esac
   14606 
   14607 # Use C for the default configuration in the libtool script
   14608 
   14609 lt_save_CC=$CC
   14610 ac_ext=c
   14611 ac_cpp='$CPP $CPPFLAGS'
   14612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14615 
   14616 
   14617 # Source file extension for C test sources.
   14618 ac_ext=c
   14619 
   14620 # Object file extension for compiled C test sources.
   14621 objext=o
   14622 objext=$objext
   14623 
   14624 # Code to be used in simple compile tests
   14625 lt_simple_compile_test_code="int some_variable = 0;"
   14626 
   14627 # Code to be used in simple link tests
   14628 lt_simple_link_test_code='int main(){return(0);}'
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 # If no C compiler was specified, use CC.
   14637 LTCC=${LTCC-"$CC"}
   14638 
   14639 # If no C compiler flags were specified, use CFLAGS.
   14640 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14641 
   14642 # Allow CC to be a program name with arguments.
   14643 compiler=$CC
   14644 
   14645 # Save the default compiler, since it gets overwritten when the other
   14646 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14647 compiler_DEFAULT=$CC
   14648 
   14649 # save warnings/boilerplate of simple test code
   14650 ac_outfile=conftest.$ac_objext
   14651 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14652 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14653 _lt_compiler_boilerplate=`cat conftest.err`
   14654 $RM conftest*
   14655 
   14656 ac_outfile=conftest.$ac_objext
   14657 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14658 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14659 _lt_linker_boilerplate=`cat conftest.err`
   14660 $RM -r conftest*
   14661 
   14662 
   14663 ## CAVEAT EMPTOR:
   14664 ## There is no encapsulation within the following macros, do not change
   14665 ## the running order or otherwise move them around unless you know exactly
   14666 ## what you are doing...
   14667 if test -n "$compiler"; then
   14668 
   14669 lt_prog_compiler_no_builtin_flag=
   14670 
   14671 if test yes = "$GCC"; then
   14672   case $cc_basename in
   14673   nvcc*)
   14674     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14675   *)
   14676     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14677   esac
   14678 
   14679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14680 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14681 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14682   $as_echo_n "(cached) " >&6
   14683 else
   14684   lt_cv_prog_compiler_rtti_exceptions=no
   14685    ac_outfile=conftest.$ac_objext
   14686    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14687    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14688    # Insert the option either (1) after the last *FLAGS variable, or
   14689    # (2) before a word containing "conftest.", or (3) at the end.
   14690    # Note that $ac_compile itself does not contain backslashes and begins
   14691    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14692    # The option is referenced via a variable to avoid confusing sed.
   14693    lt_compile=`echo "$ac_compile" | $SED \
   14694    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14695    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14696    -e 's:$: $lt_compiler_flag:'`
   14697    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14698    (eval "$lt_compile" 2>conftest.err)
   14699    ac_status=$?
   14700    cat conftest.err >&5
   14701    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14702    if (exit $ac_status) && test -s "$ac_outfile"; then
   14703      # The compiler can only warn and ignore the option if not recognized
   14704      # So say no if there are warnings other than the usual output.
   14705      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14706      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14707      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14708        lt_cv_prog_compiler_rtti_exceptions=yes
   14709      fi
   14710    fi
   14711    $RM conftest*
   14712 
   14713 fi
   14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14715 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14716 
   14717 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14718     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14719 else
   14720     :
   14721 fi
   14722 
   14723 fi
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730   lt_prog_compiler_wl=
   14731 lt_prog_compiler_pic=
   14732 lt_prog_compiler_static=
   14733 
   14734 
   14735   if test yes = "$GCC"; then
   14736     lt_prog_compiler_wl='-Wl,'
   14737     lt_prog_compiler_static='-static'
   14738 
   14739     case $host_os in
   14740       aix*)
   14741       # All AIX code is PIC.
   14742       if test ia64 = "$host_cpu"; then
   14743 	# AIX 5 now supports IA64 processor
   14744 	lt_prog_compiler_static='-Bstatic'
   14745       fi
   14746       lt_prog_compiler_pic='-fPIC'
   14747       ;;
   14748 
   14749     amigaos*)
   14750       case $host_cpu in
   14751       powerpc)
   14752             # see comment about AmigaOS4 .so support
   14753             lt_prog_compiler_pic='-fPIC'
   14754         ;;
   14755       m68k)
   14756             # FIXME: we need at least 68020 code to build shared libraries, but
   14757             # adding the '-m68020' flag to GCC prevents building anything better,
   14758             # like '-m68040'.
   14759             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14760         ;;
   14761       esac
   14762       ;;
   14763 
   14764     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14765       # PIC is the default for these OSes.
   14766       ;;
   14767 
   14768     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14769       # This hack is so that the source file can tell whether it is being
   14770       # built for inclusion in a dll (and should export symbols for example).
   14771       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14772       # (--disable-auto-import) libraries
   14773       lt_prog_compiler_pic='-DDLL_EXPORT'
   14774       case $host_os in
   14775       os2*)
   14776 	lt_prog_compiler_static='$wl-static'
   14777 	;;
   14778       esac
   14779       ;;
   14780 
   14781     darwin* | rhapsody*)
   14782       # PIC is the default on this platform
   14783       # Common symbols not allowed in MH_DYLIB files
   14784       lt_prog_compiler_pic='-fno-common'
   14785       ;;
   14786 
   14787     haiku*)
   14788       # PIC is the default for Haiku.
   14789       # The "-static" flag exists, but is broken.
   14790       lt_prog_compiler_static=
   14791       ;;
   14792 
   14793     hpux*)
   14794       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14795       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14796       # sets the default TLS model and affects inlining.
   14797       case $host_cpu in
   14798       hppa*64*)
   14799 	# +Z the default
   14800 	;;
   14801       *)
   14802 	lt_prog_compiler_pic='-fPIC'
   14803 	;;
   14804       esac
   14805       ;;
   14806 
   14807     interix[3-9]*)
   14808       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14809       # Instead, we relocate shared libraries at runtime.
   14810       ;;
   14811 
   14812     msdosdjgpp*)
   14813       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14814       # on systems that don't support them.
   14815       lt_prog_compiler_can_build_shared=no
   14816       enable_shared=no
   14817       ;;
   14818 
   14819     *nto* | *qnx*)
   14820       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14821       # it will coredump.
   14822       lt_prog_compiler_pic='-fPIC -shared'
   14823       ;;
   14824 
   14825     sysv4*MP*)
   14826       if test -d /usr/nec; then
   14827 	lt_prog_compiler_pic=-Kconform_pic
   14828       fi
   14829       ;;
   14830 
   14831     *)
   14832       lt_prog_compiler_pic='-fPIC'
   14833       ;;
   14834     esac
   14835 
   14836     case $cc_basename in
   14837     nvcc*) # Cuda Compiler Driver 2.2
   14838       lt_prog_compiler_wl='-Xlinker '
   14839       if test -n "$lt_prog_compiler_pic"; then
   14840         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14841       fi
   14842       ;;
   14843     esac
   14844   else
   14845     # PORTME Check for flag to pass linker flags through the system compiler.
   14846     case $host_os in
   14847     aix*)
   14848       lt_prog_compiler_wl='-Wl,'
   14849       if test ia64 = "$host_cpu"; then
   14850 	# AIX 5 now supports IA64 processor
   14851 	lt_prog_compiler_static='-Bstatic'
   14852       else
   14853 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14854       fi
   14855       ;;
   14856 
   14857     darwin* | rhapsody*)
   14858       # PIC is the default on this platform
   14859       # Common symbols not allowed in MH_DYLIB files
   14860       lt_prog_compiler_pic='-fno-common'
   14861       case $cc_basename in
   14862       nagfor*)
   14863         # NAG Fortran compiler
   14864         lt_prog_compiler_wl='-Wl,-Wl,,'
   14865         lt_prog_compiler_pic='-PIC'
   14866         lt_prog_compiler_static='-Bstatic'
   14867         ;;
   14868       esac
   14869       ;;
   14870 
   14871     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14872       # This hack is so that the source file can tell whether it is being
   14873       # built for inclusion in a dll (and should export symbols for example).
   14874       lt_prog_compiler_pic='-DDLL_EXPORT'
   14875       case $host_os in
   14876       os2*)
   14877 	lt_prog_compiler_static='$wl-static'
   14878 	;;
   14879       esac
   14880       ;;
   14881 
   14882     hpux9* | hpux10* | hpux11*)
   14883       lt_prog_compiler_wl='-Wl,'
   14884       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14885       # not for PA HP-UX.
   14886       case $host_cpu in
   14887       hppa*64*|ia64*)
   14888 	# +Z the default
   14889 	;;
   14890       *)
   14891 	lt_prog_compiler_pic='+Z'
   14892 	;;
   14893       esac
   14894       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14895       lt_prog_compiler_static='$wl-a ${wl}archive'
   14896       ;;
   14897 
   14898     irix5* | irix6* | nonstopux*)
   14899       lt_prog_compiler_wl='-Wl,'
   14900       # PIC (with -KPIC) is the default.
   14901       lt_prog_compiler_static='-non_shared'
   14902       ;;
   14903 
   14904     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14905       case $cc_basename in
   14906       # old Intel for x86_64, which still supported -KPIC.
   14907       ecc*)
   14908 	lt_prog_compiler_wl='-Wl,'
   14909 	lt_prog_compiler_pic='-KPIC'
   14910 	lt_prog_compiler_static='-static'
   14911         ;;
   14912       # icc used to be incompatible with GCC.
   14913       # ICC 10 doesn't accept -KPIC any more.
   14914       icc* | ifort*)
   14915 	lt_prog_compiler_wl='-Wl,'
   14916 	lt_prog_compiler_pic='-fPIC'
   14917 	lt_prog_compiler_static='-static'
   14918         ;;
   14919       # Lahey Fortran 8.1.
   14920       lf95*)
   14921 	lt_prog_compiler_wl='-Wl,'
   14922 	lt_prog_compiler_pic='--shared'
   14923 	lt_prog_compiler_static='--static'
   14924 	;;
   14925       nagfor*)
   14926 	# NAG Fortran compiler
   14927 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14928 	lt_prog_compiler_pic='-PIC'
   14929 	lt_prog_compiler_static='-Bstatic'
   14930 	;;
   14931       tcc*)
   14932 	# Fabrice Bellard et al's Tiny C Compiler
   14933 	lt_prog_compiler_wl='-Wl,'
   14934 	lt_prog_compiler_pic='-fPIC'
   14935 	lt_prog_compiler_static='-static'
   14936 	;;
   14937       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14938         # Portland Group compilers (*not* the Pentium gcc compiler,
   14939 	# which looks to be a dead project)
   14940 	lt_prog_compiler_wl='-Wl,'
   14941 	lt_prog_compiler_pic='-fpic'
   14942 	lt_prog_compiler_static='-Bstatic'
   14943         ;;
   14944       ccc*)
   14945         lt_prog_compiler_wl='-Wl,'
   14946         # All Alpha code is PIC.
   14947         lt_prog_compiler_static='-non_shared'
   14948         ;;
   14949       xl* | bgxl* | bgf* | mpixl*)
   14950 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14951 	lt_prog_compiler_wl='-Wl,'
   14952 	lt_prog_compiler_pic='-qpic'
   14953 	lt_prog_compiler_static='-qstaticlink'
   14954 	;;
   14955       *)
   14956 	case `$CC -V 2>&1 | sed 5q` in
   14957 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14958 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14959 	  lt_prog_compiler_pic='-KPIC'
   14960 	  lt_prog_compiler_static='-Bstatic'
   14961 	  lt_prog_compiler_wl=''
   14962 	  ;;
   14963 	*Sun\ F* | *Sun*Fortran*)
   14964 	  lt_prog_compiler_pic='-KPIC'
   14965 	  lt_prog_compiler_static='-Bstatic'
   14966 	  lt_prog_compiler_wl='-Qoption ld '
   14967 	  ;;
   14968 	*Sun\ C*)
   14969 	  # Sun C 5.9
   14970 	  lt_prog_compiler_pic='-KPIC'
   14971 	  lt_prog_compiler_static='-Bstatic'
   14972 	  lt_prog_compiler_wl='-Wl,'
   14973 	  ;;
   14974         *Intel*\ [CF]*Compiler*)
   14975 	  lt_prog_compiler_wl='-Wl,'
   14976 	  lt_prog_compiler_pic='-fPIC'
   14977 	  lt_prog_compiler_static='-static'
   14978 	  ;;
   14979 	*Portland\ Group*)
   14980 	  lt_prog_compiler_wl='-Wl,'
   14981 	  lt_prog_compiler_pic='-fpic'
   14982 	  lt_prog_compiler_static='-Bstatic'
   14983 	  ;;
   14984 	esac
   14985 	;;
   14986       esac
   14987       ;;
   14988 
   14989     newsos6)
   14990       lt_prog_compiler_pic='-KPIC'
   14991       lt_prog_compiler_static='-Bstatic'
   14992       ;;
   14993 
   14994     *nto* | *qnx*)
   14995       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14996       # it will coredump.
   14997       lt_prog_compiler_pic='-fPIC -shared'
   14998       ;;
   14999 
   15000     osf3* | osf4* | osf5*)
   15001       lt_prog_compiler_wl='-Wl,'
   15002       # All OSF/1 code is PIC.
   15003       lt_prog_compiler_static='-non_shared'
   15004       ;;
   15005 
   15006     rdos*)
   15007       lt_prog_compiler_static='-non_shared'
   15008       ;;
   15009 
   15010     solaris*)
   15011       lt_prog_compiler_pic='-KPIC'
   15012       lt_prog_compiler_static='-Bstatic'
   15013       case $cc_basename in
   15014       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15015 	lt_prog_compiler_wl='-Qoption ld ';;
   15016       *)
   15017 	lt_prog_compiler_wl='-Wl,';;
   15018       esac
   15019       ;;
   15020 
   15021     sunos4*)
   15022       lt_prog_compiler_wl='-Qoption ld '
   15023       lt_prog_compiler_pic='-PIC'
   15024       lt_prog_compiler_static='-Bstatic'
   15025       ;;
   15026 
   15027     sysv4 | sysv4.2uw2* | sysv4.3*)
   15028       lt_prog_compiler_wl='-Wl,'
   15029       lt_prog_compiler_pic='-KPIC'
   15030       lt_prog_compiler_static='-Bstatic'
   15031       ;;
   15032 
   15033     sysv4*MP*)
   15034       if test -d /usr/nec; then
   15035 	lt_prog_compiler_pic='-Kconform_pic'
   15036 	lt_prog_compiler_static='-Bstatic'
   15037       fi
   15038       ;;
   15039 
   15040     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15041       lt_prog_compiler_wl='-Wl,'
   15042       lt_prog_compiler_pic='-KPIC'
   15043       lt_prog_compiler_static='-Bstatic'
   15044       ;;
   15045 
   15046     unicos*)
   15047       lt_prog_compiler_wl='-Wl,'
   15048       lt_prog_compiler_can_build_shared=no
   15049       ;;
   15050 
   15051     uts4*)
   15052       lt_prog_compiler_pic='-pic'
   15053       lt_prog_compiler_static='-Bstatic'
   15054       ;;
   15055 
   15056     *)
   15057       lt_prog_compiler_can_build_shared=no
   15058       ;;
   15059     esac
   15060   fi
   15061 
   15062 case $host_os in
   15063   # For platforms that do not support PIC, -DPIC is meaningless:
   15064   *djgpp*)
   15065     lt_prog_compiler_pic=
   15066     ;;
   15067   *)
   15068     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15069     ;;
   15070 esac
   15071 
   15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15073 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15074 if ${lt_cv_prog_compiler_pic+:} false; then :
   15075   $as_echo_n "(cached) " >&6
   15076 else
   15077   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15078 fi
   15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15080 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15081 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15082 
   15083 #
   15084 # Check to make sure the PIC flag actually works.
   15085 #
   15086 if test -n "$lt_prog_compiler_pic"; then
   15087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15088 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15089 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15090   $as_echo_n "(cached) " >&6
   15091 else
   15092   lt_cv_prog_compiler_pic_works=no
   15093    ac_outfile=conftest.$ac_objext
   15094    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15095    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15096    # Insert the option either (1) after the last *FLAGS variable, or
   15097    # (2) before a word containing "conftest.", or (3) at the end.
   15098    # Note that $ac_compile itself does not contain backslashes and begins
   15099    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15100    # The option is referenced via a variable to avoid confusing sed.
   15101    lt_compile=`echo "$ac_compile" | $SED \
   15102    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15103    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15104    -e 's:$: $lt_compiler_flag:'`
   15105    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15106    (eval "$lt_compile" 2>conftest.err)
   15107    ac_status=$?
   15108    cat conftest.err >&5
   15109    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15110    if (exit $ac_status) && test -s "$ac_outfile"; then
   15111      # The compiler can only warn and ignore the option if not recognized
   15112      # So say no if there are warnings other than the usual output.
   15113      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15114      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15115      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15116        lt_cv_prog_compiler_pic_works=yes
   15117      fi
   15118    fi
   15119    $RM conftest*
   15120 
   15121 fi
   15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15123 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15124 
   15125 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15126     case $lt_prog_compiler_pic in
   15127      "" | " "*) ;;
   15128      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15129      esac
   15130 else
   15131     lt_prog_compiler_pic=
   15132      lt_prog_compiler_can_build_shared=no
   15133 fi
   15134 
   15135 fi
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 #
   15148 # Check to make sure the static flag actually works.
   15149 #
   15150 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15152 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15153 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15154   $as_echo_n "(cached) " >&6
   15155 else
   15156   lt_cv_prog_compiler_static_works=no
   15157    save_LDFLAGS=$LDFLAGS
   15158    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15159    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15160    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15161      # The linker can only warn and ignore the option if not recognized
   15162      # So say no if there are warnings
   15163      if test -s conftest.err; then
   15164        # Append any errors to the config.log.
   15165        cat conftest.err 1>&5
   15166        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15167        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15168        if diff conftest.exp conftest.er2 >/dev/null; then
   15169          lt_cv_prog_compiler_static_works=yes
   15170        fi
   15171      else
   15172        lt_cv_prog_compiler_static_works=yes
   15173      fi
   15174    fi
   15175    $RM -r conftest*
   15176    LDFLAGS=$save_LDFLAGS
   15177 
   15178 fi
   15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15180 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15181 
   15182 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15183     :
   15184 else
   15185     lt_prog_compiler_static=
   15186 fi
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15195 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15196 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15197   $as_echo_n "(cached) " >&6
   15198 else
   15199   lt_cv_prog_compiler_c_o=no
   15200    $RM -r conftest 2>/dev/null
   15201    mkdir conftest
   15202    cd conftest
   15203    mkdir out
   15204    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15205 
   15206    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15207    # Insert the option either (1) after the last *FLAGS variable, or
   15208    # (2) before a word containing "conftest.", or (3) at the end.
   15209    # Note that $ac_compile itself does not contain backslashes and begins
   15210    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15211    lt_compile=`echo "$ac_compile" | $SED \
   15212    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15213    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15214    -e 's:$: $lt_compiler_flag:'`
   15215    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15216    (eval "$lt_compile" 2>out/conftest.err)
   15217    ac_status=$?
   15218    cat out/conftest.err >&5
   15219    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15220    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15221    then
   15222      # The compiler can only warn and ignore the option if not recognized
   15223      # So say no if there are warnings
   15224      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15225      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15226      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15227        lt_cv_prog_compiler_c_o=yes
   15228      fi
   15229    fi
   15230    chmod u+w . 2>&5
   15231    $RM conftest*
   15232    # SGI C++ compiler will create directory out/ii_files/ for
   15233    # template instantiation
   15234    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15235    $RM out/* && rmdir out
   15236    cd ..
   15237    $RM -r conftest
   15238    $RM conftest*
   15239 
   15240 fi
   15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15242 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15250 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15251 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15252   $as_echo_n "(cached) " >&6
   15253 else
   15254   lt_cv_prog_compiler_c_o=no
   15255    $RM -r conftest 2>/dev/null
   15256    mkdir conftest
   15257    cd conftest
   15258    mkdir out
   15259    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15260 
   15261    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15262    # Insert the option either (1) after the last *FLAGS variable, or
   15263    # (2) before a word containing "conftest.", or (3) at the end.
   15264    # Note that $ac_compile itself does not contain backslashes and begins
   15265    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15266    lt_compile=`echo "$ac_compile" | $SED \
   15267    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15268    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15269    -e 's:$: $lt_compiler_flag:'`
   15270    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15271    (eval "$lt_compile" 2>out/conftest.err)
   15272    ac_status=$?
   15273    cat out/conftest.err >&5
   15274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15275    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15276    then
   15277      # The compiler can only warn and ignore the option if not recognized
   15278      # So say no if there are warnings
   15279      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15280      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15281      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15282        lt_cv_prog_compiler_c_o=yes
   15283      fi
   15284    fi
   15285    chmod u+w . 2>&5
   15286    $RM conftest*
   15287    # SGI C++ compiler will create directory out/ii_files/ for
   15288    # template instantiation
   15289    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15290    $RM out/* && rmdir out
   15291    cd ..
   15292    $RM -r conftest
   15293    $RM conftest*
   15294 
   15295 fi
   15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15297 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15298 
   15299 
   15300 
   15301 
   15302 hard_links=nottested
   15303 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15304   # do not overwrite the value of need_locks provided by the user
   15305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15306 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15307   hard_links=yes
   15308   $RM conftest*
   15309   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15310   touch conftest.a
   15311   ln conftest.a conftest.b 2>&5 || hard_links=no
   15312   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15314 $as_echo "$hard_links" >&6; }
   15315   if test no = "$hard_links"; then
   15316     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15317 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15318     need_locks=warn
   15319   fi
   15320 else
   15321   need_locks=no
   15322 fi
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15330 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15331 
   15332   runpath_var=
   15333   allow_undefined_flag=
   15334   always_export_symbols=no
   15335   archive_cmds=
   15336   archive_expsym_cmds=
   15337   compiler_needs_object=no
   15338   enable_shared_with_static_runtimes=no
   15339   export_dynamic_flag_spec=
   15340   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15341   hardcode_automatic=no
   15342   hardcode_direct=no
   15343   hardcode_direct_absolute=no
   15344   hardcode_libdir_flag_spec=
   15345   hardcode_libdir_separator=
   15346   hardcode_minus_L=no
   15347   hardcode_shlibpath_var=unsupported
   15348   inherit_rpath=no
   15349   link_all_deplibs=unknown
   15350   module_cmds=
   15351   module_expsym_cmds=
   15352   old_archive_from_new_cmds=
   15353   old_archive_from_expsyms_cmds=
   15354   thread_safe_flag_spec=
   15355   whole_archive_flag_spec=
   15356   # include_expsyms should be a list of space-separated symbols to be *always*
   15357   # included in the symbol list
   15358   include_expsyms=
   15359   # exclude_expsyms can be an extended regexp of symbols to exclude
   15360   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15361   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15362   # as well as any symbol that contains 'd'.
   15363   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15364   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15365   # platforms (ab)use it in PIC code, but their linkers get confused if
   15366   # the symbol is explicitly referenced.  Since portable code cannot
   15367   # rely on this symbol name, it's probably fine to never include it in
   15368   # preloaded symbol tables.
   15369   # Exclude shared library initialization/finalization symbols.
   15370   extract_expsyms_cmds=
   15371 
   15372   case $host_os in
   15373   cygwin* | mingw* | pw32* | cegcc*)
   15374     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15375     # When not using gcc, we currently assume that we are using
   15376     # Microsoft Visual C++.
   15377     if test yes != "$GCC"; then
   15378       with_gnu_ld=no
   15379     fi
   15380     ;;
   15381   interix*)
   15382     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15383     with_gnu_ld=yes
   15384     ;;
   15385   openbsd* | bitrig*)
   15386     with_gnu_ld=no
   15387     ;;
   15388   esac
   15389 
   15390   ld_shlibs=yes
   15391 
   15392   # On some targets, GNU ld is compatible enough with the native linker
   15393   # that we're better off using the native interface for both.
   15394   lt_use_gnu_ld_interface=no
   15395   if test yes = "$with_gnu_ld"; then
   15396     case $host_os in
   15397       aix*)
   15398 	# The AIX port of GNU ld has always aspired to compatibility
   15399 	# with the native linker.  However, as the warning in the GNU ld
   15400 	# block says, versions before 2.19.5* couldn't really create working
   15401 	# shared libraries, regardless of the interface used.
   15402 	case `$LD -v 2>&1` in
   15403 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15404 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15405 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15406 	  *)
   15407 	    lt_use_gnu_ld_interface=yes
   15408 	    ;;
   15409 	esac
   15410 	;;
   15411       *)
   15412 	lt_use_gnu_ld_interface=yes
   15413 	;;
   15414     esac
   15415   fi
   15416 
   15417   if test yes = "$lt_use_gnu_ld_interface"; then
   15418     # If archive_cmds runs LD, not CC, wlarc should be empty
   15419     wlarc='$wl'
   15420 
   15421     # Set some defaults for GNU ld with shared library support. These
   15422     # are reset later if shared libraries are not supported. Putting them
   15423     # here allows them to be overridden if necessary.
   15424     runpath_var=LD_RUN_PATH
   15425     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15426     export_dynamic_flag_spec='$wl--export-dynamic'
   15427     # ancient GNU ld didn't support --whole-archive et. al.
   15428     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15429       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15430     else
   15431       whole_archive_flag_spec=
   15432     fi
   15433     supports_anon_versioning=no
   15434     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15435       *GNU\ gold*) supports_anon_versioning=yes ;;
   15436       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15437       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15438       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15439       *\ 2.11.*) ;; # other 2.11 versions
   15440       *) supports_anon_versioning=yes ;;
   15441     esac
   15442 
   15443     # See if GNU ld supports shared libraries.
   15444     case $host_os in
   15445     aix[3-9]*)
   15446       # On AIX/PPC, the GNU linker is very broken
   15447       if test ia64 != "$host_cpu"; then
   15448 	ld_shlibs=no
   15449 	cat <<_LT_EOF 1>&2
   15450 
   15451 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15452 *** to be unable to reliably create shared libraries on AIX.
   15453 *** Therefore, libtool is disabling shared libraries support.  If you
   15454 *** really care for shared libraries, you may want to install binutils
   15455 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15456 *** You will then need to restart the configuration process.
   15457 
   15458 _LT_EOF
   15459       fi
   15460       ;;
   15461 
   15462     amigaos*)
   15463       case $host_cpu in
   15464       powerpc)
   15465             # see comment about AmigaOS4 .so support
   15466             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15467             archive_expsym_cmds=''
   15468         ;;
   15469       m68k)
   15470             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)'
   15471             hardcode_libdir_flag_spec='-L$libdir'
   15472             hardcode_minus_L=yes
   15473         ;;
   15474       esac
   15475       ;;
   15476 
   15477     beos*)
   15478       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15479 	allow_undefined_flag=unsupported
   15480 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15481 	# support --undefined.  This deserves some investigation.  FIXME
   15482 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15483       else
   15484 	ld_shlibs=no
   15485       fi
   15486       ;;
   15487 
   15488     cygwin* | mingw* | pw32* | cegcc*)
   15489       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15490       # as there is no search path for DLLs.
   15491       hardcode_libdir_flag_spec='-L$libdir'
   15492       export_dynamic_flag_spec='$wl--export-all-symbols'
   15493       allow_undefined_flag=unsupported
   15494       always_export_symbols=no
   15495       enable_shared_with_static_runtimes=yes
   15496       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'
   15497       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15498 
   15499       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15500         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15501 	# If the export-symbols file already is a .def file, use it as
   15502 	# is; otherwise, prepend EXPORTS...
   15503 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15504           cp $export_symbols $output_objdir/$soname.def;
   15505         else
   15506           echo EXPORTS > $output_objdir/$soname.def;
   15507           cat $export_symbols >> $output_objdir/$soname.def;
   15508         fi~
   15509         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15510       else
   15511 	ld_shlibs=no
   15512       fi
   15513       ;;
   15514 
   15515     haiku*)
   15516       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15517       link_all_deplibs=yes
   15518       ;;
   15519 
   15520     os2*)
   15521       hardcode_libdir_flag_spec='-L$libdir'
   15522       hardcode_minus_L=yes
   15523       allow_undefined_flag=unsupported
   15524       shrext_cmds=.dll
   15525       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15526 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15527 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15528 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15529 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15530 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15531 	emximp -o $lib $output_objdir/$libname.def'
   15532       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15533 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15534 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15535 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15536 	prefix_cmds="$SED"~
   15537 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15538 	  prefix_cmds="$prefix_cmds -e 1d";
   15539 	fi~
   15540 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15541 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15542 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15543 	emximp -o $lib $output_objdir/$libname.def'
   15544       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15545       enable_shared_with_static_runtimes=yes
   15546       ;;
   15547 
   15548     interix[3-9]*)
   15549       hardcode_direct=no
   15550       hardcode_shlibpath_var=no
   15551       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15552       export_dynamic_flag_spec='$wl-E'
   15553       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15554       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15555       # default) and relocated if they conflict, which is a slow very memory
   15556       # consuming and fragmenting process.  To avoid this, we pick a random,
   15557       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15558       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15559       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15560       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'
   15561       ;;
   15562 
   15563     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15564       tmp_diet=no
   15565       if test linux-dietlibc = "$host_os"; then
   15566 	case $cc_basename in
   15567 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15568 	esac
   15569       fi
   15570       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15571 	 && test no = "$tmp_diet"
   15572       then
   15573 	tmp_addflag=' $pic_flag'
   15574 	tmp_sharedflag='-shared'
   15575 	case $cc_basename,$host_cpu in
   15576         pgcc*)				# Portland Group C compiler
   15577 	  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'
   15578 	  tmp_addflag=' $pic_flag'
   15579 	  ;;
   15580 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15581 					# Portland Group f77 and f90 compilers
   15582 	  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'
   15583 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15584 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15585 	  tmp_addflag=' -i_dynamic' ;;
   15586 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15587 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15588 	ifc* | ifort*)			# Intel Fortran compiler
   15589 	  tmp_addflag=' -nofor_main' ;;
   15590 	lf95*)				# Lahey Fortran 8.1
   15591 	  whole_archive_flag_spec=
   15592 	  tmp_sharedflag='--shared' ;;
   15593         nagfor*)                        # NAGFOR 5.3
   15594           tmp_sharedflag='-Wl,-shared' ;;
   15595 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15596 	  tmp_sharedflag='-qmkshrobj'
   15597 	  tmp_addflag= ;;
   15598 	nvcc*)	# Cuda Compiler Driver 2.2
   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 	  compiler_needs_object=yes
   15601 	  ;;
   15602 	esac
   15603 	case `$CC -V 2>&1 | sed 5q` in
   15604 	*Sun\ C*)			# Sun C 5.9
   15605 	  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'
   15606 	  compiler_needs_object=yes
   15607 	  tmp_sharedflag='-G' ;;
   15608 	*Sun\ F*)			# Sun Fortran 8.3
   15609 	  tmp_sharedflag='-G' ;;
   15610 	esac
   15611 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15612 
   15613         if test yes = "$supports_anon_versioning"; then
   15614           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15615             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15616             echo "local: *; };" >> $output_objdir/$libname.ver~
   15617             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15618         fi
   15619 
   15620 	case $cc_basename in
   15621 	tcc*)
   15622 	  export_dynamic_flag_spec='-rdynamic'
   15623 	  ;;
   15624 	xlf* | bgf* | bgxlf* | mpixlf*)
   15625 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15626 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15627 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15628 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15629 	  if test yes = "$supports_anon_versioning"; then
   15630 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15631               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15632               echo "local: *; };" >> $output_objdir/$libname.ver~
   15633               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15634 	  fi
   15635 	  ;;
   15636 	esac
   15637       else
   15638         ld_shlibs=no
   15639       fi
   15640       ;;
   15641 
   15642     netbsd*)
   15643       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15644 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15645 	wlarc=
   15646       else
   15647 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15648 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15649       fi
   15650       ;;
   15651 
   15652     solaris*)
   15653       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15654 	ld_shlibs=no
   15655 	cat <<_LT_EOF 1>&2
   15656 
   15657 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15658 *** create shared libraries on Solaris systems.  Therefore, libtool
   15659 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15660 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15661 *** your PATH or compiler configuration so that the native linker is
   15662 *** used, and then restart.
   15663 
   15664 _LT_EOF
   15665       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15666 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15667 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15668       else
   15669 	ld_shlibs=no
   15670       fi
   15671       ;;
   15672 
   15673     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15674       case `$LD -v 2>&1` in
   15675         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15676 	ld_shlibs=no
   15677 	cat <<_LT_EOF 1>&2
   15678 
   15679 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15680 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15681 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15682 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15683 *** your PATH or compiler configuration so that the native linker is
   15684 *** used, and then restart.
   15685 
   15686 _LT_EOF
   15687 	;;
   15688 	*)
   15689 	  # For security reasons, it is highly recommended that you always
   15690 	  # use absolute paths for naming shared libraries, and exclude the
   15691 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15692 	  # requires that you compile everything twice, which is a pain.
   15693 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15694 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15695 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15696 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15697 	  else
   15698 	    ld_shlibs=no
   15699 	  fi
   15700 	;;
   15701       esac
   15702       ;;
   15703 
   15704     sunos4*)
   15705       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15706       wlarc=
   15707       hardcode_direct=yes
   15708       hardcode_shlibpath_var=no
   15709       ;;
   15710 
   15711     *)
   15712       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15713 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15714 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15715       else
   15716 	ld_shlibs=no
   15717       fi
   15718       ;;
   15719     esac
   15720 
   15721     if test no = "$ld_shlibs"; then
   15722       runpath_var=
   15723       hardcode_libdir_flag_spec=
   15724       export_dynamic_flag_spec=
   15725       whole_archive_flag_spec=
   15726     fi
   15727   else
   15728     # PORTME fill in a description of your system's linker (not GNU ld)
   15729     case $host_os in
   15730     aix3*)
   15731       allow_undefined_flag=unsupported
   15732       always_export_symbols=yes
   15733       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'
   15734       # Note: this linker hardcodes the directories in LIBPATH if there
   15735       # are no directories specified by -L.
   15736       hardcode_minus_L=yes
   15737       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15738 	# Neither direct hardcoding nor static linking is supported with a
   15739 	# broken collect2.
   15740 	hardcode_direct=unsupported
   15741       fi
   15742       ;;
   15743 
   15744     aix[4-9]*)
   15745       if test ia64 = "$host_cpu"; then
   15746 	# On IA64, the linker does run time linking by default, so we don't
   15747 	# have to do anything special.
   15748 	aix_use_runtimelinking=no
   15749 	exp_sym_flag='-Bexport'
   15750 	no_entry_flag=
   15751       else
   15752 	# If we're using GNU nm, then we don't want the "-C" option.
   15753 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15754 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15755 	# weak defined symbols like other global defined symbols, whereas
   15756 	# GNU nm marks them as "W".
   15757 	# While the 'weak' keyword is ignored in the Export File, we need
   15758 	# it in the Import File for the 'aix-soname' feature, so we have
   15759 	# to replace the "-B" option with "-P" for AIX nm.
   15760 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15761 	  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'
   15762 	else
   15763 	  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'
   15764 	fi
   15765 	aix_use_runtimelinking=no
   15766 
   15767 	# Test if we are trying to use run time linking or normal
   15768 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15769 	# have runtime linking enabled, and use it for executables.
   15770 	# For shared libraries, we enable/disable runtime linking
   15771 	# depending on the kind of the shared library created -
   15772 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15773 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15774 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15775 	#            lib.a           static archive
   15776 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15777 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15778 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15779 	#            lib.a(lib.so.V) shared, rtl:no
   15780 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15781 	#            lib.a           static archive
   15782 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15783 	  for ld_flag in $LDFLAGS; do
   15784 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15785 	    aix_use_runtimelinking=yes
   15786 	    break
   15787 	  fi
   15788 	  done
   15789 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15790 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15791 	    # so we don't have lib.a shared libs to link our executables.
   15792 	    # We have to force runtime linking in this case.
   15793 	    aix_use_runtimelinking=yes
   15794 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15795 	  fi
   15796 	  ;;
   15797 	esac
   15798 
   15799 	exp_sym_flag='-bexport'
   15800 	no_entry_flag='-bnoentry'
   15801       fi
   15802 
   15803       # When large executables or shared objects are built, AIX ld can
   15804       # have problems creating the table of contents.  If linking a library
   15805       # or program results in "error TOC overflow" add -mminimal-toc to
   15806       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15807       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15808 
   15809       archive_cmds=''
   15810       hardcode_direct=yes
   15811       hardcode_direct_absolute=yes
   15812       hardcode_libdir_separator=':'
   15813       link_all_deplibs=yes
   15814       file_list_spec='$wl-f,'
   15815       case $with_aix_soname,$aix_use_runtimelinking in
   15816       aix,*) ;; # traditional, no import file
   15817       svr4,* | *,yes) # use import file
   15818 	# The Import File defines what to hardcode.
   15819 	hardcode_direct=no
   15820 	hardcode_direct_absolute=no
   15821 	;;
   15822       esac
   15823 
   15824       if test yes = "$GCC"; then
   15825 	case $host_os in aix4.[012]|aix4.[012].*)
   15826 	# We only want to do this on AIX 4.2 and lower, the check
   15827 	# below for broken collect2 doesn't work under 4.3+
   15828 	  collect2name=`$CC -print-prog-name=collect2`
   15829 	  if test -f "$collect2name" &&
   15830 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15831 	  then
   15832 	  # We have reworked collect2
   15833 	  :
   15834 	  else
   15835 	  # We have old collect2
   15836 	  hardcode_direct=unsupported
   15837 	  # It fails to find uninstalled libraries when the uninstalled
   15838 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15839 	  # to unsupported forces relinking
   15840 	  hardcode_minus_L=yes
   15841 	  hardcode_libdir_flag_spec='-L$libdir'
   15842 	  hardcode_libdir_separator=
   15843 	  fi
   15844 	  ;;
   15845 	esac
   15846 	shared_flag='-shared'
   15847 	if test yes = "$aix_use_runtimelinking"; then
   15848 	  shared_flag="$shared_flag "'$wl-G'
   15849 	fi
   15850 	# Need to ensure runtime linking is disabled for the traditional
   15851 	# shared library, or the linker may eventually find shared libraries
   15852 	# /with/ Import File - we do not want to mix them.
   15853 	shared_flag_aix='-shared'
   15854 	shared_flag_svr4='-shared $wl-G'
   15855       else
   15856 	# not using gcc
   15857 	if test ia64 = "$host_cpu"; then
   15858 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15859 	# chokes on -Wl,-G. The following line is correct:
   15860 	  shared_flag='-G'
   15861 	else
   15862 	  if test yes = "$aix_use_runtimelinking"; then
   15863 	    shared_flag='$wl-G'
   15864 	  else
   15865 	    shared_flag='$wl-bM:SRE'
   15866 	  fi
   15867 	  shared_flag_aix='$wl-bM:SRE'
   15868 	  shared_flag_svr4='$wl-G'
   15869 	fi
   15870       fi
   15871 
   15872       export_dynamic_flag_spec='$wl-bexpall'
   15873       # It seems that -bexpall does not export symbols beginning with
   15874       # underscore (_), so it is better to generate a list of symbols to export.
   15875       always_export_symbols=yes
   15876       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15877 	# Warning - without using the other runtime loading flags (-brtl),
   15878 	# -berok will link without error, but may produce a broken library.
   15879 	allow_undefined_flag='-berok'
   15880         # Determine the default libpath from the value encoded in an
   15881         # empty executable.
   15882         if test set = "${lt_cv_aix_libpath+set}"; then
   15883   aix_libpath=$lt_cv_aix_libpath
   15884 else
   15885   if ${lt_cv_aix_libpath_+:} false; then :
   15886   $as_echo_n "(cached) " >&6
   15887 else
   15888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15889 /* end confdefs.h.  */
   15890 
   15891 int
   15892 main ()
   15893 {
   15894 
   15895   ;
   15896   return 0;
   15897 }
   15898 _ACEOF
   15899 if ac_fn_c_try_link "$LINENO"; then :
   15900 
   15901   lt_aix_libpath_sed='
   15902       /Import File Strings/,/^$/ {
   15903 	  /^0/ {
   15904 	      s/^0  *\([^ ]*\) *$/\1/
   15905 	      p
   15906 	  }
   15907       }'
   15908   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15909   # Check for a 64-bit object if we didn't find anything.
   15910   if test -z "$lt_cv_aix_libpath_"; then
   15911     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15912   fi
   15913 fi
   15914 rm -f core conftest.err conftest.$ac_objext \
   15915     conftest$ac_exeext conftest.$ac_ext
   15916   if test -z "$lt_cv_aix_libpath_"; then
   15917     lt_cv_aix_libpath_=/usr/lib:/lib
   15918   fi
   15919 
   15920 fi
   15921 
   15922   aix_libpath=$lt_cv_aix_libpath_
   15923 fi
   15924 
   15925         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15926         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
   15927       else
   15928 	if test ia64 = "$host_cpu"; then
   15929 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15930 	  allow_undefined_flag="-z nodefs"
   15931 	  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"
   15932 	else
   15933 	 # Determine the default libpath from the value encoded in an
   15934 	 # empty executable.
   15935 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15936   aix_libpath=$lt_cv_aix_libpath
   15937 else
   15938   if ${lt_cv_aix_libpath_+:} false; then :
   15939   $as_echo_n "(cached) " >&6
   15940 else
   15941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15942 /* end confdefs.h.  */
   15943 
   15944 int
   15945 main ()
   15946 {
   15947 
   15948   ;
   15949   return 0;
   15950 }
   15951 _ACEOF
   15952 if ac_fn_c_try_link "$LINENO"; then :
   15953 
   15954   lt_aix_libpath_sed='
   15955       /Import File Strings/,/^$/ {
   15956 	  /^0/ {
   15957 	      s/^0  *\([^ ]*\) *$/\1/
   15958 	      p
   15959 	  }
   15960       }'
   15961   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15962   # Check for a 64-bit object if we didn't find anything.
   15963   if test -z "$lt_cv_aix_libpath_"; then
   15964     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15965   fi
   15966 fi
   15967 rm -f core conftest.err conftest.$ac_objext \
   15968     conftest$ac_exeext conftest.$ac_ext
   15969   if test -z "$lt_cv_aix_libpath_"; then
   15970     lt_cv_aix_libpath_=/usr/lib:/lib
   15971   fi
   15972 
   15973 fi
   15974 
   15975   aix_libpath=$lt_cv_aix_libpath_
   15976 fi
   15977 
   15978 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15979 	  # Warning - without using the other run time loading flags,
   15980 	  # -berok will link without error, but may produce a broken library.
   15981 	  no_undefined_flag=' $wl-bernotok'
   15982 	  allow_undefined_flag=' $wl-berok'
   15983 	  if test yes = "$with_gnu_ld"; then
   15984 	    # We only use this code for GNU lds that support --whole-archive.
   15985 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   15986 	  else
   15987 	    # Exported symbols can be pulled into shared objects from archives
   15988 	    whole_archive_flag_spec='$convenience'
   15989 	  fi
   15990 	  archive_cmds_need_lc=yes
   15991 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   15992 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   15993 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   15994 	  if test svr4 != "$with_aix_soname"; then
   15995 	    # This is similar to how AIX traditionally builds its shared libraries.
   15996 	    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'
   15997 	  fi
   15998 	  if test aix != "$with_aix_soname"; then
   15999 	    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'
   16000 	  else
   16001 	    # used by -dlpreopen to get the symbols
   16002 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16003 	  fi
   16004 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16005 	fi
   16006       fi
   16007       ;;
   16008 
   16009     amigaos*)
   16010       case $host_cpu in
   16011       powerpc)
   16012             # see comment about AmigaOS4 .so support
   16013             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16014             archive_expsym_cmds=''
   16015         ;;
   16016       m68k)
   16017             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)'
   16018             hardcode_libdir_flag_spec='-L$libdir'
   16019             hardcode_minus_L=yes
   16020         ;;
   16021       esac
   16022       ;;
   16023 
   16024     bsdi[45]*)
   16025       export_dynamic_flag_spec=-rdynamic
   16026       ;;
   16027 
   16028     cygwin* | mingw* | pw32* | cegcc*)
   16029       # When not using gcc, we currently assume that we are using
   16030       # Microsoft Visual C++.
   16031       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16032       # no search path for DLLs.
   16033       case $cc_basename in
   16034       cl*)
   16035 	# Native MSVC
   16036 	hardcode_libdir_flag_spec=' '
   16037 	allow_undefined_flag=unsupported
   16038 	always_export_symbols=yes
   16039 	file_list_spec='@'
   16040 	# Tell ltmain to make .lib files, not .a files.
   16041 	libext=lib
   16042 	# Tell ltmain to make .dll files, not .so files.
   16043 	shrext_cmds=.dll
   16044 	# FIXME: Setting linknames here is a bad hack.
   16045 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16046 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16047             cp "$export_symbols" "$output_objdir/$soname.def";
   16048             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16049           else
   16050             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16051           fi~
   16052           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16053           linknames='
   16054 	# The linker will not automatically build a static lib if we build a DLL.
   16055 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16056 	enable_shared_with_static_runtimes=yes
   16057 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16058 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16059 	# Don't use ranlib
   16060 	old_postinstall_cmds='chmod 644 $oldlib'
   16061 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16062           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16063           case $lt_outputfile in
   16064             *.exe|*.EXE) ;;
   16065             *)
   16066               lt_outputfile=$lt_outputfile.exe
   16067               lt_tool_outputfile=$lt_tool_outputfile.exe
   16068               ;;
   16069           esac~
   16070           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16071             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16072             $RM "$lt_outputfile.manifest";
   16073           fi'
   16074 	;;
   16075       *)
   16076 	# Assume MSVC wrapper
   16077 	hardcode_libdir_flag_spec=' '
   16078 	allow_undefined_flag=unsupported
   16079 	# Tell ltmain to make .lib files, not .a files.
   16080 	libext=lib
   16081 	# Tell ltmain to make .dll files, not .so files.
   16082 	shrext_cmds=.dll
   16083 	# FIXME: Setting linknames here is a bad hack.
   16084 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16085 	# The linker will automatically build a .lib file if we build a DLL.
   16086 	old_archive_from_new_cmds='true'
   16087 	# FIXME: Should let the user specify the lib program.
   16088 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16089 	enable_shared_with_static_runtimes=yes
   16090 	;;
   16091       esac
   16092       ;;
   16093 
   16094     darwin* | rhapsody*)
   16095 
   16096 
   16097   archive_cmds_need_lc=no
   16098   hardcode_direct=no
   16099   hardcode_automatic=yes
   16100   hardcode_shlibpath_var=unsupported
   16101   if test yes = "$lt_cv_ld_force_load"; then
   16102     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\"`'
   16103 
   16104   else
   16105     whole_archive_flag_spec=''
   16106   fi
   16107   link_all_deplibs=yes
   16108   allow_undefined_flag=$_lt_dar_allow_undefined
   16109   case $cc_basename in
   16110      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16111      *) _lt_dar_can_shared=$GCC ;;
   16112   esac
   16113   if test yes = "$_lt_dar_can_shared"; then
   16114     output_verbose_link_cmd=func_echo_all
   16115     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16116     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16117     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"
   16118     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"
   16119 
   16120   else
   16121   ld_shlibs=no
   16122   fi
   16123 
   16124       ;;
   16125 
   16126     dgux*)
   16127       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16128       hardcode_libdir_flag_spec='-L$libdir'
   16129       hardcode_shlibpath_var=no
   16130       ;;
   16131 
   16132     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16133     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16134     # does not break anything, and helps significantly (at the cost of a little
   16135     # extra space).
   16136     freebsd2.2*)
   16137       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16138       hardcode_libdir_flag_spec='-R$libdir'
   16139       hardcode_direct=yes
   16140       hardcode_shlibpath_var=no
   16141       ;;
   16142 
   16143     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16144     freebsd2.*)
   16145       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16146       hardcode_direct=yes
   16147       hardcode_minus_L=yes
   16148       hardcode_shlibpath_var=no
   16149       ;;
   16150 
   16151     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16152     freebsd* | dragonfly*)
   16153       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16154       hardcode_libdir_flag_spec='-R$libdir'
   16155       hardcode_direct=yes
   16156       hardcode_shlibpath_var=no
   16157       ;;
   16158 
   16159     hpux9*)
   16160       if test yes = "$GCC"; then
   16161 	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'
   16162       else
   16163 	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'
   16164       fi
   16165       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16166       hardcode_libdir_separator=:
   16167       hardcode_direct=yes
   16168 
   16169       # hardcode_minus_L: Not really in the search PATH,
   16170       # but as the default location of the library.
   16171       hardcode_minus_L=yes
   16172       export_dynamic_flag_spec='$wl-E'
   16173       ;;
   16174 
   16175     hpux10*)
   16176       if test yes,no = "$GCC,$with_gnu_ld"; then
   16177 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16178       else
   16179 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16180       fi
   16181       if test no = "$with_gnu_ld"; then
   16182 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16183 	hardcode_libdir_separator=:
   16184 	hardcode_direct=yes
   16185 	hardcode_direct_absolute=yes
   16186 	export_dynamic_flag_spec='$wl-E'
   16187 	# hardcode_minus_L: Not really in the search PATH,
   16188 	# but as the default location of the library.
   16189 	hardcode_minus_L=yes
   16190       fi
   16191       ;;
   16192 
   16193     hpux11*)
   16194       if test yes,no = "$GCC,$with_gnu_ld"; then
   16195 	case $host_cpu in
   16196 	hppa*64*)
   16197 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16198 	  ;;
   16199 	ia64*)
   16200 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16201 	  ;;
   16202 	*)
   16203 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16204 	  ;;
   16205 	esac
   16206       else
   16207 	case $host_cpu in
   16208 	hppa*64*)
   16209 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16210 	  ;;
   16211 	ia64*)
   16212 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16213 	  ;;
   16214 	*)
   16215 
   16216 	  # Older versions of the 11.00 compiler do not understand -b yet
   16217 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16218 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16219 $as_echo_n "checking if $CC understands -b... " >&6; }
   16220 if ${lt_cv_prog_compiler__b+:} false; then :
   16221   $as_echo_n "(cached) " >&6
   16222 else
   16223   lt_cv_prog_compiler__b=no
   16224    save_LDFLAGS=$LDFLAGS
   16225    LDFLAGS="$LDFLAGS -b"
   16226    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16227    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16228      # The linker can only warn and ignore the option if not recognized
   16229      # So say no if there are warnings
   16230      if test -s conftest.err; then
   16231        # Append any errors to the config.log.
   16232        cat conftest.err 1>&5
   16233        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16234        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16235        if diff conftest.exp conftest.er2 >/dev/null; then
   16236          lt_cv_prog_compiler__b=yes
   16237        fi
   16238      else
   16239        lt_cv_prog_compiler__b=yes
   16240      fi
   16241    fi
   16242    $RM -r conftest*
   16243    LDFLAGS=$save_LDFLAGS
   16244 
   16245 fi
   16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16247 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16248 
   16249 if test yes = "$lt_cv_prog_compiler__b"; then
   16250     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16251 else
   16252     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16253 fi
   16254 
   16255 	  ;;
   16256 	esac
   16257       fi
   16258       if test no = "$with_gnu_ld"; then
   16259 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16260 	hardcode_libdir_separator=:
   16261 
   16262 	case $host_cpu in
   16263 	hppa*64*|ia64*)
   16264 	  hardcode_direct=no
   16265 	  hardcode_shlibpath_var=no
   16266 	  ;;
   16267 	*)
   16268 	  hardcode_direct=yes
   16269 	  hardcode_direct_absolute=yes
   16270 	  export_dynamic_flag_spec='$wl-E'
   16271 
   16272 	  # hardcode_minus_L: Not really in the search PATH,
   16273 	  # but as the default location of the library.
   16274 	  hardcode_minus_L=yes
   16275 	  ;;
   16276 	esac
   16277       fi
   16278       ;;
   16279 
   16280     irix5* | irix6* | nonstopux*)
   16281       if test yes = "$GCC"; then
   16282 	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'
   16283 	# Try to use the -exported_symbol ld option, if it does not
   16284 	# work, assume that -exports_file does not work either and
   16285 	# implicitly export all symbols.
   16286 	# This should be the same for all languages, so no per-tag cache variable.
   16287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16288 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16289 if ${lt_cv_irix_exported_symbol+:} false; then :
   16290   $as_echo_n "(cached) " >&6
   16291 else
   16292   save_LDFLAGS=$LDFLAGS
   16293 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16294 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16295 /* end confdefs.h.  */
   16296 int foo (void) { return 0; }
   16297 _ACEOF
   16298 if ac_fn_c_try_link "$LINENO"; then :
   16299   lt_cv_irix_exported_symbol=yes
   16300 else
   16301   lt_cv_irix_exported_symbol=no
   16302 fi
   16303 rm -f core conftest.err conftest.$ac_objext \
   16304     conftest$ac_exeext conftest.$ac_ext
   16305            LDFLAGS=$save_LDFLAGS
   16306 fi
   16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16308 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16309 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16310           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'
   16311 	fi
   16312       else
   16313 	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'
   16314 	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'
   16315       fi
   16316       archive_cmds_need_lc='no'
   16317       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16318       hardcode_libdir_separator=:
   16319       inherit_rpath=yes
   16320       link_all_deplibs=yes
   16321       ;;
   16322 
   16323     linux*)
   16324       case $cc_basename in
   16325       tcc*)
   16326 	# Fabrice Bellard et al's Tiny C Compiler
   16327 	ld_shlibs=yes
   16328 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16329 	;;
   16330       esac
   16331       ;;
   16332 
   16333     netbsd*)
   16334       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16335 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16336       else
   16337 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16338       fi
   16339       hardcode_libdir_flag_spec='-R$libdir'
   16340       hardcode_direct=yes
   16341       hardcode_shlibpath_var=no
   16342       ;;
   16343 
   16344     newsos6)
   16345       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16346       hardcode_direct=yes
   16347       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16348       hardcode_libdir_separator=:
   16349       hardcode_shlibpath_var=no
   16350       ;;
   16351 
   16352     *nto* | *qnx*)
   16353       ;;
   16354 
   16355     openbsd* | bitrig*)
   16356       if test -f /usr/libexec/ld.so; then
   16357 	hardcode_direct=yes
   16358 	hardcode_shlibpath_var=no
   16359 	hardcode_direct_absolute=yes
   16360 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16361 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16362 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16363 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16364 	  export_dynamic_flag_spec='$wl-E'
   16365 	else
   16366 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16367 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16368 	fi
   16369       else
   16370 	ld_shlibs=no
   16371       fi
   16372       ;;
   16373 
   16374     os2*)
   16375       hardcode_libdir_flag_spec='-L$libdir'
   16376       hardcode_minus_L=yes
   16377       allow_undefined_flag=unsupported
   16378       shrext_cmds=.dll
   16379       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16380 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16381 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16382 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16383 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16384 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16385 	emximp -o $lib $output_objdir/$libname.def'
   16386       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16387 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16388 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16389 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16390 	prefix_cmds="$SED"~
   16391 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16392 	  prefix_cmds="$prefix_cmds -e 1d";
   16393 	fi~
   16394 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16395 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16396 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16397 	emximp -o $lib $output_objdir/$libname.def'
   16398       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16399       enable_shared_with_static_runtimes=yes
   16400       ;;
   16401 
   16402     osf3*)
   16403       if test yes = "$GCC"; then
   16404 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16405 	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'
   16406       else
   16407 	allow_undefined_flag=' -expect_unresolved \*'
   16408 	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'
   16409       fi
   16410       archive_cmds_need_lc='no'
   16411       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16412       hardcode_libdir_separator=:
   16413       ;;
   16414 
   16415     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16416       if test yes = "$GCC"; then
   16417 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16418 	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'
   16419 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16420       else
   16421 	allow_undefined_flag=' -expect_unresolved \*'
   16422 	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'
   16423 	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~
   16424           $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'
   16425 
   16426 	# Both c and cxx compiler support -rpath directly
   16427 	hardcode_libdir_flag_spec='-rpath $libdir'
   16428       fi
   16429       archive_cmds_need_lc='no'
   16430       hardcode_libdir_separator=:
   16431       ;;
   16432 
   16433     solaris*)
   16434       no_undefined_flag=' -z defs'
   16435       if test yes = "$GCC"; then
   16436 	wlarc='$wl'
   16437 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16438 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16439           $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'
   16440       else
   16441 	case `$CC -V 2>&1` in
   16442 	*"Compilers 5.0"*)
   16443 	  wlarc=''
   16444 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16445 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16446             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16447 	  ;;
   16448 	*)
   16449 	  wlarc='$wl'
   16450 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16451 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16452             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16453 	  ;;
   16454 	esac
   16455       fi
   16456       hardcode_libdir_flag_spec='-R$libdir'
   16457       hardcode_shlibpath_var=no
   16458       case $host_os in
   16459       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16460       *)
   16461 	# The compiler driver will combine and reorder linker options,
   16462 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16463 	# but is careful enough not to reorder.
   16464 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16465 	if test yes = "$GCC"; then
   16466 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16467 	else
   16468 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16469 	fi
   16470 	;;
   16471       esac
   16472       link_all_deplibs=yes
   16473       ;;
   16474 
   16475     sunos4*)
   16476       if test sequent = "$host_vendor"; then
   16477 	# Use $CC to link under sequent, because it throws in some extra .o
   16478 	# files that make .init and .fini sections work.
   16479 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16480       else
   16481 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16482       fi
   16483       hardcode_libdir_flag_spec='-L$libdir'
   16484       hardcode_direct=yes
   16485       hardcode_minus_L=yes
   16486       hardcode_shlibpath_var=no
   16487       ;;
   16488 
   16489     sysv4)
   16490       case $host_vendor in
   16491 	sni)
   16492 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16493 	  hardcode_direct=yes # is this really true???
   16494 	;;
   16495 	siemens)
   16496 	  ## LD is ld it makes a PLAMLIB
   16497 	  ## CC just makes a GrossModule.
   16498 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16499 	  reload_cmds='$CC -r -o $output$reload_objs'
   16500 	  hardcode_direct=no
   16501         ;;
   16502 	motorola)
   16503 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16504 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16505 	;;
   16506       esac
   16507       runpath_var='LD_RUN_PATH'
   16508       hardcode_shlibpath_var=no
   16509       ;;
   16510 
   16511     sysv4.3*)
   16512       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16513       hardcode_shlibpath_var=no
   16514       export_dynamic_flag_spec='-Bexport'
   16515       ;;
   16516 
   16517     sysv4*MP*)
   16518       if test -d /usr/nec; then
   16519 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16520 	hardcode_shlibpath_var=no
   16521 	runpath_var=LD_RUN_PATH
   16522 	hardcode_runpath_var=yes
   16523 	ld_shlibs=yes
   16524       fi
   16525       ;;
   16526 
   16527     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16528       no_undefined_flag='$wl-z,text'
   16529       archive_cmds_need_lc=no
   16530       hardcode_shlibpath_var=no
   16531       runpath_var='LD_RUN_PATH'
   16532 
   16533       if test yes = "$GCC"; then
   16534 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16535 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16536       else
   16537 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16538 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16539       fi
   16540       ;;
   16541 
   16542     sysv5* | sco3.2v5* | sco5v6*)
   16543       # Note: We CANNOT use -z defs as we might desire, because we do not
   16544       # link with -lc, and that would cause any symbols used from libc to
   16545       # always be unresolved, which means just about no library would
   16546       # ever link correctly.  If we're not using GNU ld we use -z text
   16547       # though, which does catch some bad symbols but isn't as heavy-handed
   16548       # as -z defs.
   16549       no_undefined_flag='$wl-z,text'
   16550       allow_undefined_flag='$wl-z,nodefs'
   16551       archive_cmds_need_lc=no
   16552       hardcode_shlibpath_var=no
   16553       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16554       hardcode_libdir_separator=':'
   16555       link_all_deplibs=yes
   16556       export_dynamic_flag_spec='$wl-Bexport'
   16557       runpath_var='LD_RUN_PATH'
   16558 
   16559       if test yes = "$GCC"; then
   16560 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16561 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16562       else
   16563 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16564 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16565       fi
   16566       ;;
   16567 
   16568     uts4*)
   16569       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16570       hardcode_libdir_flag_spec='-L$libdir'
   16571       hardcode_shlibpath_var=no
   16572       ;;
   16573 
   16574     *)
   16575       ld_shlibs=no
   16576       ;;
   16577     esac
   16578 
   16579     if test sni = "$host_vendor"; then
   16580       case $host in
   16581       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16582 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16583 	;;
   16584       esac
   16585     fi
   16586   fi
   16587 
   16588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16589 $as_echo "$ld_shlibs" >&6; }
   16590 test no = "$ld_shlibs" && can_build_shared=no
   16591 
   16592 with_gnu_ld=$with_gnu_ld
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 #
   16609 # Do we need to explicitly link libc?
   16610 #
   16611 case "x$archive_cmds_need_lc" in
   16612 x|xyes)
   16613   # Assume -lc should be added
   16614   archive_cmds_need_lc=yes
   16615 
   16616   if test yes,yes = "$GCC,$enable_shared"; then
   16617     case $archive_cmds in
   16618     *'~'*)
   16619       # FIXME: we may have to deal with multi-command sequences.
   16620       ;;
   16621     '$CC '*)
   16622       # Test whether the compiler implicitly links with -lc since on some
   16623       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16624       # to ld, don't add -lc before -lgcc.
   16625       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16626 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16627 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16628   $as_echo_n "(cached) " >&6
   16629 else
   16630   $RM conftest*
   16631 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16632 
   16633 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16634   (eval $ac_compile) 2>&5
   16635   ac_status=$?
   16636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16637   test $ac_status = 0; } 2>conftest.err; then
   16638 	  soname=conftest
   16639 	  lib=conftest
   16640 	  libobjs=conftest.$ac_objext
   16641 	  deplibs=
   16642 	  wl=$lt_prog_compiler_wl
   16643 	  pic_flag=$lt_prog_compiler_pic
   16644 	  compiler_flags=-v
   16645 	  linker_flags=-v
   16646 	  verstring=
   16647 	  output_objdir=.
   16648 	  libname=conftest
   16649 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16650 	  allow_undefined_flag=
   16651 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16652   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16653   ac_status=$?
   16654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16655   test $ac_status = 0; }
   16656 	  then
   16657 	    lt_cv_archive_cmds_need_lc=no
   16658 	  else
   16659 	    lt_cv_archive_cmds_need_lc=yes
   16660 	  fi
   16661 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16662 	else
   16663 	  cat conftest.err 1>&5
   16664 	fi
   16665 	$RM conftest*
   16666 
   16667 fi
   16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16669 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16670       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16671       ;;
   16672     esac
   16673   fi
   16674   ;;
   16675 esac
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16829 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16830 
   16831 if test yes = "$GCC"; then
   16832   case $host_os in
   16833     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16834     *) lt_awk_arg='/^libraries:/' ;;
   16835   esac
   16836   case $host_os in
   16837     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16838     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16839   esac
   16840   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16841   case $lt_search_path_spec in
   16842   *\;*)
   16843     # if the path contains ";" then we assume it to be the separator
   16844     # otherwise default to the standard path separator (i.e. ":") - it is
   16845     # assumed that no part of a normal pathname contains ";" but that should
   16846     # okay in the real world where ";" in dirpaths is itself problematic.
   16847     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16848     ;;
   16849   *)
   16850     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16851     ;;
   16852   esac
   16853   # Ok, now we have the path, separated by spaces, we can step through it
   16854   # and add multilib dir if necessary...
   16855   lt_tmp_lt_search_path_spec=
   16856   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16857   # ...but if some path component already ends with the multilib dir we assume
   16858   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16859   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16860   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16861     lt_multi_os_dir=
   16862     ;;
   16863   esac
   16864   for lt_sys_path in $lt_search_path_spec; do
   16865     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16866       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16867     elif test -n "$lt_multi_os_dir"; then
   16868       test -d "$lt_sys_path" && \
   16869 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16870     fi
   16871   done
   16872   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16873 BEGIN {RS = " "; FS = "/|\n";} {
   16874   lt_foo = "";
   16875   lt_count = 0;
   16876   for (lt_i = NF; lt_i > 0; lt_i--) {
   16877     if ($lt_i != "" && $lt_i != ".") {
   16878       if ($lt_i == "..") {
   16879         lt_count++;
   16880       } else {
   16881         if (lt_count == 0) {
   16882           lt_foo = "/" $lt_i lt_foo;
   16883         } else {
   16884           lt_count--;
   16885         }
   16886       }
   16887     }
   16888   }
   16889   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16890   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16891 }'`
   16892   # AWK program above erroneously prepends '/' to C:/dos/paths
   16893   # for these hosts.
   16894   case $host_os in
   16895     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16896       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16897   esac
   16898   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16899 else
   16900   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16901 fi
   16902 library_names_spec=
   16903 libname_spec='lib$name'
   16904 soname_spec=
   16905 shrext_cmds=.so
   16906 postinstall_cmds=
   16907 postuninstall_cmds=
   16908 finish_cmds=
   16909 finish_eval=
   16910 shlibpath_var=
   16911 shlibpath_overrides_runpath=unknown
   16912 version_type=none
   16913 dynamic_linker="$host_os ld.so"
   16914 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16915 need_lib_prefix=unknown
   16916 hardcode_into_libs=no
   16917 
   16918 # when you set need_version to no, make sure it does not cause -set_version
   16919 # flags to be left without arguments
   16920 need_version=unknown
   16921 
   16922 
   16923 
   16924 case $host_os in
   16925 aix3*)
   16926   version_type=linux # correct to gnu/linux during the next big refactor
   16927   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16928   shlibpath_var=LIBPATH
   16929 
   16930   # AIX 3 has no versioning support, so we append a major version to the name.
   16931   soname_spec='$libname$release$shared_ext$major'
   16932   ;;
   16933 
   16934 aix[4-9]*)
   16935   version_type=linux # correct to gnu/linux during the next big refactor
   16936   need_lib_prefix=no
   16937   need_version=no
   16938   hardcode_into_libs=yes
   16939   if test ia64 = "$host_cpu"; then
   16940     # AIX 5 supports IA64
   16941     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16942     shlibpath_var=LD_LIBRARY_PATH
   16943   else
   16944     # With GCC up to 2.95.x, collect2 would create an import file
   16945     # for dependence libraries.  The import file would start with
   16946     # the line '#! .'.  This would cause the generated library to
   16947     # depend on '.', always an invalid library.  This was fixed in
   16948     # development snapshots of GCC prior to 3.0.
   16949     case $host_os in
   16950       aix4 | aix4.[01] | aix4.[01].*)
   16951       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16952 	   echo ' yes '
   16953 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16954 	:
   16955       else
   16956 	can_build_shared=no
   16957       fi
   16958       ;;
   16959     esac
   16960     # Using Import Files as archive members, it is possible to support
   16961     # filename-based versioning of shared library archives on AIX. While
   16962     # this would work for both with and without runtime linking, it will
   16963     # prevent static linking of such archives. So we do filename-based
   16964     # shared library versioning with .so extension only, which is used
   16965     # when both runtime linking and shared linking is enabled.
   16966     # Unfortunately, runtime linking may impact performance, so we do
   16967     # not want this to be the default eventually. Also, we use the
   16968     # versioned .so libs for executables only if there is the -brtl
   16969     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16970     # To allow for filename-based versioning support, we need to create
   16971     # libNAME.so.V as an archive file, containing:
   16972     # *) an Import File, referring to the versioned filename of the
   16973     #    archive as well as the shared archive member, telling the
   16974     #    bitwidth (32 or 64) of that shared object, and providing the
   16975     #    list of exported symbols of that shared object, eventually
   16976     #    decorated with the 'weak' keyword
   16977     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16978     #    it being seen by the linker.
   16979     # At run time we better use the real file rather than another symlink,
   16980     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16981 
   16982     case $with_aix_soname,$aix_use_runtimelinking in
   16983     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   16984     # soname into executable. Probably we can add versioning support to
   16985     # collect2, so additional links can be useful in future.
   16986     aix,yes) # traditional libtool
   16987       dynamic_linker='AIX unversionable lib.so'
   16988       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16989       # instead of lib<name>.a to let people know that these are not
   16990       # typical AIX shared libraries.
   16991       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   16992       ;;
   16993     aix,no) # traditional AIX only
   16994       dynamic_linker='AIX lib.a(lib.so.V)'
   16995       # We preserve .a as extension for shared libraries through AIX4.2
   16996       # and later when we are not doing run time linking.
   16997       library_names_spec='$libname$release.a $libname.a'
   16998       soname_spec='$libname$release$shared_ext$major'
   16999       ;;
   17000     svr4,*) # full svr4 only
   17001       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17002       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17003       # We do not specify a path in Import Files, so LIBPATH fires.
   17004       shlibpath_overrides_runpath=yes
   17005       ;;
   17006     *,yes) # both, prefer svr4
   17007       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17008       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17009       # unpreferred sharedlib libNAME.a needs extra handling
   17010       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"'
   17011       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"'
   17012       # We do not specify a path in Import Files, so LIBPATH fires.
   17013       shlibpath_overrides_runpath=yes
   17014       ;;
   17015     *,no) # both, prefer aix
   17016       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17017       library_names_spec='$libname$release.a $libname.a'
   17018       soname_spec='$libname$release$shared_ext$major'
   17019       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17020       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)'
   17021       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"'
   17022       ;;
   17023     esac
   17024     shlibpath_var=LIBPATH
   17025   fi
   17026   ;;
   17027 
   17028 amigaos*)
   17029   case $host_cpu in
   17030   powerpc)
   17031     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17032     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17033     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17034     ;;
   17035   m68k)
   17036     library_names_spec='$libname.ixlibrary $libname.a'
   17037     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17038     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'
   17039     ;;
   17040   esac
   17041   ;;
   17042 
   17043 beos*)
   17044   library_names_spec='$libname$shared_ext'
   17045   dynamic_linker="$host_os ld.so"
   17046   shlibpath_var=LIBRARY_PATH
   17047   ;;
   17048 
   17049 bsdi[45]*)
   17050   version_type=linux # correct to gnu/linux during the next big refactor
   17051   need_version=no
   17052   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17053   soname_spec='$libname$release$shared_ext$major'
   17054   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17055   shlibpath_var=LD_LIBRARY_PATH
   17056   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17057   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17058   # the default ld.so.conf also contains /usr/contrib/lib and
   17059   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17060   # libtool to hard-code these into programs
   17061   ;;
   17062 
   17063 cygwin* | mingw* | pw32* | cegcc*)
   17064   version_type=windows
   17065   shrext_cmds=.dll
   17066   need_version=no
   17067   need_lib_prefix=no
   17068 
   17069   case $GCC,$cc_basename in
   17070   yes,*)
   17071     # gcc
   17072     library_names_spec='$libname.dll.a'
   17073     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17074     postinstall_cmds='base_file=`basename \$file`~
   17075       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17076       dldir=$destdir/`dirname \$dlpath`~
   17077       test -d \$dldir || mkdir -p \$dldir~
   17078       $install_prog $dir/$dlname \$dldir/$dlname~
   17079       chmod a+x \$dldir/$dlname~
   17080       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17081         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17082       fi'
   17083     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17084       dlpath=$dir/\$dldll~
   17085        $RM \$dlpath'
   17086     shlibpath_overrides_runpath=yes
   17087 
   17088     case $host_os in
   17089     cygwin*)
   17090       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17091       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17092 
   17093       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17094       ;;
   17095     mingw* | cegcc*)
   17096       # MinGW DLLs use traditional 'lib' prefix
   17097       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17098       ;;
   17099     pw32*)
   17100       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17101       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17102       ;;
   17103     esac
   17104     dynamic_linker='Win32 ld.exe'
   17105     ;;
   17106 
   17107   *,cl*)
   17108     # Native MSVC
   17109     libname_spec='$name'
   17110     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17111     library_names_spec='$libname.dll.lib'
   17112 
   17113     case $build_os in
   17114     mingw*)
   17115       sys_lib_search_path_spec=
   17116       lt_save_ifs=$IFS
   17117       IFS=';'
   17118       for lt_path in $LIB
   17119       do
   17120         IFS=$lt_save_ifs
   17121         # Let DOS variable expansion print the short 8.3 style file name.
   17122         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17123         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17124       done
   17125       IFS=$lt_save_ifs
   17126       # Convert to MSYS style.
   17127       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17128       ;;
   17129     cygwin*)
   17130       # Convert to unix form, then to dos form, then back to unix form
   17131       # but this time dos style (no spaces!) so that the unix form looks
   17132       # like /cygdrive/c/PROGRA~1:/cygdr...
   17133       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17134       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17135       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17136       ;;
   17137     *)
   17138       sys_lib_search_path_spec=$LIB
   17139       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17140         # It is most probably a Windows format PATH.
   17141         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17142       else
   17143         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17144       fi
   17145       # FIXME: find the short name or the path components, as spaces are
   17146       # common. (e.g. "Program Files" -> "PROGRA~1")
   17147       ;;
   17148     esac
   17149 
   17150     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17151     postinstall_cmds='base_file=`basename \$file`~
   17152       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17153       dldir=$destdir/`dirname \$dlpath`~
   17154       test -d \$dldir || mkdir -p \$dldir~
   17155       $install_prog $dir/$dlname \$dldir/$dlname'
   17156     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17157       dlpath=$dir/\$dldll~
   17158        $RM \$dlpath'
   17159     shlibpath_overrides_runpath=yes
   17160     dynamic_linker='Win32 link.exe'
   17161     ;;
   17162 
   17163   *)
   17164     # Assume MSVC wrapper
   17165     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17166     dynamic_linker='Win32 ld.exe'
   17167     ;;
   17168   esac
   17169   # FIXME: first we should search . and the directory the executable is in
   17170   shlibpath_var=PATH
   17171   ;;
   17172 
   17173 darwin* | rhapsody*)
   17174   dynamic_linker="$host_os dyld"
   17175   version_type=darwin
   17176   need_lib_prefix=no
   17177   need_version=no
   17178   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17179   soname_spec='$libname$release$major$shared_ext'
   17180   shlibpath_overrides_runpath=yes
   17181   shlibpath_var=DYLD_LIBRARY_PATH
   17182   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17183 
   17184   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17185   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17186   ;;
   17187 
   17188 dgux*)
   17189   version_type=linux # correct to gnu/linux during the next big refactor
   17190   need_lib_prefix=no
   17191   need_version=no
   17192   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17193   soname_spec='$libname$release$shared_ext$major'
   17194   shlibpath_var=LD_LIBRARY_PATH
   17195   ;;
   17196 
   17197 freebsd* | dragonfly*)
   17198   # DragonFly does not have aout.  When/if they implement a new
   17199   # versioning mechanism, adjust this.
   17200   if test -x /usr/bin/objformat; then
   17201     objformat=`/usr/bin/objformat`
   17202   else
   17203     case $host_os in
   17204     freebsd[23].*) objformat=aout ;;
   17205     *) objformat=elf ;;
   17206     esac
   17207   fi
   17208   # Handle Gentoo/FreeBSD as it was Linux
   17209   case $host_vendor in
   17210     gentoo)
   17211       version_type=linux ;;
   17212     *)
   17213       version_type=freebsd-$objformat ;;
   17214   esac
   17215 
   17216   case $version_type in
   17217     freebsd-elf*)
   17218       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17219       soname_spec='$libname$release$shared_ext$major'
   17220       need_version=no
   17221       need_lib_prefix=no
   17222       ;;
   17223     freebsd-*)
   17224       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17225       need_version=yes
   17226       ;;
   17227     linux)
   17228       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17229       soname_spec='${libname}${release}${shared_ext}$major'
   17230       need_lib_prefix=no
   17231       need_version=no
   17232       ;;
   17233   esac
   17234   shlibpath_var=LD_LIBRARY_PATH
   17235   case $host_os in
   17236   freebsd2.*)
   17237     shlibpath_overrides_runpath=yes
   17238     ;;
   17239   freebsd3.[01]* | freebsdelf3.[01]*)
   17240     shlibpath_overrides_runpath=yes
   17241     hardcode_into_libs=yes
   17242     ;;
   17243   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17244   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17245     shlibpath_overrides_runpath=no
   17246     hardcode_into_libs=yes
   17247     ;;
   17248   *) # from 4.6 on, and DragonFly
   17249     shlibpath_overrides_runpath=yes
   17250     hardcode_into_libs=yes
   17251     ;;
   17252   esac
   17253   ;;
   17254 
   17255 haiku*)
   17256   version_type=linux # correct to gnu/linux during the next big refactor
   17257   need_lib_prefix=no
   17258   need_version=no
   17259   dynamic_linker="$host_os runtime_loader"
   17260   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17261   soname_spec='$libname$release$shared_ext$major'
   17262   shlibpath_var=LIBRARY_PATH
   17263   shlibpath_overrides_runpath=no
   17264   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17265   hardcode_into_libs=yes
   17266   ;;
   17267 
   17268 hpux9* | hpux10* | hpux11*)
   17269   # Give a soname corresponding to the major version so that dld.sl refuses to
   17270   # link against other versions.
   17271   version_type=sunos
   17272   need_lib_prefix=no
   17273   need_version=no
   17274   case $host_cpu in
   17275   ia64*)
   17276     shrext_cmds='.so'
   17277     hardcode_into_libs=yes
   17278     dynamic_linker="$host_os dld.so"
   17279     shlibpath_var=LD_LIBRARY_PATH
   17280     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17281     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17282     soname_spec='$libname$release$shared_ext$major'
   17283     if test 32 = "$HPUX_IA64_MODE"; then
   17284       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17285       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17286     else
   17287       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17288       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17289     fi
   17290     ;;
   17291   hppa*64*)
   17292     shrext_cmds='.sl'
   17293     hardcode_into_libs=yes
   17294     dynamic_linker="$host_os dld.sl"
   17295     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17296     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17297     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17298     soname_spec='$libname$release$shared_ext$major'
   17299     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17300     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17301     ;;
   17302   *)
   17303     shrext_cmds='.sl'
   17304     dynamic_linker="$host_os dld.sl"
   17305     shlibpath_var=SHLIB_PATH
   17306     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17307     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17308     soname_spec='$libname$release$shared_ext$major'
   17309     ;;
   17310   esac
   17311   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17312   postinstall_cmds='chmod 555 $lib'
   17313   # or fails outright, so override atomically:
   17314   install_override_mode=555
   17315   ;;
   17316 
   17317 interix[3-9]*)
   17318   version_type=linux # correct to gnu/linux during the next big refactor
   17319   need_lib_prefix=no
   17320   need_version=no
   17321   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17322   soname_spec='$libname$release$shared_ext$major'
   17323   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17324   shlibpath_var=LD_LIBRARY_PATH
   17325   shlibpath_overrides_runpath=no
   17326   hardcode_into_libs=yes
   17327   ;;
   17328 
   17329 irix5* | irix6* | nonstopux*)
   17330   case $host_os in
   17331     nonstopux*) version_type=nonstopux ;;
   17332     *)
   17333 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17334 		version_type=linux # correct to gnu/linux during the next big refactor
   17335 	else
   17336 		version_type=irix
   17337 	fi ;;
   17338   esac
   17339   need_lib_prefix=no
   17340   need_version=no
   17341   soname_spec='$libname$release$shared_ext$major'
   17342   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17343   case $host_os in
   17344   irix5* | nonstopux*)
   17345     libsuff= shlibsuff=
   17346     ;;
   17347   *)
   17348     case $LD in # libtool.m4 will add one of these switches to LD
   17349     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17350       libsuff= shlibsuff= libmagic=32-bit;;
   17351     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17352       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17353     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17354       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17355     *) libsuff= shlibsuff= libmagic=never-match;;
   17356     esac
   17357     ;;
   17358   esac
   17359   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17360   shlibpath_overrides_runpath=no
   17361   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17362   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17363   hardcode_into_libs=yes
   17364   ;;
   17365 
   17366 # No shared lib support for Linux oldld, aout, or coff.
   17367 linux*oldld* | linux*aout* | linux*coff*)
   17368   dynamic_linker=no
   17369   ;;
   17370 
   17371 linux*android*)
   17372   version_type=none # Android doesn't support versioned libraries.
   17373   need_lib_prefix=no
   17374   need_version=no
   17375   library_names_spec='$libname$release$shared_ext'
   17376   soname_spec='$libname$release$shared_ext'
   17377   finish_cmds=
   17378   shlibpath_var=LD_LIBRARY_PATH
   17379   shlibpath_overrides_runpath=yes
   17380 
   17381   # This implies no fast_install, which is unacceptable.
   17382   # Some rework will be needed to allow for fast_install
   17383   # before this can be enabled.
   17384   hardcode_into_libs=yes
   17385 
   17386   dynamic_linker='Android linker'
   17387   # Don't embed -rpath directories since the linker doesn't support them.
   17388   hardcode_libdir_flag_spec='-L$libdir'
   17389   ;;
   17390 
   17391 # This must be glibc/ELF.
   17392 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17393   version_type=linux # correct to gnu/linux during the next big refactor
   17394   need_lib_prefix=no
   17395   need_version=no
   17396   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17397   soname_spec='$libname$release$shared_ext$major'
   17398   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17399   shlibpath_var=LD_LIBRARY_PATH
   17400   shlibpath_overrides_runpath=no
   17401 
   17402   # Some binutils ld are patched to set DT_RUNPATH
   17403   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17404   $as_echo_n "(cached) " >&6
   17405 else
   17406   lt_cv_shlibpath_overrides_runpath=no
   17407     save_LDFLAGS=$LDFLAGS
   17408     save_libdir=$libdir
   17409     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17410 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17411     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17412 /* end confdefs.h.  */
   17413 
   17414 int
   17415 main ()
   17416 {
   17417 
   17418   ;
   17419   return 0;
   17420 }
   17421 _ACEOF
   17422 if ac_fn_c_try_link "$LINENO"; then :
   17423   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17424   lt_cv_shlibpath_overrides_runpath=yes
   17425 fi
   17426 fi
   17427 rm -f core conftest.err conftest.$ac_objext \
   17428     conftest$ac_exeext conftest.$ac_ext
   17429     LDFLAGS=$save_LDFLAGS
   17430     libdir=$save_libdir
   17431 
   17432 fi
   17433 
   17434   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17435 
   17436   # This implies no fast_install, which is unacceptable.
   17437   # Some rework will be needed to allow for fast_install
   17438   # before this can be enabled.
   17439   hardcode_into_libs=yes
   17440 
   17441   # Ideally, we could use ldconfig to report *all* directores which are
   17442   # searched for libraries, however this is still not possible.  Aside from not
   17443   # being certain /sbin/ldconfig is available, command
   17444   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17445   # even though it is searched at run-time.  Try to do the best guess by
   17446   # appending ld.so.conf contents (and includes) to the search path.
   17447   if test -f /etc/ld.so.conf; then
   17448     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' ' '`
   17449     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17450   fi
   17451 
   17452   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17453   # powerpc, because MkLinux only supported shared libraries with the
   17454   # GNU dynamic linker.  Since this was broken with cross compilers,
   17455   # most powerpc-linux boxes support dynamic linking these days and
   17456   # people can always --disable-shared, the test was removed, and we
   17457   # assume the GNU/Linux dynamic linker is in use.
   17458   dynamic_linker='GNU/Linux ld.so'
   17459   ;;
   17460 
   17461 netbsd*)
   17462   version_type=sunos
   17463   need_lib_prefix=no
   17464   need_version=no
   17465   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17466     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17467     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17468     dynamic_linker='NetBSD (a.out) ld.so'
   17469   else
   17470     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17471     soname_spec='$libname$release$shared_ext$major'
   17472     dynamic_linker='NetBSD ld.elf_so'
   17473   fi
   17474   shlibpath_var=LD_LIBRARY_PATH
   17475   shlibpath_overrides_runpath=yes
   17476   hardcode_into_libs=yes
   17477   ;;
   17478 
   17479 newsos6)
   17480   version_type=linux # correct to gnu/linux during the next big refactor
   17481   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17482   shlibpath_var=LD_LIBRARY_PATH
   17483   shlibpath_overrides_runpath=yes
   17484   ;;
   17485 
   17486 *nto* | *qnx*)
   17487   version_type=qnx
   17488   need_lib_prefix=no
   17489   need_version=no
   17490   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17491   soname_spec='$libname$release$shared_ext$major'
   17492   shlibpath_var=LD_LIBRARY_PATH
   17493   shlibpath_overrides_runpath=no
   17494   hardcode_into_libs=yes
   17495   dynamic_linker='ldqnx.so'
   17496   ;;
   17497 
   17498 openbsd* | bitrig*)
   17499   version_type=sunos
   17500   sys_lib_dlsearch_path_spec=/usr/lib
   17501   need_lib_prefix=no
   17502   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17503     need_version=no
   17504   else
   17505     need_version=yes
   17506   fi
   17507   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17508   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17509   shlibpath_var=LD_LIBRARY_PATH
   17510   shlibpath_overrides_runpath=yes
   17511   ;;
   17512 
   17513 os2*)
   17514   libname_spec='$name'
   17515   version_type=windows
   17516   shrext_cmds=.dll
   17517   need_version=no
   17518   need_lib_prefix=no
   17519   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17520   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17521     v=$($ECHO $release$versuffix | tr -d .-);
   17522     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17523     $ECHO $n$v`$shared_ext'
   17524   library_names_spec='${libname}_dll.$libext'
   17525   dynamic_linker='OS/2 ld.exe'
   17526   shlibpath_var=BEGINLIBPATH
   17527   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17528   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17529   postinstall_cmds='base_file=`basename \$file`~
   17530     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17531     dldir=$destdir/`dirname \$dlpath`~
   17532     test -d \$dldir || mkdir -p \$dldir~
   17533     $install_prog $dir/$dlname \$dldir/$dlname~
   17534     chmod a+x \$dldir/$dlname~
   17535     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17536       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17537     fi'
   17538   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17539     dlpath=$dir/\$dldll~
   17540     $RM \$dlpath'
   17541   ;;
   17542 
   17543 osf3* | osf4* | osf5*)
   17544   version_type=osf
   17545   need_lib_prefix=no
   17546   need_version=no
   17547   soname_spec='$libname$release$shared_ext$major'
   17548   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17549   shlibpath_var=LD_LIBRARY_PATH
   17550   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17551   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17552   ;;
   17553 
   17554 rdos*)
   17555   dynamic_linker=no
   17556   ;;
   17557 
   17558 solaris*)
   17559   version_type=linux # correct to gnu/linux during the next big refactor
   17560   need_lib_prefix=no
   17561   need_version=no
   17562   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17563   soname_spec='$libname$release$shared_ext$major'
   17564   shlibpath_var=LD_LIBRARY_PATH
   17565   shlibpath_overrides_runpath=yes
   17566   hardcode_into_libs=yes
   17567   # ldd complains unless libraries are executable
   17568   postinstall_cmds='chmod +x $lib'
   17569   ;;
   17570 
   17571 sunos4*)
   17572   version_type=sunos
   17573   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17574   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17575   shlibpath_var=LD_LIBRARY_PATH
   17576   shlibpath_overrides_runpath=yes
   17577   if test yes = "$with_gnu_ld"; then
   17578     need_lib_prefix=no
   17579   fi
   17580   need_version=yes
   17581   ;;
   17582 
   17583 sysv4 | sysv4.3*)
   17584   version_type=linux # correct to gnu/linux during the next big refactor
   17585   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17586   soname_spec='$libname$release$shared_ext$major'
   17587   shlibpath_var=LD_LIBRARY_PATH
   17588   case $host_vendor in
   17589     sni)
   17590       shlibpath_overrides_runpath=no
   17591       need_lib_prefix=no
   17592       runpath_var=LD_RUN_PATH
   17593       ;;
   17594     siemens)
   17595       need_lib_prefix=no
   17596       ;;
   17597     motorola)
   17598       need_lib_prefix=no
   17599       need_version=no
   17600       shlibpath_overrides_runpath=no
   17601       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17602       ;;
   17603   esac
   17604   ;;
   17605 
   17606 sysv4*MP*)
   17607   if test -d /usr/nec; then
   17608     version_type=linux # correct to gnu/linux during the next big refactor
   17609     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17610     soname_spec='$libname$shared_ext.$major'
   17611     shlibpath_var=LD_LIBRARY_PATH
   17612   fi
   17613   ;;
   17614 
   17615 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17616   version_type=sco
   17617   need_lib_prefix=no
   17618   need_version=no
   17619   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17620   soname_spec='$libname$release$shared_ext$major'
   17621   shlibpath_var=LD_LIBRARY_PATH
   17622   shlibpath_overrides_runpath=yes
   17623   hardcode_into_libs=yes
   17624   if test yes = "$with_gnu_ld"; then
   17625     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17626   else
   17627     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17628     case $host_os in
   17629       sco3.2v5*)
   17630         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17631 	;;
   17632     esac
   17633   fi
   17634   sys_lib_dlsearch_path_spec='/usr/lib'
   17635   ;;
   17636 
   17637 tpf*)
   17638   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17639   version_type=linux # correct to gnu/linux during the next big refactor
   17640   need_lib_prefix=no
   17641   need_version=no
   17642   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17643   shlibpath_var=LD_LIBRARY_PATH
   17644   shlibpath_overrides_runpath=no
   17645   hardcode_into_libs=yes
   17646   ;;
   17647 
   17648 uts4*)
   17649   version_type=linux # correct to gnu/linux during the next big refactor
   17650   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17651   soname_spec='$libname$release$shared_ext$major'
   17652   shlibpath_var=LD_LIBRARY_PATH
   17653   ;;
   17654 
   17655 *)
   17656   dynamic_linker=no
   17657   ;;
   17658 esac
   17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17660 $as_echo "$dynamic_linker" >&6; }
   17661 test no = "$dynamic_linker" && can_build_shared=no
   17662 
   17663 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17664 if test yes = "$GCC"; then
   17665   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17666 fi
   17667 
   17668 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17669   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17670 fi
   17671 
   17672 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17673   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17674 fi
   17675 
   17676 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17677 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17678 
   17679 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17680 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17681 
   17682 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17683 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17782 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17783 hardcode_action=
   17784 if test -n "$hardcode_libdir_flag_spec" ||
   17785    test -n "$runpath_var" ||
   17786    test yes = "$hardcode_automatic"; then
   17787 
   17788   # We can hardcode non-existent directories.
   17789   if test no != "$hardcode_direct" &&
   17790      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17791      # have to relink, otherwise we might link with an installed library
   17792      # when we should be linking with a yet-to-be-installed one
   17793      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17794      test no != "$hardcode_minus_L"; then
   17795     # Linking always hardcodes the temporary library directory.
   17796     hardcode_action=relink
   17797   else
   17798     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17799     hardcode_action=immediate
   17800   fi
   17801 else
   17802   # We cannot hardcode anything, or else we can only hardcode existing
   17803   # directories.
   17804   hardcode_action=unsupported
   17805 fi
   17806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17807 $as_echo "$hardcode_action" >&6; }
   17808 
   17809 if test relink = "$hardcode_action" ||
   17810    test yes = "$inherit_rpath"; then
   17811   # Fast installation is not supported
   17812   enable_fast_install=no
   17813 elif test yes = "$shlibpath_overrides_runpath" ||
   17814      test no = "$enable_shared"; then
   17815   # Fast installation is not necessary
   17816   enable_fast_install=needless
   17817 fi
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824   if test yes != "$enable_dlopen"; then
   17825   enable_dlopen=unknown
   17826   enable_dlopen_self=unknown
   17827   enable_dlopen_self_static=unknown
   17828 else
   17829   lt_cv_dlopen=no
   17830   lt_cv_dlopen_libs=
   17831 
   17832   case $host_os in
   17833   beos*)
   17834     lt_cv_dlopen=load_add_on
   17835     lt_cv_dlopen_libs=
   17836     lt_cv_dlopen_self=yes
   17837     ;;
   17838 
   17839   mingw* | pw32* | cegcc*)
   17840     lt_cv_dlopen=LoadLibrary
   17841     lt_cv_dlopen_libs=
   17842     ;;
   17843 
   17844   cygwin*)
   17845     lt_cv_dlopen=dlopen
   17846     lt_cv_dlopen_libs=
   17847     ;;
   17848 
   17849   darwin*)
   17850     # if libdl is installed we need to link against it
   17851     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17852 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17853 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17854   $as_echo_n "(cached) " >&6
   17855 else
   17856   ac_check_lib_save_LIBS=$LIBS
   17857 LIBS="-ldl  $LIBS"
   17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17859 /* end confdefs.h.  */
   17860 
   17861 /* Override any GCC internal prototype to avoid an error.
   17862    Use char because int might match the return type of a GCC
   17863    builtin and then its argument prototype would still apply.  */
   17864 #ifdef __cplusplus
   17865 extern "C"
   17866 #endif
   17867 char dlopen ();
   17868 int
   17869 main ()
   17870 {
   17871 return dlopen ();
   17872   ;
   17873   return 0;
   17874 }
   17875 _ACEOF
   17876 if ac_fn_c_try_link "$LINENO"; then :
   17877   ac_cv_lib_dl_dlopen=yes
   17878 else
   17879   ac_cv_lib_dl_dlopen=no
   17880 fi
   17881 rm -f core conftest.err conftest.$ac_objext \
   17882     conftest$ac_exeext conftest.$ac_ext
   17883 LIBS=$ac_check_lib_save_LIBS
   17884 fi
   17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17886 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17887 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17888   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17889 else
   17890 
   17891     lt_cv_dlopen=dyld
   17892     lt_cv_dlopen_libs=
   17893     lt_cv_dlopen_self=yes
   17894 
   17895 fi
   17896 
   17897     ;;
   17898 
   17899   tpf*)
   17900     # Don't try to run any link tests for TPF.  We know it's impossible
   17901     # because TPF is a cross-compiler, and we know how we open DSOs.
   17902     lt_cv_dlopen=dlopen
   17903     lt_cv_dlopen_libs=
   17904     lt_cv_dlopen_self=no
   17905     ;;
   17906 
   17907   *)
   17908     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17909 if test "x$ac_cv_func_shl_load" = xyes; then :
   17910   lt_cv_dlopen=shl_load
   17911 else
   17912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17913 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17914 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17915   $as_echo_n "(cached) " >&6
   17916 else
   17917   ac_check_lib_save_LIBS=$LIBS
   17918 LIBS="-ldld  $LIBS"
   17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17920 /* end confdefs.h.  */
   17921 
   17922 /* Override any GCC internal prototype to avoid an error.
   17923    Use char because int might match the return type of a GCC
   17924    builtin and then its argument prototype would still apply.  */
   17925 #ifdef __cplusplus
   17926 extern "C"
   17927 #endif
   17928 char shl_load ();
   17929 int
   17930 main ()
   17931 {
   17932 return shl_load ();
   17933   ;
   17934   return 0;
   17935 }
   17936 _ACEOF
   17937 if ac_fn_c_try_link "$LINENO"; then :
   17938   ac_cv_lib_dld_shl_load=yes
   17939 else
   17940   ac_cv_lib_dld_shl_load=no
   17941 fi
   17942 rm -f core conftest.err conftest.$ac_objext \
   17943     conftest$ac_exeext conftest.$ac_ext
   17944 LIBS=$ac_check_lib_save_LIBS
   17945 fi
   17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17947 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17948 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17949   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17950 else
   17951   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17952 if test "x$ac_cv_func_dlopen" = xyes; then :
   17953   lt_cv_dlopen=dlopen
   17954 else
   17955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17956 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17957 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17958   $as_echo_n "(cached) " >&6
   17959 else
   17960   ac_check_lib_save_LIBS=$LIBS
   17961 LIBS="-ldl  $LIBS"
   17962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17963 /* end confdefs.h.  */
   17964 
   17965 /* Override any GCC internal prototype to avoid an error.
   17966    Use char because int might match the return type of a GCC
   17967    builtin and then its argument prototype would still apply.  */
   17968 #ifdef __cplusplus
   17969 extern "C"
   17970 #endif
   17971 char dlopen ();
   17972 int
   17973 main ()
   17974 {
   17975 return dlopen ();
   17976   ;
   17977   return 0;
   17978 }
   17979 _ACEOF
   17980 if ac_fn_c_try_link "$LINENO"; then :
   17981   ac_cv_lib_dl_dlopen=yes
   17982 else
   17983   ac_cv_lib_dl_dlopen=no
   17984 fi
   17985 rm -f core conftest.err conftest.$ac_objext \
   17986     conftest$ac_exeext conftest.$ac_ext
   17987 LIBS=$ac_check_lib_save_LIBS
   17988 fi
   17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17990 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17991 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17992   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17993 else
   17994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17995 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17996 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17997   $as_echo_n "(cached) " >&6
   17998 else
   17999   ac_check_lib_save_LIBS=$LIBS
   18000 LIBS="-lsvld  $LIBS"
   18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18002 /* end confdefs.h.  */
   18003 
   18004 /* Override any GCC internal prototype to avoid an error.
   18005    Use char because int might match the return type of a GCC
   18006    builtin and then its argument prototype would still apply.  */
   18007 #ifdef __cplusplus
   18008 extern "C"
   18009 #endif
   18010 char dlopen ();
   18011 int
   18012 main ()
   18013 {
   18014 return dlopen ();
   18015   ;
   18016   return 0;
   18017 }
   18018 _ACEOF
   18019 if ac_fn_c_try_link "$LINENO"; then :
   18020   ac_cv_lib_svld_dlopen=yes
   18021 else
   18022   ac_cv_lib_svld_dlopen=no
   18023 fi
   18024 rm -f core conftest.err conftest.$ac_objext \
   18025     conftest$ac_exeext conftest.$ac_ext
   18026 LIBS=$ac_check_lib_save_LIBS
   18027 fi
   18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18029 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18030 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18031   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18032 else
   18033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18034 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18035 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18036   $as_echo_n "(cached) " >&6
   18037 else
   18038   ac_check_lib_save_LIBS=$LIBS
   18039 LIBS="-ldld  $LIBS"
   18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18041 /* end confdefs.h.  */
   18042 
   18043 /* Override any GCC internal prototype to avoid an error.
   18044    Use char because int might match the return type of a GCC
   18045    builtin and then its argument prototype would still apply.  */
   18046 #ifdef __cplusplus
   18047 extern "C"
   18048 #endif
   18049 char dld_link ();
   18050 int
   18051 main ()
   18052 {
   18053 return dld_link ();
   18054   ;
   18055   return 0;
   18056 }
   18057 _ACEOF
   18058 if ac_fn_c_try_link "$LINENO"; then :
   18059   ac_cv_lib_dld_dld_link=yes
   18060 else
   18061   ac_cv_lib_dld_dld_link=no
   18062 fi
   18063 rm -f core conftest.err conftest.$ac_objext \
   18064     conftest$ac_exeext conftest.$ac_ext
   18065 LIBS=$ac_check_lib_save_LIBS
   18066 fi
   18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18068 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18069 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18070   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18071 fi
   18072 
   18073 
   18074 fi
   18075 
   18076 
   18077 fi
   18078 
   18079 
   18080 fi
   18081 
   18082 
   18083 fi
   18084 
   18085 
   18086 fi
   18087 
   18088     ;;
   18089   esac
   18090 
   18091   if test no = "$lt_cv_dlopen"; then
   18092     enable_dlopen=no
   18093   else
   18094     enable_dlopen=yes
   18095   fi
   18096 
   18097   case $lt_cv_dlopen in
   18098   dlopen)
   18099     save_CPPFLAGS=$CPPFLAGS
   18100     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18101 
   18102     save_LDFLAGS=$LDFLAGS
   18103     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18104 
   18105     save_LIBS=$LIBS
   18106     LIBS="$lt_cv_dlopen_libs $LIBS"
   18107 
   18108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18109 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18110 if ${lt_cv_dlopen_self+:} false; then :
   18111   $as_echo_n "(cached) " >&6
   18112 else
   18113   	  if test yes = "$cross_compiling"; then :
   18114   lt_cv_dlopen_self=cross
   18115 else
   18116   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18117   lt_status=$lt_dlunknown
   18118   cat > conftest.$ac_ext <<_LT_EOF
   18119 #line $LINENO "configure"
   18120 #include "confdefs.h"
   18121 
   18122 #if HAVE_DLFCN_H
   18123 #include <dlfcn.h>
   18124 #endif
   18125 
   18126 #include <stdio.h>
   18127 
   18128 #ifdef RTLD_GLOBAL
   18129 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18130 #else
   18131 #  ifdef DL_GLOBAL
   18132 #    define LT_DLGLOBAL		DL_GLOBAL
   18133 #  else
   18134 #    define LT_DLGLOBAL		0
   18135 #  endif
   18136 #endif
   18137 
   18138 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18139    find out it does not work in some platform. */
   18140 #ifndef LT_DLLAZY_OR_NOW
   18141 #  ifdef RTLD_LAZY
   18142 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18143 #  else
   18144 #    ifdef DL_LAZY
   18145 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18146 #    else
   18147 #      ifdef RTLD_NOW
   18148 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18149 #      else
   18150 #        ifdef DL_NOW
   18151 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18152 #        else
   18153 #          define LT_DLLAZY_OR_NOW	0
   18154 #        endif
   18155 #      endif
   18156 #    endif
   18157 #  endif
   18158 #endif
   18159 
   18160 /* When -fvisibility=hidden is used, assume the code has been annotated
   18161    correspondingly for the symbols needed.  */
   18162 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18163 int fnord () __attribute__((visibility("default")));
   18164 #endif
   18165 
   18166 int fnord () { return 42; }
   18167 int main ()
   18168 {
   18169   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18170   int status = $lt_dlunknown;
   18171 
   18172   if (self)
   18173     {
   18174       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18175       else
   18176         {
   18177 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18178           else puts (dlerror ());
   18179 	}
   18180       /* dlclose (self); */
   18181     }
   18182   else
   18183     puts (dlerror ());
   18184 
   18185   return status;
   18186 }
   18187 _LT_EOF
   18188   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18189   (eval $ac_link) 2>&5
   18190   ac_status=$?
   18191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18192   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18193     (./conftest; exit; ) >&5 2>/dev/null
   18194     lt_status=$?
   18195     case x$lt_status in
   18196       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18197       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18198       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18199     esac
   18200   else :
   18201     # compilation failed
   18202     lt_cv_dlopen_self=no
   18203   fi
   18204 fi
   18205 rm -fr conftest*
   18206 
   18207 
   18208 fi
   18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18210 $as_echo "$lt_cv_dlopen_self" >&6; }
   18211 
   18212     if test yes = "$lt_cv_dlopen_self"; then
   18213       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18214       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18215 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18216 if ${lt_cv_dlopen_self_static+:} false; then :
   18217   $as_echo_n "(cached) " >&6
   18218 else
   18219   	  if test yes = "$cross_compiling"; then :
   18220   lt_cv_dlopen_self_static=cross
   18221 else
   18222   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18223   lt_status=$lt_dlunknown
   18224   cat > conftest.$ac_ext <<_LT_EOF
   18225 #line $LINENO "configure"
   18226 #include "confdefs.h"
   18227 
   18228 #if HAVE_DLFCN_H
   18229 #include <dlfcn.h>
   18230 #endif
   18231 
   18232 #include <stdio.h>
   18233 
   18234 #ifdef RTLD_GLOBAL
   18235 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18236 #else
   18237 #  ifdef DL_GLOBAL
   18238 #    define LT_DLGLOBAL		DL_GLOBAL
   18239 #  else
   18240 #    define LT_DLGLOBAL		0
   18241 #  endif
   18242 #endif
   18243 
   18244 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18245    find out it does not work in some platform. */
   18246 #ifndef LT_DLLAZY_OR_NOW
   18247 #  ifdef RTLD_LAZY
   18248 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18249 #  else
   18250 #    ifdef DL_LAZY
   18251 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18252 #    else
   18253 #      ifdef RTLD_NOW
   18254 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18255 #      else
   18256 #        ifdef DL_NOW
   18257 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18258 #        else
   18259 #          define LT_DLLAZY_OR_NOW	0
   18260 #        endif
   18261 #      endif
   18262 #    endif
   18263 #  endif
   18264 #endif
   18265 
   18266 /* When -fvisibility=hidden is used, assume the code has been annotated
   18267    correspondingly for the symbols needed.  */
   18268 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18269 int fnord () __attribute__((visibility("default")));
   18270 #endif
   18271 
   18272 int fnord () { return 42; }
   18273 int main ()
   18274 {
   18275   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18276   int status = $lt_dlunknown;
   18277 
   18278   if (self)
   18279     {
   18280       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18281       else
   18282         {
   18283 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18284           else puts (dlerror ());
   18285 	}
   18286       /* dlclose (self); */
   18287     }
   18288   else
   18289     puts (dlerror ());
   18290 
   18291   return status;
   18292 }
   18293 _LT_EOF
   18294   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18295   (eval $ac_link) 2>&5
   18296   ac_status=$?
   18297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18298   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18299     (./conftest; exit; ) >&5 2>/dev/null
   18300     lt_status=$?
   18301     case x$lt_status in
   18302       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18303       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18304       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18305     esac
   18306   else :
   18307     # compilation failed
   18308     lt_cv_dlopen_self_static=no
   18309   fi
   18310 fi
   18311 rm -fr conftest*
   18312 
   18313 
   18314 fi
   18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18316 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18317     fi
   18318 
   18319     CPPFLAGS=$save_CPPFLAGS
   18320     LDFLAGS=$save_LDFLAGS
   18321     LIBS=$save_LIBS
   18322     ;;
   18323   esac
   18324 
   18325   case $lt_cv_dlopen_self in
   18326   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18327   *) enable_dlopen_self=unknown ;;
   18328   esac
   18329 
   18330   case $lt_cv_dlopen_self_static in
   18331   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18332   *) enable_dlopen_self_static=unknown ;;
   18333   esac
   18334 fi
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 striplib=
   18353 old_striplib=
   18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18355 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18356 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18357   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18358   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18360 $as_echo "yes" >&6; }
   18361 else
   18362 # FIXME - insert some real tests, host_os isn't really good enough
   18363   case $host_os in
   18364   darwin*)
   18365     if test -n "$STRIP"; then
   18366       striplib="$STRIP -x"
   18367       old_striplib="$STRIP -S"
   18368       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18369 $as_echo "yes" >&6; }
   18370     else
   18371       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18372 $as_echo "no" >&6; }
   18373     fi
   18374     ;;
   18375   *)
   18376     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18377 $as_echo "no" >&6; }
   18378     ;;
   18379   esac
   18380 fi
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393   # Report what library types will actually be built
   18394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18395 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18397 $as_echo "$can_build_shared" >&6; }
   18398 
   18399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18400 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18401   test no = "$can_build_shared" && enable_shared=no
   18402 
   18403   # On AIX, shared libraries and static libraries use the same namespace, and
   18404   # are all built from PIC.
   18405   case $host_os in
   18406   aix3*)
   18407     test yes = "$enable_shared" && enable_static=no
   18408     if test -n "$RANLIB"; then
   18409       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18410       postinstall_cmds='$RANLIB $lib'
   18411     fi
   18412     ;;
   18413 
   18414   aix[4-9]*)
   18415     if test ia64 != "$host_cpu"; then
   18416       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18417       yes,aix,yes) ;;			# shared object as lib.so file only
   18418       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18419       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18420       esac
   18421     fi
   18422     ;;
   18423   esac
   18424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18425 $as_echo "$enable_shared" >&6; }
   18426 
   18427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18428 $as_echo_n "checking whether to build static libraries... " >&6; }
   18429   # Make sure either enable_shared or enable_static is yes.
   18430   test yes = "$enable_shared" || enable_static=yes
   18431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18432 $as_echo "$enable_static" >&6; }
   18433 
   18434 
   18435 
   18436 
   18437 fi
   18438 ac_ext=c
   18439 ac_cpp='$CPP $CPPFLAGS'
   18440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18443 
   18444 CC=$lt_save_CC
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 
   18460         ac_config_commands="$ac_config_commands libtool"
   18461 
   18462 
   18463 
   18464 
   18465 # Only expand once:
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 # Define a configure option for an alternate module directory
   18472 
   18473 # Check whether --with-xorg-module-dir was given.
   18474 if test "${with_xorg_module_dir+set}" = set; then :
   18475   withval=$with_xorg_module_dir; moduledir="$withval"
   18476 else
   18477   moduledir="$libdir/xorg/modules"
   18478 fi
   18479 
   18480 
   18481 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18482 
   18483 
   18484 	SAVE_CFLAGS="$CFLAGS"
   18485 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18486 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18487 /* end confdefs.h.  */
   18488 
   18489 #include "xorg-server.h"
   18490 #if !defined RANDR
   18491 #error RANDR not defined
   18492 #endif
   18493 
   18494 int
   18495 main ()
   18496 {
   18497 
   18498   ;
   18499   return 0;
   18500 }
   18501 _ACEOF
   18502 if ac_fn_c_try_compile "$LINENO"; then :
   18503   _EXT_CHECK=yes
   18504 else
   18505   _EXT_CHECK=no
   18506 fi
   18507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18508 	CFLAGS="$SAVE_CFLAGS"
   18509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18510 $as_echo_n "checking if RANDR is defined... " >&6; }
   18511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18512 $as_echo "$_EXT_CHECK" >&6; }
   18513 	if test "$_EXT_CHECK" != no; then
   18514 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18515 	fi
   18516 
   18517 
   18518 
   18519 	SAVE_CFLAGS="$CFLAGS"
   18520 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18521 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18522 /* end confdefs.h.  */
   18523 
   18524 #include "xorg-server.h"
   18525 #if !defined RENDER
   18526 #error RENDER not defined
   18527 #endif
   18528 
   18529 int
   18530 main ()
   18531 {
   18532 
   18533   ;
   18534   return 0;
   18535 }
   18536 _ACEOF
   18537 if ac_fn_c_try_compile "$LINENO"; then :
   18538   _EXT_CHECK=yes
   18539 else
   18540   _EXT_CHECK=no
   18541 fi
   18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18543 	CFLAGS="$SAVE_CFLAGS"
   18544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18545 $as_echo_n "checking if RENDER is defined... " >&6; }
   18546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18547 $as_echo "$_EXT_CHECK" >&6; }
   18548 	if test "$_EXT_CHECK" != no; then
   18549 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18550 	fi
   18551 
   18552 
   18553 
   18554 	SAVE_CFLAGS="$CFLAGS"
   18555 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18556 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18557 /* end confdefs.h.  */
   18558 
   18559 #include "xorg-server.h"
   18560 #if !defined XV
   18561 #error XV not defined
   18562 #endif
   18563 
   18564 int
   18565 main ()
   18566 {
   18567 
   18568   ;
   18569   return 0;
   18570 }
   18571 _ACEOF
   18572 if ac_fn_c_try_compile "$LINENO"; then :
   18573   _EXT_CHECK=yes
   18574 else
   18575   _EXT_CHECK=no
   18576 fi
   18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18578 	CFLAGS="$SAVE_CFLAGS"
   18579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18580 $as_echo_n "checking if XV is defined... " >&6; }
   18581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18582 $as_echo "$_EXT_CHECK" >&6; }
   18583 	if test "$_EXT_CHECK" != no; then
   18584 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18585 	fi
   18586 
   18587 
   18588 
   18589 	SAVE_CFLAGS="$CFLAGS"
   18590 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18591 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18592 /* end confdefs.h.  */
   18593 
   18594 #include "xorg-server.h"
   18595 #if !defined DPMSExtension
   18596 #error DPMSExtension not defined
   18597 #endif
   18598 
   18599 int
   18600 main ()
   18601 {
   18602 
   18603   ;
   18604   return 0;
   18605 }
   18606 _ACEOF
   18607 if ac_fn_c_try_compile "$LINENO"; then :
   18608   _EXT_CHECK=yes
   18609 else
   18610   _EXT_CHECK=no
   18611 fi
   18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18613 	CFLAGS="$SAVE_CFLAGS"
   18614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18615 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18617 $as_echo "$_EXT_CHECK" >&6; }
   18618 	if test "$_EXT_CHECK" != no; then
   18619 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18620 	fi
   18621 
   18622 
   18623 
   18624 	SAVE_CFLAGS="$CFLAGS"
   18625 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18626 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18627 /* end confdefs.h.  */
   18628 
   18629 #include "xorg-server.h"
   18630 #if !defined DRI2
   18631 #error DRI2 not defined
   18632 #endif
   18633 
   18634 int
   18635 main ()
   18636 {
   18637 
   18638   ;
   18639   return 0;
   18640 }
   18641 _ACEOF
   18642 if ac_fn_c_try_compile "$LINENO"; then :
   18643   _EXT_CHECK=yes
   18644 else
   18645   _EXT_CHECK=no
   18646 fi
   18647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18648 	CFLAGS="$SAVE_CFLAGS"
   18649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DRI2 is defined" >&5
   18650 $as_echo_n "checking if DRI2 is defined... " >&6; }
   18651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18652 $as_echo "$_EXT_CHECK" >&6; }
   18653 	if test "$_EXT_CHECK" != no; then
   18654 		REQUIRED_MODULES="$REQUIRED_MODULES dri2proto >= 2.6"
   18655 	fi
   18656 
   18657 
   18658 # Checks for libraries
   18659 
   18660 pkg_failed=no
   18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdrm >= 2.4.60" >&5
   18662 $as_echo_n "checking for libdrm >= 2.4.60... " >&6; }
   18663 
   18664 if test -n "$LIBDRM_CFLAGS"; then
   18665     pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS"
   18666  elif test -n "$PKG_CONFIG"; then
   18667     if test -n "$PKG_CONFIG" && \
   18668     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.60\""; } >&5
   18669   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.60") 2>&5
   18670   ac_status=$?
   18671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18672   test $ac_status = 0; }; then
   18673   pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.60" 2>/dev/null`
   18674 		      test "x$?" != "x0" && pkg_failed=yes
   18675 else
   18676   pkg_failed=yes
   18677 fi
   18678  else
   18679     pkg_failed=untried
   18680 fi
   18681 if test -n "$LIBDRM_LIBS"; then
   18682     pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS"
   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_LIBS=`$PKG_CONFIG --libs "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 
   18699 
   18700 
   18701 if test $pkg_failed = yes; then
   18702         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18703 $as_echo "no" >&6; }
   18704 
   18705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18706         _pkg_short_errors_supported=yes
   18707 else
   18708         _pkg_short_errors_supported=no
   18709 fi
   18710         if test $_pkg_short_errors_supported = yes; then
   18711 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.4.60" 2>&1`
   18712         else
   18713 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.4.60" 2>&1`
   18714         fi
   18715 	# Put the nasty error message in config.log where it belongs
   18716 	echo "$LIBDRM_PKG_ERRORS" >&5
   18717 
   18718 	as_fn_error $? "Package requirements (libdrm >= 2.4.60) were not met:
   18719 
   18720 $LIBDRM_PKG_ERRORS
   18721 
   18722 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18723 installed software in a non-standard prefix.
   18724 
   18725 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   18726 and LIBDRM_LIBS to avoid the need to call pkg-config.
   18727 See the pkg-config man page for more details." "$LINENO" 5
   18728 elif test $pkg_failed = untried; then
   18729         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18730 $as_echo "no" >&6; }
   18731 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18733 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18734 is in your PATH or set the PKG_CONFIG environment variable to the full
   18735 path to pkg-config.
   18736 
   18737 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   18738 and LIBDRM_LIBS to avoid the need to call pkg-config.
   18739 See the pkg-config man page for more details.
   18740 
   18741 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18742 See \`config.log' for more details" "$LINENO" 5; }
   18743 else
   18744 	LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS
   18745 	LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS
   18746         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18747 $as_echo "yes" >&6; }
   18748 
   18749 fi
   18750 
   18751 pkg_failed=no
   18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdrm_nouveau >= 2.4.25" >&5
   18753 $as_echo_n "checking for libdrm_nouveau >= 2.4.25... " >&6; }
   18754 
   18755 if test -n "$LIBDRM_NOUVEAU_CFLAGS"; then
   18756     pkg_cv_LIBDRM_NOUVEAU_CFLAGS="$LIBDRM_NOUVEAU_CFLAGS"
   18757  elif test -n "$PKG_CONFIG"; then
   18758     if test -n "$PKG_CONFIG" && \
   18759     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_nouveau >= 2.4.25\""; } >&5
   18760   ($PKG_CONFIG --exists --print-errors "libdrm_nouveau >= 2.4.25") 2>&5
   18761   ac_status=$?
   18762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18763   test $ac_status = 0; }; then
   18764   pkg_cv_LIBDRM_NOUVEAU_CFLAGS=`$PKG_CONFIG --cflags "libdrm_nouveau >= 2.4.25" 2>/dev/null`
   18765 		      test "x$?" != "x0" && pkg_failed=yes
   18766 else
   18767   pkg_failed=yes
   18768 fi
   18769  else
   18770     pkg_failed=untried
   18771 fi
   18772 if test -n "$LIBDRM_NOUVEAU_LIBS"; then
   18773     pkg_cv_LIBDRM_NOUVEAU_LIBS="$LIBDRM_NOUVEAU_LIBS"
   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_LIBS=`$PKG_CONFIG --libs "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 
   18790 
   18791 
   18792 if test $pkg_failed = yes; then
   18793         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18794 $as_echo "no" >&6; }
   18795 
   18796 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18797         _pkg_short_errors_supported=yes
   18798 else
   18799         _pkg_short_errors_supported=no
   18800 fi
   18801         if test $_pkg_short_errors_supported = yes; then
   18802 	        LIBDRM_NOUVEAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm_nouveau >= 2.4.25" 2>&1`
   18803         else
   18804 	        LIBDRM_NOUVEAU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm_nouveau >= 2.4.25" 2>&1`
   18805         fi
   18806 	# Put the nasty error message in config.log where it belongs
   18807 	echo "$LIBDRM_NOUVEAU_PKG_ERRORS" >&5
   18808 
   18809 	as_fn_error $? "Package requirements (libdrm_nouveau >= 2.4.25) were not met:
   18810 
   18811 $LIBDRM_NOUVEAU_PKG_ERRORS
   18812 
   18813 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18814 installed software in a non-standard prefix.
   18815 
   18816 Alternatively, you may set the environment variables LIBDRM_NOUVEAU_CFLAGS
   18817 and LIBDRM_NOUVEAU_LIBS to avoid the need to call pkg-config.
   18818 See the pkg-config man page for more details." "$LINENO" 5
   18819 elif test $pkg_failed = untried; then
   18820         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18821 $as_echo "no" >&6; }
   18822 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18824 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18825 is in your PATH or set the PKG_CONFIG environment variable to the full
   18826 path to pkg-config.
   18827 
   18828 Alternatively, you may set the environment variables LIBDRM_NOUVEAU_CFLAGS
   18829 and LIBDRM_NOUVEAU_LIBS to avoid the need to call pkg-config.
   18830 See the pkg-config man page for more details.
   18831 
   18832 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18833 See \`config.log' for more details" "$LINENO" 5; }
   18834 else
   18835 	LIBDRM_NOUVEAU_CFLAGS=$pkg_cv_LIBDRM_NOUVEAU_CFLAGS
   18836 	LIBDRM_NOUVEAU_LIBS=$pkg_cv_LIBDRM_NOUVEAU_LIBS
   18837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18838 $as_echo "yes" >&6; }
   18839 
   18840 fi
   18841 
   18842 # Obtain compiler/linker options for the driver dependencies
   18843 
   18844 pkg_failed=no
   18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" >&5
   18846 $as_echo_n "checking for xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES... " >&6; }
   18847 
   18848 if test -n "$XORG_CFLAGS"; then
   18849     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18850  elif test -n "$PKG_CONFIG"; then
   18851     if test -n "$PKG_CONFIG" && \
   18852     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.8 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18853   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18854   ac_status=$?
   18855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18856   test $ac_status = 0; }; then
   18857   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18858 		      test "x$?" != "x0" && pkg_failed=yes
   18859 else
   18860   pkg_failed=yes
   18861 fi
   18862  else
   18863     pkg_failed=untried
   18864 fi
   18865 if test -n "$XORG_LIBS"; then
   18866     pkg_cv_XORG_LIBS="$XORG_LIBS"
   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_LIBS=`$PKG_CONFIG --libs "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 
   18883 
   18884 
   18885 if test $pkg_failed = yes; then
   18886         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18887 $as_echo "no" >&6; }
   18888 
   18889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18890         _pkg_short_errors_supported=yes
   18891 else
   18892         _pkg_short_errors_supported=no
   18893 fi
   18894         if test $_pkg_short_errors_supported = yes; then
   18895 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18896         else
   18897 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18898         fi
   18899 	# Put the nasty error message in config.log where it belongs
   18900 	echo "$XORG_PKG_ERRORS" >&5
   18901 
   18902 	as_fn_error $? "Package requirements (xorg-server >= 1.8 xproto fontsproto $REQUIRED_MODULES) were not met:
   18903 
   18904 $XORG_PKG_ERRORS
   18905 
   18906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18907 installed software in a non-standard prefix.
   18908 
   18909 Alternatively, you may set the environment variables XORG_CFLAGS
   18910 and XORG_LIBS to avoid the need to call pkg-config.
   18911 See the pkg-config man page for more details." "$LINENO" 5
   18912 elif test $pkg_failed = untried; then
   18913         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18914 $as_echo "no" >&6; }
   18915 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18917 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18918 is in your PATH or set the PKG_CONFIG environment variable to the full
   18919 path to pkg-config.
   18920 
   18921 Alternatively, you may set the environment variables XORG_CFLAGS
   18922 and XORG_LIBS to avoid the need to call pkg-config.
   18923 See the pkg-config man page for more details.
   18924 
   18925 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18926 See \`config.log' for more details" "$LINENO" 5; }
   18927 else
   18928 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18929 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18930         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18931 $as_echo "yes" >&6; }
   18932 
   18933 fi
   18934 
   18935 pkg_failed=no
   18936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xextproto >= 7.0.99.1" >&5
   18937 $as_echo_n "checking for xextproto >= 7.0.99.1... " >&6; }
   18938 
   18939 if test -n "$XEXT_CFLAGS"; then
   18940     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18941  elif test -n "$PKG_CONFIG"; then
   18942     if test -n "$PKG_CONFIG" && \
   18943     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18944   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18945   ac_status=$?
   18946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18947   test $ac_status = 0; }; then
   18948   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18949 		      test "x$?" != "x0" && pkg_failed=yes
   18950 else
   18951   pkg_failed=yes
   18952 fi
   18953  else
   18954     pkg_failed=untried
   18955 fi
   18956 if test -n "$XEXT_LIBS"; then
   18957     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   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_LIBS=`$PKG_CONFIG --libs "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 
   18974 
   18975 
   18976 if test $pkg_failed = yes; then
   18977         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18978 $as_echo "no" >&6; }
   18979 
   18980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18981         _pkg_short_errors_supported=yes
   18982 else
   18983         _pkg_short_errors_supported=no
   18984 fi
   18985         if test $_pkg_short_errors_supported = yes; then
   18986 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18987         else
   18988 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18989         fi
   18990 	# Put the nasty error message in config.log where it belongs
   18991 	echo "$XEXT_PKG_ERRORS" >&5
   18992 
   18993 	HAVE_XEXTPROTO_71="no"
   18994 elif test $pkg_failed = untried; then
   18995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18996 $as_echo "no" >&6; }
   18997 	HAVE_XEXTPROTO_71="no"
   18998 else
   18999 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   19000 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   19001         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19002 $as_echo "yes" >&6; }
   19003 	HAVE_XEXTPROTO_71="yes";
   19004 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   19005 
   19006 fi
   19007  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   19008   HAVE_XEXTPROTO_71_TRUE=
   19009   HAVE_XEXTPROTO_71_FALSE='#'
   19010 else
   19011   HAVE_XEXTPROTO_71_TRUE='#'
   19012   HAVE_XEXTPROTO_71_FALSE=
   19013 fi
   19014 
   19015 
   19016 
   19017 pkg_failed=no
   19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pciaccess >= 0.10" >&5
   19019 $as_echo_n "checking for pciaccess >= 0.10... " >&6; }
   19020 
   19021 if test -n "$PCIACCESS_CFLAGS"; then
   19022     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19023  elif test -n "$PKG_CONFIG"; then
   19024     if test -n "$PKG_CONFIG" && \
   19025     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   19026   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   19027   ac_status=$?
   19028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19029   test $ac_status = 0; }; then
   19030   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   19031 		      test "x$?" != "x0" && pkg_failed=yes
   19032 else
   19033   pkg_failed=yes
   19034 fi
   19035  else
   19036     pkg_failed=untried
   19037 fi
   19038 if test -n "$PCIACCESS_LIBS"; then
   19039     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   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_LIBS=`$PKG_CONFIG --libs "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 
   19056 
   19057 
   19058 if test $pkg_failed = yes; then
   19059         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19060 $as_echo "no" >&6; }
   19061 
   19062 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19063         _pkg_short_errors_supported=yes
   19064 else
   19065         _pkg_short_errors_supported=no
   19066 fi
   19067         if test $_pkg_short_errors_supported = yes; then
   19068 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   19069         else
   19070 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   19071         fi
   19072 	# Put the nasty error message in config.log where it belongs
   19073 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19074 
   19075 	as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
   19076 
   19077 $PCIACCESS_PKG_ERRORS
   19078 
   19079 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19080 installed software in a non-standard prefix.
   19081 
   19082 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19083 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19084 See the pkg-config man page for more details." "$LINENO" 5
   19085 elif test $pkg_failed = untried; then
   19086         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19087 $as_echo "no" >&6; }
   19088 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19090 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19091 is in your PATH or set the PKG_CONFIG environment variable to the full
   19092 path to pkg-config.
   19093 
   19094 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19095 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19096 See the pkg-config man page for more details.
   19097 
   19098 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19099 See \`config.log' for more details" "$LINENO" 5; }
   19100 else
   19101 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19102 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19104 $as_echo "yes" >&6; }
   19105 
   19106 fi
   19107 
   19108 
   19109 pkg_failed=no
   19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libudev" >&5
   19111 $as_echo_n "checking for libudev... " >&6; }
   19112 
   19113 if test -n "$LIBUDEV_CFLAGS"; then
   19114     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   19115  elif test -n "$PKG_CONFIG"; then
   19116     if test -n "$PKG_CONFIG" && \
   19117     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19118   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19119   ac_status=$?
   19120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19121   test $ac_status = 0; }; then
   19122   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   19123 		      test "x$?" != "x0" && pkg_failed=yes
   19124 else
   19125   pkg_failed=yes
   19126 fi
   19127  else
   19128     pkg_failed=untried
   19129 fi
   19130 if test -n "$LIBUDEV_LIBS"; then
   19131     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   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_LIBS=`$PKG_CONFIG --libs "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 
   19148 
   19149 
   19150 if test $pkg_failed = yes; then
   19151         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19152 $as_echo "no" >&6; }
   19153 
   19154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19155         _pkg_short_errors_supported=yes
   19156 else
   19157         _pkg_short_errors_supported=no
   19158 fi
   19159         if test $_pkg_short_errors_supported = yes; then
   19160 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
   19161         else
   19162 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
   19163         fi
   19164 	# Put the nasty error message in config.log where it belongs
   19165 	echo "$LIBUDEV_PKG_ERRORS" >&5
   19166 
   19167 	LIBUDEV=no
   19168 elif test $pkg_failed = untried; then
   19169         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19170 $as_echo "no" >&6; }
   19171 	LIBUDEV=no
   19172 else
   19173 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   19174 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   19175         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19176 $as_echo "yes" >&6; }
   19177 	LIBUDEV=yes
   19178 fi
   19179 if test "x$LIBUDEV" = xyes; then
   19180 
   19181 $as_echo "#define HAVE_LIBUDEV 1" >>confdefs.h
   19182 
   19183 fi
   19184  if  test "x$LIBUDEV" = "xyes"  ; then
   19185   LIBUDEV_TRUE=
   19186   LIBUDEV_FALSE='#'
   19187 else
   19188   LIBUDEV_TRUE='#'
   19189   LIBUDEV_FALSE=
   19190 fi
   19191 
   19192 
   19193 # Use -Wall all the time
   19194 CFLAGS="$CFLAGS -Wall"
   19195 
   19196 # Check for -minline-all-stringops availability
   19197 OLD_CFLAGS="$CFLAGS"
   19198 CFLAGS="$CFLAGS -minline-all-stringops"
   19199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19200 /* end confdefs.h.  */
   19201  #include <stdio.h>
   19202 int
   19203 main ()
   19204 {
   19205 
   19206   ;
   19207   return 0;
   19208 }
   19209 _ACEOF
   19210 if ac_fn_c_try_compile "$LINENO"; then :
   19211    CFLAGS="$OLD_CFLAGS -minline-all-stringops"
   19212 else
   19213   CFLAGS="$OLD_CFLAGS"
   19214 fi
   19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19216 
   19217 # needed for the next test
   19218 CFLAGS="$CFLAGS $XORG_CFLAGS"
   19219 
   19220 
   19221 
   19222 
   19223 DRIVER_NAME=nouveau
   19224 
   19225 
   19226 ac_fn_c_check_decl "$LINENO" "xf86CursorResetCursor" "ac_cv_have_decl_xf86CursorResetCursor" "#include <xorg-server.h>
   19227                #include <xf86Cursor.h>
   19228 "
   19229 if test "x$ac_cv_have_decl_xf86CursorResetCursor" = xyes; then :
   19230 
   19231 $as_echo "#define HAVE_XF86_CURSOR_RESET_CURSOR 1" >>confdefs.h
   19232 
   19233 fi
   19234 
   19235 
   19236 ac_fn_c_check_decl "$LINENO" "xorg_list_init" "ac_cv_have_decl_xorg_list_init" "#include <X11/Xdefs.h>
   19237                #include \"xorg-server.h\"
   19238                #include \"list.h\"
   19239 "
   19240 if test "x$ac_cv_have_decl_xorg_list_init" = xyes; then :
   19241 
   19242 $as_echo "#define HAVE_XORG_LIST 1" >>confdefs.h
   19243 
   19244 fi
   19245 
   19246 
   19247 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19248 
   19249 cat >confcache <<\_ACEOF
   19250 # This file is a shell script that caches the results of configure
   19251 # tests run on this system so they can be shared between configure
   19252 # scripts and configure runs, see configure's option --config-cache.
   19253 # It is not useful on other systems.  If it contains results you don't
   19254 # want to keep, you may remove or edit it.
   19255 #
   19256 # config.status only pays attention to the cache file if you give it
   19257 # the --recheck option to rerun configure.
   19258 #
   19259 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19260 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19261 # following values.
   19262 
   19263 _ACEOF
   19264 
   19265 # The following way of writing the cache mishandles newlines in values,
   19266 # but we know of no workaround that is simple, portable, and efficient.
   19267 # So, we kill variables containing newlines.
   19268 # Ultrix sh set writes to stderr and can't be redirected directly,
   19269 # and sets the high bit in the cache file unless we assign to the vars.
   19270 (
   19271   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19272     eval ac_val=\$$ac_var
   19273     case $ac_val in #(
   19274     *${as_nl}*)
   19275       case $ac_var in #(
   19276       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19277 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19278       esac
   19279       case $ac_var in #(
   19280       _ | IFS | as_nl) ;; #(
   19281       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19282       *) { eval $ac_var=; unset $ac_var;} ;;
   19283       esac ;;
   19284     esac
   19285   done
   19286 
   19287   (set) 2>&1 |
   19288     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19289     *${as_nl}ac_space=\ *)
   19290       # `set' does not quote correctly, so add quotes: double-quote
   19291       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19292       sed -n \
   19293 	"s/'/'\\\\''/g;
   19294 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19295       ;; #(
   19296     *)
   19297       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19298       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19299       ;;
   19300     esac |
   19301     sort
   19302 ) |
   19303   sed '
   19304      /^ac_cv_env_/b end
   19305      t clear
   19306      :clear
   19307      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19308      t end
   19309      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19310      :end' >>confcache
   19311 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19312   if test -w "$cache_file"; then
   19313     if test "x$cache_file" != "x/dev/null"; then
   19314       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19315 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19316       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19317 	cat confcache >"$cache_file"
   19318       else
   19319         case $cache_file in #(
   19320         */* | ?:*)
   19321 	  mv -f confcache "$cache_file"$$ &&
   19322 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19323         *)
   19324 	  mv -f confcache "$cache_file" ;;
   19325 	esac
   19326       fi
   19327     fi
   19328   else
   19329     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19330 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19331   fi
   19332 fi
   19333 rm -f confcache
   19334 
   19335 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19336 # Let make expand exec_prefix.
   19337 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19338 
   19339 DEFS=-DHAVE_CONFIG_H
   19340 
   19341 ac_libobjs=
   19342 ac_ltlibobjs=
   19343 U=
   19344 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19345   # 1. Remove the extension, and $U if already installed.
   19346   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19347   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19348   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19349   #    will be set to the directory where LIBOBJS objects are built.
   19350   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19351   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19352 done
   19353 LIBOBJS=$ac_libobjs
   19354 
   19355 LTLIBOBJS=$ac_ltlibobjs
   19356 
   19357 
   19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19359 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19360    if test -n "$am_sleep_pid"; then
   19361      # Hide warnings about reused PIDs.
   19362      wait $am_sleep_pid 2>/dev/null
   19363    fi
   19364    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19365 $as_echo "done" >&6; }
   19366  if test -n "$EXEEXT"; then
   19367   am__EXEEXT_TRUE=
   19368   am__EXEEXT_FALSE='#'
   19369 else
   19370   am__EXEEXT_TRUE='#'
   19371   am__EXEEXT_FALSE=
   19372 fi
   19373 
   19374 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19375   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19377 fi
   19378 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19379   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19381 fi
   19382 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19383   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19385 fi
   19386 if test -z "${LIBUDEV_TRUE}" && test -z "${LIBUDEV_FALSE}"; then
   19387   as_fn_error $? "conditional \"LIBUDEV\" was never defined.
   19388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19389 fi
   19390 
   19391 : "${CONFIG_STATUS=./config.status}"
   19392 ac_write_fail=0
   19393 ac_clean_files_save=$ac_clean_files
   19394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19395 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19396 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19397 as_write_fail=0
   19398 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19399 #! $SHELL
   19400 # Generated by $as_me.
   19401 # Run this file to recreate the current configuration.
   19402 # Compiler output produced by configure, useful for debugging
   19403 # configure, is in config.log if it exists.
   19404 
   19405 debug=false
   19406 ac_cs_recheck=false
   19407 ac_cs_silent=false
   19408 
   19409 SHELL=\${CONFIG_SHELL-$SHELL}
   19410 export SHELL
   19411 _ASEOF
   19412 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19413 ## -------------------- ##
   19414 ## M4sh Initialization. ##
   19415 ## -------------------- ##
   19416 
   19417 # Be more Bourne compatible
   19418 DUALCASE=1; export DUALCASE # for MKS sh
   19419 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19420   emulate sh
   19421   NULLCMD=:
   19422   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19423   # is contrary to our usage.  Disable this feature.
   19424   alias -g '${1+"$@"}'='"$@"'
   19425   setopt NO_GLOB_SUBST
   19426 else
   19427   case `(set -o) 2>/dev/null` in #(
   19428   *posix*) :
   19429     set -o posix ;; #(
   19430   *) :
   19431      ;;
   19432 esac
   19433 fi
   19434 
   19435 
   19436 as_nl='
   19437 '
   19438 export as_nl
   19439 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19440 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19442 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19443 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19444 # but without wasting forks for bash or zsh.
   19445 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19446     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19447   as_echo='print -r --'
   19448   as_echo_n='print -rn --'
   19449 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19450   as_echo='printf %s\n'
   19451   as_echo_n='printf %s'
   19452 else
   19453   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19454     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19455     as_echo_n='/usr/ucb/echo -n'
   19456   else
   19457     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19458     as_echo_n_body='eval
   19459       arg=$1;
   19460       case $arg in #(
   19461       *"$as_nl"*)
   19462 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19463 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19464       esac;
   19465       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19466     '
   19467     export as_echo_n_body
   19468     as_echo_n='sh -c $as_echo_n_body as_echo'
   19469   fi
   19470   export as_echo_body
   19471   as_echo='sh -c $as_echo_body as_echo'
   19472 fi
   19473 
   19474 # The user is always right.
   19475 if test "${PATH_SEPARATOR+set}" != set; then
   19476   PATH_SEPARATOR=:
   19477   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19478     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19479       PATH_SEPARATOR=';'
   19480   }
   19481 fi
   19482 
   19483 
   19484 # IFS
   19485 # We need space, tab and new line, in precisely that order.  Quoting is
   19486 # there to prevent editors from complaining about space-tab.
   19487 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19488 # splitting by setting IFS to empty value.)
   19489 IFS=" ""	$as_nl"
   19490 
   19491 # Find who we are.  Look in the path if we contain no directory separator.
   19492 as_myself=
   19493 case $0 in #((
   19494   *[\\/]* ) as_myself=$0 ;;
   19495   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19496 for as_dir in $PATH
   19497 do
   19498   IFS=$as_save_IFS
   19499   test -z "$as_dir" && as_dir=.
   19500     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19501   done
   19502 IFS=$as_save_IFS
   19503 
   19504      ;;
   19505 esac
   19506 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19507 # in which case we are not to be found in the path.
   19508 if test "x$as_myself" = x; then
   19509   as_myself=$0
   19510 fi
   19511 if test ! -f "$as_myself"; then
   19512   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19513   exit 1
   19514 fi
   19515 
   19516 # Unset variables that we do not need and which cause bugs (e.g. in
   19517 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19518 # suppresses any "Segmentation fault" message there.  '((' could
   19519 # trigger a bug in pdksh 5.2.14.
   19520 for as_var in BASH_ENV ENV MAIL MAILPATH
   19521 do eval test x\${$as_var+set} = xset \
   19522   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19523 done
   19524 PS1='$ '
   19525 PS2='> '
   19526 PS4='+ '
   19527 
   19528 # NLS nuisances.
   19529 LC_ALL=C
   19530 export LC_ALL
   19531 LANGUAGE=C
   19532 export LANGUAGE
   19533 
   19534 # CDPATH.
   19535 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19536 
   19537 
   19538 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19539 # ----------------------------------------
   19540 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19541 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19542 # script with STATUS, using 1 if that was 0.
   19543 as_fn_error ()
   19544 {
   19545   as_status=$1; test $as_status -eq 0 && as_status=1
   19546   if test "$4"; then
   19547     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19548     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19549   fi
   19550   $as_echo "$as_me: error: $2" >&2
   19551   as_fn_exit $as_status
   19552 } # as_fn_error
   19553 
   19554 
   19555 # as_fn_set_status STATUS
   19556 # -----------------------
   19557 # Set $? to STATUS, without forking.
   19558 as_fn_set_status ()
   19559 {
   19560   return $1
   19561 } # as_fn_set_status
   19562 
   19563 # as_fn_exit STATUS
   19564 # -----------------
   19565 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19566 as_fn_exit ()
   19567 {
   19568   set +e
   19569   as_fn_set_status $1
   19570   exit $1
   19571 } # as_fn_exit
   19572 
   19573 # as_fn_unset VAR
   19574 # ---------------
   19575 # Portably unset VAR.
   19576 as_fn_unset ()
   19577 {
   19578   { eval $1=; unset $1;}
   19579 }
   19580 as_unset=as_fn_unset
   19581 # as_fn_append VAR VALUE
   19582 # ----------------------
   19583 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19584 # advantage of any shell optimizations that allow amortized linear growth over
   19585 # repeated appends, instead of the typical quadratic growth present in naive
   19586 # implementations.
   19587 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19588   eval 'as_fn_append ()
   19589   {
   19590     eval $1+=\$2
   19591   }'
   19592 else
   19593   as_fn_append ()
   19594   {
   19595     eval $1=\$$1\$2
   19596   }
   19597 fi # as_fn_append
   19598 
   19599 # as_fn_arith ARG...
   19600 # ------------------
   19601 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19602 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19603 # must be portable across $(()) and expr.
   19604 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19605   eval 'as_fn_arith ()
   19606   {
   19607     as_val=$(( $* ))
   19608   }'
   19609 else
   19610   as_fn_arith ()
   19611   {
   19612     as_val=`expr "$@" || test $? -eq 1`
   19613   }
   19614 fi # as_fn_arith
   19615 
   19616 
   19617 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19618    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19619   as_expr=expr
   19620 else
   19621   as_expr=false
   19622 fi
   19623 
   19624 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19625   as_basename=basename
   19626 else
   19627   as_basename=false
   19628 fi
   19629 
   19630 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19631   as_dirname=dirname
   19632 else
   19633   as_dirname=false
   19634 fi
   19635 
   19636 as_me=`$as_basename -- "$0" ||
   19637 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19638 	 X"$0" : 'X\(//\)$' \| \
   19639 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19640 $as_echo X/"$0" |
   19641     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19642 	    s//\1/
   19643 	    q
   19644 	  }
   19645 	  /^X\/\(\/\/\)$/{
   19646 	    s//\1/
   19647 	    q
   19648 	  }
   19649 	  /^X\/\(\/\).*/{
   19650 	    s//\1/
   19651 	    q
   19652 	  }
   19653 	  s/.*/./; q'`
   19654 
   19655 # Avoid depending upon Character Ranges.
   19656 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19657 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19658 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19659 as_cr_digits='0123456789'
   19660 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19661 
   19662 ECHO_C= ECHO_N= ECHO_T=
   19663 case `echo -n x` in #(((((
   19664 -n*)
   19665   case `echo 'xy\c'` in
   19666   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19667   xy)  ECHO_C='\c';;
   19668   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19669        ECHO_T='	';;
   19670   esac;;
   19671 *)
   19672   ECHO_N='-n';;
   19673 esac
   19674 
   19675 rm -f conf$$ conf$$.exe conf$$.file
   19676 if test -d conf$$.dir; then
   19677   rm -f conf$$.dir/conf$$.file
   19678 else
   19679   rm -f conf$$.dir
   19680   mkdir conf$$.dir 2>/dev/null
   19681 fi
   19682 if (echo >conf$$.file) 2>/dev/null; then
   19683   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19684     as_ln_s='ln -s'
   19685     # ... but there are two gotchas:
   19686     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19687     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19688     # In both cases, we have to default to `cp -pR'.
   19689     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19690       as_ln_s='cp -pR'
   19691   elif ln conf$$.file conf$$ 2>/dev/null; then
   19692     as_ln_s=ln
   19693   else
   19694     as_ln_s='cp -pR'
   19695   fi
   19696 else
   19697   as_ln_s='cp -pR'
   19698 fi
   19699 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19700 rmdir conf$$.dir 2>/dev/null
   19701 
   19702 
   19703 # as_fn_mkdir_p
   19704 # -------------
   19705 # Create "$as_dir" as a directory, including parents if necessary.
   19706 as_fn_mkdir_p ()
   19707 {
   19708 
   19709   case $as_dir in #(
   19710   -*) as_dir=./$as_dir;;
   19711   esac
   19712   test -d "$as_dir" || eval $as_mkdir_p || {
   19713     as_dirs=
   19714     while :; do
   19715       case $as_dir in #(
   19716       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19717       *) as_qdir=$as_dir;;
   19718       esac
   19719       as_dirs="'$as_qdir' $as_dirs"
   19720       as_dir=`$as_dirname -- "$as_dir" ||
   19721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19722 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19723 	 X"$as_dir" : 'X\(//\)$' \| \
   19724 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19725 $as_echo X"$as_dir" |
   19726     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19727 	    s//\1/
   19728 	    q
   19729 	  }
   19730 	  /^X\(\/\/\)[^/].*/{
   19731 	    s//\1/
   19732 	    q
   19733 	  }
   19734 	  /^X\(\/\/\)$/{
   19735 	    s//\1/
   19736 	    q
   19737 	  }
   19738 	  /^X\(\/\).*/{
   19739 	    s//\1/
   19740 	    q
   19741 	  }
   19742 	  s/.*/./; q'`
   19743       test -d "$as_dir" && break
   19744     done
   19745     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19746   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19747 
   19748 
   19749 } # as_fn_mkdir_p
   19750 if mkdir -p . 2>/dev/null; then
   19751   as_mkdir_p='mkdir -p "$as_dir"'
   19752 else
   19753   test -d ./-p && rmdir ./-p
   19754   as_mkdir_p=false
   19755 fi
   19756 
   19757 
   19758 # as_fn_executable_p FILE
   19759 # -----------------------
   19760 # Test if FILE is an executable regular file.
   19761 as_fn_executable_p ()
   19762 {
   19763   test -f "$1" && test -x "$1"
   19764 } # as_fn_executable_p
   19765 as_test_x='test -x'
   19766 as_executable_p=as_fn_executable_p
   19767 
   19768 # Sed expression to map a string onto a valid CPP name.
   19769 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19770 
   19771 # Sed expression to map a string onto a valid variable name.
   19772 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19773 
   19774 
   19775 exec 6>&1
   19776 ## ----------------------------------- ##
   19777 ## Main body of $CONFIG_STATUS script. ##
   19778 ## ----------------------------------- ##
   19779 _ASEOF
   19780 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19781 
   19782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19783 # Save the log message, to keep $0 and so on meaningful, and to
   19784 # report actual input values of CONFIG_FILES etc. instead of their
   19785 # values after options handling.
   19786 ac_log="
   19787 This file was extended by xf86-video-nouveau $as_me 1.0.16, which was
   19788 generated by GNU Autoconf 2.69.  Invocation command line was
   19789 
   19790   CONFIG_FILES    = $CONFIG_FILES
   19791   CONFIG_HEADERS  = $CONFIG_HEADERS
   19792   CONFIG_LINKS    = $CONFIG_LINKS
   19793   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19794   $ $0 $@
   19795 
   19796 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19797 "
   19798 
   19799 _ACEOF
   19800 
   19801 case $ac_config_files in *"
   19802 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19803 esac
   19804 
   19805 case $ac_config_headers in *"
   19806 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19807 esac
   19808 
   19809 
   19810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19811 # Files that config.status was made for.
   19812 config_files="$ac_config_files"
   19813 config_headers="$ac_config_headers"
   19814 config_commands="$ac_config_commands"
   19815 
   19816 _ACEOF
   19817 
   19818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19819 ac_cs_usage="\
   19820 \`$as_me' instantiates files and other configuration actions
   19821 from templates according to the current configuration.  Unless the files
   19822 and actions are specified as TAGs, all are instantiated by default.
   19823 
   19824 Usage: $0 [OPTION]... [TAG]...
   19825 
   19826   -h, --help       print this help, then exit
   19827   -V, --version    print version number and configuration settings, then exit
   19828       --config     print configuration, then exit
   19829   -q, --quiet, --silent
   19830                    do not print progress messages
   19831   -d, --debug      don't remove temporary files
   19832       --recheck    update $as_me by reconfiguring in the same conditions
   19833       --file=FILE[:TEMPLATE]
   19834                    instantiate the configuration file FILE
   19835       --header=FILE[:TEMPLATE]
   19836                    instantiate the configuration header FILE
   19837 
   19838 Configuration files:
   19839 $config_files
   19840 
   19841 Configuration headers:
   19842 $config_headers
   19843 
   19844 Configuration commands:
   19845 $config_commands
   19846 
   19847 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/nouveau>."
   19848 
   19849 _ACEOF
   19850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19851 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19852 ac_cs_version="\\
   19853 xf86-video-nouveau config.status 1.0.16
   19854 configured by $0, generated by GNU Autoconf 2.69,
   19855   with options \\"\$ac_cs_config\\"
   19856 
   19857 Copyright (C) 2012 Free Software Foundation, Inc.
   19858 This config.status script is free software; the Free Software Foundation
   19859 gives unlimited permission to copy, distribute and modify it."
   19860 
   19861 ac_pwd='$ac_pwd'
   19862 srcdir='$srcdir'
   19863 INSTALL='$INSTALL'
   19864 MKDIR_P='$MKDIR_P'
   19865 AWK='$AWK'
   19866 test -n "\$AWK" || AWK=awk
   19867 _ACEOF
   19868 
   19869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19870 # The default lists apply if the user does not specify any file.
   19871 ac_need_defaults=:
   19872 while test $# != 0
   19873 do
   19874   case $1 in
   19875   --*=?*)
   19876     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19877     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19878     ac_shift=:
   19879     ;;
   19880   --*=)
   19881     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19882     ac_optarg=
   19883     ac_shift=:
   19884     ;;
   19885   *)
   19886     ac_option=$1
   19887     ac_optarg=$2
   19888     ac_shift=shift
   19889     ;;
   19890   esac
   19891 
   19892   case $ac_option in
   19893   # Handling of the options.
   19894   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19895     ac_cs_recheck=: ;;
   19896   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19897     $as_echo "$ac_cs_version"; exit ;;
   19898   --config | --confi | --conf | --con | --co | --c )
   19899     $as_echo "$ac_cs_config"; exit ;;
   19900   --debug | --debu | --deb | --de | --d | -d )
   19901     debug=: ;;
   19902   --file | --fil | --fi | --f )
   19903     $ac_shift
   19904     case $ac_optarg in
   19905     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19906     '') as_fn_error $? "missing file argument" ;;
   19907     esac
   19908     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19909     ac_need_defaults=false;;
   19910   --header | --heade | --head | --hea )
   19911     $ac_shift
   19912     case $ac_optarg in
   19913     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19914     esac
   19915     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19916     ac_need_defaults=false;;
   19917   --he | --h)
   19918     # Conflict between --help and --header
   19919     as_fn_error $? "ambiguous option: \`$1'
   19920 Try \`$0 --help' for more information.";;
   19921   --help | --hel | -h )
   19922     $as_echo "$ac_cs_usage"; exit ;;
   19923   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19924   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19925     ac_cs_silent=: ;;
   19926 
   19927   # This is an error.
   19928   -*) as_fn_error $? "unrecognized option: \`$1'
   19929 Try \`$0 --help' for more information." ;;
   19930 
   19931   *) as_fn_append ac_config_targets " $1"
   19932      ac_need_defaults=false ;;
   19933 
   19934   esac
   19935   shift
   19936 done
   19937 
   19938 ac_configure_extra_args=
   19939 
   19940 if $ac_cs_silent; then
   19941   exec 6>/dev/null
   19942   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19943 fi
   19944 
   19945 _ACEOF
   19946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19947 if \$ac_cs_recheck; then
   19948   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19949   shift
   19950   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19951   CONFIG_SHELL='$SHELL'
   19952   export CONFIG_SHELL
   19953   exec "\$@"
   19954 fi
   19955 
   19956 _ACEOF
   19957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19958 exec 5>>config.log
   19959 {
   19960   echo
   19961   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19962 ## Running $as_me. ##
   19963 _ASBOX
   19964   $as_echo "$ac_log"
   19965 } >&5
   19966 
   19967 _ACEOF
   19968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19969 #
   19970 # INIT-COMMANDS
   19971 #
   19972 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   19973 
   19974 
   19975 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19976 # if CDPATH is set.
   19977 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19978 
   19979 sed_quote_subst='$sed_quote_subst'
   19980 double_quote_subst='$double_quote_subst'
   19981 delay_variable_subst='$delay_variable_subst'
   19982 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19983 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19984 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19985 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19986 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19987 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19988 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19989 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19990 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19991 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19992 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19993 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19994 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19995 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19996 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19997 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19998 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19999 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20000 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20001 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20002 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20003 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20004 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20005 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20006 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20007 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20008 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20009 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20010 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20011 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20012 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20013 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20014 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20015 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20016 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20017 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20018 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20019 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20020 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20021 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20022 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20023 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20024 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20025 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20026 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20027 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20028 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20029 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20030 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20031 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20032 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20033 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20034 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20035 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20036 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20037 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20038 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20039 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20040 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"`'
   20041 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20042 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20043 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20044 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20045 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20046 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20047 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20048 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20049 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20050 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20051 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20052 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20053 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20054 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20055 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20056 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20057 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20058 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20059 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20060 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20061 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20062 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20063 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20064 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20065 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20066 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20067 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20068 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20069 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20070 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20071 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20072 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20073 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20074 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20075 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20076 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20077 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20078 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20079 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20080 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20081 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20082 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20083 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20084 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20085 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20086 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20087 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20088 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20089 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20090 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20091 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20092 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20093 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20094 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20095 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20096 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20097 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20098 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20099 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20100 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20101 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20102 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20103 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20104 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20105 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20106 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20107 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20108 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20109 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20110 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20111 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20112 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20113 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20114 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20115 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20116 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20117 
   20118 LTCC='$LTCC'
   20119 LTCFLAGS='$LTCFLAGS'
   20120 compiler='$compiler_DEFAULT'
   20121 
   20122 # A function that is used when there is no print builtin or printf.
   20123 func_fallback_echo ()
   20124 {
   20125   eval 'cat <<_LTECHO_EOF
   20126 \$1
   20127 _LTECHO_EOF'
   20128 }
   20129 
   20130 # Quote evaled strings.
   20131 for var in SHELL \
   20132 ECHO \
   20133 PATH_SEPARATOR \
   20134 SED \
   20135 GREP \
   20136 EGREP \
   20137 FGREP \
   20138 LD \
   20139 NM \
   20140 LN_S \
   20141 lt_SP2NL \
   20142 lt_NL2SP \
   20143 reload_flag \
   20144 OBJDUMP \
   20145 deplibs_check_method \
   20146 file_magic_cmd \
   20147 file_magic_glob \
   20148 want_nocaseglob \
   20149 DLLTOOL \
   20150 sharedlib_from_linklib_cmd \
   20151 AR \
   20152 AR_FLAGS \
   20153 archiver_list_spec \
   20154 STRIP \
   20155 RANLIB \
   20156 CC \
   20157 CFLAGS \
   20158 compiler \
   20159 lt_cv_sys_global_symbol_pipe \
   20160 lt_cv_sys_global_symbol_to_cdecl \
   20161 lt_cv_sys_global_symbol_to_import \
   20162 lt_cv_sys_global_symbol_to_c_name_address \
   20163 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20164 lt_cv_nm_interface \
   20165 nm_file_list_spec \
   20166 lt_cv_truncate_bin \
   20167 lt_prog_compiler_no_builtin_flag \
   20168 lt_prog_compiler_pic \
   20169 lt_prog_compiler_wl \
   20170 lt_prog_compiler_static \
   20171 lt_cv_prog_compiler_c_o \
   20172 need_locks \
   20173 MANIFEST_TOOL \
   20174 DSYMUTIL \
   20175 NMEDIT \
   20176 LIPO \
   20177 OTOOL \
   20178 OTOOL64 \
   20179 shrext_cmds \
   20180 export_dynamic_flag_spec \
   20181 whole_archive_flag_spec \
   20182 compiler_needs_object \
   20183 with_gnu_ld \
   20184 allow_undefined_flag \
   20185 no_undefined_flag \
   20186 hardcode_libdir_flag_spec \
   20187 hardcode_libdir_separator \
   20188 exclude_expsyms \
   20189 include_expsyms \
   20190 file_list_spec \
   20191 variables_saved_for_relink \
   20192 libname_spec \
   20193 library_names_spec \
   20194 soname_spec \
   20195 install_override_mode \
   20196 finish_eval \
   20197 old_striplib \
   20198 striplib; do
   20199     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20200     *[\\\\\\\`\\"\\\$]*)
   20201       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20202       ;;
   20203     *)
   20204       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20205       ;;
   20206     esac
   20207 done
   20208 
   20209 # Double-quote double-evaled strings.
   20210 for var in reload_cmds \
   20211 old_postinstall_cmds \
   20212 old_postuninstall_cmds \
   20213 old_archive_cmds \
   20214 extract_expsyms_cmds \
   20215 old_archive_from_new_cmds \
   20216 old_archive_from_expsyms_cmds \
   20217 archive_cmds \
   20218 archive_expsym_cmds \
   20219 module_cmds \
   20220 module_expsym_cmds \
   20221 export_symbols_cmds \
   20222 prelink_cmds \
   20223 postlink_cmds \
   20224 postinstall_cmds \
   20225 postuninstall_cmds \
   20226 finish_cmds \
   20227 sys_lib_search_path_spec \
   20228 configure_time_dlsearch_path \
   20229 configure_time_lt_sys_library_path; do
   20230     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20231     *[\\\\\\\`\\"\\\$]*)
   20232       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20233       ;;
   20234     *)
   20235       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20236       ;;
   20237     esac
   20238 done
   20239 
   20240 ac_aux_dir='$ac_aux_dir'
   20241 
   20242 # See if we are running on zsh, and set the options that allow our
   20243 # commands through without removal of \ escapes INIT.
   20244 if test -n "\${ZSH_VERSION+set}"; then
   20245    setopt NO_GLOB_SUBST
   20246 fi
   20247 
   20248 
   20249     PACKAGE='$PACKAGE'
   20250     VERSION='$VERSION'
   20251     RM='$RM'
   20252     ofile='$ofile'
   20253 
   20254 
   20255 
   20256 
   20257 _ACEOF
   20258 
   20259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20260 
   20261 # Handling of arguments.
   20262 for ac_config_target in $ac_config_targets
   20263 do
   20264   case $ac_config_target in
   20265     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20266     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20267     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20268     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20269     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20270     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20271 
   20272   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20273   esac
   20274 done
   20275 
   20276 
   20277 # If the user did not use the arguments to specify the items to instantiate,
   20278 # then the envvar interface is used.  Set only those that are not.
   20279 # We use the long form for the default assignment because of an extremely
   20280 # bizarre bug on SunOS 4.1.3.
   20281 if $ac_need_defaults; then
   20282   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20283   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20284   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20285 fi
   20286 
   20287 # Have a temporary directory for convenience.  Make it in the build tree
   20288 # simply because there is no reason against having it here, and in addition,
   20289 # creating and moving files from /tmp can sometimes cause problems.
   20290 # Hook for its removal unless debugging.
   20291 # Note that there is a small window in which the directory will not be cleaned:
   20292 # after its creation but before its name has been assigned to `$tmp'.
   20293 $debug ||
   20294 {
   20295   tmp= ac_tmp=
   20296   trap 'exit_status=$?
   20297   : "${ac_tmp:=$tmp}"
   20298   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20299 ' 0
   20300   trap 'as_fn_exit 1' 1 2 13 15
   20301 }
   20302 # Create a (secure) tmp directory for tmp files.
   20303 
   20304 {
   20305   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20306   test -d "$tmp"
   20307 }  ||
   20308 {
   20309   tmp=./conf$$-$RANDOM
   20310   (umask 077 && mkdir "$tmp")
   20311 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20312 ac_tmp=$tmp
   20313 
   20314 # Set up the scripts for CONFIG_FILES section.
   20315 # No need to generate them if there are no CONFIG_FILES.
   20316 # This happens for instance with `./config.status config.h'.
   20317 if test -n "$CONFIG_FILES"; then
   20318 
   20319 
   20320 ac_cr=`echo X | tr X '\015'`
   20321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20322 # But we know of no other shell where ac_cr would be empty at this
   20323 # point, so we can use a bashism as a fallback.
   20324 if test "x$ac_cr" = x; then
   20325   eval ac_cr=\$\'\\r\'
   20326 fi
   20327 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20329   ac_cs_awk_cr='\\r'
   20330 else
   20331   ac_cs_awk_cr=$ac_cr
   20332 fi
   20333 
   20334 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20335 _ACEOF
   20336 
   20337 
   20338 {
   20339   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20340   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20341   echo "_ACEOF"
   20342 } >conf$$subs.sh ||
   20343   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20345 ac_delim='%!_!# '
   20346 for ac_last_try in false false false false false :; do
   20347   . ./conf$$subs.sh ||
   20348     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20349 
   20350   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20351   if test $ac_delim_n = $ac_delim_num; then
   20352     break
   20353   elif $ac_last_try; then
   20354     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20355   else
   20356     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20357   fi
   20358 done
   20359 rm -f conf$$subs.sh
   20360 
   20361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20362 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20363 _ACEOF
   20364 sed -n '
   20365 h
   20366 s/^/S["/; s/!.*/"]=/
   20367 p
   20368 g
   20369 s/^[^!]*!//
   20370 :repl
   20371 t repl
   20372 s/'"$ac_delim"'$//
   20373 t delim
   20374 :nl
   20375 h
   20376 s/\(.\{148\}\)..*/\1/
   20377 t more1
   20378 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20379 p
   20380 n
   20381 b repl
   20382 :more1
   20383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20384 p
   20385 g
   20386 s/.\{148\}//
   20387 t nl
   20388 :delim
   20389 h
   20390 s/\(.\{148\}\)..*/\1/
   20391 t more2
   20392 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20393 p
   20394 b
   20395 :more2
   20396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20397 p
   20398 g
   20399 s/.\{148\}//
   20400 t delim
   20401 ' <conf$$subs.awk | sed '
   20402 /^[^""]/{
   20403   N
   20404   s/\n//
   20405 }
   20406 ' >>$CONFIG_STATUS || ac_write_fail=1
   20407 rm -f conf$$subs.awk
   20408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20409 _ACAWK
   20410 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20411   for (key in S) S_is_set[key] = 1
   20412   FS = ""
   20413 
   20414 }
   20415 {
   20416   line = $ 0
   20417   nfields = split(line, field, "@")
   20418   substed = 0
   20419   len = length(field[1])
   20420   for (i = 2; i < nfields; i++) {
   20421     key = field[i]
   20422     keylen = length(key)
   20423     if (S_is_set[key]) {
   20424       value = S[key]
   20425       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20426       len += length(value) + length(field[++i])
   20427       substed = 1
   20428     } else
   20429       len += 1 + keylen
   20430   }
   20431 
   20432   print line
   20433 }
   20434 
   20435 _ACAWK
   20436 _ACEOF
   20437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20438 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20439   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20440 else
   20441   cat
   20442 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20443   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20444 _ACEOF
   20445 
   20446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20448 # trailing colons and then remove the whole line if VPATH becomes empty
   20449 # (actually we leave an empty line to preserve line numbers).
   20450 if test "x$srcdir" = x.; then
   20451   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20452 h
   20453 s///
   20454 s/^/:/
   20455 s/[	 ]*$/:/
   20456 s/:\$(srcdir):/:/g
   20457 s/:\${srcdir}:/:/g
   20458 s/:@srcdir@:/:/g
   20459 s/^:*//
   20460 s/:*$//
   20461 x
   20462 s/\(=[	 ]*\).*/\1/
   20463 G
   20464 s/\n//
   20465 s/^[^=]*=[	 ]*$//
   20466 }'
   20467 fi
   20468 
   20469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20470 fi # test -n "$CONFIG_FILES"
   20471 
   20472 # Set up the scripts for CONFIG_HEADERS section.
   20473 # No need to generate them if there are no CONFIG_HEADERS.
   20474 # This happens for instance with `./config.status Makefile'.
   20475 if test -n "$CONFIG_HEADERS"; then
   20476 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20477 BEGIN {
   20478 _ACEOF
   20479 
   20480 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20481 # here-document in config.status, that substitutes the proper values into
   20482 # config.h.in to produce config.h.
   20483 
   20484 # Create a delimiter string that does not exist in confdefs.h, to ease
   20485 # handling of long lines.
   20486 ac_delim='%!_!# '
   20487 for ac_last_try in false false :; do
   20488   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20489   if test -z "$ac_tt"; then
   20490     break
   20491   elif $ac_last_try; then
   20492     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20493   else
   20494     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20495   fi
   20496 done
   20497 
   20498 # For the awk script, D is an array of macro values keyed by name,
   20499 # likewise P contains macro parameters if any.  Preserve backslash
   20500 # newline sequences.
   20501 
   20502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20503 sed -n '
   20504 s/.\{148\}/&'"$ac_delim"'/g
   20505 t rset
   20506 :rset
   20507 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20508 t def
   20509 d
   20510 :def
   20511 s/\\$//
   20512 t bsnl
   20513 s/["\\]/\\&/g
   20514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20515 D["\1"]=" \3"/p
   20516 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20517 d
   20518 :bsnl
   20519 s/["\\]/\\&/g
   20520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20521 D["\1"]=" \3\\\\\\n"\\/p
   20522 t cont
   20523 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20524 t cont
   20525 d
   20526 :cont
   20527 n
   20528 s/.\{148\}/&'"$ac_delim"'/g
   20529 t clear
   20530 :clear
   20531 s/\\$//
   20532 t bsnlc
   20533 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20534 d
   20535 :bsnlc
   20536 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20537 b cont
   20538 ' <confdefs.h | sed '
   20539 s/'"$ac_delim"'/"\\\
   20540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20541 
   20542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20543   for (key in D) D_is_set[key] = 1
   20544   FS = ""
   20545 }
   20546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20547   line = \$ 0
   20548   split(line, arg, " ")
   20549   if (arg[1] == "#") {
   20550     defundef = arg[2]
   20551     mac1 = arg[3]
   20552   } else {
   20553     defundef = substr(arg[1], 2)
   20554     mac1 = arg[2]
   20555   }
   20556   split(mac1, mac2, "(") #)
   20557   macro = mac2[1]
   20558   prefix = substr(line, 1, index(line, defundef) - 1)
   20559   if (D_is_set[macro]) {
   20560     # Preserve the white space surrounding the "#".
   20561     print prefix "define", macro P[macro] D[macro]
   20562     next
   20563   } else {
   20564     # Replace #undef with comments.  This is necessary, for example,
   20565     # in the case of _POSIX_SOURCE, which is predefined and required
   20566     # on some systems where configure will not decide to define it.
   20567     if (defundef == "undef") {
   20568       print "/*", prefix defundef, macro, "*/"
   20569       next
   20570     }
   20571   }
   20572 }
   20573 { print }
   20574 _ACAWK
   20575 _ACEOF
   20576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20577   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20578 fi # test -n "$CONFIG_HEADERS"
   20579 
   20580 
   20581 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20582 shift
   20583 for ac_tag
   20584 do
   20585   case $ac_tag in
   20586   :[FHLC]) ac_mode=$ac_tag; continue;;
   20587   esac
   20588   case $ac_mode$ac_tag in
   20589   :[FHL]*:*);;
   20590   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20591   :[FH]-) ac_tag=-:-;;
   20592   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20593   esac
   20594   ac_save_IFS=$IFS
   20595   IFS=:
   20596   set x $ac_tag
   20597   IFS=$ac_save_IFS
   20598   shift
   20599   ac_file=$1
   20600   shift
   20601 
   20602   case $ac_mode in
   20603   :L) ac_source=$1;;
   20604   :[FH])
   20605     ac_file_inputs=
   20606     for ac_f
   20607     do
   20608       case $ac_f in
   20609       -) ac_f="$ac_tmp/stdin";;
   20610       *) # Look for the file first in the build tree, then in the source tree
   20611 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20612 	 # because $ac_f cannot contain `:'.
   20613 	 test -f "$ac_f" ||
   20614 	   case $ac_f in
   20615 	   [\\/$]*) false;;
   20616 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20617 	   esac ||
   20618 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20619       esac
   20620       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20621       as_fn_append ac_file_inputs " '$ac_f'"
   20622     done
   20623 
   20624     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20625     # use $as_me), people would be surprised to read:
   20626     #    /* config.h.  Generated by config.status.  */
   20627     configure_input='Generated from '`
   20628 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20629 	`' by configure.'
   20630     if test x"$ac_file" != x-; then
   20631       configure_input="$ac_file.  $configure_input"
   20632       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20633 $as_echo "$as_me: creating $ac_file" >&6;}
   20634     fi
   20635     # Neutralize special characters interpreted by sed in replacement strings.
   20636     case $configure_input in #(
   20637     *\&* | *\|* | *\\* )
   20638        ac_sed_conf_input=`$as_echo "$configure_input" |
   20639        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20640     *) ac_sed_conf_input=$configure_input;;
   20641     esac
   20642 
   20643     case $ac_tag in
   20644     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20645       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20646     esac
   20647     ;;
   20648   esac
   20649 
   20650   ac_dir=`$as_dirname -- "$ac_file" ||
   20651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20652 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20653 	 X"$ac_file" : 'X\(//\)$' \| \
   20654 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20655 $as_echo X"$ac_file" |
   20656     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20657 	    s//\1/
   20658 	    q
   20659 	  }
   20660 	  /^X\(\/\/\)[^/].*/{
   20661 	    s//\1/
   20662 	    q
   20663 	  }
   20664 	  /^X\(\/\/\)$/{
   20665 	    s//\1/
   20666 	    q
   20667 	  }
   20668 	  /^X\(\/\).*/{
   20669 	    s//\1/
   20670 	    q
   20671 	  }
   20672 	  s/.*/./; q'`
   20673   as_dir="$ac_dir"; as_fn_mkdir_p
   20674   ac_builddir=.
   20675 
   20676 case "$ac_dir" in
   20677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20678 *)
   20679   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20680   # A ".." for each directory in $ac_dir_suffix.
   20681   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20682   case $ac_top_builddir_sub in
   20683   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20684   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20685   esac ;;
   20686 esac
   20687 ac_abs_top_builddir=$ac_pwd
   20688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20689 # for backward compatibility:
   20690 ac_top_builddir=$ac_top_build_prefix
   20691 
   20692 case $srcdir in
   20693   .)  # We are building in place.
   20694     ac_srcdir=.
   20695     ac_top_srcdir=$ac_top_builddir_sub
   20696     ac_abs_top_srcdir=$ac_pwd ;;
   20697   [\\/]* | ?:[\\/]* )  # Absolute name.
   20698     ac_srcdir=$srcdir$ac_dir_suffix;
   20699     ac_top_srcdir=$srcdir
   20700     ac_abs_top_srcdir=$srcdir ;;
   20701   *) # Relative name.
   20702     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20703     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20704     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20705 esac
   20706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20707 
   20708 
   20709   case $ac_mode in
   20710   :F)
   20711   #
   20712   # CONFIG_FILE
   20713   #
   20714 
   20715   case $INSTALL in
   20716   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20717   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20718   esac
   20719   ac_MKDIR_P=$MKDIR_P
   20720   case $MKDIR_P in
   20721   [\\/$]* | ?:[\\/]* ) ;;
   20722   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20723   esac
   20724 _ACEOF
   20725 
   20726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20727 # If the template does not know about datarootdir, expand it.
   20728 # FIXME: This hack should be removed a few years after 2.60.
   20729 ac_datarootdir_hack=; ac_datarootdir_seen=
   20730 ac_sed_dataroot='
   20731 /datarootdir/ {
   20732   p
   20733   q
   20734 }
   20735 /@datadir@/p
   20736 /@docdir@/p
   20737 /@infodir@/p
   20738 /@localedir@/p
   20739 /@mandir@/p'
   20740 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20741 *datarootdir*) ac_datarootdir_seen=yes;;
   20742 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20743   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20744 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20745 _ACEOF
   20746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20747   ac_datarootdir_hack='
   20748   s&@datadir@&$datadir&g
   20749   s&@docdir@&$docdir&g
   20750   s&@infodir@&$infodir&g
   20751   s&@localedir@&$localedir&g
   20752   s&@mandir@&$mandir&g
   20753   s&\\\${datarootdir}&$datarootdir&g' ;;
   20754 esac
   20755 _ACEOF
   20756 
   20757 # Neutralize VPATH when `$srcdir' = `.'.
   20758 # Shell code in configure.ac might set extrasub.
   20759 # FIXME: do we really want to maintain this feature?
   20760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20761 ac_sed_extra="$ac_vpsub
   20762 $extrasub
   20763 _ACEOF
   20764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20765 :t
   20766 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20767 s|@configure_input@|$ac_sed_conf_input|;t t
   20768 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20769 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20770 s&@srcdir@&$ac_srcdir&;t t
   20771 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20772 s&@top_srcdir@&$ac_top_srcdir&;t t
   20773 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20774 s&@builddir@&$ac_builddir&;t t
   20775 s&@abs_builddir@&$ac_abs_builddir&;t t
   20776 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20777 s&@INSTALL@&$ac_INSTALL&;t t
   20778 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20779 $ac_datarootdir_hack
   20780 "
   20781 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20782   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20783 
   20784 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20785   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20786   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20787       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20788   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20789 which seems to be undefined.  Please make sure it is defined" >&5
   20790 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20791 which seems to be undefined.  Please make sure it is defined" >&2;}
   20792 
   20793   rm -f "$ac_tmp/stdin"
   20794   case $ac_file in
   20795   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20796   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20797   esac \
   20798   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20799  ;;
   20800   :H)
   20801   #
   20802   # CONFIG_HEADER
   20803   #
   20804   if test x"$ac_file" != x-; then
   20805     {
   20806       $as_echo "/* $configure_input  */" \
   20807       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20808     } >"$ac_tmp/config.h" \
   20809       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20810     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20811       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20812 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20813     else
   20814       rm -f "$ac_file"
   20815       mv "$ac_tmp/config.h" "$ac_file" \
   20816 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20817     fi
   20818   else
   20819     $as_echo "/* $configure_input  */" \
   20820       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20821       || as_fn_error $? "could not create -" "$LINENO" 5
   20822   fi
   20823 # Compute "$ac_file"'s index in $config_headers.
   20824 _am_arg="$ac_file"
   20825 _am_stamp_count=1
   20826 for _am_header in $config_headers :; do
   20827   case $_am_header in
   20828     $_am_arg | $_am_arg:* )
   20829       break ;;
   20830     * )
   20831       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20832   esac
   20833 done
   20834 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20835 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20836 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20837 	 X"$_am_arg" : 'X\(//\)$' \| \
   20838 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20839 $as_echo X"$_am_arg" |
   20840     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20841 	    s//\1/
   20842 	    q
   20843 	  }
   20844 	  /^X\(\/\/\)[^/].*/{
   20845 	    s//\1/
   20846 	    q
   20847 	  }
   20848 	  /^X\(\/\/\)$/{
   20849 	    s//\1/
   20850 	    q
   20851 	  }
   20852 	  /^X\(\/\).*/{
   20853 	    s//\1/
   20854 	    q
   20855 	  }
   20856 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20857  ;;
   20858 
   20859   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20860 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20861  ;;
   20862   esac
   20863 
   20864 
   20865   case $ac_file$ac_mode in
   20866     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20867   # Older Autoconf quotes --file arguments for eval, but not when files
   20868   # are listed without --file.  Let's play safe and only enable the eval
   20869   # if we detect the quoting.
   20870   # TODO: see whether this extra hack can be removed once we start
   20871   # requiring Autoconf 2.70 or later.
   20872   case $CONFIG_FILES in #(
   20873   *\'*) :
   20874     eval set x "$CONFIG_FILES" ;; #(
   20875   *) :
   20876     set x $CONFIG_FILES ;; #(
   20877   *) :
   20878      ;;
   20879 esac
   20880   shift
   20881   # Used to flag and report bootstrapping failures.
   20882   am_rc=0
   20883   for am_mf
   20884   do
   20885     # Strip MF so we end up with the name of the file.
   20886     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   20887     # Check whether this is an Automake generated Makefile which includes
   20888     # dependency-tracking related rules and includes.
   20889     # Grep'ing the whole file directly is not great: AIX grep has a line
   20890     # limit of 2048, but all sed's we know have understand at least 4000.
   20891     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   20892       || continue
   20893     am_dirpart=`$as_dirname -- "$am_mf" ||
   20894 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20895 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   20896 	 X"$am_mf" : 'X\(//\)$' \| \
   20897 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20898 $as_echo X"$am_mf" |
   20899     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20900 	    s//\1/
   20901 	    q
   20902 	  }
   20903 	  /^X\(\/\/\)[^/].*/{
   20904 	    s//\1/
   20905 	    q
   20906 	  }
   20907 	  /^X\(\/\/\)$/{
   20908 	    s//\1/
   20909 	    q
   20910 	  }
   20911 	  /^X\(\/\).*/{
   20912 	    s//\1/
   20913 	    q
   20914 	  }
   20915 	  s/.*/./; q'`
   20916     am_filepart=`$as_basename -- "$am_mf" ||
   20917 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   20918 	 X"$am_mf" : 'X\(//\)$' \| \
   20919 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20920 $as_echo X/"$am_mf" |
   20921     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20922 	    s//\1/
   20923 	    q
   20924 	  }
   20925 	  /^X\/\(\/\/\)$/{
   20926 	    s//\1/
   20927 	    q
   20928 	  }
   20929 	  /^X\/\(\/\).*/{
   20930 	    s//\1/
   20931 	    q
   20932 	  }
   20933 	  s/.*/./; q'`
   20934     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   20935       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20936         | $MAKE -f - am--depfiles" >&5
   20937    (cd "$am_dirpart" \
   20938       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20939         | $MAKE -f - am--depfiles) >&5 2>&5
   20940    ac_status=$?
   20941    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20942    (exit $ac_status); } || am_rc=$?
   20943   done
   20944   if test $am_rc -ne 0; then
   20945     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20947 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   20948     for automatic dependency tracking.  Try re-running configure with the
   20949     '--disable-dependency-tracking' option to at least be able to build
   20950     the package (albeit without support for automatic dependency tracking).
   20951 See \`config.log' for more details" "$LINENO" 5; }
   20952   fi
   20953   { am_dirpart=; unset am_dirpart;}
   20954   { am_filepart=; unset am_filepart;}
   20955   { am_mf=; unset am_mf;}
   20956   { am_rc=; unset am_rc;}
   20957   rm -f conftest-deps.mk
   20958 }
   20959  ;;
   20960     "libtool":C)
   20961 
   20962     # See if we are running on zsh, and set the options that allow our
   20963     # commands through without removal of \ escapes.
   20964     if test -n "${ZSH_VERSION+set}"; then
   20965       setopt NO_GLOB_SUBST
   20966     fi
   20967 
   20968     cfgfile=${ofile}T
   20969     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20970     $RM "$cfgfile"
   20971 
   20972     cat <<_LT_EOF >> "$cfgfile"
   20973 #! $SHELL
   20974 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20975 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20976 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20977 
   20978 # Provide generalized library-building support services.
   20979 # Written by Gordon Matzigkeit, 1996
   20980 
   20981 # Copyright (C) 2014 Free Software Foundation, Inc.
   20982 # This is free software; see the source for copying conditions.  There is NO
   20983 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20984 
   20985 # GNU Libtool is free software; you can redistribute it and/or modify
   20986 # it under the terms of the GNU General Public License as published by
   20987 # the Free Software Foundation; either version 2 of of the License, or
   20988 # (at your option) any later version.
   20989 #
   20990 # As a special exception to the GNU General Public License, if you
   20991 # distribute this file as part of a program or library that is built
   20992 # using GNU Libtool, you may include this file under the  same
   20993 # distribution terms that you use for the rest of that program.
   20994 #
   20995 # GNU Libtool is distributed in the hope that it will be useful, but
   20996 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20997 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20998 # GNU General Public License for more details.
   20999 #
   21000 # You should have received a copy of the GNU General Public License
   21001 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21002 
   21003 
   21004 # The names of the tagged configurations supported by this script.
   21005 available_tags=''
   21006 
   21007 # Configured defaults for sys_lib_dlsearch_path munging.
   21008 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21009 
   21010 # ### BEGIN LIBTOOL CONFIG
   21011 
   21012 # Which release of libtool.m4 was used?
   21013 macro_version=$macro_version
   21014 macro_revision=$macro_revision
   21015 
   21016 # Whether or not to build static libraries.
   21017 build_old_libs=$enable_static
   21018 
   21019 # Whether or not to build shared libraries.
   21020 build_libtool_libs=$enable_shared
   21021 
   21022 # What type of objects to build.
   21023 pic_mode=$pic_mode
   21024 
   21025 # Whether or not to optimize for fast installation.
   21026 fast_install=$enable_fast_install
   21027 
   21028 # Shared archive member basename,for filename based shared library versioning on AIX.
   21029 shared_archive_member_spec=$shared_archive_member_spec
   21030 
   21031 # Shell to use when invoking shell scripts.
   21032 SHELL=$lt_SHELL
   21033 
   21034 # An echo program that protects backslashes.
   21035 ECHO=$lt_ECHO
   21036 
   21037 # The PATH separator for the build system.
   21038 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21039 
   21040 # The host system.
   21041 host_alias=$host_alias
   21042 host=$host
   21043 host_os=$host_os
   21044 
   21045 # The build system.
   21046 build_alias=$build_alias
   21047 build=$build
   21048 build_os=$build_os
   21049 
   21050 # A sed program that does not truncate output.
   21051 SED=$lt_SED
   21052 
   21053 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21054 Xsed="\$SED -e 1s/^X//"
   21055 
   21056 # A grep program that handles long lines.
   21057 GREP=$lt_GREP
   21058 
   21059 # An ERE matcher.
   21060 EGREP=$lt_EGREP
   21061 
   21062 # A literal string matcher.
   21063 FGREP=$lt_FGREP
   21064 
   21065 # A BSD- or MS-compatible name lister.
   21066 NM=$lt_NM
   21067 
   21068 # Whether we need soft or hard links.
   21069 LN_S=$lt_LN_S
   21070 
   21071 # What is the maximum length of a command?
   21072 max_cmd_len=$max_cmd_len
   21073 
   21074 # Object file suffix (normally "o").
   21075 objext=$ac_objext
   21076 
   21077 # Executable file suffix (normally "").
   21078 exeext=$exeext
   21079 
   21080 # whether the shell understands "unset".
   21081 lt_unset=$lt_unset
   21082 
   21083 # turn spaces into newlines.
   21084 SP2NL=$lt_lt_SP2NL
   21085 
   21086 # turn newlines into spaces.
   21087 NL2SP=$lt_lt_NL2SP
   21088 
   21089 # convert \$build file names to \$host format.
   21090 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21091 
   21092 # convert \$build files to toolchain format.
   21093 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21094 
   21095 # An object symbol dumper.
   21096 OBJDUMP=$lt_OBJDUMP
   21097 
   21098 # Method to check whether dependent libraries are shared objects.
   21099 deplibs_check_method=$lt_deplibs_check_method
   21100 
   21101 # Command to use when deplibs_check_method = "file_magic".
   21102 file_magic_cmd=$lt_file_magic_cmd
   21103 
   21104 # How to find potential files when deplibs_check_method = "file_magic".
   21105 file_magic_glob=$lt_file_magic_glob
   21106 
   21107 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21108 want_nocaseglob=$lt_want_nocaseglob
   21109 
   21110 # DLL creation program.
   21111 DLLTOOL=$lt_DLLTOOL
   21112 
   21113 # Command to associate shared and link libraries.
   21114 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21115 
   21116 # The archiver.
   21117 AR=$lt_AR
   21118 
   21119 # Flags to create an archive.
   21120 AR_FLAGS=$lt_AR_FLAGS
   21121 
   21122 # How to feed a file listing to the archiver.
   21123 archiver_list_spec=$lt_archiver_list_spec
   21124 
   21125 # A symbol stripping program.
   21126 STRIP=$lt_STRIP
   21127 
   21128 # Commands used to install an old-style archive.
   21129 RANLIB=$lt_RANLIB
   21130 old_postinstall_cmds=$lt_old_postinstall_cmds
   21131 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21132 
   21133 # Whether to use a lock for old archive extraction.
   21134 lock_old_archive_extraction=$lock_old_archive_extraction
   21135 
   21136 # A C compiler.
   21137 LTCC=$lt_CC
   21138 
   21139 # LTCC compiler flags.
   21140 LTCFLAGS=$lt_CFLAGS
   21141 
   21142 # Take the output of nm and produce a listing of raw symbols and C names.
   21143 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21144 
   21145 # Transform the output of nm in a proper C declaration.
   21146 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21147 
   21148 # Transform the output of nm into a list of symbols to manually relocate.
   21149 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21150 
   21151 # Transform the output of nm in a C name address pair.
   21152 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21153 
   21154 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21155 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21156 
   21157 # The name lister interface.
   21158 nm_interface=$lt_lt_cv_nm_interface
   21159 
   21160 # Specify filename containing input files for \$NM.
   21161 nm_file_list_spec=$lt_nm_file_list_spec
   21162 
   21163 # The root where to search for dependent libraries,and where our libraries should be installed.
   21164 lt_sysroot=$lt_sysroot
   21165 
   21166 # Command to truncate a binary pipe.
   21167 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21168 
   21169 # The name of the directory that contains temporary libtool files.
   21170 objdir=$objdir
   21171 
   21172 # Used to examine libraries when file_magic_cmd begins with "file".
   21173 MAGIC_CMD=$MAGIC_CMD
   21174 
   21175 # Must we lock files when doing compilation?
   21176 need_locks=$lt_need_locks
   21177 
   21178 # Manifest tool.
   21179 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21180 
   21181 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21182 DSYMUTIL=$lt_DSYMUTIL
   21183 
   21184 # Tool to change global to local symbols on Mac OS X.
   21185 NMEDIT=$lt_NMEDIT
   21186 
   21187 # Tool to manipulate fat objects and archives on Mac OS X.
   21188 LIPO=$lt_LIPO
   21189 
   21190 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21191 OTOOL=$lt_OTOOL
   21192 
   21193 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21194 OTOOL64=$lt_OTOOL64
   21195 
   21196 # Old archive suffix (normally "a").
   21197 libext=$libext
   21198 
   21199 # Shared library suffix (normally ".so").
   21200 shrext_cmds=$lt_shrext_cmds
   21201 
   21202 # The commands to extract the exported symbol list from a shared archive.
   21203 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21204 
   21205 # Variables whose values should be saved in libtool wrapper scripts and
   21206 # restored at link time.
   21207 variables_saved_for_relink=$lt_variables_saved_for_relink
   21208 
   21209 # Do we need the "lib" prefix for modules?
   21210 need_lib_prefix=$need_lib_prefix
   21211 
   21212 # Do we need a version for libraries?
   21213 need_version=$need_version
   21214 
   21215 # Library versioning type.
   21216 version_type=$version_type
   21217 
   21218 # Shared library runtime path variable.
   21219 runpath_var=$runpath_var
   21220 
   21221 # Shared library path variable.
   21222 shlibpath_var=$shlibpath_var
   21223 
   21224 # Is shlibpath searched before the hard-coded library search path?
   21225 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21226 
   21227 # Format of library name prefix.
   21228 libname_spec=$lt_libname_spec
   21229 
   21230 # List of archive names.  First name is the real one, the rest are links.
   21231 # The last name is the one that the linker finds with -lNAME
   21232 library_names_spec=$lt_library_names_spec
   21233 
   21234 # The coded name of the library, if different from the real name.
   21235 soname_spec=$lt_soname_spec
   21236 
   21237 # Permission mode override for installation of shared libraries.
   21238 install_override_mode=$lt_install_override_mode
   21239 
   21240 # Command to use after installation of a shared archive.
   21241 postinstall_cmds=$lt_postinstall_cmds
   21242 
   21243 # Command to use after uninstallation of a shared archive.
   21244 postuninstall_cmds=$lt_postuninstall_cmds
   21245 
   21246 # Commands used to finish a libtool library installation in a directory.
   21247 finish_cmds=$lt_finish_cmds
   21248 
   21249 # As "finish_cmds", except a single script fragment to be evaled but
   21250 # not shown.
   21251 finish_eval=$lt_finish_eval
   21252 
   21253 # Whether we should hardcode library paths into libraries.
   21254 hardcode_into_libs=$hardcode_into_libs
   21255 
   21256 # Compile-time system search path for libraries.
   21257 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21258 
   21259 # Detected run-time system search path for libraries.
   21260 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21261 
   21262 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21263 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21264 
   21265 # Whether dlopen is supported.
   21266 dlopen_support=$enable_dlopen
   21267 
   21268 # Whether dlopen of programs is supported.
   21269 dlopen_self=$enable_dlopen_self
   21270 
   21271 # Whether dlopen of statically linked programs is supported.
   21272 dlopen_self_static=$enable_dlopen_self_static
   21273 
   21274 # Commands to strip libraries.
   21275 old_striplib=$lt_old_striplib
   21276 striplib=$lt_striplib
   21277 
   21278 
   21279 # The linker used to build libraries.
   21280 LD=$lt_LD
   21281 
   21282 # How to create reloadable object files.
   21283 reload_flag=$lt_reload_flag
   21284 reload_cmds=$lt_reload_cmds
   21285 
   21286 # Commands used to build an old-style archive.
   21287 old_archive_cmds=$lt_old_archive_cmds
   21288 
   21289 # A language specific compiler.
   21290 CC=$lt_compiler
   21291 
   21292 # Is the compiler the GNU compiler?
   21293 with_gcc=$GCC
   21294 
   21295 # Compiler flag to turn off builtin functions.
   21296 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21297 
   21298 # Additional compiler flags for building library objects.
   21299 pic_flag=$lt_lt_prog_compiler_pic
   21300 
   21301 # How to pass a linker flag through the compiler.
   21302 wl=$lt_lt_prog_compiler_wl
   21303 
   21304 # Compiler flag to prevent dynamic linking.
   21305 link_static_flag=$lt_lt_prog_compiler_static
   21306 
   21307 # Does compiler simultaneously support -c and -o options?
   21308 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21309 
   21310 # Whether or not to add -lc for building shared libraries.
   21311 build_libtool_need_lc=$archive_cmds_need_lc
   21312 
   21313 # Whether or not to disallow shared libs when runtime libs are static.
   21314 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21315 
   21316 # Compiler flag to allow reflexive dlopens.
   21317 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21318 
   21319 # Compiler flag to generate shared objects directly from archives.
   21320 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21321 
   21322 # Whether the compiler copes with passing no objects directly.
   21323 compiler_needs_object=$lt_compiler_needs_object
   21324 
   21325 # Create an old-style archive from a shared archive.
   21326 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21327 
   21328 # Create a temporary old-style archive to link instead of a shared archive.
   21329 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21330 
   21331 # Commands used to build a shared archive.
   21332 archive_cmds=$lt_archive_cmds
   21333 archive_expsym_cmds=$lt_archive_expsym_cmds
   21334 
   21335 # Commands used to build a loadable module if different from building
   21336 # a shared archive.
   21337 module_cmds=$lt_module_cmds
   21338 module_expsym_cmds=$lt_module_expsym_cmds
   21339 
   21340 # Whether we are building with GNU ld or not.
   21341 with_gnu_ld=$lt_with_gnu_ld
   21342 
   21343 # Flag that allows shared libraries with undefined symbols to be built.
   21344 allow_undefined_flag=$lt_allow_undefined_flag
   21345 
   21346 # Flag that enforces no undefined symbols.
   21347 no_undefined_flag=$lt_no_undefined_flag
   21348 
   21349 # Flag to hardcode \$libdir into a binary during linking.
   21350 # This must work even if \$libdir does not exist
   21351 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21352 
   21353 # Whether we need a single "-rpath" flag with a separated argument.
   21354 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21355 
   21356 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21357 # DIR into the resulting binary.
   21358 hardcode_direct=$hardcode_direct
   21359 
   21360 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21361 # DIR into the resulting binary and the resulting library dependency is
   21362 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21363 # library is relocated.
   21364 hardcode_direct_absolute=$hardcode_direct_absolute
   21365 
   21366 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21367 # into the resulting binary.
   21368 hardcode_minus_L=$hardcode_minus_L
   21369 
   21370 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21371 # into the resulting binary.
   21372 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21373 
   21374 # Set to "yes" if building a shared library automatically hardcodes DIR
   21375 # into the library and all subsequent libraries and executables linked
   21376 # against it.
   21377 hardcode_automatic=$hardcode_automatic
   21378 
   21379 # Set to yes if linker adds runtime paths of dependent libraries
   21380 # to runtime path list.
   21381 inherit_rpath=$inherit_rpath
   21382 
   21383 # Whether libtool must link a program against all its dependency libraries.
   21384 link_all_deplibs=$link_all_deplibs
   21385 
   21386 # Set to "yes" if exported symbols are required.
   21387 always_export_symbols=$always_export_symbols
   21388 
   21389 # The commands to list exported symbols.
   21390 export_symbols_cmds=$lt_export_symbols_cmds
   21391 
   21392 # Symbols that should not be listed in the preloaded symbols.
   21393 exclude_expsyms=$lt_exclude_expsyms
   21394 
   21395 # Symbols that must always be exported.
   21396 include_expsyms=$lt_include_expsyms
   21397 
   21398 # Commands necessary for linking programs (against libraries) with templates.
   21399 prelink_cmds=$lt_prelink_cmds
   21400 
   21401 # Commands necessary for finishing linking programs.
   21402 postlink_cmds=$lt_postlink_cmds
   21403 
   21404 # Specify filename containing input files.
   21405 file_list_spec=$lt_file_list_spec
   21406 
   21407 # How to hardcode a shared library path into an executable.
   21408 hardcode_action=$hardcode_action
   21409 
   21410 # ### END LIBTOOL CONFIG
   21411 
   21412 _LT_EOF
   21413 
   21414     cat <<'_LT_EOF' >> "$cfgfile"
   21415 
   21416 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21417 
   21418 # func_munge_path_list VARIABLE PATH
   21419 # -----------------------------------
   21420 # VARIABLE is name of variable containing _space_ separated list of
   21421 # directories to be munged by the contents of PATH, which is string
   21422 # having a format:
   21423 # "DIR[:DIR]:"
   21424 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21425 # ":DIR[:DIR]"
   21426 #       string "DIR[ DIR]" will be appended to VARIABLE
   21427 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21428 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21429 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21430 # "DIR[:DIR]"
   21431 #       VARIABLE will be replaced by "DIR[ DIR]"
   21432 func_munge_path_list ()
   21433 {
   21434     case x$2 in
   21435     x)
   21436         ;;
   21437     *:)
   21438         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21439         ;;
   21440     x:*)
   21441         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21442         ;;
   21443     *::*)
   21444         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21445         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21446         ;;
   21447     *)
   21448         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21449         ;;
   21450     esac
   21451 }
   21452 
   21453 
   21454 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21455 func_cc_basename ()
   21456 {
   21457     for cc_temp in $*""; do
   21458       case $cc_temp in
   21459         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21460         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21461         \-*) ;;
   21462         *) break;;
   21463       esac
   21464     done
   21465     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21466 }
   21467 
   21468 
   21469 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21470 
   21471 _LT_EOF
   21472 
   21473   case $host_os in
   21474   aix3*)
   21475     cat <<\_LT_EOF >> "$cfgfile"
   21476 # AIX sometimes has problems with the GCC collect2 program.  For some
   21477 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21478 # vanish in a puff of smoke.
   21479 if test set != "${COLLECT_NAMES+set}"; then
   21480   COLLECT_NAMES=
   21481   export COLLECT_NAMES
   21482 fi
   21483 _LT_EOF
   21484     ;;
   21485   esac
   21486 
   21487 
   21488 ltmain=$ac_aux_dir/ltmain.sh
   21489 
   21490 
   21491   # We use sed instead of cat because bash on DJGPP gets confused if
   21492   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21493   # text mode, it properly converts lines to CR/LF.  This bash problem
   21494   # is reportedly fixed, but why not run on old versions too?
   21495   sed '$q' "$ltmain" >> "$cfgfile" \
   21496      || (rm -f "$cfgfile"; exit 1)
   21497 
   21498    mv -f "$cfgfile" "$ofile" ||
   21499     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21500   chmod +x "$ofile"
   21501 
   21502  ;;
   21503 
   21504   esac
   21505 done # for ac_tag
   21506 
   21507 
   21508 as_fn_exit 0
   21509 _ACEOF
   21510 ac_clean_files=$ac_clean_files_save
   21511 
   21512 test $ac_write_fail = 0 ||
   21513   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21514 
   21515 
   21516 # configure is writing to config.log, and then calls config.status.
   21517 # config.status does its own redirection, appending to config.log.
   21518 # Unfortunately, on DOS this fails, as config.log is still kept open
   21519 # by configure, so config.status won't be able to write to it; its
   21520 # output is simply discarded.  So we exec the FD to /dev/null,
   21521 # effectively closing config.log, so it can be properly (re)opened and
   21522 # appended to by config.status.  When coming back to configure, we
   21523 # need to make the FD available again.
   21524 if test "$no_create" != yes; then
   21525   ac_cs_success=:
   21526   ac_config_status_args=
   21527   test "$silent" = yes &&
   21528     ac_config_status_args="$ac_config_status_args --quiet"
   21529   exec 5>/dev/null
   21530   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21531   exec 5>>config.log
   21532   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21533   # would make configure fail if this is the last instruction.
   21534   $ac_cs_success || as_fn_exit 1
   21535 fi
   21536 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21537   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21538 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21539 fi
   21540 
   21541 
   21542 echo ""
   21543 echo "        prefix:              $prefix"
   21544 echo "        exec_prefix:         $exec_prefix"
   21545 echo "        libdir:              $libdir"
   21546 echo "        includedir:          $includedir"
   21547 
   21548 echo ""
   21549 echo "        CFLAGS:              $CFLAGS"
   21550 echo "        CXXFLAGS:            $CXXFLAGS"
   21551 echo "        Macros:              $DEFINES"
   21552 
   21553 echo ""
   21554 echo "        Run '${MAKE-make}' to build xf86-video-nouveau"
   21555 echo ""
   21556