Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.12
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xf86-video-vmware 13.4.0.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 test \$(( 1 + 1 )) = 2 || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='xf86-video-vmware'
    624 PACKAGE_TARNAME='xf86-video-vmware'
    625 PACKAGE_VERSION='13.4.0'
    626 PACKAGE_STRING='xf86-video-vmware 13.4.0'
    627 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 BUILD_VMWGFX_FALSE
    668 BUILD_VMWGFX_TRUE
    669 LIBUDEV_LIBS
    670 LIBUDEV_CFLAGS
    671 DRIVER_NAME
    672 XATRACKER_LIBS
    673 XATRACKER_CFLAGS
    674 LIBDRM_LIBS
    675 LIBDRM_CFLAGS
    676 moduledir
    677 XSERVER_LIBPCIACCESS_FALSE
    678 XSERVER_LIBPCIACCESS_TRUE
    679 PCIACCESS_LIBS
    680 PCIACCESS_CFLAGS
    681 X11_LIBS
    682 X11_CFLAGS
    683 XORG_LIBS
    684 XORG_CFLAGS
    685 BUILD_VMWARECTRL_FALSE
    686 BUILD_VMWARECTRL_TRUE
    687 LT_SYS_LIBRARY_PATH
    688 OTOOL64
    689 OTOOL
    690 LIPO
    691 NMEDIT
    692 DSYMUTIL
    693 MANIFEST_TOOL
    694 RANLIB
    695 ac_ct_AR
    696 AR
    697 DLLTOOL
    698 OBJDUMP
    699 FILECMD
    700 LN_S
    701 NM
    702 ac_ct_DUMPBIN
    703 DUMPBIN
    704 LD
    705 FGREP
    706 EGREP
    707 GREP
    708 LIBTOOL
    709 MAN_SUBSTS
    710 XORG_MAN_PAGE
    711 ADMIN_MAN_DIR
    712 DRIVER_MAN_DIR
    713 MISC_MAN_DIR
    714 FILE_MAN_DIR
    715 LIB_MAN_DIR
    716 APP_MAN_DIR
    717 ADMIN_MAN_SUFFIX
    718 DRIVER_MAN_SUFFIX
    719 MISC_MAN_SUFFIX
    720 FILE_MAN_SUFFIX
    721 LIB_MAN_SUFFIX
    722 APP_MAN_SUFFIX
    723 SED
    724 host_os
    725 host_vendor
    726 host_cpu
    727 host
    728 build_os
    729 build_vendor
    730 build_cpu
    731 build
    732 INSTALL_CMD
    733 PKG_CONFIG_LIBDIR
    734 PKG_CONFIG_PATH
    735 PKG_CONFIG
    736 CHANGELOG_CMD
    737 STRICT_CFLAGS
    738 CWARNFLAGS
    739 BASE_CFLAGS
    740 AM_BACKSLASH
    741 AM_DEFAULT_VERBOSITY
    742 AM_DEFAULT_V
    743 AM_V
    744 CSCOPE
    745 ETAGS
    746 CTAGS
    747 am__fastdepCC_FALSE
    748 am__fastdepCC_TRUE
    749 CCDEPMODE
    750 am__nodep
    751 AMDEPBACKSLASH
    752 AMDEP_FALSE
    753 AMDEP_TRUE
    754 am__include
    755 DEPDIR
    756 am__untar
    757 am__tar
    758 AMTAR
    759 am__leading_dot
    760 SET_MAKE
    761 AWK
    762 mkdir_p
    763 MKDIR_P
    764 INSTALL_STRIP_PROGRAM
    765 STRIP
    766 install_sh
    767 MAKEINFO
    768 AUTOHEADER
    769 AUTOMAKE
    770 AUTOCONF
    771 ACLOCAL
    772 VERSION
    773 PACKAGE
    774 CYGPATH_W
    775 am__isrc
    776 INSTALL_DATA
    777 INSTALL_SCRIPT
    778 INSTALL_PROGRAM
    779 OBJEXT
    780 EXEEXT
    781 ac_ct_CC
    782 CPPFLAGS
    783 LDFLAGS
    784 CFLAGS
    785 CC
    786 target_alias
    787 host_alias
    788 build_alias
    789 LIBS
    790 ECHO_T
    791 ECHO_N
    792 ECHO_C
    793 DEFS
    794 mandir
    795 localedir
    796 libdir
    797 psdir
    798 pdfdir
    799 dvidir
    800 htmldir
    801 infodir
    802 docdir
    803 oldincludedir
    804 includedir
    805 runstatedir
    806 localstatedir
    807 sharedstatedir
    808 sysconfdir
    809 datadir
    810 datarootdir
    811 libexecdir
    812 sbindir
    813 bindir
    814 program_transform_name
    815 prefix
    816 exec_prefix
    817 PACKAGE_URL
    818 PACKAGE_BUGREPORT
    819 PACKAGE_STRING
    820 PACKAGE_VERSION
    821 PACKAGE_TARNAME
    822 PACKAGE_NAME
    823 PATH_SEPARATOR
    824 SHELL
    825 am__quote'
    826 ac_subst_files=''
    827 ac_user_opts='
    828 enable_option_checking
    829 enable_largefile
    830 enable_dependency_tracking
    831 enable_silent_rules
    832 enable_selective_werror
    833 enable_strict_compilation
    834 enable_static
    835 enable_shared
    836 with_pic
    837 enable_fast_install
    838 with_aix_soname
    839 with_gnu_ld
    840 with_sysroot
    841 enable_libtool_lock
    842 with_xorg_module_dir
    843 enable_vmwarectrl_client
    844 with_libudev
    845 '
    846       ac_precious_vars='build_alias
    847 host_alias
    848 target_alias
    849 CC
    850 CFLAGS
    851 LDFLAGS
    852 LIBS
    853 CPPFLAGS
    854 PKG_CONFIG
    855 PKG_CONFIG_PATH
    856 PKG_CONFIG_LIBDIR
    857 LT_SYS_LIBRARY_PATH
    858 XORG_CFLAGS
    859 XORG_LIBS
    860 X11_CFLAGS
    861 X11_LIBS
    862 PCIACCESS_CFLAGS
    863 PCIACCESS_LIBS
    864 LIBDRM_CFLAGS
    865 LIBDRM_LIBS
    866 XATRACKER_CFLAGS
    867 XATRACKER_LIBS
    868 LIBUDEV_CFLAGS
    869 LIBUDEV_LIBS'
    870 
    871 
    872 # Initialize some variables set by options.
    873 ac_init_help=
    874 ac_init_version=false
    875 ac_unrecognized_opts=
    876 ac_unrecognized_sep=
    877 # The variables have the same names as the options, with
    878 # dashes changed to underlines.
    879 cache_file=/dev/null
    880 exec_prefix=NONE
    881 no_create=
    882 no_recursion=
    883 prefix=NONE
    884 program_prefix=NONE
    885 program_suffix=NONE
    886 program_transform_name=s,x,x,
    887 silent=
    888 site=
    889 srcdir=
    890 verbose=
    891 x_includes=NONE
    892 x_libraries=NONE
    893 
    894 # Installation directory options.
    895 # These are left unexpanded so users can "make install exec_prefix=/foo"
    896 # and all the variables that are supposed to be based on exec_prefix
    897 # by default will actually change.
    898 # Use braces instead of parens because sh, perl, etc. also accept them.
    899 # (The list follows the same order as the GNU Coding Standards.)
    900 bindir='${exec_prefix}/bin'
    901 sbindir='${exec_prefix}/sbin'
    902 libexecdir='${exec_prefix}/libexec'
    903 datarootdir='${prefix}/share'
    904 datadir='${datarootdir}'
    905 sysconfdir='${prefix}/etc'
    906 sharedstatedir='${prefix}/com'
    907 localstatedir='${prefix}/var'
    908 runstatedir='${localstatedir}/run'
    909 includedir='${prefix}/include'
    910 oldincludedir='/usr/include'
    911 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    912 infodir='${datarootdir}/info'
    913 htmldir='${docdir}'
    914 dvidir='${docdir}'
    915 pdfdir='${docdir}'
    916 psdir='${docdir}'
    917 libdir='${exec_prefix}/lib'
    918 localedir='${datarootdir}/locale'
    919 mandir='${datarootdir}/man'
    920 
    921 ac_prev=
    922 ac_dashdash=
    923 for ac_option
    924 do
    925   # If the previous option needs an argument, assign it.
    926   if test -n "$ac_prev"; then
    927     eval $ac_prev=\$ac_option
    928     ac_prev=
    929     continue
    930   fi
    931 
    932   case $ac_option in
    933   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    934   *=)   ac_optarg= ;;
    935   *)    ac_optarg=yes ;;
    936   esac
    937 
    938   case $ac_dashdash$ac_option in
    939   --)
    940     ac_dashdash=yes ;;
    941 
    942   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    943     ac_prev=bindir ;;
    944   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    945     bindir=$ac_optarg ;;
    946 
    947   -build | --build | --buil | --bui | --bu)
    948     ac_prev=build_alias ;;
    949   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    950     build_alias=$ac_optarg ;;
    951 
    952   -cache-file | --cache-file | --cache-fil | --cache-fi \
    953   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    954     ac_prev=cache_file ;;
    955   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    956   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    957     cache_file=$ac_optarg ;;
    958 
    959   --config-cache | -C)
    960     cache_file=config.cache ;;
    961 
    962   -datadir | --datadir | --datadi | --datad)
    963     ac_prev=datadir ;;
    964   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    965     datadir=$ac_optarg ;;
    966 
    967   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    968   | --dataroo | --dataro | --datar)
    969     ac_prev=datarootdir ;;
    970   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    971   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    972     datarootdir=$ac_optarg ;;
    973 
    974   -disable-* | --disable-*)
    975     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    976     # Reject names that are not valid shell variable names.
    977     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    978       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    979     ac_useropt_orig=$ac_useropt
    980     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    981     case $ac_user_opts in
    982       *"
    983 "enable_$ac_useropt"
    984 "*) ;;
    985       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    986 	 ac_unrecognized_sep=', ';;
    987     esac
    988     eval enable_$ac_useropt=no ;;
    989 
    990   -docdir | --docdir | --docdi | --doc | --do)
    991     ac_prev=docdir ;;
    992   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    993     docdir=$ac_optarg ;;
    994 
    995   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    996     ac_prev=dvidir ;;
    997   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    998     dvidir=$ac_optarg ;;
    999 
   1000   -enable-* | --enable-*)
   1001     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1002     # Reject names that are not valid shell variable names.
   1003     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1004       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1005     ac_useropt_orig=$ac_useropt
   1006     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1007     case $ac_user_opts in
   1008       *"
   1009 "enable_$ac_useropt"
   1010 "*) ;;
   1011       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1012 	 ac_unrecognized_sep=', ';;
   1013     esac
   1014     eval enable_$ac_useropt=\$ac_optarg ;;
   1015 
   1016   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1017   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1018   | --exec | --exe | --ex)
   1019     ac_prev=exec_prefix ;;
   1020   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1021   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1022   | --exec=* | --exe=* | --ex=*)
   1023     exec_prefix=$ac_optarg ;;
   1024 
   1025   -gas | --gas | --ga | --g)
   1026     # Obsolete; use --with-gas.
   1027     with_gas=yes ;;
   1028 
   1029   -help | --help | --hel | --he | -h)
   1030     ac_init_help=long ;;
   1031   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1032     ac_init_help=recursive ;;
   1033   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1034     ac_init_help=short ;;
   1035 
   1036   -host | --host | --hos | --ho)
   1037     ac_prev=host_alias ;;
   1038   -host=* | --host=* | --hos=* | --ho=*)
   1039     host_alias=$ac_optarg ;;
   1040 
   1041   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1042     ac_prev=htmldir ;;
   1043   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1044   | --ht=*)
   1045     htmldir=$ac_optarg ;;
   1046 
   1047   -includedir | --includedir | --includedi | --included | --include \
   1048   | --includ | --inclu | --incl | --inc)
   1049     ac_prev=includedir ;;
   1050   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1051   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1052     includedir=$ac_optarg ;;
   1053 
   1054   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1055     ac_prev=infodir ;;
   1056   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1057     infodir=$ac_optarg ;;
   1058 
   1059   -libdir | --libdir | --libdi | --libd)
   1060     ac_prev=libdir ;;
   1061   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1062     libdir=$ac_optarg ;;
   1063 
   1064   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1065   | --libexe | --libex | --libe)
   1066     ac_prev=libexecdir ;;
   1067   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1068   | --libexe=* | --libex=* | --libe=*)
   1069     libexecdir=$ac_optarg ;;
   1070 
   1071   -localedir | --localedir | --localedi | --localed | --locale)
   1072     ac_prev=localedir ;;
   1073   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1074     localedir=$ac_optarg ;;
   1075 
   1076   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1077   | --localstate | --localstat | --localsta | --localst | --locals)
   1078     ac_prev=localstatedir ;;
   1079   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1080   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1081     localstatedir=$ac_optarg ;;
   1082 
   1083   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1084     ac_prev=mandir ;;
   1085   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1086     mandir=$ac_optarg ;;
   1087 
   1088   -nfp | --nfp | --nf)
   1089     # Obsolete; use --without-fp.
   1090     with_fp=no ;;
   1091 
   1092   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1093   | --no-cr | --no-c | -n)
   1094     no_create=yes ;;
   1095 
   1096   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1097   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1098     no_recursion=yes ;;
   1099 
   1100   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1101   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1102   | --oldin | --oldi | --old | --ol | --o)
   1103     ac_prev=oldincludedir ;;
   1104   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1105   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1106   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1107     oldincludedir=$ac_optarg ;;
   1108 
   1109   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1110     ac_prev=prefix ;;
   1111   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1112     prefix=$ac_optarg ;;
   1113 
   1114   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1115   | --program-pre | --program-pr | --program-p)
   1116     ac_prev=program_prefix ;;
   1117   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1118   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1119     program_prefix=$ac_optarg ;;
   1120 
   1121   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1122   | --program-suf | --program-su | --program-s)
   1123     ac_prev=program_suffix ;;
   1124   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1125   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1126     program_suffix=$ac_optarg ;;
   1127 
   1128   -program-transform-name | --program-transform-name \
   1129   | --program-transform-nam | --program-transform-na \
   1130   | --program-transform-n | --program-transform- \
   1131   | --program-transform | --program-transfor \
   1132   | --program-transfo | --program-transf \
   1133   | --program-trans | --program-tran \
   1134   | --progr-tra | --program-tr | --program-t)
   1135     ac_prev=program_transform_name ;;
   1136   -program-transform-name=* | --program-transform-name=* \
   1137   | --program-transform-nam=* | --program-transform-na=* \
   1138   | --program-transform-n=* | --program-transform-=* \
   1139   | --program-transform=* | --program-transfor=* \
   1140   | --program-transfo=* | --program-transf=* \
   1141   | --program-trans=* | --program-tran=* \
   1142   | --progr-tra=* | --program-tr=* | --program-t=*)
   1143     program_transform_name=$ac_optarg ;;
   1144 
   1145   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1146     ac_prev=pdfdir ;;
   1147   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1148     pdfdir=$ac_optarg ;;
   1149 
   1150   -psdir | --psdir | --psdi | --psd | --ps)
   1151     ac_prev=psdir ;;
   1152   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1153     psdir=$ac_optarg ;;
   1154 
   1155   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1156   | -silent | --silent | --silen | --sile | --sil)
   1157     silent=yes ;;
   1158 
   1159   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1160   | --runstate | --runstat | --runsta | --runst | --runs \
   1161   | --run | --ru | --r)
   1162     ac_prev=runstatedir ;;
   1163   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1164   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1165   | --run=* | --ru=* | --r=*)
   1166     runstatedir=$ac_optarg ;;
   1167 
   1168   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1169     ac_prev=sbindir ;;
   1170   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1171   | --sbi=* | --sb=*)
   1172     sbindir=$ac_optarg ;;
   1173 
   1174   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1175   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1176   | --sharedst | --shareds | --shared | --share | --shar \
   1177   | --sha | --sh)
   1178     ac_prev=sharedstatedir ;;
   1179   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1180   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1181   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1182   | --sha=* | --sh=*)
   1183     sharedstatedir=$ac_optarg ;;
   1184 
   1185   -site | --site | --sit)
   1186     ac_prev=site ;;
   1187   -site=* | --site=* | --sit=*)
   1188     site=$ac_optarg ;;
   1189 
   1190   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1191     ac_prev=srcdir ;;
   1192   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1193     srcdir=$ac_optarg ;;
   1194 
   1195   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1196   | --syscon | --sysco | --sysc | --sys | --sy)
   1197     ac_prev=sysconfdir ;;
   1198   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1199   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1200     sysconfdir=$ac_optarg ;;
   1201 
   1202   -target | --target | --targe | --targ | --tar | --ta | --t)
   1203     ac_prev=target_alias ;;
   1204   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1205     target_alias=$ac_optarg ;;
   1206 
   1207   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1208     verbose=yes ;;
   1209 
   1210   -version | --version | --versio | --versi | --vers | -V)
   1211     ac_init_version=: ;;
   1212 
   1213   -with-* | --with-*)
   1214     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1215     # Reject names that are not valid shell variable names.
   1216     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1217       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1218     ac_useropt_orig=$ac_useropt
   1219     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1220     case $ac_user_opts in
   1221       *"
   1222 "with_$ac_useropt"
   1223 "*) ;;
   1224       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1225 	 ac_unrecognized_sep=', ';;
   1226     esac
   1227     eval with_$ac_useropt=\$ac_optarg ;;
   1228 
   1229   -without-* | --without-*)
   1230     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1231     # Reject names that are not valid shell variable names.
   1232     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1233       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1234     ac_useropt_orig=$ac_useropt
   1235     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1236     case $ac_user_opts in
   1237       *"
   1238 "with_$ac_useropt"
   1239 "*) ;;
   1240       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1241 	 ac_unrecognized_sep=', ';;
   1242     esac
   1243     eval with_$ac_useropt=no ;;
   1244 
   1245   --x)
   1246     # Obsolete; use --with-x.
   1247     with_x=yes ;;
   1248 
   1249   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1250   | --x-incl | --x-inc | --x-in | --x-i)
   1251     ac_prev=x_includes ;;
   1252   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1253   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1254     x_includes=$ac_optarg ;;
   1255 
   1256   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1257   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1258     ac_prev=x_libraries ;;
   1259   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1260   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1261     x_libraries=$ac_optarg ;;
   1262 
   1263   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1264 Try \`$0 --help' for more information"
   1265     ;;
   1266 
   1267   *=*)
   1268     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1269     # Reject names that are not valid shell variable names.
   1270     case $ac_envvar in #(
   1271       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1272       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1273     esac
   1274     eval $ac_envvar=\$ac_optarg
   1275     export $ac_envvar ;;
   1276 
   1277   *)
   1278     # FIXME: should be removed in autoconf 3.0.
   1279     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1280     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1281       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1282     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1283     ;;
   1284 
   1285   esac
   1286 done
   1287 
   1288 if test -n "$ac_prev"; then
   1289   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1290   as_fn_error $? "missing argument to $ac_option"
   1291 fi
   1292 
   1293 if test -n "$ac_unrecognized_opts"; then
   1294   case $enable_option_checking in
   1295     no) ;;
   1296     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1297     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1298   esac
   1299 fi
   1300 
   1301 # Check all directory arguments for consistency.
   1302 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1303 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1304 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1305 		libdir localedir mandir runstatedir
   1306 do
   1307   eval ac_val=\$$ac_var
   1308   # Remove trailing slashes.
   1309   case $ac_val in
   1310     */ )
   1311       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1312       eval $ac_var=\$ac_val;;
   1313   esac
   1314   # Be sure to have absolute directory names.
   1315   case $ac_val in
   1316     [\\/$]* | ?:[\\/]* )  continue;;
   1317     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1318   esac
   1319   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1320 done
   1321 
   1322 # There might be people who depend on the old broken behavior: `$host'
   1323 # used to hold the argument of --host etc.
   1324 # FIXME: To remove some day.
   1325 build=$build_alias
   1326 host=$host_alias
   1327 target=$target_alias
   1328 
   1329 # FIXME: To remove some day.
   1330 if test "x$host_alias" != x; then
   1331   if test "x$build_alias" = x; then
   1332     cross_compiling=maybe
   1333   elif test "x$build_alias" != "x$host_alias"; then
   1334     cross_compiling=yes
   1335   fi
   1336 fi
   1337 
   1338 ac_tool_prefix=
   1339 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1340 
   1341 test "$silent" = yes && exec 6>/dev/null
   1342 
   1343 
   1344 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1345 ac_ls_di=`ls -di .` &&
   1346 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1347   as_fn_error $? "working directory cannot be determined"
   1348 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1349   as_fn_error $? "pwd does not report name of working directory"
   1350 
   1351 
   1352 # Find the source files, if location was not specified.
   1353 if test -z "$srcdir"; then
   1354   ac_srcdir_defaulted=yes
   1355   # Try the directory containing this script, then the parent directory.
   1356   ac_confdir=`$as_dirname -- "$as_myself" ||
   1357 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1358 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1359 	 X"$as_myself" : 'X\(//\)$' \| \
   1360 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1361 printf "%s\n" X"$as_myself" |
   1362     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1363 	    s//\1/
   1364 	    q
   1365 	  }
   1366 	  /^X\(\/\/\)[^/].*/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  /^X\(\/\/\)$/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  /^X\(\/\).*/{
   1375 	    s//\1/
   1376 	    q
   1377 	  }
   1378 	  s/.*/./; q'`
   1379   srcdir=$ac_confdir
   1380   if test ! -r "$srcdir/$ac_unique_file"; then
   1381     srcdir=..
   1382   fi
   1383 else
   1384   ac_srcdir_defaulted=no
   1385 fi
   1386 if test ! -r "$srcdir/$ac_unique_file"; then
   1387   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1388   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1389 fi
   1390 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1391 ac_abs_confdir=`(
   1392 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1393 	pwd)`
   1394 # When building in place, set srcdir=.
   1395 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1396   srcdir=.
   1397 fi
   1398 # Remove unnecessary trailing slashes from srcdir.
   1399 # Double slashes in file names in object file debugging info
   1400 # mess up M-x gdb in Emacs.
   1401 case $srcdir in
   1402 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1403 esac
   1404 for ac_var in $ac_precious_vars; do
   1405   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1406   eval ac_env_${ac_var}_value=\$${ac_var}
   1407   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1408   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1409 done
   1410 
   1411 #
   1412 # Report the --help message.
   1413 #
   1414 if test "$ac_init_help" = "long"; then
   1415   # Omit some internal or obsolete options to make the list less imposing.
   1416   # This message is too long to be a string in the A/UX 3.1 sh.
   1417   cat <<_ACEOF
   1418 \`configure' configures xf86-video-vmware 13.4.0 to adapt to many kinds of systems.
   1419 
   1420 Usage: $0 [OPTION]... [VAR=VALUE]...
   1421 
   1422 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1423 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1424 
   1425 Defaults for the options are specified in brackets.
   1426 
   1427 Configuration:
   1428   -h, --help              display this help and exit
   1429       --help=short        display options specific to this package
   1430       --help=recursive    display the short help of all the included packages
   1431   -V, --version           display version information and exit
   1432   -q, --quiet, --silent   do not print \`checking ...' messages
   1433       --cache-file=FILE   cache test results in FILE [disabled]
   1434   -C, --config-cache      alias for \`--cache-file=config.cache'
   1435   -n, --no-create         do not create output files
   1436       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1437 
   1438 Installation directories:
   1439   --prefix=PREFIX         install architecture-independent files in PREFIX
   1440                           [$ac_default_prefix]
   1441   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1442                           [PREFIX]
   1443 
   1444 By default, \`make install' will install all the files in
   1445 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1446 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1447 for instance \`--prefix=\$HOME'.
   1448 
   1449 For better control, use the options below.
   1450 
   1451 Fine tuning of the installation directories:
   1452   --bindir=DIR            user executables [EPREFIX/bin]
   1453   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1454   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1455   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1456   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1457   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1458   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1459   --libdir=DIR            object code libraries [EPREFIX/lib]
   1460   --includedir=DIR        C header files [PREFIX/include]
   1461   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1462   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1463   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1464   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1465   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1466   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1467   --docdir=DIR            documentation root
   1468                           [DATAROOTDIR/doc/xf86-video-vmware]
   1469   --htmldir=DIR           html documentation [DOCDIR]
   1470   --dvidir=DIR            dvi documentation [DOCDIR]
   1471   --pdfdir=DIR            pdf documentation [DOCDIR]
   1472   --psdir=DIR             ps documentation [DOCDIR]
   1473 _ACEOF
   1474 
   1475   cat <<\_ACEOF
   1476 
   1477 Program names:
   1478   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1479   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1480   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1481 
   1482 System types:
   1483   --build=BUILD     configure for building on BUILD [guessed]
   1484   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1485 _ACEOF
   1486 fi
   1487 
   1488 if test -n "$ac_init_help"; then
   1489   case $ac_init_help in
   1490      short | recursive ) echo "Configuration of xf86-video-vmware 13.4.0:";;
   1491    esac
   1492   cat <<\_ACEOF
   1493 
   1494 Optional Features:
   1495   --disable-option-checking  ignore unrecognized --enable/--with options
   1496   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1497   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1498   --disable-largefile     omit support for large files
   1499   --enable-dependency-tracking
   1500                           do not reject slow dependency extractors
   1501   --disable-dependency-tracking
   1502                           speeds up one-time build
   1503   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1504   --disable-silent-rules  verbose build output (undo: "make V=0")
   1505   --disable-selective-werror
   1506                           Turn off selective compiler errors. (default:
   1507                           enabled)
   1508   --enable-strict-compilation
   1509                           Enable all warnings from compiler and make them
   1510                           errors (default: disabled)
   1511   --enable-static[=PKGS]  build static libraries [default=no]
   1512   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1513   --enable-fast-install[=PKGS]
   1514                           optimize for fast installation [default=yes]
   1515   --disable-libtool-lock  avoid locking (might break parallel builds)
   1516   --enable-vmwarectrl-client
   1517                           Enable vmwarectrl client (default: disabled)
   1518 
   1519 Optional Packages:
   1520   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1521   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1522   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1523                           both]
   1524   --with-aix-soname=aix|svr4|both
   1525                           shared library versioning (aka "SONAME") variant to
   1526                           provide on AIX, [default=aix].
   1527   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1528   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1529                           compiler's sysroot if not specified).
   1530   --with-xorg-module-dir=DIR
   1531                           Default xorg module directory
   1532                           [[default=$libdir/xorg/modules]]
   1533   --without-libudev       Use to build without libudev on linux
   1534 
   1535 Some influential environment variables:
   1536   CC          C compiler command
   1537   CFLAGS      C compiler flags
   1538   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1539               nonstandard directory <lib dir>
   1540   LIBS        libraries to pass to the linker, e.g. -l<library>
   1541   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1542               you have headers in a nonstandard directory <include dir>
   1543   PKG_CONFIG  path to pkg-config utility
   1544   PKG_CONFIG_PATH
   1545               directories to add to pkg-config's search path
   1546   PKG_CONFIG_LIBDIR
   1547               path overriding pkg-config's built-in search path
   1548   LT_SYS_LIBRARY_PATH
   1549               User-defined run-time library search path.
   1550   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1551   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1552   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1553   X11_LIBS    linker flags for X11, overriding pkg-config
   1554   PCIACCESS_CFLAGS
   1555               C compiler flags for PCIACCESS, overriding pkg-config
   1556   PCIACCESS_LIBS
   1557               linker flags for PCIACCESS, overriding pkg-config
   1558   LIBDRM_CFLAGS
   1559               C compiler flags for LIBDRM, overriding pkg-config
   1560   LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
   1561   XATRACKER_CFLAGS
   1562               C compiler flags for XATRACKER, overriding pkg-config
   1563   XATRACKER_LIBS
   1564               linker flags for XATRACKER, overriding pkg-config
   1565   LIBUDEV_CFLAGS
   1566               C compiler flags for LIBUDEV, overriding pkg-config
   1567   LIBUDEV_LIBS
   1568               linker flags for LIBUDEV, overriding pkg-config
   1569 
   1570 Use these variables to override the choices made by `configure' or to help
   1571 it to find libraries and programs with nonstandard names/locations.
   1572 
   1573 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1574 _ACEOF
   1575 ac_status=$?
   1576 fi
   1577 
   1578 if test "$ac_init_help" = "recursive"; then
   1579   # If there are subdirs, report their specific --help.
   1580   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1581     test -d "$ac_dir" ||
   1582       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1583       continue
   1584     ac_builddir=.
   1585 
   1586 case "$ac_dir" in
   1587 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1588 *)
   1589   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1590   # A ".." for each directory in $ac_dir_suffix.
   1591   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1592   case $ac_top_builddir_sub in
   1593   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1594   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1595   esac ;;
   1596 esac
   1597 ac_abs_top_builddir=$ac_pwd
   1598 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1599 # for backward compatibility:
   1600 ac_top_builddir=$ac_top_build_prefix
   1601 
   1602 case $srcdir in
   1603   .)  # We are building in place.
   1604     ac_srcdir=.
   1605     ac_top_srcdir=$ac_top_builddir_sub
   1606     ac_abs_top_srcdir=$ac_pwd ;;
   1607   [\\/]* | ?:[\\/]* )  # Absolute name.
   1608     ac_srcdir=$srcdir$ac_dir_suffix;
   1609     ac_top_srcdir=$srcdir
   1610     ac_abs_top_srcdir=$srcdir ;;
   1611   *) # Relative name.
   1612     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1613     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1614     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1615 esac
   1616 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1617 
   1618     cd "$ac_dir" || { ac_status=$?; continue; }
   1619     # Check for configure.gnu first; this name is used for a wrapper for
   1620     # Metaconfig's "Configure" on case-insensitive file systems.
   1621     if test -f "$ac_srcdir/configure.gnu"; then
   1622       echo &&
   1623       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1624     elif test -f "$ac_srcdir/configure"; then
   1625       echo &&
   1626       $SHELL "$ac_srcdir/configure" --help=recursive
   1627     else
   1628       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1629     fi || ac_status=$?
   1630     cd "$ac_pwd" || { ac_status=$?; break; }
   1631   done
   1632 fi
   1633 
   1634 test -n "$ac_init_help" && exit $ac_status
   1635 if $ac_init_version; then
   1636   cat <<\_ACEOF
   1637 xf86-video-vmware configure 13.4.0
   1638 generated by GNU Autoconf 2.71
   1639 
   1640 Copyright (C) 2021 Free Software Foundation, Inc.
   1641 This configure script is free software; the Free Software Foundation
   1642 gives unlimited permission to copy, distribute and modify it.
   1643 _ACEOF
   1644   exit
   1645 fi
   1646 
   1647 ## ------------------------ ##
   1648 ## Autoconf initialization. ##
   1649 ## ------------------------ ##
   1650 
   1651 # ac_fn_c_try_compile LINENO
   1652 # --------------------------
   1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1654 ac_fn_c_try_compile ()
   1655 {
   1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1657   rm -f conftest.$ac_objext conftest.beam
   1658   if { { ac_try="$ac_compile"
   1659 case "(($ac_try" in
   1660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1661   *) ac_try_echo=$ac_try;;
   1662 esac
   1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1664 printf "%s\n" "$ac_try_echo"; } >&5
   1665   (eval "$ac_compile") 2>conftest.err
   1666   ac_status=$?
   1667   if test -s conftest.err; then
   1668     grep -v '^ *+' conftest.err >conftest.er1
   1669     cat conftest.er1 >&5
   1670     mv -f conftest.er1 conftest.err
   1671   fi
   1672   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1673   test $ac_status = 0; } && {
   1674 	 test -z "$ac_c_werror_flag" ||
   1675 	 test ! -s conftest.err
   1676        } && test -s conftest.$ac_objext
   1677 then :
   1678   ac_retval=0
   1679 else $as_nop
   1680   printf "%s\n" "$as_me: failed program was:" >&5
   1681 sed 's/^/| /' conftest.$ac_ext >&5
   1682 
   1683 	ac_retval=1
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_compile
   1689 
   1690 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1691 # ------------------------------------------------------------------
   1692 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1693 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1694 ac_fn_check_decl ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1699 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1700 if eval test \${$3+y}
   1701 then :
   1702   printf %s "(cached) " >&6
   1703 else $as_nop
   1704   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1705   eval ac_save_FLAGS=\$$6
   1706   as_fn_append $6 " $5"
   1707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1708 /* end confdefs.h.  */
   1709 $4
   1710 int
   1711 main (void)
   1712 {
   1713 #ifndef $as_decl_name
   1714 #ifdef __cplusplus
   1715   (void) $as_decl_use;
   1716 #else
   1717   (void) $as_decl_name;
   1718 #endif
   1719 #endif
   1720 
   1721   ;
   1722   return 0;
   1723 }
   1724 _ACEOF
   1725 if ac_fn_c_try_compile "$LINENO"
   1726 then :
   1727   eval "$3=yes"
   1728 else $as_nop
   1729   eval "$3=no"
   1730 fi
   1731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1732   eval $6=\$ac_save_FLAGS
   1733 
   1734 fi
   1735 eval ac_res=\$$3
   1736 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1737 printf "%s\n" "$ac_res" >&6; }
   1738   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1739 
   1740 } # ac_fn_check_decl
   1741 
   1742 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1743 # -------------------------------------------------------
   1744 # Tests whether HEADER exists and can be compiled using the include files in
   1745 # INCLUDES, setting the cache variable VAR accordingly.
   1746 ac_fn_c_check_header_compile ()
   1747 {
   1748   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1750 printf %s "checking for $2... " >&6; }
   1751 if eval test \${$3+y}
   1752 then :
   1753   printf %s "(cached) " >&6
   1754 else $as_nop
   1755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1756 /* end confdefs.h.  */
   1757 $4
   1758 #include <$2>
   1759 _ACEOF
   1760 if ac_fn_c_try_compile "$LINENO"
   1761 then :
   1762   eval "$3=yes"
   1763 else $as_nop
   1764   eval "$3=no"
   1765 fi
   1766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1767 fi
   1768 eval ac_res=\$$3
   1769 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1770 printf "%s\n" "$ac_res" >&6; }
   1771   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1772 
   1773 } # ac_fn_c_check_header_compile
   1774 
   1775 # ac_fn_c_try_link LINENO
   1776 # -----------------------
   1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1778 ac_fn_c_try_link ()
   1779 {
   1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1781   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1782   if { { ac_try="$ac_link"
   1783 case "(($ac_try" in
   1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1785   *) ac_try_echo=$ac_try;;
   1786 esac
   1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1788 printf "%s\n" "$ac_try_echo"; } >&5
   1789   (eval "$ac_link") 2>conftest.err
   1790   ac_status=$?
   1791   if test -s conftest.err; then
   1792     grep -v '^ *+' conftest.err >conftest.er1
   1793     cat conftest.er1 >&5
   1794     mv -f conftest.er1 conftest.err
   1795   fi
   1796   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1797   test $ac_status = 0; } && {
   1798 	 test -z "$ac_c_werror_flag" ||
   1799 	 test ! -s conftest.err
   1800        } && test -s conftest$ac_exeext && {
   1801 	 test "$cross_compiling" = yes ||
   1802 	 test -x conftest$ac_exeext
   1803        }
   1804 then :
   1805   ac_retval=0
   1806 else $as_nop
   1807   printf "%s\n" "$as_me: failed program was:" >&5
   1808 sed 's/^/| /' conftest.$ac_ext >&5
   1809 
   1810 	ac_retval=1
   1811 fi
   1812   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1813   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1814   # interfere with the next link command; also delete a directory that is
   1815   # left behind by Apple's compiler.  We do this before executing the actions.
   1816   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1818   as_fn_set_status $ac_retval
   1819 
   1820 } # ac_fn_c_try_link
   1821 
   1822 # ac_fn_c_check_func LINENO FUNC VAR
   1823 # ----------------------------------
   1824 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1825 ac_fn_c_check_func ()
   1826 {
   1827   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1829 printf %s "checking for $2... " >&6; }
   1830 if eval test \${$3+y}
   1831 then :
   1832   printf %s "(cached) " >&6
   1833 else $as_nop
   1834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1835 /* end confdefs.h.  */
   1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1838 #define $2 innocuous_$2
   1839 
   1840 /* System header to define __stub macros and hopefully few prototypes,
   1841    which can conflict with char $2 (); below.  */
   1842 
   1843 #include <limits.h>
   1844 #undef $2
   1845 
   1846 /* Override any GCC internal prototype to avoid an error.
   1847    Use char because int might match the return type of a GCC
   1848    builtin and then its argument prototype would still apply.  */
   1849 #ifdef __cplusplus
   1850 extern "C"
   1851 #endif
   1852 char $2 ();
   1853 /* The GNU C library defines this for functions which it implements
   1854     to always fail with ENOSYS.  Some functions are actually named
   1855     something starting with __ and the normal name is an alias.  */
   1856 #if defined __stub_$2 || defined __stub___$2
   1857 choke me
   1858 #endif
   1859 
   1860 int
   1861 main (void)
   1862 {
   1863 return $2 ();
   1864   ;
   1865   return 0;
   1866 }
   1867 _ACEOF
   1868 if ac_fn_c_try_link "$LINENO"
   1869 then :
   1870   eval "$3=yes"
   1871 else $as_nop
   1872   eval "$3=no"
   1873 fi
   1874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1875     conftest$ac_exeext conftest.$ac_ext
   1876 fi
   1877 eval ac_res=\$$3
   1878 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1879 printf "%s\n" "$ac_res" >&6; }
   1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1881 
   1882 } # ac_fn_c_check_func
   1883 ac_configure_args_raw=
   1884 for ac_arg
   1885 do
   1886   case $ac_arg in
   1887   *\'*)
   1888     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1889   esac
   1890   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1891 done
   1892 
   1893 case $ac_configure_args_raw in
   1894   *$as_nl*)
   1895     ac_safe_unquote= ;;
   1896   *)
   1897     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1898     ac_unsafe_a="$ac_unsafe_z#~"
   1899     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1900     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1901 esac
   1902 
   1903 cat >config.log <<_ACEOF
   1904 This file contains any messages produced by compilers while
   1905 running configure, to aid debugging if configure makes a mistake.
   1906 
   1907 It was created by xf86-video-vmware $as_me 13.4.0, which was
   1908 generated by GNU Autoconf 2.71.  Invocation command line was
   1909 
   1910   $ $0$ac_configure_args_raw
   1911 
   1912 _ACEOF
   1913 exec 5>>config.log
   1914 {
   1915 cat <<_ASUNAME
   1916 ## --------- ##
   1917 ## Platform. ##
   1918 ## --------- ##
   1919 
   1920 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1921 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1922 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1923 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1924 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1925 
   1926 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1927 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1928 
   1929 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1930 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1931 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1932 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1933 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1934 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1935 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1936 
   1937 _ASUNAME
   1938 
   1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1940 for as_dir in $PATH
   1941 do
   1942   IFS=$as_save_IFS
   1943   case $as_dir in #(((
   1944     '') as_dir=./ ;;
   1945     */) ;;
   1946     *) as_dir=$as_dir/ ;;
   1947   esac
   1948     printf "%s\n" "PATH: $as_dir"
   1949   done
   1950 IFS=$as_save_IFS
   1951 
   1952 } >&5
   1953 
   1954 cat >&5 <<_ACEOF
   1955 
   1956 
   1957 ## ----------- ##
   1958 ## Core tests. ##
   1959 ## ----------- ##
   1960 
   1961 _ACEOF
   1962 
   1963 
   1964 # Keep a trace of the command line.
   1965 # Strip out --no-create and --no-recursion so they do not pile up.
   1966 # Strip out --silent because we don't want to record it for future runs.
   1967 # Also quote any args containing shell meta-characters.
   1968 # Make two passes to allow for proper duplicate-argument suppression.
   1969 ac_configure_args=
   1970 ac_configure_args0=
   1971 ac_configure_args1=
   1972 ac_must_keep_next=false
   1973 for ac_pass in 1 2
   1974 do
   1975   for ac_arg
   1976   do
   1977     case $ac_arg in
   1978     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1979     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1980     | -silent | --silent | --silen | --sile | --sil)
   1981       continue ;;
   1982     *\'*)
   1983       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1984     esac
   1985     case $ac_pass in
   1986     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1987     2)
   1988       as_fn_append ac_configure_args1 " '$ac_arg'"
   1989       if test $ac_must_keep_next = true; then
   1990 	ac_must_keep_next=false # Got value, back to normal.
   1991       else
   1992 	case $ac_arg in
   1993 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1994 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1995 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1996 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1997 	    case "$ac_configure_args0 " in
   1998 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1999 	    esac
   2000 	    ;;
   2001 	  -* ) ac_must_keep_next=true ;;
   2002 	esac
   2003       fi
   2004       as_fn_append ac_configure_args " '$ac_arg'"
   2005       ;;
   2006     esac
   2007   done
   2008 done
   2009 { ac_configure_args0=; unset ac_configure_args0;}
   2010 { ac_configure_args1=; unset ac_configure_args1;}
   2011 
   2012 # When interrupted or exit'd, cleanup temporary files, and complete
   2013 # config.log.  We remove comments because anyway the quotes in there
   2014 # would cause problems or look ugly.
   2015 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2017 trap 'exit_status=$?
   2018   # Sanitize IFS.
   2019   IFS=" ""	$as_nl"
   2020   # Save into config.log some information that might help in debugging.
   2021   {
   2022     echo
   2023 
   2024     printf "%s\n" "## ---------------- ##
   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_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2036 printf "%s\n" "$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     printf "%s\n" "## ----------------- ##
   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=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2069       esac
   2070       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2071     done | sort
   2072     echo
   2073 
   2074     if test -n "$ac_subst_files"; then
   2075       printf "%s\n" "## ------------------- ##
   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=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2084 	esac
   2085 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2086       done | sort
   2087       echo
   2088     fi
   2089 
   2090     if test -s confdefs.h; then
   2091       printf "%s\n" "## ----------- ##
   2092 ## confdefs.h. ##
   2093 ## ----------- ##"
   2094       echo
   2095       cat confdefs.h
   2096       echo
   2097     fi
   2098     test "$ac_signal" != 0 &&
   2099       printf "%s\n" "$as_me: caught signal $ac_signal"
   2100     printf "%s\n" "$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 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2115 
   2116 # Predefined preprocessor variables.
   2117 
   2118 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2119 
   2120 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2121 
   2122 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2123 
   2124 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2125 
   2126 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2127 
   2128 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2129 
   2130 
   2131 # Let the site file select an alternate cache file if it wants to.
   2132 # Prefer an explicitly selected file to automatically selected ones.
   2133 if test -n "$CONFIG_SITE"; then
   2134   ac_site_files="$CONFIG_SITE"
   2135 elif test "x$prefix" != xNONE; then
   2136   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2137 else
   2138   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2139 fi
   2140 
   2141 for ac_site_file in $ac_site_files
   2142 do
   2143   case $ac_site_file in #(
   2144   */*) :
   2145      ;; #(
   2146   *) :
   2147     ac_site_file=./$ac_site_file ;;
   2148 esac
   2149   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2150     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2151 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2152     sed 's/^/| /' "$ac_site_file" >&5
   2153     . "$ac_site_file" \
   2154       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2155 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2156 as_fn_error $? "failed to load site script $ac_site_file
   2157 See \`config.log' for more details" "$LINENO" 5; }
   2158   fi
   2159 done
   2160 
   2161 if test -r "$cache_file"; then
   2162   # Some versions of bash will fail to source /dev/null (special files
   2163   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2164   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2165     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2166 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2167     case $cache_file in
   2168       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2169       *)                      . "./$cache_file";;
   2170     esac
   2171   fi
   2172 else
   2173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2174 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2175   >$cache_file
   2176 fi
   2177 
   2178 # Test code for whether the C compiler supports C89 (global declarations)
   2179 ac_c_conftest_c89_globals='
   2180 /* Does the compiler advertise C89 conformance?
   2181    Do not test the value of __STDC__, because some compilers set it to 0
   2182    while being otherwise adequately conformant. */
   2183 #if !defined __STDC__
   2184 # error "Compiler does not advertise C89 conformance"
   2185 #endif
   2186 
   2187 #include <stddef.h>
   2188 #include <stdarg.h>
   2189 struct stat;
   2190 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2191 struct buf { int x; };
   2192 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2193 static char *e (p, i)
   2194      char **p;
   2195      int i;
   2196 {
   2197   return p[i];
   2198 }
   2199 static char *f (char * (*g) (char **, int), char **p, ...)
   2200 {
   2201   char *s;
   2202   va_list v;
   2203   va_start (v,p);
   2204   s = g (p, va_arg (v,int));
   2205   va_end (v);
   2206   return s;
   2207 }
   2208 
   2209 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2210    function prototypes and stuff, but not \xHH hex character constants.
   2211    These do not provoke an error unfortunately, instead are silently treated
   2212    as an "x".  The following induces an error, until -std is added to get
   2213    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2214    array size at least.  It is necessary to write \x00 == 0 to get something
   2215    that is true only with -std.  */
   2216 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2217 
   2218 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2219    inside strings and character constants.  */
   2220 #define FOO(x) '\''x'\''
   2221 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2222 
   2223 int test (int i, double x);
   2224 struct s1 {int (*f) (int a);};
   2225 struct s2 {int (*f) (double a);};
   2226 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2227                int, int);'
   2228 
   2229 # Test code for whether the C compiler supports C89 (body of main).
   2230 ac_c_conftest_c89_main='
   2231 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2232 '
   2233 
   2234 # Test code for whether the C compiler supports C99 (global declarations)
   2235 ac_c_conftest_c99_globals='
   2236 // Does the compiler advertise C99 conformance?
   2237 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2238 # error "Compiler does not advertise C99 conformance"
   2239 #endif
   2240 
   2241 #include <stdbool.h>
   2242 extern int puts (const char *);
   2243 extern int printf (const char *, ...);
   2244 extern int dprintf (int, const char *, ...);
   2245 extern void *malloc (size_t);
   2246 
   2247 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2248 // dprintf is used instead of fprintf to avoid needing to declare
   2249 // FILE and stderr.
   2250 #define debug(...) dprintf (2, __VA_ARGS__)
   2251 #define showlist(...) puts (#__VA_ARGS__)
   2252 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2253 static void
   2254 test_varargs_macros (void)
   2255 {
   2256   int x = 1234;
   2257   int y = 5678;
   2258   debug ("Flag");
   2259   debug ("X = %d\n", x);
   2260   showlist (The first, second, and third items.);
   2261   report (x>y, "x is %d but y is %d", x, y);
   2262 }
   2263 
   2264 // Check long long types.
   2265 #define BIG64 18446744073709551615ull
   2266 #define BIG32 4294967295ul
   2267 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2268 #if !BIG_OK
   2269   #error "your preprocessor is broken"
   2270 #endif
   2271 #if BIG_OK
   2272 #else
   2273   #error "your preprocessor is broken"
   2274 #endif
   2275 static long long int bignum = -9223372036854775807LL;
   2276 static unsigned long long int ubignum = BIG64;
   2277 
   2278 struct incomplete_array
   2279 {
   2280   int datasize;
   2281   double data[];
   2282 };
   2283 
   2284 struct named_init {
   2285   int number;
   2286   const wchar_t *name;
   2287   double average;
   2288 };
   2289 
   2290 typedef const char *ccp;
   2291 
   2292 static inline int
   2293 test_restrict (ccp restrict text)
   2294 {
   2295   // See if C++-style comments work.
   2296   // Iterate through items via the restricted pointer.
   2297   // Also check for declarations in for loops.
   2298   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2299     continue;
   2300   return 0;
   2301 }
   2302 
   2303 // Check varargs and va_copy.
   2304 static bool
   2305 test_varargs (const char *format, ...)
   2306 {
   2307   va_list args;
   2308   va_start (args, format);
   2309   va_list args_copy;
   2310   va_copy (args_copy, args);
   2311 
   2312   const char *str = "";
   2313   int number = 0;
   2314   float fnumber = 0;
   2315 
   2316   while (*format)
   2317     {
   2318       switch (*format++)
   2319 	{
   2320 	case '\''s'\'': // string
   2321 	  str = va_arg (args_copy, const char *);
   2322 	  break;
   2323 	case '\''d'\'': // int
   2324 	  number = va_arg (args_copy, int);
   2325 	  break;
   2326 	case '\''f'\'': // float
   2327 	  fnumber = va_arg (args_copy, double);
   2328 	  break;
   2329 	default:
   2330 	  break;
   2331 	}
   2332     }
   2333   va_end (args_copy);
   2334   va_end (args);
   2335 
   2336   return *str && number && fnumber;
   2337 }
   2338 '
   2339 
   2340 # Test code for whether the C compiler supports C99 (body of main).
   2341 ac_c_conftest_c99_main='
   2342   // Check bool.
   2343   _Bool success = false;
   2344   success |= (argc != 0);
   2345 
   2346   // Check restrict.
   2347   if (test_restrict ("String literal") == 0)
   2348     success = true;
   2349   char *restrict newvar = "Another string";
   2350 
   2351   // Check varargs.
   2352   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2353   test_varargs_macros ();
   2354 
   2355   // Check flexible array members.
   2356   struct incomplete_array *ia =
   2357     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2358   ia->datasize = 10;
   2359   for (int i = 0; i < ia->datasize; ++i)
   2360     ia->data[i] = i * 1.234;
   2361 
   2362   // Check named initializers.
   2363   struct named_init ni = {
   2364     .number = 34,
   2365     .name = L"Test wide string",
   2366     .average = 543.34343,
   2367   };
   2368 
   2369   ni.number = 58;
   2370 
   2371   int dynamic_array[ni.number];
   2372   dynamic_array[0] = argv[0][0];
   2373   dynamic_array[ni.number - 1] = 543;
   2374 
   2375   // work around unused variable warnings
   2376   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2377 	 || dynamic_array[ni.number - 1] != 543);
   2378 '
   2379 
   2380 # Test code for whether the C compiler supports C11 (global declarations)
   2381 ac_c_conftest_c11_globals='
   2382 // Does the compiler advertise C11 conformance?
   2383 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2384 # error "Compiler does not advertise C11 conformance"
   2385 #endif
   2386 
   2387 // Check _Alignas.
   2388 char _Alignas (double) aligned_as_double;
   2389 char _Alignas (0) no_special_alignment;
   2390 extern char aligned_as_int;
   2391 char _Alignas (0) _Alignas (int) aligned_as_int;
   2392 
   2393 // Check _Alignof.
   2394 enum
   2395 {
   2396   int_alignment = _Alignof (int),
   2397   int_array_alignment = _Alignof (int[100]),
   2398   char_alignment = _Alignof (char)
   2399 };
   2400 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2401 
   2402 // Check _Noreturn.
   2403 int _Noreturn does_not_return (void) { for (;;) continue; }
   2404 
   2405 // Check _Static_assert.
   2406 struct test_static_assert
   2407 {
   2408   int x;
   2409   _Static_assert (sizeof (int) <= sizeof (long int),
   2410                   "_Static_assert does not work in struct");
   2411   long int y;
   2412 };
   2413 
   2414 // Check UTF-8 literals.
   2415 #define u8 syntax error!
   2416 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2417 
   2418 // Check duplicate typedefs.
   2419 typedef long *long_ptr;
   2420 typedef long int *long_ptr;
   2421 typedef long_ptr long_ptr;
   2422 
   2423 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2424 struct anonymous
   2425 {
   2426   union {
   2427     struct { int i; int j; };
   2428     struct { int k; long int l; } w;
   2429   };
   2430   int m;
   2431 } v1;
   2432 '
   2433 
   2434 # Test code for whether the C compiler supports C11 (body of main).
   2435 ac_c_conftest_c11_main='
   2436   _Static_assert ((offsetof (struct anonymous, i)
   2437 		   == offsetof (struct anonymous, w.k)),
   2438 		  "Anonymous union alignment botch");
   2439   v1.i = 2;
   2440   v1.w.k = 5;
   2441   ok |= v1.i != 5;
   2442 '
   2443 
   2444 # Test code for whether the C compiler supports C11 (complete).
   2445 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2446 ${ac_c_conftest_c99_globals}
   2447 ${ac_c_conftest_c11_globals}
   2448 
   2449 int
   2450 main (int argc, char **argv)
   2451 {
   2452   int ok = 0;
   2453   ${ac_c_conftest_c89_main}
   2454   ${ac_c_conftest_c99_main}
   2455   ${ac_c_conftest_c11_main}
   2456   return ok;
   2457 }
   2458 "
   2459 
   2460 # Test code for whether the C compiler supports C99 (complete).
   2461 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2462 ${ac_c_conftest_c99_globals}
   2463 
   2464 int
   2465 main (int argc, char **argv)
   2466 {
   2467   int ok = 0;
   2468   ${ac_c_conftest_c89_main}
   2469   ${ac_c_conftest_c99_main}
   2470   return ok;
   2471 }
   2472 "
   2473 
   2474 # Test code for whether the C compiler supports C89 (complete).
   2475 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2476 
   2477 int
   2478 main (int argc, char **argv)
   2479 {
   2480   int ok = 0;
   2481   ${ac_c_conftest_c89_main}
   2482   return ok;
   2483 }
   2484 "
   2485 
   2486 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2487 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2488 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2489 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2490 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2491 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2492 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2493 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2494 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2495 
   2496 # Auxiliary files required by this configure script.
   2497 ac_aux_files="ltmain.sh config.guess config.sub missing install-sh compile"
   2498 
   2499 # Locations in which to look for auxiliary files.
   2500 ac_aux_dir_candidates="${srcdir}/."
   2501 
   2502 # Search for a directory containing all of the required auxiliary files,
   2503 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2504 # If we don't find one directory that contains all the files we need,
   2505 # we report the set of missing files from the *first* directory in
   2506 # $ac_aux_dir_candidates and give up.
   2507 ac_missing_aux_files=""
   2508 ac_first_candidate=:
   2509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2511 as_found=false
   2512 for as_dir in $ac_aux_dir_candidates
   2513 do
   2514   IFS=$as_save_IFS
   2515   case $as_dir in #(((
   2516     '') as_dir=./ ;;
   2517     */) ;;
   2518     *) as_dir=$as_dir/ ;;
   2519   esac
   2520   as_found=:
   2521 
   2522   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2523   ac_aux_dir_found=yes
   2524   ac_install_sh=
   2525   for ac_aux in $ac_aux_files
   2526   do
   2527     # As a special case, if "install-sh" is required, that requirement
   2528     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2529     # and $ac_install_sh is set appropriately for whichever one is found.
   2530     if test x"$ac_aux" = x"install-sh"
   2531     then
   2532       if test -f "${as_dir}install-sh"; then
   2533         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2534         ac_install_sh="${as_dir}install-sh -c"
   2535       elif test -f "${as_dir}install.sh"; then
   2536         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2537         ac_install_sh="${as_dir}install.sh -c"
   2538       elif test -f "${as_dir}shtool"; then
   2539         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2540         ac_install_sh="${as_dir}shtool install -c"
   2541       else
   2542         ac_aux_dir_found=no
   2543         if $ac_first_candidate; then
   2544           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2545         else
   2546           break
   2547         fi
   2548       fi
   2549     else
   2550       if test -f "${as_dir}${ac_aux}"; then
   2551         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2552       else
   2553         ac_aux_dir_found=no
   2554         if $ac_first_candidate; then
   2555           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2556         else
   2557           break
   2558         fi
   2559       fi
   2560     fi
   2561   done
   2562   if test "$ac_aux_dir_found" = yes; then
   2563     ac_aux_dir="$as_dir"
   2564     break
   2565   fi
   2566   ac_first_candidate=false
   2567 
   2568   as_found=false
   2569 done
   2570 IFS=$as_save_IFS
   2571 if $as_found
   2572 then :
   2573 
   2574 else $as_nop
   2575   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2576 fi
   2577 
   2578 
   2579 # These three variables are undocumented and unsupported,
   2580 # and are intended to be withdrawn in a future Autoconf release.
   2581 # They can cause serious problems if a builder's source tree is in a directory
   2582 # whose full name contains unusual characters.
   2583 if test -f "${ac_aux_dir}config.guess"; then
   2584   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2585 fi
   2586 if test -f "${ac_aux_dir}config.sub"; then
   2587   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2588 fi
   2589 if test -f "$ac_aux_dir/configure"; then
   2590   ac_configure="$SHELL ${ac_aux_dir}configure"
   2591 fi
   2592 
   2593 # Check that the precious variables saved in the cache have kept the same
   2594 # value.
   2595 ac_cache_corrupted=false
   2596 for ac_var in $ac_precious_vars; do
   2597   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2598   eval ac_new_set=\$ac_env_${ac_var}_set
   2599   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2600   eval ac_new_val=\$ac_env_${ac_var}_value
   2601   case $ac_old_set,$ac_new_set in
   2602     set,)
   2603       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2604 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2605       ac_cache_corrupted=: ;;
   2606     ,set)
   2607       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2608 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2609       ac_cache_corrupted=: ;;
   2610     ,);;
   2611     *)
   2612       if test "x$ac_old_val" != "x$ac_new_val"; then
   2613 	# differences in whitespace do not lead to failure.
   2614 	ac_old_val_w=`echo x $ac_old_val`
   2615 	ac_new_val_w=`echo x $ac_new_val`
   2616 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2617 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2618 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2619 	  ac_cache_corrupted=:
   2620 	else
   2621 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2622 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2623 	  eval $ac_var=\$ac_old_val
   2624 	fi
   2625 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2626 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2628 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2629       fi;;
   2630   esac
   2631   # Pass precious variables to config.status.
   2632   if test "$ac_new_set" = set; then
   2633     case $ac_new_val in
   2634     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2635     *) ac_arg=$ac_var=$ac_new_val ;;
   2636     esac
   2637     case " $ac_configure_args " in
   2638       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2639       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2640     esac
   2641   fi
   2642 done
   2643 if $ac_cache_corrupted; then
   2644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2645 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2647 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2648   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2649 	    and start over" "$LINENO" 5
   2650 fi
   2651 ## -------------------- ##
   2652 ## Main body of script. ##
   2653 ## -------------------- ##
   2654 
   2655 ac_ext=c
   2656 ac_cpp='$CPP $CPPFLAGS'
   2657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2660 
   2661 
   2662 
   2663 ac_config_headers="$ac_config_headers config.h"
   2664 
   2665 
   2666 
   2667 
   2668 
   2669 
   2670 
   2671 
   2672 
   2673 
   2674 
   2675 
   2676 
   2677 # Expand $ac_aux_dir to an absolute path.
   2678 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2679 
   2680 ac_ext=c
   2681 ac_cpp='$CPP $CPPFLAGS'
   2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2685 if test -n "$ac_tool_prefix"; then
   2686   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2687 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2689 printf %s "checking for $ac_word... " >&6; }
   2690 if test ${ac_cv_prog_CC+y}
   2691 then :
   2692   printf %s "(cached) " >&6
   2693 else $as_nop
   2694   if test -n "$CC"; then
   2695   ac_cv_prog_CC="$CC" # Let the user override the test.
   2696 else
   2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2698 for as_dir in $PATH
   2699 do
   2700   IFS=$as_save_IFS
   2701   case $as_dir in #(((
   2702     '') as_dir=./ ;;
   2703     */) ;;
   2704     *) as_dir=$as_dir/ ;;
   2705   esac
   2706     for ac_exec_ext in '' $ac_executable_extensions; do
   2707   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2708     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2709     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2710     break 2
   2711   fi
   2712 done
   2713   done
   2714 IFS=$as_save_IFS
   2715 
   2716 fi
   2717 fi
   2718 CC=$ac_cv_prog_CC
   2719 if test -n "$CC"; then
   2720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2721 printf "%s\n" "$CC" >&6; }
   2722 else
   2723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2724 printf "%s\n" "no" >&6; }
   2725 fi
   2726 
   2727 
   2728 fi
   2729 if test -z "$ac_cv_prog_CC"; then
   2730   ac_ct_CC=$CC
   2731   # Extract the first word of "gcc", so it can be a program name with args.
   2732 set dummy gcc; ac_word=$2
   2733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2734 printf %s "checking for $ac_word... " >&6; }
   2735 if test ${ac_cv_prog_ac_ct_CC+y}
   2736 then :
   2737   printf %s "(cached) " >&6
   2738 else $as_nop
   2739   if test -n "$ac_ct_CC"; then
   2740   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2741 else
   2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2743 for as_dir in $PATH
   2744 do
   2745   IFS=$as_save_IFS
   2746   case $as_dir in #(((
   2747     '') as_dir=./ ;;
   2748     */) ;;
   2749     *) as_dir=$as_dir/ ;;
   2750   esac
   2751     for ac_exec_ext in '' $ac_executable_extensions; do
   2752   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2753     ac_cv_prog_ac_ct_CC="gcc"
   2754     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2755     break 2
   2756   fi
   2757 done
   2758   done
   2759 IFS=$as_save_IFS
   2760 
   2761 fi
   2762 fi
   2763 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2764 if test -n "$ac_ct_CC"; then
   2765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2766 printf "%s\n" "$ac_ct_CC" >&6; }
   2767 else
   2768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2769 printf "%s\n" "no" >&6; }
   2770 fi
   2771 
   2772   if test "x$ac_ct_CC" = x; then
   2773     CC=""
   2774   else
   2775     case $cross_compiling:$ac_tool_warned in
   2776 yes:)
   2777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2778 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2779 ac_tool_warned=yes ;;
   2780 esac
   2781     CC=$ac_ct_CC
   2782   fi
   2783 else
   2784   CC="$ac_cv_prog_CC"
   2785 fi
   2786 
   2787 if test -z "$CC"; then
   2788           if test -n "$ac_tool_prefix"; then
   2789     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2790 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2792 printf %s "checking for $ac_word... " >&6; }
   2793 if test ${ac_cv_prog_CC+y}
   2794 then :
   2795   printf %s "(cached) " >&6
   2796 else $as_nop
   2797   if test -n "$CC"; then
   2798   ac_cv_prog_CC="$CC" # Let the user override the test.
   2799 else
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   case $as_dir in #(((
   2805     '') as_dir=./ ;;
   2806     */) ;;
   2807     *) as_dir=$as_dir/ ;;
   2808   esac
   2809     for ac_exec_ext in '' $ac_executable_extensions; do
   2810   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2811     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2812     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2813     break 2
   2814   fi
   2815 done
   2816   done
   2817 IFS=$as_save_IFS
   2818 
   2819 fi
   2820 fi
   2821 CC=$ac_cv_prog_CC
   2822 if test -n "$CC"; then
   2823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2824 printf "%s\n" "$CC" >&6; }
   2825 else
   2826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2827 printf "%s\n" "no" >&6; }
   2828 fi
   2829 
   2830 
   2831   fi
   2832 fi
   2833 if test -z "$CC"; then
   2834   # Extract the first word of "cc", so it can be a program name with args.
   2835 set dummy cc; ac_word=$2
   2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2837 printf %s "checking for $ac_word... " >&6; }
   2838 if test ${ac_cv_prog_CC+y}
   2839 then :
   2840   printf %s "(cached) " >&6
   2841 else $as_nop
   2842   if test -n "$CC"; then
   2843   ac_cv_prog_CC="$CC" # Let the user override the test.
   2844 else
   2845   ac_prog_rejected=no
   2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2847 for as_dir in $PATH
   2848 do
   2849   IFS=$as_save_IFS
   2850   case $as_dir in #(((
   2851     '') as_dir=./ ;;
   2852     */) ;;
   2853     *) as_dir=$as_dir/ ;;
   2854   esac
   2855     for ac_exec_ext in '' $ac_executable_extensions; do
   2856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2857     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2858        ac_prog_rejected=yes
   2859        continue
   2860      fi
   2861     ac_cv_prog_CC="cc"
   2862     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2863     break 2
   2864   fi
   2865 done
   2866   done
   2867 IFS=$as_save_IFS
   2868 
   2869 if test $ac_prog_rejected = yes; then
   2870   # We found a bogon in the path, so make sure we never use it.
   2871   set dummy $ac_cv_prog_CC
   2872   shift
   2873   if test $# != 0; then
   2874     # We chose a different compiler from the bogus one.
   2875     # However, it has the same basename, so the bogon will be chosen
   2876     # first if we set CC to just the basename; use the full file name.
   2877     shift
   2878     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   2879   fi
   2880 fi
   2881 fi
   2882 fi
   2883 CC=$ac_cv_prog_CC
   2884 if test -n "$CC"; then
   2885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2886 printf "%s\n" "$CC" >&6; }
   2887 else
   2888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2889 printf "%s\n" "no" >&6; }
   2890 fi
   2891 
   2892 
   2893 fi
   2894 if test -z "$CC"; then
   2895   if test -n "$ac_tool_prefix"; then
   2896   for ac_prog in cl.exe
   2897   do
   2898     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2901 printf %s "checking for $ac_word... " >&6; }
   2902 if test ${ac_cv_prog_CC+y}
   2903 then :
   2904   printf %s "(cached) " >&6
   2905 else $as_nop
   2906   if test -n "$CC"; then
   2907   ac_cv_prog_CC="$CC" # Let the user override the test.
   2908 else
   2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2910 for as_dir in $PATH
   2911 do
   2912   IFS=$as_save_IFS
   2913   case $as_dir in #(((
   2914     '') as_dir=./ ;;
   2915     */) ;;
   2916     *) as_dir=$as_dir/ ;;
   2917   esac
   2918     for ac_exec_ext in '' $ac_executable_extensions; do
   2919   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2920     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2921     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2922     break 2
   2923   fi
   2924 done
   2925   done
   2926 IFS=$as_save_IFS
   2927 
   2928 fi
   2929 fi
   2930 CC=$ac_cv_prog_CC
   2931 if test -n "$CC"; then
   2932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2933 printf "%s\n" "$CC" >&6; }
   2934 else
   2935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2936 printf "%s\n" "no" >&6; }
   2937 fi
   2938 
   2939 
   2940     test -n "$CC" && break
   2941   done
   2942 fi
   2943 if test -z "$CC"; then
   2944   ac_ct_CC=$CC
   2945   for ac_prog in cl.exe
   2946 do
   2947   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2948 set dummy $ac_prog; ac_word=$2
   2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2950 printf %s "checking for $ac_word... " >&6; }
   2951 if test ${ac_cv_prog_ac_ct_CC+y}
   2952 then :
   2953   printf %s "(cached) " >&6
   2954 else $as_nop
   2955   if test -n "$ac_ct_CC"; then
   2956   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2957 else
   2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2959 for as_dir in $PATH
   2960 do
   2961   IFS=$as_save_IFS
   2962   case $as_dir in #(((
   2963     '') as_dir=./ ;;
   2964     */) ;;
   2965     *) as_dir=$as_dir/ ;;
   2966   esac
   2967     for ac_exec_ext in '' $ac_executable_extensions; do
   2968   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2969     ac_cv_prog_ac_ct_CC="$ac_prog"
   2970     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2971     break 2
   2972   fi
   2973 done
   2974   done
   2975 IFS=$as_save_IFS
   2976 
   2977 fi
   2978 fi
   2979 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2980 if test -n "$ac_ct_CC"; then
   2981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2982 printf "%s\n" "$ac_ct_CC" >&6; }
   2983 else
   2984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2985 printf "%s\n" "no" >&6; }
   2986 fi
   2987 
   2988 
   2989   test -n "$ac_ct_CC" && break
   2990 done
   2991 
   2992   if test "x$ac_ct_CC" = x; then
   2993     CC=""
   2994   else
   2995     case $cross_compiling:$ac_tool_warned in
   2996 yes:)
   2997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2998 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2999 ac_tool_warned=yes ;;
   3000 esac
   3001     CC=$ac_ct_CC
   3002   fi
   3003 fi
   3004 
   3005 fi
   3006 if test -z "$CC"; then
   3007   if test -n "$ac_tool_prefix"; then
   3008   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3009 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3011 printf %s "checking for $ac_word... " >&6; }
   3012 if test ${ac_cv_prog_CC+y}
   3013 then :
   3014   printf %s "(cached) " >&6
   3015 else $as_nop
   3016   if test -n "$CC"; then
   3017   ac_cv_prog_CC="$CC" # Let the user override the test.
   3018 else
   3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3020 for as_dir in $PATH
   3021 do
   3022   IFS=$as_save_IFS
   3023   case $as_dir in #(((
   3024     '') as_dir=./ ;;
   3025     */) ;;
   3026     *) as_dir=$as_dir/ ;;
   3027   esac
   3028     for ac_exec_ext in '' $ac_executable_extensions; do
   3029   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3030     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3031     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3032     break 2
   3033   fi
   3034 done
   3035   done
   3036 IFS=$as_save_IFS
   3037 
   3038 fi
   3039 fi
   3040 CC=$ac_cv_prog_CC
   3041 if test -n "$CC"; then
   3042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3043 printf "%s\n" "$CC" >&6; }
   3044 else
   3045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3046 printf "%s\n" "no" >&6; }
   3047 fi
   3048 
   3049 
   3050 fi
   3051 if test -z "$ac_cv_prog_CC"; then
   3052   ac_ct_CC=$CC
   3053   # Extract the first word of "clang", so it can be a program name with args.
   3054 set dummy clang; ac_word=$2
   3055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3056 printf %s "checking for $ac_word... " >&6; }
   3057 if test ${ac_cv_prog_ac_ct_CC+y}
   3058 then :
   3059   printf %s "(cached) " >&6
   3060 else $as_nop
   3061   if test -n "$ac_ct_CC"; then
   3062   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3063 else
   3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3065 for as_dir in $PATH
   3066 do
   3067   IFS=$as_save_IFS
   3068   case $as_dir in #(((
   3069     '') as_dir=./ ;;
   3070     */) ;;
   3071     *) as_dir=$as_dir/ ;;
   3072   esac
   3073     for ac_exec_ext in '' $ac_executable_extensions; do
   3074   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3075     ac_cv_prog_ac_ct_CC="clang"
   3076     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3077     break 2
   3078   fi
   3079 done
   3080   done
   3081 IFS=$as_save_IFS
   3082 
   3083 fi
   3084 fi
   3085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3086 if test -n "$ac_ct_CC"; then
   3087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3088 printf "%s\n" "$ac_ct_CC" >&6; }
   3089 else
   3090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3091 printf "%s\n" "no" >&6; }
   3092 fi
   3093 
   3094   if test "x$ac_ct_CC" = x; then
   3095     CC=""
   3096   else
   3097     case $cross_compiling:$ac_tool_warned in
   3098 yes:)
   3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3100 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3101 ac_tool_warned=yes ;;
   3102 esac
   3103     CC=$ac_ct_CC
   3104   fi
   3105 else
   3106   CC="$ac_cv_prog_CC"
   3107 fi
   3108 
   3109 fi
   3110 
   3111 
   3112 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3113 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3114 as_fn_error $? "no acceptable C compiler found in \$PATH
   3115 See \`config.log' for more details" "$LINENO" 5; }
   3116 
   3117 # Provide some information about the compiler.
   3118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3119 set X $ac_compile
   3120 ac_compiler=$2
   3121 for ac_option in --version -v -V -qversion -version; do
   3122   { { ac_try="$ac_compiler $ac_option >&5"
   3123 case "(($ac_try" in
   3124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3125   *) ac_try_echo=$ac_try;;
   3126 esac
   3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3128 printf "%s\n" "$ac_try_echo"; } >&5
   3129   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3130   ac_status=$?
   3131   if test -s conftest.err; then
   3132     sed '10a\
   3133 ... rest of stderr output deleted ...
   3134          10q' conftest.err >conftest.er1
   3135     cat conftest.er1 >&5
   3136   fi
   3137   rm -f conftest.er1 conftest.err
   3138   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3139   test $ac_status = 0; }
   3140 done
   3141 
   3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3143 /* end confdefs.h.  */
   3144 
   3145 int
   3146 main (void)
   3147 {
   3148 
   3149   ;
   3150   return 0;
   3151 }
   3152 _ACEOF
   3153 ac_clean_files_save=$ac_clean_files
   3154 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3155 # Try to create an executable without -o first, disregard a.out.
   3156 # It will help us diagnose broken compilers, and finding out an intuition
   3157 # of exeext.
   3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3159 printf %s "checking whether the C compiler works... " >&6; }
   3160 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3161 
   3162 # The possible output files:
   3163 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3164 
   3165 ac_rmfiles=
   3166 for ac_file in $ac_files
   3167 do
   3168   case $ac_file in
   3169     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3170     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3171   esac
   3172 done
   3173 rm -f $ac_rmfiles
   3174 
   3175 if { { ac_try="$ac_link_default"
   3176 case "(($ac_try" in
   3177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3178   *) ac_try_echo=$ac_try;;
   3179 esac
   3180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3181 printf "%s\n" "$ac_try_echo"; } >&5
   3182   (eval "$ac_link_default") 2>&5
   3183   ac_status=$?
   3184   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3185   test $ac_status = 0; }
   3186 then :
   3187   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3188 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3189 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3190 # so that the user can short-circuit this test for compilers unknown to
   3191 # Autoconf.
   3192 for ac_file in $ac_files ''
   3193 do
   3194   test -f "$ac_file" || continue
   3195   case $ac_file in
   3196     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3197 	;;
   3198     [ab].out )
   3199 	# We found the default executable, but exeext='' is most
   3200 	# certainly right.
   3201 	break;;
   3202     *.* )
   3203 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3204 	then :; else
   3205 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3206 	fi
   3207 	# We set ac_cv_exeext here because the later test for it is not
   3208 	# safe: cross compilers may not add the suffix if given an `-o'
   3209 	# argument, so we may need to know it at that point already.
   3210 	# Even if this section looks crufty: it has the advantage of
   3211 	# actually working.
   3212 	break;;
   3213     * )
   3214 	break;;
   3215   esac
   3216 done
   3217 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3218 
   3219 else $as_nop
   3220   ac_file=''
   3221 fi
   3222 if test -z "$ac_file"
   3223 then :
   3224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3225 printf "%s\n" "no" >&6; }
   3226 printf "%s\n" "$as_me: failed program was:" >&5
   3227 sed 's/^/| /' conftest.$ac_ext >&5
   3228 
   3229 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3230 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3231 as_fn_error 77 "C compiler cannot create executables
   3232 See \`config.log' for more details" "$LINENO" 5; }
   3233 else $as_nop
   3234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3235 printf "%s\n" "yes" >&6; }
   3236 fi
   3237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3238 printf %s "checking for C compiler default output file name... " >&6; }
   3239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3240 printf "%s\n" "$ac_file" >&6; }
   3241 ac_exeext=$ac_cv_exeext
   3242 
   3243 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3244 ac_clean_files=$ac_clean_files_save
   3245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3246 printf %s "checking for suffix of executables... " >&6; }
   3247 if { { ac_try="$ac_link"
   3248 case "(($ac_try" in
   3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3250   *) ac_try_echo=$ac_try;;
   3251 esac
   3252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3253 printf "%s\n" "$ac_try_echo"; } >&5
   3254   (eval "$ac_link") 2>&5
   3255   ac_status=$?
   3256   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3257   test $ac_status = 0; }
   3258 then :
   3259   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3260 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3261 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3262 # `rm'.
   3263 for ac_file in conftest.exe conftest conftest.*; do
   3264   test -f "$ac_file" || continue
   3265   case $ac_file in
   3266     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3267     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3268 	  break;;
   3269     * ) break;;
   3270   esac
   3271 done
   3272 else $as_nop
   3273   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3274 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3275 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3276 See \`config.log' for more details" "$LINENO" 5; }
   3277 fi
   3278 rm -f conftest conftest$ac_cv_exeext
   3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3280 printf "%s\n" "$ac_cv_exeext" >&6; }
   3281 
   3282 rm -f conftest.$ac_ext
   3283 EXEEXT=$ac_cv_exeext
   3284 ac_exeext=$EXEEXT
   3285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3286 /* end confdefs.h.  */
   3287 #include <stdio.h>
   3288 int
   3289 main (void)
   3290 {
   3291 FILE *f = fopen ("conftest.out", "w");
   3292  return ferror (f) || fclose (f) != 0;
   3293 
   3294   ;
   3295   return 0;
   3296 }
   3297 _ACEOF
   3298 ac_clean_files="$ac_clean_files conftest.out"
   3299 # Check that the compiler produces executables we can run.  If not, either
   3300 # the compiler is broken, or we cross compile.
   3301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3302 printf %s "checking whether we are cross compiling... " >&6; }
   3303 if test "$cross_compiling" != yes; then
   3304   { { ac_try="$ac_link"
   3305 case "(($ac_try" in
   3306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3307   *) ac_try_echo=$ac_try;;
   3308 esac
   3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3310 printf "%s\n" "$ac_try_echo"; } >&5
   3311   (eval "$ac_link") 2>&5
   3312   ac_status=$?
   3313   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3314   test $ac_status = 0; }
   3315   if { ac_try='./conftest$ac_cv_exeext'
   3316   { { case "(($ac_try" in
   3317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3318   *) ac_try_echo=$ac_try;;
   3319 esac
   3320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3321 printf "%s\n" "$ac_try_echo"; } >&5
   3322   (eval "$ac_try") 2>&5
   3323   ac_status=$?
   3324   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3325   test $ac_status = 0; }; }; then
   3326     cross_compiling=no
   3327   else
   3328     if test "$cross_compiling" = maybe; then
   3329 	cross_compiling=yes
   3330     else
   3331 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3332 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3333 as_fn_error 77 "cannot run C compiled programs.
   3334 If you meant to cross compile, use \`--host'.
   3335 See \`config.log' for more details" "$LINENO" 5; }
   3336     fi
   3337   fi
   3338 fi
   3339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3340 printf "%s\n" "$cross_compiling" >&6; }
   3341 
   3342 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3343 ac_clean_files=$ac_clean_files_save
   3344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3345 printf %s "checking for suffix of object files... " >&6; }
   3346 if test ${ac_cv_objext+y}
   3347 then :
   3348   printf %s "(cached) " >&6
   3349 else $as_nop
   3350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3351 /* end confdefs.h.  */
   3352 
   3353 int
   3354 main (void)
   3355 {
   3356 
   3357   ;
   3358   return 0;
   3359 }
   3360 _ACEOF
   3361 rm -f conftest.o conftest.obj
   3362 if { { ac_try="$ac_compile"
   3363 case "(($ac_try" in
   3364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3365   *) ac_try_echo=$ac_try;;
   3366 esac
   3367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3368 printf "%s\n" "$ac_try_echo"; } >&5
   3369   (eval "$ac_compile") 2>&5
   3370   ac_status=$?
   3371   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3372   test $ac_status = 0; }
   3373 then :
   3374   for ac_file in conftest.o conftest.obj conftest.*; do
   3375   test -f "$ac_file" || continue;
   3376   case $ac_file in
   3377     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3378     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3379        break;;
   3380   esac
   3381 done
   3382 else $as_nop
   3383   printf "%s\n" "$as_me: failed program was:" >&5
   3384 sed 's/^/| /' conftest.$ac_ext >&5
   3385 
   3386 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3387 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3388 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3389 See \`config.log' for more details" "$LINENO" 5; }
   3390 fi
   3391 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3392 fi
   3393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3394 printf "%s\n" "$ac_cv_objext" >&6; }
   3395 OBJEXT=$ac_cv_objext
   3396 ac_objext=$OBJEXT
   3397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3398 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3399 if test ${ac_cv_c_compiler_gnu+y}
   3400 then :
   3401   printf %s "(cached) " >&6
   3402 else $as_nop
   3403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3404 /* end confdefs.h.  */
   3405 
   3406 int
   3407 main (void)
   3408 {
   3409 #ifndef __GNUC__
   3410        choke me
   3411 #endif
   3412 
   3413   ;
   3414   return 0;
   3415 }
   3416 _ACEOF
   3417 if ac_fn_c_try_compile "$LINENO"
   3418 then :
   3419   ac_compiler_gnu=yes
   3420 else $as_nop
   3421   ac_compiler_gnu=no
   3422 fi
   3423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3424 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3425 
   3426 fi
   3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3428 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3430 
   3431 if test $ac_compiler_gnu = yes; then
   3432   GCC=yes
   3433 else
   3434   GCC=
   3435 fi
   3436 ac_test_CFLAGS=${CFLAGS+y}
   3437 ac_save_CFLAGS=$CFLAGS
   3438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3439 printf %s "checking whether $CC accepts -g... " >&6; }
   3440 if test ${ac_cv_prog_cc_g+y}
   3441 then :
   3442   printf %s "(cached) " >&6
   3443 else $as_nop
   3444   ac_save_c_werror_flag=$ac_c_werror_flag
   3445    ac_c_werror_flag=yes
   3446    ac_cv_prog_cc_g=no
   3447    CFLAGS="-g"
   3448    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3449 /* end confdefs.h.  */
   3450 
   3451 int
   3452 main (void)
   3453 {
   3454 
   3455   ;
   3456   return 0;
   3457 }
   3458 _ACEOF
   3459 if ac_fn_c_try_compile "$LINENO"
   3460 then :
   3461   ac_cv_prog_cc_g=yes
   3462 else $as_nop
   3463   CFLAGS=""
   3464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3465 /* end confdefs.h.  */
   3466 
   3467 int
   3468 main (void)
   3469 {
   3470 
   3471   ;
   3472   return 0;
   3473 }
   3474 _ACEOF
   3475 if ac_fn_c_try_compile "$LINENO"
   3476 then :
   3477 
   3478 else $as_nop
   3479   ac_c_werror_flag=$ac_save_c_werror_flag
   3480 	 CFLAGS="-g"
   3481 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3482 /* end confdefs.h.  */
   3483 
   3484 int
   3485 main (void)
   3486 {
   3487 
   3488   ;
   3489   return 0;
   3490 }
   3491 _ACEOF
   3492 if ac_fn_c_try_compile "$LINENO"
   3493 then :
   3494   ac_cv_prog_cc_g=yes
   3495 fi
   3496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3497 fi
   3498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3499 fi
   3500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3501    ac_c_werror_flag=$ac_save_c_werror_flag
   3502 fi
   3503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3504 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3505 if test $ac_test_CFLAGS; then
   3506   CFLAGS=$ac_save_CFLAGS
   3507 elif test $ac_cv_prog_cc_g = yes; then
   3508   if test "$GCC" = yes; then
   3509     CFLAGS="-g -O2"
   3510   else
   3511     CFLAGS="-g"
   3512   fi
   3513 else
   3514   if test "$GCC" = yes; then
   3515     CFLAGS="-O2"
   3516   else
   3517     CFLAGS=
   3518   fi
   3519 fi
   3520 ac_prog_cc_stdc=no
   3521 if test x$ac_prog_cc_stdc = xno
   3522 then :
   3523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3524 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3525 if test ${ac_cv_prog_cc_c11+y}
   3526 then :
   3527   printf %s "(cached) " >&6
   3528 else $as_nop
   3529   ac_cv_prog_cc_c11=no
   3530 ac_save_CC=$CC
   3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3532 /* end confdefs.h.  */
   3533 $ac_c_conftest_c11_program
   3534 _ACEOF
   3535 for ac_arg in '' -std=gnu11
   3536 do
   3537   CC="$ac_save_CC $ac_arg"
   3538   if ac_fn_c_try_compile "$LINENO"
   3539 then :
   3540   ac_cv_prog_cc_c11=$ac_arg
   3541 fi
   3542 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3543   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3544 done
   3545 rm -f conftest.$ac_ext
   3546 CC=$ac_save_CC
   3547 fi
   3548 
   3549 if test "x$ac_cv_prog_cc_c11" = xno
   3550 then :
   3551   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3552 printf "%s\n" "unsupported" >&6; }
   3553 else $as_nop
   3554   if test "x$ac_cv_prog_cc_c11" = x
   3555 then :
   3556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3557 printf "%s\n" "none needed" >&6; }
   3558 else $as_nop
   3559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3560 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3561      CC="$CC $ac_cv_prog_cc_c11"
   3562 fi
   3563   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3564   ac_prog_cc_stdc=c11
   3565 fi
   3566 fi
   3567 if test x$ac_prog_cc_stdc = xno
   3568 then :
   3569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3570 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3571 if test ${ac_cv_prog_cc_c99+y}
   3572 then :
   3573   printf %s "(cached) " >&6
   3574 else $as_nop
   3575   ac_cv_prog_cc_c99=no
   3576 ac_save_CC=$CC
   3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3578 /* end confdefs.h.  */
   3579 $ac_c_conftest_c99_program
   3580 _ACEOF
   3581 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3582 do
   3583   CC="$ac_save_CC $ac_arg"
   3584   if ac_fn_c_try_compile "$LINENO"
   3585 then :
   3586   ac_cv_prog_cc_c99=$ac_arg
   3587 fi
   3588 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3589   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3590 done
   3591 rm -f conftest.$ac_ext
   3592 CC=$ac_save_CC
   3593 fi
   3594 
   3595 if test "x$ac_cv_prog_cc_c99" = xno
   3596 then :
   3597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3598 printf "%s\n" "unsupported" >&6; }
   3599 else $as_nop
   3600   if test "x$ac_cv_prog_cc_c99" = x
   3601 then :
   3602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3603 printf "%s\n" "none needed" >&6; }
   3604 else $as_nop
   3605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3606 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3607      CC="$CC $ac_cv_prog_cc_c99"
   3608 fi
   3609   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3610   ac_prog_cc_stdc=c99
   3611 fi
   3612 fi
   3613 if test x$ac_prog_cc_stdc = xno
   3614 then :
   3615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3616 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3617 if test ${ac_cv_prog_cc_c89+y}
   3618 then :
   3619   printf %s "(cached) " >&6
   3620 else $as_nop
   3621   ac_cv_prog_cc_c89=no
   3622 ac_save_CC=$CC
   3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 $ac_c_conftest_c89_program
   3626 _ACEOF
   3627 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3628 do
   3629   CC="$ac_save_CC $ac_arg"
   3630   if ac_fn_c_try_compile "$LINENO"
   3631 then :
   3632   ac_cv_prog_cc_c89=$ac_arg
   3633 fi
   3634 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3635   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3636 done
   3637 rm -f conftest.$ac_ext
   3638 CC=$ac_save_CC
   3639 fi
   3640 
   3641 if test "x$ac_cv_prog_cc_c89" = xno
   3642 then :
   3643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3644 printf "%s\n" "unsupported" >&6; }
   3645 else $as_nop
   3646   if test "x$ac_cv_prog_cc_c89" = x
   3647 then :
   3648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3649 printf "%s\n" "none needed" >&6; }
   3650 else $as_nop
   3651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3652 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3653      CC="$CC $ac_cv_prog_cc_c89"
   3654 fi
   3655   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3656   ac_prog_cc_stdc=c89
   3657 fi
   3658 fi
   3659 
   3660 ac_ext=c
   3661 ac_cpp='$CPP $CPPFLAGS'
   3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3665 
   3666 
   3667   ac_ext=c
   3668 ac_cpp='$CPP $CPPFLAGS'
   3669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3673 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3674 if test ${am_cv_prog_cc_c_o+y}
   3675 then :
   3676   printf %s "(cached) " >&6
   3677 else $as_nop
   3678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3679 /* end confdefs.h.  */
   3680 
   3681 int
   3682 main (void)
   3683 {
   3684 
   3685   ;
   3686   return 0;
   3687 }
   3688 _ACEOF
   3689   # Make sure it works both with $CC and with simple cc.
   3690   # Following AC_PROG_CC_C_O, we do the test twice because some
   3691   # compilers refuse to overwrite an existing .o file with -o,
   3692   # though they will create one.
   3693   am_cv_prog_cc_c_o=yes
   3694   for am_i in 1 2; do
   3695     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3696    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3697    ac_status=$?
   3698    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3699    (exit $ac_status); } \
   3700          && test -f conftest2.$ac_objext; then
   3701       : OK
   3702     else
   3703       am_cv_prog_cc_c_o=no
   3704       break
   3705     fi
   3706   done
   3707   rm -f core conftest*
   3708   unset am_i
   3709 fi
   3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3711 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3712 if test "$am_cv_prog_cc_c_o" != yes; then
   3713    # Losing compiler, so override with the script.
   3714    # FIXME: It is wrong to rewrite CC.
   3715    # But if we don't then we get into trouble of one sort or another.
   3716    # A longer-term fix would be to have automake use am__CC in this case,
   3717    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3718    CC="$am_aux_dir/compile $CC"
   3719 fi
   3720 ac_ext=c
   3721 ac_cpp='$CPP $CPPFLAGS'
   3722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3725 
   3726 
   3727 
   3728 # Check whether --enable-largefile was given.
   3729 if test ${enable_largefile+y}
   3730 then :
   3731   enableval=$enable_largefile;
   3732 fi
   3733 
   3734 if test "$enable_largefile" != no; then
   3735 
   3736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   3737 printf %s "checking for special C compiler options needed for large files... " >&6; }
   3738 if test ${ac_cv_sys_largefile_CC+y}
   3739 then :
   3740   printf %s "(cached) " >&6
   3741 else $as_nop
   3742   ac_cv_sys_largefile_CC=no
   3743      if test "$GCC" != yes; then
   3744        ac_save_CC=$CC
   3745        while :; do
   3746 	 # IRIX 6.2 and later do not support large files by default,
   3747 	 # so use the C compiler's -n32 option if that helps.
   3748 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3749 /* end confdefs.h.  */
   3750 #include <sys/types.h>
   3751  /* Check that off_t can represent 2**63 - 1 correctly.
   3752     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3753     since some C++ compilers masquerading as C compilers
   3754     incorrectly reject 9223372036854775807.  */
   3755 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   3756   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3757 		       && LARGE_OFF_T % 2147483647 == 1)
   3758 		      ? 1 : -1];
   3759 int
   3760 main (void)
   3761 {
   3762 
   3763   ;
   3764   return 0;
   3765 }
   3766 _ACEOF
   3767 	 if ac_fn_c_try_compile "$LINENO"
   3768 then :
   3769   break
   3770 fi
   3771 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3772 	 CC="$CC -n32"
   3773 	 if ac_fn_c_try_compile "$LINENO"
   3774 then :
   3775   ac_cv_sys_largefile_CC=' -n32'; break
   3776 fi
   3777 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3778 	 break
   3779        done
   3780        CC=$ac_save_CC
   3781        rm -f conftest.$ac_ext
   3782     fi
   3783 fi
   3784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   3785 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
   3786   if test "$ac_cv_sys_largefile_CC" != no; then
   3787     CC=$CC$ac_cv_sys_largefile_CC
   3788   fi
   3789 
   3790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   3791 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   3792 if test ${ac_cv_sys_file_offset_bits+y}
   3793 then :
   3794   printf %s "(cached) " >&6
   3795 else $as_nop
   3796   while :; do
   3797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3798 /* end confdefs.h.  */
   3799 #include <sys/types.h>
   3800  /* Check that off_t can represent 2**63 - 1 correctly.
   3801     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3802     since some C++ compilers masquerading as C compilers
   3803     incorrectly reject 9223372036854775807.  */
   3804 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   3805   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3806 		       && LARGE_OFF_T % 2147483647 == 1)
   3807 		      ? 1 : -1];
   3808 int
   3809 main (void)
   3810 {
   3811 
   3812   ;
   3813   return 0;
   3814 }
   3815 _ACEOF
   3816 if ac_fn_c_try_compile "$LINENO"
   3817 then :
   3818   ac_cv_sys_file_offset_bits=no; break
   3819 fi
   3820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3822 /* end confdefs.h.  */
   3823 #define _FILE_OFFSET_BITS 64
   3824 #include <sys/types.h>
   3825  /* Check that off_t can represent 2**63 - 1 correctly.
   3826     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3827     since some C++ compilers masquerading as C compilers
   3828     incorrectly reject 9223372036854775807.  */
   3829 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   3830   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3831 		       && LARGE_OFF_T % 2147483647 == 1)
   3832 		      ? 1 : -1];
   3833 int
   3834 main (void)
   3835 {
   3836 
   3837   ;
   3838   return 0;
   3839 }
   3840 _ACEOF
   3841 if ac_fn_c_try_compile "$LINENO"
   3842 then :
   3843   ac_cv_sys_file_offset_bits=64; break
   3844 fi
   3845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3846   ac_cv_sys_file_offset_bits=unknown
   3847   break
   3848 done
   3849 fi
   3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   3851 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
   3852 case $ac_cv_sys_file_offset_bits in #(
   3853   no | unknown) ;;
   3854   *)
   3855 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
   3856 ;;
   3857 esac
   3858 rm -rf conftest*
   3859   if test $ac_cv_sys_file_offset_bits = unknown; then
   3860     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   3861 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
   3862 if test ${ac_cv_sys_large_files+y}
   3863 then :
   3864   printf %s "(cached) " >&6
   3865 else $as_nop
   3866   while :; do
   3867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3868 /* end confdefs.h.  */
   3869 #include <sys/types.h>
   3870  /* Check that off_t can represent 2**63 - 1 correctly.
   3871     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3872     since some C++ compilers masquerading as C compilers
   3873     incorrectly reject 9223372036854775807.  */
   3874 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   3875   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3876 		       && LARGE_OFF_T % 2147483647 == 1)
   3877 		      ? 1 : -1];
   3878 int
   3879 main (void)
   3880 {
   3881 
   3882   ;
   3883   return 0;
   3884 }
   3885 _ACEOF
   3886 if ac_fn_c_try_compile "$LINENO"
   3887 then :
   3888   ac_cv_sys_large_files=no; break
   3889 fi
   3890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3892 /* end confdefs.h.  */
   3893 #define _LARGE_FILES 1
   3894 #include <sys/types.h>
   3895  /* Check that off_t can represent 2**63 - 1 correctly.
   3896     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   3897     since some C++ compilers masquerading as C compilers
   3898     incorrectly reject 9223372036854775807.  */
   3899 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   3900   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   3901 		       && LARGE_OFF_T % 2147483647 == 1)
   3902 		      ? 1 : -1];
   3903 int
   3904 main (void)
   3905 {
   3906 
   3907   ;
   3908   return 0;
   3909 }
   3910 _ACEOF
   3911 if ac_fn_c_try_compile "$LINENO"
   3912 then :
   3913   ac_cv_sys_large_files=1; break
   3914 fi
   3915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3916   ac_cv_sys_large_files=unknown
   3917   break
   3918 done
   3919 fi
   3920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   3921 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
   3922 case $ac_cv_sys_large_files in #(
   3923   no | unknown) ;;
   3924   *)
   3925 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
   3926 ;;
   3927 esac
   3928 rm -rf conftest*
   3929   fi
   3930 fi
   3931 
   3932 
   3933 # Initialize Automake
   3934 am__api_version='1.16'
   3935 
   3936 
   3937   # Find a good install program.  We prefer a C program (faster),
   3938 # so one script is as good as another.  But avoid the broken or
   3939 # incompatible versions:
   3940 # SysV /etc/install, /usr/sbin/install
   3941 # SunOS /usr/etc/install
   3942 # IRIX /sbin/install
   3943 # AIX /bin/install
   3944 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3945 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3946 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3947 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3948 # OS/2's system install, which has a completely different semantic
   3949 # ./install, which can be erroneously created by make from ./install.sh.
   3950 # Reject install programs that cannot install multiple files.
   3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3952 printf %s "checking for a BSD-compatible install... " >&6; }
   3953 if test -z "$INSTALL"; then
   3954 if test ${ac_cv_path_install+y}
   3955 then :
   3956   printf %s "(cached) " >&6
   3957 else $as_nop
   3958   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3959 for as_dir in $PATH
   3960 do
   3961   IFS=$as_save_IFS
   3962   case $as_dir in #(((
   3963     '') as_dir=./ ;;
   3964     */) ;;
   3965     *) as_dir=$as_dir/ ;;
   3966   esac
   3967     # Account for fact that we put trailing slashes in our PATH walk.
   3968 case $as_dir in #((
   3969   ./ | /[cC]/* | \
   3970   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3971   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3972   /usr/ucb/* ) ;;
   3973   *)
   3974     # OSF1 and SCO ODT 3.0 have their own names for install.
   3975     # Don't use installbsd from OSF since it installs stuff as root
   3976     # by default.
   3977     for ac_prog in ginstall scoinst install; do
   3978       for ac_exec_ext in '' $ac_executable_extensions; do
   3979 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3980 	  if test $ac_prog = install &&
   3981 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3982 	    # AIX install.  It has an incompatible calling convention.
   3983 	    :
   3984 	  elif test $ac_prog = install &&
   3985 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3986 	    # program-specific install script used by HP pwplus--don't use.
   3987 	    :
   3988 	  else
   3989 	    rm -rf conftest.one conftest.two conftest.dir
   3990 	    echo one > conftest.one
   3991 	    echo two > conftest.two
   3992 	    mkdir conftest.dir
   3993 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3994 	      test -s conftest.one && test -s conftest.two &&
   3995 	      test -s conftest.dir/conftest.one &&
   3996 	      test -s conftest.dir/conftest.two
   3997 	    then
   3998 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3999 	      break 3
   4000 	    fi
   4001 	  fi
   4002 	fi
   4003       done
   4004     done
   4005     ;;
   4006 esac
   4007 
   4008   done
   4009 IFS=$as_save_IFS
   4010 
   4011 rm -rf conftest.one conftest.two conftest.dir
   4012 
   4013 fi
   4014   if test ${ac_cv_path_install+y}; then
   4015     INSTALL=$ac_cv_path_install
   4016   else
   4017     # As a last resort, use the slow shell script.  Don't cache a
   4018     # value for INSTALL within a source directory, because that will
   4019     # break other packages using the cache if that directory is
   4020     # removed, or if the value is a relative name.
   4021     INSTALL=$ac_install_sh
   4022   fi
   4023 fi
   4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4025 printf "%s\n" "$INSTALL" >&6; }
   4026 
   4027 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4028 # It thinks the first close brace ends the variable substitution.
   4029 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4030 
   4031 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4032 
   4033 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4034 
   4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4036 printf %s "checking whether build environment is sane... " >&6; }
   4037 # Reject unsafe characters in $srcdir or the absolute working directory
   4038 # name.  Accept space and tab only in the latter.
   4039 am_lf='
   4040 '
   4041 case `pwd` in
   4042   *[\\\"\#\$\&\'\`$am_lf]*)
   4043     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4044 esac
   4045 case $srcdir in
   4046   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4047     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4048 esac
   4049 
   4050 # Do 'set' in a subshell so we don't clobber the current shell's
   4051 # arguments.  Must try -L first in case configure is actually a
   4052 # symlink; some systems play weird games with the mod time of symlinks
   4053 # (eg FreeBSD returns the mod time of the symlink's containing
   4054 # directory).
   4055 if (
   4056    am_has_slept=no
   4057    for am_try in 1 2; do
   4058      echo "timestamp, slept: $am_has_slept" > conftest.file
   4059      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4060      if test "$*" = "X"; then
   4061 	# -L didn't work.
   4062 	set X `ls -t "$srcdir/configure" conftest.file`
   4063      fi
   4064      if test "$*" != "X $srcdir/configure conftest.file" \
   4065 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4066 
   4067 	# If neither matched, then we have a broken ls.  This can happen
   4068 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4069 	# broken ls alias from the environment.  This has actually
   4070 	# happened.  Such a system could not be considered "sane".
   4071 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4072   alias in your environment" "$LINENO" 5
   4073      fi
   4074      if test "$2" = conftest.file || test $am_try -eq 2; then
   4075        break
   4076      fi
   4077      # Just in case.
   4078      sleep 1
   4079      am_has_slept=yes
   4080    done
   4081    test "$2" = conftest.file
   4082    )
   4083 then
   4084    # Ok.
   4085    :
   4086 else
   4087    as_fn_error $? "newly created file is older than distributed files!
   4088 Check your system clock" "$LINENO" 5
   4089 fi
   4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4091 printf "%s\n" "yes" >&6; }
   4092 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4093 # generated files are strictly newer.
   4094 am_sleep_pid=
   4095 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4096   ( sleep 1 ) &
   4097   am_sleep_pid=$!
   4098 fi
   4099 
   4100 rm -f conftest.file
   4101 
   4102 test "$program_prefix" != NONE &&
   4103   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4104 # Use a double $ so make ignores it.
   4105 test "$program_suffix" != NONE &&
   4106   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4107 # Double any \ or $.
   4108 # By default was `s,x,x', remove it if useless.
   4109 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4110 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4111 
   4112 
   4113   if test x"${MISSING+set}" != xset; then
   4114   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4115 fi
   4116 # Use eval to expand $SHELL
   4117 if eval "$MISSING --is-lightweight"; then
   4118   am_missing_run="$MISSING "
   4119 else
   4120   am_missing_run=
   4121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4122 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4123 fi
   4124 
   4125 if test x"${install_sh+set}" != xset; then
   4126   case $am_aux_dir in
   4127   *\ * | *\	*)
   4128     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4129   *)
   4130     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4131   esac
   4132 fi
   4133 
   4134 # Installed binaries are usually stripped using 'strip' when the user
   4135 # run "make install-strip".  However 'strip' might not be the right
   4136 # tool to use in cross-compilation environments, therefore Automake
   4137 # will honor the 'STRIP' environment variable to overrule this program.
   4138 if test "$cross_compiling" != no; then
   4139   if test -n "$ac_tool_prefix"; then
   4140   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4141 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4143 printf %s "checking for $ac_word... " >&6; }
   4144 if test ${ac_cv_prog_STRIP+y}
   4145 then :
   4146   printf %s "(cached) " >&6
   4147 else $as_nop
   4148   if test -n "$STRIP"; then
   4149   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4150 else
   4151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4152 for as_dir in $PATH
   4153 do
   4154   IFS=$as_save_IFS
   4155   case $as_dir in #(((
   4156     '') as_dir=./ ;;
   4157     */) ;;
   4158     *) as_dir=$as_dir/ ;;
   4159   esac
   4160     for ac_exec_ext in '' $ac_executable_extensions; do
   4161   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4162     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4163     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4164     break 2
   4165   fi
   4166 done
   4167   done
   4168 IFS=$as_save_IFS
   4169 
   4170 fi
   4171 fi
   4172 STRIP=$ac_cv_prog_STRIP
   4173 if test -n "$STRIP"; then
   4174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4175 printf "%s\n" "$STRIP" >&6; }
   4176 else
   4177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4178 printf "%s\n" "no" >&6; }
   4179 fi
   4180 
   4181 
   4182 fi
   4183 if test -z "$ac_cv_prog_STRIP"; then
   4184   ac_ct_STRIP=$STRIP
   4185   # Extract the first word of "strip", so it can be a program name with args.
   4186 set dummy strip; ac_word=$2
   4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4188 printf %s "checking for $ac_word... " >&6; }
   4189 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4190 then :
   4191   printf %s "(cached) " >&6
   4192 else $as_nop
   4193   if test -n "$ac_ct_STRIP"; then
   4194   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4195 else
   4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4197 for as_dir in $PATH
   4198 do
   4199   IFS=$as_save_IFS
   4200   case $as_dir in #(((
   4201     '') as_dir=./ ;;
   4202     */) ;;
   4203     *) as_dir=$as_dir/ ;;
   4204   esac
   4205     for ac_exec_ext in '' $ac_executable_extensions; do
   4206   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4207     ac_cv_prog_ac_ct_STRIP="strip"
   4208     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4209     break 2
   4210   fi
   4211 done
   4212   done
   4213 IFS=$as_save_IFS
   4214 
   4215 fi
   4216 fi
   4217 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4218 if test -n "$ac_ct_STRIP"; then
   4219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4220 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4221 else
   4222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4223 printf "%s\n" "no" >&6; }
   4224 fi
   4225 
   4226   if test "x$ac_ct_STRIP" = x; then
   4227     STRIP=":"
   4228   else
   4229     case $cross_compiling:$ac_tool_warned in
   4230 yes:)
   4231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4232 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4233 ac_tool_warned=yes ;;
   4234 esac
   4235     STRIP=$ac_ct_STRIP
   4236   fi
   4237 else
   4238   STRIP="$ac_cv_prog_STRIP"
   4239 fi
   4240 
   4241 fi
   4242 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4243 
   4244 
   4245   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4246 printf %s "checking for a race-free mkdir -p... " >&6; }
   4247 if test -z "$MKDIR_P"; then
   4248   if test ${ac_cv_path_mkdir+y}
   4249 then :
   4250   printf %s "(cached) " >&6
   4251 else $as_nop
   4252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4253 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4254 do
   4255   IFS=$as_save_IFS
   4256   case $as_dir in #(((
   4257     '') as_dir=./ ;;
   4258     */) ;;
   4259     *) as_dir=$as_dir/ ;;
   4260   esac
   4261     for ac_prog in mkdir gmkdir; do
   4262 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4263 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4264 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4265 	     'mkdir ('*'coreutils) '* | \
   4266 	     'BusyBox '* | \
   4267 	     'mkdir (fileutils) '4.1*)
   4268 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4269 	       break 3;;
   4270 	   esac
   4271 	 done
   4272        done
   4273   done
   4274 IFS=$as_save_IFS
   4275 
   4276 fi
   4277 
   4278   test -d ./--version && rmdir ./--version
   4279   if test ${ac_cv_path_mkdir+y}; then
   4280     MKDIR_P="$ac_cv_path_mkdir -p"
   4281   else
   4282     # As a last resort, use the slow shell script.  Don't cache a
   4283     # value for MKDIR_P within a source directory, because that will
   4284     # break other packages using the cache if that directory is
   4285     # removed, or if the value is a relative name.
   4286     MKDIR_P="$ac_install_sh -d"
   4287   fi
   4288 fi
   4289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4290 printf "%s\n" "$MKDIR_P" >&6; }
   4291 
   4292 for ac_prog in gawk mawk nawk awk
   4293 do
   4294   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4295 set dummy $ac_prog; ac_word=$2
   4296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4297 printf %s "checking for $ac_word... " >&6; }
   4298 if test ${ac_cv_prog_AWK+y}
   4299 then :
   4300   printf %s "(cached) " >&6
   4301 else $as_nop
   4302   if test -n "$AWK"; then
   4303   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4304 else
   4305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4306 for as_dir in $PATH
   4307 do
   4308   IFS=$as_save_IFS
   4309   case $as_dir in #(((
   4310     '') as_dir=./ ;;
   4311     */) ;;
   4312     *) as_dir=$as_dir/ ;;
   4313   esac
   4314     for ac_exec_ext in '' $ac_executable_extensions; do
   4315   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4316     ac_cv_prog_AWK="$ac_prog"
   4317     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4318     break 2
   4319   fi
   4320 done
   4321   done
   4322 IFS=$as_save_IFS
   4323 
   4324 fi
   4325 fi
   4326 AWK=$ac_cv_prog_AWK
   4327 if test -n "$AWK"; then
   4328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4329 printf "%s\n" "$AWK" >&6; }
   4330 else
   4331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4332 printf "%s\n" "no" >&6; }
   4333 fi
   4334 
   4335 
   4336   test -n "$AWK" && break
   4337 done
   4338 
   4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4340 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4341 set x ${MAKE-make}
   4342 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4343 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4344 then :
   4345   printf %s "(cached) " >&6
   4346 else $as_nop
   4347   cat >conftest.make <<\_ACEOF
   4348 SHELL = /bin/sh
   4349 all:
   4350 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4351 _ACEOF
   4352 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4353 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4354   *@@@%%%=?*=@@@%%%*)
   4355     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4356   *)
   4357     eval ac_cv_prog_make_${ac_make}_set=no;;
   4358 esac
   4359 rm -f conftest.make
   4360 fi
   4361 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4363 printf "%s\n" "yes" >&6; }
   4364   SET_MAKE=
   4365 else
   4366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4367 printf "%s\n" "no" >&6; }
   4368   SET_MAKE="MAKE=${MAKE-make}"
   4369 fi
   4370 
   4371 rm -rf .tst 2>/dev/null
   4372 mkdir .tst 2>/dev/null
   4373 if test -d .tst; then
   4374   am__leading_dot=.
   4375 else
   4376   am__leading_dot=_
   4377 fi
   4378 rmdir .tst 2>/dev/null
   4379 
   4380 DEPDIR="${am__leading_dot}deps"
   4381 
   4382 ac_config_commands="$ac_config_commands depfiles"
   4383 
   4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4385 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4386 cat > confinc.mk << 'END'
   4387 am__doit:
   4388 	@echo this is the am__doit target >confinc.out
   4389 .PHONY: am__doit
   4390 END
   4391 am__include="#"
   4392 am__quote=
   4393 # BSD make does it like this.
   4394 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4395 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4396 echo 'include confinc.mk # ignored' > confmf.GNU
   4397 _am_result=no
   4398 for s in GNU BSD; do
   4399   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4400    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4401    ac_status=$?
   4402    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4403    (exit $ac_status); }
   4404   case $?:`cat confinc.out 2>/dev/null` in #(
   4405   '0:this is the am__doit target') :
   4406     case $s in #(
   4407   BSD) :
   4408     am__include='.include' am__quote='"' ;; #(
   4409   *) :
   4410     am__include='include' am__quote='' ;;
   4411 esac ;; #(
   4412   *) :
   4413      ;;
   4414 esac
   4415   if test "$am__include" != "#"; then
   4416     _am_result="yes ($s style)"
   4417     break
   4418   fi
   4419 done
   4420 rm -f confinc.* confmf.*
   4421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4422 printf "%s\n" "${_am_result}" >&6; }
   4423 
   4424 # Check whether --enable-dependency-tracking was given.
   4425 if test ${enable_dependency_tracking+y}
   4426 then :
   4427   enableval=$enable_dependency_tracking;
   4428 fi
   4429 
   4430 if test "x$enable_dependency_tracking" != xno; then
   4431   am_depcomp="$ac_aux_dir/depcomp"
   4432   AMDEPBACKSLASH='\'
   4433   am__nodep='_no'
   4434 fi
   4435  if test "x$enable_dependency_tracking" != xno; then
   4436   AMDEP_TRUE=
   4437   AMDEP_FALSE='#'
   4438 else
   4439   AMDEP_TRUE='#'
   4440   AMDEP_FALSE=
   4441 fi
   4442 
   4443 
   4444 # Check whether --enable-silent-rules was given.
   4445 if test ${enable_silent_rules+y}
   4446 then :
   4447   enableval=$enable_silent_rules;
   4448 fi
   4449 
   4450 case $enable_silent_rules in # (((
   4451   yes) AM_DEFAULT_VERBOSITY=0;;
   4452    no) AM_DEFAULT_VERBOSITY=1;;
   4453     *) AM_DEFAULT_VERBOSITY=1;;
   4454 esac
   4455 am_make=${MAKE-make}
   4456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4457 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4458 if test ${am_cv_make_support_nested_variables+y}
   4459 then :
   4460   printf %s "(cached) " >&6
   4461 else $as_nop
   4462   if printf "%s\n" 'TRUE=$(BAR$(V))
   4463 BAR0=false
   4464 BAR1=true
   4465 V=1
   4466 am__doit:
   4467 	@$(TRUE)
   4468 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4469   am_cv_make_support_nested_variables=yes
   4470 else
   4471   am_cv_make_support_nested_variables=no
   4472 fi
   4473 fi
   4474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4475 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4476 if test $am_cv_make_support_nested_variables = yes; then
   4477     AM_V='$(V)'
   4478   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4479 else
   4480   AM_V=$AM_DEFAULT_VERBOSITY
   4481   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4482 fi
   4483 AM_BACKSLASH='\'
   4484 
   4485 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4486   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4487   # is not polluted with repeated "-I."
   4488   am__isrc=' -I$(srcdir)'
   4489   # test to see if srcdir already configured
   4490   if test -f $srcdir/config.status; then
   4491     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4492   fi
   4493 fi
   4494 
   4495 # test whether we have cygpath
   4496 if test -z "$CYGPATH_W"; then
   4497   if (cygpath --version) >/dev/null 2>/dev/null; then
   4498     CYGPATH_W='cygpath -w'
   4499   else
   4500     CYGPATH_W=echo
   4501   fi
   4502 fi
   4503 
   4504 
   4505 # Define the identity of the package.
   4506  PACKAGE='xf86-video-vmware'
   4507  VERSION='13.4.0'
   4508 
   4509 
   4510 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4511 
   4512 
   4513 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4514 
   4515 # Some tools Automake needs.
   4516 
   4517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4518 
   4519 
   4520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4521 
   4522 
   4523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4524 
   4525 
   4526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4527 
   4528 
   4529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4530 
   4531 # For better backward compatibility.  To be removed once Automake 1.9.x
   4532 # dies out for good.  For more background, see:
   4533 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4534 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4535 mkdir_p='$(MKDIR_P)'
   4536 
   4537 # We need awk for the "check" target (and possibly the TAP driver).  The
   4538 # system "awk" is bad on some platforms.
   4539 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4540 # in the wild :-(  We should find a proper way to deprecate it ...
   4541 AMTAR='$${TAR-tar}'
   4542 
   4543 
   4544 # We'll loop over all known methods to create a tar archive until one works.
   4545 _am_tools='gnutar  pax cpio none'
   4546 
   4547 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4548 
   4549 
   4550 
   4551 
   4552 
   4553 depcc="$CC"   am_compiler_list=
   4554 
   4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4556 printf %s "checking dependency style of $depcc... " >&6; }
   4557 if test ${am_cv_CC_dependencies_compiler_type+y}
   4558 then :
   4559   printf %s "(cached) " >&6
   4560 else $as_nop
   4561   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4562   # We make a subdir and do the tests there.  Otherwise we can end up
   4563   # making bogus files that we don't know about and never remove.  For
   4564   # instance it was reported that on HP-UX the gcc test will end up
   4565   # making a dummy file named 'D' -- because '-MD' means "put the output
   4566   # in D".
   4567   rm -rf conftest.dir
   4568   mkdir conftest.dir
   4569   # Copy depcomp to subdir because otherwise we won't find it if we're
   4570   # using a relative directory.
   4571   cp "$am_depcomp" conftest.dir
   4572   cd conftest.dir
   4573   # We will build objects and dependencies in a subdirectory because
   4574   # it helps to detect inapplicable dependency modes.  For instance
   4575   # both Tru64's cc and ICC support -MD to output dependencies as a
   4576   # side effect of compilation, but ICC will put the dependencies in
   4577   # the current directory while Tru64 will put them in the object
   4578   # directory.
   4579   mkdir sub
   4580 
   4581   am_cv_CC_dependencies_compiler_type=none
   4582   if test "$am_compiler_list" = ""; then
   4583      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4584   fi
   4585   am__universal=false
   4586   case " $depcc " in #(
   4587      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4588      esac
   4589 
   4590   for depmode in $am_compiler_list; do
   4591     # Setup a source with many dependencies, because some compilers
   4592     # like to wrap large dependency lists on column 80 (with \), and
   4593     # we should not choose a depcomp mode which is confused by this.
   4594     #
   4595     # We need to recreate these files for each test, as the compiler may
   4596     # overwrite some of them when testing with obscure command lines.
   4597     # This happens at least with the AIX C compiler.
   4598     : > sub/conftest.c
   4599     for i in 1 2 3 4 5 6; do
   4600       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4601       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4602       # Solaris 10 /bin/sh.
   4603       echo '/* dummy */' > sub/conftst$i.h
   4604     done
   4605     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4606 
   4607     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4608     # mode.  It turns out that the SunPro C++ compiler does not properly
   4609     # handle '-M -o', and we need to detect this.  Also, some Intel
   4610     # versions had trouble with output in subdirs.
   4611     am__obj=sub/conftest.${OBJEXT-o}
   4612     am__minus_obj="-o $am__obj"
   4613     case $depmode in
   4614     gcc)
   4615       # This depmode causes a compiler race in universal mode.
   4616       test "$am__universal" = false || continue
   4617       ;;
   4618     nosideeffect)
   4619       # After this tag, mechanisms are not by side-effect, so they'll
   4620       # only be used when explicitly requested.
   4621       if test "x$enable_dependency_tracking" = xyes; then
   4622 	continue
   4623       else
   4624 	break
   4625       fi
   4626       ;;
   4627     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4628       # This compiler won't grok '-c -o', but also, the minuso test has
   4629       # not run yet.  These depmodes are late enough in the game, and
   4630       # so weak that their functioning should not be impacted.
   4631       am__obj=conftest.${OBJEXT-o}
   4632       am__minus_obj=
   4633       ;;
   4634     none) break ;;
   4635     esac
   4636     if depmode=$depmode \
   4637        source=sub/conftest.c object=$am__obj \
   4638        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4639        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4640          >/dev/null 2>conftest.err &&
   4641        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4642        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4643        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4644        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4645       # icc doesn't choke on unknown options, it will just issue warnings
   4646       # or remarks (even with -Werror).  So we grep stderr for any message
   4647       # that says an option was ignored or not supported.
   4648       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4649       #   icc: Command line warning: ignoring option '-M'; no argument required
   4650       # The diagnosis changed in icc 8.0:
   4651       #   icc: Command line remark: option '-MP' not supported
   4652       if (grep 'ignoring option' conftest.err ||
   4653           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4654         am_cv_CC_dependencies_compiler_type=$depmode
   4655         break
   4656       fi
   4657     fi
   4658   done
   4659 
   4660   cd ..
   4661   rm -rf conftest.dir
   4662 else
   4663   am_cv_CC_dependencies_compiler_type=none
   4664 fi
   4665 
   4666 fi
   4667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4668 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4669 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4670 
   4671  if
   4672   test "x$enable_dependency_tracking" != xno \
   4673   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4674   am__fastdepCC_TRUE=
   4675   am__fastdepCC_FALSE='#'
   4676 else
   4677   am__fastdepCC_TRUE='#'
   4678   am__fastdepCC_FALSE=
   4679 fi
   4680 
   4681 
   4682 # Variables for tags utilities; see am/tags.am
   4683 if test -z "$CTAGS"; then
   4684   CTAGS=ctags
   4685 fi
   4686 
   4687 if test -z "$ETAGS"; then
   4688   ETAGS=etags
   4689 fi
   4690 
   4691 if test -z "$CSCOPE"; then
   4692   CSCOPE=cscope
   4693 fi
   4694 
   4695 
   4696 
   4697 # POSIX will say in a future version that running "rm -f" with no argument
   4698 # is OK; and we want to be able to make that assumption in our Makefile
   4699 # recipes.  So use an aggressive probe to check that the usage we want is
   4700 # actually supported "in the wild" to an acceptable degree.
   4701 # See automake bug#10828.
   4702 # To make any issue more visible, cause the running configure to be aborted
   4703 # by default if the 'rm' program in use doesn't match our expectations; the
   4704 # user can still override this though.
   4705 if rm -f && rm -fr && rm -rf; then : OK; else
   4706   cat >&2 <<'END'
   4707 Oops!
   4708 
   4709 Your 'rm' program seems unable to run without file operands specified
   4710 on the command line, even when the '-f' option is present.  This is contrary
   4711 to the behaviour of most rm programs out there, and not conforming with
   4712 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4713 
   4714 Please tell bug-automake@gnu.org about your system, including the value
   4715 of your $PATH and any error possibly output before this message.  This
   4716 can help us improve future automake versions.
   4717 
   4718 END
   4719   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4720     echo 'Configuration will proceed anyway, since you have set the' >&2
   4721     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4722     echo >&2
   4723   else
   4724     cat >&2 <<'END'
   4725 Aborting the configuration process, to ensure you take notice of the issue.
   4726 
   4727 You can download and install GNU coreutils to get an 'rm' implementation
   4728 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   4729 
   4730 If you want to complete the configuration process using your problematic
   4731 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4732 to "yes", and re-run configure.
   4733 
   4734 END
   4735     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4736   fi
   4737 fi
   4738 
   4739 
   4740 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4741 
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4754 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4755 if test ${ac_cv_c_undeclared_builtin_options+y}
   4756 then :
   4757   printf %s "(cached) " >&6
   4758 else $as_nop
   4759   ac_save_CFLAGS=$CFLAGS
   4760    ac_cv_c_undeclared_builtin_options='cannot detect'
   4761    for ac_arg in '' -fno-builtin; do
   4762      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4763      # This test program should *not* compile successfully.
   4764      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4765 /* end confdefs.h.  */
   4766 
   4767 int
   4768 main (void)
   4769 {
   4770 (void) strchr;
   4771   ;
   4772   return 0;
   4773 }
   4774 _ACEOF
   4775 if ac_fn_c_try_compile "$LINENO"
   4776 then :
   4777 
   4778 else $as_nop
   4779   # This test program should compile successfully.
   4780         # No library function is consistently available on
   4781         # freestanding implementations, so test against a dummy
   4782         # declaration.  Include always-available headers on the
   4783         # off chance that they somehow elicit warnings.
   4784         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4785 /* end confdefs.h.  */
   4786 #include <float.h>
   4787 #include <limits.h>
   4788 #include <stdarg.h>
   4789 #include <stddef.h>
   4790 extern void ac_decl (int, char *);
   4791 
   4792 int
   4793 main (void)
   4794 {
   4795 (void) ac_decl (0, (char *) 0);
   4796   (void) ac_decl;
   4797 
   4798   ;
   4799   return 0;
   4800 }
   4801 _ACEOF
   4802 if ac_fn_c_try_compile "$LINENO"
   4803 then :
   4804   if test x"$ac_arg" = x
   4805 then :
   4806   ac_cv_c_undeclared_builtin_options='none needed'
   4807 else $as_nop
   4808   ac_cv_c_undeclared_builtin_options=$ac_arg
   4809 fi
   4810           break
   4811 fi
   4812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4813 fi
   4814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4815     done
   4816     CFLAGS=$ac_save_CFLAGS
   4817 
   4818 fi
   4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4820 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4821   case $ac_cv_c_undeclared_builtin_options in #(
   4822   'cannot detect') :
   4823     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4824 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4825 as_fn_error $? "cannot make $CC report undeclared builtins
   4826 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4827   'none needed') :
   4828     ac_c_undeclared_builtin_options='' ;; #(
   4829   *) :
   4830     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4831 esac
   4832 
   4833 ac_header= ac_cache=
   4834 for ac_item in $ac_header_c_list
   4835 do
   4836   if test $ac_cache; then
   4837     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4838     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4839       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4840     fi
   4841     ac_header= ac_cache=
   4842   elif test $ac_header; then
   4843     ac_cache=$ac_item
   4844   else
   4845     ac_header=$ac_item
   4846   fi
   4847 done
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4857 then :
   4858 
   4859 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4860 
   4861 fi
   4862 
   4863 
   4864 
   4865 
   4866 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4867 if test "x$ac_cv_have_decl___clang__" = xyes
   4868 then :
   4869   CLANGCC="yes"
   4870 else $as_nop
   4871   CLANGCC="no"
   4872 fi
   4873 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4874 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4875 then :
   4876   INTELCC="yes"
   4877 else $as_nop
   4878   INTELCC="no"
   4879 fi
   4880 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4881 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4882 then :
   4883   SUNCC="yes"
   4884 else $as_nop
   4885   SUNCC="no"
   4886 fi
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4896 	if test -n "$ac_tool_prefix"; then
   4897   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4898 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4900 printf %s "checking for $ac_word... " >&6; }
   4901 if test ${ac_cv_path_PKG_CONFIG+y}
   4902 then :
   4903   printf %s "(cached) " >&6
   4904 else $as_nop
   4905   case $PKG_CONFIG in
   4906   [\\/]* | ?:[\\/]*)
   4907   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4908   ;;
   4909   *)
   4910   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4911 for as_dir in $PATH
   4912 do
   4913   IFS=$as_save_IFS
   4914   case $as_dir in #(((
   4915     '') as_dir=./ ;;
   4916     */) ;;
   4917     *) as_dir=$as_dir/ ;;
   4918   esac
   4919     for ac_exec_ext in '' $ac_executable_extensions; do
   4920   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4921     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4922     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4923     break 2
   4924   fi
   4925 done
   4926   done
   4927 IFS=$as_save_IFS
   4928 
   4929   ;;
   4930 esac
   4931 fi
   4932 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4933 if test -n "$PKG_CONFIG"; then
   4934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4935 printf "%s\n" "$PKG_CONFIG" >&6; }
   4936 else
   4937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4938 printf "%s\n" "no" >&6; }
   4939 fi
   4940 
   4941 
   4942 fi
   4943 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4944   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4945   # Extract the first word of "pkg-config", so it can be a program name with args.
   4946 set dummy pkg-config; ac_word=$2
   4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4948 printf %s "checking for $ac_word... " >&6; }
   4949 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4950 then :
   4951   printf %s "(cached) " >&6
   4952 else $as_nop
   4953   case $ac_pt_PKG_CONFIG in
   4954   [\\/]* | ?:[\\/]*)
   4955   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4956   ;;
   4957   *)
   4958   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4959 for as_dir in $PATH
   4960 do
   4961   IFS=$as_save_IFS
   4962   case $as_dir in #(((
   4963     '') as_dir=./ ;;
   4964     */) ;;
   4965     *) as_dir=$as_dir/ ;;
   4966   esac
   4967     for ac_exec_ext in '' $ac_executable_extensions; do
   4968   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4969     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4970     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4971     break 2
   4972   fi
   4973 done
   4974   done
   4975 IFS=$as_save_IFS
   4976 
   4977   ;;
   4978 esac
   4979 fi
   4980 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4981 if test -n "$ac_pt_PKG_CONFIG"; then
   4982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4983 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4984 else
   4985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4986 printf "%s\n" "no" >&6; }
   4987 fi
   4988 
   4989   if test "x$ac_pt_PKG_CONFIG" = x; then
   4990     PKG_CONFIG=""
   4991   else
   4992     case $cross_compiling:$ac_tool_warned in
   4993 yes:)
   4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4995 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4996 ac_tool_warned=yes ;;
   4997 esac
   4998     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4999   fi
   5000 else
   5001   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5002 fi
   5003 
   5004 fi
   5005 if test -n "$PKG_CONFIG"; then
   5006 	_pkg_min_version=0.9.0
   5007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5008 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5009 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5011 printf "%s\n" "yes" >&6; }
   5012 	else
   5013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5014 printf "%s\n" "no" >&6; }
   5015 		PKG_CONFIG=""
   5016 	fi
   5017 fi
   5018 
   5019 
   5020   # Make sure we can run config.sub.
   5021 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5022   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5023 
   5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5025 printf %s "checking build system type... " >&6; }
   5026 if test ${ac_cv_build+y}
   5027 then :
   5028   printf %s "(cached) " >&6
   5029 else $as_nop
   5030   ac_build_alias=$build_alias
   5031 test "x$ac_build_alias" = x &&
   5032   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5033 test "x$ac_build_alias" = x &&
   5034   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5035 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5036   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5037 
   5038 fi
   5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5040 printf "%s\n" "$ac_cv_build" >&6; }
   5041 case $ac_cv_build in
   5042 *-*-*) ;;
   5043 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5044 esac
   5045 build=$ac_cv_build
   5046 ac_save_IFS=$IFS; IFS='-'
   5047 set x $ac_cv_build
   5048 shift
   5049 build_cpu=$1
   5050 build_vendor=$2
   5051 shift; shift
   5052 # Remember, the first character of IFS is used to create $*,
   5053 # except with old shells:
   5054 build_os=$*
   5055 IFS=$ac_save_IFS
   5056 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5057 
   5058 
   5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5060 printf %s "checking host system type... " >&6; }
   5061 if test ${ac_cv_host+y}
   5062 then :
   5063   printf %s "(cached) " >&6
   5064 else $as_nop
   5065   if test "x$host_alias" = x; then
   5066   ac_cv_host=$ac_cv_build
   5067 else
   5068   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5069     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5070 fi
   5071 
   5072 fi
   5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5074 printf "%s\n" "$ac_cv_host" >&6; }
   5075 case $ac_cv_host in
   5076 *-*-*) ;;
   5077 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5078 esac
   5079 host=$ac_cv_host
   5080 ac_save_IFS=$IFS; IFS='-'
   5081 set x $ac_cv_host
   5082 shift
   5083 host_cpu=$1
   5084 host_vendor=$2
   5085 shift; shift
   5086 # Remember, the first character of IFS is used to create $*,
   5087 # except with old shells:
   5088 host_os=$*
   5089 IFS=$ac_save_IFS
   5090 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5091 
   5092 
   5093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5094 printf %s "checking for a sed that does not truncate output... " >&6; }
   5095 if test ${ac_cv_path_SED+y}
   5096 then :
   5097   printf %s "(cached) " >&6
   5098 else $as_nop
   5099             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5100      for ac_i in 1 2 3 4 5 6 7; do
   5101        ac_script="$ac_script$as_nl$ac_script"
   5102      done
   5103      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5104      { ac_script=; unset ac_script;}
   5105      if test -z "$SED"; then
   5106   ac_path_SED_found=false
   5107   # Loop through the user's path and test for each of PROGNAME-LIST
   5108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5109 for as_dir in $PATH
   5110 do
   5111   IFS=$as_save_IFS
   5112   case $as_dir in #(((
   5113     '') as_dir=./ ;;
   5114     */) ;;
   5115     *) as_dir=$as_dir/ ;;
   5116   esac
   5117     for ac_prog in sed gsed
   5118    do
   5119     for ac_exec_ext in '' $ac_executable_extensions; do
   5120       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5121       as_fn_executable_p "$ac_path_SED" || continue
   5122 # Check for GNU ac_path_SED and select it if it is found.
   5123   # Check for GNU $ac_path_SED
   5124 case `"$ac_path_SED" --version 2>&1` in
   5125 *GNU*)
   5126   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5127 *)
   5128   ac_count=0
   5129   printf %s 0123456789 >"conftest.in"
   5130   while :
   5131   do
   5132     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5133     mv "conftest.tmp" "conftest.in"
   5134     cp "conftest.in" "conftest.nl"
   5135     printf "%s\n" '' >> "conftest.nl"
   5136     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5137     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5138     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5139     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5140       # Best one so far, save it but keep looking for a better one
   5141       ac_cv_path_SED="$ac_path_SED"
   5142       ac_path_SED_max=$ac_count
   5143     fi
   5144     # 10*(2^10) chars as input seems more than enough
   5145     test $ac_count -gt 10 && break
   5146   done
   5147   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5148 esac
   5149 
   5150       $ac_path_SED_found && break 3
   5151     done
   5152   done
   5153   done
   5154 IFS=$as_save_IFS
   5155   if test -z "$ac_cv_path_SED"; then
   5156     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5157   fi
   5158 else
   5159   ac_cv_path_SED=$SED
   5160 fi
   5161 
   5162 fi
   5163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5164 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5165  SED="$ac_cv_path_SED"
   5166   rm -f conftest.sed
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 # Check whether --enable-selective-werror was given.
   5174 if test ${enable_selective_werror+y}
   5175 then :
   5176   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5177 else $as_nop
   5178   SELECTIVE_WERROR=yes
   5179 fi
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5186 if test "x$SUNCC" = "xyes"; then
   5187     BASE_CFLAGS="-v"
   5188 else
   5189     BASE_CFLAGS=""
   5190 fi
   5191 
   5192 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 xorg_testset_save_CFLAGS="$CFLAGS"
   5207 
   5208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5213 then :
   5214   printf %s "(cached) " >&6
   5215 else $as_nop
   5216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5217 /* end confdefs.h.  */
   5218 int i;
   5219 _ACEOF
   5220 if ac_fn_c_try_compile "$LINENO"
   5221 then :
   5222   xorg_cv_cc_flag_unknown_warning_option=yes
   5223 else $as_nop
   5224   xorg_cv_cc_flag_unknown_warning_option=no
   5225 fi
   5226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5227 fi
   5228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5231 	CFLAGS="$xorg_testset_save_CFLAGS"
   5232 fi
   5233 
   5234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5237 	fi
   5238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5242 then :
   5243   printf %s "(cached) " >&6
   5244 else $as_nop
   5245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5246 /* end confdefs.h.  */
   5247 int i;
   5248 _ACEOF
   5249 if ac_fn_c_try_compile "$LINENO"
   5250 then :
   5251   xorg_cv_cc_flag_unused_command_line_argument=yes
   5252 else $as_nop
   5253   xorg_cv_cc_flag_unused_command_line_argument=no
   5254 fi
   5255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5256 fi
   5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5258 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5260 	CFLAGS="$xorg_testset_save_CFLAGS"
   5261 fi
   5262 
   5263 found="no"
   5264 
   5265 	if test $found = "no" ; then
   5266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5268 		fi
   5269 
   5270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5272 		fi
   5273 
   5274 		CFLAGS="$CFLAGS -Wall"
   5275 
   5276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5277 printf %s "checking if $CC supports -Wall... " >&6; }
   5278 		cacheid=xorg_cv_cc_flag__Wall
   5279 		if eval test \${$cacheid+y}
   5280 then :
   5281   printf %s "(cached) " >&6
   5282 else $as_nop
   5283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5284 /* end confdefs.h.  */
   5285 int i;
   5286 int
   5287 main (void)
   5288 {
   5289 
   5290   ;
   5291   return 0;
   5292 }
   5293 _ACEOF
   5294 if ac_fn_c_try_link "$LINENO"
   5295 then :
   5296   eval $cacheid=yes
   5297 else $as_nop
   5298   eval $cacheid=no
   5299 fi
   5300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5301     conftest$ac_exeext conftest.$ac_ext
   5302 fi
   5303 
   5304 
   5305 		CFLAGS="$xorg_testset_save_CFLAGS"
   5306 
   5307 		eval supported=\$$cacheid
   5308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5309 printf "%s\n" "$supported" >&6; }
   5310 		if test "$supported" = "yes" ; then
   5311 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5312 			found="yes"
   5313 		fi
   5314 	fi
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 xorg_testset_save_CFLAGS="$CFLAGS"
   5331 
   5332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5335 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5336 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5337 then :
   5338   printf %s "(cached) " >&6
   5339 else $as_nop
   5340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5341 /* end confdefs.h.  */
   5342 int i;
   5343 _ACEOF
   5344 if ac_fn_c_try_compile "$LINENO"
   5345 then :
   5346   xorg_cv_cc_flag_unknown_warning_option=yes
   5347 else $as_nop
   5348   xorg_cv_cc_flag_unknown_warning_option=no
   5349 fi
   5350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5351 fi
   5352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5355 	CFLAGS="$xorg_testset_save_CFLAGS"
   5356 fi
   5357 
   5358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5361 	fi
   5362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5366 then :
   5367   printf %s "(cached) " >&6
   5368 else $as_nop
   5369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5370 /* end confdefs.h.  */
   5371 int i;
   5372 _ACEOF
   5373 if ac_fn_c_try_compile "$LINENO"
   5374 then :
   5375   xorg_cv_cc_flag_unused_command_line_argument=yes
   5376 else $as_nop
   5377   xorg_cv_cc_flag_unused_command_line_argument=no
   5378 fi
   5379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5380 fi
   5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5382 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5384 	CFLAGS="$xorg_testset_save_CFLAGS"
   5385 fi
   5386 
   5387 found="no"
   5388 
   5389 	if test $found = "no" ; then
   5390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5392 		fi
   5393 
   5394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5396 		fi
   5397 
   5398 		CFLAGS="$CFLAGS -Wpointer-arith"
   5399 
   5400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5401 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5402 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5403 		if eval test \${$cacheid+y}
   5404 then :
   5405   printf %s "(cached) " >&6
   5406 else $as_nop
   5407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5408 /* end confdefs.h.  */
   5409 int i;
   5410 int
   5411 main (void)
   5412 {
   5413 
   5414   ;
   5415   return 0;
   5416 }
   5417 _ACEOF
   5418 if ac_fn_c_try_link "$LINENO"
   5419 then :
   5420   eval $cacheid=yes
   5421 else $as_nop
   5422   eval $cacheid=no
   5423 fi
   5424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5425     conftest$ac_exeext conftest.$ac_ext
   5426 fi
   5427 
   5428 
   5429 		CFLAGS="$xorg_testset_save_CFLAGS"
   5430 
   5431 		eval supported=\$$cacheid
   5432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5433 printf "%s\n" "$supported" >&6; }
   5434 		if test "$supported" = "yes" ; then
   5435 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5436 			found="yes"
   5437 		fi
   5438 	fi
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 xorg_testset_save_CFLAGS="$CFLAGS"
   5455 
   5456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5458 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5459 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5460 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5461 then :
   5462   printf %s "(cached) " >&6
   5463 else $as_nop
   5464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5465 /* end confdefs.h.  */
   5466 int i;
   5467 _ACEOF
   5468 if ac_fn_c_try_compile "$LINENO"
   5469 then :
   5470   xorg_cv_cc_flag_unknown_warning_option=yes
   5471 else $as_nop
   5472   xorg_cv_cc_flag_unknown_warning_option=no
   5473 fi
   5474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5475 fi
   5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5477 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5479 	CFLAGS="$xorg_testset_save_CFLAGS"
   5480 fi
   5481 
   5482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5485 	fi
   5486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5488 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5489 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5490 then :
   5491   printf %s "(cached) " >&6
   5492 else $as_nop
   5493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5494 /* end confdefs.h.  */
   5495 int i;
   5496 _ACEOF
   5497 if ac_fn_c_try_compile "$LINENO"
   5498 then :
   5499   xorg_cv_cc_flag_unused_command_line_argument=yes
   5500 else $as_nop
   5501   xorg_cv_cc_flag_unused_command_line_argument=no
   5502 fi
   5503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5504 fi
   5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5506 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5508 	CFLAGS="$xorg_testset_save_CFLAGS"
   5509 fi
   5510 
   5511 found="no"
   5512 
   5513 	if test $found = "no" ; then
   5514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5516 		fi
   5517 
   5518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5520 		fi
   5521 
   5522 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5523 
   5524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5525 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5526 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5527 		if eval test \${$cacheid+y}
   5528 then :
   5529   printf %s "(cached) " >&6
   5530 else $as_nop
   5531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5532 /* end confdefs.h.  */
   5533 int i;
   5534 int
   5535 main (void)
   5536 {
   5537 
   5538   ;
   5539   return 0;
   5540 }
   5541 _ACEOF
   5542 if ac_fn_c_try_link "$LINENO"
   5543 then :
   5544   eval $cacheid=yes
   5545 else $as_nop
   5546   eval $cacheid=no
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5549     conftest$ac_exeext conftest.$ac_ext
   5550 fi
   5551 
   5552 
   5553 		CFLAGS="$xorg_testset_save_CFLAGS"
   5554 
   5555 		eval supported=\$$cacheid
   5556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5557 printf "%s\n" "$supported" >&6; }
   5558 		if test "$supported" = "yes" ; then
   5559 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5560 			found="yes"
   5561 		fi
   5562 	fi
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 xorg_testset_save_CFLAGS="$CFLAGS"
   5579 
   5580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5582 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5583 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5584 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5585 then :
   5586   printf %s "(cached) " >&6
   5587 else $as_nop
   5588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5589 /* end confdefs.h.  */
   5590 int i;
   5591 _ACEOF
   5592 if ac_fn_c_try_compile "$LINENO"
   5593 then :
   5594   xorg_cv_cc_flag_unknown_warning_option=yes
   5595 else $as_nop
   5596   xorg_cv_cc_flag_unknown_warning_option=no
   5597 fi
   5598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5599 fi
   5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5601 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5603 	CFLAGS="$xorg_testset_save_CFLAGS"
   5604 fi
   5605 
   5606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5609 	fi
   5610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5612 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5613 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5614 then :
   5615   printf %s "(cached) " >&6
   5616 else $as_nop
   5617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5618 /* end confdefs.h.  */
   5619 int i;
   5620 _ACEOF
   5621 if ac_fn_c_try_compile "$LINENO"
   5622 then :
   5623   xorg_cv_cc_flag_unused_command_line_argument=yes
   5624 else $as_nop
   5625   xorg_cv_cc_flag_unused_command_line_argument=no
   5626 fi
   5627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5628 fi
   5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5630 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5632 	CFLAGS="$xorg_testset_save_CFLAGS"
   5633 fi
   5634 
   5635 found="no"
   5636 
   5637 	if test $found = "no" ; then
   5638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5640 		fi
   5641 
   5642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5644 		fi
   5645 
   5646 		CFLAGS="$CFLAGS -Wformat=2"
   5647 
   5648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5649 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5650 		cacheid=xorg_cv_cc_flag__Wformat_2
   5651 		if eval test \${$cacheid+y}
   5652 then :
   5653   printf %s "(cached) " >&6
   5654 else $as_nop
   5655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5656 /* end confdefs.h.  */
   5657 int i;
   5658 int
   5659 main (void)
   5660 {
   5661 
   5662   ;
   5663   return 0;
   5664 }
   5665 _ACEOF
   5666 if ac_fn_c_try_link "$LINENO"
   5667 then :
   5668   eval $cacheid=yes
   5669 else $as_nop
   5670   eval $cacheid=no
   5671 fi
   5672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5673     conftest$ac_exeext conftest.$ac_ext
   5674 fi
   5675 
   5676 
   5677 		CFLAGS="$xorg_testset_save_CFLAGS"
   5678 
   5679 		eval supported=\$$cacheid
   5680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5681 printf "%s\n" "$supported" >&6; }
   5682 		if test "$supported" = "yes" ; then
   5683 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5684 			found="yes"
   5685 		fi
   5686 	fi
   5687 
   5688 	if test $found = "no" ; then
   5689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5691 		fi
   5692 
   5693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5695 		fi
   5696 
   5697 		CFLAGS="$CFLAGS -Wformat"
   5698 
   5699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5700 printf %s "checking if $CC supports -Wformat... " >&6; }
   5701 		cacheid=xorg_cv_cc_flag__Wformat
   5702 		if eval test \${$cacheid+y}
   5703 then :
   5704   printf %s "(cached) " >&6
   5705 else $as_nop
   5706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5707 /* end confdefs.h.  */
   5708 int i;
   5709 int
   5710 main (void)
   5711 {
   5712 
   5713   ;
   5714   return 0;
   5715 }
   5716 _ACEOF
   5717 if ac_fn_c_try_link "$LINENO"
   5718 then :
   5719   eval $cacheid=yes
   5720 else $as_nop
   5721   eval $cacheid=no
   5722 fi
   5723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5724     conftest$ac_exeext conftest.$ac_ext
   5725 fi
   5726 
   5727 
   5728 		CFLAGS="$xorg_testset_save_CFLAGS"
   5729 
   5730 		eval supported=\$$cacheid
   5731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5732 printf "%s\n" "$supported" >&6; }
   5733 		if test "$supported" = "yes" ; then
   5734 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5735 			found="yes"
   5736 		fi
   5737 	fi
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 xorg_testset_save_CFLAGS="$CFLAGS"
   5756 
   5757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5759 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5760 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5761 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5762 then :
   5763   printf %s "(cached) " >&6
   5764 else $as_nop
   5765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5766 /* end confdefs.h.  */
   5767 int i;
   5768 _ACEOF
   5769 if ac_fn_c_try_compile "$LINENO"
   5770 then :
   5771   xorg_cv_cc_flag_unknown_warning_option=yes
   5772 else $as_nop
   5773   xorg_cv_cc_flag_unknown_warning_option=no
   5774 fi
   5775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5776 fi
   5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5778 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5780 	CFLAGS="$xorg_testset_save_CFLAGS"
   5781 fi
   5782 
   5783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5786 	fi
   5787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5789 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5790 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5791 then :
   5792   printf %s "(cached) " >&6
   5793 else $as_nop
   5794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5795 /* end confdefs.h.  */
   5796 int i;
   5797 _ACEOF
   5798 if ac_fn_c_try_compile "$LINENO"
   5799 then :
   5800   xorg_cv_cc_flag_unused_command_line_argument=yes
   5801 else $as_nop
   5802   xorg_cv_cc_flag_unused_command_line_argument=no
   5803 fi
   5804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5805 fi
   5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5807 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5809 	CFLAGS="$xorg_testset_save_CFLAGS"
   5810 fi
   5811 
   5812 found="no"
   5813 
   5814 	if test $found = "no" ; then
   5815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5817 		fi
   5818 
   5819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5821 		fi
   5822 
   5823 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5824 
   5825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5826 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5827 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5828 		if eval test \${$cacheid+y}
   5829 then :
   5830   printf %s "(cached) " >&6
   5831 else $as_nop
   5832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5833 /* end confdefs.h.  */
   5834 int i;
   5835 int
   5836 main (void)
   5837 {
   5838 
   5839   ;
   5840   return 0;
   5841 }
   5842 _ACEOF
   5843 if ac_fn_c_try_link "$LINENO"
   5844 then :
   5845   eval $cacheid=yes
   5846 else $as_nop
   5847   eval $cacheid=no
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5850     conftest$ac_exeext conftest.$ac_ext
   5851 fi
   5852 
   5853 
   5854 		CFLAGS="$xorg_testset_save_CFLAGS"
   5855 
   5856 		eval supported=\$$cacheid
   5857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5858 printf "%s\n" "$supported" >&6; }
   5859 		if test "$supported" = "yes" ; then
   5860 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5861 			found="yes"
   5862 		fi
   5863 	fi
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 xorg_testset_save_CFLAGS="$CFLAGS"
   5880 
   5881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5884 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5885 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5886 then :
   5887   printf %s "(cached) " >&6
   5888 else $as_nop
   5889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5890 /* end confdefs.h.  */
   5891 int i;
   5892 _ACEOF
   5893 if ac_fn_c_try_compile "$LINENO"
   5894 then :
   5895   xorg_cv_cc_flag_unknown_warning_option=yes
   5896 else $as_nop
   5897   xorg_cv_cc_flag_unknown_warning_option=no
   5898 fi
   5899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5900 fi
   5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5902 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5904 	CFLAGS="$xorg_testset_save_CFLAGS"
   5905 fi
   5906 
   5907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5910 	fi
   5911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5912 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5913 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5914 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5915 then :
   5916   printf %s "(cached) " >&6
   5917 else $as_nop
   5918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5919 /* end confdefs.h.  */
   5920 int i;
   5921 _ACEOF
   5922 if ac_fn_c_try_compile "$LINENO"
   5923 then :
   5924   xorg_cv_cc_flag_unused_command_line_argument=yes
   5925 else $as_nop
   5926   xorg_cv_cc_flag_unused_command_line_argument=no
   5927 fi
   5928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5929 fi
   5930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5931 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5933 	CFLAGS="$xorg_testset_save_CFLAGS"
   5934 fi
   5935 
   5936 found="no"
   5937 
   5938 	if test $found = "no" ; then
   5939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5941 		fi
   5942 
   5943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5945 		fi
   5946 
   5947 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5948 
   5949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5950 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5951 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5952 		if eval test \${$cacheid+y}
   5953 then :
   5954   printf %s "(cached) " >&6
   5955 else $as_nop
   5956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5957 /* end confdefs.h.  */
   5958 int i;
   5959 int
   5960 main (void)
   5961 {
   5962 
   5963   ;
   5964   return 0;
   5965 }
   5966 _ACEOF
   5967 if ac_fn_c_try_link "$LINENO"
   5968 then :
   5969   eval $cacheid=yes
   5970 else $as_nop
   5971   eval $cacheid=no
   5972 fi
   5973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5974     conftest$ac_exeext conftest.$ac_ext
   5975 fi
   5976 
   5977 
   5978 		CFLAGS="$xorg_testset_save_CFLAGS"
   5979 
   5980 		eval supported=\$$cacheid
   5981 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5982 printf "%s\n" "$supported" >&6; }
   5983 		if test "$supported" = "yes" ; then
   5984 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5985 			found="yes"
   5986 		fi
   5987 	fi
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 xorg_testset_save_CFLAGS="$CFLAGS"
   6004 
   6005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6008 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6009 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6010 then :
   6011   printf %s "(cached) " >&6
   6012 else $as_nop
   6013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6014 /* end confdefs.h.  */
   6015 int i;
   6016 _ACEOF
   6017 if ac_fn_c_try_compile "$LINENO"
   6018 then :
   6019   xorg_cv_cc_flag_unknown_warning_option=yes
   6020 else $as_nop
   6021   xorg_cv_cc_flag_unknown_warning_option=no
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6024 fi
   6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6026 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6028 	CFLAGS="$xorg_testset_save_CFLAGS"
   6029 fi
   6030 
   6031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6034 	fi
   6035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6037 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6038 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6039 then :
   6040   printf %s "(cached) " >&6
   6041 else $as_nop
   6042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6043 /* end confdefs.h.  */
   6044 int i;
   6045 _ACEOF
   6046 if ac_fn_c_try_compile "$LINENO"
   6047 then :
   6048   xorg_cv_cc_flag_unused_command_line_argument=yes
   6049 else $as_nop
   6050   xorg_cv_cc_flag_unused_command_line_argument=no
   6051 fi
   6052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6053 fi
   6054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6055 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6057 	CFLAGS="$xorg_testset_save_CFLAGS"
   6058 fi
   6059 
   6060 found="no"
   6061 
   6062 	if test $found = "no" ; then
   6063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6065 		fi
   6066 
   6067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6069 		fi
   6070 
   6071 		CFLAGS="$CFLAGS -Wnested-externs"
   6072 
   6073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   6074 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   6075 		cacheid=xorg_cv_cc_flag__Wnested_externs
   6076 		if eval test \${$cacheid+y}
   6077 then :
   6078   printf %s "(cached) " >&6
   6079 else $as_nop
   6080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6081 /* end confdefs.h.  */
   6082 int i;
   6083 int
   6084 main (void)
   6085 {
   6086 
   6087   ;
   6088   return 0;
   6089 }
   6090 _ACEOF
   6091 if ac_fn_c_try_link "$LINENO"
   6092 then :
   6093   eval $cacheid=yes
   6094 else $as_nop
   6095   eval $cacheid=no
   6096 fi
   6097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6098     conftest$ac_exeext conftest.$ac_ext
   6099 fi
   6100 
   6101 
   6102 		CFLAGS="$xorg_testset_save_CFLAGS"
   6103 
   6104 		eval supported=\$$cacheid
   6105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6106 printf "%s\n" "$supported" >&6; }
   6107 		if test "$supported" = "yes" ; then
   6108 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6109 			found="yes"
   6110 		fi
   6111 	fi
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 xorg_testset_save_CFLAGS="$CFLAGS"
   6128 
   6129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6132 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6133 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6134 then :
   6135   printf %s "(cached) " >&6
   6136 else $as_nop
   6137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6138 /* end confdefs.h.  */
   6139 int i;
   6140 _ACEOF
   6141 if ac_fn_c_try_compile "$LINENO"
   6142 then :
   6143   xorg_cv_cc_flag_unknown_warning_option=yes
   6144 else $as_nop
   6145   xorg_cv_cc_flag_unknown_warning_option=no
   6146 fi
   6147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6148 fi
   6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6150 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6151 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6152 	CFLAGS="$xorg_testset_save_CFLAGS"
   6153 fi
   6154 
   6155 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6156 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6157 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6158 	fi
   6159 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6160 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6161 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6162 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6163 then :
   6164   printf %s "(cached) " >&6
   6165 else $as_nop
   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"
   6171 then :
   6172   xorg_cv_cc_flag_unused_command_line_argument=yes
   6173 else $as_nop
   6174   xorg_cv_cc_flag_unused_command_line_argument=no
   6175 fi
   6176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6177 fi
   6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6179 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6181 	CFLAGS="$xorg_testset_save_CFLAGS"
   6182 fi
   6183 
   6184 found="no"
   6185 
   6186 	if test $found = "no" ; then
   6187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6189 		fi
   6190 
   6191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6193 		fi
   6194 
   6195 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6196 
   6197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6198 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6199 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6200 		if eval test \${$cacheid+y}
   6201 then :
   6202   printf %s "(cached) " >&6
   6203 else $as_nop
   6204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6205 /* end confdefs.h.  */
   6206 int i;
   6207 int
   6208 main (void)
   6209 {
   6210 
   6211   ;
   6212   return 0;
   6213 }
   6214 _ACEOF
   6215 if ac_fn_c_try_link "$LINENO"
   6216 then :
   6217   eval $cacheid=yes
   6218 else $as_nop
   6219   eval $cacheid=no
   6220 fi
   6221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6222     conftest$ac_exeext conftest.$ac_ext
   6223 fi
   6224 
   6225 
   6226 		CFLAGS="$xorg_testset_save_CFLAGS"
   6227 
   6228 		eval supported=\$$cacheid
   6229 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6230 printf "%s\n" "$supported" >&6; }
   6231 		if test "$supported" = "yes" ; then
   6232 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6233 			found="yes"
   6234 		fi
   6235 	fi
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 xorg_testset_save_CFLAGS="$CFLAGS"
   6252 
   6253 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6256 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6257 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6258 then :
   6259   printf %s "(cached) " >&6
   6260 else $as_nop
   6261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6262 /* end confdefs.h.  */
   6263 int i;
   6264 _ACEOF
   6265 if ac_fn_c_try_compile "$LINENO"
   6266 then :
   6267   xorg_cv_cc_flag_unknown_warning_option=yes
   6268 else $as_nop
   6269   xorg_cv_cc_flag_unknown_warning_option=no
   6270 fi
   6271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6272 fi
   6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6274 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6275 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6276 	CFLAGS="$xorg_testset_save_CFLAGS"
   6277 fi
   6278 
   6279 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6280 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6281 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6282 	fi
   6283 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6285 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6286 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6287 then :
   6288   printf %s "(cached) " >&6
   6289 else $as_nop
   6290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6291 /* end confdefs.h.  */
   6292 int i;
   6293 _ACEOF
   6294 if ac_fn_c_try_compile "$LINENO"
   6295 then :
   6296   xorg_cv_cc_flag_unused_command_line_argument=yes
   6297 else $as_nop
   6298   xorg_cv_cc_flag_unused_command_line_argument=no
   6299 fi
   6300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6301 fi
   6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6303 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6304 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6305 	CFLAGS="$xorg_testset_save_CFLAGS"
   6306 fi
   6307 
   6308 found="no"
   6309 
   6310 	if test $found = "no" ; then
   6311 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6312 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6313 		fi
   6314 
   6315 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6316 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6317 		fi
   6318 
   6319 		CFLAGS="$CFLAGS -Wold-style-definition"
   6320 
   6321 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6322 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6323 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6324 		if eval test \${$cacheid+y}
   6325 then :
   6326   printf %s "(cached) " >&6
   6327 else $as_nop
   6328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6329 /* end confdefs.h.  */
   6330 int i;
   6331 int
   6332 main (void)
   6333 {
   6334 
   6335   ;
   6336   return 0;
   6337 }
   6338 _ACEOF
   6339 if ac_fn_c_try_link "$LINENO"
   6340 then :
   6341   eval $cacheid=yes
   6342 else $as_nop
   6343   eval $cacheid=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6346     conftest$ac_exeext conftest.$ac_ext
   6347 fi
   6348 
   6349 
   6350 		CFLAGS="$xorg_testset_save_CFLAGS"
   6351 
   6352 		eval supported=\$$cacheid
   6353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6354 printf "%s\n" "$supported" >&6; }
   6355 		if test "$supported" = "yes" ; then
   6356 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6357 			found="yes"
   6358 		fi
   6359 	fi
   6360 
   6361 	if test $found = "no" ; then
   6362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6364 		fi
   6365 
   6366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6368 		fi
   6369 
   6370 		CFLAGS="$CFLAGS -fd"
   6371 
   6372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6373 printf %s "checking if $CC supports -fd... " >&6; }
   6374 		cacheid=xorg_cv_cc_flag__fd
   6375 		if eval test \${$cacheid+y}
   6376 then :
   6377   printf %s "(cached) " >&6
   6378 else $as_nop
   6379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6380 /* end confdefs.h.  */
   6381 int i;
   6382 int
   6383 main (void)
   6384 {
   6385 
   6386   ;
   6387   return 0;
   6388 }
   6389 _ACEOF
   6390 if ac_fn_c_try_link "$LINENO"
   6391 then :
   6392   eval $cacheid=yes
   6393 else $as_nop
   6394   eval $cacheid=no
   6395 fi
   6396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6397     conftest$ac_exeext conftest.$ac_ext
   6398 fi
   6399 
   6400 
   6401 		CFLAGS="$xorg_testset_save_CFLAGS"
   6402 
   6403 		eval supported=\$$cacheid
   6404 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6405 printf "%s\n" "$supported" >&6; }
   6406 		if test "$supported" = "yes" ; then
   6407 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6408 			found="yes"
   6409 		fi
   6410 	fi
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 xorg_testset_save_CFLAGS="$CFLAGS"
   6427 
   6428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6431 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6432 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6433 then :
   6434   printf %s "(cached) " >&6
   6435 else $as_nop
   6436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6437 /* end confdefs.h.  */
   6438 int i;
   6439 _ACEOF
   6440 if ac_fn_c_try_compile "$LINENO"
   6441 then :
   6442   xorg_cv_cc_flag_unknown_warning_option=yes
   6443 else $as_nop
   6444   xorg_cv_cc_flag_unknown_warning_option=no
   6445 fi
   6446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6447 fi
   6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6449 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6451 	CFLAGS="$xorg_testset_save_CFLAGS"
   6452 fi
   6453 
   6454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6457 	fi
   6458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6460 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6461 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6462 then :
   6463   printf %s "(cached) " >&6
   6464 else $as_nop
   6465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6466 /* end confdefs.h.  */
   6467 int i;
   6468 _ACEOF
   6469 if ac_fn_c_try_compile "$LINENO"
   6470 then :
   6471   xorg_cv_cc_flag_unused_command_line_argument=yes
   6472 else $as_nop
   6473   xorg_cv_cc_flag_unused_command_line_argument=no
   6474 fi
   6475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6476 fi
   6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6478 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6480 	CFLAGS="$xorg_testset_save_CFLAGS"
   6481 fi
   6482 
   6483 found="no"
   6484 
   6485 	if test $found = "no" ; then
   6486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6488 		fi
   6489 
   6490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6492 		fi
   6493 
   6494 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6495 
   6496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6497 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6498 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6499 		if eval test \${$cacheid+y}
   6500 then :
   6501   printf %s "(cached) " >&6
   6502 else $as_nop
   6503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6504 /* end confdefs.h.  */
   6505 int i;
   6506 int
   6507 main (void)
   6508 {
   6509 
   6510   ;
   6511   return 0;
   6512 }
   6513 _ACEOF
   6514 if ac_fn_c_try_link "$LINENO"
   6515 then :
   6516   eval $cacheid=yes
   6517 else $as_nop
   6518   eval $cacheid=no
   6519 fi
   6520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6521     conftest$ac_exeext conftest.$ac_ext
   6522 fi
   6523 
   6524 
   6525 		CFLAGS="$xorg_testset_save_CFLAGS"
   6526 
   6527 		eval supported=\$$cacheid
   6528 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6529 printf "%s\n" "$supported" >&6; }
   6530 		if test "$supported" = "yes" ; then
   6531 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6532 			found="yes"
   6533 		fi
   6534 	fi
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 # This chunk adds additional warnings that could catch undesired effects.
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 xorg_testset_save_CFLAGS="$CFLAGS"
   6555 
   6556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6559 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6560 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6561 then :
   6562   printf %s "(cached) " >&6
   6563 else $as_nop
   6564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6565 /* end confdefs.h.  */
   6566 int i;
   6567 _ACEOF
   6568 if ac_fn_c_try_compile "$LINENO"
   6569 then :
   6570   xorg_cv_cc_flag_unknown_warning_option=yes
   6571 else $as_nop
   6572   xorg_cv_cc_flag_unknown_warning_option=no
   6573 fi
   6574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6575 fi
   6576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6577 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6578 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6579 	CFLAGS="$xorg_testset_save_CFLAGS"
   6580 fi
   6581 
   6582 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6583 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6585 	fi
   6586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6587 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6588 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6589 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6590 then :
   6591   printf %s "(cached) " >&6
   6592 else $as_nop
   6593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6594 /* end confdefs.h.  */
   6595 int i;
   6596 _ACEOF
   6597 if ac_fn_c_try_compile "$LINENO"
   6598 then :
   6599   xorg_cv_cc_flag_unused_command_line_argument=yes
   6600 else $as_nop
   6601   xorg_cv_cc_flag_unused_command_line_argument=no
   6602 fi
   6603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6604 fi
   6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6606 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6608 	CFLAGS="$xorg_testset_save_CFLAGS"
   6609 fi
   6610 
   6611 found="no"
   6612 
   6613 	if test $found = "no" ; then
   6614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6616 		fi
   6617 
   6618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6620 		fi
   6621 
   6622 		CFLAGS="$CFLAGS -Wunused"
   6623 
   6624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6625 printf %s "checking if $CC supports -Wunused... " >&6; }
   6626 		cacheid=xorg_cv_cc_flag__Wunused
   6627 		if eval test \${$cacheid+y}
   6628 then :
   6629   printf %s "(cached) " >&6
   6630 else $as_nop
   6631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6632 /* end confdefs.h.  */
   6633 int i;
   6634 int
   6635 main (void)
   6636 {
   6637 
   6638   ;
   6639   return 0;
   6640 }
   6641 _ACEOF
   6642 if ac_fn_c_try_link "$LINENO"
   6643 then :
   6644   eval $cacheid=yes
   6645 else $as_nop
   6646   eval $cacheid=no
   6647 fi
   6648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6649     conftest$ac_exeext conftest.$ac_ext
   6650 fi
   6651 
   6652 
   6653 		CFLAGS="$xorg_testset_save_CFLAGS"
   6654 
   6655 		eval supported=\$$cacheid
   6656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6657 printf "%s\n" "$supported" >&6; }
   6658 		if test "$supported" = "yes" ; then
   6659 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6660 			found="yes"
   6661 		fi
   6662 	fi
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 xorg_testset_save_CFLAGS="$CFLAGS"
   6679 
   6680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6682 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6683 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6684 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6685 then :
   6686   printf %s "(cached) " >&6
   6687 else $as_nop
   6688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6689 /* end confdefs.h.  */
   6690 int i;
   6691 _ACEOF
   6692 if ac_fn_c_try_compile "$LINENO"
   6693 then :
   6694   xorg_cv_cc_flag_unknown_warning_option=yes
   6695 else $as_nop
   6696   xorg_cv_cc_flag_unknown_warning_option=no
   6697 fi
   6698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6699 fi
   6700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6701 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6703 	CFLAGS="$xorg_testset_save_CFLAGS"
   6704 fi
   6705 
   6706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6709 	fi
   6710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6712 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6713 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6714 then :
   6715   printf %s "(cached) " >&6
   6716 else $as_nop
   6717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6718 /* end confdefs.h.  */
   6719 int i;
   6720 _ACEOF
   6721 if ac_fn_c_try_compile "$LINENO"
   6722 then :
   6723   xorg_cv_cc_flag_unused_command_line_argument=yes
   6724 else $as_nop
   6725   xorg_cv_cc_flag_unused_command_line_argument=no
   6726 fi
   6727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6728 fi
   6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6730 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6732 	CFLAGS="$xorg_testset_save_CFLAGS"
   6733 fi
   6734 
   6735 found="no"
   6736 
   6737 	if test $found = "no" ; then
   6738 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6740 		fi
   6741 
   6742 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6744 		fi
   6745 
   6746 		CFLAGS="$CFLAGS -Wuninitialized"
   6747 
   6748 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6749 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6750 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6751 		if eval test \${$cacheid+y}
   6752 then :
   6753   printf %s "(cached) " >&6
   6754 else $as_nop
   6755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6756 /* end confdefs.h.  */
   6757 int i;
   6758 int
   6759 main (void)
   6760 {
   6761 
   6762   ;
   6763   return 0;
   6764 }
   6765 _ACEOF
   6766 if ac_fn_c_try_link "$LINENO"
   6767 then :
   6768   eval $cacheid=yes
   6769 else $as_nop
   6770   eval $cacheid=no
   6771 fi
   6772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6773     conftest$ac_exeext conftest.$ac_ext
   6774 fi
   6775 
   6776 
   6777 		CFLAGS="$xorg_testset_save_CFLAGS"
   6778 
   6779 		eval supported=\$$cacheid
   6780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6781 printf "%s\n" "$supported" >&6; }
   6782 		if test "$supported" = "yes" ; then
   6783 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6784 			found="yes"
   6785 		fi
   6786 	fi
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 xorg_testset_save_CFLAGS="$CFLAGS"
   6803 
   6804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6806 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6807 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6808 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6809 then :
   6810   printf %s "(cached) " >&6
   6811 else $as_nop
   6812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6813 /* end confdefs.h.  */
   6814 int i;
   6815 _ACEOF
   6816 if ac_fn_c_try_compile "$LINENO"
   6817 then :
   6818   xorg_cv_cc_flag_unknown_warning_option=yes
   6819 else $as_nop
   6820   xorg_cv_cc_flag_unknown_warning_option=no
   6821 fi
   6822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6823 fi
   6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6825 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6827 	CFLAGS="$xorg_testset_save_CFLAGS"
   6828 fi
   6829 
   6830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6833 	fi
   6834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6836 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6837 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6838 then :
   6839   printf %s "(cached) " >&6
   6840 else $as_nop
   6841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6842 /* end confdefs.h.  */
   6843 int i;
   6844 _ACEOF
   6845 if ac_fn_c_try_compile "$LINENO"
   6846 then :
   6847   xorg_cv_cc_flag_unused_command_line_argument=yes
   6848 else $as_nop
   6849   xorg_cv_cc_flag_unused_command_line_argument=no
   6850 fi
   6851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6852 fi
   6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6854 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6855 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6856 	CFLAGS="$xorg_testset_save_CFLAGS"
   6857 fi
   6858 
   6859 found="no"
   6860 
   6861 	if test $found = "no" ; then
   6862 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6864 		fi
   6865 
   6866 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6868 		fi
   6869 
   6870 		CFLAGS="$CFLAGS -Wshadow"
   6871 
   6872 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6873 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6874 		cacheid=xorg_cv_cc_flag__Wshadow
   6875 		if eval test \${$cacheid+y}
   6876 then :
   6877   printf %s "(cached) " >&6
   6878 else $as_nop
   6879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6880 /* end confdefs.h.  */
   6881 int i;
   6882 int
   6883 main (void)
   6884 {
   6885 
   6886   ;
   6887   return 0;
   6888 }
   6889 _ACEOF
   6890 if ac_fn_c_try_link "$LINENO"
   6891 then :
   6892   eval $cacheid=yes
   6893 else $as_nop
   6894   eval $cacheid=no
   6895 fi
   6896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6897     conftest$ac_exeext conftest.$ac_ext
   6898 fi
   6899 
   6900 
   6901 		CFLAGS="$xorg_testset_save_CFLAGS"
   6902 
   6903 		eval supported=\$$cacheid
   6904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6905 printf "%s\n" "$supported" >&6; }
   6906 		if test "$supported" = "yes" ; then
   6907 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6908 			found="yes"
   6909 		fi
   6910 	fi
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 xorg_testset_save_CFLAGS="$CFLAGS"
   6927 
   6928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6931 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6932 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6933 then :
   6934   printf %s "(cached) " >&6
   6935 else $as_nop
   6936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6937 /* end confdefs.h.  */
   6938 int i;
   6939 _ACEOF
   6940 if ac_fn_c_try_compile "$LINENO"
   6941 then :
   6942   xorg_cv_cc_flag_unknown_warning_option=yes
   6943 else $as_nop
   6944   xorg_cv_cc_flag_unknown_warning_option=no
   6945 fi
   6946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6947 fi
   6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6949 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6951 	CFLAGS="$xorg_testset_save_CFLAGS"
   6952 fi
   6953 
   6954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6957 	fi
   6958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6960 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6961 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6962 then :
   6963   printf %s "(cached) " >&6
   6964 else $as_nop
   6965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6966 /* end confdefs.h.  */
   6967 int i;
   6968 _ACEOF
   6969 if ac_fn_c_try_compile "$LINENO"
   6970 then :
   6971   xorg_cv_cc_flag_unused_command_line_argument=yes
   6972 else $as_nop
   6973   xorg_cv_cc_flag_unused_command_line_argument=no
   6974 fi
   6975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6976 fi
   6977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6978 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6980 	CFLAGS="$xorg_testset_save_CFLAGS"
   6981 fi
   6982 
   6983 found="no"
   6984 
   6985 	if test $found = "no" ; then
   6986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6988 		fi
   6989 
   6990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6992 		fi
   6993 
   6994 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6995 
   6996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6997 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6998 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6999 		if eval test \${$cacheid+y}
   7000 then :
   7001   printf %s "(cached) " >&6
   7002 else $as_nop
   7003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7004 /* end confdefs.h.  */
   7005 int i;
   7006 int
   7007 main (void)
   7008 {
   7009 
   7010   ;
   7011   return 0;
   7012 }
   7013 _ACEOF
   7014 if ac_fn_c_try_link "$LINENO"
   7015 then :
   7016   eval $cacheid=yes
   7017 else $as_nop
   7018   eval $cacheid=no
   7019 fi
   7020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7021     conftest$ac_exeext conftest.$ac_ext
   7022 fi
   7023 
   7024 
   7025 		CFLAGS="$xorg_testset_save_CFLAGS"
   7026 
   7027 		eval supported=\$$cacheid
   7028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7029 printf "%s\n" "$supported" >&6; }
   7030 		if test "$supported" = "yes" ; then
   7031 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   7032 			found="yes"
   7033 		fi
   7034 	fi
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 xorg_testset_save_CFLAGS="$CFLAGS"
   7051 
   7052 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7053 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7055 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7056 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7057 then :
   7058   printf %s "(cached) " >&6
   7059 else $as_nop
   7060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 int i;
   7063 _ACEOF
   7064 if ac_fn_c_try_compile "$LINENO"
   7065 then :
   7066   xorg_cv_cc_flag_unknown_warning_option=yes
   7067 else $as_nop
   7068   xorg_cv_cc_flag_unknown_warning_option=no
   7069 fi
   7070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7071 fi
   7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7073 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7075 	CFLAGS="$xorg_testset_save_CFLAGS"
   7076 fi
   7077 
   7078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7081 	fi
   7082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7083 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7084 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7085 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7086 then :
   7087   printf %s "(cached) " >&6
   7088 else $as_nop
   7089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7090 /* end confdefs.h.  */
   7091 int i;
   7092 _ACEOF
   7093 if ac_fn_c_try_compile "$LINENO"
   7094 then :
   7095   xorg_cv_cc_flag_unused_command_line_argument=yes
   7096 else $as_nop
   7097   xorg_cv_cc_flag_unused_command_line_argument=no
   7098 fi
   7099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7100 fi
   7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7102 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7103 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7104 	CFLAGS="$xorg_testset_save_CFLAGS"
   7105 fi
   7106 
   7107 found="no"
   7108 
   7109 	if test $found = "no" ; then
   7110 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7111 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7112 		fi
   7113 
   7114 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7115 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7116 		fi
   7117 
   7118 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7119 
   7120 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7121 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7122 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7123 		if eval test \${$cacheid+y}
   7124 then :
   7125   printf %s "(cached) " >&6
   7126 else $as_nop
   7127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7128 /* end confdefs.h.  */
   7129 int i;
   7130 int
   7131 main (void)
   7132 {
   7133 
   7134   ;
   7135   return 0;
   7136 }
   7137 _ACEOF
   7138 if ac_fn_c_try_link "$LINENO"
   7139 then :
   7140   eval $cacheid=yes
   7141 else $as_nop
   7142   eval $cacheid=no
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7145     conftest$ac_exeext conftest.$ac_ext
   7146 fi
   7147 
   7148 
   7149 		CFLAGS="$xorg_testset_save_CFLAGS"
   7150 
   7151 		eval supported=\$$cacheid
   7152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7153 printf "%s\n" "$supported" >&6; }
   7154 		if test "$supported" = "yes" ; then
   7155 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7156 			found="yes"
   7157 		fi
   7158 	fi
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 xorg_testset_save_CFLAGS="$CFLAGS"
   7175 
   7176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7179 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7180 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7181 then :
   7182   printf %s "(cached) " >&6
   7183 else $as_nop
   7184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7185 /* end confdefs.h.  */
   7186 int i;
   7187 _ACEOF
   7188 if ac_fn_c_try_compile "$LINENO"
   7189 then :
   7190   xorg_cv_cc_flag_unknown_warning_option=yes
   7191 else $as_nop
   7192   xorg_cv_cc_flag_unknown_warning_option=no
   7193 fi
   7194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7195 fi
   7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7197 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7198 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7199 	CFLAGS="$xorg_testset_save_CFLAGS"
   7200 fi
   7201 
   7202 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7203 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7204 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7205 	fi
   7206 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7207 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7208 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7209 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7210 then :
   7211   printf %s "(cached) " >&6
   7212 else $as_nop
   7213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7214 /* end confdefs.h.  */
   7215 int i;
   7216 _ACEOF
   7217 if ac_fn_c_try_compile "$LINENO"
   7218 then :
   7219   xorg_cv_cc_flag_unused_command_line_argument=yes
   7220 else $as_nop
   7221   xorg_cv_cc_flag_unused_command_line_argument=no
   7222 fi
   7223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7224 fi
   7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7226 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7228 	CFLAGS="$xorg_testset_save_CFLAGS"
   7229 fi
   7230 
   7231 found="no"
   7232 
   7233 	if test $found = "no" ; then
   7234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7236 		fi
   7237 
   7238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7240 		fi
   7241 
   7242 		CFLAGS="$CFLAGS -Wredundant-decls"
   7243 
   7244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7245 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7246 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7247 		if eval test \${$cacheid+y}
   7248 then :
   7249   printf %s "(cached) " >&6
   7250 else $as_nop
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 int
   7255 main (void)
   7256 {
   7257 
   7258   ;
   7259   return 0;
   7260 }
   7261 _ACEOF
   7262 if ac_fn_c_try_link "$LINENO"
   7263 then :
   7264   eval $cacheid=yes
   7265 else $as_nop
   7266   eval $cacheid=no
   7267 fi
   7268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7269     conftest$ac_exeext conftest.$ac_ext
   7270 fi
   7271 
   7272 
   7273 		CFLAGS="$xorg_testset_save_CFLAGS"
   7274 
   7275 		eval supported=\$$cacheid
   7276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7277 printf "%s\n" "$supported" >&6; }
   7278 		if test "$supported" = "yes" ; then
   7279 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7280 			found="yes"
   7281 		fi
   7282 	fi
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 xorg_testset_save_CFLAGS="$CFLAGS"
   7299 
   7300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7303 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7304 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7305 then :
   7306   printf %s "(cached) " >&6
   7307 else $as_nop
   7308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7309 /* end confdefs.h.  */
   7310 int i;
   7311 _ACEOF
   7312 if ac_fn_c_try_compile "$LINENO"
   7313 then :
   7314   xorg_cv_cc_flag_unknown_warning_option=yes
   7315 else $as_nop
   7316   xorg_cv_cc_flag_unknown_warning_option=no
   7317 fi
   7318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7319 fi
   7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7321 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7322 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7323 	CFLAGS="$xorg_testset_save_CFLAGS"
   7324 fi
   7325 
   7326 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7327 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7328 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7329 	fi
   7330 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7331 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7332 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7333 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7334 then :
   7335   printf %s "(cached) " >&6
   7336 else $as_nop
   7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 int i;
   7340 _ACEOF
   7341 if ac_fn_c_try_compile "$LINENO"
   7342 then :
   7343   xorg_cv_cc_flag_unused_command_line_argument=yes
   7344 else $as_nop
   7345   xorg_cv_cc_flag_unused_command_line_argument=no
   7346 fi
   7347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7348 fi
   7349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7350 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7352 	CFLAGS="$xorg_testset_save_CFLAGS"
   7353 fi
   7354 
   7355 found="no"
   7356 
   7357 	if test $found = "no" ; then
   7358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7360 		fi
   7361 
   7362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7364 		fi
   7365 
   7366 		CFLAGS="$CFLAGS -Wlogical-op"
   7367 
   7368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7369 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7370 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7371 		if eval test \${$cacheid+y}
   7372 then :
   7373   printf %s "(cached) " >&6
   7374 else $as_nop
   7375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7376 /* end confdefs.h.  */
   7377 int i;
   7378 int
   7379 main (void)
   7380 {
   7381 
   7382   ;
   7383   return 0;
   7384 }
   7385 _ACEOF
   7386 if ac_fn_c_try_link "$LINENO"
   7387 then :
   7388   eval $cacheid=yes
   7389 else $as_nop
   7390   eval $cacheid=no
   7391 fi
   7392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7393     conftest$ac_exeext conftest.$ac_ext
   7394 fi
   7395 
   7396 
   7397 		CFLAGS="$xorg_testset_save_CFLAGS"
   7398 
   7399 		eval supported=\$$cacheid
   7400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7401 printf "%s\n" "$supported" >&6; }
   7402 		if test "$supported" = "yes" ; then
   7403 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7404 			found="yes"
   7405 		fi
   7406 	fi
   7407 
   7408 
   7409 
   7410 # These are currently disabled because they are noisy.  They will be enabled
   7411 # in the future once the codebase is sufficiently modernized to silence
   7412 # them.  For now, I don't want them to drown out the other warnings.
   7413 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7414 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7415 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7416 
   7417 # Turn some warnings into errors, so we don't accidently get successful builds
   7418 # when there are problems that should be fixed.
   7419 
   7420 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 xorg_testset_save_CFLAGS="$CFLAGS"
   7435 
   7436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7439 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7440 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7441 then :
   7442   printf %s "(cached) " >&6
   7443 else $as_nop
   7444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7445 /* end confdefs.h.  */
   7446 int i;
   7447 _ACEOF
   7448 if ac_fn_c_try_compile "$LINENO"
   7449 then :
   7450   xorg_cv_cc_flag_unknown_warning_option=yes
   7451 else $as_nop
   7452   xorg_cv_cc_flag_unknown_warning_option=no
   7453 fi
   7454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7455 fi
   7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7457 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7459 	CFLAGS="$xorg_testset_save_CFLAGS"
   7460 fi
   7461 
   7462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7465 	fi
   7466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7467 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7468 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7469 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7470 then :
   7471   printf %s "(cached) " >&6
   7472 else $as_nop
   7473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7474 /* end confdefs.h.  */
   7475 int i;
   7476 _ACEOF
   7477 if ac_fn_c_try_compile "$LINENO"
   7478 then :
   7479   xorg_cv_cc_flag_unused_command_line_argument=yes
   7480 else $as_nop
   7481   xorg_cv_cc_flag_unused_command_line_argument=no
   7482 fi
   7483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7484 fi
   7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7486 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7487 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7488 	CFLAGS="$xorg_testset_save_CFLAGS"
   7489 fi
   7490 
   7491 found="no"
   7492 
   7493 	if test $found = "no" ; then
   7494 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7496 		fi
   7497 
   7498 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7500 		fi
   7501 
   7502 		CFLAGS="$CFLAGS -Werror=implicit"
   7503 
   7504 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7505 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7506 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7507 		if eval test \${$cacheid+y}
   7508 then :
   7509   printf %s "(cached) " >&6
   7510 else $as_nop
   7511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7512 /* end confdefs.h.  */
   7513 int i;
   7514 int
   7515 main (void)
   7516 {
   7517 
   7518   ;
   7519   return 0;
   7520 }
   7521 _ACEOF
   7522 if ac_fn_c_try_link "$LINENO"
   7523 then :
   7524   eval $cacheid=yes
   7525 else $as_nop
   7526   eval $cacheid=no
   7527 fi
   7528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7529     conftest$ac_exeext conftest.$ac_ext
   7530 fi
   7531 
   7532 
   7533 		CFLAGS="$xorg_testset_save_CFLAGS"
   7534 
   7535 		eval supported=\$$cacheid
   7536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7537 printf "%s\n" "$supported" >&6; }
   7538 		if test "$supported" = "yes" ; then
   7539 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7540 			found="yes"
   7541 		fi
   7542 	fi
   7543 
   7544 	if test $found = "no" ; then
   7545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7547 		fi
   7548 
   7549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7551 		fi
   7552 
   7553 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7554 
   7555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7556 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7557 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7558 		if eval test \${$cacheid+y}
   7559 then :
   7560   printf %s "(cached) " >&6
   7561 else $as_nop
   7562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 int i;
   7565 int
   7566 main (void)
   7567 {
   7568 
   7569   ;
   7570   return 0;
   7571 }
   7572 _ACEOF
   7573 if ac_fn_c_try_link "$LINENO"
   7574 then :
   7575   eval $cacheid=yes
   7576 else $as_nop
   7577   eval $cacheid=no
   7578 fi
   7579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7580     conftest$ac_exeext conftest.$ac_ext
   7581 fi
   7582 
   7583 
   7584 		CFLAGS="$xorg_testset_save_CFLAGS"
   7585 
   7586 		eval supported=\$$cacheid
   7587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7588 printf "%s\n" "$supported" >&6; }
   7589 		if test "$supported" = "yes" ; then
   7590 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7591 			found="yes"
   7592 		fi
   7593 	fi
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 xorg_testset_save_CFLAGS="$CFLAGS"
   7610 
   7611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7616 then :
   7617   printf %s "(cached) " >&6
   7618 else $as_nop
   7619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7620 /* end confdefs.h.  */
   7621 int i;
   7622 _ACEOF
   7623 if ac_fn_c_try_compile "$LINENO"
   7624 then :
   7625   xorg_cv_cc_flag_unknown_warning_option=yes
   7626 else $as_nop
   7627   xorg_cv_cc_flag_unknown_warning_option=no
   7628 fi
   7629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7630 fi
   7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7632 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7634 	CFLAGS="$xorg_testset_save_CFLAGS"
   7635 fi
   7636 
   7637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7640 	fi
   7641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7643 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7644 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7645 then :
   7646   printf %s "(cached) " >&6
   7647 else $as_nop
   7648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7649 /* end confdefs.h.  */
   7650 int i;
   7651 _ACEOF
   7652 if ac_fn_c_try_compile "$LINENO"
   7653 then :
   7654   xorg_cv_cc_flag_unused_command_line_argument=yes
   7655 else $as_nop
   7656   xorg_cv_cc_flag_unused_command_line_argument=no
   7657 fi
   7658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7659 fi
   7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7661 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7663 	CFLAGS="$xorg_testset_save_CFLAGS"
   7664 fi
   7665 
   7666 found="no"
   7667 
   7668 	if test $found = "no" ; then
   7669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7671 		fi
   7672 
   7673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7675 		fi
   7676 
   7677 		CFLAGS="$CFLAGS -Werror=nonnull"
   7678 
   7679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7680 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7681 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7682 		if eval test \${$cacheid+y}
   7683 then :
   7684   printf %s "(cached) " >&6
   7685 else $as_nop
   7686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7687 /* end confdefs.h.  */
   7688 int i;
   7689 int
   7690 main (void)
   7691 {
   7692 
   7693   ;
   7694   return 0;
   7695 }
   7696 _ACEOF
   7697 if ac_fn_c_try_link "$LINENO"
   7698 then :
   7699   eval $cacheid=yes
   7700 else $as_nop
   7701   eval $cacheid=no
   7702 fi
   7703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7704     conftest$ac_exeext conftest.$ac_ext
   7705 fi
   7706 
   7707 
   7708 		CFLAGS="$xorg_testset_save_CFLAGS"
   7709 
   7710 		eval supported=\$$cacheid
   7711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7712 printf "%s\n" "$supported" >&6; }
   7713 		if test "$supported" = "yes" ; then
   7714 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7715 			found="yes"
   7716 		fi
   7717 	fi
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 xorg_testset_save_CFLAGS="$CFLAGS"
   7734 
   7735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7738 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7739 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7740 then :
   7741   printf %s "(cached) " >&6
   7742 else $as_nop
   7743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7744 /* end confdefs.h.  */
   7745 int i;
   7746 _ACEOF
   7747 if ac_fn_c_try_compile "$LINENO"
   7748 then :
   7749   xorg_cv_cc_flag_unknown_warning_option=yes
   7750 else $as_nop
   7751   xorg_cv_cc_flag_unknown_warning_option=no
   7752 fi
   7753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7754 fi
   7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7756 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7758 	CFLAGS="$xorg_testset_save_CFLAGS"
   7759 fi
   7760 
   7761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7764 	fi
   7765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7767 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7768 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7769 then :
   7770   printf %s "(cached) " >&6
   7771 else $as_nop
   7772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7773 /* end confdefs.h.  */
   7774 int i;
   7775 _ACEOF
   7776 if ac_fn_c_try_compile "$LINENO"
   7777 then :
   7778   xorg_cv_cc_flag_unused_command_line_argument=yes
   7779 else $as_nop
   7780   xorg_cv_cc_flag_unused_command_line_argument=no
   7781 fi
   7782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7783 fi
   7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7785 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7787 	CFLAGS="$xorg_testset_save_CFLAGS"
   7788 fi
   7789 
   7790 found="no"
   7791 
   7792 	if test $found = "no" ; then
   7793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7795 		fi
   7796 
   7797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7799 		fi
   7800 
   7801 		CFLAGS="$CFLAGS -Werror=init-self"
   7802 
   7803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7804 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7805 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7806 		if eval test \${$cacheid+y}
   7807 then :
   7808   printf %s "(cached) " >&6
   7809 else $as_nop
   7810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7811 /* end confdefs.h.  */
   7812 int i;
   7813 int
   7814 main (void)
   7815 {
   7816 
   7817   ;
   7818   return 0;
   7819 }
   7820 _ACEOF
   7821 if ac_fn_c_try_link "$LINENO"
   7822 then :
   7823   eval $cacheid=yes
   7824 else $as_nop
   7825   eval $cacheid=no
   7826 fi
   7827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7828     conftest$ac_exeext conftest.$ac_ext
   7829 fi
   7830 
   7831 
   7832 		CFLAGS="$xorg_testset_save_CFLAGS"
   7833 
   7834 		eval supported=\$$cacheid
   7835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7836 printf "%s\n" "$supported" >&6; }
   7837 		if test "$supported" = "yes" ; then
   7838 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7839 			found="yes"
   7840 		fi
   7841 	fi
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 xorg_testset_save_CFLAGS="$CFLAGS"
   7858 
   7859 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7860 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7862 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7863 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7864 then :
   7865   printf %s "(cached) " >&6
   7866 else $as_nop
   7867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7868 /* end confdefs.h.  */
   7869 int i;
   7870 _ACEOF
   7871 if ac_fn_c_try_compile "$LINENO"
   7872 then :
   7873   xorg_cv_cc_flag_unknown_warning_option=yes
   7874 else $as_nop
   7875   xorg_cv_cc_flag_unknown_warning_option=no
   7876 fi
   7877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7878 fi
   7879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7880 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7882 	CFLAGS="$xorg_testset_save_CFLAGS"
   7883 fi
   7884 
   7885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7888 	fi
   7889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7891 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7892 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7893 then :
   7894   printf %s "(cached) " >&6
   7895 else $as_nop
   7896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7897 /* end confdefs.h.  */
   7898 int i;
   7899 _ACEOF
   7900 if ac_fn_c_try_compile "$LINENO"
   7901 then :
   7902   xorg_cv_cc_flag_unused_command_line_argument=yes
   7903 else $as_nop
   7904   xorg_cv_cc_flag_unused_command_line_argument=no
   7905 fi
   7906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7907 fi
   7908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7909 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7911 	CFLAGS="$xorg_testset_save_CFLAGS"
   7912 fi
   7913 
   7914 found="no"
   7915 
   7916 	if test $found = "no" ; then
   7917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7919 		fi
   7920 
   7921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7923 		fi
   7924 
   7925 		CFLAGS="$CFLAGS -Werror=main"
   7926 
   7927 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7928 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7929 		cacheid=xorg_cv_cc_flag__Werror_main
   7930 		if eval test \${$cacheid+y}
   7931 then :
   7932   printf %s "(cached) " >&6
   7933 else $as_nop
   7934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7935 /* end confdefs.h.  */
   7936 int i;
   7937 int
   7938 main (void)
   7939 {
   7940 
   7941   ;
   7942   return 0;
   7943 }
   7944 _ACEOF
   7945 if ac_fn_c_try_link "$LINENO"
   7946 then :
   7947   eval $cacheid=yes
   7948 else $as_nop
   7949   eval $cacheid=no
   7950 fi
   7951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7952     conftest$ac_exeext conftest.$ac_ext
   7953 fi
   7954 
   7955 
   7956 		CFLAGS="$xorg_testset_save_CFLAGS"
   7957 
   7958 		eval supported=\$$cacheid
   7959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7960 printf "%s\n" "$supported" >&6; }
   7961 		if test "$supported" = "yes" ; then
   7962 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7963 			found="yes"
   7964 		fi
   7965 	fi
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 xorg_testset_save_CFLAGS="$CFLAGS"
   7982 
   7983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7986 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7987 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7988 then :
   7989   printf %s "(cached) " >&6
   7990 else $as_nop
   7991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7992 /* end confdefs.h.  */
   7993 int i;
   7994 _ACEOF
   7995 if ac_fn_c_try_compile "$LINENO"
   7996 then :
   7997   xorg_cv_cc_flag_unknown_warning_option=yes
   7998 else $as_nop
   7999   xorg_cv_cc_flag_unknown_warning_option=no
   8000 fi
   8001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8002 fi
   8003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8004 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8005 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8006 	CFLAGS="$xorg_testset_save_CFLAGS"
   8007 fi
   8008 
   8009 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8010 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8011 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8012 	fi
   8013 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8015 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8016 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8017 then :
   8018   printf %s "(cached) " >&6
   8019 else $as_nop
   8020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8021 /* end confdefs.h.  */
   8022 int i;
   8023 _ACEOF
   8024 if ac_fn_c_try_compile "$LINENO"
   8025 then :
   8026   xorg_cv_cc_flag_unused_command_line_argument=yes
   8027 else $as_nop
   8028   xorg_cv_cc_flag_unused_command_line_argument=no
   8029 fi
   8030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8031 fi
   8032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8033 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8035 	CFLAGS="$xorg_testset_save_CFLAGS"
   8036 fi
   8037 
   8038 found="no"
   8039 
   8040 	if test $found = "no" ; then
   8041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8043 		fi
   8044 
   8045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8047 		fi
   8048 
   8049 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8050 
   8051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8052 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8053 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8054 		if eval test \${$cacheid+y}
   8055 then :
   8056   printf %s "(cached) " >&6
   8057 else $as_nop
   8058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8059 /* end confdefs.h.  */
   8060 int i;
   8061 int
   8062 main (void)
   8063 {
   8064 
   8065   ;
   8066   return 0;
   8067 }
   8068 _ACEOF
   8069 if ac_fn_c_try_link "$LINENO"
   8070 then :
   8071   eval $cacheid=yes
   8072 else $as_nop
   8073   eval $cacheid=no
   8074 fi
   8075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8076     conftest$ac_exeext conftest.$ac_ext
   8077 fi
   8078 
   8079 
   8080 		CFLAGS="$xorg_testset_save_CFLAGS"
   8081 
   8082 		eval supported=\$$cacheid
   8083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8084 printf "%s\n" "$supported" >&6; }
   8085 		if test "$supported" = "yes" ; then
   8086 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8087 			found="yes"
   8088 		fi
   8089 	fi
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 xorg_testset_save_CFLAGS="$CFLAGS"
   8106 
   8107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8110 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8111 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8112 then :
   8113   printf %s "(cached) " >&6
   8114 else $as_nop
   8115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8116 /* end confdefs.h.  */
   8117 int i;
   8118 _ACEOF
   8119 if ac_fn_c_try_compile "$LINENO"
   8120 then :
   8121   xorg_cv_cc_flag_unknown_warning_option=yes
   8122 else $as_nop
   8123   xorg_cv_cc_flag_unknown_warning_option=no
   8124 fi
   8125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8126 fi
   8127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8128 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8130 	CFLAGS="$xorg_testset_save_CFLAGS"
   8131 fi
   8132 
   8133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8136 	fi
   8137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8139 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8140 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8141 then :
   8142   printf %s "(cached) " >&6
   8143 else $as_nop
   8144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8145 /* end confdefs.h.  */
   8146 int i;
   8147 _ACEOF
   8148 if ac_fn_c_try_compile "$LINENO"
   8149 then :
   8150   xorg_cv_cc_flag_unused_command_line_argument=yes
   8151 else $as_nop
   8152   xorg_cv_cc_flag_unused_command_line_argument=no
   8153 fi
   8154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8155 fi
   8156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8159 	CFLAGS="$xorg_testset_save_CFLAGS"
   8160 fi
   8161 
   8162 found="no"
   8163 
   8164 	if test $found = "no" ; then
   8165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8167 		fi
   8168 
   8169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8171 		fi
   8172 
   8173 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8174 
   8175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8176 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8177 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8178 		if eval test \${$cacheid+y}
   8179 then :
   8180   printf %s "(cached) " >&6
   8181 else $as_nop
   8182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8183 /* end confdefs.h.  */
   8184 int i;
   8185 int
   8186 main (void)
   8187 {
   8188 
   8189   ;
   8190   return 0;
   8191 }
   8192 _ACEOF
   8193 if ac_fn_c_try_link "$LINENO"
   8194 then :
   8195   eval $cacheid=yes
   8196 else $as_nop
   8197   eval $cacheid=no
   8198 fi
   8199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8200     conftest$ac_exeext conftest.$ac_ext
   8201 fi
   8202 
   8203 
   8204 		CFLAGS="$xorg_testset_save_CFLAGS"
   8205 
   8206 		eval supported=\$$cacheid
   8207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8208 printf "%s\n" "$supported" >&6; }
   8209 		if test "$supported" = "yes" ; then
   8210 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8211 			found="yes"
   8212 		fi
   8213 	fi
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 xorg_testset_save_CFLAGS="$CFLAGS"
   8230 
   8231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8236 then :
   8237   printf %s "(cached) " >&6
   8238 else $as_nop
   8239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8240 /* end confdefs.h.  */
   8241 int i;
   8242 _ACEOF
   8243 if ac_fn_c_try_compile "$LINENO"
   8244 then :
   8245   xorg_cv_cc_flag_unknown_warning_option=yes
   8246 else $as_nop
   8247   xorg_cv_cc_flag_unknown_warning_option=no
   8248 fi
   8249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8250 fi
   8251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8252 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8253 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8254 	CFLAGS="$xorg_testset_save_CFLAGS"
   8255 fi
   8256 
   8257 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8258 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8259 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8260 	fi
   8261 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8263 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8264 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8265 then :
   8266   printf %s "(cached) " >&6
   8267 else $as_nop
   8268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8269 /* end confdefs.h.  */
   8270 int i;
   8271 _ACEOF
   8272 if ac_fn_c_try_compile "$LINENO"
   8273 then :
   8274   xorg_cv_cc_flag_unused_command_line_argument=yes
   8275 else $as_nop
   8276   xorg_cv_cc_flag_unused_command_line_argument=no
   8277 fi
   8278 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8279 fi
   8280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8281 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8283 	CFLAGS="$xorg_testset_save_CFLAGS"
   8284 fi
   8285 
   8286 found="no"
   8287 
   8288 	if test $found = "no" ; then
   8289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8291 		fi
   8292 
   8293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8295 		fi
   8296 
   8297 		CFLAGS="$CFLAGS -Werror=return-type"
   8298 
   8299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8300 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8301 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8302 		if eval test \${$cacheid+y}
   8303 then :
   8304   printf %s "(cached) " >&6
   8305 else $as_nop
   8306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8307 /* end confdefs.h.  */
   8308 int i;
   8309 int
   8310 main (void)
   8311 {
   8312 
   8313   ;
   8314   return 0;
   8315 }
   8316 _ACEOF
   8317 if ac_fn_c_try_link "$LINENO"
   8318 then :
   8319   eval $cacheid=yes
   8320 else $as_nop
   8321   eval $cacheid=no
   8322 fi
   8323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8324     conftest$ac_exeext conftest.$ac_ext
   8325 fi
   8326 
   8327 
   8328 		CFLAGS="$xorg_testset_save_CFLAGS"
   8329 
   8330 		eval supported=\$$cacheid
   8331 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8332 printf "%s\n" "$supported" >&6; }
   8333 		if test "$supported" = "yes" ; then
   8334 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8335 			found="yes"
   8336 		fi
   8337 	fi
   8338 
   8339 	if test $found = "no" ; then
   8340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8342 		fi
   8343 
   8344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8346 		fi
   8347 
   8348 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8349 
   8350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8351 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8352 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8353 		if eval test \${$cacheid+y}
   8354 then :
   8355   printf %s "(cached) " >&6
   8356 else $as_nop
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 int
   8361 main (void)
   8362 {
   8363 
   8364   ;
   8365   return 0;
   8366 }
   8367 _ACEOF
   8368 if ac_fn_c_try_link "$LINENO"
   8369 then :
   8370   eval $cacheid=yes
   8371 else $as_nop
   8372   eval $cacheid=no
   8373 fi
   8374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8375     conftest$ac_exeext conftest.$ac_ext
   8376 fi
   8377 
   8378 
   8379 		CFLAGS="$xorg_testset_save_CFLAGS"
   8380 
   8381 		eval supported=\$$cacheid
   8382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8383 printf "%s\n" "$supported" >&6; }
   8384 		if test "$supported" = "yes" ; then
   8385 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8386 			found="yes"
   8387 		fi
   8388 	fi
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 xorg_testset_save_CFLAGS="$CFLAGS"
   8405 
   8406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8408 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8409 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8410 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8411 then :
   8412   printf %s "(cached) " >&6
   8413 else $as_nop
   8414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8415 /* end confdefs.h.  */
   8416 int i;
   8417 _ACEOF
   8418 if ac_fn_c_try_compile "$LINENO"
   8419 then :
   8420   xorg_cv_cc_flag_unknown_warning_option=yes
   8421 else $as_nop
   8422   xorg_cv_cc_flag_unknown_warning_option=no
   8423 fi
   8424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8425 fi
   8426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8427 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8428 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8429 	CFLAGS="$xorg_testset_save_CFLAGS"
   8430 fi
   8431 
   8432 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8433 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8435 	fi
   8436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8437 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8438 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8439 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8440 then :
   8441   printf %s "(cached) " >&6
   8442 else $as_nop
   8443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8444 /* end confdefs.h.  */
   8445 int i;
   8446 _ACEOF
   8447 if ac_fn_c_try_compile "$LINENO"
   8448 then :
   8449   xorg_cv_cc_flag_unused_command_line_argument=yes
   8450 else $as_nop
   8451   xorg_cv_cc_flag_unused_command_line_argument=no
   8452 fi
   8453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8454 fi
   8455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8456 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8457 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8458 	CFLAGS="$xorg_testset_save_CFLAGS"
   8459 fi
   8460 
   8461 found="no"
   8462 
   8463 	if test $found = "no" ; then
   8464 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8466 		fi
   8467 
   8468 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8470 		fi
   8471 
   8472 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8473 
   8474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8475 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8476 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8477 		if eval test \${$cacheid+y}
   8478 then :
   8479   printf %s "(cached) " >&6
   8480 else $as_nop
   8481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8482 /* end confdefs.h.  */
   8483 int i;
   8484 int
   8485 main (void)
   8486 {
   8487 
   8488   ;
   8489   return 0;
   8490 }
   8491 _ACEOF
   8492 if ac_fn_c_try_link "$LINENO"
   8493 then :
   8494   eval $cacheid=yes
   8495 else $as_nop
   8496   eval $cacheid=no
   8497 fi
   8498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8499     conftest$ac_exeext conftest.$ac_ext
   8500 fi
   8501 
   8502 
   8503 		CFLAGS="$xorg_testset_save_CFLAGS"
   8504 
   8505 		eval supported=\$$cacheid
   8506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8507 printf "%s\n" "$supported" >&6; }
   8508 		if test "$supported" = "yes" ; then
   8509 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8510 			found="yes"
   8511 		fi
   8512 	fi
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 xorg_testset_save_CFLAGS="$CFLAGS"
   8529 
   8530 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8531 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8532 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8533 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8534 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8535 then :
   8536   printf %s "(cached) " >&6
   8537 else $as_nop
   8538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8539 /* end confdefs.h.  */
   8540 int i;
   8541 _ACEOF
   8542 if ac_fn_c_try_compile "$LINENO"
   8543 then :
   8544   xorg_cv_cc_flag_unknown_warning_option=yes
   8545 else $as_nop
   8546   xorg_cv_cc_flag_unknown_warning_option=no
   8547 fi
   8548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8549 fi
   8550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8551 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8553 	CFLAGS="$xorg_testset_save_CFLAGS"
   8554 fi
   8555 
   8556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8559 	fi
   8560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8561 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8562 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8563 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8564 then :
   8565   printf %s "(cached) " >&6
   8566 else $as_nop
   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"
   8572 then :
   8573   xorg_cv_cc_flag_unused_command_line_argument=yes
   8574 else $as_nop
   8575   xorg_cv_cc_flag_unused_command_line_argument=no
   8576 fi
   8577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8578 fi
   8579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8580 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8582 	CFLAGS="$xorg_testset_save_CFLAGS"
   8583 fi
   8584 
   8585 found="no"
   8586 
   8587 	if test $found = "no" ; then
   8588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8590 		fi
   8591 
   8592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8594 		fi
   8595 
   8596 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8597 
   8598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8599 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8600 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8601 		if eval test \${$cacheid+y}
   8602 then :
   8603   printf %s "(cached) " >&6
   8604 else $as_nop
   8605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8606 /* end confdefs.h.  */
   8607 int i;
   8608 int
   8609 main (void)
   8610 {
   8611 
   8612   ;
   8613   return 0;
   8614 }
   8615 _ACEOF
   8616 if ac_fn_c_try_link "$LINENO"
   8617 then :
   8618   eval $cacheid=yes
   8619 else $as_nop
   8620   eval $cacheid=no
   8621 fi
   8622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8623     conftest$ac_exeext conftest.$ac_ext
   8624 fi
   8625 
   8626 
   8627 		CFLAGS="$xorg_testset_save_CFLAGS"
   8628 
   8629 		eval supported=\$$cacheid
   8630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8631 printf "%s\n" "$supported" >&6; }
   8632 		if test "$supported" = "yes" ; then
   8633 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8634 			found="yes"
   8635 		fi
   8636 	fi
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 xorg_testset_save_CFLAGS="$CFLAGS"
   8653 
   8654 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8655 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8656 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8657 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8658 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8659 then :
   8660   printf %s "(cached) " >&6
   8661 else $as_nop
   8662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8663 /* end confdefs.h.  */
   8664 int i;
   8665 _ACEOF
   8666 if ac_fn_c_try_compile "$LINENO"
   8667 then :
   8668   xorg_cv_cc_flag_unknown_warning_option=yes
   8669 else $as_nop
   8670   xorg_cv_cc_flag_unknown_warning_option=no
   8671 fi
   8672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8673 fi
   8674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8675 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8676 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8677 	CFLAGS="$xorg_testset_save_CFLAGS"
   8678 fi
   8679 
   8680 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8681 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8682 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8683 	fi
   8684 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8685 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8686 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8687 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8688 then :
   8689   printf %s "(cached) " >&6
   8690 else $as_nop
   8691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8692 /* end confdefs.h.  */
   8693 int i;
   8694 _ACEOF
   8695 if ac_fn_c_try_compile "$LINENO"
   8696 then :
   8697   xorg_cv_cc_flag_unused_command_line_argument=yes
   8698 else $as_nop
   8699   xorg_cv_cc_flag_unused_command_line_argument=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8702 fi
   8703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8704 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8706 	CFLAGS="$xorg_testset_save_CFLAGS"
   8707 fi
   8708 
   8709 found="no"
   8710 
   8711 	if test $found = "no" ; then
   8712 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8714 		fi
   8715 
   8716 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8718 		fi
   8719 
   8720 		CFLAGS="$CFLAGS -Werror=write-strings"
   8721 
   8722 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8723 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8724 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8725 		if eval test \${$cacheid+y}
   8726 then :
   8727   printf %s "(cached) " >&6
   8728 else $as_nop
   8729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8730 /* end confdefs.h.  */
   8731 int i;
   8732 int
   8733 main (void)
   8734 {
   8735 
   8736   ;
   8737   return 0;
   8738 }
   8739 _ACEOF
   8740 if ac_fn_c_try_link "$LINENO"
   8741 then :
   8742   eval $cacheid=yes
   8743 else $as_nop
   8744   eval $cacheid=no
   8745 fi
   8746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8747     conftest$ac_exeext conftest.$ac_ext
   8748 fi
   8749 
   8750 
   8751 		CFLAGS="$xorg_testset_save_CFLAGS"
   8752 
   8753 		eval supported=\$$cacheid
   8754 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8755 printf "%s\n" "$supported" >&6; }
   8756 		if test "$supported" = "yes" ; then
   8757 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8758 			found="yes"
   8759 		fi
   8760 	fi
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 xorg_testset_save_CFLAGS="$CFLAGS"
   8777 
   8778 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8779 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8780 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8781 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8782 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8783 then :
   8784   printf %s "(cached) " >&6
   8785 else $as_nop
   8786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8787 /* end confdefs.h.  */
   8788 int i;
   8789 _ACEOF
   8790 if ac_fn_c_try_compile "$LINENO"
   8791 then :
   8792   xorg_cv_cc_flag_unknown_warning_option=yes
   8793 else $as_nop
   8794   xorg_cv_cc_flag_unknown_warning_option=no
   8795 fi
   8796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8797 fi
   8798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8799 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8800 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8801 	CFLAGS="$xorg_testset_save_CFLAGS"
   8802 fi
   8803 
   8804 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8805 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8806 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8807 	fi
   8808 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8810 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8811 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8812 then :
   8813   printf %s "(cached) " >&6
   8814 else $as_nop
   8815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8816 /* end confdefs.h.  */
   8817 int i;
   8818 _ACEOF
   8819 if ac_fn_c_try_compile "$LINENO"
   8820 then :
   8821   xorg_cv_cc_flag_unused_command_line_argument=yes
   8822 else $as_nop
   8823   xorg_cv_cc_flag_unused_command_line_argument=no
   8824 fi
   8825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8826 fi
   8827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8828 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8830 	CFLAGS="$xorg_testset_save_CFLAGS"
   8831 fi
   8832 
   8833 found="no"
   8834 
   8835 	if test $found = "no" ; then
   8836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8838 		fi
   8839 
   8840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8842 		fi
   8843 
   8844 		CFLAGS="$CFLAGS -Werror=address"
   8845 
   8846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8847 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8848 		cacheid=xorg_cv_cc_flag__Werror_address
   8849 		if eval test \${$cacheid+y}
   8850 then :
   8851   printf %s "(cached) " >&6
   8852 else $as_nop
   8853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8854 /* end confdefs.h.  */
   8855 int i;
   8856 int
   8857 main (void)
   8858 {
   8859 
   8860   ;
   8861   return 0;
   8862 }
   8863 _ACEOF
   8864 if ac_fn_c_try_link "$LINENO"
   8865 then :
   8866   eval $cacheid=yes
   8867 else $as_nop
   8868   eval $cacheid=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8871     conftest$ac_exeext conftest.$ac_ext
   8872 fi
   8873 
   8874 
   8875 		CFLAGS="$xorg_testset_save_CFLAGS"
   8876 
   8877 		eval supported=\$$cacheid
   8878 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8879 printf "%s\n" "$supported" >&6; }
   8880 		if test "$supported" = "yes" ; then
   8881 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8882 			found="yes"
   8883 		fi
   8884 	fi
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 xorg_testset_save_CFLAGS="$CFLAGS"
   8901 
   8902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8905 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8906 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8907 then :
   8908   printf %s "(cached) " >&6
   8909 else $as_nop
   8910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8911 /* end confdefs.h.  */
   8912 int i;
   8913 _ACEOF
   8914 if ac_fn_c_try_compile "$LINENO"
   8915 then :
   8916   xorg_cv_cc_flag_unknown_warning_option=yes
   8917 else $as_nop
   8918   xorg_cv_cc_flag_unknown_warning_option=no
   8919 fi
   8920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8921 fi
   8922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8923 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8924 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8925 	CFLAGS="$xorg_testset_save_CFLAGS"
   8926 fi
   8927 
   8928 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8929 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8930 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8931 	fi
   8932 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8934 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8935 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8936 then :
   8937   printf %s "(cached) " >&6
   8938 else $as_nop
   8939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8940 /* end confdefs.h.  */
   8941 int i;
   8942 _ACEOF
   8943 if ac_fn_c_try_compile "$LINENO"
   8944 then :
   8945   xorg_cv_cc_flag_unused_command_line_argument=yes
   8946 else $as_nop
   8947   xorg_cv_cc_flag_unused_command_line_argument=no
   8948 fi
   8949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8950 fi
   8951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8952 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8953 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8954 	CFLAGS="$xorg_testset_save_CFLAGS"
   8955 fi
   8956 
   8957 found="no"
   8958 
   8959 	if test $found = "no" ; then
   8960 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8961 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8962 		fi
   8963 
   8964 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8965 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8966 		fi
   8967 
   8968 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8969 
   8970 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8971 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8972 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8973 		if eval test \${$cacheid+y}
   8974 then :
   8975   printf %s "(cached) " >&6
   8976 else $as_nop
   8977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8978 /* end confdefs.h.  */
   8979 int i;
   8980 int
   8981 main (void)
   8982 {
   8983 
   8984   ;
   8985   return 0;
   8986 }
   8987 _ACEOF
   8988 if ac_fn_c_try_link "$LINENO"
   8989 then :
   8990   eval $cacheid=yes
   8991 else $as_nop
   8992   eval $cacheid=no
   8993 fi
   8994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8995     conftest$ac_exeext conftest.$ac_ext
   8996 fi
   8997 
   8998 
   8999 		CFLAGS="$xorg_testset_save_CFLAGS"
   9000 
   9001 		eval supported=\$$cacheid
   9002 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9003 printf "%s\n" "$supported" >&6; }
   9004 		if test "$supported" = "yes" ; then
   9005 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9006 			found="yes"
   9007 		fi
   9008 	fi
   9009 
   9010 	if test $found = "no" ; then
   9011 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9012 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9013 		fi
   9014 
   9015 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9016 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9017 		fi
   9018 
   9019 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9020 
   9021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9022 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9023 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9024 		if eval test \${$cacheid+y}
   9025 then :
   9026   printf %s "(cached) " >&6
   9027 else $as_nop
   9028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9029 /* end confdefs.h.  */
   9030 int i;
   9031 int
   9032 main (void)
   9033 {
   9034 
   9035   ;
   9036   return 0;
   9037 }
   9038 _ACEOF
   9039 if ac_fn_c_try_link "$LINENO"
   9040 then :
   9041   eval $cacheid=yes
   9042 else $as_nop
   9043   eval $cacheid=no
   9044 fi
   9045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9046     conftest$ac_exeext conftest.$ac_ext
   9047 fi
   9048 
   9049 
   9050 		CFLAGS="$xorg_testset_save_CFLAGS"
   9051 
   9052 		eval supported=\$$cacheid
   9053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9054 printf "%s\n" "$supported" >&6; }
   9055 		if test "$supported" = "yes" ; then
   9056 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9057 			found="yes"
   9058 		fi
   9059 	fi
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 xorg_testset_save_CFLAGS="$CFLAGS"
   9076 
   9077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9080 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9081 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9082 then :
   9083   printf %s "(cached) " >&6
   9084 else $as_nop
   9085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9086 /* end confdefs.h.  */
   9087 int i;
   9088 _ACEOF
   9089 if ac_fn_c_try_compile "$LINENO"
   9090 then :
   9091   xorg_cv_cc_flag_unknown_warning_option=yes
   9092 else $as_nop
   9093   xorg_cv_cc_flag_unknown_warning_option=no
   9094 fi
   9095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9096 fi
   9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9098 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9100 	CFLAGS="$xorg_testset_save_CFLAGS"
   9101 fi
   9102 
   9103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9106 	fi
   9107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9108 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9109 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9110 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9111 then :
   9112   printf %s "(cached) " >&6
   9113 else $as_nop
   9114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9115 /* end confdefs.h.  */
   9116 int i;
   9117 _ACEOF
   9118 if ac_fn_c_try_compile "$LINENO"
   9119 then :
   9120   xorg_cv_cc_flag_unused_command_line_argument=yes
   9121 else $as_nop
   9122   xorg_cv_cc_flag_unused_command_line_argument=no
   9123 fi
   9124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9125 fi
   9126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9127 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9128 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9129 	CFLAGS="$xorg_testset_save_CFLAGS"
   9130 fi
   9131 
   9132 found="no"
   9133 
   9134 	if test $found = "no" ; then
   9135 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9137 		fi
   9138 
   9139 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9141 		fi
   9142 
   9143 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9144 
   9145 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9146 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9147 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9148 		if eval test \${$cacheid+y}
   9149 then :
   9150   printf %s "(cached) " >&6
   9151 else $as_nop
   9152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9153 /* end confdefs.h.  */
   9154 int i;
   9155 int
   9156 main (void)
   9157 {
   9158 
   9159   ;
   9160   return 0;
   9161 }
   9162 _ACEOF
   9163 if ac_fn_c_try_link "$LINENO"
   9164 then :
   9165   eval $cacheid=yes
   9166 else $as_nop
   9167   eval $cacheid=no
   9168 fi
   9169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9170     conftest$ac_exeext conftest.$ac_ext
   9171 fi
   9172 
   9173 
   9174 		CFLAGS="$xorg_testset_save_CFLAGS"
   9175 
   9176 		eval supported=\$$cacheid
   9177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9178 printf "%s\n" "$supported" >&6; }
   9179 		if test "$supported" = "yes" ; then
   9180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9181 			found="yes"
   9182 		fi
   9183 	fi
   9184 
   9185  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9186 else
   9187 { printf "%s\n" "$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
   9188 printf "%s\n" "$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;}
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 xorg_testset_save_CFLAGS="$CFLAGS"
   9203 
   9204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9207 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9208 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9209 then :
   9210   printf %s "(cached) " >&6
   9211 else $as_nop
   9212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 _ACEOF
   9216 if ac_fn_c_try_compile "$LINENO"
   9217 then :
   9218   xorg_cv_cc_flag_unknown_warning_option=yes
   9219 else $as_nop
   9220   xorg_cv_cc_flag_unknown_warning_option=no
   9221 fi
   9222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9223 fi
   9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9225 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9227 	CFLAGS="$xorg_testset_save_CFLAGS"
   9228 fi
   9229 
   9230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9233 	fi
   9234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9235 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9236 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9237 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9238 then :
   9239   printf %s "(cached) " >&6
   9240 else $as_nop
   9241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9242 /* end confdefs.h.  */
   9243 int i;
   9244 _ACEOF
   9245 if ac_fn_c_try_compile "$LINENO"
   9246 then :
   9247   xorg_cv_cc_flag_unused_command_line_argument=yes
   9248 else $as_nop
   9249   xorg_cv_cc_flag_unused_command_line_argument=no
   9250 fi
   9251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9252 fi
   9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9254 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9256 	CFLAGS="$xorg_testset_save_CFLAGS"
   9257 fi
   9258 
   9259 found="no"
   9260 
   9261 	if test $found = "no" ; then
   9262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9264 		fi
   9265 
   9266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9268 		fi
   9269 
   9270 		CFLAGS="$CFLAGS -Wimplicit"
   9271 
   9272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9273 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9274 		cacheid=xorg_cv_cc_flag__Wimplicit
   9275 		if eval test \${$cacheid+y}
   9276 then :
   9277   printf %s "(cached) " >&6
   9278 else $as_nop
   9279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9280 /* end confdefs.h.  */
   9281 int i;
   9282 int
   9283 main (void)
   9284 {
   9285 
   9286   ;
   9287   return 0;
   9288 }
   9289 _ACEOF
   9290 if ac_fn_c_try_link "$LINENO"
   9291 then :
   9292   eval $cacheid=yes
   9293 else $as_nop
   9294   eval $cacheid=no
   9295 fi
   9296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9297     conftest$ac_exeext conftest.$ac_ext
   9298 fi
   9299 
   9300 
   9301 		CFLAGS="$xorg_testset_save_CFLAGS"
   9302 
   9303 		eval supported=\$$cacheid
   9304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9305 printf "%s\n" "$supported" >&6; }
   9306 		if test "$supported" = "yes" ; then
   9307 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9308 			found="yes"
   9309 		fi
   9310 	fi
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 xorg_testset_save_CFLAGS="$CFLAGS"
   9327 
   9328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9331 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9332 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9333 then :
   9334   printf %s "(cached) " >&6
   9335 else $as_nop
   9336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9337 /* end confdefs.h.  */
   9338 int i;
   9339 _ACEOF
   9340 if ac_fn_c_try_compile "$LINENO"
   9341 then :
   9342   xorg_cv_cc_flag_unknown_warning_option=yes
   9343 else $as_nop
   9344   xorg_cv_cc_flag_unknown_warning_option=no
   9345 fi
   9346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9347 fi
   9348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9349 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9351 	CFLAGS="$xorg_testset_save_CFLAGS"
   9352 fi
   9353 
   9354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9357 	fi
   9358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9360 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9361 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9362 then :
   9363   printf %s "(cached) " >&6
   9364 else $as_nop
   9365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9366 /* end confdefs.h.  */
   9367 int i;
   9368 _ACEOF
   9369 if ac_fn_c_try_compile "$LINENO"
   9370 then :
   9371   xorg_cv_cc_flag_unused_command_line_argument=yes
   9372 else $as_nop
   9373   xorg_cv_cc_flag_unused_command_line_argument=no
   9374 fi
   9375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9376 fi
   9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9378 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9380 	CFLAGS="$xorg_testset_save_CFLAGS"
   9381 fi
   9382 
   9383 found="no"
   9384 
   9385 	if test $found = "no" ; then
   9386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9388 		fi
   9389 
   9390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9392 		fi
   9393 
   9394 		CFLAGS="$CFLAGS -Wnonnull"
   9395 
   9396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9397 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9398 		cacheid=xorg_cv_cc_flag__Wnonnull
   9399 		if eval test \${$cacheid+y}
   9400 then :
   9401   printf %s "(cached) " >&6
   9402 else $as_nop
   9403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int i;
   9406 int
   9407 main (void)
   9408 {
   9409 
   9410   ;
   9411   return 0;
   9412 }
   9413 _ACEOF
   9414 if ac_fn_c_try_link "$LINENO"
   9415 then :
   9416   eval $cacheid=yes
   9417 else $as_nop
   9418   eval $cacheid=no
   9419 fi
   9420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9421     conftest$ac_exeext conftest.$ac_ext
   9422 fi
   9423 
   9424 
   9425 		CFLAGS="$xorg_testset_save_CFLAGS"
   9426 
   9427 		eval supported=\$$cacheid
   9428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9429 printf "%s\n" "$supported" >&6; }
   9430 		if test "$supported" = "yes" ; then
   9431 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9432 			found="yes"
   9433 		fi
   9434 	fi
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 xorg_testset_save_CFLAGS="$CFLAGS"
   9451 
   9452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9457 then :
   9458   printf %s "(cached) " >&6
   9459 else $as_nop
   9460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9461 /* end confdefs.h.  */
   9462 int i;
   9463 _ACEOF
   9464 if ac_fn_c_try_compile "$LINENO"
   9465 then :
   9466   xorg_cv_cc_flag_unknown_warning_option=yes
   9467 else $as_nop
   9468   xorg_cv_cc_flag_unknown_warning_option=no
   9469 fi
   9470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9471 fi
   9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9473 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9474 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9475 	CFLAGS="$xorg_testset_save_CFLAGS"
   9476 fi
   9477 
   9478 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9479 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9481 	fi
   9482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9484 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9485 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9486 then :
   9487   printf %s "(cached) " >&6
   9488 else $as_nop
   9489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9490 /* end confdefs.h.  */
   9491 int i;
   9492 _ACEOF
   9493 if ac_fn_c_try_compile "$LINENO"
   9494 then :
   9495   xorg_cv_cc_flag_unused_command_line_argument=yes
   9496 else $as_nop
   9497   xorg_cv_cc_flag_unused_command_line_argument=no
   9498 fi
   9499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9500 fi
   9501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9502 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9504 	CFLAGS="$xorg_testset_save_CFLAGS"
   9505 fi
   9506 
   9507 found="no"
   9508 
   9509 	if test $found = "no" ; then
   9510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9512 		fi
   9513 
   9514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9516 		fi
   9517 
   9518 		CFLAGS="$CFLAGS -Winit-self"
   9519 
   9520 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9521 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9522 		cacheid=xorg_cv_cc_flag__Winit_self
   9523 		if eval test \${$cacheid+y}
   9524 then :
   9525   printf %s "(cached) " >&6
   9526 else $as_nop
   9527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9528 /* end confdefs.h.  */
   9529 int i;
   9530 int
   9531 main (void)
   9532 {
   9533 
   9534   ;
   9535   return 0;
   9536 }
   9537 _ACEOF
   9538 if ac_fn_c_try_link "$LINENO"
   9539 then :
   9540   eval $cacheid=yes
   9541 else $as_nop
   9542   eval $cacheid=no
   9543 fi
   9544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9545     conftest$ac_exeext conftest.$ac_ext
   9546 fi
   9547 
   9548 
   9549 		CFLAGS="$xorg_testset_save_CFLAGS"
   9550 
   9551 		eval supported=\$$cacheid
   9552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9553 printf "%s\n" "$supported" >&6; }
   9554 		if test "$supported" = "yes" ; then
   9555 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9556 			found="yes"
   9557 		fi
   9558 	fi
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 
   9574 xorg_testset_save_CFLAGS="$CFLAGS"
   9575 
   9576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9579 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9580 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9581 then :
   9582   printf %s "(cached) " >&6
   9583 else $as_nop
   9584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9585 /* end confdefs.h.  */
   9586 int i;
   9587 _ACEOF
   9588 if ac_fn_c_try_compile "$LINENO"
   9589 then :
   9590   xorg_cv_cc_flag_unknown_warning_option=yes
   9591 else $as_nop
   9592   xorg_cv_cc_flag_unknown_warning_option=no
   9593 fi
   9594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9595 fi
   9596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9597 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9599 	CFLAGS="$xorg_testset_save_CFLAGS"
   9600 fi
   9601 
   9602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9605 	fi
   9606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9608 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9609 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9610 then :
   9611   printf %s "(cached) " >&6
   9612 else $as_nop
   9613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9614 /* end confdefs.h.  */
   9615 int i;
   9616 _ACEOF
   9617 if ac_fn_c_try_compile "$LINENO"
   9618 then :
   9619   xorg_cv_cc_flag_unused_command_line_argument=yes
   9620 else $as_nop
   9621   xorg_cv_cc_flag_unused_command_line_argument=no
   9622 fi
   9623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9624 fi
   9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9626 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9628 	CFLAGS="$xorg_testset_save_CFLAGS"
   9629 fi
   9630 
   9631 found="no"
   9632 
   9633 	if test $found = "no" ; then
   9634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9636 		fi
   9637 
   9638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9640 		fi
   9641 
   9642 		CFLAGS="$CFLAGS -Wmain"
   9643 
   9644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9645 printf %s "checking if $CC supports -Wmain... " >&6; }
   9646 		cacheid=xorg_cv_cc_flag__Wmain
   9647 		if eval test \${$cacheid+y}
   9648 then :
   9649   printf %s "(cached) " >&6
   9650 else $as_nop
   9651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9652 /* end confdefs.h.  */
   9653 int i;
   9654 int
   9655 main (void)
   9656 {
   9657 
   9658   ;
   9659   return 0;
   9660 }
   9661 _ACEOF
   9662 if ac_fn_c_try_link "$LINENO"
   9663 then :
   9664   eval $cacheid=yes
   9665 else $as_nop
   9666   eval $cacheid=no
   9667 fi
   9668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9669     conftest$ac_exeext conftest.$ac_ext
   9670 fi
   9671 
   9672 
   9673 		CFLAGS="$xorg_testset_save_CFLAGS"
   9674 
   9675 		eval supported=\$$cacheid
   9676 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9677 printf "%s\n" "$supported" >&6; }
   9678 		if test "$supported" = "yes" ; then
   9679 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9680 			found="yes"
   9681 		fi
   9682 	fi
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 xorg_testset_save_CFLAGS="$CFLAGS"
   9699 
   9700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9703 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9704 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9705 then :
   9706   printf %s "(cached) " >&6
   9707 else $as_nop
   9708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9709 /* end confdefs.h.  */
   9710 int i;
   9711 _ACEOF
   9712 if ac_fn_c_try_compile "$LINENO"
   9713 then :
   9714   xorg_cv_cc_flag_unknown_warning_option=yes
   9715 else $as_nop
   9716   xorg_cv_cc_flag_unknown_warning_option=no
   9717 fi
   9718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9719 fi
   9720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9721 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9723 	CFLAGS="$xorg_testset_save_CFLAGS"
   9724 fi
   9725 
   9726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9729 	fi
   9730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9732 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9733 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9734 then :
   9735   printf %s "(cached) " >&6
   9736 else $as_nop
   9737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9738 /* end confdefs.h.  */
   9739 int i;
   9740 _ACEOF
   9741 if ac_fn_c_try_compile "$LINENO"
   9742 then :
   9743   xorg_cv_cc_flag_unused_command_line_argument=yes
   9744 else $as_nop
   9745   xorg_cv_cc_flag_unused_command_line_argument=no
   9746 fi
   9747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9748 fi
   9749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9750 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9752 	CFLAGS="$xorg_testset_save_CFLAGS"
   9753 fi
   9754 
   9755 found="no"
   9756 
   9757 	if test $found = "no" ; then
   9758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9760 		fi
   9761 
   9762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9764 		fi
   9765 
   9766 		CFLAGS="$CFLAGS -Wmissing-braces"
   9767 
   9768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9769 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9770 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9771 		if eval test \${$cacheid+y}
   9772 then :
   9773   printf %s "(cached) " >&6
   9774 else $as_nop
   9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9776 /* end confdefs.h.  */
   9777 int i;
   9778 int
   9779 main (void)
   9780 {
   9781 
   9782   ;
   9783   return 0;
   9784 }
   9785 _ACEOF
   9786 if ac_fn_c_try_link "$LINENO"
   9787 then :
   9788   eval $cacheid=yes
   9789 else $as_nop
   9790   eval $cacheid=no
   9791 fi
   9792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9793     conftest$ac_exeext conftest.$ac_ext
   9794 fi
   9795 
   9796 
   9797 		CFLAGS="$xorg_testset_save_CFLAGS"
   9798 
   9799 		eval supported=\$$cacheid
   9800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9801 printf "%s\n" "$supported" >&6; }
   9802 		if test "$supported" = "yes" ; then
   9803 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9804 			found="yes"
   9805 		fi
   9806 	fi
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 xorg_testset_save_CFLAGS="$CFLAGS"
   9823 
   9824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9829 then :
   9830   printf %s "(cached) " >&6
   9831 else $as_nop
   9832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9833 /* end confdefs.h.  */
   9834 int i;
   9835 _ACEOF
   9836 if ac_fn_c_try_compile "$LINENO"
   9837 then :
   9838   xorg_cv_cc_flag_unknown_warning_option=yes
   9839 else $as_nop
   9840   xorg_cv_cc_flag_unknown_warning_option=no
   9841 fi
   9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9843 fi
   9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9845 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9847 	CFLAGS="$xorg_testset_save_CFLAGS"
   9848 fi
   9849 
   9850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9853 	fi
   9854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9856 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9857 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9858 then :
   9859   printf %s "(cached) " >&6
   9860 else $as_nop
   9861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9862 /* end confdefs.h.  */
   9863 int i;
   9864 _ACEOF
   9865 if ac_fn_c_try_compile "$LINENO"
   9866 then :
   9867   xorg_cv_cc_flag_unused_command_line_argument=yes
   9868 else $as_nop
   9869   xorg_cv_cc_flag_unused_command_line_argument=no
   9870 fi
   9871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9872 fi
   9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9874 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9876 	CFLAGS="$xorg_testset_save_CFLAGS"
   9877 fi
   9878 
   9879 found="no"
   9880 
   9881 	if test $found = "no" ; then
   9882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9884 		fi
   9885 
   9886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9888 		fi
   9889 
   9890 		CFLAGS="$CFLAGS -Wsequence-point"
   9891 
   9892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9893 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9894 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9895 		if eval test \${$cacheid+y}
   9896 then :
   9897   printf %s "(cached) " >&6
   9898 else $as_nop
   9899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 int
   9903 main (void)
   9904 {
   9905 
   9906   ;
   9907   return 0;
   9908 }
   9909 _ACEOF
   9910 if ac_fn_c_try_link "$LINENO"
   9911 then :
   9912   eval $cacheid=yes
   9913 else $as_nop
   9914   eval $cacheid=no
   9915 fi
   9916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9917     conftest$ac_exeext conftest.$ac_ext
   9918 fi
   9919 
   9920 
   9921 		CFLAGS="$xorg_testset_save_CFLAGS"
   9922 
   9923 		eval supported=\$$cacheid
   9924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9925 printf "%s\n" "$supported" >&6; }
   9926 		if test "$supported" = "yes" ; then
   9927 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9928 			found="yes"
   9929 		fi
   9930 	fi
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 xorg_testset_save_CFLAGS="$CFLAGS"
   9947 
   9948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9951 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9952 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9953 then :
   9954   printf %s "(cached) " >&6
   9955 else $as_nop
   9956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 _ACEOF
   9960 if ac_fn_c_try_compile "$LINENO"
   9961 then :
   9962   xorg_cv_cc_flag_unknown_warning_option=yes
   9963 else $as_nop
   9964   xorg_cv_cc_flag_unknown_warning_option=no
   9965 fi
   9966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9967 fi
   9968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9971 	CFLAGS="$xorg_testset_save_CFLAGS"
   9972 fi
   9973 
   9974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9977 	fi
   9978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9982 then :
   9983   printf %s "(cached) " >&6
   9984 else $as_nop
   9985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9986 /* end confdefs.h.  */
   9987 int i;
   9988 _ACEOF
   9989 if ac_fn_c_try_compile "$LINENO"
   9990 then :
   9991   xorg_cv_cc_flag_unused_command_line_argument=yes
   9992 else $as_nop
   9993   xorg_cv_cc_flag_unused_command_line_argument=no
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9996 fi
   9997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9998 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10000 	CFLAGS="$xorg_testset_save_CFLAGS"
   10001 fi
   10002 
   10003 found="no"
   10004 
   10005 	if test $found = "no" ; then
   10006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10008 		fi
   10009 
   10010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10012 		fi
   10013 
   10014 		CFLAGS="$CFLAGS -Wreturn-type"
   10015 
   10016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10017 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10018 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10019 		if eval test \${$cacheid+y}
   10020 then :
   10021   printf %s "(cached) " >&6
   10022 else $as_nop
   10023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10024 /* end confdefs.h.  */
   10025 int i;
   10026 int
   10027 main (void)
   10028 {
   10029 
   10030   ;
   10031   return 0;
   10032 }
   10033 _ACEOF
   10034 if ac_fn_c_try_link "$LINENO"
   10035 then :
   10036   eval $cacheid=yes
   10037 else $as_nop
   10038   eval $cacheid=no
   10039 fi
   10040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10041     conftest$ac_exeext conftest.$ac_ext
   10042 fi
   10043 
   10044 
   10045 		CFLAGS="$xorg_testset_save_CFLAGS"
   10046 
   10047 		eval supported=\$$cacheid
   10048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10049 printf "%s\n" "$supported" >&6; }
   10050 		if test "$supported" = "yes" ; then
   10051 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10052 			found="yes"
   10053 		fi
   10054 	fi
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 xorg_testset_save_CFLAGS="$CFLAGS"
   10071 
   10072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10075 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10076 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10077 then :
   10078   printf %s "(cached) " >&6
   10079 else $as_nop
   10080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10081 /* end confdefs.h.  */
   10082 int i;
   10083 _ACEOF
   10084 if ac_fn_c_try_compile "$LINENO"
   10085 then :
   10086   xorg_cv_cc_flag_unknown_warning_option=yes
   10087 else $as_nop
   10088   xorg_cv_cc_flag_unknown_warning_option=no
   10089 fi
   10090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10091 fi
   10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10093 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10095 	CFLAGS="$xorg_testset_save_CFLAGS"
   10096 fi
   10097 
   10098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10101 	fi
   10102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10104 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10105 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10106 then :
   10107   printf %s "(cached) " >&6
   10108 else $as_nop
   10109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10110 /* end confdefs.h.  */
   10111 int i;
   10112 _ACEOF
   10113 if ac_fn_c_try_compile "$LINENO"
   10114 then :
   10115   xorg_cv_cc_flag_unused_command_line_argument=yes
   10116 else $as_nop
   10117   xorg_cv_cc_flag_unused_command_line_argument=no
   10118 fi
   10119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10120 fi
   10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10122 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10124 	CFLAGS="$xorg_testset_save_CFLAGS"
   10125 fi
   10126 
   10127 found="no"
   10128 
   10129 	if test $found = "no" ; then
   10130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10132 		fi
   10133 
   10134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10136 		fi
   10137 
   10138 		CFLAGS="$CFLAGS -Wtrigraphs"
   10139 
   10140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10141 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10142 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10143 		if eval test \${$cacheid+y}
   10144 then :
   10145   printf %s "(cached) " >&6
   10146 else $as_nop
   10147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10148 /* end confdefs.h.  */
   10149 int i;
   10150 int
   10151 main (void)
   10152 {
   10153 
   10154   ;
   10155   return 0;
   10156 }
   10157 _ACEOF
   10158 if ac_fn_c_try_link "$LINENO"
   10159 then :
   10160   eval $cacheid=yes
   10161 else $as_nop
   10162   eval $cacheid=no
   10163 fi
   10164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10165     conftest$ac_exeext conftest.$ac_ext
   10166 fi
   10167 
   10168 
   10169 		CFLAGS="$xorg_testset_save_CFLAGS"
   10170 
   10171 		eval supported=\$$cacheid
   10172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10173 printf "%s\n" "$supported" >&6; }
   10174 		if test "$supported" = "yes" ; then
   10175 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10176 			found="yes"
   10177 		fi
   10178 	fi
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 xorg_testset_save_CFLAGS="$CFLAGS"
   10195 
   10196 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10197 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10199 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10200 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10201 then :
   10202   printf %s "(cached) " >&6
   10203 else $as_nop
   10204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10205 /* end confdefs.h.  */
   10206 int i;
   10207 _ACEOF
   10208 if ac_fn_c_try_compile "$LINENO"
   10209 then :
   10210   xorg_cv_cc_flag_unknown_warning_option=yes
   10211 else $as_nop
   10212   xorg_cv_cc_flag_unknown_warning_option=no
   10213 fi
   10214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10215 fi
   10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10217 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10218 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10219 	CFLAGS="$xorg_testset_save_CFLAGS"
   10220 fi
   10221 
   10222 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10223 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10224 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10225 	fi
   10226 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10227 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10228 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10229 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10230 then :
   10231   printf %s "(cached) " >&6
   10232 else $as_nop
   10233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10234 /* end confdefs.h.  */
   10235 int i;
   10236 _ACEOF
   10237 if ac_fn_c_try_compile "$LINENO"
   10238 then :
   10239   xorg_cv_cc_flag_unused_command_line_argument=yes
   10240 else $as_nop
   10241   xorg_cv_cc_flag_unused_command_line_argument=no
   10242 fi
   10243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10244 fi
   10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10246 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10247 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10248 	CFLAGS="$xorg_testset_save_CFLAGS"
   10249 fi
   10250 
   10251 found="no"
   10252 
   10253 	if test $found = "no" ; then
   10254 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10255 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10256 		fi
   10257 
   10258 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10259 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10260 		fi
   10261 
   10262 		CFLAGS="$CFLAGS -Warray-bounds"
   10263 
   10264 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10265 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10266 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10267 		if eval test \${$cacheid+y}
   10268 then :
   10269   printf %s "(cached) " >&6
   10270 else $as_nop
   10271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10272 /* end confdefs.h.  */
   10273 int i;
   10274 int
   10275 main (void)
   10276 {
   10277 
   10278   ;
   10279   return 0;
   10280 }
   10281 _ACEOF
   10282 if ac_fn_c_try_link "$LINENO"
   10283 then :
   10284   eval $cacheid=yes
   10285 else $as_nop
   10286   eval $cacheid=no
   10287 fi
   10288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10289     conftest$ac_exeext conftest.$ac_ext
   10290 fi
   10291 
   10292 
   10293 		CFLAGS="$xorg_testset_save_CFLAGS"
   10294 
   10295 		eval supported=\$$cacheid
   10296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10297 printf "%s\n" "$supported" >&6; }
   10298 		if test "$supported" = "yes" ; then
   10299 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10300 			found="yes"
   10301 		fi
   10302 	fi
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 xorg_testset_save_CFLAGS="$CFLAGS"
   10319 
   10320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10323 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10324 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10325 then :
   10326   printf %s "(cached) " >&6
   10327 else $as_nop
   10328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10329 /* end confdefs.h.  */
   10330 int i;
   10331 _ACEOF
   10332 if ac_fn_c_try_compile "$LINENO"
   10333 then :
   10334   xorg_cv_cc_flag_unknown_warning_option=yes
   10335 else $as_nop
   10336   xorg_cv_cc_flag_unknown_warning_option=no
   10337 fi
   10338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10339 fi
   10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10341 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10343 	CFLAGS="$xorg_testset_save_CFLAGS"
   10344 fi
   10345 
   10346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10349 	fi
   10350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10351 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10352 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10353 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10354 then :
   10355   printf %s "(cached) " >&6
   10356 else $as_nop
   10357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10358 /* end confdefs.h.  */
   10359 int i;
   10360 _ACEOF
   10361 if ac_fn_c_try_compile "$LINENO"
   10362 then :
   10363   xorg_cv_cc_flag_unused_command_line_argument=yes
   10364 else $as_nop
   10365   xorg_cv_cc_flag_unused_command_line_argument=no
   10366 fi
   10367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10368 fi
   10369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10370 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10372 	CFLAGS="$xorg_testset_save_CFLAGS"
   10373 fi
   10374 
   10375 found="no"
   10376 
   10377 	if test $found = "no" ; then
   10378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10380 		fi
   10381 
   10382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10384 		fi
   10385 
   10386 		CFLAGS="$CFLAGS -Wwrite-strings"
   10387 
   10388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10389 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10390 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10391 		if eval test \${$cacheid+y}
   10392 then :
   10393   printf %s "(cached) " >&6
   10394 else $as_nop
   10395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10396 /* end confdefs.h.  */
   10397 int i;
   10398 int
   10399 main (void)
   10400 {
   10401 
   10402   ;
   10403   return 0;
   10404 }
   10405 _ACEOF
   10406 if ac_fn_c_try_link "$LINENO"
   10407 then :
   10408   eval $cacheid=yes
   10409 else $as_nop
   10410   eval $cacheid=no
   10411 fi
   10412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10413     conftest$ac_exeext conftest.$ac_ext
   10414 fi
   10415 
   10416 
   10417 		CFLAGS="$xorg_testset_save_CFLAGS"
   10418 
   10419 		eval supported=\$$cacheid
   10420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10421 printf "%s\n" "$supported" >&6; }
   10422 		if test "$supported" = "yes" ; then
   10423 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10424 			found="yes"
   10425 		fi
   10426 	fi
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 xorg_testset_save_CFLAGS="$CFLAGS"
   10443 
   10444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10447 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10448 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10449 then :
   10450   printf %s "(cached) " >&6
   10451 else $as_nop
   10452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10453 /* end confdefs.h.  */
   10454 int i;
   10455 _ACEOF
   10456 if ac_fn_c_try_compile "$LINENO"
   10457 then :
   10458   xorg_cv_cc_flag_unknown_warning_option=yes
   10459 else $as_nop
   10460   xorg_cv_cc_flag_unknown_warning_option=no
   10461 fi
   10462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10463 fi
   10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10465 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10467 	CFLAGS="$xorg_testset_save_CFLAGS"
   10468 fi
   10469 
   10470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10473 	fi
   10474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10476 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10477 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10478 then :
   10479   printf %s "(cached) " >&6
   10480 else $as_nop
   10481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10482 /* end confdefs.h.  */
   10483 int i;
   10484 _ACEOF
   10485 if ac_fn_c_try_compile "$LINENO"
   10486 then :
   10487   xorg_cv_cc_flag_unused_command_line_argument=yes
   10488 else $as_nop
   10489   xorg_cv_cc_flag_unused_command_line_argument=no
   10490 fi
   10491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10492 fi
   10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10494 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10496 	CFLAGS="$xorg_testset_save_CFLAGS"
   10497 fi
   10498 
   10499 found="no"
   10500 
   10501 	if test $found = "no" ; then
   10502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10504 		fi
   10505 
   10506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10508 		fi
   10509 
   10510 		CFLAGS="$CFLAGS -Waddress"
   10511 
   10512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10513 printf %s "checking if $CC supports -Waddress... " >&6; }
   10514 		cacheid=xorg_cv_cc_flag__Waddress
   10515 		if eval test \${$cacheid+y}
   10516 then :
   10517   printf %s "(cached) " >&6
   10518 else $as_nop
   10519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10520 /* end confdefs.h.  */
   10521 int i;
   10522 int
   10523 main (void)
   10524 {
   10525 
   10526   ;
   10527   return 0;
   10528 }
   10529 _ACEOF
   10530 if ac_fn_c_try_link "$LINENO"
   10531 then :
   10532   eval $cacheid=yes
   10533 else $as_nop
   10534   eval $cacheid=no
   10535 fi
   10536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10537     conftest$ac_exeext conftest.$ac_ext
   10538 fi
   10539 
   10540 
   10541 		CFLAGS="$xorg_testset_save_CFLAGS"
   10542 
   10543 		eval supported=\$$cacheid
   10544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10545 printf "%s\n" "$supported" >&6; }
   10546 		if test "$supported" = "yes" ; then
   10547 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10548 			found="yes"
   10549 		fi
   10550 	fi
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 xorg_testset_save_CFLAGS="$CFLAGS"
   10567 
   10568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10571 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10572 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10573 then :
   10574   printf %s "(cached) " >&6
   10575 else $as_nop
   10576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10577 /* end confdefs.h.  */
   10578 int i;
   10579 _ACEOF
   10580 if ac_fn_c_try_compile "$LINENO"
   10581 then :
   10582   xorg_cv_cc_flag_unknown_warning_option=yes
   10583 else $as_nop
   10584   xorg_cv_cc_flag_unknown_warning_option=no
   10585 fi
   10586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10587 fi
   10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10591 	CFLAGS="$xorg_testset_save_CFLAGS"
   10592 fi
   10593 
   10594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10597 	fi
   10598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10602 then :
   10603   printf %s "(cached) " >&6
   10604 else $as_nop
   10605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10606 /* end confdefs.h.  */
   10607 int i;
   10608 _ACEOF
   10609 if ac_fn_c_try_compile "$LINENO"
   10610 then :
   10611   xorg_cv_cc_flag_unused_command_line_argument=yes
   10612 else $as_nop
   10613   xorg_cv_cc_flag_unused_command_line_argument=no
   10614 fi
   10615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10616 fi
   10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10618 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10619 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10620 	CFLAGS="$xorg_testset_save_CFLAGS"
   10621 fi
   10622 
   10623 found="no"
   10624 
   10625 	if test $found = "no" ; then
   10626 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10627 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10628 		fi
   10629 
   10630 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10631 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10632 		fi
   10633 
   10634 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10635 
   10636 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10637 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10638 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10639 		if eval test \${$cacheid+y}
   10640 then :
   10641   printf %s "(cached) " >&6
   10642 else $as_nop
   10643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10644 /* end confdefs.h.  */
   10645 int i;
   10646 int
   10647 main (void)
   10648 {
   10649 
   10650   ;
   10651   return 0;
   10652 }
   10653 _ACEOF
   10654 if ac_fn_c_try_link "$LINENO"
   10655 then :
   10656   eval $cacheid=yes
   10657 else $as_nop
   10658   eval $cacheid=no
   10659 fi
   10660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10661     conftest$ac_exeext conftest.$ac_ext
   10662 fi
   10663 
   10664 
   10665 		CFLAGS="$xorg_testset_save_CFLAGS"
   10666 
   10667 		eval supported=\$$cacheid
   10668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10669 printf "%s\n" "$supported" >&6; }
   10670 		if test "$supported" = "yes" ; then
   10671 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10672 			found="yes"
   10673 		fi
   10674 	fi
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 xorg_testset_save_CFLAGS="$CFLAGS"
   10691 
   10692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10695 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10696 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10697 then :
   10698   printf %s "(cached) " >&6
   10699 else $as_nop
   10700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10701 /* end confdefs.h.  */
   10702 int i;
   10703 _ACEOF
   10704 if ac_fn_c_try_compile "$LINENO"
   10705 then :
   10706   xorg_cv_cc_flag_unknown_warning_option=yes
   10707 else $as_nop
   10708   xorg_cv_cc_flag_unknown_warning_option=no
   10709 fi
   10710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10711 fi
   10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10715 	CFLAGS="$xorg_testset_save_CFLAGS"
   10716 fi
   10717 
   10718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10721 	fi
   10722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10726 then :
   10727   printf %s "(cached) " >&6
   10728 else $as_nop
   10729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10730 /* end confdefs.h.  */
   10731 int i;
   10732 _ACEOF
   10733 if ac_fn_c_try_compile "$LINENO"
   10734 then :
   10735   xorg_cv_cc_flag_unused_command_line_argument=yes
   10736 else $as_nop
   10737   xorg_cv_cc_flag_unused_command_line_argument=no
   10738 fi
   10739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10740 fi
   10741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10742 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10743 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10744 	CFLAGS="$xorg_testset_save_CFLAGS"
   10745 fi
   10746 
   10747 found="no"
   10748 
   10749 	if test $found = "no" ; then
   10750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10752 		fi
   10753 
   10754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10756 		fi
   10757 
   10758 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10759 
   10760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10761 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10762 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10763 		if eval test \${$cacheid+y}
   10764 then :
   10765   printf %s "(cached) " >&6
   10766 else $as_nop
   10767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10768 /* end confdefs.h.  */
   10769 int i;
   10770 int
   10771 main (void)
   10772 {
   10773 
   10774   ;
   10775   return 0;
   10776 }
   10777 _ACEOF
   10778 if ac_fn_c_try_link "$LINENO"
   10779 then :
   10780   eval $cacheid=yes
   10781 else $as_nop
   10782   eval $cacheid=no
   10783 fi
   10784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10785     conftest$ac_exeext conftest.$ac_ext
   10786 fi
   10787 
   10788 
   10789 		CFLAGS="$xorg_testset_save_CFLAGS"
   10790 
   10791 		eval supported=\$$cacheid
   10792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10793 printf "%s\n" "$supported" >&6; }
   10794 		if test "$supported" = "yes" ; then
   10795 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10796 			found="yes"
   10797 		fi
   10798 	fi
   10799 
   10800 
   10801 fi
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 		CWARNFLAGS="$BASE_CFLAGS"
   10810 		if  test "x$GCC" = xyes ; then
   10811 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10812 		fi
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 # Check whether --enable-strict-compilation was given.
   10822 if test ${enable_strict_compilation+y}
   10823 then :
   10824   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10825 else $as_nop
   10826   STRICT_COMPILE=no
   10827 fi
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 STRICT_CFLAGS=""
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 xorg_testset_save_CFLAGS="$CFLAGS"
   10849 
   10850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10853 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10854 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10855 then :
   10856   printf %s "(cached) " >&6
   10857 else $as_nop
   10858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10859 /* end confdefs.h.  */
   10860 int i;
   10861 _ACEOF
   10862 if ac_fn_c_try_compile "$LINENO"
   10863 then :
   10864   xorg_cv_cc_flag_unknown_warning_option=yes
   10865 else $as_nop
   10866   xorg_cv_cc_flag_unknown_warning_option=no
   10867 fi
   10868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10869 fi
   10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10871 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10873 	CFLAGS="$xorg_testset_save_CFLAGS"
   10874 fi
   10875 
   10876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10879 	fi
   10880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10881 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10882 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10883 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10884 then :
   10885   printf %s "(cached) " >&6
   10886 else $as_nop
   10887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10888 /* end confdefs.h.  */
   10889 int i;
   10890 _ACEOF
   10891 if ac_fn_c_try_compile "$LINENO"
   10892 then :
   10893   xorg_cv_cc_flag_unused_command_line_argument=yes
   10894 else $as_nop
   10895   xorg_cv_cc_flag_unused_command_line_argument=no
   10896 fi
   10897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10898 fi
   10899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10900 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10902 	CFLAGS="$xorg_testset_save_CFLAGS"
   10903 fi
   10904 
   10905 found="no"
   10906 
   10907 	if test $found = "no" ; then
   10908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10910 		fi
   10911 
   10912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10914 		fi
   10915 
   10916 		CFLAGS="$CFLAGS -pedantic"
   10917 
   10918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10919 printf %s "checking if $CC supports -pedantic... " >&6; }
   10920 		cacheid=xorg_cv_cc_flag__pedantic
   10921 		if eval test \${$cacheid+y}
   10922 then :
   10923   printf %s "(cached) " >&6
   10924 else $as_nop
   10925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10926 /* end confdefs.h.  */
   10927 int i;
   10928 int
   10929 main (void)
   10930 {
   10931 
   10932   ;
   10933   return 0;
   10934 }
   10935 _ACEOF
   10936 if ac_fn_c_try_link "$LINENO"
   10937 then :
   10938   eval $cacheid=yes
   10939 else $as_nop
   10940   eval $cacheid=no
   10941 fi
   10942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10943     conftest$ac_exeext conftest.$ac_ext
   10944 fi
   10945 
   10946 
   10947 		CFLAGS="$xorg_testset_save_CFLAGS"
   10948 
   10949 		eval supported=\$$cacheid
   10950 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10951 printf "%s\n" "$supported" >&6; }
   10952 		if test "$supported" = "yes" ; then
   10953 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10954 			found="yes"
   10955 		fi
   10956 	fi
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 xorg_testset_save_CFLAGS="$CFLAGS"
   10973 
   10974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10977 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10978 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10979 then :
   10980   printf %s "(cached) " >&6
   10981 else $as_nop
   10982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10983 /* end confdefs.h.  */
   10984 int i;
   10985 _ACEOF
   10986 if ac_fn_c_try_compile "$LINENO"
   10987 then :
   10988   xorg_cv_cc_flag_unknown_warning_option=yes
   10989 else $as_nop
   10990   xorg_cv_cc_flag_unknown_warning_option=no
   10991 fi
   10992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10993 fi
   10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10995 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10997 	CFLAGS="$xorg_testset_save_CFLAGS"
   10998 fi
   10999 
   11000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11003 	fi
   11004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11006 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11007 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11008 then :
   11009   printf %s "(cached) " >&6
   11010 else $as_nop
   11011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11012 /* end confdefs.h.  */
   11013 int i;
   11014 _ACEOF
   11015 if ac_fn_c_try_compile "$LINENO"
   11016 then :
   11017   xorg_cv_cc_flag_unused_command_line_argument=yes
   11018 else $as_nop
   11019   xorg_cv_cc_flag_unused_command_line_argument=no
   11020 fi
   11021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11022 fi
   11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11024 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11026 	CFLAGS="$xorg_testset_save_CFLAGS"
   11027 fi
   11028 
   11029 found="no"
   11030 
   11031 	if test $found = "no" ; then
   11032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11034 		fi
   11035 
   11036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11038 		fi
   11039 
   11040 		CFLAGS="$CFLAGS -Werror"
   11041 
   11042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11043 printf %s "checking if $CC supports -Werror... " >&6; }
   11044 		cacheid=xorg_cv_cc_flag__Werror
   11045 		if eval test \${$cacheid+y}
   11046 then :
   11047   printf %s "(cached) " >&6
   11048 else $as_nop
   11049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11050 /* end confdefs.h.  */
   11051 int i;
   11052 int
   11053 main (void)
   11054 {
   11055 
   11056   ;
   11057   return 0;
   11058 }
   11059 _ACEOF
   11060 if ac_fn_c_try_link "$LINENO"
   11061 then :
   11062   eval $cacheid=yes
   11063 else $as_nop
   11064   eval $cacheid=no
   11065 fi
   11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11067     conftest$ac_exeext conftest.$ac_ext
   11068 fi
   11069 
   11070 
   11071 		CFLAGS="$xorg_testset_save_CFLAGS"
   11072 
   11073 		eval supported=\$$cacheid
   11074 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11075 printf "%s\n" "$supported" >&6; }
   11076 		if test "$supported" = "yes" ; then
   11077 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11078 			found="yes"
   11079 		fi
   11080 	fi
   11081 
   11082 	if test $found = "no" ; then
   11083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11085 		fi
   11086 
   11087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11089 		fi
   11090 
   11091 		CFLAGS="$CFLAGS -errwarn"
   11092 
   11093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11094 printf %s "checking if $CC supports -errwarn... " >&6; }
   11095 		cacheid=xorg_cv_cc_flag__errwarn
   11096 		if eval test \${$cacheid+y}
   11097 then :
   11098   printf %s "(cached) " >&6
   11099 else $as_nop
   11100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11101 /* end confdefs.h.  */
   11102 int i;
   11103 int
   11104 main (void)
   11105 {
   11106 
   11107   ;
   11108   return 0;
   11109 }
   11110 _ACEOF
   11111 if ac_fn_c_try_link "$LINENO"
   11112 then :
   11113   eval $cacheid=yes
   11114 else $as_nop
   11115   eval $cacheid=no
   11116 fi
   11117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11118     conftest$ac_exeext conftest.$ac_ext
   11119 fi
   11120 
   11121 
   11122 		CFLAGS="$xorg_testset_save_CFLAGS"
   11123 
   11124 		eval supported=\$$cacheid
   11125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11126 printf "%s\n" "$supported" >&6; }
   11127 		if test "$supported" = "yes" ; then
   11128 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11129 			found="yes"
   11130 		fi
   11131 	fi
   11132 
   11133 
   11134 
   11135 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11136 # activate it with -Werror, so we add it here explicitly.
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 xorg_testset_save_CFLAGS="$CFLAGS"
   11151 
   11152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11155 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11156 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11157 then :
   11158   printf %s "(cached) " >&6
   11159 else $as_nop
   11160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11161 /* end confdefs.h.  */
   11162 int i;
   11163 _ACEOF
   11164 if ac_fn_c_try_compile "$LINENO"
   11165 then :
   11166   xorg_cv_cc_flag_unknown_warning_option=yes
   11167 else $as_nop
   11168   xorg_cv_cc_flag_unknown_warning_option=no
   11169 fi
   11170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11171 fi
   11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11173 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11175 	CFLAGS="$xorg_testset_save_CFLAGS"
   11176 fi
   11177 
   11178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11181 	fi
   11182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11183 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11184 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11185 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11186 then :
   11187   printf %s "(cached) " >&6
   11188 else $as_nop
   11189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11190 /* end confdefs.h.  */
   11191 int i;
   11192 _ACEOF
   11193 if ac_fn_c_try_compile "$LINENO"
   11194 then :
   11195   xorg_cv_cc_flag_unused_command_line_argument=yes
   11196 else $as_nop
   11197   xorg_cv_cc_flag_unused_command_line_argument=no
   11198 fi
   11199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11200 fi
   11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11202 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11204 	CFLAGS="$xorg_testset_save_CFLAGS"
   11205 fi
   11206 
   11207 found="no"
   11208 
   11209 	if test $found = "no" ; then
   11210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11212 		fi
   11213 
   11214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11216 		fi
   11217 
   11218 		CFLAGS="$CFLAGS -Werror=attributes"
   11219 
   11220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11221 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11222 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11223 		if eval test \${$cacheid+y}
   11224 then :
   11225   printf %s "(cached) " >&6
   11226 else $as_nop
   11227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11228 /* end confdefs.h.  */
   11229 int i;
   11230 int
   11231 main (void)
   11232 {
   11233 
   11234   ;
   11235   return 0;
   11236 }
   11237 _ACEOF
   11238 if ac_fn_c_try_link "$LINENO"
   11239 then :
   11240   eval $cacheid=yes
   11241 else $as_nop
   11242   eval $cacheid=no
   11243 fi
   11244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11245     conftest$ac_exeext conftest.$ac_ext
   11246 fi
   11247 
   11248 
   11249 		CFLAGS="$xorg_testset_save_CFLAGS"
   11250 
   11251 		eval supported=\$$cacheid
   11252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11253 printf "%s\n" "$supported" >&6; }
   11254 		if test "$supported" = "yes" ; then
   11255 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11256 			found="yes"
   11257 		fi
   11258 	fi
   11259 
   11260 
   11261 
   11262 if test "x$STRICT_COMPILE" = "xyes"; then
   11263     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11264     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11265 fi
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 cat >>confdefs.h <<_ACEOF
   11273 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11274 _ACEOF
   11275 
   11276 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11277 	if test "x$PVM" = "x"; then
   11278 		PVM="0"
   11279 	fi
   11280 
   11281 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11282 
   11283 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11284 	if test "x$PVP" = "x"; then
   11285 		PVP="0"
   11286 	fi
   11287 
   11288 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11289 
   11290 
   11291 
   11292 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11293 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11294 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11295 touch \$(top_srcdir)/ChangeLog; \
   11296 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11297 
   11298 
   11299 
   11300 
   11301 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11302 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11303 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11304 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11305 touch \$(top_srcdir)/INSTALL; \
   11306 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 case $host_os in
   11314     solaris*)
   11315         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11316         # check for a man page file found in later versions that use
   11317         # traditional section numbers instead
   11318         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11319 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11320 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11321 then :
   11322   printf %s "(cached) " >&6
   11323 else $as_nop
   11324   test "$cross_compiling" = yes &&
   11325   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11326 if test -r "/usr/share/man/man7/attributes.7"; then
   11327   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11328 else
   11329   ac_cv_file__usr_share_man_man7_attributes_7=no
   11330 fi
   11331 fi
   11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11333 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11334 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11335 then :
   11336   SYSV_MAN_SECTIONS=false
   11337 else $as_nop
   11338   SYSV_MAN_SECTIONS=true
   11339 fi
   11340 
   11341         ;;
   11342     *) SYSV_MAN_SECTIONS=false ;;
   11343 esac
   11344 
   11345 if test x$APP_MAN_SUFFIX = x    ; then
   11346     APP_MAN_SUFFIX=1
   11347 fi
   11348 if test x$APP_MAN_DIR = x    ; then
   11349     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11350 fi
   11351 
   11352 if test x$LIB_MAN_SUFFIX = x    ; then
   11353     LIB_MAN_SUFFIX=3
   11354 fi
   11355 if test x$LIB_MAN_DIR = x    ; then
   11356     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11357 fi
   11358 
   11359 if test x$FILE_MAN_SUFFIX = x    ; then
   11360     case $SYSV_MAN_SECTIONS in
   11361 	true)				FILE_MAN_SUFFIX=4  ;;
   11362 	*)				FILE_MAN_SUFFIX=5  ;;
   11363     esac
   11364 fi
   11365 if test x$FILE_MAN_DIR = x    ; then
   11366     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11367 fi
   11368 
   11369 if test x$MISC_MAN_SUFFIX = x    ; then
   11370     case $SYSV_MAN_SECTIONS in
   11371 	true)				MISC_MAN_SUFFIX=5  ;;
   11372 	*)				MISC_MAN_SUFFIX=7  ;;
   11373     esac
   11374 fi
   11375 if test x$MISC_MAN_DIR = x    ; then
   11376     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11377 fi
   11378 
   11379 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11380     case $SYSV_MAN_SECTIONS in
   11381 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11382 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11383     esac
   11384 fi
   11385 if test x$DRIVER_MAN_DIR = x    ; then
   11386     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11387 fi
   11388 
   11389 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11390     case $SYSV_MAN_SECTIONS in
   11391 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11392 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11393     esac
   11394 fi
   11395 if test x$ADMIN_MAN_DIR = x    ; then
   11396     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11397 fi
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 XORG_MAN_PAGE="X Version 11"
   11414 
   11415 MAN_SUBSTS="\
   11416 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11417 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11418 	-e 's|__xservername__|Xorg|g' \
   11419 	-e 's|__xconfigfile__|xorg.conf|g' \
   11420 	-e 's|__projectroot__|\$(prefix)|g' \
   11421 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11422 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11423 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11424 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11425 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11426 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11427 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11428 
   11429 
   11430 
   11431 # Check whether --enable-silent-rules was given.
   11432 if test ${enable_silent_rules+y}
   11433 then :
   11434   enableval=$enable_silent_rules;
   11435 fi
   11436 
   11437 case $enable_silent_rules in # (((
   11438   yes) AM_DEFAULT_VERBOSITY=0;;
   11439    no) AM_DEFAULT_VERBOSITY=1;;
   11440     *) AM_DEFAULT_VERBOSITY=0;;
   11441 esac
   11442 am_make=${MAKE-make}
   11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11444 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11445 if test ${am_cv_make_support_nested_variables+y}
   11446 then :
   11447   printf %s "(cached) " >&6
   11448 else $as_nop
   11449   if printf "%s\n" 'TRUE=$(BAR$(V))
   11450 BAR0=false
   11451 BAR1=true
   11452 V=1
   11453 am__doit:
   11454 	@$(TRUE)
   11455 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11456   am_cv_make_support_nested_variables=yes
   11457 else
   11458   am_cv_make_support_nested_variables=no
   11459 fi
   11460 fi
   11461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11462 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11463 if test $am_cv_make_support_nested_variables = yes; then
   11464     AM_V='$(V)'
   11465   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11466 else
   11467   AM_V=$AM_DEFAULT_VERBOSITY
   11468   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11469 fi
   11470 AM_BACKSLASH='\'
   11471 
   11472 
   11473 
   11474 # Initialize libtool
   11475 # Check whether --enable-static was given.
   11476 if test ${enable_static+y}
   11477 then :
   11478   enableval=$enable_static; p=${PACKAGE-default}
   11479     case $enableval in
   11480     yes) enable_static=yes ;;
   11481     no) enable_static=no ;;
   11482     *)
   11483      enable_static=no
   11484       # Look at the argument we got.  We use all the common list separators.
   11485       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11486       for pkg in $enableval; do
   11487 	IFS=$lt_save_ifs
   11488 	if test "X$pkg" = "X$p"; then
   11489 	  enable_static=yes
   11490 	fi
   11491       done
   11492       IFS=$lt_save_ifs
   11493       ;;
   11494     esac
   11495 else $as_nop
   11496   enable_static=no
   11497 fi
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 case `pwd` in
   11508   *\ * | *\	*)
   11509     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11510 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11511 esac
   11512 
   11513 
   11514 
   11515 macro_version='2.4.7'
   11516 macro_revision='2.4.7'
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 ltmain=$ac_aux_dir/ltmain.sh
   11532 
   11533 # Backslashify metacharacters that are still active within
   11534 # double-quoted strings.
   11535 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11536 
   11537 # Same as above, but do not quote variable references.
   11538 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11539 
   11540 # Sed substitution to delay expansion of an escaped shell variable in a
   11541 # double_quote_subst'ed string.
   11542 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11543 
   11544 # Sed substitution to delay expansion of an escaped single quote.
   11545 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11546 
   11547 # Sed substitution to avoid accidental globbing in evaled expressions
   11548 no_glob_subst='s/\*/\\\*/g'
   11549 
   11550 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11551 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11552 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11553 
   11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11555 printf %s "checking how to print strings... " >&6; }
   11556 # Test print first, because it will be a builtin if present.
   11557 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11558    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11559   ECHO='print -r --'
   11560 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11561   ECHO='printf %s\n'
   11562 else
   11563   # Use this function as a fallback that always works.
   11564   func_fallback_echo ()
   11565   {
   11566     eval 'cat <<_LTECHO_EOF
   11567 $1
   11568 _LTECHO_EOF'
   11569   }
   11570   ECHO='func_fallback_echo'
   11571 fi
   11572 
   11573 # func_echo_all arg...
   11574 # Invoke $ECHO with all args, space-separated.
   11575 func_echo_all ()
   11576 {
   11577     $ECHO ""
   11578 }
   11579 
   11580 case $ECHO in
   11581   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11582 printf "%s\n" "printf" >&6; } ;;
   11583   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11584 printf "%s\n" "print -r" >&6; } ;;
   11585   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11586 printf "%s\n" "cat" >&6; } ;;
   11587 esac
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11603 printf %s "checking for a sed that does not truncate output... " >&6; }
   11604 if test ${ac_cv_path_SED+y}
   11605 then :
   11606   printf %s "(cached) " >&6
   11607 else $as_nop
   11608             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11609      for ac_i in 1 2 3 4 5 6 7; do
   11610        ac_script="$ac_script$as_nl$ac_script"
   11611      done
   11612      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11613      { ac_script=; unset ac_script;}
   11614      if test -z "$SED"; then
   11615   ac_path_SED_found=false
   11616   # Loop through the user's path and test for each of PROGNAME-LIST
   11617   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11618 for as_dir in $PATH
   11619 do
   11620   IFS=$as_save_IFS
   11621   case $as_dir in #(((
   11622     '') as_dir=./ ;;
   11623     */) ;;
   11624     *) as_dir=$as_dir/ ;;
   11625   esac
   11626     for ac_prog in sed gsed
   11627    do
   11628     for ac_exec_ext in '' $ac_executable_extensions; do
   11629       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11630       as_fn_executable_p "$ac_path_SED" || continue
   11631 # Check for GNU ac_path_SED and select it if it is found.
   11632   # Check for GNU $ac_path_SED
   11633 case `"$ac_path_SED" --version 2>&1` in
   11634 *GNU*)
   11635   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11636 *)
   11637   ac_count=0
   11638   printf %s 0123456789 >"conftest.in"
   11639   while :
   11640   do
   11641     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11642     mv "conftest.tmp" "conftest.in"
   11643     cp "conftest.in" "conftest.nl"
   11644     printf "%s\n" '' >> "conftest.nl"
   11645     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11646     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11647     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11648     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11649       # Best one so far, save it but keep looking for a better one
   11650       ac_cv_path_SED="$ac_path_SED"
   11651       ac_path_SED_max=$ac_count
   11652     fi
   11653     # 10*(2^10) chars as input seems more than enough
   11654     test $ac_count -gt 10 && break
   11655   done
   11656   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11657 esac
   11658 
   11659       $ac_path_SED_found && break 3
   11660     done
   11661   done
   11662   done
   11663 IFS=$as_save_IFS
   11664   if test -z "$ac_cv_path_SED"; then
   11665     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11666   fi
   11667 else
   11668   ac_cv_path_SED=$SED
   11669 fi
   11670 
   11671 fi
   11672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11673 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11674  SED="$ac_cv_path_SED"
   11675   rm -f conftest.sed
   11676 
   11677 test -z "$SED" && SED=sed
   11678 Xsed="$SED -e 1s/^X//"
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11691 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11692 if test ${ac_cv_path_GREP+y}
   11693 then :
   11694   printf %s "(cached) " >&6
   11695 else $as_nop
   11696   if test -z "$GREP"; then
   11697   ac_path_GREP_found=false
   11698   # Loop through the user's path and test for each of PROGNAME-LIST
   11699   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11700 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11701 do
   11702   IFS=$as_save_IFS
   11703   case $as_dir in #(((
   11704     '') as_dir=./ ;;
   11705     */) ;;
   11706     *) as_dir=$as_dir/ ;;
   11707   esac
   11708     for ac_prog in grep ggrep
   11709    do
   11710     for ac_exec_ext in '' $ac_executable_extensions; do
   11711       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11712       as_fn_executable_p "$ac_path_GREP" || continue
   11713 # Check for GNU ac_path_GREP and select it if it is found.
   11714   # Check for GNU $ac_path_GREP
   11715 case `"$ac_path_GREP" --version 2>&1` in
   11716 *GNU*)
   11717   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11718 *)
   11719   ac_count=0
   11720   printf %s 0123456789 >"conftest.in"
   11721   while :
   11722   do
   11723     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11724     mv "conftest.tmp" "conftest.in"
   11725     cp "conftest.in" "conftest.nl"
   11726     printf "%s\n" 'GREP' >> "conftest.nl"
   11727     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11728     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11729     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11730     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11731       # Best one so far, save it but keep looking for a better one
   11732       ac_cv_path_GREP="$ac_path_GREP"
   11733       ac_path_GREP_max=$ac_count
   11734     fi
   11735     # 10*(2^10) chars as input seems more than enough
   11736     test $ac_count -gt 10 && break
   11737   done
   11738   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11739 esac
   11740 
   11741       $ac_path_GREP_found && break 3
   11742     done
   11743   done
   11744   done
   11745 IFS=$as_save_IFS
   11746   if test -z "$ac_cv_path_GREP"; then
   11747     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11748   fi
   11749 else
   11750   ac_cv_path_GREP=$GREP
   11751 fi
   11752 
   11753 fi
   11754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11755 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11756  GREP="$ac_cv_path_GREP"
   11757 
   11758 
   11759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11760 printf %s "checking for egrep... " >&6; }
   11761 if test ${ac_cv_path_EGREP+y}
   11762 then :
   11763   printf %s "(cached) " >&6
   11764 else $as_nop
   11765   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11766    then ac_cv_path_EGREP="$GREP -E"
   11767    else
   11768      if test -z "$EGREP"; then
   11769   ac_path_EGREP_found=false
   11770   # Loop through the user's path and test for each of PROGNAME-LIST
   11771   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11772 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11773 do
   11774   IFS=$as_save_IFS
   11775   case $as_dir in #(((
   11776     '') as_dir=./ ;;
   11777     */) ;;
   11778     *) as_dir=$as_dir/ ;;
   11779   esac
   11780     for ac_prog in egrep
   11781    do
   11782     for ac_exec_ext in '' $ac_executable_extensions; do
   11783       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11784       as_fn_executable_p "$ac_path_EGREP" || continue
   11785 # Check for GNU ac_path_EGREP and select it if it is found.
   11786   # Check for GNU $ac_path_EGREP
   11787 case `"$ac_path_EGREP" --version 2>&1` in
   11788 *GNU*)
   11789   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11790 *)
   11791   ac_count=0
   11792   printf %s 0123456789 >"conftest.in"
   11793   while :
   11794   do
   11795     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11796     mv "conftest.tmp" "conftest.in"
   11797     cp "conftest.in" "conftest.nl"
   11798     printf "%s\n" 'EGREP' >> "conftest.nl"
   11799     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11800     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11801     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11802     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11803       # Best one so far, save it but keep looking for a better one
   11804       ac_cv_path_EGREP="$ac_path_EGREP"
   11805       ac_path_EGREP_max=$ac_count
   11806     fi
   11807     # 10*(2^10) chars as input seems more than enough
   11808     test $ac_count -gt 10 && break
   11809   done
   11810   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11811 esac
   11812 
   11813       $ac_path_EGREP_found && break 3
   11814     done
   11815   done
   11816   done
   11817 IFS=$as_save_IFS
   11818   if test -z "$ac_cv_path_EGREP"; then
   11819     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11820   fi
   11821 else
   11822   ac_cv_path_EGREP=$EGREP
   11823 fi
   11824 
   11825    fi
   11826 fi
   11827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11828 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11829  EGREP="$ac_cv_path_EGREP"
   11830 
   11831 
   11832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11833 printf %s "checking for fgrep... " >&6; }
   11834 if test ${ac_cv_path_FGREP+y}
   11835 then :
   11836   printf %s "(cached) " >&6
   11837 else $as_nop
   11838   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11839    then ac_cv_path_FGREP="$GREP -F"
   11840    else
   11841      if test -z "$FGREP"; then
   11842   ac_path_FGREP_found=false
   11843   # Loop through the user's path and test for each of PROGNAME-LIST
   11844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11845 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11846 do
   11847   IFS=$as_save_IFS
   11848   case $as_dir in #(((
   11849     '') as_dir=./ ;;
   11850     */) ;;
   11851     *) as_dir=$as_dir/ ;;
   11852   esac
   11853     for ac_prog in fgrep
   11854    do
   11855     for ac_exec_ext in '' $ac_executable_extensions; do
   11856       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11857       as_fn_executable_p "$ac_path_FGREP" || continue
   11858 # Check for GNU ac_path_FGREP and select it if it is found.
   11859   # Check for GNU $ac_path_FGREP
   11860 case `"$ac_path_FGREP" --version 2>&1` in
   11861 *GNU*)
   11862   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11863 *)
   11864   ac_count=0
   11865   printf %s 0123456789 >"conftest.in"
   11866   while :
   11867   do
   11868     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11869     mv "conftest.tmp" "conftest.in"
   11870     cp "conftest.in" "conftest.nl"
   11871     printf "%s\n" 'FGREP' >> "conftest.nl"
   11872     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11873     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11874     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11875     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11876       # Best one so far, save it but keep looking for a better one
   11877       ac_cv_path_FGREP="$ac_path_FGREP"
   11878       ac_path_FGREP_max=$ac_count
   11879     fi
   11880     # 10*(2^10) chars as input seems more than enough
   11881     test $ac_count -gt 10 && break
   11882   done
   11883   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11884 esac
   11885 
   11886       $ac_path_FGREP_found && break 3
   11887     done
   11888   done
   11889   done
   11890 IFS=$as_save_IFS
   11891   if test -z "$ac_cv_path_FGREP"; then
   11892     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11893   fi
   11894 else
   11895   ac_cv_path_FGREP=$FGREP
   11896 fi
   11897 
   11898    fi
   11899 fi
   11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11901 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   11902  FGREP="$ac_cv_path_FGREP"
   11903 
   11904 
   11905 test -z "$GREP" && GREP=grep
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 # Check whether --with-gnu-ld was given.
   11926 if test ${with_gnu_ld+y}
   11927 then :
   11928   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11929 else $as_nop
   11930   with_gnu_ld=no
   11931 fi
   11932 
   11933 ac_prog=ld
   11934 if test yes = "$GCC"; then
   11935   # Check if gcc -print-prog-name=ld gives a path.
   11936   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11937 printf %s "checking for ld used by $CC... " >&6; }
   11938   case $host in
   11939   *-*-mingw*)
   11940     # gcc leaves a trailing carriage return, which upsets mingw
   11941     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11942   *)
   11943     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11944   esac
   11945   case $ac_prog in
   11946     # Accept absolute paths.
   11947     [\\/]* | ?:[\\/]*)
   11948       re_direlt='/[^/][^/]*/\.\./'
   11949       # Canonicalize the pathname of ld
   11950       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11951       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11952 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11953       done
   11954       test -z "$LD" && LD=$ac_prog
   11955       ;;
   11956   "")
   11957     # If it fails, then pretend we aren't using GCC.
   11958     ac_prog=ld
   11959     ;;
   11960   *)
   11961     # If it is relative, then search for the first ld in PATH.
   11962     with_gnu_ld=unknown
   11963     ;;
   11964   esac
   11965 elif test yes = "$with_gnu_ld"; then
   11966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11967 printf %s "checking for GNU ld... " >&6; }
   11968 else
   11969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11970 printf %s "checking for non-GNU ld... " >&6; }
   11971 fi
   11972 if test ${lt_cv_path_LD+y}
   11973 then :
   11974   printf %s "(cached) " >&6
   11975 else $as_nop
   11976   if test -z "$LD"; then
   11977   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11978   for ac_dir in $PATH; do
   11979     IFS=$lt_save_ifs
   11980     test -z "$ac_dir" && ac_dir=.
   11981     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11982       lt_cv_path_LD=$ac_dir/$ac_prog
   11983       # Check to see if the program is GNU ld.  I'd rather use --version,
   11984       # but apparently some variants of GNU ld only accept -v.
   11985       # Break only if it was the GNU/non-GNU ld that we prefer.
   11986       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11987       *GNU* | *'with BFD'*)
   11988 	test no != "$with_gnu_ld" && break
   11989 	;;
   11990       *)
   11991 	test yes != "$with_gnu_ld" && break
   11992 	;;
   11993       esac
   11994     fi
   11995   done
   11996   IFS=$lt_save_ifs
   11997 else
   11998   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11999 fi
   12000 fi
   12001 
   12002 LD=$lt_cv_path_LD
   12003 if test -n "$LD"; then
   12004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12005 printf "%s\n" "$LD" >&6; }
   12006 else
   12007   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12008 printf "%s\n" "no" >&6; }
   12009 fi
   12010 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12012 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   12013 if test ${lt_cv_prog_gnu_ld+y}
   12014 then :
   12015   printf %s "(cached) " >&6
   12016 else $as_nop
   12017   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12018 case `$LD -v 2>&1 </dev/null` in
   12019 *GNU* | *'with BFD'*)
   12020   lt_cv_prog_gnu_ld=yes
   12021   ;;
   12022 *)
   12023   lt_cv_prog_gnu_ld=no
   12024   ;;
   12025 esac
   12026 fi
   12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12028 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   12029 with_gnu_ld=$lt_cv_prog_gnu_ld
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   12040 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   12041 if test ${lt_cv_path_NM+y}
   12042 then :
   12043   printf %s "(cached) " >&6
   12044 else $as_nop
   12045   if test -n "$NM"; then
   12046   # Let the user override the test.
   12047   lt_cv_path_NM=$NM
   12048 else
   12049   lt_nm_to_check=${ac_tool_prefix}nm
   12050   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   12051     lt_nm_to_check="$lt_nm_to_check nm"
   12052   fi
   12053   for lt_tmp_nm in $lt_nm_to_check; do
   12054     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   12055     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   12056       IFS=$lt_save_ifs
   12057       test -z "$ac_dir" && ac_dir=.
   12058       tmp_nm=$ac_dir/$lt_tmp_nm
   12059       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   12060 	# Check to see if the nm accepts a BSD-compat flag.
   12061 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   12062 	#   nm: unknown option "B" ignored
   12063 	# Tru64's nm complains that /dev/null is an invalid object file
   12064 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   12065 	case $build_os in
   12066 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   12067 	*) lt_bad_file=/dev/null ;;
   12068 	esac
   12069 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   12070 	*$lt_bad_file* | *'Invalid file or object type'*)
   12071 	  lt_cv_path_NM="$tmp_nm -B"
   12072 	  break 2
   12073 	  ;;
   12074 	*)
   12075 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   12076 	  */dev/null*)
   12077 	    lt_cv_path_NM="$tmp_nm -p"
   12078 	    break 2
   12079 	    ;;
   12080 	  *)
   12081 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   12082 	    continue # so that we can try to find one that supports BSD flags
   12083 	    ;;
   12084 	  esac
   12085 	  ;;
   12086 	esac
   12087       fi
   12088     done
   12089     IFS=$lt_save_ifs
   12090   done
   12091   : ${lt_cv_path_NM=no}
   12092 fi
   12093 fi
   12094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   12095 printf "%s\n" "$lt_cv_path_NM" >&6; }
   12096 if test no != "$lt_cv_path_NM"; then
   12097   NM=$lt_cv_path_NM
   12098 else
   12099   # Didn't find any BSD compatible name lister, look for dumpbin.
   12100   if test -n "$DUMPBIN"; then :
   12101     # Let the user override the test.
   12102   else
   12103     if test -n "$ac_tool_prefix"; then
   12104   for ac_prog in dumpbin "link -dump"
   12105   do
   12106     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12109 printf %s "checking for $ac_word... " >&6; }
   12110 if test ${ac_cv_prog_DUMPBIN+y}
   12111 then :
   12112   printf %s "(cached) " >&6
   12113 else $as_nop
   12114   if test -n "$DUMPBIN"; then
   12115   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   12116 else
   12117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12118 for as_dir in $PATH
   12119 do
   12120   IFS=$as_save_IFS
   12121   case $as_dir in #(((
   12122     '') as_dir=./ ;;
   12123     */) ;;
   12124     *) as_dir=$as_dir/ ;;
   12125   esac
   12126     for ac_exec_ext in '' $ac_executable_extensions; do
   12127   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12128     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   12129     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12130     break 2
   12131   fi
   12132 done
   12133   done
   12134 IFS=$as_save_IFS
   12135 
   12136 fi
   12137 fi
   12138 DUMPBIN=$ac_cv_prog_DUMPBIN
   12139 if test -n "$DUMPBIN"; then
   12140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   12141 printf "%s\n" "$DUMPBIN" >&6; }
   12142 else
   12143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12144 printf "%s\n" "no" >&6; }
   12145 fi
   12146 
   12147 
   12148     test -n "$DUMPBIN" && break
   12149   done
   12150 fi
   12151 if test -z "$DUMPBIN"; then
   12152   ac_ct_DUMPBIN=$DUMPBIN
   12153   for ac_prog in dumpbin "link -dump"
   12154 do
   12155   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12156 set dummy $ac_prog; ac_word=$2
   12157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12158 printf %s "checking for $ac_word... " >&6; }
   12159 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   12160 then :
   12161   printf %s "(cached) " >&6
   12162 else $as_nop
   12163   if test -n "$ac_ct_DUMPBIN"; then
   12164   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   12165 else
   12166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12167 for as_dir in $PATH
   12168 do
   12169   IFS=$as_save_IFS
   12170   case $as_dir in #(((
   12171     '') as_dir=./ ;;
   12172     */) ;;
   12173     *) as_dir=$as_dir/ ;;
   12174   esac
   12175     for ac_exec_ext in '' $ac_executable_extensions; do
   12176   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12177     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   12178     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12179     break 2
   12180   fi
   12181 done
   12182   done
   12183 IFS=$as_save_IFS
   12184 
   12185 fi
   12186 fi
   12187 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   12188 if test -n "$ac_ct_DUMPBIN"; then
   12189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   12190 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   12191 else
   12192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12193 printf "%s\n" "no" >&6; }
   12194 fi
   12195 
   12196 
   12197   test -n "$ac_ct_DUMPBIN" && break
   12198 done
   12199 
   12200   if test "x$ac_ct_DUMPBIN" = x; then
   12201     DUMPBIN=":"
   12202   else
   12203     case $cross_compiling:$ac_tool_warned in
   12204 yes:)
   12205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12206 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12207 ac_tool_warned=yes ;;
   12208 esac
   12209     DUMPBIN=$ac_ct_DUMPBIN
   12210   fi
   12211 fi
   12212 
   12213     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12214     *COFF*)
   12215       DUMPBIN="$DUMPBIN -symbols -headers"
   12216       ;;
   12217     *)
   12218       DUMPBIN=:
   12219       ;;
   12220     esac
   12221   fi
   12222 
   12223   if test : != "$DUMPBIN"; then
   12224     NM=$DUMPBIN
   12225   fi
   12226 fi
   12227 test -z "$NM" && NM=nm
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12235 printf %s "checking the name lister ($NM) interface... " >&6; }
   12236 if test ${lt_cv_nm_interface+y}
   12237 then :
   12238   printf %s "(cached) " >&6
   12239 else $as_nop
   12240   lt_cv_nm_interface="BSD nm"
   12241   echo "int some_variable = 0;" > conftest.$ac_ext
   12242   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12243   (eval "$ac_compile" 2>conftest.err)
   12244   cat conftest.err >&5
   12245   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12246   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12247   cat conftest.err >&5
   12248   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12249   cat conftest.out >&5
   12250   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12251     lt_cv_nm_interface="MS dumpbin"
   12252   fi
   12253   rm -f conftest*
   12254 fi
   12255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12256 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12257 
   12258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12259 printf %s "checking whether ln -s works... " >&6; }
   12260 LN_S=$as_ln_s
   12261 if test "$LN_S" = "ln -s"; then
   12262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12263 printf "%s\n" "yes" >&6; }
   12264 else
   12265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12266 printf "%s\n" "no, using $LN_S" >&6; }
   12267 fi
   12268 
   12269 # find the maximum length of command line arguments
   12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12271 printf %s "checking the maximum length of command line arguments... " >&6; }
   12272 if test ${lt_cv_sys_max_cmd_len+y}
   12273 then :
   12274   printf %s "(cached) " >&6
   12275 else $as_nop
   12276     i=0
   12277   teststring=ABCD
   12278 
   12279   case $build_os in
   12280   msdosdjgpp*)
   12281     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12282     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12283     # during glob expansion).  Even if it were fixed, the result of this
   12284     # check would be larger than it should be.
   12285     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12286     ;;
   12287 
   12288   gnu*)
   12289     # Under GNU Hurd, this test is not required because there is
   12290     # no limit to the length of command line arguments.
   12291     # Libtool will interpret -1 as no limit whatsoever
   12292     lt_cv_sys_max_cmd_len=-1;
   12293     ;;
   12294 
   12295   cygwin* | mingw* | cegcc*)
   12296     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12297     # about 5 minutes as the teststring grows exponentially.
   12298     # Worse, since 9x/ME are not pre-emptively multitasking,
   12299     # you end up with a "frozen" computer, even though with patience
   12300     # the test eventually succeeds (with a max line length of 256k).
   12301     # Instead, let's just punt: use the minimum linelength reported by
   12302     # all of the supported platforms: 8192 (on NT/2K/XP).
   12303     lt_cv_sys_max_cmd_len=8192;
   12304     ;;
   12305 
   12306   mint*)
   12307     # On MiNT this can take a long time and run out of memory.
   12308     lt_cv_sys_max_cmd_len=8192;
   12309     ;;
   12310 
   12311   amigaos*)
   12312     # On AmigaOS with pdksh, this test takes hours, literally.
   12313     # So we just punt and use a minimum line length of 8192.
   12314     lt_cv_sys_max_cmd_len=8192;
   12315     ;;
   12316 
   12317   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12318     # This has been around since 386BSD, at least.  Likely further.
   12319     if test -x /sbin/sysctl; then
   12320       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12321     elif test -x /usr/sbin/sysctl; then
   12322       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12323     else
   12324       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12325     fi
   12326     # And add a safety zone
   12327     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12328     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12329     ;;
   12330 
   12331   interix*)
   12332     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12333     lt_cv_sys_max_cmd_len=196608
   12334     ;;
   12335 
   12336   os2*)
   12337     # The test takes a long time on OS/2.
   12338     lt_cv_sys_max_cmd_len=8192
   12339     ;;
   12340 
   12341   osf*)
   12342     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12343     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12344     # nice to cause kernel panics so lets avoid the loop below.
   12345     # First set a reasonable default.
   12346     lt_cv_sys_max_cmd_len=16384
   12347     #
   12348     if test -x /sbin/sysconfig; then
   12349       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12350         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12351       esac
   12352     fi
   12353     ;;
   12354   sco3.2v5*)
   12355     lt_cv_sys_max_cmd_len=102400
   12356     ;;
   12357   sysv5* | sco5v6* | sysv4.2uw2*)
   12358     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12359     if test -n "$kargmax"; then
   12360       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12361     else
   12362       lt_cv_sys_max_cmd_len=32768
   12363     fi
   12364     ;;
   12365   *)
   12366     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12367     if test -n "$lt_cv_sys_max_cmd_len" && \
   12368        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12369       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12370       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12371     else
   12372       # Make teststring a little bigger before we do anything with it.
   12373       # a 1K string should be a reasonable start.
   12374       for i in 1 2 3 4 5 6 7 8; do
   12375         teststring=$teststring$teststring
   12376       done
   12377       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12378       # If test is not a shell built-in, we'll probably end up computing a
   12379       # maximum length that is only half of the actual maximum length, but
   12380       # we can't tell.
   12381       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12382 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12383 	      test 17 != "$i" # 1/2 MB should be enough
   12384       do
   12385         i=`expr $i + 1`
   12386         teststring=$teststring$teststring
   12387       done
   12388       # Only check the string length outside the loop.
   12389       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12390       teststring=
   12391       # Add a significant safety factor because C++ compilers can tack on
   12392       # massive amounts of additional arguments before passing them to the
   12393       # linker.  It appears as though 1/2 is a usable value.
   12394       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12395     fi
   12396     ;;
   12397   esac
   12398 
   12399 fi
   12400 
   12401 if test -n "$lt_cv_sys_max_cmd_len"; then
   12402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12403 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12404 else
   12405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12406 printf "%s\n" "none" >&6; }
   12407 fi
   12408 max_cmd_len=$lt_cv_sys_max_cmd_len
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 : ${CP="cp -f"}
   12416 : ${MV="mv -f"}
   12417 : ${RM="rm -f"}
   12418 
   12419 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12420   lt_unset=unset
   12421 else
   12422   lt_unset=false
   12423 fi
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 # test EBCDIC or ASCII
   12430 case `echo X|tr X '\101'` in
   12431  A) # ASCII based system
   12432     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12433   lt_SP2NL='tr \040 \012'
   12434   lt_NL2SP='tr \015\012 \040\040'
   12435   ;;
   12436  *) # EBCDIC based system
   12437   lt_SP2NL='tr \100 \n'
   12438   lt_NL2SP='tr \r\n \100\100'
   12439   ;;
   12440 esac
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12451 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12452 if test ${lt_cv_to_host_file_cmd+y}
   12453 then :
   12454   printf %s "(cached) " >&6
   12455 else $as_nop
   12456   case $host in
   12457   *-*-mingw* )
   12458     case $build in
   12459       *-*-mingw* ) # actually msys
   12460         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12461         ;;
   12462       *-*-cygwin* )
   12463         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12464         ;;
   12465       * ) # otherwise, assume *nix
   12466         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12467         ;;
   12468     esac
   12469     ;;
   12470   *-*-cygwin* )
   12471     case $build in
   12472       *-*-mingw* ) # actually msys
   12473         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12474         ;;
   12475       *-*-cygwin* )
   12476         lt_cv_to_host_file_cmd=func_convert_file_noop
   12477         ;;
   12478       * ) # otherwise, assume *nix
   12479         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12480         ;;
   12481     esac
   12482     ;;
   12483   * ) # unhandled hosts (and "normal" native builds)
   12484     lt_cv_to_host_file_cmd=func_convert_file_noop
   12485     ;;
   12486 esac
   12487 
   12488 fi
   12489 
   12490 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12492 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12499 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12500 if test ${lt_cv_to_tool_file_cmd+y}
   12501 then :
   12502   printf %s "(cached) " >&6
   12503 else $as_nop
   12504   #assume ordinary cross tools, or native build.
   12505 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12506 case $host in
   12507   *-*-mingw* )
   12508     case $build in
   12509       *-*-mingw* ) # actually msys
   12510         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12511         ;;
   12512     esac
   12513     ;;
   12514 esac
   12515 
   12516 fi
   12517 
   12518 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12520 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12527 printf %s "checking for $LD option to reload object files... " >&6; }
   12528 if test ${lt_cv_ld_reload_flag+y}
   12529 then :
   12530   printf %s "(cached) " >&6
   12531 else $as_nop
   12532   lt_cv_ld_reload_flag='-r'
   12533 fi
   12534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12535 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12536 reload_flag=$lt_cv_ld_reload_flag
   12537 case $reload_flag in
   12538 "" | " "*) ;;
   12539 *) reload_flag=" $reload_flag" ;;
   12540 esac
   12541 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12542 case $host_os in
   12543   cygwin* | mingw* | pw32* | cegcc*)
   12544     if test yes != "$GCC"; then
   12545       reload_cmds=false
   12546     fi
   12547     ;;
   12548   darwin*)
   12549     if test yes = "$GCC"; then
   12550       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12551     else
   12552       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12553     fi
   12554     ;;
   12555 esac
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 if test -n "$ac_tool_prefix"; then
   12566   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12567 set dummy ${ac_tool_prefix}file; ac_word=$2
   12568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12569 printf %s "checking for $ac_word... " >&6; }
   12570 if test ${ac_cv_prog_FILECMD+y}
   12571 then :
   12572   printf %s "(cached) " >&6
   12573 else $as_nop
   12574   if test -n "$FILECMD"; then
   12575   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12576 else
   12577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12578 for as_dir in $PATH
   12579 do
   12580   IFS=$as_save_IFS
   12581   case $as_dir in #(((
   12582     '') as_dir=./ ;;
   12583     */) ;;
   12584     *) as_dir=$as_dir/ ;;
   12585   esac
   12586     for ac_exec_ext in '' $ac_executable_extensions; do
   12587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12588     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12590     break 2
   12591   fi
   12592 done
   12593   done
   12594 IFS=$as_save_IFS
   12595 
   12596 fi
   12597 fi
   12598 FILECMD=$ac_cv_prog_FILECMD
   12599 if test -n "$FILECMD"; then
   12600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12601 printf "%s\n" "$FILECMD" >&6; }
   12602 else
   12603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12604 printf "%s\n" "no" >&6; }
   12605 fi
   12606 
   12607 
   12608 fi
   12609 if test -z "$ac_cv_prog_FILECMD"; then
   12610   ac_ct_FILECMD=$FILECMD
   12611   # Extract the first word of "file", so it can be a program name with args.
   12612 set dummy file; ac_word=$2
   12613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12614 printf %s "checking for $ac_word... " >&6; }
   12615 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12616 then :
   12617   printf %s "(cached) " >&6
   12618 else $as_nop
   12619   if test -n "$ac_ct_FILECMD"; then
   12620   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12621 else
   12622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12623 for as_dir in $PATH
   12624 do
   12625   IFS=$as_save_IFS
   12626   case $as_dir in #(((
   12627     '') as_dir=./ ;;
   12628     */) ;;
   12629     *) as_dir=$as_dir/ ;;
   12630   esac
   12631     for ac_exec_ext in '' $ac_executable_extensions; do
   12632   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12633     ac_cv_prog_ac_ct_FILECMD="file"
   12634     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12635     break 2
   12636   fi
   12637 done
   12638   done
   12639 IFS=$as_save_IFS
   12640 
   12641 fi
   12642 fi
   12643 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12644 if test -n "$ac_ct_FILECMD"; then
   12645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12646 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12647 else
   12648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12649 printf "%s\n" "no" >&6; }
   12650 fi
   12651 
   12652   if test "x$ac_ct_FILECMD" = x; then
   12653     FILECMD=":"
   12654   else
   12655     case $cross_compiling:$ac_tool_warned in
   12656 yes:)
   12657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12658 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12659 ac_tool_warned=yes ;;
   12660 esac
   12661     FILECMD=$ac_ct_FILECMD
   12662   fi
   12663 else
   12664   FILECMD="$ac_cv_prog_FILECMD"
   12665 fi
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 if test -n "$ac_tool_prefix"; then
   12674   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12675 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12677 printf %s "checking for $ac_word... " >&6; }
   12678 if test ${ac_cv_prog_OBJDUMP+y}
   12679 then :
   12680   printf %s "(cached) " >&6
   12681 else $as_nop
   12682   if test -n "$OBJDUMP"; then
   12683   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12684 else
   12685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12686 for as_dir in $PATH
   12687 do
   12688   IFS=$as_save_IFS
   12689   case $as_dir in #(((
   12690     '') as_dir=./ ;;
   12691     */) ;;
   12692     *) as_dir=$as_dir/ ;;
   12693   esac
   12694     for ac_exec_ext in '' $ac_executable_extensions; do
   12695   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12696     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12698     break 2
   12699   fi
   12700 done
   12701   done
   12702 IFS=$as_save_IFS
   12703 
   12704 fi
   12705 fi
   12706 OBJDUMP=$ac_cv_prog_OBJDUMP
   12707 if test -n "$OBJDUMP"; then
   12708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12709 printf "%s\n" "$OBJDUMP" >&6; }
   12710 else
   12711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12712 printf "%s\n" "no" >&6; }
   12713 fi
   12714 
   12715 
   12716 fi
   12717 if test -z "$ac_cv_prog_OBJDUMP"; then
   12718   ac_ct_OBJDUMP=$OBJDUMP
   12719   # Extract the first word of "objdump", so it can be a program name with args.
   12720 set dummy objdump; ac_word=$2
   12721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12722 printf %s "checking for $ac_word... " >&6; }
   12723 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12724 then :
   12725   printf %s "(cached) " >&6
   12726 else $as_nop
   12727   if test -n "$ac_ct_OBJDUMP"; then
   12728   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12729 else
   12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12731 for as_dir in $PATH
   12732 do
   12733   IFS=$as_save_IFS
   12734   case $as_dir in #(((
   12735     '') as_dir=./ ;;
   12736     */) ;;
   12737     *) as_dir=$as_dir/ ;;
   12738   esac
   12739     for ac_exec_ext in '' $ac_executable_extensions; do
   12740   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12741     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12742     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12743     break 2
   12744   fi
   12745 done
   12746   done
   12747 IFS=$as_save_IFS
   12748 
   12749 fi
   12750 fi
   12751 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12752 if test -n "$ac_ct_OBJDUMP"; then
   12753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12754 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12755 else
   12756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12757 printf "%s\n" "no" >&6; }
   12758 fi
   12759 
   12760   if test "x$ac_ct_OBJDUMP" = x; then
   12761     OBJDUMP="false"
   12762   else
   12763     case $cross_compiling:$ac_tool_warned in
   12764 yes:)
   12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12766 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12767 ac_tool_warned=yes ;;
   12768 esac
   12769     OBJDUMP=$ac_ct_OBJDUMP
   12770   fi
   12771 else
   12772   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12773 fi
   12774 
   12775 test -z "$OBJDUMP" && OBJDUMP=objdump
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12786 printf %s "checking how to recognize dependent libraries... " >&6; }
   12787 if test ${lt_cv_deplibs_check_method+y}
   12788 then :
   12789   printf %s "(cached) " >&6
   12790 else $as_nop
   12791   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12792 lt_cv_file_magic_test_file=
   12793 lt_cv_deplibs_check_method='unknown'
   12794 # Need to set the preceding variable on all platforms that support
   12795 # interlibrary dependencies.
   12796 # 'none' -- dependencies not supported.
   12797 # 'unknown' -- same as none, but documents that we really don't know.
   12798 # 'pass_all' -- all dependencies passed with no checks.
   12799 # 'test_compile' -- check by making test program.
   12800 # 'file_magic [[regex]]' -- check by looking for files in library path
   12801 # that responds to the $file_magic_cmd with a given extended regex.
   12802 # If you have 'file' or equivalent on your system and you're not sure
   12803 # whether 'pass_all' will *always* work, you probably want this one.
   12804 
   12805 case $host_os in
   12806 aix[4-9]*)
   12807   lt_cv_deplibs_check_method=pass_all
   12808   ;;
   12809 
   12810 beos*)
   12811   lt_cv_deplibs_check_method=pass_all
   12812   ;;
   12813 
   12814 bsdi[45]*)
   12815   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12816   lt_cv_file_magic_cmd='$FILECMD -L'
   12817   lt_cv_file_magic_test_file=/shlib/libc.so
   12818   ;;
   12819 
   12820 cygwin*)
   12821   # func_win32_libid is a shell function defined in ltmain.sh
   12822   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12823   lt_cv_file_magic_cmd='func_win32_libid'
   12824   ;;
   12825 
   12826 mingw* | pw32*)
   12827   # Base MSYS/MinGW do not provide the 'file' command needed by
   12828   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12829   # unless we find 'file', for example because we are cross-compiling.
   12830   if ( file / ) >/dev/null 2>&1; then
   12831     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12832     lt_cv_file_magic_cmd='func_win32_libid'
   12833   else
   12834     # Keep this pattern in sync with the one in func_win32_libid.
   12835     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12836     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12837   fi
   12838   ;;
   12839 
   12840 cegcc*)
   12841   # use the weaker test based on 'objdump'. See mingw*.
   12842   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12843   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12844   ;;
   12845 
   12846 darwin* | rhapsody*)
   12847   lt_cv_deplibs_check_method=pass_all
   12848   ;;
   12849 
   12850 freebsd* | dragonfly* | midnightbsd*)
   12851   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12852     case $host_cpu in
   12853     i*86 )
   12854       # Not sure whether the presence of OpenBSD here was a mistake.
   12855       # Let's accept both of them until this is cleared up.
   12856       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12857       lt_cv_file_magic_cmd=$FILECMD
   12858       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12859       ;;
   12860     esac
   12861   else
   12862     lt_cv_deplibs_check_method=pass_all
   12863   fi
   12864   ;;
   12865 
   12866 haiku*)
   12867   lt_cv_deplibs_check_method=pass_all
   12868   ;;
   12869 
   12870 hpux10.20* | hpux11*)
   12871   lt_cv_file_magic_cmd=$FILECMD
   12872   case $host_cpu in
   12873   ia64*)
   12874     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12875     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12876     ;;
   12877   hppa*64*)
   12878     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]'
   12879     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12880     ;;
   12881   *)
   12882     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12883     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12884     ;;
   12885   esac
   12886   ;;
   12887 
   12888 interix[3-9]*)
   12889   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12890   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12891   ;;
   12892 
   12893 irix5* | irix6* | nonstopux*)
   12894   case $LD in
   12895   *-32|*"-32 ") libmagic=32-bit;;
   12896   *-n32|*"-n32 ") libmagic=N32;;
   12897   *-64|*"-64 ") libmagic=64-bit;;
   12898   *) libmagic=never-match;;
   12899   esac
   12900   lt_cv_deplibs_check_method=pass_all
   12901   ;;
   12902 
   12903 # This must be glibc/ELF.
   12904 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12905   lt_cv_deplibs_check_method=pass_all
   12906   ;;
   12907 
   12908 netbsd*)
   12909   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12910     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12911   else
   12912     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12913   fi
   12914   ;;
   12915 
   12916 newos6*)
   12917   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12918   lt_cv_file_magic_cmd=$FILECMD
   12919   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12920   ;;
   12921 
   12922 *nto* | *qnx*)
   12923   lt_cv_deplibs_check_method=pass_all
   12924   ;;
   12925 
   12926 openbsd* | bitrig*)
   12927   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12928     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12929   else
   12930     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12931   fi
   12932   ;;
   12933 
   12934 osf3* | osf4* | osf5*)
   12935   lt_cv_deplibs_check_method=pass_all
   12936   ;;
   12937 
   12938 rdos*)
   12939   lt_cv_deplibs_check_method=pass_all
   12940   ;;
   12941 
   12942 solaris*)
   12943   lt_cv_deplibs_check_method=pass_all
   12944   ;;
   12945 
   12946 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12947   lt_cv_deplibs_check_method=pass_all
   12948   ;;
   12949 
   12950 sysv4 | sysv4.3*)
   12951   case $host_vendor in
   12952   motorola)
   12953     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]'
   12954     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12955     ;;
   12956   ncr)
   12957     lt_cv_deplibs_check_method=pass_all
   12958     ;;
   12959   sequent)
   12960     lt_cv_file_magic_cmd='/bin/file'
   12961     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12962     ;;
   12963   sni)
   12964     lt_cv_file_magic_cmd='/bin/file'
   12965     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12966     lt_cv_file_magic_test_file=/lib/libc.so
   12967     ;;
   12968   siemens)
   12969     lt_cv_deplibs_check_method=pass_all
   12970     ;;
   12971   pc)
   12972     lt_cv_deplibs_check_method=pass_all
   12973     ;;
   12974   esac
   12975   ;;
   12976 
   12977 tpf*)
   12978   lt_cv_deplibs_check_method=pass_all
   12979   ;;
   12980 os2*)
   12981   lt_cv_deplibs_check_method=pass_all
   12982   ;;
   12983 esac
   12984 
   12985 fi
   12986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12987 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   12988 
   12989 file_magic_glob=
   12990 want_nocaseglob=no
   12991 if test "$build" = "$host"; then
   12992   case $host_os in
   12993   mingw* | pw32*)
   12994     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12995       want_nocaseglob=yes
   12996     else
   12997       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12998     fi
   12999     ;;
   13000   esac
   13001 fi
   13002 
   13003 file_magic_cmd=$lt_cv_file_magic_cmd
   13004 deplibs_check_method=$lt_cv_deplibs_check_method
   13005 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 if test -n "$ac_tool_prefix"; then
   13029   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   13030 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   13031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13032 printf %s "checking for $ac_word... " >&6; }
   13033 if test ${ac_cv_prog_DLLTOOL+y}
   13034 then :
   13035   printf %s "(cached) " >&6
   13036 else $as_nop
   13037   if test -n "$DLLTOOL"; then
   13038   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   13039 else
   13040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13041 for as_dir in $PATH
   13042 do
   13043   IFS=$as_save_IFS
   13044   case $as_dir in #(((
   13045     '') as_dir=./ ;;
   13046     */) ;;
   13047     *) as_dir=$as_dir/ ;;
   13048   esac
   13049     for ac_exec_ext in '' $ac_executable_extensions; do
   13050   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13051     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   13052     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13053     break 2
   13054   fi
   13055 done
   13056   done
   13057 IFS=$as_save_IFS
   13058 
   13059 fi
   13060 fi
   13061 DLLTOOL=$ac_cv_prog_DLLTOOL
   13062 if test -n "$DLLTOOL"; then
   13063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   13064 printf "%s\n" "$DLLTOOL" >&6; }
   13065 else
   13066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13067 printf "%s\n" "no" >&6; }
   13068 fi
   13069 
   13070 
   13071 fi
   13072 if test -z "$ac_cv_prog_DLLTOOL"; then
   13073   ac_ct_DLLTOOL=$DLLTOOL
   13074   # Extract the first word of "dlltool", so it can be a program name with args.
   13075 set dummy dlltool; ac_word=$2
   13076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13077 printf %s "checking for $ac_word... " >&6; }
   13078 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   13079 then :
   13080   printf %s "(cached) " >&6
   13081 else $as_nop
   13082   if test -n "$ac_ct_DLLTOOL"; then
   13083   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   13084 else
   13085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13086 for as_dir in $PATH
   13087 do
   13088   IFS=$as_save_IFS
   13089   case $as_dir in #(((
   13090     '') as_dir=./ ;;
   13091     */) ;;
   13092     *) as_dir=$as_dir/ ;;
   13093   esac
   13094     for ac_exec_ext in '' $ac_executable_extensions; do
   13095   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13096     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   13097     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13098     break 2
   13099   fi
   13100 done
   13101   done
   13102 IFS=$as_save_IFS
   13103 
   13104 fi
   13105 fi
   13106 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   13107 if test -n "$ac_ct_DLLTOOL"; then
   13108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   13109 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   13110 else
   13111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13112 printf "%s\n" "no" >&6; }
   13113 fi
   13114 
   13115   if test "x$ac_ct_DLLTOOL" = x; then
   13116     DLLTOOL="false"
   13117   else
   13118     case $cross_compiling:$ac_tool_warned in
   13119 yes:)
   13120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13121 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13122 ac_tool_warned=yes ;;
   13123 esac
   13124     DLLTOOL=$ac_ct_DLLTOOL
   13125   fi
   13126 else
   13127   DLLTOOL="$ac_cv_prog_DLLTOOL"
   13128 fi
   13129 
   13130 test -z "$DLLTOOL" && DLLTOOL=dlltool
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   13142 printf %s "checking how to associate runtime and link libraries... " >&6; }
   13143 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   13144 then :
   13145   printf %s "(cached) " >&6
   13146 else $as_nop
   13147   lt_cv_sharedlib_from_linklib_cmd='unknown'
   13148 
   13149 case $host_os in
   13150 cygwin* | mingw* | pw32* | cegcc*)
   13151   # two different shell functions defined in ltmain.sh;
   13152   # decide which one to use based on capabilities of $DLLTOOL
   13153   case `$DLLTOOL --help 2>&1` in
   13154   *--identify-strict*)
   13155     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   13156     ;;
   13157   *)
   13158     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   13159     ;;
   13160   esac
   13161   ;;
   13162 *)
   13163   # fallback: assume linklib IS sharedlib
   13164   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   13165   ;;
   13166 esac
   13167 
   13168 fi
   13169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   13170 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   13171 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   13172 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 if test -n "$ac_tool_prefix"; then
   13181   for ac_prog in ar
   13182   do
   13183     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   13184 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   13185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13186 printf %s "checking for $ac_word... " >&6; }
   13187 if test ${ac_cv_prog_AR+y}
   13188 then :
   13189   printf %s "(cached) " >&6
   13190 else $as_nop
   13191   if test -n "$AR"; then
   13192   ac_cv_prog_AR="$AR" # Let the user override the test.
   13193 else
   13194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13195 for as_dir in $PATH
   13196 do
   13197   IFS=$as_save_IFS
   13198   case $as_dir in #(((
   13199     '') as_dir=./ ;;
   13200     */) ;;
   13201     *) as_dir=$as_dir/ ;;
   13202   esac
   13203     for ac_exec_ext in '' $ac_executable_extensions; do
   13204   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13205     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13206     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13207     break 2
   13208   fi
   13209 done
   13210   done
   13211 IFS=$as_save_IFS
   13212 
   13213 fi
   13214 fi
   13215 AR=$ac_cv_prog_AR
   13216 if test -n "$AR"; then
   13217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13218 printf "%s\n" "$AR" >&6; }
   13219 else
   13220   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13221 printf "%s\n" "no" >&6; }
   13222 fi
   13223 
   13224 
   13225     test -n "$AR" && break
   13226   done
   13227 fi
   13228 if test -z "$AR"; then
   13229   ac_ct_AR=$AR
   13230   for ac_prog in ar
   13231 do
   13232   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13233 set dummy $ac_prog; ac_word=$2
   13234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13235 printf %s "checking for $ac_word... " >&6; }
   13236 if test ${ac_cv_prog_ac_ct_AR+y}
   13237 then :
   13238   printf %s "(cached) " >&6
   13239 else $as_nop
   13240   if test -n "$ac_ct_AR"; then
   13241   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13242 else
   13243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13244 for as_dir in $PATH
   13245 do
   13246   IFS=$as_save_IFS
   13247   case $as_dir in #(((
   13248     '') as_dir=./ ;;
   13249     */) ;;
   13250     *) as_dir=$as_dir/ ;;
   13251   esac
   13252     for ac_exec_ext in '' $ac_executable_extensions; do
   13253   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13254     ac_cv_prog_ac_ct_AR="$ac_prog"
   13255     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13256     break 2
   13257   fi
   13258 done
   13259   done
   13260 IFS=$as_save_IFS
   13261 
   13262 fi
   13263 fi
   13264 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13265 if test -n "$ac_ct_AR"; then
   13266   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13267 printf "%s\n" "$ac_ct_AR" >&6; }
   13268 else
   13269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13270 printf "%s\n" "no" >&6; }
   13271 fi
   13272 
   13273 
   13274   test -n "$ac_ct_AR" && break
   13275 done
   13276 
   13277   if test "x$ac_ct_AR" = x; then
   13278     AR="false"
   13279   else
   13280     case $cross_compiling:$ac_tool_warned in
   13281 yes:)
   13282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13283 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13284 ac_tool_warned=yes ;;
   13285 esac
   13286     AR=$ac_ct_AR
   13287   fi
   13288 fi
   13289 
   13290 : ${AR=ar}
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13298 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13299 # higher priority because thats what people were doing historically (setting
   13300 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13301 # variable obsoleted/removed.
   13302 
   13303 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13304 lt_ar_flags=$AR_FLAGS
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13312 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13320 printf %s "checking for archiver @FILE support... " >&6; }
   13321 if test ${lt_cv_ar_at_file+y}
   13322 then :
   13323   printf %s "(cached) " >&6
   13324 else $as_nop
   13325   lt_cv_ar_at_file=no
   13326    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13327 /* end confdefs.h.  */
   13328 
   13329 int
   13330 main (void)
   13331 {
   13332 
   13333   ;
   13334   return 0;
   13335 }
   13336 _ACEOF
   13337 if ac_fn_c_try_compile "$LINENO"
   13338 then :
   13339   echo conftest.$ac_objext > conftest.lst
   13340       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13341       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13342   (eval $lt_ar_try) 2>&5
   13343   ac_status=$?
   13344   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13345   test $ac_status = 0; }
   13346       if test 0 -eq "$ac_status"; then
   13347 	# Ensure the archiver fails upon bogus file names.
   13348 	rm -f conftest.$ac_objext libconftest.a
   13349 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13350   (eval $lt_ar_try) 2>&5
   13351   ac_status=$?
   13352   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13353   test $ac_status = 0; }
   13354 	if test 0 -ne "$ac_status"; then
   13355           lt_cv_ar_at_file=@
   13356         fi
   13357       fi
   13358       rm -f conftest.* libconftest.a
   13359 
   13360 fi
   13361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13362 
   13363 fi
   13364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13365 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13366 
   13367 if test no = "$lt_cv_ar_at_file"; then
   13368   archiver_list_spec=
   13369 else
   13370   archiver_list_spec=$lt_cv_ar_at_file
   13371 fi
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 if test -n "$ac_tool_prefix"; then
   13380   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13381 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13383 printf %s "checking for $ac_word... " >&6; }
   13384 if test ${ac_cv_prog_STRIP+y}
   13385 then :
   13386   printf %s "(cached) " >&6
   13387 else $as_nop
   13388   if test -n "$STRIP"; then
   13389   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13390 else
   13391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13392 for as_dir in $PATH
   13393 do
   13394   IFS=$as_save_IFS
   13395   case $as_dir in #(((
   13396     '') as_dir=./ ;;
   13397     */) ;;
   13398     *) as_dir=$as_dir/ ;;
   13399   esac
   13400     for ac_exec_ext in '' $ac_executable_extensions; do
   13401   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13402     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13403     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13404     break 2
   13405   fi
   13406 done
   13407   done
   13408 IFS=$as_save_IFS
   13409 
   13410 fi
   13411 fi
   13412 STRIP=$ac_cv_prog_STRIP
   13413 if test -n "$STRIP"; then
   13414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13415 printf "%s\n" "$STRIP" >&6; }
   13416 else
   13417   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13418 printf "%s\n" "no" >&6; }
   13419 fi
   13420 
   13421 
   13422 fi
   13423 if test -z "$ac_cv_prog_STRIP"; then
   13424   ac_ct_STRIP=$STRIP
   13425   # Extract the first word of "strip", so it can be a program name with args.
   13426 set dummy strip; ac_word=$2
   13427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13428 printf %s "checking for $ac_word... " >&6; }
   13429 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13430 then :
   13431   printf %s "(cached) " >&6
   13432 else $as_nop
   13433   if test -n "$ac_ct_STRIP"; then
   13434   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13435 else
   13436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13437 for as_dir in $PATH
   13438 do
   13439   IFS=$as_save_IFS
   13440   case $as_dir in #(((
   13441     '') as_dir=./ ;;
   13442     */) ;;
   13443     *) as_dir=$as_dir/ ;;
   13444   esac
   13445     for ac_exec_ext in '' $ac_executable_extensions; do
   13446   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13447     ac_cv_prog_ac_ct_STRIP="strip"
   13448     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13449     break 2
   13450   fi
   13451 done
   13452   done
   13453 IFS=$as_save_IFS
   13454 
   13455 fi
   13456 fi
   13457 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13458 if test -n "$ac_ct_STRIP"; then
   13459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13460 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13461 else
   13462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13463 printf "%s\n" "no" >&6; }
   13464 fi
   13465 
   13466   if test "x$ac_ct_STRIP" = x; then
   13467     STRIP=":"
   13468   else
   13469     case $cross_compiling:$ac_tool_warned in
   13470 yes:)
   13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13472 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13473 ac_tool_warned=yes ;;
   13474 esac
   13475     STRIP=$ac_ct_STRIP
   13476   fi
   13477 else
   13478   STRIP="$ac_cv_prog_STRIP"
   13479 fi
   13480 
   13481 test -z "$STRIP" && STRIP=:
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 if test -n "$ac_tool_prefix"; then
   13489   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13490 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13492 printf %s "checking for $ac_word... " >&6; }
   13493 if test ${ac_cv_prog_RANLIB+y}
   13494 then :
   13495   printf %s "(cached) " >&6
   13496 else $as_nop
   13497   if test -n "$RANLIB"; then
   13498   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13499 else
   13500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13501 for as_dir in $PATH
   13502 do
   13503   IFS=$as_save_IFS
   13504   case $as_dir in #(((
   13505     '') as_dir=./ ;;
   13506     */) ;;
   13507     *) as_dir=$as_dir/ ;;
   13508   esac
   13509     for ac_exec_ext in '' $ac_executable_extensions; do
   13510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13511     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13513     break 2
   13514   fi
   13515 done
   13516   done
   13517 IFS=$as_save_IFS
   13518 
   13519 fi
   13520 fi
   13521 RANLIB=$ac_cv_prog_RANLIB
   13522 if test -n "$RANLIB"; then
   13523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13524 printf "%s\n" "$RANLIB" >&6; }
   13525 else
   13526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13527 printf "%s\n" "no" >&6; }
   13528 fi
   13529 
   13530 
   13531 fi
   13532 if test -z "$ac_cv_prog_RANLIB"; then
   13533   ac_ct_RANLIB=$RANLIB
   13534   # Extract the first word of "ranlib", so it can be a program name with args.
   13535 set dummy ranlib; ac_word=$2
   13536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13537 printf %s "checking for $ac_word... " >&6; }
   13538 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13539 then :
   13540   printf %s "(cached) " >&6
   13541 else $as_nop
   13542   if test -n "$ac_ct_RANLIB"; then
   13543   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13544 else
   13545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13546 for as_dir in $PATH
   13547 do
   13548   IFS=$as_save_IFS
   13549   case $as_dir in #(((
   13550     '') as_dir=./ ;;
   13551     */) ;;
   13552     *) as_dir=$as_dir/ ;;
   13553   esac
   13554     for ac_exec_ext in '' $ac_executable_extensions; do
   13555   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13556     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13557     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13558     break 2
   13559   fi
   13560 done
   13561   done
   13562 IFS=$as_save_IFS
   13563 
   13564 fi
   13565 fi
   13566 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13567 if test -n "$ac_ct_RANLIB"; then
   13568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13569 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13570 else
   13571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13572 printf "%s\n" "no" >&6; }
   13573 fi
   13574 
   13575   if test "x$ac_ct_RANLIB" = x; then
   13576     RANLIB=":"
   13577   else
   13578     case $cross_compiling:$ac_tool_warned in
   13579 yes:)
   13580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13581 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13582 ac_tool_warned=yes ;;
   13583 esac
   13584     RANLIB=$ac_ct_RANLIB
   13585   fi
   13586 else
   13587   RANLIB="$ac_cv_prog_RANLIB"
   13588 fi
   13589 
   13590 test -z "$RANLIB" && RANLIB=:
   13591 
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 # Determine commands to create old-style static archives.
   13598 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13599 old_postinstall_cmds='chmod 644 $oldlib'
   13600 old_postuninstall_cmds=
   13601 
   13602 if test -n "$RANLIB"; then
   13603   case $host_os in
   13604   bitrig* | openbsd*)
   13605     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13606     ;;
   13607   *)
   13608     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13609     ;;
   13610   esac
   13611   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13612 fi
   13613 
   13614 case $host_os in
   13615   darwin*)
   13616     lock_old_archive_extraction=yes ;;
   13617   *)
   13618     lock_old_archive_extraction=no ;;
   13619 esac
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 # If no C compiler was specified, use CC.
   13660 LTCC=${LTCC-"$CC"}
   13661 
   13662 # If no C compiler flags were specified, use CFLAGS.
   13663 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13664 
   13665 # Allow CC to be a program name with arguments.
   13666 compiler=$CC
   13667 
   13668 
   13669 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13671 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13672 if test ${lt_cv_sys_global_symbol_pipe+y}
   13673 then :
   13674   printf %s "(cached) " >&6
   13675 else $as_nop
   13676 
   13677 # These are sane defaults that work on at least a few old systems.
   13678 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13679 
   13680 # Character class describing NM global symbol codes.
   13681 symcode='[BCDEGRST]'
   13682 
   13683 # Regexp to match symbols that can be accessed directly from C.
   13684 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13685 
   13686 # Define system-specific variables.
   13687 case $host_os in
   13688 aix*)
   13689   symcode='[BCDT]'
   13690   ;;
   13691 cygwin* | mingw* | pw32* | cegcc*)
   13692   symcode='[ABCDGISTW]'
   13693   ;;
   13694 hpux*)
   13695   if test ia64 = "$host_cpu"; then
   13696     symcode='[ABCDEGRST]'
   13697   fi
   13698   ;;
   13699 irix* | nonstopux*)
   13700   symcode='[BCDEGRST]'
   13701   ;;
   13702 osf*)
   13703   symcode='[BCDEGQRST]'
   13704   ;;
   13705 solaris*)
   13706   symcode='[BDRT]'
   13707   ;;
   13708 sco3.2v5*)
   13709   symcode='[DT]'
   13710   ;;
   13711 sysv4.2uw2*)
   13712   symcode='[DT]'
   13713   ;;
   13714 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13715   symcode='[ABDT]'
   13716   ;;
   13717 sysv4)
   13718   symcode='[DFNSTU]'
   13719   ;;
   13720 esac
   13721 
   13722 # If we're using GNU nm, then use its standard symbol codes.
   13723 case `$NM -V 2>&1` in
   13724 *GNU* | *'with BFD'*)
   13725   symcode='[ABCDGIRSTW]' ;;
   13726 esac
   13727 
   13728 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13729   # Gets list of data symbols to import.
   13730   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13731   # Adjust the below global symbol transforms to fixup imported variables.
   13732   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13733   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13734   lt_c_name_lib_hook="\
   13735   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13736   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13737 else
   13738   # Disable hooks by default.
   13739   lt_cv_sys_global_symbol_to_import=
   13740   lt_cdecl_hook=
   13741   lt_c_name_hook=
   13742   lt_c_name_lib_hook=
   13743 fi
   13744 
   13745 # Transform an extracted symbol line into a proper C declaration.
   13746 # Some systems (esp. on ia64) link data and code symbols differently,
   13747 # so use this general approach.
   13748 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13749 $lt_cdecl_hook\
   13750 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13751 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13752 
   13753 # Transform an extracted symbol line into symbol name and symbol address
   13754 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13755 $lt_c_name_hook\
   13756 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13757 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13758 
   13759 # Transform an extracted symbol line into symbol name with lib prefix and
   13760 # symbol address.
   13761 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13762 $lt_c_name_lib_hook\
   13763 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13764 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13765 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13766 
   13767 # Handle CRLF in mingw tool chain
   13768 opt_cr=
   13769 case $build_os in
   13770 mingw*)
   13771   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13772   ;;
   13773 esac
   13774 
   13775 # Try without a prefix underscore, then with it.
   13776 for ac_symprfx in "" "_"; do
   13777 
   13778   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13779   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13780 
   13781   # Write the raw and C identifiers.
   13782   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13783     # Fake it for dumpbin and say T for any non-static function,
   13784     # D for any global variable and I for any imported variable.
   13785     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13786     # which start with @ or ?.
   13787     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13788 "     {last_section=section; section=\$ 3};"\
   13789 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13790 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13791 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13792 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13793 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13794 "     \$ 0!~/External *\|/{next};"\
   13795 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13796 "     {if(hide[section]) next};"\
   13797 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13798 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13799 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13800 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13801 "     ' prfx=^$ac_symprfx"
   13802   else
   13803     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13804   fi
   13805   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13806 
   13807   # Check to see that the pipe works correctly.
   13808   pipe_works=no
   13809 
   13810   rm -f conftest*
   13811   cat > conftest.$ac_ext <<_LT_EOF
   13812 #ifdef __cplusplus
   13813 extern "C" {
   13814 #endif
   13815 char nm_test_var;
   13816 void nm_test_func(void);
   13817 void nm_test_func(void){}
   13818 #ifdef __cplusplus
   13819 }
   13820 #endif
   13821 int main(){nm_test_var='a';nm_test_func();return(0);}
   13822 _LT_EOF
   13823 
   13824   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13825   (eval $ac_compile) 2>&5
   13826   ac_status=$?
   13827   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13828   test $ac_status = 0; }; then
   13829     # Now try to grab the symbols.
   13830     nlist=conftest.nm
   13831     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13832   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13833   ac_status=$?
   13834   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13835   test $ac_status = 0; } && test -s "$nlist"; then
   13836       # Try sorting and uniquifying the output.
   13837       if sort "$nlist" | uniq > "$nlist"T; then
   13838 	mv -f "$nlist"T "$nlist"
   13839       else
   13840 	rm -f "$nlist"T
   13841       fi
   13842 
   13843       # Make sure that we snagged all the symbols we need.
   13844       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13845 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13846 	  cat <<_LT_EOF > conftest.$ac_ext
   13847 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13848 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13849 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13850    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13851 # define LT_DLSYM_CONST
   13852 #elif defined __osf__
   13853 /* This system does not cope well with relocations in const data.  */
   13854 # define LT_DLSYM_CONST
   13855 #else
   13856 # define LT_DLSYM_CONST const
   13857 #endif
   13858 
   13859 #ifdef __cplusplus
   13860 extern "C" {
   13861 #endif
   13862 
   13863 _LT_EOF
   13864 	  # Now generate the symbol file.
   13865 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13866 
   13867 	  cat <<_LT_EOF >> conftest.$ac_ext
   13868 
   13869 /* The mapping between symbol names and symbols.  */
   13870 LT_DLSYM_CONST struct {
   13871   const char *name;
   13872   void       *address;
   13873 }
   13874 lt__PROGRAM__LTX_preloaded_symbols[] =
   13875 {
   13876   { "@PROGRAM@", (void *) 0 },
   13877 _LT_EOF
   13878 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13879 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13880   {0, (void *) 0}
   13881 };
   13882 
   13883 /* This works around a problem in FreeBSD linker */
   13884 #ifdef FREEBSD_WORKAROUND
   13885 static const void *lt_preloaded_setup() {
   13886   return lt__PROGRAM__LTX_preloaded_symbols;
   13887 }
   13888 #endif
   13889 
   13890 #ifdef __cplusplus
   13891 }
   13892 #endif
   13893 _LT_EOF
   13894 	  # Now try linking the two files.
   13895 	  mv conftest.$ac_objext conftstm.$ac_objext
   13896 	  lt_globsym_save_LIBS=$LIBS
   13897 	  lt_globsym_save_CFLAGS=$CFLAGS
   13898 	  LIBS=conftstm.$ac_objext
   13899 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13900 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13901   (eval $ac_link) 2>&5
   13902   ac_status=$?
   13903   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13904   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13905 	    pipe_works=yes
   13906 	  fi
   13907 	  LIBS=$lt_globsym_save_LIBS
   13908 	  CFLAGS=$lt_globsym_save_CFLAGS
   13909 	else
   13910 	  echo "cannot find nm_test_func in $nlist" >&5
   13911 	fi
   13912       else
   13913 	echo "cannot find nm_test_var in $nlist" >&5
   13914       fi
   13915     else
   13916       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13917     fi
   13918   else
   13919     echo "$progname: failed program was:" >&5
   13920     cat conftest.$ac_ext >&5
   13921   fi
   13922   rm -rf conftest* conftst*
   13923 
   13924   # Do not use the global_symbol_pipe unless it works.
   13925   if test yes = "$pipe_works"; then
   13926     break
   13927   else
   13928     lt_cv_sys_global_symbol_pipe=
   13929   fi
   13930 done
   13931 
   13932 fi
   13933 
   13934 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13935   lt_cv_sys_global_symbol_to_cdecl=
   13936 fi
   13937 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13939 printf "%s\n" "failed" >&6; }
   13940 else
   13941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13942 printf "%s\n" "ok" >&6; }
   13943 fi
   13944 
   13945 # Response file support.
   13946 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13947   nm_file_list_spec='@'
   13948 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13949   nm_file_list_spec='@'
   13950 fi
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 
   13971 
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13989 printf %s "checking for sysroot... " >&6; }
   13990 
   13991 # Check whether --with-sysroot was given.
   13992 if test ${with_sysroot+y}
   13993 then :
   13994   withval=$with_sysroot;
   13995 else $as_nop
   13996   with_sysroot=no
   13997 fi
   13998 
   13999 
   14000 lt_sysroot=
   14001 case $with_sysroot in #(
   14002  yes)
   14003    if test yes = "$GCC"; then
   14004      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   14005    fi
   14006    ;; #(
   14007  /*)
   14008    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   14009    ;; #(
   14010  no|'')
   14011    ;; #(
   14012  *)
   14013    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   14014 printf "%s\n" "$with_sysroot" >&6; }
   14015    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   14016    ;;
   14017 esac
   14018 
   14019  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   14020 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   14027 printf %s "checking for a working dd... " >&6; }
   14028 if test ${ac_cv_path_lt_DD+y}
   14029 then :
   14030   printf %s "(cached) " >&6
   14031 else $as_nop
   14032   printf 0123456789abcdef0123456789abcdef >conftest.i
   14033 cat conftest.i conftest.i >conftest2.i
   14034 : ${lt_DD:=$DD}
   14035 if test -z "$lt_DD"; then
   14036   ac_path_lt_DD_found=false
   14037   # Loop through the user's path and test for each of PROGNAME-LIST
   14038   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14039 for as_dir in $PATH
   14040 do
   14041   IFS=$as_save_IFS
   14042   case $as_dir in #(((
   14043     '') as_dir=./ ;;
   14044     */) ;;
   14045     *) as_dir=$as_dir/ ;;
   14046   esac
   14047     for ac_prog in dd
   14048    do
   14049     for ac_exec_ext in '' $ac_executable_extensions; do
   14050       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   14051       as_fn_executable_p "$ac_path_lt_DD" || continue
   14052 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14053   cmp -s conftest.i conftest.out \
   14054   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   14055 fi
   14056       $ac_path_lt_DD_found && break 3
   14057     done
   14058   done
   14059   done
   14060 IFS=$as_save_IFS
   14061   if test -z "$ac_cv_path_lt_DD"; then
   14062     :
   14063   fi
   14064 else
   14065   ac_cv_path_lt_DD=$lt_DD
   14066 fi
   14067 
   14068 rm -f conftest.i conftest2.i conftest.out
   14069 fi
   14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   14071 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   14072 
   14073 
   14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   14075 printf %s "checking how to truncate binary pipes... " >&6; }
   14076 if test ${lt_cv_truncate_bin+y}
   14077 then :
   14078   printf %s "(cached) " >&6
   14079 else $as_nop
   14080   printf 0123456789abcdef0123456789abcdef >conftest.i
   14081 cat conftest.i conftest.i >conftest2.i
   14082 lt_cv_truncate_bin=
   14083 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   14084   cmp -s conftest.i conftest.out \
   14085   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   14086 fi
   14087 rm -f conftest.i conftest2.i conftest.out
   14088 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   14089 fi
   14090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   14091 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   14100 func_cc_basename ()
   14101 {
   14102     for cc_temp in $*""; do
   14103       case $cc_temp in
   14104         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14105         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14106         \-*) ;;
   14107         *) break;;
   14108       esac
   14109     done
   14110     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14111 }
   14112 
   14113 # Check whether --enable-libtool-lock was given.
   14114 if test ${enable_libtool_lock+y}
   14115 then :
   14116   enableval=$enable_libtool_lock;
   14117 fi
   14118 
   14119 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   14120 
   14121 # Some flags need to be propagated to the compiler or linker for good
   14122 # libtool support.
   14123 case $host in
   14124 ia64-*-hpux*)
   14125   # Find out what ABI is being produced by ac_compile, and set mode
   14126   # options accordingly.
   14127   echo 'int i;' > conftest.$ac_ext
   14128   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14129   (eval $ac_compile) 2>&5
   14130   ac_status=$?
   14131   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14132   test $ac_status = 0; }; then
   14133     case `$FILECMD conftest.$ac_objext` in
   14134       *ELF-32*)
   14135 	HPUX_IA64_MODE=32
   14136 	;;
   14137       *ELF-64*)
   14138 	HPUX_IA64_MODE=64
   14139 	;;
   14140     esac
   14141   fi
   14142   rm -rf conftest*
   14143   ;;
   14144 *-*-irix6*)
   14145   # Find out what ABI is being produced by ac_compile, and set linker
   14146   # options accordingly.
   14147   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14148   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14149   (eval $ac_compile) 2>&5
   14150   ac_status=$?
   14151   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14152   test $ac_status = 0; }; then
   14153     if test yes = "$lt_cv_prog_gnu_ld"; then
   14154       case `$FILECMD conftest.$ac_objext` in
   14155 	*32-bit*)
   14156 	  LD="${LD-ld} -melf32bsmip"
   14157 	  ;;
   14158 	*N32*)
   14159 	  LD="${LD-ld} -melf32bmipn32"
   14160 	  ;;
   14161 	*64-bit*)
   14162 	  LD="${LD-ld} -melf64bmip"
   14163 	;;
   14164       esac
   14165     else
   14166       case `$FILECMD conftest.$ac_objext` in
   14167 	*32-bit*)
   14168 	  LD="${LD-ld} -32"
   14169 	  ;;
   14170 	*N32*)
   14171 	  LD="${LD-ld} -n32"
   14172 	  ;;
   14173 	*64-bit*)
   14174 	  LD="${LD-ld} -64"
   14175 	  ;;
   14176       esac
   14177     fi
   14178   fi
   14179   rm -rf conftest*
   14180   ;;
   14181 
   14182 mips64*-*linux*)
   14183   # Find out what ABI is being produced by ac_compile, and set linker
   14184   # options accordingly.
   14185   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   14186   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14187   (eval $ac_compile) 2>&5
   14188   ac_status=$?
   14189   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14190   test $ac_status = 0; }; then
   14191     emul=elf
   14192     case `$FILECMD conftest.$ac_objext` in
   14193       *32-bit*)
   14194 	emul="${emul}32"
   14195 	;;
   14196       *64-bit*)
   14197 	emul="${emul}64"
   14198 	;;
   14199     esac
   14200     case `$FILECMD conftest.$ac_objext` in
   14201       *MSB*)
   14202 	emul="${emul}btsmip"
   14203 	;;
   14204       *LSB*)
   14205 	emul="${emul}ltsmip"
   14206 	;;
   14207     esac
   14208     case `$FILECMD conftest.$ac_objext` in
   14209       *N32*)
   14210 	emul="${emul}n32"
   14211 	;;
   14212     esac
   14213     LD="${LD-ld} -m $emul"
   14214   fi
   14215   rm -rf conftest*
   14216   ;;
   14217 
   14218 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14219 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14220   # Find out what ABI is being produced by ac_compile, and set linker
   14221   # options accordingly.  Note that the listed cases only cover the
   14222   # situations where additional linker options are needed (such as when
   14223   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14224   # vice versa); the common cases where no linker options are needed do
   14225   # not appear in the list.
   14226   echo 'int i;' > conftest.$ac_ext
   14227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14228   (eval $ac_compile) 2>&5
   14229   ac_status=$?
   14230   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14231   test $ac_status = 0; }; then
   14232     case `$FILECMD conftest.o` in
   14233       *32-bit*)
   14234 	case $host in
   14235 	  x86_64-*kfreebsd*-gnu)
   14236 	    LD="${LD-ld} -m elf_i386_fbsd"
   14237 	    ;;
   14238 	  x86_64-*linux*)
   14239 	    case `$FILECMD conftest.o` in
   14240 	      *x86-64*)
   14241 		LD="${LD-ld} -m elf32_x86_64"
   14242 		;;
   14243 	      *)
   14244 		LD="${LD-ld} -m elf_i386"
   14245 		;;
   14246 	    esac
   14247 	    ;;
   14248 	  powerpc64le-*linux*)
   14249 	    LD="${LD-ld} -m elf32lppclinux"
   14250 	    ;;
   14251 	  powerpc64-*linux*)
   14252 	    LD="${LD-ld} -m elf32ppclinux"
   14253 	    ;;
   14254 	  s390x-*linux*)
   14255 	    LD="${LD-ld} -m elf_s390"
   14256 	    ;;
   14257 	  sparc64-*linux*)
   14258 	    LD="${LD-ld} -m elf32_sparc"
   14259 	    ;;
   14260 	esac
   14261 	;;
   14262       *64-bit*)
   14263 	case $host in
   14264 	  x86_64-*kfreebsd*-gnu)
   14265 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14266 	    ;;
   14267 	  x86_64-*linux*)
   14268 	    LD="${LD-ld} -m elf_x86_64"
   14269 	    ;;
   14270 	  powerpcle-*linux*)
   14271 	    LD="${LD-ld} -m elf64lppc"
   14272 	    ;;
   14273 	  powerpc-*linux*)
   14274 	    LD="${LD-ld} -m elf64ppc"
   14275 	    ;;
   14276 	  s390*-*linux*|s390*-*tpf*)
   14277 	    LD="${LD-ld} -m elf64_s390"
   14278 	    ;;
   14279 	  sparc*-*linux*)
   14280 	    LD="${LD-ld} -m elf64_sparc"
   14281 	    ;;
   14282 	esac
   14283 	;;
   14284     esac
   14285   fi
   14286   rm -rf conftest*
   14287   ;;
   14288 
   14289 *-*-sco3.2v5*)
   14290   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14291   SAVE_CFLAGS=$CFLAGS
   14292   CFLAGS="$CFLAGS -belf"
   14293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14294 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14295 if test ${lt_cv_cc_needs_belf+y}
   14296 then :
   14297   printf %s "(cached) " >&6
   14298 else $as_nop
   14299   ac_ext=c
   14300 ac_cpp='$CPP $CPPFLAGS'
   14301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14304 
   14305      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14306 /* end confdefs.h.  */
   14307 
   14308 int
   14309 main (void)
   14310 {
   14311 
   14312   ;
   14313   return 0;
   14314 }
   14315 _ACEOF
   14316 if ac_fn_c_try_link "$LINENO"
   14317 then :
   14318   lt_cv_cc_needs_belf=yes
   14319 else $as_nop
   14320   lt_cv_cc_needs_belf=no
   14321 fi
   14322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14323     conftest$ac_exeext conftest.$ac_ext
   14324      ac_ext=c
   14325 ac_cpp='$CPP $CPPFLAGS'
   14326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14329 
   14330 fi
   14331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14332 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14333   if test yes != "$lt_cv_cc_needs_belf"; then
   14334     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14335     CFLAGS=$SAVE_CFLAGS
   14336   fi
   14337   ;;
   14338 *-*solaris*)
   14339   # Find out what ABI is being produced by ac_compile, and set linker
   14340   # options accordingly.
   14341   echo 'int i;' > conftest.$ac_ext
   14342   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14343   (eval $ac_compile) 2>&5
   14344   ac_status=$?
   14345   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14346   test $ac_status = 0; }; then
   14347     case `$FILECMD conftest.o` in
   14348     *64-bit*)
   14349       case $lt_cv_prog_gnu_ld in
   14350       yes*)
   14351         case $host in
   14352         i?86-*-solaris*|x86_64-*-solaris*)
   14353           LD="${LD-ld} -m elf_x86_64"
   14354           ;;
   14355         sparc*-*-solaris*)
   14356           LD="${LD-ld} -m elf64_sparc"
   14357           ;;
   14358         esac
   14359         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14360         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14361           LD=${LD-ld}_sol2
   14362         fi
   14363         ;;
   14364       *)
   14365 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14366 	  LD="${LD-ld} -64"
   14367 	fi
   14368 	;;
   14369       esac
   14370       ;;
   14371     esac
   14372   fi
   14373   rm -rf conftest*
   14374   ;;
   14375 esac
   14376 
   14377 need_locks=$enable_libtool_lock
   14378 
   14379 if test -n "$ac_tool_prefix"; then
   14380   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14381 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14383 printf %s "checking for $ac_word... " >&6; }
   14384 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14385 then :
   14386   printf %s "(cached) " >&6
   14387 else $as_nop
   14388   if test -n "$MANIFEST_TOOL"; then
   14389   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14390 else
   14391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14392 for as_dir in $PATH
   14393 do
   14394   IFS=$as_save_IFS
   14395   case $as_dir in #(((
   14396     '') as_dir=./ ;;
   14397     */) ;;
   14398     *) as_dir=$as_dir/ ;;
   14399   esac
   14400     for ac_exec_ext in '' $ac_executable_extensions; do
   14401   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14402     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14403     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14404     break 2
   14405   fi
   14406 done
   14407   done
   14408 IFS=$as_save_IFS
   14409 
   14410 fi
   14411 fi
   14412 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14413 if test -n "$MANIFEST_TOOL"; then
   14414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14415 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14416 else
   14417   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14418 printf "%s\n" "no" >&6; }
   14419 fi
   14420 
   14421 
   14422 fi
   14423 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14424   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14425   # Extract the first word of "mt", so it can be a program name with args.
   14426 set dummy mt; ac_word=$2
   14427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14428 printf %s "checking for $ac_word... " >&6; }
   14429 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14430 then :
   14431   printf %s "(cached) " >&6
   14432 else $as_nop
   14433   if test -n "$ac_ct_MANIFEST_TOOL"; then
   14434   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14435 else
   14436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14437 for as_dir in $PATH
   14438 do
   14439   IFS=$as_save_IFS
   14440   case $as_dir in #(((
   14441     '') as_dir=./ ;;
   14442     */) ;;
   14443     *) as_dir=$as_dir/ ;;
   14444   esac
   14445     for ac_exec_ext in '' $ac_executable_extensions; do
   14446   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14447     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14448     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14449     break 2
   14450   fi
   14451 done
   14452   done
   14453 IFS=$as_save_IFS
   14454 
   14455 fi
   14456 fi
   14457 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14458 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14460 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14461 else
   14462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14463 printf "%s\n" "no" >&6; }
   14464 fi
   14465 
   14466   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14467     MANIFEST_TOOL=":"
   14468   else
   14469     case $cross_compiling:$ac_tool_warned in
   14470 yes:)
   14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14472 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14473 ac_tool_warned=yes ;;
   14474 esac
   14475     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14476   fi
   14477 else
   14478   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14479 fi
   14480 
   14481 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14483 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14484 if test ${lt_cv_path_mainfest_tool+y}
   14485 then :
   14486   printf %s "(cached) " >&6
   14487 else $as_nop
   14488   lt_cv_path_mainfest_tool=no
   14489   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14490   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14491   cat conftest.err >&5
   14492   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14493     lt_cv_path_mainfest_tool=yes
   14494   fi
   14495   rm -f conftest*
   14496 fi
   14497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14498 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14499 if test yes != "$lt_cv_path_mainfest_tool"; then
   14500   MANIFEST_TOOL=:
   14501 fi
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508   case $host_os in
   14509     rhapsody* | darwin*)
   14510     if test -n "$ac_tool_prefix"; then
   14511   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14512 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14514 printf %s "checking for $ac_word... " >&6; }
   14515 if test ${ac_cv_prog_DSYMUTIL+y}
   14516 then :
   14517   printf %s "(cached) " >&6
   14518 else $as_nop
   14519   if test -n "$DSYMUTIL"; then
   14520   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14521 else
   14522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14523 for as_dir in $PATH
   14524 do
   14525   IFS=$as_save_IFS
   14526   case $as_dir in #(((
   14527     '') as_dir=./ ;;
   14528     */) ;;
   14529     *) as_dir=$as_dir/ ;;
   14530   esac
   14531     for ac_exec_ext in '' $ac_executable_extensions; do
   14532   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14533     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14534     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14535     break 2
   14536   fi
   14537 done
   14538   done
   14539 IFS=$as_save_IFS
   14540 
   14541 fi
   14542 fi
   14543 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14544 if test -n "$DSYMUTIL"; then
   14545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14546 printf "%s\n" "$DSYMUTIL" >&6; }
   14547 else
   14548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14549 printf "%s\n" "no" >&6; }
   14550 fi
   14551 
   14552 
   14553 fi
   14554 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14555   ac_ct_DSYMUTIL=$DSYMUTIL
   14556   # Extract the first word of "dsymutil", so it can be a program name with args.
   14557 set dummy dsymutil; ac_word=$2
   14558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14559 printf %s "checking for $ac_word... " >&6; }
   14560 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14561 then :
   14562   printf %s "(cached) " >&6
   14563 else $as_nop
   14564   if test -n "$ac_ct_DSYMUTIL"; then
   14565   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14566 else
   14567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14568 for as_dir in $PATH
   14569 do
   14570   IFS=$as_save_IFS
   14571   case $as_dir in #(((
   14572     '') as_dir=./ ;;
   14573     */) ;;
   14574     *) as_dir=$as_dir/ ;;
   14575   esac
   14576     for ac_exec_ext in '' $ac_executable_extensions; do
   14577   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14578     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14579     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14580     break 2
   14581   fi
   14582 done
   14583   done
   14584 IFS=$as_save_IFS
   14585 
   14586 fi
   14587 fi
   14588 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14589 if test -n "$ac_ct_DSYMUTIL"; then
   14590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14591 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14592 else
   14593   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14594 printf "%s\n" "no" >&6; }
   14595 fi
   14596 
   14597   if test "x$ac_ct_DSYMUTIL" = x; then
   14598     DSYMUTIL=":"
   14599   else
   14600     case $cross_compiling:$ac_tool_warned in
   14601 yes:)
   14602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14603 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14604 ac_tool_warned=yes ;;
   14605 esac
   14606     DSYMUTIL=$ac_ct_DSYMUTIL
   14607   fi
   14608 else
   14609   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14610 fi
   14611 
   14612     if test -n "$ac_tool_prefix"; then
   14613   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14614 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14616 printf %s "checking for $ac_word... " >&6; }
   14617 if test ${ac_cv_prog_NMEDIT+y}
   14618 then :
   14619   printf %s "(cached) " >&6
   14620 else $as_nop
   14621   if test -n "$NMEDIT"; then
   14622   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14623 else
   14624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14625 for as_dir in $PATH
   14626 do
   14627   IFS=$as_save_IFS
   14628   case $as_dir in #(((
   14629     '') as_dir=./ ;;
   14630     */) ;;
   14631     *) as_dir=$as_dir/ ;;
   14632   esac
   14633     for ac_exec_ext in '' $ac_executable_extensions; do
   14634   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14635     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14636     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14637     break 2
   14638   fi
   14639 done
   14640   done
   14641 IFS=$as_save_IFS
   14642 
   14643 fi
   14644 fi
   14645 NMEDIT=$ac_cv_prog_NMEDIT
   14646 if test -n "$NMEDIT"; then
   14647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14648 printf "%s\n" "$NMEDIT" >&6; }
   14649 else
   14650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14651 printf "%s\n" "no" >&6; }
   14652 fi
   14653 
   14654 
   14655 fi
   14656 if test -z "$ac_cv_prog_NMEDIT"; then
   14657   ac_ct_NMEDIT=$NMEDIT
   14658   # Extract the first word of "nmedit", so it can be a program name with args.
   14659 set dummy nmedit; ac_word=$2
   14660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14661 printf %s "checking for $ac_word... " >&6; }
   14662 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14663 then :
   14664   printf %s "(cached) " >&6
   14665 else $as_nop
   14666   if test -n "$ac_ct_NMEDIT"; then
   14667   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14668 else
   14669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14670 for as_dir in $PATH
   14671 do
   14672   IFS=$as_save_IFS
   14673   case $as_dir in #(((
   14674     '') as_dir=./ ;;
   14675     */) ;;
   14676     *) as_dir=$as_dir/ ;;
   14677   esac
   14678     for ac_exec_ext in '' $ac_executable_extensions; do
   14679   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14680     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14681     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14682     break 2
   14683   fi
   14684 done
   14685   done
   14686 IFS=$as_save_IFS
   14687 
   14688 fi
   14689 fi
   14690 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14691 if test -n "$ac_ct_NMEDIT"; then
   14692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14693 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14694 else
   14695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14696 printf "%s\n" "no" >&6; }
   14697 fi
   14698 
   14699   if test "x$ac_ct_NMEDIT" = x; then
   14700     NMEDIT=":"
   14701   else
   14702     case $cross_compiling:$ac_tool_warned in
   14703 yes:)
   14704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14705 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14706 ac_tool_warned=yes ;;
   14707 esac
   14708     NMEDIT=$ac_ct_NMEDIT
   14709   fi
   14710 else
   14711   NMEDIT="$ac_cv_prog_NMEDIT"
   14712 fi
   14713 
   14714     if test -n "$ac_tool_prefix"; then
   14715   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14716 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14718 printf %s "checking for $ac_word... " >&6; }
   14719 if test ${ac_cv_prog_LIPO+y}
   14720 then :
   14721   printf %s "(cached) " >&6
   14722 else $as_nop
   14723   if test -n "$LIPO"; then
   14724   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14725 else
   14726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14727 for as_dir in $PATH
   14728 do
   14729   IFS=$as_save_IFS
   14730   case $as_dir in #(((
   14731     '') as_dir=./ ;;
   14732     */) ;;
   14733     *) as_dir=$as_dir/ ;;
   14734   esac
   14735     for ac_exec_ext in '' $ac_executable_extensions; do
   14736   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14737     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14738     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14739     break 2
   14740   fi
   14741 done
   14742   done
   14743 IFS=$as_save_IFS
   14744 
   14745 fi
   14746 fi
   14747 LIPO=$ac_cv_prog_LIPO
   14748 if test -n "$LIPO"; then
   14749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14750 printf "%s\n" "$LIPO" >&6; }
   14751 else
   14752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14753 printf "%s\n" "no" >&6; }
   14754 fi
   14755 
   14756 
   14757 fi
   14758 if test -z "$ac_cv_prog_LIPO"; then
   14759   ac_ct_LIPO=$LIPO
   14760   # Extract the first word of "lipo", so it can be a program name with args.
   14761 set dummy lipo; ac_word=$2
   14762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14763 printf %s "checking for $ac_word... " >&6; }
   14764 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14765 then :
   14766   printf %s "(cached) " >&6
   14767 else $as_nop
   14768   if test -n "$ac_ct_LIPO"; then
   14769   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14770 else
   14771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14772 for as_dir in $PATH
   14773 do
   14774   IFS=$as_save_IFS
   14775   case $as_dir in #(((
   14776     '') as_dir=./ ;;
   14777     */) ;;
   14778     *) as_dir=$as_dir/ ;;
   14779   esac
   14780     for ac_exec_ext in '' $ac_executable_extensions; do
   14781   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14782     ac_cv_prog_ac_ct_LIPO="lipo"
   14783     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14784     break 2
   14785   fi
   14786 done
   14787   done
   14788 IFS=$as_save_IFS
   14789 
   14790 fi
   14791 fi
   14792 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14793 if test -n "$ac_ct_LIPO"; then
   14794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14795 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14796 else
   14797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14798 printf "%s\n" "no" >&6; }
   14799 fi
   14800 
   14801   if test "x$ac_ct_LIPO" = x; then
   14802     LIPO=":"
   14803   else
   14804     case $cross_compiling:$ac_tool_warned in
   14805 yes:)
   14806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14807 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14808 ac_tool_warned=yes ;;
   14809 esac
   14810     LIPO=$ac_ct_LIPO
   14811   fi
   14812 else
   14813   LIPO="$ac_cv_prog_LIPO"
   14814 fi
   14815 
   14816     if test -n "$ac_tool_prefix"; then
   14817   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14818 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14820 printf %s "checking for $ac_word... " >&6; }
   14821 if test ${ac_cv_prog_OTOOL+y}
   14822 then :
   14823   printf %s "(cached) " >&6
   14824 else $as_nop
   14825   if test -n "$OTOOL"; then
   14826   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14827 else
   14828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14829 for as_dir in $PATH
   14830 do
   14831   IFS=$as_save_IFS
   14832   case $as_dir in #(((
   14833     '') as_dir=./ ;;
   14834     */) ;;
   14835     *) as_dir=$as_dir/ ;;
   14836   esac
   14837     for ac_exec_ext in '' $ac_executable_extensions; do
   14838   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14839     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14840     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14841     break 2
   14842   fi
   14843 done
   14844   done
   14845 IFS=$as_save_IFS
   14846 
   14847 fi
   14848 fi
   14849 OTOOL=$ac_cv_prog_OTOOL
   14850 if test -n "$OTOOL"; then
   14851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14852 printf "%s\n" "$OTOOL" >&6; }
   14853 else
   14854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14855 printf "%s\n" "no" >&6; }
   14856 fi
   14857 
   14858 
   14859 fi
   14860 if test -z "$ac_cv_prog_OTOOL"; then
   14861   ac_ct_OTOOL=$OTOOL
   14862   # Extract the first word of "otool", so it can be a program name with args.
   14863 set dummy otool; ac_word=$2
   14864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14865 printf %s "checking for $ac_word... " >&6; }
   14866 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14867 then :
   14868   printf %s "(cached) " >&6
   14869 else $as_nop
   14870   if test -n "$ac_ct_OTOOL"; then
   14871   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14872 else
   14873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14874 for as_dir in $PATH
   14875 do
   14876   IFS=$as_save_IFS
   14877   case $as_dir in #(((
   14878     '') as_dir=./ ;;
   14879     */) ;;
   14880     *) as_dir=$as_dir/ ;;
   14881   esac
   14882     for ac_exec_ext in '' $ac_executable_extensions; do
   14883   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14884     ac_cv_prog_ac_ct_OTOOL="otool"
   14885     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14886     break 2
   14887   fi
   14888 done
   14889   done
   14890 IFS=$as_save_IFS
   14891 
   14892 fi
   14893 fi
   14894 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14895 if test -n "$ac_ct_OTOOL"; then
   14896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14897 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   14898 else
   14899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14900 printf "%s\n" "no" >&6; }
   14901 fi
   14902 
   14903   if test "x$ac_ct_OTOOL" = x; then
   14904     OTOOL=":"
   14905   else
   14906     case $cross_compiling:$ac_tool_warned in
   14907 yes:)
   14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14909 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14910 ac_tool_warned=yes ;;
   14911 esac
   14912     OTOOL=$ac_ct_OTOOL
   14913   fi
   14914 else
   14915   OTOOL="$ac_cv_prog_OTOOL"
   14916 fi
   14917 
   14918     if test -n "$ac_tool_prefix"; then
   14919   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14920 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14922 printf %s "checking for $ac_word... " >&6; }
   14923 if test ${ac_cv_prog_OTOOL64+y}
   14924 then :
   14925   printf %s "(cached) " >&6
   14926 else $as_nop
   14927   if test -n "$OTOOL64"; then
   14928   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14929 else
   14930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14931 for as_dir in $PATH
   14932 do
   14933   IFS=$as_save_IFS
   14934   case $as_dir in #(((
   14935     '') as_dir=./ ;;
   14936     */) ;;
   14937     *) as_dir=$as_dir/ ;;
   14938   esac
   14939     for ac_exec_ext in '' $ac_executable_extensions; do
   14940   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14941     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14942     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14943     break 2
   14944   fi
   14945 done
   14946   done
   14947 IFS=$as_save_IFS
   14948 
   14949 fi
   14950 fi
   14951 OTOOL64=$ac_cv_prog_OTOOL64
   14952 if test -n "$OTOOL64"; then
   14953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14954 printf "%s\n" "$OTOOL64" >&6; }
   14955 else
   14956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14957 printf "%s\n" "no" >&6; }
   14958 fi
   14959 
   14960 
   14961 fi
   14962 if test -z "$ac_cv_prog_OTOOL64"; then
   14963   ac_ct_OTOOL64=$OTOOL64
   14964   # Extract the first word of "otool64", so it can be a program name with args.
   14965 set dummy otool64; ac_word=$2
   14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14967 printf %s "checking for $ac_word... " >&6; }
   14968 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   14969 then :
   14970   printf %s "(cached) " >&6
   14971 else $as_nop
   14972   if test -n "$ac_ct_OTOOL64"; then
   14973   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14974 else
   14975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14976 for as_dir in $PATH
   14977 do
   14978   IFS=$as_save_IFS
   14979   case $as_dir in #(((
   14980     '') as_dir=./ ;;
   14981     */) ;;
   14982     *) as_dir=$as_dir/ ;;
   14983   esac
   14984     for ac_exec_ext in '' $ac_executable_extensions; do
   14985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14986     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14987     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14988     break 2
   14989   fi
   14990 done
   14991   done
   14992 IFS=$as_save_IFS
   14993 
   14994 fi
   14995 fi
   14996 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14997 if test -n "$ac_ct_OTOOL64"; then
   14998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14999 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   15000 else
   15001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15002 printf "%s\n" "no" >&6; }
   15003 fi
   15004 
   15005   if test "x$ac_ct_OTOOL64" = x; then
   15006     OTOOL64=":"
   15007   else
   15008     case $cross_compiling:$ac_tool_warned in
   15009 yes:)
   15010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15011 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15012 ac_tool_warned=yes ;;
   15013 esac
   15014     OTOOL64=$ac_ct_OTOOL64
   15015   fi
   15016 else
   15017   OTOOL64="$ac_cv_prog_OTOOL64"
   15018 fi
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   15047 printf %s "checking for -single_module linker flag... " >&6; }
   15048 if test ${lt_cv_apple_cc_single_mod+y}
   15049 then :
   15050   printf %s "(cached) " >&6
   15051 else $as_nop
   15052   lt_cv_apple_cc_single_mod=no
   15053       if test -z "$LT_MULTI_MODULE"; then
   15054 	# By default we will add the -single_module flag. You can override
   15055 	# by either setting the environment variable LT_MULTI_MODULE
   15056 	# non-empty at configure time, or by adding -multi_module to the
   15057 	# link flags.
   15058 	rm -rf libconftest.dylib*
   15059 	echo "int foo(void){return 1;}" > conftest.c
   15060 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15061 -dynamiclib -Wl,-single_module conftest.c" >&5
   15062 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   15063 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   15064         _lt_result=$?
   15065 	# If there is a non-empty error log, and "single_module"
   15066 	# appears in it, assume the flag caused a linker warning
   15067         if test -s conftest.err && $GREP single_module conftest.err; then
   15068 	  cat conftest.err >&5
   15069 	# Otherwise, if the output was created with a 0 exit code from
   15070 	# the compiler, it worked.
   15071 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   15072 	  lt_cv_apple_cc_single_mod=yes
   15073 	else
   15074 	  cat conftest.err >&5
   15075 	fi
   15076 	rm -rf libconftest.dylib*
   15077 	rm -f conftest.*
   15078       fi
   15079 fi
   15080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   15081 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   15082 
   15083     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   15084 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   15085 if test ${lt_cv_ld_exported_symbols_list+y}
   15086 then :
   15087   printf %s "(cached) " >&6
   15088 else $as_nop
   15089   lt_cv_ld_exported_symbols_list=no
   15090       save_LDFLAGS=$LDFLAGS
   15091       echo "_main" > conftest.sym
   15092       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   15093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15094 /* end confdefs.h.  */
   15095 
   15096 int
   15097 main (void)
   15098 {
   15099 
   15100   ;
   15101   return 0;
   15102 }
   15103 _ACEOF
   15104 if ac_fn_c_try_link "$LINENO"
   15105 then :
   15106   lt_cv_ld_exported_symbols_list=yes
   15107 else $as_nop
   15108   lt_cv_ld_exported_symbols_list=no
   15109 fi
   15110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15111     conftest$ac_exeext conftest.$ac_ext
   15112 	LDFLAGS=$save_LDFLAGS
   15113 
   15114 fi
   15115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   15116 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   15117 
   15118     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   15119 printf %s "checking for -force_load linker flag... " >&6; }
   15120 if test ${lt_cv_ld_force_load+y}
   15121 then :
   15122   printf %s "(cached) " >&6
   15123 else $as_nop
   15124   lt_cv_ld_force_load=no
   15125       cat > conftest.c << _LT_EOF
   15126 int forced_loaded() { return 2;}
   15127 _LT_EOF
   15128       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   15129       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   15130       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   15131       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   15132       echo "$RANLIB libconftest.a" >&5
   15133       $RANLIB libconftest.a 2>&5
   15134       cat > conftest.c << _LT_EOF
   15135 int main() { return 0;}
   15136 _LT_EOF
   15137       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   15138       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   15139       _lt_result=$?
   15140       if test -s conftest.err && $GREP force_load conftest.err; then
   15141 	cat conftest.err >&5
   15142       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   15143 	lt_cv_ld_force_load=yes
   15144       else
   15145 	cat conftest.err >&5
   15146       fi
   15147         rm -f conftest.err libconftest.a conftest conftest.c
   15148         rm -rf conftest.dSYM
   15149 
   15150 fi
   15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   15152 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   15153     case $host_os in
   15154     rhapsody* | darwin1.[012])
   15155       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   15156     darwin1.*)
   15157       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15158     darwin*)
   15159       case $MACOSX_DEPLOYMENT_TARGET,$host in
   15160         10.[012],*|,*powerpc*-darwin[5-8]*)
   15161           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   15162         *)
   15163           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   15164       esac
   15165     ;;
   15166   esac
   15167     if test yes = "$lt_cv_apple_cc_single_mod"; then
   15168       _lt_dar_single_mod='$single_module'
   15169     fi
   15170     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   15171       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   15172     else
   15173       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   15174     fi
   15175     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   15176       _lt_dsymutil='~$DSYMUTIL $lib || :'
   15177     else
   15178       _lt_dsymutil=
   15179     fi
   15180     ;;
   15181   esac
   15182 
   15183 # func_munge_path_list VARIABLE PATH
   15184 # -----------------------------------
   15185 # VARIABLE is name of variable containing _space_ separated list of
   15186 # directories to be munged by the contents of PATH, which is string
   15187 # having a format:
   15188 # "DIR[:DIR]:"
   15189 #       string "DIR[ DIR]" will be prepended to VARIABLE
   15190 # ":DIR[:DIR]"
   15191 #       string "DIR[ DIR]" will be appended to VARIABLE
   15192 # "DIRP[:DIRP]::[DIRA:]DIRA"
   15193 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   15194 #       "DIRA[ DIRA]" will be appended to VARIABLE
   15195 # "DIR[:DIR]"
   15196 #       VARIABLE will be replaced by "DIR[ DIR]"
   15197 func_munge_path_list ()
   15198 {
   15199     case x$2 in
   15200     x)
   15201         ;;
   15202     *:)
   15203         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15204         ;;
   15205     x:*)
   15206         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15207         ;;
   15208     *::*)
   15209         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15210         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15211         ;;
   15212     *)
   15213         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15214         ;;
   15215     esac
   15216 }
   15217 
   15218 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15219 "
   15220 if test "x$ac_cv_header_dlfcn_h" = xyes
   15221 then :
   15222   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15223 
   15224 fi
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 # Set options
   15231 
   15232 
   15233 
   15234         enable_dlopen=no
   15235 
   15236 
   15237   enable_win32_dll=no
   15238 
   15239 
   15240             # Check whether --enable-shared was given.
   15241 if test ${enable_shared+y}
   15242 then :
   15243   enableval=$enable_shared; p=${PACKAGE-default}
   15244     case $enableval in
   15245     yes) enable_shared=yes ;;
   15246     no) enable_shared=no ;;
   15247     *)
   15248       enable_shared=no
   15249       # Look at the argument we got.  We use all the common list separators.
   15250       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15251       for pkg in $enableval; do
   15252 	IFS=$lt_save_ifs
   15253 	if test "X$pkg" = "X$p"; then
   15254 	  enable_shared=yes
   15255 	fi
   15256       done
   15257       IFS=$lt_save_ifs
   15258       ;;
   15259     esac
   15260 else $as_nop
   15261   enable_shared=yes
   15262 fi
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 # Check whether --with-pic was given.
   15275 if test ${with_pic+y}
   15276 then :
   15277   withval=$with_pic; lt_p=${PACKAGE-default}
   15278     case $withval in
   15279     yes|no) pic_mode=$withval ;;
   15280     *)
   15281       pic_mode=default
   15282       # Look at the argument we got.  We use all the common list separators.
   15283       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15284       for lt_pkg in $withval; do
   15285 	IFS=$lt_save_ifs
   15286 	if test "X$lt_pkg" = "X$lt_p"; then
   15287 	  pic_mode=yes
   15288 	fi
   15289       done
   15290       IFS=$lt_save_ifs
   15291       ;;
   15292     esac
   15293 else $as_nop
   15294   pic_mode=default
   15295 fi
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 
   15302 
   15303 
   15304   # Check whether --enable-fast-install was given.
   15305 if test ${enable_fast_install+y}
   15306 then :
   15307   enableval=$enable_fast_install; p=${PACKAGE-default}
   15308     case $enableval in
   15309     yes) enable_fast_install=yes ;;
   15310     no) enable_fast_install=no ;;
   15311     *)
   15312       enable_fast_install=no
   15313       # Look at the argument we got.  We use all the common list separators.
   15314       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15315       for pkg in $enableval; do
   15316 	IFS=$lt_save_ifs
   15317 	if test "X$pkg" = "X$p"; then
   15318 	  enable_fast_install=yes
   15319 	fi
   15320       done
   15321       IFS=$lt_save_ifs
   15322       ;;
   15323     esac
   15324 else $as_nop
   15325   enable_fast_install=yes
   15326 fi
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 
   15335   shared_archive_member_spec=
   15336 case $host,$enable_shared in
   15337 power*-*-aix[5-9]*,yes)
   15338   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15339 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15340 
   15341 # Check whether --with-aix-soname was given.
   15342 if test ${with_aix_soname+y}
   15343 then :
   15344   withval=$with_aix_soname; case $withval in
   15345     aix|svr4|both)
   15346       ;;
   15347     *)
   15348       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15349       ;;
   15350     esac
   15351     lt_cv_with_aix_soname=$with_aix_soname
   15352 else $as_nop
   15353   if test ${lt_cv_with_aix_soname+y}
   15354 then :
   15355   printf %s "(cached) " >&6
   15356 else $as_nop
   15357   lt_cv_with_aix_soname=aix
   15358 fi
   15359 
   15360     with_aix_soname=$lt_cv_with_aix_soname
   15361 fi
   15362 
   15363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15364 printf "%s\n" "$with_aix_soname" >&6; }
   15365   if test aix != "$with_aix_soname"; then
   15366     # For the AIX way of multilib, we name the shared archive member
   15367     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15368     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15369     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15370     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15371     if test 64 = "${OBJECT_MODE-32}"; then
   15372       shared_archive_member_spec=shr_64
   15373     else
   15374       shared_archive_member_spec=shr
   15375     fi
   15376   fi
   15377   ;;
   15378 *)
   15379   with_aix_soname=aix
   15380   ;;
   15381 esac
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 # This can be used to rebuild libtool when needed
   15393 LIBTOOL_DEPS=$ltmain
   15394 
   15395 # Always use our own libtool.
   15396 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 test -z "$LN_S" && LN_S="ln -s"
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 if test -n "${ZSH_VERSION+set}"; then
   15443    setopt NO_GLOB_SUBST
   15444 fi
   15445 
   15446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15447 printf %s "checking for objdir... " >&6; }
   15448 if test ${lt_cv_objdir+y}
   15449 then :
   15450   printf %s "(cached) " >&6
   15451 else $as_nop
   15452   rm -f .libs 2>/dev/null
   15453 mkdir .libs 2>/dev/null
   15454 if test -d .libs; then
   15455   lt_cv_objdir=.libs
   15456 else
   15457   # MS-DOS does not allow filenames that begin with a dot.
   15458   lt_cv_objdir=_libs
   15459 fi
   15460 rmdir .libs 2>/dev/null
   15461 fi
   15462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15463 printf "%s\n" "$lt_cv_objdir" >&6; }
   15464 objdir=$lt_cv_objdir
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15471 
   15472 
   15473 
   15474 
   15475 case $host_os in
   15476 aix3*)
   15477   # AIX sometimes has problems with the GCC collect2 program.  For some
   15478   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15479   # vanish in a puff of smoke.
   15480   if test set != "${COLLECT_NAMES+set}"; then
   15481     COLLECT_NAMES=
   15482     export COLLECT_NAMES
   15483   fi
   15484   ;;
   15485 esac
   15486 
   15487 # Global variables:
   15488 ofile=libtool
   15489 can_build_shared=yes
   15490 
   15491 # All known linkers require a '.a' archive for static linking (except MSVC and
   15492 # ICC, which need '.lib').
   15493 libext=a
   15494 
   15495 with_gnu_ld=$lt_cv_prog_gnu_ld
   15496 
   15497 old_CC=$CC
   15498 old_CFLAGS=$CFLAGS
   15499 
   15500 # Set sane defaults for various variables
   15501 test -z "$CC" && CC=cc
   15502 test -z "$LTCC" && LTCC=$CC
   15503 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15504 test -z "$LD" && LD=ld
   15505 test -z "$ac_objext" && ac_objext=o
   15506 
   15507 func_cc_basename $compiler
   15508 cc_basename=$func_cc_basename_result
   15509 
   15510 
   15511 # Only perform the check for file, if the check method requires it
   15512 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15513 case $deplibs_check_method in
   15514 file_magic*)
   15515   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15516     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15517 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15518 if test ${lt_cv_path_MAGIC_CMD+y}
   15519 then :
   15520   printf %s "(cached) " >&6
   15521 else $as_nop
   15522   case $MAGIC_CMD in
   15523 [\\/*] |  ?:[\\/]*)
   15524   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15525   ;;
   15526 *)
   15527   lt_save_MAGIC_CMD=$MAGIC_CMD
   15528   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15529   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15530   for ac_dir in $ac_dummy; do
   15531     IFS=$lt_save_ifs
   15532     test -z "$ac_dir" && ac_dir=.
   15533     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15534       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15535       if test -n "$file_magic_test_file"; then
   15536 	case $deplibs_check_method in
   15537 	"file_magic "*)
   15538 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15539 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15540 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15541 	    $EGREP "$file_magic_regex" > /dev/null; then
   15542 	    :
   15543 	  else
   15544 	    cat <<_LT_EOF 1>&2
   15545 
   15546 *** Warning: the command libtool uses to detect shared libraries,
   15547 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15548 *** The result is that libtool may fail to recognize shared libraries
   15549 *** as such.  This will affect the creation of libtool libraries that
   15550 *** depend on shared libraries, but programs linked with such libtool
   15551 *** libraries will work regardless of this problem.  Nevertheless, you
   15552 *** may want to report the problem to your system manager and/or to
   15553 *** bug-libtool@gnu.org
   15554 
   15555 _LT_EOF
   15556 	  fi ;;
   15557 	esac
   15558       fi
   15559       break
   15560     fi
   15561   done
   15562   IFS=$lt_save_ifs
   15563   MAGIC_CMD=$lt_save_MAGIC_CMD
   15564   ;;
   15565 esac
   15566 fi
   15567 
   15568 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15569 if test -n "$MAGIC_CMD"; then
   15570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15571 printf "%s\n" "$MAGIC_CMD" >&6; }
   15572 else
   15573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15574 printf "%s\n" "no" >&6; }
   15575 fi
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15582   if test -n "$ac_tool_prefix"; then
   15583     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15584 printf %s "checking for file... " >&6; }
   15585 if test ${lt_cv_path_MAGIC_CMD+y}
   15586 then :
   15587   printf %s "(cached) " >&6
   15588 else $as_nop
   15589   case $MAGIC_CMD in
   15590 [\\/*] |  ?:[\\/]*)
   15591   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15592   ;;
   15593 *)
   15594   lt_save_MAGIC_CMD=$MAGIC_CMD
   15595   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15596   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15597   for ac_dir in $ac_dummy; do
   15598     IFS=$lt_save_ifs
   15599     test -z "$ac_dir" && ac_dir=.
   15600     if test -f "$ac_dir/file"; then
   15601       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15602       if test -n "$file_magic_test_file"; then
   15603 	case $deplibs_check_method in
   15604 	"file_magic "*)
   15605 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15606 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15607 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15608 	    $EGREP "$file_magic_regex" > /dev/null; then
   15609 	    :
   15610 	  else
   15611 	    cat <<_LT_EOF 1>&2
   15612 
   15613 *** Warning: the command libtool uses to detect shared libraries,
   15614 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15615 *** The result is that libtool may fail to recognize shared libraries
   15616 *** as such.  This will affect the creation of libtool libraries that
   15617 *** depend on shared libraries, but programs linked with such libtool
   15618 *** libraries will work regardless of this problem.  Nevertheless, you
   15619 *** may want to report the problem to your system manager and/or to
   15620 *** bug-libtool@gnu.org
   15621 
   15622 _LT_EOF
   15623 	  fi ;;
   15624 	esac
   15625       fi
   15626       break
   15627     fi
   15628   done
   15629   IFS=$lt_save_ifs
   15630   MAGIC_CMD=$lt_save_MAGIC_CMD
   15631   ;;
   15632 esac
   15633 fi
   15634 
   15635 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15636 if test -n "$MAGIC_CMD"; then
   15637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15638 printf "%s\n" "$MAGIC_CMD" >&6; }
   15639 else
   15640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15641 printf "%s\n" "no" >&6; }
   15642 fi
   15643 
   15644 
   15645   else
   15646     MAGIC_CMD=:
   15647   fi
   15648 fi
   15649 
   15650   fi
   15651   ;;
   15652 esac
   15653 
   15654 # Use C for the default configuration in the libtool script
   15655 
   15656 lt_save_CC=$CC
   15657 ac_ext=c
   15658 ac_cpp='$CPP $CPPFLAGS'
   15659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15662 
   15663 
   15664 # Source file extension for C test sources.
   15665 ac_ext=c
   15666 
   15667 # Object file extension for compiled C test sources.
   15668 objext=o
   15669 objext=$objext
   15670 
   15671 # Code to be used in simple compile tests
   15672 lt_simple_compile_test_code="int some_variable = 0;"
   15673 
   15674 # Code to be used in simple link tests
   15675 lt_simple_link_test_code='int main(){return(0);}'
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 # If no C compiler was specified, use CC.
   15684 LTCC=${LTCC-"$CC"}
   15685 
   15686 # If no C compiler flags were specified, use CFLAGS.
   15687 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15688 
   15689 # Allow CC to be a program name with arguments.
   15690 compiler=$CC
   15691 
   15692 # Save the default compiler, since it gets overwritten when the other
   15693 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15694 compiler_DEFAULT=$CC
   15695 
   15696 # save warnings/boilerplate of simple test code
   15697 ac_outfile=conftest.$ac_objext
   15698 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15699 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15700 _lt_compiler_boilerplate=`cat conftest.err`
   15701 $RM conftest*
   15702 
   15703 ac_outfile=conftest.$ac_objext
   15704 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15705 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15706 _lt_linker_boilerplate=`cat conftest.err`
   15707 $RM -r conftest*
   15708 
   15709 
   15710 if test -n "$compiler"; then
   15711 
   15712 lt_prog_compiler_no_builtin_flag=
   15713 
   15714 if test yes = "$GCC"; then
   15715   case $cc_basename in
   15716   nvcc*)
   15717     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15718   *)
   15719     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15720   esac
   15721 
   15722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15723 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15724 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15725 then :
   15726   printf %s "(cached) " >&6
   15727 else $as_nop
   15728   lt_cv_prog_compiler_rtti_exceptions=no
   15729    ac_outfile=conftest.$ac_objext
   15730    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15731    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15732    # Insert the option either (1) after the last *FLAGS variable, or
   15733    # (2) before a word containing "conftest.", or (3) at the end.
   15734    # Note that $ac_compile itself does not contain backslashes and begins
   15735    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15736    # The option is referenced via a variable to avoid confusing sed.
   15737    lt_compile=`echo "$ac_compile" | $SED \
   15738    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15739    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15740    -e 's:$: $lt_compiler_flag:'`
   15741    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15742    (eval "$lt_compile" 2>conftest.err)
   15743    ac_status=$?
   15744    cat conftest.err >&5
   15745    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15746    if (exit $ac_status) && test -s "$ac_outfile"; then
   15747      # The compiler can only warn and ignore the option if not recognized
   15748      # So say no if there are warnings other than the usual output.
   15749      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15750      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15751      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15752        lt_cv_prog_compiler_rtti_exceptions=yes
   15753      fi
   15754    fi
   15755    $RM conftest*
   15756 
   15757 fi
   15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15759 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15760 
   15761 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15762     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15763 else
   15764     :
   15765 fi
   15766 
   15767 fi
   15768 
   15769 
   15770 
   15771 
   15772 
   15773 
   15774   lt_prog_compiler_wl=
   15775 lt_prog_compiler_pic=
   15776 lt_prog_compiler_static=
   15777 
   15778 
   15779   if test yes = "$GCC"; then
   15780     lt_prog_compiler_wl='-Wl,'
   15781     lt_prog_compiler_static='-static'
   15782 
   15783     case $host_os in
   15784       aix*)
   15785       # All AIX code is PIC.
   15786       if test ia64 = "$host_cpu"; then
   15787 	# AIX 5 now supports IA64 processor
   15788 	lt_prog_compiler_static='-Bstatic'
   15789       fi
   15790       lt_prog_compiler_pic='-fPIC'
   15791       ;;
   15792 
   15793     amigaos*)
   15794       case $host_cpu in
   15795       powerpc)
   15796             # see comment about AmigaOS4 .so support
   15797             lt_prog_compiler_pic='-fPIC'
   15798         ;;
   15799       m68k)
   15800             # FIXME: we need at least 68020 code to build shared libraries, but
   15801             # adding the '-m68020' flag to GCC prevents building anything better,
   15802             # like '-m68040'.
   15803             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15804         ;;
   15805       esac
   15806       ;;
   15807 
   15808     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15809       # PIC is the default for these OSes.
   15810       ;;
   15811 
   15812     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15813       # This hack is so that the source file can tell whether it is being
   15814       # built for inclusion in a dll (and should export symbols for example).
   15815       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15816       # (--disable-auto-import) libraries
   15817       lt_prog_compiler_pic='-DDLL_EXPORT'
   15818       case $host_os in
   15819       os2*)
   15820 	lt_prog_compiler_static='$wl-static'
   15821 	;;
   15822       esac
   15823       ;;
   15824 
   15825     darwin* | rhapsody*)
   15826       # PIC is the default on this platform
   15827       # Common symbols not allowed in MH_DYLIB files
   15828       lt_prog_compiler_pic='-fno-common'
   15829       ;;
   15830 
   15831     haiku*)
   15832       # PIC is the default for Haiku.
   15833       # The "-static" flag exists, but is broken.
   15834       lt_prog_compiler_static=
   15835       ;;
   15836 
   15837     hpux*)
   15838       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15839       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15840       # sets the default TLS model and affects inlining.
   15841       case $host_cpu in
   15842       hppa*64*)
   15843 	# +Z the default
   15844 	;;
   15845       *)
   15846 	lt_prog_compiler_pic='-fPIC'
   15847 	;;
   15848       esac
   15849       ;;
   15850 
   15851     interix[3-9]*)
   15852       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15853       # Instead, we relocate shared libraries at runtime.
   15854       ;;
   15855 
   15856     msdosdjgpp*)
   15857       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15858       # on systems that don't support them.
   15859       lt_prog_compiler_can_build_shared=no
   15860       enable_shared=no
   15861       ;;
   15862 
   15863     *nto* | *qnx*)
   15864       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15865       # it will coredump.
   15866       lt_prog_compiler_pic='-fPIC -shared'
   15867       ;;
   15868 
   15869     sysv4*MP*)
   15870       if test -d /usr/nec; then
   15871 	lt_prog_compiler_pic=-Kconform_pic
   15872       fi
   15873       ;;
   15874 
   15875     *)
   15876       lt_prog_compiler_pic='-fPIC'
   15877       ;;
   15878     esac
   15879 
   15880     case $cc_basename in
   15881     nvcc*) # Cuda Compiler Driver 2.2
   15882       lt_prog_compiler_wl='-Xlinker '
   15883       if test -n "$lt_prog_compiler_pic"; then
   15884         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15885       fi
   15886       ;;
   15887     esac
   15888   else
   15889     # PORTME Check for flag to pass linker flags through the system compiler.
   15890     case $host_os in
   15891     aix*)
   15892       lt_prog_compiler_wl='-Wl,'
   15893       if test ia64 = "$host_cpu"; then
   15894 	# AIX 5 now supports IA64 processor
   15895 	lt_prog_compiler_static='-Bstatic'
   15896       else
   15897 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15898       fi
   15899       ;;
   15900 
   15901     darwin* | rhapsody*)
   15902       # PIC is the default on this platform
   15903       # Common symbols not allowed in MH_DYLIB files
   15904       lt_prog_compiler_pic='-fno-common'
   15905       case $cc_basename in
   15906       nagfor*)
   15907         # NAG Fortran compiler
   15908         lt_prog_compiler_wl='-Wl,-Wl,,'
   15909         lt_prog_compiler_pic='-PIC'
   15910         lt_prog_compiler_static='-Bstatic'
   15911         ;;
   15912       esac
   15913       ;;
   15914 
   15915     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15916       # This hack is so that the source file can tell whether it is being
   15917       # built for inclusion in a dll (and should export symbols for example).
   15918       lt_prog_compiler_pic='-DDLL_EXPORT'
   15919       case $host_os in
   15920       os2*)
   15921 	lt_prog_compiler_static='$wl-static'
   15922 	;;
   15923       esac
   15924       ;;
   15925 
   15926     hpux9* | hpux10* | hpux11*)
   15927       lt_prog_compiler_wl='-Wl,'
   15928       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15929       # not for PA HP-UX.
   15930       case $host_cpu in
   15931       hppa*64*|ia64*)
   15932 	# +Z the default
   15933 	;;
   15934       *)
   15935 	lt_prog_compiler_pic='+Z'
   15936 	;;
   15937       esac
   15938       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15939       lt_prog_compiler_static='$wl-a ${wl}archive'
   15940       ;;
   15941 
   15942     irix5* | irix6* | nonstopux*)
   15943       lt_prog_compiler_wl='-Wl,'
   15944       # PIC (with -KPIC) is the default.
   15945       lt_prog_compiler_static='-non_shared'
   15946       ;;
   15947 
   15948     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15949       case $cc_basename in
   15950       # old Intel for x86_64, which still supported -KPIC.
   15951       ecc*)
   15952 	lt_prog_compiler_wl='-Wl,'
   15953 	lt_prog_compiler_pic='-KPIC'
   15954 	lt_prog_compiler_static='-static'
   15955         ;;
   15956       # icc used to be incompatible with GCC.
   15957       # ICC 10 doesn't accept -KPIC any more.
   15958       icc* | ifort*)
   15959 	lt_prog_compiler_wl='-Wl,'
   15960 	lt_prog_compiler_pic='-fPIC'
   15961 	lt_prog_compiler_static='-static'
   15962         ;;
   15963       # Lahey Fortran 8.1.
   15964       lf95*)
   15965 	lt_prog_compiler_wl='-Wl,'
   15966 	lt_prog_compiler_pic='--shared'
   15967 	lt_prog_compiler_static='--static'
   15968 	;;
   15969       nagfor*)
   15970 	# NAG Fortran compiler
   15971 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15972 	lt_prog_compiler_pic='-PIC'
   15973 	lt_prog_compiler_static='-Bstatic'
   15974 	;;
   15975       tcc*)
   15976 	# Fabrice Bellard et al's Tiny C Compiler
   15977 	lt_prog_compiler_wl='-Wl,'
   15978 	lt_prog_compiler_pic='-fPIC'
   15979 	lt_prog_compiler_static='-static'
   15980 	;;
   15981       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15982         # Portland Group compilers (*not* the Pentium gcc compiler,
   15983 	# which looks to be a dead project)
   15984 	lt_prog_compiler_wl='-Wl,'
   15985 	lt_prog_compiler_pic='-fpic'
   15986 	lt_prog_compiler_static='-Bstatic'
   15987         ;;
   15988       ccc*)
   15989         lt_prog_compiler_wl='-Wl,'
   15990         # All Alpha code is PIC.
   15991         lt_prog_compiler_static='-non_shared'
   15992         ;;
   15993       xl* | bgxl* | bgf* | mpixl*)
   15994 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15995 	lt_prog_compiler_wl='-Wl,'
   15996 	lt_prog_compiler_pic='-qpic'
   15997 	lt_prog_compiler_static='-qstaticlink'
   15998 	;;
   15999       *)
   16000 	case `$CC -V 2>&1 | $SED 5q` in
   16001 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   16002 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   16003 	  lt_prog_compiler_pic='-KPIC'
   16004 	  lt_prog_compiler_static='-Bstatic'
   16005 	  lt_prog_compiler_wl=''
   16006 	  ;;
   16007 	*Sun\ F* | *Sun*Fortran*)
   16008 	  lt_prog_compiler_pic='-KPIC'
   16009 	  lt_prog_compiler_static='-Bstatic'
   16010 	  lt_prog_compiler_wl='-Qoption ld '
   16011 	  ;;
   16012 	*Sun\ C*)
   16013 	  # Sun C 5.9
   16014 	  lt_prog_compiler_pic='-KPIC'
   16015 	  lt_prog_compiler_static='-Bstatic'
   16016 	  lt_prog_compiler_wl='-Wl,'
   16017 	  ;;
   16018         *Intel*\ [CF]*Compiler*)
   16019 	  lt_prog_compiler_wl='-Wl,'
   16020 	  lt_prog_compiler_pic='-fPIC'
   16021 	  lt_prog_compiler_static='-static'
   16022 	  ;;
   16023 	*Portland\ Group*)
   16024 	  lt_prog_compiler_wl='-Wl,'
   16025 	  lt_prog_compiler_pic='-fpic'
   16026 	  lt_prog_compiler_static='-Bstatic'
   16027 	  ;;
   16028 	esac
   16029 	;;
   16030       esac
   16031       ;;
   16032 
   16033     newsos6)
   16034       lt_prog_compiler_pic='-KPIC'
   16035       lt_prog_compiler_static='-Bstatic'
   16036       ;;
   16037 
   16038     *nto* | *qnx*)
   16039       # QNX uses GNU C++, but need to define -shared option too, otherwise
   16040       # it will coredump.
   16041       lt_prog_compiler_pic='-fPIC -shared'
   16042       ;;
   16043 
   16044     osf3* | osf4* | osf5*)
   16045       lt_prog_compiler_wl='-Wl,'
   16046       # All OSF/1 code is PIC.
   16047       lt_prog_compiler_static='-non_shared'
   16048       ;;
   16049 
   16050     rdos*)
   16051       lt_prog_compiler_static='-non_shared'
   16052       ;;
   16053 
   16054     solaris*)
   16055       lt_prog_compiler_pic='-KPIC'
   16056       lt_prog_compiler_static='-Bstatic'
   16057       case $cc_basename in
   16058       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   16059 	lt_prog_compiler_wl='-Qoption ld ';;
   16060       *)
   16061 	lt_prog_compiler_wl='-Wl,';;
   16062       esac
   16063       ;;
   16064 
   16065     sunos4*)
   16066       lt_prog_compiler_wl='-Qoption ld '
   16067       lt_prog_compiler_pic='-PIC'
   16068       lt_prog_compiler_static='-Bstatic'
   16069       ;;
   16070 
   16071     sysv4 | sysv4.2uw2* | sysv4.3*)
   16072       lt_prog_compiler_wl='-Wl,'
   16073       lt_prog_compiler_pic='-KPIC'
   16074       lt_prog_compiler_static='-Bstatic'
   16075       ;;
   16076 
   16077     sysv4*MP*)
   16078       if test -d /usr/nec; then
   16079 	lt_prog_compiler_pic='-Kconform_pic'
   16080 	lt_prog_compiler_static='-Bstatic'
   16081       fi
   16082       ;;
   16083 
   16084     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   16085       lt_prog_compiler_wl='-Wl,'
   16086       lt_prog_compiler_pic='-KPIC'
   16087       lt_prog_compiler_static='-Bstatic'
   16088       ;;
   16089 
   16090     unicos*)
   16091       lt_prog_compiler_wl='-Wl,'
   16092       lt_prog_compiler_can_build_shared=no
   16093       ;;
   16094 
   16095     uts4*)
   16096       lt_prog_compiler_pic='-pic'
   16097       lt_prog_compiler_static='-Bstatic'
   16098       ;;
   16099 
   16100     *)
   16101       lt_prog_compiler_can_build_shared=no
   16102       ;;
   16103     esac
   16104   fi
   16105 
   16106 case $host_os in
   16107   # For platforms that do not support PIC, -DPIC is meaningless:
   16108   *djgpp*)
   16109     lt_prog_compiler_pic=
   16110     ;;
   16111   *)
   16112     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   16113     ;;
   16114 esac
   16115 
   16116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   16117 printf %s "checking for $compiler option to produce PIC... " >&6; }
   16118 if test ${lt_cv_prog_compiler_pic+y}
   16119 then :
   16120   printf %s "(cached) " >&6
   16121 else $as_nop
   16122   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   16123 fi
   16124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   16125 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   16126 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   16127 
   16128 #
   16129 # Check to make sure the PIC flag actually works.
   16130 #
   16131 if test -n "$lt_prog_compiler_pic"; then
   16132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   16133 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   16134 if test ${lt_cv_prog_compiler_pic_works+y}
   16135 then :
   16136   printf %s "(cached) " >&6
   16137 else $as_nop
   16138   lt_cv_prog_compiler_pic_works=no
   16139    ac_outfile=conftest.$ac_objext
   16140    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16141    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   16142    # Insert the option either (1) after the last *FLAGS variable, or
   16143    # (2) before a word containing "conftest.", or (3) at the end.
   16144    # Note that $ac_compile itself does not contain backslashes and begins
   16145    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16146    # The option is referenced via a variable to avoid confusing sed.
   16147    lt_compile=`echo "$ac_compile" | $SED \
   16148    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16149    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16150    -e 's:$: $lt_compiler_flag:'`
   16151    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16152    (eval "$lt_compile" 2>conftest.err)
   16153    ac_status=$?
   16154    cat conftest.err >&5
   16155    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16156    if (exit $ac_status) && test -s "$ac_outfile"; then
   16157      # The compiler can only warn and ignore the option if not recognized
   16158      # So say no if there are warnings other than the usual output.
   16159      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   16160      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16161      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16162        lt_cv_prog_compiler_pic_works=yes
   16163      fi
   16164    fi
   16165    $RM conftest*
   16166 
   16167 fi
   16168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   16169 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   16170 
   16171 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   16172     case $lt_prog_compiler_pic in
   16173      "" | " "*) ;;
   16174      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   16175      esac
   16176 else
   16177     lt_prog_compiler_pic=
   16178      lt_prog_compiler_can_build_shared=no
   16179 fi
   16180 
   16181 fi
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 #
   16194 # Check to make sure the static flag actually works.
   16195 #
   16196 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   16197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   16198 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   16199 if test ${lt_cv_prog_compiler_static_works+y}
   16200 then :
   16201   printf %s "(cached) " >&6
   16202 else $as_nop
   16203   lt_cv_prog_compiler_static_works=no
   16204    save_LDFLAGS=$LDFLAGS
   16205    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16206    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16207    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16208      # The linker can only warn and ignore the option if not recognized
   16209      # So say no if there are warnings
   16210      if test -s conftest.err; then
   16211        # Append any errors to the config.log.
   16212        cat conftest.err 1>&5
   16213        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16214        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16215        if diff conftest.exp conftest.er2 >/dev/null; then
   16216          lt_cv_prog_compiler_static_works=yes
   16217        fi
   16218      else
   16219        lt_cv_prog_compiler_static_works=yes
   16220      fi
   16221    fi
   16222    $RM -r conftest*
   16223    LDFLAGS=$save_LDFLAGS
   16224 
   16225 fi
   16226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16227 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16228 
   16229 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16230     :
   16231 else
   16232     lt_prog_compiler_static=
   16233 fi
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16242 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16243 if test ${lt_cv_prog_compiler_c_o+y}
   16244 then :
   16245   printf %s "(cached) " >&6
   16246 else $as_nop
   16247   lt_cv_prog_compiler_c_o=no
   16248    $RM -r conftest 2>/dev/null
   16249    mkdir conftest
   16250    cd conftest
   16251    mkdir out
   16252    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16253 
   16254    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16255    # Insert the option either (1) after the last *FLAGS variable, or
   16256    # (2) before a word containing "conftest.", or (3) at the end.
   16257    # Note that $ac_compile itself does not contain backslashes and begins
   16258    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16259    lt_compile=`echo "$ac_compile" | $SED \
   16260    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16261    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16262    -e 's:$: $lt_compiler_flag:'`
   16263    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16264    (eval "$lt_compile" 2>out/conftest.err)
   16265    ac_status=$?
   16266    cat out/conftest.err >&5
   16267    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16268    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16269    then
   16270      # The compiler can only warn and ignore the option if not recognized
   16271      # So say no if there are warnings
   16272      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16273      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16274      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16275        lt_cv_prog_compiler_c_o=yes
   16276      fi
   16277    fi
   16278    chmod u+w . 2>&5
   16279    $RM conftest*
   16280    # SGI C++ compiler will create directory out/ii_files/ for
   16281    # template instantiation
   16282    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16283    $RM out/* && rmdir out
   16284    cd ..
   16285    $RM -r conftest
   16286    $RM conftest*
   16287 
   16288 fi
   16289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16290 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16298 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16299 if test ${lt_cv_prog_compiler_c_o+y}
   16300 then :
   16301   printf %s "(cached) " >&6
   16302 else $as_nop
   16303   lt_cv_prog_compiler_c_o=no
   16304    $RM -r conftest 2>/dev/null
   16305    mkdir conftest
   16306    cd conftest
   16307    mkdir out
   16308    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16309 
   16310    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16311    # Insert the option either (1) after the last *FLAGS variable, or
   16312    # (2) before a word containing "conftest.", or (3) at the end.
   16313    # Note that $ac_compile itself does not contain backslashes and begins
   16314    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16315    lt_compile=`echo "$ac_compile" | $SED \
   16316    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16317    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16318    -e 's:$: $lt_compiler_flag:'`
   16319    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16320    (eval "$lt_compile" 2>out/conftest.err)
   16321    ac_status=$?
   16322    cat out/conftest.err >&5
   16323    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16324    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16325    then
   16326      # The compiler can only warn and ignore the option if not recognized
   16327      # So say no if there are warnings
   16328      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16329      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16330      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16331        lt_cv_prog_compiler_c_o=yes
   16332      fi
   16333    fi
   16334    chmod u+w . 2>&5
   16335    $RM conftest*
   16336    # SGI C++ compiler will create directory out/ii_files/ for
   16337    # template instantiation
   16338    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16339    $RM out/* && rmdir out
   16340    cd ..
   16341    $RM -r conftest
   16342    $RM conftest*
   16343 
   16344 fi
   16345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16346 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16347 
   16348 
   16349 
   16350 
   16351 hard_links=nottested
   16352 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16353   # do not overwrite the value of need_locks provided by the user
   16354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16355 printf %s "checking if we can lock with hard links... " >&6; }
   16356   hard_links=yes
   16357   $RM conftest*
   16358   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16359   touch conftest.a
   16360   ln conftest.a conftest.b 2>&5 || hard_links=no
   16361   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16363 printf "%s\n" "$hard_links" >&6; }
   16364   if test no = "$hard_links"; then
   16365     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16366 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16367     need_locks=warn
   16368   fi
   16369 else
   16370   need_locks=no
   16371 fi
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16379 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16380 
   16381   runpath_var=
   16382   allow_undefined_flag=
   16383   always_export_symbols=no
   16384   archive_cmds=
   16385   archive_expsym_cmds=
   16386   compiler_needs_object=no
   16387   enable_shared_with_static_runtimes=no
   16388   export_dynamic_flag_spec=
   16389   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16390   hardcode_automatic=no
   16391   hardcode_direct=no
   16392   hardcode_direct_absolute=no
   16393   hardcode_libdir_flag_spec=
   16394   hardcode_libdir_separator=
   16395   hardcode_minus_L=no
   16396   hardcode_shlibpath_var=unsupported
   16397   inherit_rpath=no
   16398   link_all_deplibs=unknown
   16399   module_cmds=
   16400   module_expsym_cmds=
   16401   old_archive_from_new_cmds=
   16402   old_archive_from_expsyms_cmds=
   16403   thread_safe_flag_spec=
   16404   whole_archive_flag_spec=
   16405   # include_expsyms should be a list of space-separated symbols to be *always*
   16406   # included in the symbol list
   16407   include_expsyms=
   16408   # exclude_expsyms can be an extended regexp of symbols to exclude
   16409   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16410   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16411   # as well as any symbol that contains 'd'.
   16412   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16413   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16414   # platforms (ab)use it in PIC code, but their linkers get confused if
   16415   # the symbol is explicitly referenced.  Since portable code cannot
   16416   # rely on this symbol name, it's probably fine to never include it in
   16417   # preloaded symbol tables.
   16418   # Exclude shared library initialization/finalization symbols.
   16419   extract_expsyms_cmds=
   16420 
   16421   case $host_os in
   16422   cygwin* | mingw* | pw32* | cegcc*)
   16423     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16424     # When not using gcc, we currently assume that we are using
   16425     # Microsoft Visual C++ or Intel C++ Compiler.
   16426     if test yes != "$GCC"; then
   16427       with_gnu_ld=no
   16428     fi
   16429     ;;
   16430   interix*)
   16431     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16432     with_gnu_ld=yes
   16433     ;;
   16434   openbsd* | bitrig*)
   16435     with_gnu_ld=no
   16436     ;;
   16437   esac
   16438 
   16439   ld_shlibs=yes
   16440 
   16441   # On some targets, GNU ld is compatible enough with the native linker
   16442   # that we're better off using the native interface for both.
   16443   lt_use_gnu_ld_interface=no
   16444   if test yes = "$with_gnu_ld"; then
   16445     case $host_os in
   16446       aix*)
   16447 	# The AIX port of GNU ld has always aspired to compatibility
   16448 	# with the native linker.  However, as the warning in the GNU ld
   16449 	# block says, versions before 2.19.5* couldn't really create working
   16450 	# shared libraries, regardless of the interface used.
   16451 	case `$LD -v 2>&1` in
   16452 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16453 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16454 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16455 	  *)
   16456 	    lt_use_gnu_ld_interface=yes
   16457 	    ;;
   16458 	esac
   16459 	;;
   16460       *)
   16461 	lt_use_gnu_ld_interface=yes
   16462 	;;
   16463     esac
   16464   fi
   16465 
   16466   if test yes = "$lt_use_gnu_ld_interface"; then
   16467     # If archive_cmds runs LD, not CC, wlarc should be empty
   16468     wlarc='$wl'
   16469 
   16470     # Set some defaults for GNU ld with shared library support. These
   16471     # are reset later if shared libraries are not supported. Putting them
   16472     # here allows them to be overridden if necessary.
   16473     runpath_var=LD_RUN_PATH
   16474     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16475     export_dynamic_flag_spec='$wl--export-dynamic'
   16476     # ancient GNU ld didn't support --whole-archive et. al.
   16477     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16478       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16479     else
   16480       whole_archive_flag_spec=
   16481     fi
   16482     supports_anon_versioning=no
   16483     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16484       *GNU\ gold*) supports_anon_versioning=yes ;;
   16485       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16486       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16487       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16488       *\ 2.11.*) ;; # other 2.11 versions
   16489       *) supports_anon_versioning=yes ;;
   16490     esac
   16491 
   16492     # See if GNU ld supports shared libraries.
   16493     case $host_os in
   16494     aix[3-9]*)
   16495       # On AIX/PPC, the GNU linker is very broken
   16496       if test ia64 != "$host_cpu"; then
   16497 	ld_shlibs=no
   16498 	cat <<_LT_EOF 1>&2
   16499 
   16500 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16501 *** to be unable to reliably create shared libraries on AIX.
   16502 *** Therefore, libtool is disabling shared libraries support.  If you
   16503 *** really care for shared libraries, you may want to install binutils
   16504 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16505 *** You will then need to restart the configuration process.
   16506 
   16507 _LT_EOF
   16508       fi
   16509       ;;
   16510 
   16511     amigaos*)
   16512       case $host_cpu in
   16513       powerpc)
   16514             # see comment about AmigaOS4 .so support
   16515             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16516             archive_expsym_cmds=''
   16517         ;;
   16518       m68k)
   16519             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)'
   16520             hardcode_libdir_flag_spec='-L$libdir'
   16521             hardcode_minus_L=yes
   16522         ;;
   16523       esac
   16524       ;;
   16525 
   16526     beos*)
   16527       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16528 	allow_undefined_flag=unsupported
   16529 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16530 	# support --undefined.  This deserves some investigation.  FIXME
   16531 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16532       else
   16533 	ld_shlibs=no
   16534       fi
   16535       ;;
   16536 
   16537     cygwin* | mingw* | pw32* | cegcc*)
   16538       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16539       # as there is no search path for DLLs.
   16540       hardcode_libdir_flag_spec='-L$libdir'
   16541       export_dynamic_flag_spec='$wl--export-all-symbols'
   16542       allow_undefined_flag=unsupported
   16543       always_export_symbols=no
   16544       enable_shared_with_static_runtimes=yes
   16545       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'
   16546       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16547 
   16548       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16549         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16550 	# If the export-symbols file already is a .def file, use it as
   16551 	# is; otherwise, prepend EXPORTS...
   16552 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16553           cp $export_symbols $output_objdir/$soname.def;
   16554         else
   16555           echo EXPORTS > $output_objdir/$soname.def;
   16556           cat $export_symbols >> $output_objdir/$soname.def;
   16557         fi~
   16558         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16559       else
   16560 	ld_shlibs=no
   16561       fi
   16562       ;;
   16563 
   16564     haiku*)
   16565       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16566       link_all_deplibs=yes
   16567       ;;
   16568 
   16569     os2*)
   16570       hardcode_libdir_flag_spec='-L$libdir'
   16571       hardcode_minus_L=yes
   16572       allow_undefined_flag=unsupported
   16573       shrext_cmds=.dll
   16574       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16575 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16576 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16577 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16578 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16579 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16580 	emximp -o $lib $output_objdir/$libname.def'
   16581       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16582 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16583 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16584 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16585 	prefix_cmds="$SED"~
   16586 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16587 	  prefix_cmds="$prefix_cmds -e 1d";
   16588 	fi~
   16589 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16590 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16591 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16592 	emximp -o $lib $output_objdir/$libname.def'
   16593       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16594       enable_shared_with_static_runtimes=yes
   16595       file_list_spec='@'
   16596       ;;
   16597 
   16598     interix[3-9]*)
   16599       hardcode_direct=no
   16600       hardcode_shlibpath_var=no
   16601       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16602       export_dynamic_flag_spec='$wl-E'
   16603       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16604       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16605       # default) and relocated if they conflict, which is a slow very memory
   16606       # consuming and fragmenting process.  To avoid this, we pick a random,
   16607       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16608       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16609       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16610       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'
   16611       ;;
   16612 
   16613     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16614       tmp_diet=no
   16615       if test linux-dietlibc = "$host_os"; then
   16616 	case $cc_basename in
   16617 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16618 	esac
   16619       fi
   16620       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16621 	 && test no = "$tmp_diet"
   16622       then
   16623 	tmp_addflag=' $pic_flag'
   16624 	tmp_sharedflag='-shared'
   16625 	case $cc_basename,$host_cpu in
   16626         pgcc*)				# Portland Group C compiler
   16627 	  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'
   16628 	  tmp_addflag=' $pic_flag'
   16629 	  ;;
   16630 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16631 					# Portland Group f77 and f90 compilers
   16632 	  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'
   16633 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16634 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16635 	  tmp_addflag=' -i_dynamic' ;;
   16636 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16637 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16638 	ifc* | ifort*)			# Intel Fortran compiler
   16639 	  tmp_addflag=' -nofor_main' ;;
   16640 	lf95*)				# Lahey Fortran 8.1
   16641 	  whole_archive_flag_spec=
   16642 	  tmp_sharedflag='--shared' ;;
   16643         nagfor*)                        # NAGFOR 5.3
   16644           tmp_sharedflag='-Wl,-shared' ;;
   16645 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16646 	  tmp_sharedflag='-qmkshrobj'
   16647 	  tmp_addflag= ;;
   16648 	nvcc*)	# Cuda Compiler Driver 2.2
   16649 	  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'
   16650 	  compiler_needs_object=yes
   16651 	  ;;
   16652 	esac
   16653 	case `$CC -V 2>&1 | $SED 5q` in
   16654 	*Sun\ C*)			# Sun C 5.9
   16655 	  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'
   16656 	  compiler_needs_object=yes
   16657 	  tmp_sharedflag='-G' ;;
   16658 	*Sun\ F*)			# Sun Fortran 8.3
   16659 	  tmp_sharedflag='-G' ;;
   16660 	esac
   16661 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16662 
   16663         if test yes = "$supports_anon_versioning"; then
   16664           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16665             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16666             echo "local: *; };" >> $output_objdir/$libname.ver~
   16667             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16668         fi
   16669 
   16670 	case $cc_basename in
   16671 	tcc*)
   16672 	  export_dynamic_flag_spec='-rdynamic'
   16673 	  ;;
   16674 	xlf* | bgf* | bgxlf* | mpixlf*)
   16675 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16676 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16677 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16678 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16679 	  if test yes = "$supports_anon_versioning"; then
   16680 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16681               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16682               echo "local: *; };" >> $output_objdir/$libname.ver~
   16683               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16684 	  fi
   16685 	  ;;
   16686 	esac
   16687       else
   16688         ld_shlibs=no
   16689       fi
   16690       ;;
   16691 
   16692     netbsd*)
   16693       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16694 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16695 	wlarc=
   16696       else
   16697 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16698 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16699       fi
   16700       ;;
   16701 
   16702     solaris*)
   16703       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16704 	ld_shlibs=no
   16705 	cat <<_LT_EOF 1>&2
   16706 
   16707 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16708 *** create shared libraries on Solaris systems.  Therefore, libtool
   16709 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16710 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16711 *** your PATH or compiler configuration so that the native linker is
   16712 *** used, and then restart.
   16713 
   16714 _LT_EOF
   16715       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16716 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16717 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16718       else
   16719 	ld_shlibs=no
   16720       fi
   16721       ;;
   16722 
   16723     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16724       case `$LD -v 2>&1` in
   16725         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16726 	ld_shlibs=no
   16727 	cat <<_LT_EOF 1>&2
   16728 
   16729 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16730 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16731 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16732 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16733 *** your PATH or compiler configuration so that the native linker is
   16734 *** used, and then restart.
   16735 
   16736 _LT_EOF
   16737 	;;
   16738 	*)
   16739 	  # For security reasons, it is highly recommended that you always
   16740 	  # use absolute paths for naming shared libraries, and exclude the
   16741 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16742 	  # requires that you compile everything twice, which is a pain.
   16743 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16744 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16745 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16746 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16747 	  else
   16748 	    ld_shlibs=no
   16749 	  fi
   16750 	;;
   16751       esac
   16752       ;;
   16753 
   16754     sunos4*)
   16755       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16756       wlarc=
   16757       hardcode_direct=yes
   16758       hardcode_shlibpath_var=no
   16759       ;;
   16760 
   16761     *)
   16762       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16763 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16764 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16765       else
   16766 	ld_shlibs=no
   16767       fi
   16768       ;;
   16769     esac
   16770 
   16771     if test no = "$ld_shlibs"; then
   16772       runpath_var=
   16773       hardcode_libdir_flag_spec=
   16774       export_dynamic_flag_spec=
   16775       whole_archive_flag_spec=
   16776     fi
   16777   else
   16778     # PORTME fill in a description of your system's linker (not GNU ld)
   16779     case $host_os in
   16780     aix3*)
   16781       allow_undefined_flag=unsupported
   16782       always_export_symbols=yes
   16783       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'
   16784       # Note: this linker hardcodes the directories in LIBPATH if there
   16785       # are no directories specified by -L.
   16786       hardcode_minus_L=yes
   16787       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16788 	# Neither direct hardcoding nor static linking is supported with a
   16789 	# broken collect2.
   16790 	hardcode_direct=unsupported
   16791       fi
   16792       ;;
   16793 
   16794     aix[4-9]*)
   16795       if test ia64 = "$host_cpu"; then
   16796 	# On IA64, the linker does run time linking by default, so we don't
   16797 	# have to do anything special.
   16798 	aix_use_runtimelinking=no
   16799 	exp_sym_flag='-Bexport'
   16800 	no_entry_flag=
   16801       else
   16802 	# If we're using GNU nm, then we don't want the "-C" option.
   16803 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16804 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16805 	# weak defined symbols like other global defined symbols, whereas
   16806 	# GNU nm marks them as "W".
   16807 	# While the 'weak' keyword is ignored in the Export File, we need
   16808 	# it in the Import File for the 'aix-soname' feature, so we have
   16809 	# to replace the "-B" option with "-P" for AIX nm.
   16810 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16811 	  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'
   16812 	else
   16813 	  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 == "L") || (\$ 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'
   16814 	fi
   16815 	aix_use_runtimelinking=no
   16816 
   16817 	# Test if we are trying to use run time linking or normal
   16818 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16819 	# have runtime linking enabled, and use it for executables.
   16820 	# For shared libraries, we enable/disable runtime linking
   16821 	# depending on the kind of the shared library created -
   16822 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16823 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16824 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16825 	#            lib.a           static archive
   16826 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16827 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16828 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16829 	#            lib.a(lib.so.V) shared, rtl:no
   16830 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16831 	#            lib.a           static archive
   16832 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16833 	  for ld_flag in $LDFLAGS; do
   16834 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16835 	    aix_use_runtimelinking=yes
   16836 	    break
   16837 	  fi
   16838 	  done
   16839 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16840 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16841 	    # so we don't have lib.a shared libs to link our executables.
   16842 	    # We have to force runtime linking in this case.
   16843 	    aix_use_runtimelinking=yes
   16844 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16845 	  fi
   16846 	  ;;
   16847 	esac
   16848 
   16849 	exp_sym_flag='-bexport'
   16850 	no_entry_flag='-bnoentry'
   16851       fi
   16852 
   16853       # When large executables or shared objects are built, AIX ld can
   16854       # have problems creating the table of contents.  If linking a library
   16855       # or program results in "error TOC overflow" add -mminimal-toc to
   16856       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16857       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16858 
   16859       archive_cmds=''
   16860       hardcode_direct=yes
   16861       hardcode_direct_absolute=yes
   16862       hardcode_libdir_separator=':'
   16863       link_all_deplibs=yes
   16864       file_list_spec='$wl-f,'
   16865       case $with_aix_soname,$aix_use_runtimelinking in
   16866       aix,*) ;; # traditional, no import file
   16867       svr4,* | *,yes) # use import file
   16868 	# The Import File defines what to hardcode.
   16869 	hardcode_direct=no
   16870 	hardcode_direct_absolute=no
   16871 	;;
   16872       esac
   16873 
   16874       if test yes = "$GCC"; then
   16875 	case $host_os in aix4.[012]|aix4.[012].*)
   16876 	# We only want to do this on AIX 4.2 and lower, the check
   16877 	# below for broken collect2 doesn't work under 4.3+
   16878 	  collect2name=`$CC -print-prog-name=collect2`
   16879 	  if test -f "$collect2name" &&
   16880 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16881 	  then
   16882 	  # We have reworked collect2
   16883 	  :
   16884 	  else
   16885 	  # We have old collect2
   16886 	  hardcode_direct=unsupported
   16887 	  # It fails to find uninstalled libraries when the uninstalled
   16888 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16889 	  # to unsupported forces relinking
   16890 	  hardcode_minus_L=yes
   16891 	  hardcode_libdir_flag_spec='-L$libdir'
   16892 	  hardcode_libdir_separator=
   16893 	  fi
   16894 	  ;;
   16895 	esac
   16896 	shared_flag='-shared'
   16897 	if test yes = "$aix_use_runtimelinking"; then
   16898 	  shared_flag="$shared_flag "'$wl-G'
   16899 	fi
   16900 	# Need to ensure runtime linking is disabled for the traditional
   16901 	# shared library, or the linker may eventually find shared libraries
   16902 	# /with/ Import File - we do not want to mix them.
   16903 	shared_flag_aix='-shared'
   16904 	shared_flag_svr4='-shared $wl-G'
   16905       else
   16906 	# not using gcc
   16907 	if test ia64 = "$host_cpu"; then
   16908 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16909 	# chokes on -Wl,-G. The following line is correct:
   16910 	  shared_flag='-G'
   16911 	else
   16912 	  if test yes = "$aix_use_runtimelinking"; then
   16913 	    shared_flag='$wl-G'
   16914 	  else
   16915 	    shared_flag='$wl-bM:SRE'
   16916 	  fi
   16917 	  shared_flag_aix='$wl-bM:SRE'
   16918 	  shared_flag_svr4='$wl-G'
   16919 	fi
   16920       fi
   16921 
   16922       export_dynamic_flag_spec='$wl-bexpall'
   16923       # It seems that -bexpall does not export symbols beginning with
   16924       # underscore (_), so it is better to generate a list of symbols to export.
   16925       always_export_symbols=yes
   16926       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16927 	# Warning - without using the other runtime loading flags (-brtl),
   16928 	# -berok will link without error, but may produce a broken library.
   16929 	allow_undefined_flag='-berok'
   16930         # Determine the default libpath from the value encoded in an
   16931         # empty executable.
   16932         if test set = "${lt_cv_aix_libpath+set}"; then
   16933   aix_libpath=$lt_cv_aix_libpath
   16934 else
   16935   if test ${lt_cv_aix_libpath_+y}
   16936 then :
   16937   printf %s "(cached) " >&6
   16938 else $as_nop
   16939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16940 /* end confdefs.h.  */
   16941 
   16942 int
   16943 main (void)
   16944 {
   16945 
   16946   ;
   16947   return 0;
   16948 }
   16949 _ACEOF
   16950 if ac_fn_c_try_link "$LINENO"
   16951 then :
   16952 
   16953   lt_aix_libpath_sed='
   16954       /Import File Strings/,/^$/ {
   16955 	  /^0/ {
   16956 	      s/^0  *\([^ ]*\) *$/\1/
   16957 	      p
   16958 	  }
   16959       }'
   16960   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16961   # Check for a 64-bit object if we didn't find anything.
   16962   if test -z "$lt_cv_aix_libpath_"; then
   16963     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16964   fi
   16965 fi
   16966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16967     conftest$ac_exeext conftest.$ac_ext
   16968   if test -z "$lt_cv_aix_libpath_"; then
   16969     lt_cv_aix_libpath_=/usr/lib:/lib
   16970   fi
   16971 
   16972 fi
   16973 
   16974   aix_libpath=$lt_cv_aix_libpath_
   16975 fi
   16976 
   16977         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16978         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
   16979       else
   16980 	if test ia64 = "$host_cpu"; then
   16981 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16982 	  allow_undefined_flag="-z nodefs"
   16983 	  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"
   16984 	else
   16985 	 # Determine the default libpath from the value encoded in an
   16986 	 # empty executable.
   16987 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16988   aix_libpath=$lt_cv_aix_libpath
   16989 else
   16990   if test ${lt_cv_aix_libpath_+y}
   16991 then :
   16992   printf %s "(cached) " >&6
   16993 else $as_nop
   16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16995 /* end confdefs.h.  */
   16996 
   16997 int
   16998 main (void)
   16999 {
   17000 
   17001   ;
   17002   return 0;
   17003 }
   17004 _ACEOF
   17005 if ac_fn_c_try_link "$LINENO"
   17006 then :
   17007 
   17008   lt_aix_libpath_sed='
   17009       /Import File Strings/,/^$/ {
   17010 	  /^0/ {
   17011 	      s/^0  *\([^ ]*\) *$/\1/
   17012 	      p
   17013 	  }
   17014       }'
   17015   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17016   # Check for a 64-bit object if we didn't find anything.
   17017   if test -z "$lt_cv_aix_libpath_"; then
   17018     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17019   fi
   17020 fi
   17021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17022     conftest$ac_exeext conftest.$ac_ext
   17023   if test -z "$lt_cv_aix_libpath_"; then
   17024     lt_cv_aix_libpath_=/usr/lib:/lib
   17025   fi
   17026 
   17027 fi
   17028 
   17029   aix_libpath=$lt_cv_aix_libpath_
   17030 fi
   17031 
   17032 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   17033 	  # Warning - without using the other run time loading flags,
   17034 	  # -berok will link without error, but may produce a broken library.
   17035 	  no_undefined_flag=' $wl-bernotok'
   17036 	  allow_undefined_flag=' $wl-berok'
   17037 	  if test yes = "$with_gnu_ld"; then
   17038 	    # We only use this code for GNU lds that support --whole-archive.
   17039 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   17040 	  else
   17041 	    # Exported symbols can be pulled into shared objects from archives
   17042 	    whole_archive_flag_spec='$convenience'
   17043 	  fi
   17044 	  archive_cmds_need_lc=yes
   17045 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   17046 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   17047 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   17048 	  if test svr4 != "$with_aix_soname"; then
   17049 	    # This is similar to how AIX traditionally builds its shared libraries.
   17050 	    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'
   17051 	  fi
   17052 	  if test aix != "$with_aix_soname"; then
   17053 	    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'
   17054 	  else
   17055 	    # used by -dlpreopen to get the symbols
   17056 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   17057 	  fi
   17058 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   17059 	fi
   17060       fi
   17061       ;;
   17062 
   17063     amigaos*)
   17064       case $host_cpu in
   17065       powerpc)
   17066             # see comment about AmigaOS4 .so support
   17067             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   17068             archive_expsym_cmds=''
   17069         ;;
   17070       m68k)
   17071             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)'
   17072             hardcode_libdir_flag_spec='-L$libdir'
   17073             hardcode_minus_L=yes
   17074         ;;
   17075       esac
   17076       ;;
   17077 
   17078     bsdi[45]*)
   17079       export_dynamic_flag_spec=-rdynamic
   17080       ;;
   17081 
   17082     cygwin* | mingw* | pw32* | cegcc*)
   17083       # When not using gcc, we currently assume that we are using
   17084       # Microsoft Visual C++ or Intel C++ Compiler.
   17085       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17086       # no search path for DLLs.
   17087       case $cc_basename in
   17088       cl* | icl*)
   17089 	# Native MSVC or ICC
   17090 	hardcode_libdir_flag_spec=' '
   17091 	allow_undefined_flag=unsupported
   17092 	always_export_symbols=yes
   17093 	file_list_spec='@'
   17094 	# Tell ltmain to make .lib files, not .a files.
   17095 	libext=lib
   17096 	# Tell ltmain to make .dll files, not .so files.
   17097 	shrext_cmds=.dll
   17098 	# FIXME: Setting linknames here is a bad hack.
   17099 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   17100 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   17101             cp "$export_symbols" "$output_objdir/$soname.def";
   17102             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   17103           else
   17104             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   17105           fi~
   17106           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   17107           linknames='
   17108 	# The linker will not automatically build a static lib if we build a DLL.
   17109 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   17110 	enable_shared_with_static_runtimes=yes
   17111 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   17112 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17113 	# Don't use ranlib
   17114 	old_postinstall_cmds='chmod 644 $oldlib'
   17115 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   17116           lt_tool_outputfile="@TOOL_OUTPUT@"~
   17117           case $lt_outputfile in
   17118             *.exe|*.EXE) ;;
   17119             *)
   17120               lt_outputfile=$lt_outputfile.exe
   17121               lt_tool_outputfile=$lt_tool_outputfile.exe
   17122               ;;
   17123           esac~
   17124           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   17125             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   17126             $RM "$lt_outputfile.manifest";
   17127           fi'
   17128 	;;
   17129       *)
   17130 	# Assume MSVC and ICC wrapper
   17131 	hardcode_libdir_flag_spec=' '
   17132 	allow_undefined_flag=unsupported
   17133 	# Tell ltmain to make .lib files, not .a files.
   17134 	libext=lib
   17135 	# Tell ltmain to make .dll files, not .so files.
   17136 	shrext_cmds=.dll
   17137 	# FIXME: Setting linknames here is a bad hack.
   17138 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   17139 	# The linker will automatically build a .lib file if we build a DLL.
   17140 	old_archive_from_new_cmds='true'
   17141 	# FIXME: Should let the user specify the lib program.
   17142 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17143 	enable_shared_with_static_runtimes=yes
   17144 	;;
   17145       esac
   17146       ;;
   17147 
   17148     darwin* | rhapsody*)
   17149 
   17150 
   17151   archive_cmds_need_lc=no
   17152   hardcode_direct=no
   17153   hardcode_automatic=yes
   17154   hardcode_shlibpath_var=unsupported
   17155   if test yes = "$lt_cv_ld_force_load"; then
   17156     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\"`'
   17157 
   17158   else
   17159     whole_archive_flag_spec=''
   17160   fi
   17161   link_all_deplibs=yes
   17162   allow_undefined_flag=$_lt_dar_allow_undefined
   17163   case $cc_basename in
   17164      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   17165      *) _lt_dar_can_shared=$GCC ;;
   17166   esac
   17167   if test yes = "$_lt_dar_can_shared"; then
   17168     output_verbose_link_cmd=func_echo_all
   17169     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   17170     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   17171     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"
   17172     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"
   17173 
   17174   else
   17175   ld_shlibs=no
   17176   fi
   17177 
   17178       ;;
   17179 
   17180     dgux*)
   17181       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17182       hardcode_libdir_flag_spec='-L$libdir'
   17183       hardcode_shlibpath_var=no
   17184       ;;
   17185 
   17186     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   17187     # support.  Future versions do this automatically, but an explicit c++rt0.o
   17188     # does not break anything, and helps significantly (at the cost of a little
   17189     # extra space).
   17190     freebsd2.2*)
   17191       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   17192       hardcode_libdir_flag_spec='-R$libdir'
   17193       hardcode_direct=yes
   17194       hardcode_shlibpath_var=no
   17195       ;;
   17196 
   17197     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   17198     freebsd2.*)
   17199       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17200       hardcode_direct=yes
   17201       hardcode_minus_L=yes
   17202       hardcode_shlibpath_var=no
   17203       ;;
   17204 
   17205     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17206     freebsd* | dragonfly* | midnightbsd*)
   17207       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17208       hardcode_libdir_flag_spec='-R$libdir'
   17209       hardcode_direct=yes
   17210       hardcode_shlibpath_var=no
   17211       ;;
   17212 
   17213     hpux9*)
   17214       if test yes = "$GCC"; then
   17215 	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'
   17216       else
   17217 	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'
   17218       fi
   17219       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17220       hardcode_libdir_separator=:
   17221       hardcode_direct=yes
   17222 
   17223       # hardcode_minus_L: Not really in the search PATH,
   17224       # but as the default location of the library.
   17225       hardcode_minus_L=yes
   17226       export_dynamic_flag_spec='$wl-E'
   17227       ;;
   17228 
   17229     hpux10*)
   17230       if test yes,no = "$GCC,$with_gnu_ld"; then
   17231 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17232       else
   17233 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17234       fi
   17235       if test no = "$with_gnu_ld"; then
   17236 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17237 	hardcode_libdir_separator=:
   17238 	hardcode_direct=yes
   17239 	hardcode_direct_absolute=yes
   17240 	export_dynamic_flag_spec='$wl-E'
   17241 	# hardcode_minus_L: Not really in the search PATH,
   17242 	# but as the default location of the library.
   17243 	hardcode_minus_L=yes
   17244       fi
   17245       ;;
   17246 
   17247     hpux11*)
   17248       if test yes,no = "$GCC,$with_gnu_ld"; then
   17249 	case $host_cpu in
   17250 	hppa*64*)
   17251 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17252 	  ;;
   17253 	ia64*)
   17254 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17255 	  ;;
   17256 	*)
   17257 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17258 	  ;;
   17259 	esac
   17260       else
   17261 	case $host_cpu in
   17262 	hppa*64*)
   17263 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17264 	  ;;
   17265 	ia64*)
   17266 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17267 	  ;;
   17268 	*)
   17269 
   17270 	  # Older versions of the 11.00 compiler do not understand -b yet
   17271 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17272 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17273 printf %s "checking if $CC understands -b... " >&6; }
   17274 if test ${lt_cv_prog_compiler__b+y}
   17275 then :
   17276   printf %s "(cached) " >&6
   17277 else $as_nop
   17278   lt_cv_prog_compiler__b=no
   17279    save_LDFLAGS=$LDFLAGS
   17280    LDFLAGS="$LDFLAGS -b"
   17281    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17282    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17283      # The linker can only warn and ignore the option if not recognized
   17284      # So say no if there are warnings
   17285      if test -s conftest.err; then
   17286        # Append any errors to the config.log.
   17287        cat conftest.err 1>&5
   17288        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17289        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17290        if diff conftest.exp conftest.er2 >/dev/null; then
   17291          lt_cv_prog_compiler__b=yes
   17292        fi
   17293      else
   17294        lt_cv_prog_compiler__b=yes
   17295      fi
   17296    fi
   17297    $RM -r conftest*
   17298    LDFLAGS=$save_LDFLAGS
   17299 
   17300 fi
   17301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17302 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17303 
   17304 if test yes = "$lt_cv_prog_compiler__b"; then
   17305     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17306 else
   17307     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17308 fi
   17309 
   17310 	  ;;
   17311 	esac
   17312       fi
   17313       if test no = "$with_gnu_ld"; then
   17314 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17315 	hardcode_libdir_separator=:
   17316 
   17317 	case $host_cpu in
   17318 	hppa*64*|ia64*)
   17319 	  hardcode_direct=no
   17320 	  hardcode_shlibpath_var=no
   17321 	  ;;
   17322 	*)
   17323 	  hardcode_direct=yes
   17324 	  hardcode_direct_absolute=yes
   17325 	  export_dynamic_flag_spec='$wl-E'
   17326 
   17327 	  # hardcode_minus_L: Not really in the search PATH,
   17328 	  # but as the default location of the library.
   17329 	  hardcode_minus_L=yes
   17330 	  ;;
   17331 	esac
   17332       fi
   17333       ;;
   17334 
   17335     irix5* | irix6* | nonstopux*)
   17336       if test yes = "$GCC"; then
   17337 	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'
   17338 	# Try to use the -exported_symbol ld option, if it does not
   17339 	# work, assume that -exports_file does not work either and
   17340 	# implicitly export all symbols.
   17341 	# This should be the same for all languages, so no per-tag cache variable.
   17342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17343 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17344 if test ${lt_cv_irix_exported_symbol+y}
   17345 then :
   17346   printf %s "(cached) " >&6
   17347 else $as_nop
   17348   save_LDFLAGS=$LDFLAGS
   17349 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17350 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17351 /* end confdefs.h.  */
   17352 int foo (void) { return 0; }
   17353 _ACEOF
   17354 if ac_fn_c_try_link "$LINENO"
   17355 then :
   17356   lt_cv_irix_exported_symbol=yes
   17357 else $as_nop
   17358   lt_cv_irix_exported_symbol=no
   17359 fi
   17360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17361     conftest$ac_exeext conftest.$ac_ext
   17362            LDFLAGS=$save_LDFLAGS
   17363 fi
   17364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17365 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17366 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17367           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'
   17368 	fi
   17369       else
   17370 	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'
   17371 	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'
   17372       fi
   17373       archive_cmds_need_lc='no'
   17374       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17375       hardcode_libdir_separator=:
   17376       inherit_rpath=yes
   17377       link_all_deplibs=yes
   17378       ;;
   17379 
   17380     linux*)
   17381       case $cc_basename in
   17382       tcc*)
   17383 	# Fabrice Bellard et al's Tiny C Compiler
   17384 	ld_shlibs=yes
   17385 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17386 	;;
   17387       esac
   17388       ;;
   17389 
   17390     netbsd*)
   17391       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17392 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17393       else
   17394 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17395       fi
   17396       hardcode_libdir_flag_spec='-R$libdir'
   17397       hardcode_direct=yes
   17398       hardcode_shlibpath_var=no
   17399       ;;
   17400 
   17401     newsos6)
   17402       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17403       hardcode_direct=yes
   17404       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17405       hardcode_libdir_separator=:
   17406       hardcode_shlibpath_var=no
   17407       ;;
   17408 
   17409     *nto* | *qnx*)
   17410       ;;
   17411 
   17412     openbsd* | bitrig*)
   17413       if test -f /usr/libexec/ld.so; then
   17414 	hardcode_direct=yes
   17415 	hardcode_shlibpath_var=no
   17416 	hardcode_direct_absolute=yes
   17417 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17418 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17419 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17420 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17421 	  export_dynamic_flag_spec='$wl-E'
   17422 	else
   17423 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17424 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17425 	fi
   17426       else
   17427 	ld_shlibs=no
   17428       fi
   17429       ;;
   17430 
   17431     os2*)
   17432       hardcode_libdir_flag_spec='-L$libdir'
   17433       hardcode_minus_L=yes
   17434       allow_undefined_flag=unsupported
   17435       shrext_cmds=.dll
   17436       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17437 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17438 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17439 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17440 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17441 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17442 	emximp -o $lib $output_objdir/$libname.def'
   17443       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17444 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17445 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17446 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17447 	prefix_cmds="$SED"~
   17448 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17449 	  prefix_cmds="$prefix_cmds -e 1d";
   17450 	fi~
   17451 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17452 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17453 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17454 	emximp -o $lib $output_objdir/$libname.def'
   17455       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17456       enable_shared_with_static_runtimes=yes
   17457       file_list_spec='@'
   17458       ;;
   17459 
   17460     osf3*)
   17461       if test yes = "$GCC"; then
   17462 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17463 	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'
   17464       else
   17465 	allow_undefined_flag=' -expect_unresolved \*'
   17466 	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'
   17467       fi
   17468       archive_cmds_need_lc='no'
   17469       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17470       hardcode_libdir_separator=:
   17471       ;;
   17472 
   17473     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17474       if test yes = "$GCC"; then
   17475 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17476 	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'
   17477 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17478       else
   17479 	allow_undefined_flag=' -expect_unresolved \*'
   17480 	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'
   17481 	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~
   17482           $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'
   17483 
   17484 	# Both c and cxx compiler support -rpath directly
   17485 	hardcode_libdir_flag_spec='-rpath $libdir'
   17486       fi
   17487       archive_cmds_need_lc='no'
   17488       hardcode_libdir_separator=:
   17489       ;;
   17490 
   17491     solaris*)
   17492       no_undefined_flag=' -z defs'
   17493       if test yes = "$GCC"; then
   17494 	wlarc='$wl'
   17495 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17496 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17497           $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'
   17498       else
   17499 	case `$CC -V 2>&1` in
   17500 	*"Compilers 5.0"*)
   17501 	  wlarc=''
   17502 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17503 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17504             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17505 	  ;;
   17506 	*)
   17507 	  wlarc='$wl'
   17508 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17509 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17510             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17511 	  ;;
   17512 	esac
   17513       fi
   17514       hardcode_libdir_flag_spec='-R$libdir'
   17515       hardcode_shlibpath_var=no
   17516       case $host_os in
   17517       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17518       *)
   17519 	# The compiler driver will combine and reorder linker options,
   17520 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17521 	# but is careful enough not to reorder.
   17522 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17523 	if test yes = "$GCC"; then
   17524 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17525 	else
   17526 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17527 	fi
   17528 	;;
   17529       esac
   17530       link_all_deplibs=yes
   17531       ;;
   17532 
   17533     sunos4*)
   17534       if test sequent = "$host_vendor"; then
   17535 	# Use $CC to link under sequent, because it throws in some extra .o
   17536 	# files that make .init and .fini sections work.
   17537 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17538       else
   17539 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17540       fi
   17541       hardcode_libdir_flag_spec='-L$libdir'
   17542       hardcode_direct=yes
   17543       hardcode_minus_L=yes
   17544       hardcode_shlibpath_var=no
   17545       ;;
   17546 
   17547     sysv4)
   17548       case $host_vendor in
   17549 	sni)
   17550 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17551 	  hardcode_direct=yes # is this really true???
   17552 	;;
   17553 	siemens)
   17554 	  ## LD is ld it makes a PLAMLIB
   17555 	  ## CC just makes a GrossModule.
   17556 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17557 	  reload_cmds='$CC -r -o $output$reload_objs'
   17558 	  hardcode_direct=no
   17559         ;;
   17560 	motorola)
   17561 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17562 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17563 	;;
   17564       esac
   17565       runpath_var='LD_RUN_PATH'
   17566       hardcode_shlibpath_var=no
   17567       ;;
   17568 
   17569     sysv4.3*)
   17570       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17571       hardcode_shlibpath_var=no
   17572       export_dynamic_flag_spec='-Bexport'
   17573       ;;
   17574 
   17575     sysv4*MP*)
   17576       if test -d /usr/nec; then
   17577 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17578 	hardcode_shlibpath_var=no
   17579 	runpath_var=LD_RUN_PATH
   17580 	hardcode_runpath_var=yes
   17581 	ld_shlibs=yes
   17582       fi
   17583       ;;
   17584 
   17585     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17586       no_undefined_flag='$wl-z,text'
   17587       archive_cmds_need_lc=no
   17588       hardcode_shlibpath_var=no
   17589       runpath_var='LD_RUN_PATH'
   17590 
   17591       if test yes = "$GCC"; then
   17592 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17593 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17594       else
   17595 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17596 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17597       fi
   17598       ;;
   17599 
   17600     sysv5* | sco3.2v5* | sco5v6*)
   17601       # Note: We CANNOT use -z defs as we might desire, because we do not
   17602       # link with -lc, and that would cause any symbols used from libc to
   17603       # always be unresolved, which means just about no library would
   17604       # ever link correctly.  If we're not using GNU ld we use -z text
   17605       # though, which does catch some bad symbols but isn't as heavy-handed
   17606       # as -z defs.
   17607       no_undefined_flag='$wl-z,text'
   17608       allow_undefined_flag='$wl-z,nodefs'
   17609       archive_cmds_need_lc=no
   17610       hardcode_shlibpath_var=no
   17611       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17612       hardcode_libdir_separator=':'
   17613       link_all_deplibs=yes
   17614       export_dynamic_flag_spec='$wl-Bexport'
   17615       runpath_var='LD_RUN_PATH'
   17616 
   17617       if test yes = "$GCC"; then
   17618 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17619 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17620       else
   17621 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17622 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17623       fi
   17624       ;;
   17625 
   17626     uts4*)
   17627       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17628       hardcode_libdir_flag_spec='-L$libdir'
   17629       hardcode_shlibpath_var=no
   17630       ;;
   17631 
   17632     *)
   17633       ld_shlibs=no
   17634       ;;
   17635     esac
   17636 
   17637     if test sni = "$host_vendor"; then
   17638       case $host in
   17639       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17640 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17641 	;;
   17642       esac
   17643     fi
   17644   fi
   17645 
   17646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17647 printf "%s\n" "$ld_shlibs" >&6; }
   17648 test no = "$ld_shlibs" && can_build_shared=no
   17649 
   17650 with_gnu_ld=$with_gnu_ld
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 #
   17667 # Do we need to explicitly link libc?
   17668 #
   17669 case "x$archive_cmds_need_lc" in
   17670 x|xyes)
   17671   # Assume -lc should be added
   17672   archive_cmds_need_lc=yes
   17673 
   17674   if test yes,yes = "$GCC,$enable_shared"; then
   17675     case $archive_cmds in
   17676     *'~'*)
   17677       # FIXME: we may have to deal with multi-command sequences.
   17678       ;;
   17679     '$CC '*)
   17680       # Test whether the compiler implicitly links with -lc since on some
   17681       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17682       # to ld, don't add -lc before -lgcc.
   17683       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17684 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17685 if test ${lt_cv_archive_cmds_need_lc+y}
   17686 then :
   17687   printf %s "(cached) " >&6
   17688 else $as_nop
   17689   $RM conftest*
   17690 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17691 
   17692 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17693   (eval $ac_compile) 2>&5
   17694   ac_status=$?
   17695   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17696   test $ac_status = 0; } 2>conftest.err; then
   17697 	  soname=conftest
   17698 	  lib=conftest
   17699 	  libobjs=conftest.$ac_objext
   17700 	  deplibs=
   17701 	  wl=$lt_prog_compiler_wl
   17702 	  pic_flag=$lt_prog_compiler_pic
   17703 	  compiler_flags=-v
   17704 	  linker_flags=-v
   17705 	  verstring=
   17706 	  output_objdir=.
   17707 	  libname=conftest
   17708 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17709 	  allow_undefined_flag=
   17710 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17711   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17712   ac_status=$?
   17713   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17714   test $ac_status = 0; }
   17715 	  then
   17716 	    lt_cv_archive_cmds_need_lc=no
   17717 	  else
   17718 	    lt_cv_archive_cmds_need_lc=yes
   17719 	  fi
   17720 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17721 	else
   17722 	  cat conftest.err 1>&5
   17723 	fi
   17724 	$RM conftest*
   17725 
   17726 fi
   17727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17728 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17729       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17730       ;;
   17731     esac
   17732   fi
   17733   ;;
   17734 esac
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 
   17826 
   17827 
   17828 
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 
   17843 
   17844 
   17845 
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 
   17869 
   17870 
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 
   17886 
   17887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17888 printf %s "checking dynamic linker characteristics... " >&6; }
   17889 
   17890 if test yes = "$GCC"; then
   17891   case $host_os in
   17892     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17893     *) lt_awk_arg='/^libraries:/' ;;
   17894   esac
   17895   case $host_os in
   17896     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17897     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17898   esac
   17899   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17900   case $lt_search_path_spec in
   17901   *\;*)
   17902     # if the path contains ";" then we assume it to be the separator
   17903     # otherwise default to the standard path separator (i.e. ":") - it is
   17904     # assumed that no part of a normal pathname contains ";" but that should
   17905     # okay in the real world where ";" in dirpaths is itself problematic.
   17906     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17907     ;;
   17908   *)
   17909     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17910     ;;
   17911   esac
   17912   # Ok, now we have the path, separated by spaces, we can step through it
   17913   # and add multilib dir if necessary...
   17914   lt_tmp_lt_search_path_spec=
   17915   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17916   # ...but if some path component already ends with the multilib dir we assume
   17917   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17918   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17919   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17920     lt_multi_os_dir=
   17921     ;;
   17922   esac
   17923   for lt_sys_path in $lt_search_path_spec; do
   17924     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17925       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17926     elif test -n "$lt_multi_os_dir"; then
   17927       test -d "$lt_sys_path" && \
   17928 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17929     fi
   17930   done
   17931   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17932 BEGIN {RS = " "; FS = "/|\n";} {
   17933   lt_foo = "";
   17934   lt_count = 0;
   17935   for (lt_i = NF; lt_i > 0; lt_i--) {
   17936     if ($lt_i != "" && $lt_i != ".") {
   17937       if ($lt_i == "..") {
   17938         lt_count++;
   17939       } else {
   17940         if (lt_count == 0) {
   17941           lt_foo = "/" $lt_i lt_foo;
   17942         } else {
   17943           lt_count--;
   17944         }
   17945       }
   17946     }
   17947   }
   17948   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17949   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17950 }'`
   17951   # AWK program above erroneously prepends '/' to C:/dos/paths
   17952   # for these hosts.
   17953   case $host_os in
   17954     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17955       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17956   esac
   17957   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17958 else
   17959   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17960 fi
   17961 library_names_spec=
   17962 libname_spec='lib$name'
   17963 soname_spec=
   17964 shrext_cmds=.so
   17965 postinstall_cmds=
   17966 postuninstall_cmds=
   17967 finish_cmds=
   17968 finish_eval=
   17969 shlibpath_var=
   17970 shlibpath_overrides_runpath=unknown
   17971 version_type=none
   17972 dynamic_linker="$host_os ld.so"
   17973 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17974 need_lib_prefix=unknown
   17975 hardcode_into_libs=no
   17976 
   17977 # when you set need_version to no, make sure it does not cause -set_version
   17978 # flags to be left without arguments
   17979 need_version=unknown
   17980 
   17981 
   17982 
   17983 case $host_os in
   17984 aix3*)
   17985   version_type=linux # correct to gnu/linux during the next big refactor
   17986   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17987   shlibpath_var=LIBPATH
   17988 
   17989   # AIX 3 has no versioning support, so we append a major version to the name.
   17990   soname_spec='$libname$release$shared_ext$major'
   17991   ;;
   17992 
   17993 aix[4-9]*)
   17994   version_type=linux # correct to gnu/linux during the next big refactor
   17995   need_lib_prefix=no
   17996   need_version=no
   17997   hardcode_into_libs=yes
   17998   if test ia64 = "$host_cpu"; then
   17999     # AIX 5 supports IA64
   18000     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   18001     shlibpath_var=LD_LIBRARY_PATH
   18002   else
   18003     # With GCC up to 2.95.x, collect2 would create an import file
   18004     # for dependence libraries.  The import file would start with
   18005     # the line '#! .'.  This would cause the generated library to
   18006     # depend on '.', always an invalid library.  This was fixed in
   18007     # development snapshots of GCC prior to 3.0.
   18008     case $host_os in
   18009       aix4 | aix4.[01] | aix4.[01].*)
   18010       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18011 	   echo ' yes '
   18012 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   18013 	:
   18014       else
   18015 	can_build_shared=no
   18016       fi
   18017       ;;
   18018     esac
   18019     # Using Import Files as archive members, it is possible to support
   18020     # filename-based versioning of shared library archives on AIX. While
   18021     # this would work for both with and without runtime linking, it will
   18022     # prevent static linking of such archives. So we do filename-based
   18023     # shared library versioning with .so extension only, which is used
   18024     # when both runtime linking and shared linking is enabled.
   18025     # Unfortunately, runtime linking may impact performance, so we do
   18026     # not want this to be the default eventually. Also, we use the
   18027     # versioned .so libs for executables only if there is the -brtl
   18028     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   18029     # To allow for filename-based versioning support, we need to create
   18030     # libNAME.so.V as an archive file, containing:
   18031     # *) an Import File, referring to the versioned filename of the
   18032     #    archive as well as the shared archive member, telling the
   18033     #    bitwidth (32 or 64) of that shared object, and providing the
   18034     #    list of exported symbols of that shared object, eventually
   18035     #    decorated with the 'weak' keyword
   18036     # *) the shared object with the F_LOADONLY flag set, to really avoid
   18037     #    it being seen by the linker.
   18038     # At run time we better use the real file rather than another symlink,
   18039     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   18040 
   18041     case $with_aix_soname,$aix_use_runtimelinking in
   18042     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   18043     # soname into executable. Probably we can add versioning support to
   18044     # collect2, so additional links can be useful in future.
   18045     aix,yes) # traditional libtool
   18046       dynamic_linker='AIX unversionable lib.so'
   18047       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18048       # instead of lib<name>.a to let people know that these are not
   18049       # typical AIX shared libraries.
   18050       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18051       ;;
   18052     aix,no) # traditional AIX only
   18053       dynamic_linker='AIX lib.a(lib.so.V)'
   18054       # We preserve .a as extension for shared libraries through AIX4.2
   18055       # and later when we are not doing run time linking.
   18056       library_names_spec='$libname$release.a $libname.a'
   18057       soname_spec='$libname$release$shared_ext$major'
   18058       ;;
   18059     svr4,*) # full svr4 only
   18060       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   18061       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18062       # We do not specify a path in Import Files, so LIBPATH fires.
   18063       shlibpath_overrides_runpath=yes
   18064       ;;
   18065     *,yes) # both, prefer svr4
   18066       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   18067       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   18068       # unpreferred sharedlib libNAME.a needs extra handling
   18069       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"'
   18070       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"'
   18071       # We do not specify a path in Import Files, so LIBPATH fires.
   18072       shlibpath_overrides_runpath=yes
   18073       ;;
   18074     *,no) # both, prefer aix
   18075       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   18076       library_names_spec='$libname$release.a $libname.a'
   18077       soname_spec='$libname$release$shared_ext$major'
   18078       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   18079       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)'
   18080       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"'
   18081       ;;
   18082     esac
   18083     shlibpath_var=LIBPATH
   18084   fi
   18085   ;;
   18086 
   18087 amigaos*)
   18088   case $host_cpu in
   18089   powerpc)
   18090     # Since July 2007 AmigaOS4 officially supports .so libraries.
   18091     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   18092     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18093     ;;
   18094   m68k)
   18095     library_names_spec='$libname.ixlibrary $libname.a'
   18096     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18097     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'
   18098     ;;
   18099   esac
   18100   ;;
   18101 
   18102 beos*)
   18103   library_names_spec='$libname$shared_ext'
   18104   dynamic_linker="$host_os ld.so"
   18105   shlibpath_var=LIBRARY_PATH
   18106   ;;
   18107 
   18108 bsdi[45]*)
   18109   version_type=linux # correct to gnu/linux during the next big refactor
   18110   need_version=no
   18111   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18112   soname_spec='$libname$release$shared_ext$major'
   18113   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18114   shlibpath_var=LD_LIBRARY_PATH
   18115   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18116   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18117   # the default ld.so.conf also contains /usr/contrib/lib and
   18118   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18119   # libtool to hard-code these into programs
   18120   ;;
   18121 
   18122 cygwin* | mingw* | pw32* | cegcc*)
   18123   version_type=windows
   18124   shrext_cmds=.dll
   18125   need_version=no
   18126   need_lib_prefix=no
   18127 
   18128   case $GCC,$cc_basename in
   18129   yes,*)
   18130     # gcc
   18131     library_names_spec='$libname.dll.a'
   18132     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18133     postinstall_cmds='base_file=`basename \$file`~
   18134       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18135       dldir=$destdir/`dirname \$dlpath`~
   18136       test -d \$dldir || mkdir -p \$dldir~
   18137       $install_prog $dir/$dlname \$dldir/$dlname~
   18138       chmod a+x \$dldir/$dlname~
   18139       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18140         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18141       fi'
   18142     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18143       dlpath=$dir/\$dldll~
   18144        $RM \$dlpath'
   18145     shlibpath_overrides_runpath=yes
   18146 
   18147     case $host_os in
   18148     cygwin*)
   18149       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18150       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18151 
   18152       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   18153       ;;
   18154     mingw* | cegcc*)
   18155       # MinGW DLLs use traditional 'lib' prefix
   18156       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18157       ;;
   18158     pw32*)
   18159       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18160       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18161       ;;
   18162     esac
   18163     dynamic_linker='Win32 ld.exe'
   18164     ;;
   18165 
   18166   *,cl* | *,icl*)
   18167     # Native MSVC or ICC
   18168     libname_spec='$name'
   18169     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   18170     library_names_spec='$libname.dll.lib'
   18171 
   18172     case $build_os in
   18173     mingw*)
   18174       sys_lib_search_path_spec=
   18175       lt_save_ifs=$IFS
   18176       IFS=';'
   18177       for lt_path in $LIB
   18178       do
   18179         IFS=$lt_save_ifs
   18180         # Let DOS variable expansion print the short 8.3 style file name.
   18181         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   18182         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   18183       done
   18184       IFS=$lt_save_ifs
   18185       # Convert to MSYS style.
   18186       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   18187       ;;
   18188     cygwin*)
   18189       # Convert to unix form, then to dos form, then back to unix form
   18190       # but this time dos style (no spaces!) so that the unix form looks
   18191       # like /cygdrive/c/PROGRA~1:/cygdr...
   18192       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   18193       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   18194       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18195       ;;
   18196     *)
   18197       sys_lib_search_path_spec=$LIB
   18198       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   18199         # It is most probably a Windows format PATH.
   18200         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18201       else
   18202         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   18203       fi
   18204       # FIXME: find the short name or the path components, as spaces are
   18205       # common. (e.g. "Program Files" -> "PROGRA~1")
   18206       ;;
   18207     esac
   18208 
   18209     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18210     postinstall_cmds='base_file=`basename \$file`~
   18211       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18212       dldir=$destdir/`dirname \$dlpath`~
   18213       test -d \$dldir || mkdir -p \$dldir~
   18214       $install_prog $dir/$dlname \$dldir/$dlname'
   18215     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18216       dlpath=$dir/\$dldll~
   18217        $RM \$dlpath'
   18218     shlibpath_overrides_runpath=yes
   18219     dynamic_linker='Win32 link.exe'
   18220     ;;
   18221 
   18222   *)
   18223     # Assume MSVC and ICC wrapper
   18224     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18225     dynamic_linker='Win32 ld.exe'
   18226     ;;
   18227   esac
   18228   # FIXME: first we should search . and the directory the executable is in
   18229   shlibpath_var=PATH
   18230   ;;
   18231 
   18232 darwin* | rhapsody*)
   18233   dynamic_linker="$host_os dyld"
   18234   version_type=darwin
   18235   need_lib_prefix=no
   18236   need_version=no
   18237   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   18238   soname_spec='$libname$release$major$shared_ext'
   18239   shlibpath_overrides_runpath=yes
   18240   shlibpath_var=DYLD_LIBRARY_PATH
   18241   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18242 
   18243   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18244   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18245   ;;
   18246 
   18247 dgux*)
   18248   version_type=linux # correct to gnu/linux during the next big refactor
   18249   need_lib_prefix=no
   18250   need_version=no
   18251   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18252   soname_spec='$libname$release$shared_ext$major'
   18253   shlibpath_var=LD_LIBRARY_PATH
   18254   ;;
   18255 
   18256 freebsd* | dragonfly* | midnightbsd*)
   18257   # DragonFly does not have aout.  When/if they implement a new
   18258   # versioning mechanism, adjust this.
   18259   if test -x /usr/bin/objformat; then
   18260     objformat=`/usr/bin/objformat`
   18261   else
   18262     case $host_os in
   18263     freebsd[23].*) objformat=aout ;;
   18264     *) objformat=elf ;;
   18265     esac
   18266   fi
   18267   version_type=freebsd-$objformat
   18268   case $version_type in
   18269     freebsd-elf*)
   18270       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18271       soname_spec='$libname$release$shared_ext$major'
   18272       need_version=no
   18273       need_lib_prefix=no
   18274       ;;
   18275     freebsd-*)
   18276       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18277       need_version=yes
   18278       ;;
   18279   esac
   18280   shlibpath_var=LD_LIBRARY_PATH
   18281   case $host_os in
   18282   freebsd2.*)
   18283     shlibpath_overrides_runpath=yes
   18284     ;;
   18285   freebsd3.[01]* | freebsdelf3.[01]*)
   18286     shlibpath_overrides_runpath=yes
   18287     hardcode_into_libs=yes
   18288     ;;
   18289   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18290   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18291     shlibpath_overrides_runpath=no
   18292     hardcode_into_libs=yes
   18293     ;;
   18294   *) # from 4.6 on, and DragonFly
   18295     shlibpath_overrides_runpath=yes
   18296     hardcode_into_libs=yes
   18297     ;;
   18298   esac
   18299   ;;
   18300 
   18301 haiku*)
   18302   version_type=linux # correct to gnu/linux during the next big refactor
   18303   need_lib_prefix=no
   18304   need_version=no
   18305   dynamic_linker="$host_os runtime_loader"
   18306   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18307   soname_spec='$libname$release$shared_ext$major'
   18308   shlibpath_var=LIBRARY_PATH
   18309   shlibpath_overrides_runpath=no
   18310   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18311   hardcode_into_libs=yes
   18312   ;;
   18313 
   18314 hpux9* | hpux10* | hpux11*)
   18315   # Give a soname corresponding to the major version so that dld.sl refuses to
   18316   # link against other versions.
   18317   version_type=sunos
   18318   need_lib_prefix=no
   18319   need_version=no
   18320   case $host_cpu in
   18321   ia64*)
   18322     shrext_cmds='.so'
   18323     hardcode_into_libs=yes
   18324     dynamic_linker="$host_os dld.so"
   18325     shlibpath_var=LD_LIBRARY_PATH
   18326     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18327     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18328     soname_spec='$libname$release$shared_ext$major'
   18329     if test 32 = "$HPUX_IA64_MODE"; then
   18330       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18331       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18332     else
   18333       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18334       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18335     fi
   18336     ;;
   18337   hppa*64*)
   18338     shrext_cmds='.sl'
   18339     hardcode_into_libs=yes
   18340     dynamic_linker="$host_os dld.sl"
   18341     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18342     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18343     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18344     soname_spec='$libname$release$shared_ext$major'
   18345     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18346     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18347     ;;
   18348   *)
   18349     shrext_cmds='.sl'
   18350     dynamic_linker="$host_os dld.sl"
   18351     shlibpath_var=SHLIB_PATH
   18352     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18353     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18354     soname_spec='$libname$release$shared_ext$major'
   18355     ;;
   18356   esac
   18357   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18358   postinstall_cmds='chmod 555 $lib'
   18359   # or fails outright, so override atomically:
   18360   install_override_mode=555
   18361   ;;
   18362 
   18363 interix[3-9]*)
   18364   version_type=linux # correct to gnu/linux during the next big refactor
   18365   need_lib_prefix=no
   18366   need_version=no
   18367   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18368   soname_spec='$libname$release$shared_ext$major'
   18369   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18370   shlibpath_var=LD_LIBRARY_PATH
   18371   shlibpath_overrides_runpath=no
   18372   hardcode_into_libs=yes
   18373   ;;
   18374 
   18375 irix5* | irix6* | nonstopux*)
   18376   case $host_os in
   18377     nonstopux*) version_type=nonstopux ;;
   18378     *)
   18379 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18380 		version_type=linux # correct to gnu/linux during the next big refactor
   18381 	else
   18382 		version_type=irix
   18383 	fi ;;
   18384   esac
   18385   need_lib_prefix=no
   18386   need_version=no
   18387   soname_spec='$libname$release$shared_ext$major'
   18388   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18389   case $host_os in
   18390   irix5* | nonstopux*)
   18391     libsuff= shlibsuff=
   18392     ;;
   18393   *)
   18394     case $LD in # libtool.m4 will add one of these switches to LD
   18395     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18396       libsuff= shlibsuff= libmagic=32-bit;;
   18397     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18398       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18399     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18400       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18401     *) libsuff= shlibsuff= libmagic=never-match;;
   18402     esac
   18403     ;;
   18404   esac
   18405   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18406   shlibpath_overrides_runpath=no
   18407   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18408   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18409   hardcode_into_libs=yes
   18410   ;;
   18411 
   18412 # No shared lib support for Linux oldld, aout, or coff.
   18413 linux*oldld* | linux*aout* | linux*coff*)
   18414   dynamic_linker=no
   18415   ;;
   18416 
   18417 linux*android*)
   18418   version_type=none # Android doesn't support versioned libraries.
   18419   need_lib_prefix=no
   18420   need_version=no
   18421   library_names_spec='$libname$release$shared_ext'
   18422   soname_spec='$libname$release$shared_ext'
   18423   finish_cmds=
   18424   shlibpath_var=LD_LIBRARY_PATH
   18425   shlibpath_overrides_runpath=yes
   18426 
   18427   # This implies no fast_install, which is unacceptable.
   18428   # Some rework will be needed to allow for fast_install
   18429   # before this can be enabled.
   18430   hardcode_into_libs=yes
   18431 
   18432   dynamic_linker='Android linker'
   18433   # Don't embed -rpath directories since the linker doesn't support them.
   18434   hardcode_libdir_flag_spec='-L$libdir'
   18435   ;;
   18436 
   18437 # This must be glibc/ELF.
   18438 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18439   version_type=linux # correct to gnu/linux during the next big refactor
   18440   need_lib_prefix=no
   18441   need_version=no
   18442   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18443   soname_spec='$libname$release$shared_ext$major'
   18444   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18445   shlibpath_var=LD_LIBRARY_PATH
   18446   shlibpath_overrides_runpath=no
   18447 
   18448   # Some binutils ld are patched to set DT_RUNPATH
   18449   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18450 then :
   18451   printf %s "(cached) " >&6
   18452 else $as_nop
   18453   lt_cv_shlibpath_overrides_runpath=no
   18454     save_LDFLAGS=$LDFLAGS
   18455     save_libdir=$libdir
   18456     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18457 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18458     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18459 /* end confdefs.h.  */
   18460 
   18461 int
   18462 main (void)
   18463 {
   18464 
   18465   ;
   18466   return 0;
   18467 }
   18468 _ACEOF
   18469 if ac_fn_c_try_link "$LINENO"
   18470 then :
   18471   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18472 then :
   18473   lt_cv_shlibpath_overrides_runpath=yes
   18474 fi
   18475 fi
   18476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18477     conftest$ac_exeext conftest.$ac_ext
   18478     LDFLAGS=$save_LDFLAGS
   18479     libdir=$save_libdir
   18480 
   18481 fi
   18482 
   18483   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18484 
   18485   # This implies no fast_install, which is unacceptable.
   18486   # Some rework will be needed to allow for fast_install
   18487   # before this can be enabled.
   18488   hardcode_into_libs=yes
   18489 
   18490   # Add ABI-specific directories to the system library path.
   18491   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   18492 
   18493   # Ideally, we could use ldconfig to report *all* directores which are
   18494   # searched for libraries, however this is still not possible.  Aside from not
   18495   # being certain /sbin/ldconfig is available, command
   18496   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18497   # even though it is searched at run-time.  Try to do the best guess by
   18498   # appending ld.so.conf contents (and includes) to the search path.
   18499   if test -f /etc/ld.so.conf; then
   18500     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' ' '`
   18501     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18502   fi
   18503 
   18504   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18505   # powerpc, because MkLinux only supported shared libraries with the
   18506   # GNU dynamic linker.  Since this was broken with cross compilers,
   18507   # most powerpc-linux boxes support dynamic linking these days and
   18508   # people can always --disable-shared, the test was removed, and we
   18509   # assume the GNU/Linux dynamic linker is in use.
   18510   dynamic_linker='GNU/Linux ld.so'
   18511   ;;
   18512 
   18513 netbsd*)
   18514   version_type=sunos
   18515   need_lib_prefix=no
   18516   need_version=no
   18517   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18518     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18519     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18520     dynamic_linker='NetBSD (a.out) ld.so'
   18521   else
   18522     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18523     soname_spec='$libname$release$shared_ext$major'
   18524     dynamic_linker='NetBSD ld.elf_so'
   18525   fi
   18526   shlibpath_var=LD_LIBRARY_PATH
   18527   shlibpath_overrides_runpath=yes
   18528   hardcode_into_libs=yes
   18529   ;;
   18530 
   18531 newsos6)
   18532   version_type=linux # correct to gnu/linux during the next big refactor
   18533   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18534   shlibpath_var=LD_LIBRARY_PATH
   18535   shlibpath_overrides_runpath=yes
   18536   ;;
   18537 
   18538 *nto* | *qnx*)
   18539   version_type=qnx
   18540   need_lib_prefix=no
   18541   need_version=no
   18542   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18543   soname_spec='$libname$release$shared_ext$major'
   18544   shlibpath_var=LD_LIBRARY_PATH
   18545   shlibpath_overrides_runpath=no
   18546   hardcode_into_libs=yes
   18547   dynamic_linker='ldqnx.so'
   18548   ;;
   18549 
   18550 openbsd* | bitrig*)
   18551   version_type=sunos
   18552   sys_lib_dlsearch_path_spec=/usr/lib
   18553   need_lib_prefix=no
   18554   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18555     need_version=no
   18556   else
   18557     need_version=yes
   18558   fi
   18559   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18560   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18561   shlibpath_var=LD_LIBRARY_PATH
   18562   shlibpath_overrides_runpath=yes
   18563   ;;
   18564 
   18565 os2*)
   18566   libname_spec='$name'
   18567   version_type=windows
   18568   shrext_cmds=.dll
   18569   need_version=no
   18570   need_lib_prefix=no
   18571   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18572   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18573     v=$($ECHO $release$versuffix | tr -d .-);
   18574     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18575     $ECHO $n$v`$shared_ext'
   18576   library_names_spec='${libname}_dll.$libext'
   18577   dynamic_linker='OS/2 ld.exe'
   18578   shlibpath_var=BEGINLIBPATH
   18579   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18580   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18581   postinstall_cmds='base_file=`basename \$file`~
   18582     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18583     dldir=$destdir/`dirname \$dlpath`~
   18584     test -d \$dldir || mkdir -p \$dldir~
   18585     $install_prog $dir/$dlname \$dldir/$dlname~
   18586     chmod a+x \$dldir/$dlname~
   18587     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18588       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18589     fi'
   18590   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18591     dlpath=$dir/\$dldll~
   18592     $RM \$dlpath'
   18593   ;;
   18594 
   18595 osf3* | osf4* | osf5*)
   18596   version_type=osf
   18597   need_lib_prefix=no
   18598   need_version=no
   18599   soname_spec='$libname$release$shared_ext$major'
   18600   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18601   shlibpath_var=LD_LIBRARY_PATH
   18602   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18603   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18604   ;;
   18605 
   18606 rdos*)
   18607   dynamic_linker=no
   18608   ;;
   18609 
   18610 solaris*)
   18611   version_type=linux # correct to gnu/linux during the next big refactor
   18612   need_lib_prefix=no
   18613   need_version=no
   18614   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18615   soname_spec='$libname$release$shared_ext$major'
   18616   shlibpath_var=LD_LIBRARY_PATH
   18617   shlibpath_overrides_runpath=yes
   18618   hardcode_into_libs=yes
   18619   # ldd complains unless libraries are executable
   18620   postinstall_cmds='chmod +x $lib'
   18621   ;;
   18622 
   18623 sunos4*)
   18624   version_type=sunos
   18625   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18626   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18627   shlibpath_var=LD_LIBRARY_PATH
   18628   shlibpath_overrides_runpath=yes
   18629   if test yes = "$with_gnu_ld"; then
   18630     need_lib_prefix=no
   18631   fi
   18632   need_version=yes
   18633   ;;
   18634 
   18635 sysv4 | sysv4.3*)
   18636   version_type=linux # correct to gnu/linux during the next big refactor
   18637   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18638   soname_spec='$libname$release$shared_ext$major'
   18639   shlibpath_var=LD_LIBRARY_PATH
   18640   case $host_vendor in
   18641     sni)
   18642       shlibpath_overrides_runpath=no
   18643       need_lib_prefix=no
   18644       runpath_var=LD_RUN_PATH
   18645       ;;
   18646     siemens)
   18647       need_lib_prefix=no
   18648       ;;
   18649     motorola)
   18650       need_lib_prefix=no
   18651       need_version=no
   18652       shlibpath_overrides_runpath=no
   18653       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18654       ;;
   18655   esac
   18656   ;;
   18657 
   18658 sysv4*MP*)
   18659   if test -d /usr/nec; then
   18660     version_type=linux # correct to gnu/linux during the next big refactor
   18661     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18662     soname_spec='$libname$shared_ext.$major'
   18663     shlibpath_var=LD_LIBRARY_PATH
   18664   fi
   18665   ;;
   18666 
   18667 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18668   version_type=sco
   18669   need_lib_prefix=no
   18670   need_version=no
   18671   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18672   soname_spec='$libname$release$shared_ext$major'
   18673   shlibpath_var=LD_LIBRARY_PATH
   18674   shlibpath_overrides_runpath=yes
   18675   hardcode_into_libs=yes
   18676   if test yes = "$with_gnu_ld"; then
   18677     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18678   else
   18679     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18680     case $host_os in
   18681       sco3.2v5*)
   18682         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18683 	;;
   18684     esac
   18685   fi
   18686   sys_lib_dlsearch_path_spec='/usr/lib'
   18687   ;;
   18688 
   18689 tpf*)
   18690   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18691   version_type=linux # correct to gnu/linux during the next big refactor
   18692   need_lib_prefix=no
   18693   need_version=no
   18694   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18695   shlibpath_var=LD_LIBRARY_PATH
   18696   shlibpath_overrides_runpath=no
   18697   hardcode_into_libs=yes
   18698   ;;
   18699 
   18700 uts4*)
   18701   version_type=linux # correct to gnu/linux during the next big refactor
   18702   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18703   soname_spec='$libname$release$shared_ext$major'
   18704   shlibpath_var=LD_LIBRARY_PATH
   18705   ;;
   18706 
   18707 *)
   18708   dynamic_linker=no
   18709   ;;
   18710 esac
   18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18712 printf "%s\n" "$dynamic_linker" >&6; }
   18713 test no = "$dynamic_linker" && can_build_shared=no
   18714 
   18715 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18716 if test yes = "$GCC"; then
   18717   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18718 fi
   18719 
   18720 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18721   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18722 fi
   18723 
   18724 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18725   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18726 fi
   18727 
   18728 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18729 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18730 
   18731 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18732 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18733 
   18734 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18735 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18736 
   18737 
   18738 
   18739 
   18740 
   18741 
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755 
   18756 
   18757 
   18758 
   18759 
   18760 
   18761 
   18762 
   18763 
   18764 
   18765 
   18766 
   18767 
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 
   18775 
   18776 
   18777 
   18778 
   18779 
   18780 
   18781 
   18782 
   18783 
   18784 
   18785 
   18786 
   18787 
   18788 
   18789 
   18790 
   18791 
   18792 
   18793 
   18794 
   18795 
   18796 
   18797 
   18798 
   18799 
   18800 
   18801 
   18802 
   18803 
   18804 
   18805 
   18806 
   18807 
   18808 
   18809 
   18810 
   18811 
   18812 
   18813 
   18814 
   18815 
   18816 
   18817 
   18818 
   18819 
   18820 
   18821 
   18822 
   18823 
   18824 
   18825 
   18826 
   18827 
   18828 
   18829 
   18830 
   18831 
   18832 
   18833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18834 printf %s "checking how to hardcode library paths into programs... " >&6; }
   18835 hardcode_action=
   18836 if test -n "$hardcode_libdir_flag_spec" ||
   18837    test -n "$runpath_var" ||
   18838    test yes = "$hardcode_automatic"; then
   18839 
   18840   # We can hardcode non-existent directories.
   18841   if test no != "$hardcode_direct" &&
   18842      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18843      # have to relink, otherwise we might link with an installed library
   18844      # when we should be linking with a yet-to-be-installed one
   18845      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18846      test no != "$hardcode_minus_L"; then
   18847     # Linking always hardcodes the temporary library directory.
   18848     hardcode_action=relink
   18849   else
   18850     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18851     hardcode_action=immediate
   18852   fi
   18853 else
   18854   # We cannot hardcode anything, or else we can only hardcode existing
   18855   # directories.
   18856   hardcode_action=unsupported
   18857 fi
   18858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18859 printf "%s\n" "$hardcode_action" >&6; }
   18860 
   18861 if test relink = "$hardcode_action" ||
   18862    test yes = "$inherit_rpath"; then
   18863   # Fast installation is not supported
   18864   enable_fast_install=no
   18865 elif test yes = "$shlibpath_overrides_runpath" ||
   18866      test no = "$enable_shared"; then
   18867   # Fast installation is not necessary
   18868   enable_fast_install=needless
   18869 fi
   18870 
   18871 
   18872 
   18873 
   18874 
   18875 
   18876   if test yes != "$enable_dlopen"; then
   18877   enable_dlopen=unknown
   18878   enable_dlopen_self=unknown
   18879   enable_dlopen_self_static=unknown
   18880 else
   18881   lt_cv_dlopen=no
   18882   lt_cv_dlopen_libs=
   18883 
   18884   case $host_os in
   18885   beos*)
   18886     lt_cv_dlopen=load_add_on
   18887     lt_cv_dlopen_libs=
   18888     lt_cv_dlopen_self=yes
   18889     ;;
   18890 
   18891   mingw* | pw32* | cegcc*)
   18892     lt_cv_dlopen=LoadLibrary
   18893     lt_cv_dlopen_libs=
   18894     ;;
   18895 
   18896   cygwin*)
   18897     lt_cv_dlopen=dlopen
   18898     lt_cv_dlopen_libs=
   18899     ;;
   18900 
   18901   darwin*)
   18902     # if libdl is installed we need to link against it
   18903     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18904 printf %s "checking for dlopen in -ldl... " >&6; }
   18905 if test ${ac_cv_lib_dl_dlopen+y}
   18906 then :
   18907   printf %s "(cached) " >&6
   18908 else $as_nop
   18909   ac_check_lib_save_LIBS=$LIBS
   18910 LIBS="-ldl  $LIBS"
   18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18912 /* end confdefs.h.  */
   18913 
   18914 /* Override any GCC internal prototype to avoid an error.
   18915    Use char because int might match the return type of a GCC
   18916    builtin and then its argument prototype would still apply.  */
   18917 char dlopen ();
   18918 int
   18919 main (void)
   18920 {
   18921 return dlopen ();
   18922   ;
   18923   return 0;
   18924 }
   18925 _ACEOF
   18926 if ac_fn_c_try_link "$LINENO"
   18927 then :
   18928   ac_cv_lib_dl_dlopen=yes
   18929 else $as_nop
   18930   ac_cv_lib_dl_dlopen=no
   18931 fi
   18932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18933     conftest$ac_exeext conftest.$ac_ext
   18934 LIBS=$ac_check_lib_save_LIBS
   18935 fi
   18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18937 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18938 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18939 then :
   18940   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18941 else $as_nop
   18942 
   18943     lt_cv_dlopen=dyld
   18944     lt_cv_dlopen_libs=
   18945     lt_cv_dlopen_self=yes
   18946 
   18947 fi
   18948 
   18949     ;;
   18950 
   18951   tpf*)
   18952     # Don't try to run any link tests for TPF.  We know it's impossible
   18953     # because TPF is a cross-compiler, and we know how we open DSOs.
   18954     lt_cv_dlopen=dlopen
   18955     lt_cv_dlopen_libs=
   18956     lt_cv_dlopen_self=no
   18957     ;;
   18958 
   18959   *)
   18960     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18961 if test "x$ac_cv_func_shl_load" = xyes
   18962 then :
   18963   lt_cv_dlopen=shl_load
   18964 else $as_nop
   18965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18966 printf %s "checking for shl_load in -ldld... " >&6; }
   18967 if test ${ac_cv_lib_dld_shl_load+y}
   18968 then :
   18969   printf %s "(cached) " >&6
   18970 else $as_nop
   18971   ac_check_lib_save_LIBS=$LIBS
   18972 LIBS="-ldld  $LIBS"
   18973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18974 /* end confdefs.h.  */
   18975 
   18976 /* Override any GCC internal prototype to avoid an error.
   18977    Use char because int might match the return type of a GCC
   18978    builtin and then its argument prototype would still apply.  */
   18979 char shl_load ();
   18980 int
   18981 main (void)
   18982 {
   18983 return shl_load ();
   18984   ;
   18985   return 0;
   18986 }
   18987 _ACEOF
   18988 if ac_fn_c_try_link "$LINENO"
   18989 then :
   18990   ac_cv_lib_dld_shl_load=yes
   18991 else $as_nop
   18992   ac_cv_lib_dld_shl_load=no
   18993 fi
   18994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18995     conftest$ac_exeext conftest.$ac_ext
   18996 LIBS=$ac_check_lib_save_LIBS
   18997 fi
   18998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18999 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   19000 if test "x$ac_cv_lib_dld_shl_load" = xyes
   19001 then :
   19002   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   19003 else $as_nop
   19004   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19005 if test "x$ac_cv_func_dlopen" = xyes
   19006 then :
   19007   lt_cv_dlopen=dlopen
   19008 else $as_nop
   19009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19010 printf %s "checking for dlopen in -ldl... " >&6; }
   19011 if test ${ac_cv_lib_dl_dlopen+y}
   19012 then :
   19013   printf %s "(cached) " >&6
   19014 else $as_nop
   19015   ac_check_lib_save_LIBS=$LIBS
   19016 LIBS="-ldl  $LIBS"
   19017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19018 /* end confdefs.h.  */
   19019 
   19020 /* Override any GCC internal prototype to avoid an error.
   19021    Use char because int might match the return type of a GCC
   19022    builtin and then its argument prototype would still apply.  */
   19023 char dlopen ();
   19024 int
   19025 main (void)
   19026 {
   19027 return dlopen ();
   19028   ;
   19029   return 0;
   19030 }
   19031 _ACEOF
   19032 if ac_fn_c_try_link "$LINENO"
   19033 then :
   19034   ac_cv_lib_dl_dlopen=yes
   19035 else $as_nop
   19036   ac_cv_lib_dl_dlopen=no
   19037 fi
   19038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19039     conftest$ac_exeext conftest.$ac_ext
   19040 LIBS=$ac_check_lib_save_LIBS
   19041 fi
   19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19043 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19044 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19045 then :
   19046   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   19047 else $as_nop
   19048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   19049 printf %s "checking for dlopen in -lsvld... " >&6; }
   19050 if test ${ac_cv_lib_svld_dlopen+y}
   19051 then :
   19052   printf %s "(cached) " >&6
   19053 else $as_nop
   19054   ac_check_lib_save_LIBS=$LIBS
   19055 LIBS="-lsvld  $LIBS"
   19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19057 /* end confdefs.h.  */
   19058 
   19059 /* Override any GCC internal prototype to avoid an error.
   19060    Use char because int might match the return type of a GCC
   19061    builtin and then its argument prototype would still apply.  */
   19062 char dlopen ();
   19063 int
   19064 main (void)
   19065 {
   19066 return dlopen ();
   19067   ;
   19068   return 0;
   19069 }
   19070 _ACEOF
   19071 if ac_fn_c_try_link "$LINENO"
   19072 then :
   19073   ac_cv_lib_svld_dlopen=yes
   19074 else $as_nop
   19075   ac_cv_lib_svld_dlopen=no
   19076 fi
   19077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19078     conftest$ac_exeext conftest.$ac_ext
   19079 LIBS=$ac_check_lib_save_LIBS
   19080 fi
   19081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   19082 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   19083 if test "x$ac_cv_lib_svld_dlopen" = xyes
   19084 then :
   19085   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   19086 else $as_nop
   19087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   19088 printf %s "checking for dld_link in -ldld... " >&6; }
   19089 if test ${ac_cv_lib_dld_dld_link+y}
   19090 then :
   19091   printf %s "(cached) " >&6
   19092 else $as_nop
   19093   ac_check_lib_save_LIBS=$LIBS
   19094 LIBS="-ldld  $LIBS"
   19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19096 /* end confdefs.h.  */
   19097 
   19098 /* Override any GCC internal prototype to avoid an error.
   19099    Use char because int might match the return type of a GCC
   19100    builtin and then its argument prototype would still apply.  */
   19101 char dld_link ();
   19102 int
   19103 main (void)
   19104 {
   19105 return dld_link ();
   19106   ;
   19107   return 0;
   19108 }
   19109 _ACEOF
   19110 if ac_fn_c_try_link "$LINENO"
   19111 then :
   19112   ac_cv_lib_dld_dld_link=yes
   19113 else $as_nop
   19114   ac_cv_lib_dld_dld_link=no
   19115 fi
   19116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19117     conftest$ac_exeext conftest.$ac_ext
   19118 LIBS=$ac_check_lib_save_LIBS
   19119 fi
   19120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   19121 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   19122 if test "x$ac_cv_lib_dld_dld_link" = xyes
   19123 then :
   19124   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   19125 fi
   19126 
   19127 
   19128 fi
   19129 
   19130 
   19131 fi
   19132 
   19133 
   19134 fi
   19135 
   19136 
   19137 fi
   19138 
   19139 
   19140 fi
   19141 
   19142     ;;
   19143   esac
   19144 
   19145   if test no = "$lt_cv_dlopen"; then
   19146     enable_dlopen=no
   19147   else
   19148     enable_dlopen=yes
   19149   fi
   19150 
   19151   case $lt_cv_dlopen in
   19152   dlopen)
   19153     save_CPPFLAGS=$CPPFLAGS
   19154     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   19155 
   19156     save_LDFLAGS=$LDFLAGS
   19157     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   19158 
   19159     save_LIBS=$LIBS
   19160     LIBS="$lt_cv_dlopen_libs $LIBS"
   19161 
   19162     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   19163 printf %s "checking whether a program can dlopen itself... " >&6; }
   19164 if test ${lt_cv_dlopen_self+y}
   19165 then :
   19166   printf %s "(cached) " >&6
   19167 else $as_nop
   19168   	  if test yes = "$cross_compiling"; then :
   19169   lt_cv_dlopen_self=cross
   19170 else
   19171   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19172   lt_status=$lt_dlunknown
   19173   cat > conftest.$ac_ext <<_LT_EOF
   19174 #line $LINENO "configure"
   19175 #include "confdefs.h"
   19176 
   19177 #if HAVE_DLFCN_H
   19178 #include <dlfcn.h>
   19179 #endif
   19180 
   19181 #include <stdio.h>
   19182 
   19183 #ifdef RTLD_GLOBAL
   19184 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19185 #else
   19186 #  ifdef DL_GLOBAL
   19187 #    define LT_DLGLOBAL		DL_GLOBAL
   19188 #  else
   19189 #    define LT_DLGLOBAL		0
   19190 #  endif
   19191 #endif
   19192 
   19193 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19194    find out it does not work in some platform. */
   19195 #ifndef LT_DLLAZY_OR_NOW
   19196 #  ifdef RTLD_LAZY
   19197 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19198 #  else
   19199 #    ifdef DL_LAZY
   19200 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19201 #    else
   19202 #      ifdef RTLD_NOW
   19203 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19204 #      else
   19205 #        ifdef DL_NOW
   19206 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19207 #        else
   19208 #          define LT_DLLAZY_OR_NOW	0
   19209 #        endif
   19210 #      endif
   19211 #    endif
   19212 #  endif
   19213 #endif
   19214 
   19215 /* When -fvisibility=hidden is used, assume the code has been annotated
   19216    correspondingly for the symbols needed.  */
   19217 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19218 int fnord () __attribute__((visibility("default")));
   19219 #endif
   19220 
   19221 int fnord () { return 42; }
   19222 int main ()
   19223 {
   19224   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19225   int status = $lt_dlunknown;
   19226 
   19227   if (self)
   19228     {
   19229       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19230       else
   19231         {
   19232 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19233           else puts (dlerror ());
   19234 	}
   19235       /* dlclose (self); */
   19236     }
   19237   else
   19238     puts (dlerror ());
   19239 
   19240   return status;
   19241 }
   19242 _LT_EOF
   19243   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19244   (eval $ac_link) 2>&5
   19245   ac_status=$?
   19246   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19247   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19248     (./conftest; exit; ) >&5 2>/dev/null
   19249     lt_status=$?
   19250     case x$lt_status in
   19251       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19252       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19253       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19254     esac
   19255   else :
   19256     # compilation failed
   19257     lt_cv_dlopen_self=no
   19258   fi
   19259 fi
   19260 rm -fr conftest*
   19261 
   19262 
   19263 fi
   19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19265 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19266 
   19267     if test yes = "$lt_cv_dlopen_self"; then
   19268       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19269       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19270 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19271 if test ${lt_cv_dlopen_self_static+y}
   19272 then :
   19273   printf %s "(cached) " >&6
   19274 else $as_nop
   19275   	  if test yes = "$cross_compiling"; then :
   19276   lt_cv_dlopen_self_static=cross
   19277 else
   19278   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19279   lt_status=$lt_dlunknown
   19280   cat > conftest.$ac_ext <<_LT_EOF
   19281 #line $LINENO "configure"
   19282 #include "confdefs.h"
   19283 
   19284 #if HAVE_DLFCN_H
   19285 #include <dlfcn.h>
   19286 #endif
   19287 
   19288 #include <stdio.h>
   19289 
   19290 #ifdef RTLD_GLOBAL
   19291 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19292 #else
   19293 #  ifdef DL_GLOBAL
   19294 #    define LT_DLGLOBAL		DL_GLOBAL
   19295 #  else
   19296 #    define LT_DLGLOBAL		0
   19297 #  endif
   19298 #endif
   19299 
   19300 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19301    find out it does not work in some platform. */
   19302 #ifndef LT_DLLAZY_OR_NOW
   19303 #  ifdef RTLD_LAZY
   19304 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19305 #  else
   19306 #    ifdef DL_LAZY
   19307 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19308 #    else
   19309 #      ifdef RTLD_NOW
   19310 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19311 #      else
   19312 #        ifdef DL_NOW
   19313 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19314 #        else
   19315 #          define LT_DLLAZY_OR_NOW	0
   19316 #        endif
   19317 #      endif
   19318 #    endif
   19319 #  endif
   19320 #endif
   19321 
   19322 /* When -fvisibility=hidden is used, assume the code has been annotated
   19323    correspondingly for the symbols needed.  */
   19324 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19325 int fnord () __attribute__((visibility("default")));
   19326 #endif
   19327 
   19328 int fnord () { return 42; }
   19329 int main ()
   19330 {
   19331   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19332   int status = $lt_dlunknown;
   19333 
   19334   if (self)
   19335     {
   19336       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19337       else
   19338         {
   19339 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19340           else puts (dlerror ());
   19341 	}
   19342       /* dlclose (self); */
   19343     }
   19344   else
   19345     puts (dlerror ());
   19346 
   19347   return status;
   19348 }
   19349 _LT_EOF
   19350   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19351   (eval $ac_link) 2>&5
   19352   ac_status=$?
   19353   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19354   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19355     (./conftest; exit; ) >&5 2>/dev/null
   19356     lt_status=$?
   19357     case x$lt_status in
   19358       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19359       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19360       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19361     esac
   19362   else :
   19363     # compilation failed
   19364     lt_cv_dlopen_self_static=no
   19365   fi
   19366 fi
   19367 rm -fr conftest*
   19368 
   19369 
   19370 fi
   19371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19372 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19373     fi
   19374 
   19375     CPPFLAGS=$save_CPPFLAGS
   19376     LDFLAGS=$save_LDFLAGS
   19377     LIBS=$save_LIBS
   19378     ;;
   19379   esac
   19380 
   19381   case $lt_cv_dlopen_self in
   19382   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19383   *) enable_dlopen_self=unknown ;;
   19384   esac
   19385 
   19386   case $lt_cv_dlopen_self_static in
   19387   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19388   *) enable_dlopen_self_static=unknown ;;
   19389   esac
   19390 fi
   19391 
   19392 
   19393 
   19394 
   19395 
   19396 
   19397 
   19398 
   19399 
   19400 
   19401 
   19402 
   19403 
   19404 
   19405 
   19406 
   19407 
   19408 striplib=
   19409 old_striplib=
   19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19411 printf %s "checking whether stripping libraries is possible... " >&6; }
   19412 if test -z "$STRIP"; then
   19413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19414 printf "%s\n" "no" >&6; }
   19415 else
   19416   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19417     old_striplib="$STRIP --strip-debug"
   19418     striplib="$STRIP --strip-unneeded"
   19419     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19420 printf "%s\n" "yes" >&6; }
   19421   else
   19422     case $host_os in
   19423     darwin*)
   19424       # FIXME - insert some real tests, host_os isn't really good enough
   19425       striplib="$STRIP -x"
   19426       old_striplib="$STRIP -S"
   19427       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19428 printf "%s\n" "yes" >&6; }
   19429       ;;
   19430     freebsd*)
   19431       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19432         old_striplib="$STRIP --strip-debug"
   19433         striplib="$STRIP --strip-unneeded"
   19434         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19435 printf "%s\n" "yes" >&6; }
   19436       else
   19437         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19438 printf "%s\n" "no" >&6; }
   19439       fi
   19440       ;;
   19441     *)
   19442       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19443 printf "%s\n" "no" >&6; }
   19444       ;;
   19445     esac
   19446   fi
   19447 fi
   19448 
   19449 
   19450 
   19451 
   19452 
   19453 
   19454 
   19455 
   19456 
   19457 
   19458 
   19459 
   19460   # Report what library types will actually be built
   19461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19462 printf %s "checking if libtool supports shared libraries... " >&6; }
   19463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19464 printf "%s\n" "$can_build_shared" >&6; }
   19465 
   19466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19467 printf %s "checking whether to build shared libraries... " >&6; }
   19468   test no = "$can_build_shared" && enable_shared=no
   19469 
   19470   # On AIX, shared libraries and static libraries use the same namespace, and
   19471   # are all built from PIC.
   19472   case $host_os in
   19473   aix3*)
   19474     test yes = "$enable_shared" && enable_static=no
   19475     if test -n "$RANLIB"; then
   19476       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19477       postinstall_cmds='$RANLIB $lib'
   19478     fi
   19479     ;;
   19480 
   19481   aix[4-9]*)
   19482     if test ia64 != "$host_cpu"; then
   19483       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19484       yes,aix,yes) ;;			# shared object as lib.so file only
   19485       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19486       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19487       esac
   19488     fi
   19489     ;;
   19490   esac
   19491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19492 printf "%s\n" "$enable_shared" >&6; }
   19493 
   19494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19495 printf %s "checking whether to build static libraries... " >&6; }
   19496   # Make sure either enable_shared or enable_static is yes.
   19497   test yes = "$enable_shared" || enable_static=yes
   19498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19499 printf "%s\n" "$enable_static" >&6; }
   19500 
   19501 
   19502 
   19503 
   19504 fi
   19505 ac_ext=c
   19506 ac_cpp='$CPP $CPPFLAGS'
   19507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19510 
   19511 CC=$lt_save_CC
   19512 
   19513 
   19514 
   19515 
   19516 
   19517 
   19518 
   19519 
   19520 
   19521 
   19522 
   19523 
   19524 
   19525 
   19526 
   19527         ac_config_commands="$ac_config_commands libtool"
   19528 
   19529 
   19530 
   19531 
   19532 # Only expand once:
   19533 
   19534 
   19535 
   19536 # Checks for programs.
   19537 
   19538 
   19539 
   19540 
   19541 # Define a configure option for an alternate module directory
   19542 
   19543 # Check whether --with-xorg-module-dir was given.
   19544 if test ${with_xorg_module_dir+y}
   19545 then :
   19546   withval=$with_xorg_module_dir; moduledir="$withval"
   19547 else $as_nop
   19548   moduledir="$libdir/xorg/modules"
   19549 fi
   19550 
   19551 
   19552 # Define a configure option to build the vmwarectrl client tool
   19553 # Check whether --enable-vmwarectrl-client was given.
   19554 if test ${enable_vmwarectrl_client+y}
   19555 then :
   19556   enableval=$enable_vmwarectrl_client; VMWARECTRL=$enableval
   19557 else $as_nop
   19558   VMWARECTRL=no
   19559 fi
   19560 
   19561  if test "x$VMWARECTRL" = xyes; then
   19562   BUILD_VMWARECTRL_TRUE=
   19563   BUILD_VMWARECTRL_FALSE='#'
   19564 else
   19565   BUILD_VMWARECTRL_TRUE='#'
   19566   BUILD_VMWARECTRL_FALSE=
   19567 fi
   19568 
   19569 
   19570 # Store the list of server defined optional extensions in REQUIRED_MODULES
   19571 
   19572 
   19573 	SAVE_CFLAGS="$CFLAGS"
   19574 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19575 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19576 /* end confdefs.h.  */
   19577 
   19578 #include "xorg-server.h"
   19579 #if !defined RANDR
   19580 #error RANDR not defined
   19581 #endif
   19582 
   19583 int
   19584 main (void)
   19585 {
   19586 
   19587   ;
   19588   return 0;
   19589 }
   19590 _ACEOF
   19591 if ac_fn_c_try_compile "$LINENO"
   19592 then :
   19593   _EXT_CHECK=yes
   19594 else $as_nop
   19595   _EXT_CHECK=no
   19596 fi
   19597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19598 	CFLAGS="$SAVE_CFLAGS"
   19599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19600 printf %s "checking if RANDR is defined... " >&6; }
   19601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19602 printf "%s\n" "$_EXT_CHECK" >&6; }
   19603 	if test "$_EXT_CHECK" != no; then
   19604 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19605 	fi
   19606 
   19607 
   19608 
   19609 	SAVE_CFLAGS="$CFLAGS"
   19610 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19611 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19612 /* end confdefs.h.  */
   19613 
   19614 #include "xorg-server.h"
   19615 #if !defined RENDER
   19616 #error RENDER not defined
   19617 #endif
   19618 
   19619 int
   19620 main (void)
   19621 {
   19622 
   19623   ;
   19624   return 0;
   19625 }
   19626 _ACEOF
   19627 if ac_fn_c_try_compile "$LINENO"
   19628 then :
   19629   _EXT_CHECK=yes
   19630 else $as_nop
   19631   _EXT_CHECK=no
   19632 fi
   19633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19634 	CFLAGS="$SAVE_CFLAGS"
   19635 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   19636 printf %s "checking if RENDER is defined... " >&6; }
   19637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19638 printf "%s\n" "$_EXT_CHECK" >&6; }
   19639 	if test "$_EXT_CHECK" != no; then
   19640 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   19641 	fi
   19642 
   19643 
   19644 
   19645 	SAVE_CFLAGS="$CFLAGS"
   19646 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19647 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19648 /* end confdefs.h.  */
   19649 
   19650 #include "xorg-server.h"
   19651 #if !defined DPMSExtension
   19652 #error DPMSExtension not defined
   19653 #endif
   19654 
   19655 int
   19656 main (void)
   19657 {
   19658 
   19659   ;
   19660   return 0;
   19661 }
   19662 _ACEOF
   19663 if ac_fn_c_try_compile "$LINENO"
   19664 then :
   19665   _EXT_CHECK=yes
   19666 else $as_nop
   19667   _EXT_CHECK=no
   19668 fi
   19669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19670 	CFLAGS="$SAVE_CFLAGS"
   19671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   19672 printf %s "checking if DPMSExtension is defined... " >&6; }
   19673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19674 printf "%s\n" "$_EXT_CHECK" >&6; }
   19675 	if test "$_EXT_CHECK" != no; then
   19676 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   19677 	fi
   19678 
   19679 
   19680 
   19681 	SAVE_CFLAGS="$CFLAGS"
   19682 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19683 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19684 /* end confdefs.h.  */
   19685 
   19686 #include "xorg-server.h"
   19687 #if !defined XINERAMA
   19688 #error XINERAMA not defined
   19689 #endif
   19690 
   19691 int
   19692 main (void)
   19693 {
   19694 
   19695   ;
   19696   return 0;
   19697 }
   19698 _ACEOF
   19699 if ac_fn_c_try_compile "$LINENO"
   19700 then :
   19701   _EXT_CHECK=yes
   19702 else $as_nop
   19703   _EXT_CHECK=no
   19704 fi
   19705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19706 	CFLAGS="$SAVE_CFLAGS"
   19707 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XINERAMA is defined" >&5
   19708 printf %s "checking if XINERAMA is defined... " >&6; }
   19709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19710 printf "%s\n" "$_EXT_CHECK" >&6; }
   19711 	if test "$_EXT_CHECK" != no; then
   19712 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   19713 	fi
   19714 
   19715 
   19716 
   19717 	SAVE_CFLAGS="$CFLAGS"
   19718 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   19719 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19720 /* end confdefs.h.  */
   19721 
   19722 #include "xorg-server.h"
   19723 #if !defined XV
   19724 #error XV not defined
   19725 #endif
   19726 
   19727 int
   19728 main (void)
   19729 {
   19730 
   19731   ;
   19732   return 0;
   19733 }
   19734 _ACEOF
   19735 if ac_fn_c_try_compile "$LINENO"
   19736 then :
   19737   _EXT_CHECK=yes
   19738 else $as_nop
   19739   _EXT_CHECK=no
   19740 fi
   19741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19742 	CFLAGS="$SAVE_CFLAGS"
   19743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   19744 printf %s "checking if XV is defined... " >&6; }
   19745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19746 printf "%s\n" "$_EXT_CHECK" >&6; }
   19747 	if test "$_EXT_CHECK" != no; then
   19748 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   19749 	fi
   19750 
   19751 
   19752 # Obtain compiler/linker options for the driver dependencies
   19753 
   19754 pkg_failed=no
   19755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19756 printf %s "checking for XORG... " >&6; }
   19757 
   19758 if test -n "$XORG_CFLAGS"; then
   19759     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19760  elif test -n "$PKG_CONFIG"; then
   19761     if test -n "$PKG_CONFIG" && \
   19762     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19763   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19764   ac_status=$?
   19765   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19766   test $ac_status = 0; }; then
   19767   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19768 		      test "x$?" != "x0" && pkg_failed=yes
   19769 else
   19770   pkg_failed=yes
   19771 fi
   19772  else
   19773     pkg_failed=untried
   19774 fi
   19775 if test -n "$XORG_LIBS"; then
   19776     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19777  elif test -n "$PKG_CONFIG"; then
   19778     if test -n "$PKG_CONFIG" && \
   19779     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   19780   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES") 2>&5
   19781   ac_status=$?
   19782   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19783   test $ac_status = 0; }; then
   19784   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   19785 		      test "x$?" != "x0" && pkg_failed=yes
   19786 else
   19787   pkg_failed=yes
   19788 fi
   19789  else
   19790     pkg_failed=untried
   19791 fi
   19792 
   19793 
   19794 
   19795 if test $pkg_failed = yes; then
   19796    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19797 printf "%s\n" "no" >&6; }
   19798 
   19799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19800         _pkg_short_errors_supported=yes
   19801 else
   19802         _pkg_short_errors_supported=no
   19803 fi
   19804         if test $_pkg_short_errors_supported = yes; then
   19805 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   19806         else
   19807 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   19808         fi
   19809 	# Put the nasty error message in config.log where it belongs
   19810 	echo "$XORG_PKG_ERRORS" >&5
   19811 
   19812 	as_fn_error $? "Package requirements (xorg-server >= 1.0.1 xproto fontsproto $REQUIRED_MODULES) were not met:
   19813 
   19814 $XORG_PKG_ERRORS
   19815 
   19816 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19817 installed software in a non-standard prefix.
   19818 
   19819 Alternatively, you may set the environment variables XORG_CFLAGS
   19820 and XORG_LIBS to avoid the need to call pkg-config.
   19821 See the pkg-config man page for more details." "$LINENO" 5
   19822 elif test $pkg_failed = untried; then
   19823      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19824 printf "%s\n" "no" >&6; }
   19825 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19826 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19827 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19828 is in your PATH or set the PKG_CONFIG environment variable to the full
   19829 path to pkg-config.
   19830 
   19831 Alternatively, you may set the environment variables XORG_CFLAGS
   19832 and XORG_LIBS to avoid the need to call pkg-config.
   19833 See the pkg-config man page for more details.
   19834 
   19835 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19836 See \`config.log' for more details" "$LINENO" 5; }
   19837 else
   19838 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19839 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19840         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19841 printf "%s\n" "yes" >&6; }
   19842 
   19843 fi
   19844 if test -n "$PKG_CONFIG" && \
   19845     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0\""; } >&5
   19846   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0") 2>&5
   19847   ac_status=$?
   19848   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19849   test $ac_status = 0; }; then
   19850 
   19851 printf "%s\n" "#define HAVE_XORG_SERVER_1_1_0 1" >>confdefs.h
   19852 
   19853 fi
   19854 
   19855 if test -n "$PKG_CONFIG" && \
   19856     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.2.0\""; } >&5
   19857   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.2.0") 2>&5
   19858   ac_status=$?
   19859   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19860   test $ac_status = 0; }; then
   19861 
   19862 printf "%s\n" "#define HAVE_XORG_SERVER_1_2_0 1" >>confdefs.h
   19863 
   19864 fi
   19865 
   19866 if test -n "$PKG_CONFIG" && \
   19867     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.4.99\""; } >&5
   19868   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.4.99") 2>&5
   19869   ac_status=$?
   19870   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19871   test $ac_status = 0; }; then
   19872 
   19873 printf "%s\n" "#define HAVE_XORG_SERVER_1_5_0 1" >>confdefs.h
   19874 
   19875 fi
   19876 
   19877 if test -n "$PKG_CONFIG" && \
   19878     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.7.0\""; } >&5
   19879   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.7.0") 2>&5
   19880   ac_status=$?
   19881   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19882   test $ac_status = 0; }; then
   19883 
   19884 printf "%s\n" "#define HAVE_XORG_SERVER_1_7_0 1" >>confdefs.h
   19885 
   19886 		 BUILD_VMWGFX=yes
   19887 else
   19888   BUILD_VMWGFX=no
   19889 fi
   19890 
   19891 if test -n "$PKG_CONFIG" && \
   19892     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.12.0\""; } >&5
   19893   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.12.0") 2>&5
   19894   ac_status=$?
   19895   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19896   test $ac_status = 0; }; then
   19897 
   19898 printf "%s\n" "#define HAVE_XORG_SERVER_1_12_0 1" >>confdefs.h
   19899 
   19900 fi
   19901 
   19902 # Obtain compiler/linker options for the vmwarectrl client tool
   19903 
   19904 pkg_failed=no
   19905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   19906 printf %s "checking for X11... " >&6; }
   19907 
   19908 if test -n "$X11_CFLAGS"; then
   19909     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   19910  elif test -n "$PKG_CONFIG"; then
   19911     if test -n "$PKG_CONFIG" && \
   19912     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext\""; } >&5
   19913   ($PKG_CONFIG --exists --print-errors "x11 xext") 2>&5
   19914   ac_status=$?
   19915   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19916   test $ac_status = 0; }; then
   19917   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 xext" 2>/dev/null`
   19918 		      test "x$?" != "x0" && pkg_failed=yes
   19919 else
   19920   pkg_failed=yes
   19921 fi
   19922  else
   19923     pkg_failed=untried
   19924 fi
   19925 if test -n "$X11_LIBS"; then
   19926     pkg_cv_X11_LIBS="$X11_LIBS"
   19927  elif test -n "$PKG_CONFIG"; then
   19928     if test -n "$PKG_CONFIG" && \
   19929     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext\""; } >&5
   19930   ($PKG_CONFIG --exists --print-errors "x11 xext") 2>&5
   19931   ac_status=$?
   19932   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19933   test $ac_status = 0; }; then
   19934   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 xext" 2>/dev/null`
   19935 		      test "x$?" != "x0" && pkg_failed=yes
   19936 else
   19937   pkg_failed=yes
   19938 fi
   19939  else
   19940     pkg_failed=untried
   19941 fi
   19942 
   19943 
   19944 
   19945 if test $pkg_failed = yes; then
   19946    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19947 printf "%s\n" "no" >&6; }
   19948 
   19949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19950         _pkg_short_errors_supported=yes
   19951 else
   19952         _pkg_short_errors_supported=no
   19953 fi
   19954         if test $_pkg_short_errors_supported = yes; then
   19955 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xext" 2>&1`
   19956         else
   19957 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xext" 2>&1`
   19958         fi
   19959 	# Put the nasty error message in config.log where it belongs
   19960 	echo "$X11_PKG_ERRORS" >&5
   19961 
   19962 	as_fn_error $? "Package requirements (x11 xext) were not met:
   19963 
   19964 $X11_PKG_ERRORS
   19965 
   19966 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19967 installed software in a non-standard prefix.
   19968 
   19969 Alternatively, you may set the environment variables X11_CFLAGS
   19970 and X11_LIBS to avoid the need to call pkg-config.
   19971 See the pkg-config man page for more details." "$LINENO" 5
   19972 elif test $pkg_failed = untried; then
   19973      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19974 printf "%s\n" "no" >&6; }
   19975 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19976 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19977 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19978 is in your PATH or set the PKG_CONFIG environment variable to the full
   19979 path to pkg-config.
   19980 
   19981 Alternatively, you may set the environment variables X11_CFLAGS
   19982 and X11_LIBS to avoid the need to call pkg-config.
   19983 See the pkg-config man page for more details.
   19984 
   19985 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19986 See \`config.log' for more details" "$LINENO" 5; }
   19987 else
   19988 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   19989 	X11_LIBS=$pkg_cv_X11_LIBS
   19990         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19991 printf "%s\n" "yes" >&6; }
   19992 
   19993 fi
   19994 
   19995 # Checks for libraries.
   19996 
   19997 save_CFLAGS="$CFLAGS"
   19998 CFLAGS="$XORG_CFLAGS"
   19999 ac_fn_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   20000 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   20001 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes
   20002 then :
   20003   XSERVER_LIBPCIACCESS=yes
   20004 else $as_nop
   20005   XSERVER_LIBPCIACCESS=no
   20006 fi
   20007 CFLAGS="$save_CFLAGS"
   20008 
   20009 if test x$XSERVER_LIBPCIACCESS = xyes; then
   20010 
   20011 pkg_failed=no
   20012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   20013 printf %s "checking for PCIACCESS... " >&6; }
   20014 
   20015 if test -n "$PCIACCESS_CFLAGS"; then
   20016     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   20017  elif test -n "$PKG_CONFIG"; then
   20018     if test -n "$PKG_CONFIG" && \
   20019     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   20020   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20021   ac_status=$?
   20022   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20023   test $ac_status = 0; }; then
   20024   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   20025 		      test "x$?" != "x0" && pkg_failed=yes
   20026 else
   20027   pkg_failed=yes
   20028 fi
   20029  else
   20030     pkg_failed=untried
   20031 fi
   20032 if test -n "$PCIACCESS_LIBS"; then
   20033     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   20034  elif test -n "$PKG_CONFIG"; then
   20035     if test -n "$PKG_CONFIG" && \
   20036     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   20037   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   20038   ac_status=$?
   20039   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20040   test $ac_status = 0; }; then
   20041   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   20042 		      test "x$?" != "x0" && pkg_failed=yes
   20043 else
   20044   pkg_failed=yes
   20045 fi
   20046  else
   20047     pkg_failed=untried
   20048 fi
   20049 
   20050 
   20051 
   20052 if test $pkg_failed = yes; then
   20053    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20054 printf "%s\n" "no" >&6; }
   20055 
   20056 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20057         _pkg_short_errors_supported=yes
   20058 else
   20059         _pkg_short_errors_supported=no
   20060 fi
   20061         if test $_pkg_short_errors_supported = yes; then
   20062 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   20063         else
   20064 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   20065         fi
   20066 	# Put the nasty error message in config.log where it belongs
   20067 	echo "$PCIACCESS_PKG_ERRORS" >&5
   20068 
   20069 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   20070 
   20071 $PCIACCESS_PKG_ERRORS
   20072 
   20073 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20074 installed software in a non-standard prefix.
   20075 
   20076 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20077 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20078 See the pkg-config man page for more details." "$LINENO" 5
   20079 elif test $pkg_failed = untried; then
   20080      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20081 printf "%s\n" "no" >&6; }
   20082 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20084 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20085 is in your PATH or set the PKG_CONFIG environment variable to the full
   20086 path to pkg-config.
   20087 
   20088 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   20089 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   20090 See the pkg-config man page for more details.
   20091 
   20092 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20093 See \`config.log' for more details" "$LINENO" 5; }
   20094 else
   20095 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   20096 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   20097         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20098 printf "%s\n" "yes" >&6; }
   20099 
   20100 fi
   20101 fi
   20102 
   20103  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   20104   XSERVER_LIBPCIACCESS_TRUE=
   20105   XSERVER_LIBPCIACCESS_FALSE='#'
   20106 else
   20107   XSERVER_LIBPCIACCESS_TRUE='#'
   20108   XSERVER_LIBPCIACCESS_FALSE=
   20109 fi
   20110 
   20111 
   20112 
   20113 
   20114 if test x$BUILD_VMWGFX = xyes; then
   20115 
   20116 pkg_failed=no
   20117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBDRM" >&5
   20118 printf %s "checking for LIBDRM... " >&6; }
   20119 
   20120 if test -n "$LIBDRM_CFLAGS"; then
   20121     pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS"
   20122  elif test -n "$PKG_CONFIG"; then
   20123     if test -n "$PKG_CONFIG" && \
   20124     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm\""; } >&5
   20125   ($PKG_CONFIG --exists --print-errors "libdrm") 2>&5
   20126   ac_status=$?
   20127   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20128   test $ac_status = 0; }; then
   20129   pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm" 2>/dev/null`
   20130 		      test "x$?" != "x0" && pkg_failed=yes
   20131 else
   20132   pkg_failed=yes
   20133 fi
   20134  else
   20135     pkg_failed=untried
   20136 fi
   20137 if test -n "$LIBDRM_LIBS"; then
   20138     pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS"
   20139  elif test -n "$PKG_CONFIG"; then
   20140     if test -n "$PKG_CONFIG" && \
   20141     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm\""; } >&5
   20142   ($PKG_CONFIG --exists --print-errors "libdrm") 2>&5
   20143   ac_status=$?
   20144   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20145   test $ac_status = 0; }; then
   20146   pkg_cv_LIBDRM_LIBS=`$PKG_CONFIG --libs "libdrm" 2>/dev/null`
   20147 		      test "x$?" != "x0" && pkg_failed=yes
   20148 else
   20149   pkg_failed=yes
   20150 fi
   20151  else
   20152     pkg_failed=untried
   20153 fi
   20154 
   20155 
   20156 
   20157 if test $pkg_failed = yes; then
   20158    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20159 printf "%s\n" "no" >&6; }
   20160 
   20161 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20162         _pkg_short_errors_supported=yes
   20163 else
   20164         _pkg_short_errors_supported=no
   20165 fi
   20166         if test $_pkg_short_errors_supported = yes; then
   20167 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm" 2>&1`
   20168         else
   20169 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm" 2>&1`
   20170         fi
   20171 	# Put the nasty error message in config.log where it belongs
   20172 	echo "$LIBDRM_PKG_ERRORS" >&5
   20173 
   20174 	BUILD_VMWGFX=no
   20175 elif test $pkg_failed = untried; then
   20176      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20177 printf "%s\n" "no" >&6; }
   20178 	BUILD_VMWGFX=no
   20179 else
   20180 	LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS
   20181 	LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS
   20182         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20183 printf "%s\n" "yes" >&6; }
   20184 
   20185 fi
   20186 fi
   20187 if test x$BUILD_VMWGFX = xyes; then
   20188 #
   20189 # Early versions of mesa 10 forgot to bump the XA major version number in
   20190 # the xa_tracker.h header
   20191 #
   20192 
   20193 pkg_failed=no
   20194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XATRACKER" >&5
   20195 printf %s "checking for XATRACKER... " >&6; }
   20196 
   20197 if test -n "$XATRACKER_CFLAGS"; then
   20198     pkg_cv_XATRACKER_CFLAGS="$XATRACKER_CFLAGS"
   20199  elif test -n "$PKG_CONFIG"; then
   20200     if test -n "$PKG_CONFIG" && \
   20201     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xatracker >= 0.4.0\""; } >&5
   20202   ($PKG_CONFIG --exists --print-errors "xatracker >= 0.4.0") 2>&5
   20203   ac_status=$?
   20204   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20205   test $ac_status = 0; }; then
   20206   pkg_cv_XATRACKER_CFLAGS=`$PKG_CONFIG --cflags "xatracker >= 0.4.0" 2>/dev/null`
   20207 		      test "x$?" != "x0" && pkg_failed=yes
   20208 else
   20209   pkg_failed=yes
   20210 fi
   20211  else
   20212     pkg_failed=untried
   20213 fi
   20214 if test -n "$XATRACKER_LIBS"; then
   20215     pkg_cv_XATRACKER_LIBS="$XATRACKER_LIBS"
   20216  elif test -n "$PKG_CONFIG"; then
   20217     if test -n "$PKG_CONFIG" && \
   20218     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xatracker >= 0.4.0\""; } >&5
   20219   ($PKG_CONFIG --exists --print-errors "xatracker >= 0.4.0") 2>&5
   20220   ac_status=$?
   20221   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20222   test $ac_status = 0; }; then
   20223   pkg_cv_XATRACKER_LIBS=`$PKG_CONFIG --libs "xatracker >= 0.4.0" 2>/dev/null`
   20224 		      test "x$?" != "x0" && pkg_failed=yes
   20225 else
   20226   pkg_failed=yes
   20227 fi
   20228  else
   20229     pkg_failed=untried
   20230 fi
   20231 
   20232 
   20233 
   20234 if test $pkg_failed = yes; then
   20235    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20236 printf "%s\n" "no" >&6; }
   20237 
   20238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20239         _pkg_short_errors_supported=yes
   20240 else
   20241         _pkg_short_errors_supported=no
   20242 fi
   20243         if test $_pkg_short_errors_supported = yes; then
   20244 	        XATRACKER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xatracker >= 0.4.0" 2>&1`
   20245         else
   20246 	        XATRACKER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xatracker >= 0.4.0" 2>&1`
   20247         fi
   20248 	# Put the nasty error message in config.log where it belongs
   20249 	echo "$XATRACKER_PKG_ERRORS" >&5
   20250 
   20251 	BUILD_VMWGFX=no
   20252 elif test $pkg_failed = untried; then
   20253      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20254 printf "%s\n" "no" >&6; }
   20255 	BUILD_VMWGFX=no
   20256 else
   20257 	XATRACKER_CFLAGS=$pkg_cv_XATRACKER_CFLAGS
   20258 	XATRACKER_LIBS=$pkg_cv_XATRACKER_LIBS
   20259         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20260 printf "%s\n" "yes" >&6; }
   20261 	if test -n "$PKG_CONFIG" && \
   20262     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xatracker = 2.0.0\""; } >&5
   20263   ($PKG_CONFIG --exists --print-errors "xatracker = 2.0.0") 2>&5
   20264   ac_status=$?
   20265   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20266   test $ac_status = 0; }; then
   20267 
   20268 printf "%s\n" "#define HAVE_XA_2 1" >>confdefs.h
   20269 
   20270 fi
   20271 fi
   20272 #
   20273 # Check for prime.
   20274 #
   20275 	if test -n "$PKG_CONFIG" && \
   20276     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.38\""; } >&5
   20277   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.38") 2>&5
   20278   ac_status=$?
   20279   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20280   test $ac_status = 0; }; then
   20281 
   20282 printf "%s\n" "#define HAVE_LIBDRM_2_4_38 1" >>confdefs.h
   20283 
   20284 fi
   20285 #
   20286 # Check for drmGetDeviceNameFromFd2. On linux we need
   20287 # 2.4.96 for compatibility with the standalone vmwgfx driver
   20288 #
   20289 	if test -n "$PKG_CONFIG" && \
   20290     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.74\""; } >&5
   20291   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.74") 2>&5
   20292   ac_status=$?
   20293   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20294   test $ac_status = 0; }; then
   20295 
   20296 printf "%s\n" "#define HAVE_LIBDRM_2_4_74 1" >>confdefs.h
   20297 
   20298 fi
   20299 	if test -n "$PKG_CONFIG" && \
   20300     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.96\""; } >&5
   20301   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.96") 2>&5
   20302   ac_status=$?
   20303   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20304   test $ac_status = 0; }; then
   20305 
   20306 printf "%s\n" "#define HAVE_LIBDRM_2_4_96 1" >>confdefs.h
   20307 
   20308 fi
   20309 fi
   20310 
   20311 DRIVER_NAME=vmware
   20312 
   20313 
   20314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build Kernel Mode Setting and 3D" >&5
   20315 printf %s "checking whether to build Kernel Mode Setting and 3D... " >&6; }
   20316 if test x$BUILD_VMWGFX = xyes; then
   20317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20318 printf "%s\n" "yes" >&6; }
   20319 
   20320 printf "%s\n" "#define BUILD_VMWGFX 1" >>confdefs.h
   20321 
   20322 	libudev_check=yes
   20323 
   20324 # Check whether --with-libudev was given.
   20325 if test ${with_libudev+y}
   20326 then :
   20327   withval=$with_libudev; if test x$withval = xno; then libudev_check=no; fi
   20328 
   20329 fi
   20330 
   20331 	if test $libudev_check != no; then
   20332 
   20333 pkg_failed=no
   20334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
   20335 printf %s "checking for LIBUDEV... " >&6; }
   20336 
   20337 if test -n "$LIBUDEV_CFLAGS"; then
   20338     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   20339  elif test -n "$PKG_CONFIG"; then
   20340     if test -n "$PKG_CONFIG" && \
   20341     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   20342   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   20343   ac_status=$?
   20344   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20345   test $ac_status = 0; }; then
   20346   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   20347 		      test "x$?" != "x0" && pkg_failed=yes
   20348 else
   20349   pkg_failed=yes
   20350 fi
   20351  else
   20352     pkg_failed=untried
   20353 fi
   20354 if test -n "$LIBUDEV_LIBS"; then
   20355     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   20356  elif test -n "$PKG_CONFIG"; then
   20357     if test -n "$PKG_CONFIG" && \
   20358     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   20359   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   20360   ac_status=$?
   20361   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20362   test $ac_status = 0; }; then
   20363   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   20364 		      test "x$?" != "x0" && pkg_failed=yes
   20365 else
   20366   pkg_failed=yes
   20367 fi
   20368  else
   20369     pkg_failed=untried
   20370 fi
   20371 
   20372 
   20373 
   20374 if test $pkg_failed = yes; then
   20375    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20376 printf "%s\n" "no" >&6; }
   20377 
   20378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20379         _pkg_short_errors_supported=yes
   20380 else
   20381         _pkg_short_errors_supported=no
   20382 fi
   20383         if test $_pkg_short_errors_supported = yes; then
   20384 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
   20385         else
   20386 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
   20387         fi
   20388 	# Put the nasty error message in config.log where it belongs
   20389 	echo "$LIBUDEV_PKG_ERRORS" >&5
   20390 
   20391 	as_fn_error $? "Package requirements (libudev) were not met:
   20392 
   20393 $LIBUDEV_PKG_ERRORS
   20394 
   20395 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20396 installed software in a non-standard prefix.
   20397 
   20398 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
   20399 and LIBUDEV_LIBS to avoid the need to call pkg-config.
   20400 See the pkg-config man page for more details." "$LINENO" 5
   20401 elif test $pkg_failed = untried; then
   20402      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20403 printf "%s\n" "no" >&6; }
   20404 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20405 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20406 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20407 is in your PATH or set the PKG_CONFIG environment variable to the full
   20408 path to pkg-config.
   20409 
   20410 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
   20411 and LIBUDEV_LIBS to avoid the need to call pkg-config.
   20412 See the pkg-config man page for more details.
   20413 
   20414 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20415 See \`config.log' for more details" "$LINENO" 5; }
   20416 else
   20417 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   20418 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   20419         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20420 printf "%s\n" "yes" >&6; }
   20421 
   20422 printf "%s\n" "#define HAVE_LIBUDEV 1" >>confdefs.h
   20423 
   20424 fi;
   20425         fi
   20426 else
   20427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20428 printf "%s\n" "no" >&6; }
   20429 fi
   20430 
   20431  if test "x$BUILD_VMWGFX" = xyes; then
   20432   BUILD_VMWGFX_TRUE=
   20433   BUILD_VMWGFX_FALSE='#'
   20434 else
   20435   BUILD_VMWGFX_TRUE='#'
   20436   BUILD_VMWGFX_FALSE=
   20437 fi
   20438 
   20439 
   20440 ac_config_files="$ac_config_files Makefile man/Makefile saa/Makefile vmwgfx/Makefile src/Makefile vmwarectrl/Makefile"
   20441 
   20442 
   20443 cat >confcache <<\_ACEOF
   20444 # This file is a shell script that caches the results of configure
   20445 # tests run on this system so they can be shared between configure
   20446 # scripts and configure runs, see configure's option --config-cache.
   20447 # It is not useful on other systems.  If it contains results you don't
   20448 # want to keep, you may remove or edit it.
   20449 #
   20450 # config.status only pays attention to the cache file if you give it
   20451 # the --recheck option to rerun configure.
   20452 #
   20453 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20454 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20455 # following values.
   20456 
   20457 _ACEOF
   20458 
   20459 # The following way of writing the cache mishandles newlines in values,
   20460 # but we know of no workaround that is simple, portable, and efficient.
   20461 # So, we kill variables containing newlines.
   20462 # Ultrix sh set writes to stderr and can't be redirected directly,
   20463 # and sets the high bit in the cache file unless we assign to the vars.
   20464 (
   20465   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20466     eval ac_val=\$$ac_var
   20467     case $ac_val in #(
   20468     *${as_nl}*)
   20469       case $ac_var in #(
   20470       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20471 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20472       esac
   20473       case $ac_var in #(
   20474       _ | IFS | as_nl) ;; #(
   20475       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20476       *) { eval $ac_var=; unset $ac_var;} ;;
   20477       esac ;;
   20478     esac
   20479   done
   20480 
   20481   (set) 2>&1 |
   20482     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20483     *${as_nl}ac_space=\ *)
   20484       # `set' does not quote correctly, so add quotes: double-quote
   20485       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20486       sed -n \
   20487 	"s/'/'\\\\''/g;
   20488 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20489       ;; #(
   20490     *)
   20491       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20492       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20493       ;;
   20494     esac |
   20495     sort
   20496 ) |
   20497   sed '
   20498      /^ac_cv_env_/b end
   20499      t clear
   20500      :clear
   20501      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20502      t end
   20503      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20504      :end' >>confcache
   20505 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20506   if test -w "$cache_file"; then
   20507     if test "x$cache_file" != "x/dev/null"; then
   20508       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20509 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20510       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20511 	cat confcache >"$cache_file"
   20512       else
   20513         case $cache_file in #(
   20514         */* | ?:*)
   20515 	  mv -f confcache "$cache_file"$$ &&
   20516 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20517         *)
   20518 	  mv -f confcache "$cache_file" ;;
   20519 	esac
   20520       fi
   20521     fi
   20522   else
   20523     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20524 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20525   fi
   20526 fi
   20527 rm -f confcache
   20528 
   20529 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20530 # Let make expand exec_prefix.
   20531 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20532 
   20533 DEFS=-DHAVE_CONFIG_H
   20534 
   20535 ac_libobjs=
   20536 ac_ltlibobjs=
   20537 U=
   20538 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20539   # 1. Remove the extension, and $U if already installed.
   20540   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20541   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20542   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20543   #    will be set to the directory where LIBOBJS objects are built.
   20544   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20545   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20546 done
   20547 LIBOBJS=$ac_libobjs
   20548 
   20549 LTLIBOBJS=$ac_ltlibobjs
   20550 
   20551 
   20552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20553 printf %s "checking that generated files are newer than configure... " >&6; }
   20554    if test -n "$am_sleep_pid"; then
   20555      # Hide warnings about reused PIDs.
   20556      wait $am_sleep_pid 2>/dev/null
   20557    fi
   20558    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20559 printf "%s\n" "done" >&6; }
   20560 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20561   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20563 fi
   20564 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20565   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20567 fi
   20568  if test -n "$EXEEXT"; then
   20569   am__EXEEXT_TRUE=
   20570   am__EXEEXT_FALSE='#'
   20571 else
   20572   am__EXEEXT_TRUE='#'
   20573   am__EXEEXT_FALSE=
   20574 fi
   20575 
   20576 if test -z "${BUILD_VMWARECTRL_TRUE}" && test -z "${BUILD_VMWARECTRL_FALSE}"; then
   20577   as_fn_error $? "conditional \"BUILD_VMWARECTRL\" was never defined.
   20578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20579 fi
   20580 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   20581   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   20582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20583 fi
   20584 if test -z "${BUILD_VMWGFX_TRUE}" && test -z "${BUILD_VMWGFX_FALSE}"; then
   20585   as_fn_error $? "conditional \"BUILD_VMWGFX\" was never defined.
   20586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20587 fi
   20588 
   20589 : "${CONFIG_STATUS=./config.status}"
   20590 ac_write_fail=0
   20591 ac_clean_files_save=$ac_clean_files
   20592 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20594 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20595 as_write_fail=0
   20596 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20597 #! $SHELL
   20598 # Generated by $as_me.
   20599 # Run this file to recreate the current configuration.
   20600 # Compiler output produced by configure, useful for debugging
   20601 # configure, is in config.log if it exists.
   20602 
   20603 debug=false
   20604 ac_cs_recheck=false
   20605 ac_cs_silent=false
   20606 
   20607 SHELL=\${CONFIG_SHELL-$SHELL}
   20608 export SHELL
   20609 _ASEOF
   20610 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20611 ## -------------------- ##
   20612 ## M4sh Initialization. ##
   20613 ## -------------------- ##
   20614 
   20615 # Be more Bourne compatible
   20616 DUALCASE=1; export DUALCASE # for MKS sh
   20617 as_nop=:
   20618 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20619 then :
   20620   emulate sh
   20621   NULLCMD=:
   20622   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20623   # is contrary to our usage.  Disable this feature.
   20624   alias -g '${1+"$@"}'='"$@"'
   20625   setopt NO_GLOB_SUBST
   20626 else $as_nop
   20627   case `(set -o) 2>/dev/null` in #(
   20628   *posix*) :
   20629     set -o posix ;; #(
   20630   *) :
   20631      ;;
   20632 esac
   20633 fi
   20634 
   20635 
   20636 
   20637 # Reset variables that may have inherited troublesome values from
   20638 # the environment.
   20639 
   20640 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20641 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20642 # side effect of setting IFS to empty, thus disabling word splitting.)
   20643 # Quoting is to prevent editors from complaining about space-tab.
   20644 as_nl='
   20645 '
   20646 export as_nl
   20647 IFS=" ""	$as_nl"
   20648 
   20649 PS1='$ '
   20650 PS2='> '
   20651 PS4='+ '
   20652 
   20653 # Ensure predictable behavior from utilities with locale-dependent output.
   20654 LC_ALL=C
   20655 export LC_ALL
   20656 LANGUAGE=C
   20657 export LANGUAGE
   20658 
   20659 # We cannot yet rely on "unset" to work, but we need these variables
   20660 # to be unset--not just set to an empty or harmless value--now, to
   20661 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20662 # also avoids known problems related to "unset" and subshell syntax
   20663 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20664 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20665 do eval test \${$as_var+y} \
   20666   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20667 done
   20668 
   20669 # Ensure that fds 0, 1, and 2 are open.
   20670 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20671 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20672 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20673 
   20674 # The user is always right.
   20675 if ${PATH_SEPARATOR+false} :; then
   20676   PATH_SEPARATOR=:
   20677   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20678     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20679       PATH_SEPARATOR=';'
   20680   }
   20681 fi
   20682 
   20683 
   20684 # Find who we are.  Look in the path if we contain no directory separator.
   20685 as_myself=
   20686 case $0 in #((
   20687   *[\\/]* ) as_myself=$0 ;;
   20688   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20689 for as_dir in $PATH
   20690 do
   20691   IFS=$as_save_IFS
   20692   case $as_dir in #(((
   20693     '') as_dir=./ ;;
   20694     */) ;;
   20695     *) as_dir=$as_dir/ ;;
   20696   esac
   20697     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20698   done
   20699 IFS=$as_save_IFS
   20700 
   20701      ;;
   20702 esac
   20703 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20704 # in which case we are not to be found in the path.
   20705 if test "x$as_myself" = x; then
   20706   as_myself=$0
   20707 fi
   20708 if test ! -f "$as_myself"; then
   20709   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20710   exit 1
   20711 fi
   20712 
   20713 
   20714 
   20715 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20716 # ----------------------------------------
   20717 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20718 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20719 # script with STATUS, using 1 if that was 0.
   20720 as_fn_error ()
   20721 {
   20722   as_status=$1; test $as_status -eq 0 && as_status=1
   20723   if test "$4"; then
   20724     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20725     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20726   fi
   20727   printf "%s\n" "$as_me: error: $2" >&2
   20728   as_fn_exit $as_status
   20729 } # as_fn_error
   20730 
   20731 
   20732 
   20733 # as_fn_set_status STATUS
   20734 # -----------------------
   20735 # Set $? to STATUS, without forking.
   20736 as_fn_set_status ()
   20737 {
   20738   return $1
   20739 } # as_fn_set_status
   20740 
   20741 # as_fn_exit STATUS
   20742 # -----------------
   20743 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20744 as_fn_exit ()
   20745 {
   20746   set +e
   20747   as_fn_set_status $1
   20748   exit $1
   20749 } # as_fn_exit
   20750 
   20751 # as_fn_unset VAR
   20752 # ---------------
   20753 # Portably unset VAR.
   20754 as_fn_unset ()
   20755 {
   20756   { eval $1=; unset $1;}
   20757 }
   20758 as_unset=as_fn_unset
   20759 
   20760 # as_fn_append VAR VALUE
   20761 # ----------------------
   20762 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20763 # advantage of any shell optimizations that allow amortized linear growth over
   20764 # repeated appends, instead of the typical quadratic growth present in naive
   20765 # implementations.
   20766 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20767 then :
   20768   eval 'as_fn_append ()
   20769   {
   20770     eval $1+=\$2
   20771   }'
   20772 else $as_nop
   20773   as_fn_append ()
   20774   {
   20775     eval $1=\$$1\$2
   20776   }
   20777 fi # as_fn_append
   20778 
   20779 # as_fn_arith ARG...
   20780 # ------------------
   20781 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20782 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20783 # must be portable across $(()) and expr.
   20784 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20785 then :
   20786   eval 'as_fn_arith ()
   20787   {
   20788     as_val=$(( $* ))
   20789   }'
   20790 else $as_nop
   20791   as_fn_arith ()
   20792   {
   20793     as_val=`expr "$@" || test $? -eq 1`
   20794   }
   20795 fi # as_fn_arith
   20796 
   20797 
   20798 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20799    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20800   as_expr=expr
   20801 else
   20802   as_expr=false
   20803 fi
   20804 
   20805 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20806   as_basename=basename
   20807 else
   20808   as_basename=false
   20809 fi
   20810 
   20811 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20812   as_dirname=dirname
   20813 else
   20814   as_dirname=false
   20815 fi
   20816 
   20817 as_me=`$as_basename -- "$0" ||
   20818 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20819 	 X"$0" : 'X\(//\)$' \| \
   20820 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20821 printf "%s\n" X/"$0" |
   20822     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20823 	    s//\1/
   20824 	    q
   20825 	  }
   20826 	  /^X\/\(\/\/\)$/{
   20827 	    s//\1/
   20828 	    q
   20829 	  }
   20830 	  /^X\/\(\/\).*/{
   20831 	    s//\1/
   20832 	    q
   20833 	  }
   20834 	  s/.*/./; q'`
   20835 
   20836 # Avoid depending upon Character Ranges.
   20837 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20838 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20839 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20840 as_cr_digits='0123456789'
   20841 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20842 
   20843 
   20844 # Determine whether it's possible to make 'echo' print without a newline.
   20845 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20846 # for compatibility with existing Makefiles.
   20847 ECHO_C= ECHO_N= ECHO_T=
   20848 case `echo -n x` in #(((((
   20849 -n*)
   20850   case `echo 'xy\c'` in
   20851   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20852   xy)  ECHO_C='\c';;
   20853   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20854        ECHO_T='	';;
   20855   esac;;
   20856 *)
   20857   ECHO_N='-n';;
   20858 esac
   20859 
   20860 # For backward compatibility with old third-party macros, we provide
   20861 # the shell variables $as_echo and $as_echo_n.  New code should use
   20862 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20863 as_echo='printf %s\n'
   20864 as_echo_n='printf %s'
   20865 
   20866 rm -f conf$$ conf$$.exe conf$$.file
   20867 if test -d conf$$.dir; then
   20868   rm -f conf$$.dir/conf$$.file
   20869 else
   20870   rm -f conf$$.dir
   20871   mkdir conf$$.dir 2>/dev/null
   20872 fi
   20873 if (echo >conf$$.file) 2>/dev/null; then
   20874   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20875     as_ln_s='ln -s'
   20876     # ... but there are two gotchas:
   20877     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20878     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20879     # In both cases, we have to default to `cp -pR'.
   20880     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20881       as_ln_s='cp -pR'
   20882   elif ln conf$$.file conf$$ 2>/dev/null; then
   20883     as_ln_s=ln
   20884   else
   20885     as_ln_s='cp -pR'
   20886   fi
   20887 else
   20888   as_ln_s='cp -pR'
   20889 fi
   20890 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20891 rmdir conf$$.dir 2>/dev/null
   20892 
   20893 
   20894 # as_fn_mkdir_p
   20895 # -------------
   20896 # Create "$as_dir" as a directory, including parents if necessary.
   20897 as_fn_mkdir_p ()
   20898 {
   20899 
   20900   case $as_dir in #(
   20901   -*) as_dir=./$as_dir;;
   20902   esac
   20903   test -d "$as_dir" || eval $as_mkdir_p || {
   20904     as_dirs=
   20905     while :; do
   20906       case $as_dir in #(
   20907       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20908       *) as_qdir=$as_dir;;
   20909       esac
   20910       as_dirs="'$as_qdir' $as_dirs"
   20911       as_dir=`$as_dirname -- "$as_dir" ||
   20912 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20913 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20914 	 X"$as_dir" : 'X\(//\)$' \| \
   20915 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20916 printf "%s\n" X"$as_dir" |
   20917     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20918 	    s//\1/
   20919 	    q
   20920 	  }
   20921 	  /^X\(\/\/\)[^/].*/{
   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       test -d "$as_dir" && break
   20935     done
   20936     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20937   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20938 
   20939 
   20940 } # as_fn_mkdir_p
   20941 if mkdir -p . 2>/dev/null; then
   20942   as_mkdir_p='mkdir -p "$as_dir"'
   20943 else
   20944   test -d ./-p && rmdir ./-p
   20945   as_mkdir_p=false
   20946 fi
   20947 
   20948 
   20949 # as_fn_executable_p FILE
   20950 # -----------------------
   20951 # Test if FILE is an executable regular file.
   20952 as_fn_executable_p ()
   20953 {
   20954   test -f "$1" && test -x "$1"
   20955 } # as_fn_executable_p
   20956 as_test_x='test -x'
   20957 as_executable_p=as_fn_executable_p
   20958 
   20959 # Sed expression to map a string onto a valid CPP name.
   20960 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20961 
   20962 # Sed expression to map a string onto a valid variable name.
   20963 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20964 
   20965 
   20966 exec 6>&1
   20967 ## ----------------------------------- ##
   20968 ## Main body of $CONFIG_STATUS script. ##
   20969 ## ----------------------------------- ##
   20970 _ASEOF
   20971 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20972 
   20973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20974 # Save the log message, to keep $0 and so on meaningful, and to
   20975 # report actual input values of CONFIG_FILES etc. instead of their
   20976 # values after options handling.
   20977 ac_log="
   20978 This file was extended by xf86-video-vmware $as_me 13.4.0, which was
   20979 generated by GNU Autoconf 2.71.  Invocation command line was
   20980 
   20981   CONFIG_FILES    = $CONFIG_FILES
   20982   CONFIG_HEADERS  = $CONFIG_HEADERS
   20983   CONFIG_LINKS    = $CONFIG_LINKS
   20984   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20985   $ $0 $@
   20986 
   20987 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20988 "
   20989 
   20990 _ACEOF
   20991 
   20992 case $ac_config_files in *"
   20993 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20994 esac
   20995 
   20996 case $ac_config_headers in *"
   20997 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20998 esac
   20999 
   21000 
   21001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21002 # Files that config.status was made for.
   21003 config_files="$ac_config_files"
   21004 config_headers="$ac_config_headers"
   21005 config_commands="$ac_config_commands"
   21006 
   21007 _ACEOF
   21008 
   21009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21010 ac_cs_usage="\
   21011 \`$as_me' instantiates files and other configuration actions
   21012 from templates according to the current configuration.  Unless the files
   21013 and actions are specified as TAGs, all are instantiated by default.
   21014 
   21015 Usage: $0 [OPTION]... [TAG]...
   21016 
   21017   -h, --help       print this help, then exit
   21018   -V, --version    print version number and configuration settings, then exit
   21019       --config     print configuration, then exit
   21020   -q, --quiet, --silent
   21021                    do not print progress messages
   21022   -d, --debug      don't remove temporary files
   21023       --recheck    update $as_me by reconfiguring in the same conditions
   21024       --file=FILE[:TEMPLATE]
   21025                    instantiate the configuration file FILE
   21026       --header=FILE[:TEMPLATE]
   21027                    instantiate the configuration header FILE
   21028 
   21029 Configuration files:
   21030 $config_files
   21031 
   21032 Configuration headers:
   21033 $config_headers
   21034 
   21035 Configuration commands:
   21036 $config_commands
   21037 
   21038 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   21039 
   21040 _ACEOF
   21041 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21042 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21044 ac_cs_config='$ac_cs_config_escaped'
   21045 ac_cs_version="\\
   21046 xf86-video-vmware config.status 13.4.0
   21047 configured by $0, generated by GNU Autoconf 2.71,
   21048   with options \\"\$ac_cs_config\\"
   21049 
   21050 Copyright (C) 2021 Free Software Foundation, Inc.
   21051 This config.status script is free software; the Free Software Foundation
   21052 gives unlimited permission to copy, distribute and modify it."
   21053 
   21054 ac_pwd='$ac_pwd'
   21055 srcdir='$srcdir'
   21056 INSTALL='$INSTALL'
   21057 MKDIR_P='$MKDIR_P'
   21058 AWK='$AWK'
   21059 test -n "\$AWK" || AWK=awk
   21060 _ACEOF
   21061 
   21062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21063 # The default lists apply if the user does not specify any file.
   21064 ac_need_defaults=:
   21065 while test $# != 0
   21066 do
   21067   case $1 in
   21068   --*=?*)
   21069     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21070     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21071     ac_shift=:
   21072     ;;
   21073   --*=)
   21074     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21075     ac_optarg=
   21076     ac_shift=:
   21077     ;;
   21078   *)
   21079     ac_option=$1
   21080     ac_optarg=$2
   21081     ac_shift=shift
   21082     ;;
   21083   esac
   21084 
   21085   case $ac_option in
   21086   # Handling of the options.
   21087   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21088     ac_cs_recheck=: ;;
   21089   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21090     printf "%s\n" "$ac_cs_version"; exit ;;
   21091   --config | --confi | --conf | --con | --co | --c )
   21092     printf "%s\n" "$ac_cs_config"; exit ;;
   21093   --debug | --debu | --deb | --de | --d | -d )
   21094     debug=: ;;
   21095   --file | --fil | --fi | --f )
   21096     $ac_shift
   21097     case $ac_optarg in
   21098     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21099     '') as_fn_error $? "missing file argument" ;;
   21100     esac
   21101     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21102     ac_need_defaults=false;;
   21103   --header | --heade | --head | --hea )
   21104     $ac_shift
   21105     case $ac_optarg in
   21106     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21107     esac
   21108     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21109     ac_need_defaults=false;;
   21110   --he | --h)
   21111     # Conflict between --help and --header
   21112     as_fn_error $? "ambiguous option: \`$1'
   21113 Try \`$0 --help' for more information.";;
   21114   --help | --hel | -h )
   21115     printf "%s\n" "$ac_cs_usage"; exit ;;
   21116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21117   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21118     ac_cs_silent=: ;;
   21119 
   21120   # This is an error.
   21121   -*) as_fn_error $? "unrecognized option: \`$1'
   21122 Try \`$0 --help' for more information." ;;
   21123 
   21124   *) as_fn_append ac_config_targets " $1"
   21125      ac_need_defaults=false ;;
   21126 
   21127   esac
   21128   shift
   21129 done
   21130 
   21131 ac_configure_extra_args=
   21132 
   21133 if $ac_cs_silent; then
   21134   exec 6>/dev/null
   21135   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21136 fi
   21137 
   21138 _ACEOF
   21139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21140 if \$ac_cs_recheck; then
   21141   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21142   shift
   21143   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21144   CONFIG_SHELL='$SHELL'
   21145   export CONFIG_SHELL
   21146   exec "\$@"
   21147 fi
   21148 
   21149 _ACEOF
   21150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21151 exec 5>>config.log
   21152 {
   21153   echo
   21154   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21155 ## Running $as_me. ##
   21156 _ASBOX
   21157   printf "%s\n" "$ac_log"
   21158 } >&5
   21159 
   21160 _ACEOF
   21161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21162 #
   21163 # INIT-COMMANDS
   21164 #
   21165 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21166 
   21167 
   21168 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21169 # if CDPATH is set.
   21170 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21171 
   21172 sed_quote_subst='$sed_quote_subst'
   21173 double_quote_subst='$double_quote_subst'
   21174 delay_variable_subst='$delay_variable_subst'
   21175 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21176 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21177 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21178 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21179 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21180 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21181 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21182 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21183 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21184 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21185 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21186 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21187 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21188 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21189 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21190 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21191 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21192 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21193 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21194 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21195 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21196 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21197 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21198 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21199 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21200 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21201 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21202 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21203 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21204 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21205 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21206 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21207 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21208 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21209 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21210 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21211 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21212 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21213 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21214 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21215 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21216 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21217 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21218 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21219 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21220 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21221 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21222 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21223 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21224 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21225 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21226 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21227 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21228 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21229 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21230 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21231 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21232 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21233 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21234 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21235 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"`'
   21236 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21237 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21238 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21239 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21240 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21241 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21242 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21243 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21244 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21245 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21246 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21247 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21248 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21249 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21250 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21251 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21252 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21253 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21254 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21255 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21256 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21257 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21258 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21259 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21260 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21261 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21262 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21263 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21264 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21265 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21266 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21267 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21268 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21269 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21270 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21271 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21272 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21273 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21274 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21275 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21276 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21277 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21278 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21279 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21280 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21281 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21282 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21283 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21284 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21285 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21286 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21287 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21288 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21289 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21290 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21291 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21292 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21293 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21294 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21295 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21296 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21297 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21298 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21299 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21300 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21301 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21302 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21303 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21304 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21305 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21306 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21307 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21308 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21309 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21310 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21311 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21312 
   21313 LTCC='$LTCC'
   21314 LTCFLAGS='$LTCFLAGS'
   21315 compiler='$compiler_DEFAULT'
   21316 
   21317 # A function that is used when there is no print builtin or printf.
   21318 func_fallback_echo ()
   21319 {
   21320   eval 'cat <<_LTECHO_EOF
   21321 \$1
   21322 _LTECHO_EOF'
   21323 }
   21324 
   21325 # Quote evaled strings.
   21326 for var in SHELL \
   21327 ECHO \
   21328 PATH_SEPARATOR \
   21329 SED \
   21330 GREP \
   21331 EGREP \
   21332 FGREP \
   21333 LD \
   21334 NM \
   21335 LN_S \
   21336 lt_SP2NL \
   21337 lt_NL2SP \
   21338 reload_flag \
   21339 FILECMD \
   21340 OBJDUMP \
   21341 deplibs_check_method \
   21342 file_magic_cmd \
   21343 file_magic_glob \
   21344 want_nocaseglob \
   21345 DLLTOOL \
   21346 sharedlib_from_linklib_cmd \
   21347 AR \
   21348 archiver_list_spec \
   21349 STRIP \
   21350 RANLIB \
   21351 CC \
   21352 CFLAGS \
   21353 compiler \
   21354 lt_cv_sys_global_symbol_pipe \
   21355 lt_cv_sys_global_symbol_to_cdecl \
   21356 lt_cv_sys_global_symbol_to_import \
   21357 lt_cv_sys_global_symbol_to_c_name_address \
   21358 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21359 lt_cv_nm_interface \
   21360 nm_file_list_spec \
   21361 lt_cv_truncate_bin \
   21362 lt_prog_compiler_no_builtin_flag \
   21363 lt_prog_compiler_pic \
   21364 lt_prog_compiler_wl \
   21365 lt_prog_compiler_static \
   21366 lt_cv_prog_compiler_c_o \
   21367 need_locks \
   21368 MANIFEST_TOOL \
   21369 DSYMUTIL \
   21370 NMEDIT \
   21371 LIPO \
   21372 OTOOL \
   21373 OTOOL64 \
   21374 shrext_cmds \
   21375 export_dynamic_flag_spec \
   21376 whole_archive_flag_spec \
   21377 compiler_needs_object \
   21378 with_gnu_ld \
   21379 allow_undefined_flag \
   21380 no_undefined_flag \
   21381 hardcode_libdir_flag_spec \
   21382 hardcode_libdir_separator \
   21383 exclude_expsyms \
   21384 include_expsyms \
   21385 file_list_spec \
   21386 variables_saved_for_relink \
   21387 libname_spec \
   21388 library_names_spec \
   21389 soname_spec \
   21390 install_override_mode \
   21391 finish_eval \
   21392 old_striplib \
   21393 striplib; do
   21394     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21395     *[\\\\\\\`\\"\\\$]*)
   21396       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21397       ;;
   21398     *)
   21399       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21400       ;;
   21401     esac
   21402 done
   21403 
   21404 # Double-quote double-evaled strings.
   21405 for var in reload_cmds \
   21406 old_postinstall_cmds \
   21407 old_postuninstall_cmds \
   21408 old_archive_cmds \
   21409 extract_expsyms_cmds \
   21410 old_archive_from_new_cmds \
   21411 old_archive_from_expsyms_cmds \
   21412 archive_cmds \
   21413 archive_expsym_cmds \
   21414 module_cmds \
   21415 module_expsym_cmds \
   21416 export_symbols_cmds \
   21417 prelink_cmds \
   21418 postlink_cmds \
   21419 postinstall_cmds \
   21420 postuninstall_cmds \
   21421 finish_cmds \
   21422 sys_lib_search_path_spec \
   21423 configure_time_dlsearch_path \
   21424 configure_time_lt_sys_library_path; do
   21425     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21426     *[\\\\\\\`\\"\\\$]*)
   21427       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21428       ;;
   21429     *)
   21430       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21431       ;;
   21432     esac
   21433 done
   21434 
   21435 ac_aux_dir='$ac_aux_dir'
   21436 
   21437 # See if we are running on zsh, and set the options that allow our
   21438 # commands through without removal of \ escapes INIT.
   21439 if test -n "\${ZSH_VERSION+set}"; then
   21440    setopt NO_GLOB_SUBST
   21441 fi
   21442 
   21443 
   21444     PACKAGE='$PACKAGE'
   21445     VERSION='$VERSION'
   21446     RM='$RM'
   21447     ofile='$ofile'
   21448 
   21449 
   21450 
   21451 
   21452 _ACEOF
   21453 
   21454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21455 
   21456 # Handling of arguments.
   21457 for ac_config_target in $ac_config_targets
   21458 do
   21459   case $ac_config_target in
   21460     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21461     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21462     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21463     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21464     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21465     "saa/Makefile") CONFIG_FILES="$CONFIG_FILES saa/Makefile" ;;
   21466     "vmwgfx/Makefile") CONFIG_FILES="$CONFIG_FILES vmwgfx/Makefile" ;;
   21467     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21468     "vmwarectrl/Makefile") CONFIG_FILES="$CONFIG_FILES vmwarectrl/Makefile" ;;
   21469 
   21470   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21471   esac
   21472 done
   21473 
   21474 
   21475 # If the user did not use the arguments to specify the items to instantiate,
   21476 # then the envvar interface is used.  Set only those that are not.
   21477 # We use the long form for the default assignment because of an extremely
   21478 # bizarre bug on SunOS 4.1.3.
   21479 if $ac_need_defaults; then
   21480   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21481   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21482   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21483 fi
   21484 
   21485 # Have a temporary directory for convenience.  Make it in the build tree
   21486 # simply because there is no reason against having it here, and in addition,
   21487 # creating and moving files from /tmp can sometimes cause problems.
   21488 # Hook for its removal unless debugging.
   21489 # Note that there is a small window in which the directory will not be cleaned:
   21490 # after its creation but before its name has been assigned to `$tmp'.
   21491 $debug ||
   21492 {
   21493   tmp= ac_tmp=
   21494   trap 'exit_status=$?
   21495   : "${ac_tmp:=$tmp}"
   21496   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21497 ' 0
   21498   trap 'as_fn_exit 1' 1 2 13 15
   21499 }
   21500 # Create a (secure) tmp directory for tmp files.
   21501 
   21502 {
   21503   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21504   test -d "$tmp"
   21505 }  ||
   21506 {
   21507   tmp=./conf$$-$RANDOM
   21508   (umask 077 && mkdir "$tmp")
   21509 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21510 ac_tmp=$tmp
   21511 
   21512 # Set up the scripts for CONFIG_FILES section.
   21513 # No need to generate them if there are no CONFIG_FILES.
   21514 # This happens for instance with `./config.status config.h'.
   21515 if test -n "$CONFIG_FILES"; then
   21516 
   21517 
   21518 ac_cr=`echo X | tr X '\015'`
   21519 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21520 # But we know of no other shell where ac_cr would be empty at this
   21521 # point, so we can use a bashism as a fallback.
   21522 if test "x$ac_cr" = x; then
   21523   eval ac_cr=\$\'\\r\'
   21524 fi
   21525 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21526 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21527   ac_cs_awk_cr='\\r'
   21528 else
   21529   ac_cs_awk_cr=$ac_cr
   21530 fi
   21531 
   21532 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21533 _ACEOF
   21534 
   21535 
   21536 {
   21537   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21538   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21539   echo "_ACEOF"
   21540 } >conf$$subs.sh ||
   21541   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21542 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21543 ac_delim='%!_!# '
   21544 for ac_last_try in false false false false false :; do
   21545   . ./conf$$subs.sh ||
   21546     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21547 
   21548   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21549   if test $ac_delim_n = $ac_delim_num; then
   21550     break
   21551   elif $ac_last_try; then
   21552     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21553   else
   21554     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21555   fi
   21556 done
   21557 rm -f conf$$subs.sh
   21558 
   21559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21560 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21561 _ACEOF
   21562 sed -n '
   21563 h
   21564 s/^/S["/; s/!.*/"]=/
   21565 p
   21566 g
   21567 s/^[^!]*!//
   21568 :repl
   21569 t repl
   21570 s/'"$ac_delim"'$//
   21571 t delim
   21572 :nl
   21573 h
   21574 s/\(.\{148\}\)..*/\1/
   21575 t more1
   21576 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21577 p
   21578 n
   21579 b repl
   21580 :more1
   21581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21582 p
   21583 g
   21584 s/.\{148\}//
   21585 t nl
   21586 :delim
   21587 h
   21588 s/\(.\{148\}\)..*/\1/
   21589 t more2
   21590 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21591 p
   21592 b
   21593 :more2
   21594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21595 p
   21596 g
   21597 s/.\{148\}//
   21598 t delim
   21599 ' <conf$$subs.awk | sed '
   21600 /^[^""]/{
   21601   N
   21602   s/\n//
   21603 }
   21604 ' >>$CONFIG_STATUS || ac_write_fail=1
   21605 rm -f conf$$subs.awk
   21606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21607 _ACAWK
   21608 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21609   for (key in S) S_is_set[key] = 1
   21610   FS = ""
   21611 
   21612 }
   21613 {
   21614   line = $ 0
   21615   nfields = split(line, field, "@")
   21616   substed = 0
   21617   len = length(field[1])
   21618   for (i = 2; i < nfields; i++) {
   21619     key = field[i]
   21620     keylen = length(key)
   21621     if (S_is_set[key]) {
   21622       value = S[key]
   21623       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21624       len += length(value) + length(field[++i])
   21625       substed = 1
   21626     } else
   21627       len += 1 + keylen
   21628   }
   21629 
   21630   print line
   21631 }
   21632 
   21633 _ACAWK
   21634 _ACEOF
   21635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21636 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21637   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21638 else
   21639   cat
   21640 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21641   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21642 _ACEOF
   21643 
   21644 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21645 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21646 # trailing colons and then remove the whole line if VPATH becomes empty
   21647 # (actually we leave an empty line to preserve line numbers).
   21648 if test "x$srcdir" = x.; then
   21649   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21650 h
   21651 s///
   21652 s/^/:/
   21653 s/[	 ]*$/:/
   21654 s/:\$(srcdir):/:/g
   21655 s/:\${srcdir}:/:/g
   21656 s/:@srcdir@:/:/g
   21657 s/^:*//
   21658 s/:*$//
   21659 x
   21660 s/\(=[	 ]*\).*/\1/
   21661 G
   21662 s/\n//
   21663 s/^[^=]*=[	 ]*$//
   21664 }'
   21665 fi
   21666 
   21667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21668 fi # test -n "$CONFIG_FILES"
   21669 
   21670 # Set up the scripts for CONFIG_HEADERS section.
   21671 # No need to generate them if there are no CONFIG_HEADERS.
   21672 # This happens for instance with `./config.status Makefile'.
   21673 if test -n "$CONFIG_HEADERS"; then
   21674 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21675 BEGIN {
   21676 _ACEOF
   21677 
   21678 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21679 # here-document in config.status, that substitutes the proper values into
   21680 # config.h.in to produce config.h.
   21681 
   21682 # Create a delimiter string that does not exist in confdefs.h, to ease
   21683 # handling of long lines.
   21684 ac_delim='%!_!# '
   21685 for ac_last_try in false false :; do
   21686   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21687   if test -z "$ac_tt"; then
   21688     break
   21689   elif $ac_last_try; then
   21690     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21691   else
   21692     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21693   fi
   21694 done
   21695 
   21696 # For the awk script, D is an array of macro values keyed by name,
   21697 # likewise P contains macro parameters if any.  Preserve backslash
   21698 # newline sequences.
   21699 
   21700 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21701 sed -n '
   21702 s/.\{148\}/&'"$ac_delim"'/g
   21703 t rset
   21704 :rset
   21705 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21706 t def
   21707 d
   21708 :def
   21709 s/\\$//
   21710 t bsnl
   21711 s/["\\]/\\&/g
   21712 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21713 D["\1"]=" \3"/p
   21714 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21715 d
   21716 :bsnl
   21717 s/["\\]/\\&/g
   21718 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21719 D["\1"]=" \3\\\\\\n"\\/p
   21720 t cont
   21721 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21722 t cont
   21723 d
   21724 :cont
   21725 n
   21726 s/.\{148\}/&'"$ac_delim"'/g
   21727 t clear
   21728 :clear
   21729 s/\\$//
   21730 t bsnlc
   21731 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21732 d
   21733 :bsnlc
   21734 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21735 b cont
   21736 ' <confdefs.h | sed '
   21737 s/'"$ac_delim"'/"\\\
   21738 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21739 
   21740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21741   for (key in D) D_is_set[key] = 1
   21742   FS = ""
   21743 }
   21744 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21745   line = \$ 0
   21746   split(line, arg, " ")
   21747   if (arg[1] == "#") {
   21748     defundef = arg[2]
   21749     mac1 = arg[3]
   21750   } else {
   21751     defundef = substr(arg[1], 2)
   21752     mac1 = arg[2]
   21753   }
   21754   split(mac1, mac2, "(") #)
   21755   macro = mac2[1]
   21756   prefix = substr(line, 1, index(line, defundef) - 1)
   21757   if (D_is_set[macro]) {
   21758     # Preserve the white space surrounding the "#".
   21759     print prefix "define", macro P[macro] D[macro]
   21760     next
   21761   } else {
   21762     # Replace #undef with comments.  This is necessary, for example,
   21763     # in the case of _POSIX_SOURCE, which is predefined and required
   21764     # on some systems where configure will not decide to define it.
   21765     if (defundef == "undef") {
   21766       print "/*", prefix defundef, macro, "*/"
   21767       next
   21768     }
   21769   }
   21770 }
   21771 { print }
   21772 _ACAWK
   21773 _ACEOF
   21774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21775   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21776 fi # test -n "$CONFIG_HEADERS"
   21777 
   21778 
   21779 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21780 shift
   21781 for ac_tag
   21782 do
   21783   case $ac_tag in
   21784   :[FHLC]) ac_mode=$ac_tag; continue;;
   21785   esac
   21786   case $ac_mode$ac_tag in
   21787   :[FHL]*:*);;
   21788   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21789   :[FH]-) ac_tag=-:-;;
   21790   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21791   esac
   21792   ac_save_IFS=$IFS
   21793   IFS=:
   21794   set x $ac_tag
   21795   IFS=$ac_save_IFS
   21796   shift
   21797   ac_file=$1
   21798   shift
   21799 
   21800   case $ac_mode in
   21801   :L) ac_source=$1;;
   21802   :[FH])
   21803     ac_file_inputs=
   21804     for ac_f
   21805     do
   21806       case $ac_f in
   21807       -) ac_f="$ac_tmp/stdin";;
   21808       *) # Look for the file first in the build tree, then in the source tree
   21809 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21810 	 # because $ac_f cannot contain `:'.
   21811 	 test -f "$ac_f" ||
   21812 	   case $ac_f in
   21813 	   [\\/$]*) false;;
   21814 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21815 	   esac ||
   21816 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21817       esac
   21818       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21819       as_fn_append ac_file_inputs " '$ac_f'"
   21820     done
   21821 
   21822     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21823     # use $as_me), people would be surprised to read:
   21824     #    /* config.h.  Generated by config.status.  */
   21825     configure_input='Generated from '`
   21826 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21827 	`' by configure.'
   21828     if test x"$ac_file" != x-; then
   21829       configure_input="$ac_file.  $configure_input"
   21830       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21831 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21832     fi
   21833     # Neutralize special characters interpreted by sed in replacement strings.
   21834     case $configure_input in #(
   21835     *\&* | *\|* | *\\* )
   21836        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21837        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21838     *) ac_sed_conf_input=$configure_input;;
   21839     esac
   21840 
   21841     case $ac_tag in
   21842     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21843       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21844     esac
   21845     ;;
   21846   esac
   21847 
   21848   ac_dir=`$as_dirname -- "$ac_file" ||
   21849 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21850 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21851 	 X"$ac_file" : 'X\(//\)$' \| \
   21852 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21853 printf "%s\n" X"$ac_file" |
   21854     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21855 	    s//\1/
   21856 	    q
   21857 	  }
   21858 	  /^X\(\/\/\)[^/].*/{
   21859 	    s//\1/
   21860 	    q
   21861 	  }
   21862 	  /^X\(\/\/\)$/{
   21863 	    s//\1/
   21864 	    q
   21865 	  }
   21866 	  /^X\(\/\).*/{
   21867 	    s//\1/
   21868 	    q
   21869 	  }
   21870 	  s/.*/./; q'`
   21871   as_dir="$ac_dir"; as_fn_mkdir_p
   21872   ac_builddir=.
   21873 
   21874 case "$ac_dir" in
   21875 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21876 *)
   21877   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21878   # A ".." for each directory in $ac_dir_suffix.
   21879   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21880   case $ac_top_builddir_sub in
   21881   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21882   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21883   esac ;;
   21884 esac
   21885 ac_abs_top_builddir=$ac_pwd
   21886 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21887 # for backward compatibility:
   21888 ac_top_builddir=$ac_top_build_prefix
   21889 
   21890 case $srcdir in
   21891   .)  # We are building in place.
   21892     ac_srcdir=.
   21893     ac_top_srcdir=$ac_top_builddir_sub
   21894     ac_abs_top_srcdir=$ac_pwd ;;
   21895   [\\/]* | ?:[\\/]* )  # Absolute name.
   21896     ac_srcdir=$srcdir$ac_dir_suffix;
   21897     ac_top_srcdir=$srcdir
   21898     ac_abs_top_srcdir=$srcdir ;;
   21899   *) # Relative name.
   21900     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21901     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21902     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21903 esac
   21904 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21905 
   21906 
   21907   case $ac_mode in
   21908   :F)
   21909   #
   21910   # CONFIG_FILE
   21911   #
   21912 
   21913   case $INSTALL in
   21914   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21915   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21916   esac
   21917   ac_MKDIR_P=$MKDIR_P
   21918   case $MKDIR_P in
   21919   [\\/$]* | ?:[\\/]* ) ;;
   21920   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21921   esac
   21922 _ACEOF
   21923 
   21924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21925 # If the template does not know about datarootdir, expand it.
   21926 # FIXME: This hack should be removed a few years after 2.60.
   21927 ac_datarootdir_hack=; ac_datarootdir_seen=
   21928 ac_sed_dataroot='
   21929 /datarootdir/ {
   21930   p
   21931   q
   21932 }
   21933 /@datadir@/p
   21934 /@docdir@/p
   21935 /@infodir@/p
   21936 /@localedir@/p
   21937 /@mandir@/p'
   21938 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21939 *datarootdir*) ac_datarootdir_seen=yes;;
   21940 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21942 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21943 _ACEOF
   21944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21945   ac_datarootdir_hack='
   21946   s&@datadir@&$datadir&g
   21947   s&@docdir@&$docdir&g
   21948   s&@infodir@&$infodir&g
   21949   s&@localedir@&$localedir&g
   21950   s&@mandir@&$mandir&g
   21951   s&\\\${datarootdir}&$datarootdir&g' ;;
   21952 esac
   21953 _ACEOF
   21954 
   21955 # Neutralize VPATH when `$srcdir' = `.'.
   21956 # Shell code in configure.ac might set extrasub.
   21957 # FIXME: do we really want to maintain this feature?
   21958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21959 ac_sed_extra="$ac_vpsub
   21960 $extrasub
   21961 _ACEOF
   21962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21963 :t
   21964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21965 s|@configure_input@|$ac_sed_conf_input|;t t
   21966 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21967 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21968 s&@srcdir@&$ac_srcdir&;t t
   21969 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21970 s&@top_srcdir@&$ac_top_srcdir&;t t
   21971 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21972 s&@builddir@&$ac_builddir&;t t
   21973 s&@abs_builddir@&$ac_abs_builddir&;t t
   21974 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21975 s&@INSTALL@&$ac_INSTALL&;t t
   21976 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21977 $ac_datarootdir_hack
   21978 "
   21979 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21980   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21981 
   21982 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21983   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21984   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21985       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21987 which seems to be undefined.  Please make sure it is defined" >&5
   21988 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21989 which seems to be undefined.  Please make sure it is defined" >&2;}
   21990 
   21991   rm -f "$ac_tmp/stdin"
   21992   case $ac_file in
   21993   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21994   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21995   esac \
   21996   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21997  ;;
   21998   :H)
   21999   #
   22000   # CONFIG_HEADER
   22001   #
   22002   if test x"$ac_file" != x-; then
   22003     {
   22004       printf "%s\n" "/* $configure_input  */" >&1 \
   22005       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22006     } >"$ac_tmp/config.h" \
   22007       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22008     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22009       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22010 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22011     else
   22012       rm -f "$ac_file"
   22013       mv "$ac_tmp/config.h" "$ac_file" \
   22014 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22015     fi
   22016   else
   22017     printf "%s\n" "/* $configure_input  */" >&1 \
   22018       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22019       || as_fn_error $? "could not create -" "$LINENO" 5
   22020   fi
   22021 # Compute "$ac_file"'s index in $config_headers.
   22022 _am_arg="$ac_file"
   22023 _am_stamp_count=1
   22024 for _am_header in $config_headers :; do
   22025   case $_am_header in
   22026     $_am_arg | $_am_arg:* )
   22027       break ;;
   22028     * )
   22029       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22030   esac
   22031 done
   22032 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22033 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22034 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22035 	 X"$_am_arg" : 'X\(//\)$' \| \
   22036 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22037 printf "%s\n" X"$_am_arg" |
   22038     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22039 	    s//\1/
   22040 	    q
   22041 	  }
   22042 	  /^X\(\/\/\)[^/].*/{
   22043 	    s//\1/
   22044 	    q
   22045 	  }
   22046 	  /^X\(\/\/\)$/{
   22047 	    s//\1/
   22048 	    q
   22049 	  }
   22050 	  /^X\(\/\).*/{
   22051 	    s//\1/
   22052 	    q
   22053 	  }
   22054 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22055  ;;
   22056 
   22057   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22058 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22059  ;;
   22060   esac
   22061 
   22062 
   22063   case $ac_file$ac_mode in
   22064     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22065   # Older Autoconf quotes --file arguments for eval, but not when files
   22066   # are listed without --file.  Let's play safe and only enable the eval
   22067   # if we detect the quoting.
   22068   # TODO: see whether this extra hack can be removed once we start
   22069   # requiring Autoconf 2.70 or later.
   22070   case $CONFIG_FILES in #(
   22071   *\'*) :
   22072     eval set x "$CONFIG_FILES" ;; #(
   22073   *) :
   22074     set x $CONFIG_FILES ;; #(
   22075   *) :
   22076      ;;
   22077 esac
   22078   shift
   22079   # Used to flag and report bootstrapping failures.
   22080   am_rc=0
   22081   for am_mf
   22082   do
   22083     # Strip MF so we end up with the name of the file.
   22084     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22085     # Check whether this is an Automake generated Makefile which includes
   22086     # dependency-tracking related rules and includes.
   22087     # Grep'ing the whole file directly is not great: AIX grep has a line
   22088     # limit of 2048, but all sed's we know have understand at least 4000.
   22089     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22090       || continue
   22091     am_dirpart=`$as_dirname -- "$am_mf" ||
   22092 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22093 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22094 	 X"$am_mf" : 'X\(//\)$' \| \
   22095 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22096 printf "%s\n" X"$am_mf" |
   22097     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22098 	    s//\1/
   22099 	    q
   22100 	  }
   22101 	  /^X\(\/\/\)[^/].*/{
   22102 	    s//\1/
   22103 	    q
   22104 	  }
   22105 	  /^X\(\/\/\)$/{
   22106 	    s//\1/
   22107 	    q
   22108 	  }
   22109 	  /^X\(\/\).*/{
   22110 	    s//\1/
   22111 	    q
   22112 	  }
   22113 	  s/.*/./; q'`
   22114     am_filepart=`$as_basename -- "$am_mf" ||
   22115 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22116 	 X"$am_mf" : 'X\(//\)$' \| \
   22117 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22118 printf "%s\n" X/"$am_mf" |
   22119     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22120 	    s//\1/
   22121 	    q
   22122 	  }
   22123 	  /^X\/\(\/\/\)$/{
   22124 	    s//\1/
   22125 	    q
   22126 	  }
   22127 	  /^X\/\(\/\).*/{
   22128 	    s//\1/
   22129 	    q
   22130 	  }
   22131 	  s/.*/./; q'`
   22132     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22133       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22134         | $MAKE -f - am--depfiles" >&5
   22135    (cd "$am_dirpart" \
   22136       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22137         | $MAKE -f - am--depfiles) >&5 2>&5
   22138    ac_status=$?
   22139    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22140    (exit $ac_status); } || am_rc=$?
   22141   done
   22142   if test $am_rc -ne 0; then
   22143     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22144 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22145 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22146     for automatic dependency tracking.  If GNU make was not used, consider
   22147     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22148     necessary).  You can also try re-running configure with the
   22149     '--disable-dependency-tracking' option to at least be able to build
   22150     the package (albeit without support for automatic dependency tracking).
   22151 See \`config.log' for more details" "$LINENO" 5; }
   22152   fi
   22153   { am_dirpart=; unset am_dirpart;}
   22154   { am_filepart=; unset am_filepart;}
   22155   { am_mf=; unset am_mf;}
   22156   { am_rc=; unset am_rc;}
   22157   rm -f conftest-deps.mk
   22158 }
   22159  ;;
   22160     "libtool":C)
   22161 
   22162     # See if we are running on zsh, and set the options that allow our
   22163     # commands through without removal of \ escapes.
   22164     if test -n "${ZSH_VERSION+set}"; then
   22165       setopt NO_GLOB_SUBST
   22166     fi
   22167 
   22168     cfgfile=${ofile}T
   22169     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22170     $RM "$cfgfile"
   22171 
   22172     cat <<_LT_EOF >> "$cfgfile"
   22173 #! $SHELL
   22174 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22175 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22176 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22177 
   22178 # Provide generalized library-building support services.
   22179 # Written by Gordon Matzigkeit, 1996
   22180 
   22181 # Copyright (C) 2014 Free Software Foundation, Inc.
   22182 # This is free software; see the source for copying conditions.  There is NO
   22183 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22184 
   22185 # GNU Libtool is free software; you can redistribute it and/or modify
   22186 # it under the terms of the GNU General Public License as published by
   22187 # the Free Software Foundation; either version 2 of of the License, or
   22188 # (at your option) any later version.
   22189 #
   22190 # As a special exception to the GNU General Public License, if you
   22191 # distribute this file as part of a program or library that is built
   22192 # using GNU Libtool, you may include this file under the  same
   22193 # distribution terms that you use for the rest of that program.
   22194 #
   22195 # GNU Libtool is distributed in the hope that it will be useful, but
   22196 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22197 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22198 # GNU General Public License for more details.
   22199 #
   22200 # You should have received a copy of the GNU General Public License
   22201 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22202 
   22203 
   22204 # The names of the tagged configurations supported by this script.
   22205 available_tags=''
   22206 
   22207 # Configured defaults for sys_lib_dlsearch_path munging.
   22208 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22209 
   22210 # ### BEGIN LIBTOOL CONFIG
   22211 
   22212 # Whether or not to build static libraries.
   22213 build_old_libs=$enable_static
   22214 
   22215 # Which release of libtool.m4 was used?
   22216 macro_version=$macro_version
   22217 macro_revision=$macro_revision
   22218 
   22219 # Whether or not to build shared libraries.
   22220 build_libtool_libs=$enable_shared
   22221 
   22222 # What type of objects to build.
   22223 pic_mode=$pic_mode
   22224 
   22225 # Whether or not to optimize for fast installation.
   22226 fast_install=$enable_fast_install
   22227 
   22228 # Shared archive member basename,for filename based shared library versioning on AIX.
   22229 shared_archive_member_spec=$shared_archive_member_spec
   22230 
   22231 # Shell to use when invoking shell scripts.
   22232 SHELL=$lt_SHELL
   22233 
   22234 # An echo program that protects backslashes.
   22235 ECHO=$lt_ECHO
   22236 
   22237 # The PATH separator for the build system.
   22238 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22239 
   22240 # The host system.
   22241 host_alias=$host_alias
   22242 host=$host
   22243 host_os=$host_os
   22244 
   22245 # The build system.
   22246 build_alias=$build_alias
   22247 build=$build
   22248 build_os=$build_os
   22249 
   22250 # A sed program that does not truncate output.
   22251 SED=$lt_SED
   22252 
   22253 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22254 Xsed="\$SED -e 1s/^X//"
   22255 
   22256 # A grep program that handles long lines.
   22257 GREP=$lt_GREP
   22258 
   22259 # An ERE matcher.
   22260 EGREP=$lt_EGREP
   22261 
   22262 # A literal string matcher.
   22263 FGREP=$lt_FGREP
   22264 
   22265 # A BSD- or MS-compatible name lister.
   22266 NM=$lt_NM
   22267 
   22268 # Whether we need soft or hard links.
   22269 LN_S=$lt_LN_S
   22270 
   22271 # What is the maximum length of a command?
   22272 max_cmd_len=$max_cmd_len
   22273 
   22274 # Object file suffix (normally "o").
   22275 objext=$ac_objext
   22276 
   22277 # Executable file suffix (normally "").
   22278 exeext=$exeext
   22279 
   22280 # whether the shell understands "unset".
   22281 lt_unset=$lt_unset
   22282 
   22283 # turn spaces into newlines.
   22284 SP2NL=$lt_lt_SP2NL
   22285 
   22286 # turn newlines into spaces.
   22287 NL2SP=$lt_lt_NL2SP
   22288 
   22289 # convert \$build file names to \$host format.
   22290 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22291 
   22292 # convert \$build files to toolchain format.
   22293 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22294 
   22295 # A file(cmd) program that detects file types.
   22296 FILECMD=$lt_FILECMD
   22297 
   22298 # An object symbol dumper.
   22299 OBJDUMP=$lt_OBJDUMP
   22300 
   22301 # Method to check whether dependent libraries are shared objects.
   22302 deplibs_check_method=$lt_deplibs_check_method
   22303 
   22304 # Command to use when deplibs_check_method = "file_magic".
   22305 file_magic_cmd=$lt_file_magic_cmd
   22306 
   22307 # How to find potential files when deplibs_check_method = "file_magic".
   22308 file_magic_glob=$lt_file_magic_glob
   22309 
   22310 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22311 want_nocaseglob=$lt_want_nocaseglob
   22312 
   22313 # DLL creation program.
   22314 DLLTOOL=$lt_DLLTOOL
   22315 
   22316 # Command to associate shared and link libraries.
   22317 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22318 
   22319 # The archiver.
   22320 AR=$lt_AR
   22321 
   22322 # Flags to create an archive (by configure).
   22323 lt_ar_flags=$lt_ar_flags
   22324 
   22325 # Flags to create an archive.
   22326 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22327 
   22328 # How to feed a file listing to the archiver.
   22329 archiver_list_spec=$lt_archiver_list_spec
   22330 
   22331 # A symbol stripping program.
   22332 STRIP=$lt_STRIP
   22333 
   22334 # Commands used to install an old-style archive.
   22335 RANLIB=$lt_RANLIB
   22336 old_postinstall_cmds=$lt_old_postinstall_cmds
   22337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22338 
   22339 # Whether to use a lock for old archive extraction.
   22340 lock_old_archive_extraction=$lock_old_archive_extraction
   22341 
   22342 # A C compiler.
   22343 LTCC=$lt_CC
   22344 
   22345 # LTCC compiler flags.
   22346 LTCFLAGS=$lt_CFLAGS
   22347 
   22348 # Take the output of nm and produce a listing of raw symbols and C names.
   22349 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22350 
   22351 # Transform the output of nm in a proper C declaration.
   22352 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22353 
   22354 # Transform the output of nm into a list of symbols to manually relocate.
   22355 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22356 
   22357 # Transform the output of nm in a C name address pair.
   22358 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22359 
   22360 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22361 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22362 
   22363 # The name lister interface.
   22364 nm_interface=$lt_lt_cv_nm_interface
   22365 
   22366 # Specify filename containing input files for \$NM.
   22367 nm_file_list_spec=$lt_nm_file_list_spec
   22368 
   22369 # The root where to search for dependent libraries,and where our libraries should be installed.
   22370 lt_sysroot=$lt_sysroot
   22371 
   22372 # Command to truncate a binary pipe.
   22373 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22374 
   22375 # The name of the directory that contains temporary libtool files.
   22376 objdir=$objdir
   22377 
   22378 # Used to examine libraries when file_magic_cmd begins with "file".
   22379 MAGIC_CMD=$MAGIC_CMD
   22380 
   22381 # Must we lock files when doing compilation?
   22382 need_locks=$lt_need_locks
   22383 
   22384 # Manifest tool.
   22385 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22386 
   22387 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22388 DSYMUTIL=$lt_DSYMUTIL
   22389 
   22390 # Tool to change global to local symbols on Mac OS X.
   22391 NMEDIT=$lt_NMEDIT
   22392 
   22393 # Tool to manipulate fat objects and archives on Mac OS X.
   22394 LIPO=$lt_LIPO
   22395 
   22396 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22397 OTOOL=$lt_OTOOL
   22398 
   22399 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22400 OTOOL64=$lt_OTOOL64
   22401 
   22402 # Old archive suffix (normally "a").
   22403 libext=$libext
   22404 
   22405 # Shared library suffix (normally ".so").
   22406 shrext_cmds=$lt_shrext_cmds
   22407 
   22408 # The commands to extract the exported symbol list from a shared archive.
   22409 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22410 
   22411 # Variables whose values should be saved in libtool wrapper scripts and
   22412 # restored at link time.
   22413 variables_saved_for_relink=$lt_variables_saved_for_relink
   22414 
   22415 # Do we need the "lib" prefix for modules?
   22416 need_lib_prefix=$need_lib_prefix
   22417 
   22418 # Do we need a version for libraries?
   22419 need_version=$need_version
   22420 
   22421 # Library versioning type.
   22422 version_type=$version_type
   22423 
   22424 # Shared library runtime path variable.
   22425 runpath_var=$runpath_var
   22426 
   22427 # Shared library path variable.
   22428 shlibpath_var=$shlibpath_var
   22429 
   22430 # Is shlibpath searched before the hard-coded library search path?
   22431 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22432 
   22433 # Format of library name prefix.
   22434 libname_spec=$lt_libname_spec
   22435 
   22436 # List of archive names.  First name is the real one, the rest are links.
   22437 # The last name is the one that the linker finds with -lNAME
   22438 library_names_spec=$lt_library_names_spec
   22439 
   22440 # The coded name of the library, if different from the real name.
   22441 soname_spec=$lt_soname_spec
   22442 
   22443 # Permission mode override for installation of shared libraries.
   22444 install_override_mode=$lt_install_override_mode
   22445 
   22446 # Command to use after installation of a shared archive.
   22447 postinstall_cmds=$lt_postinstall_cmds
   22448 
   22449 # Command to use after uninstallation of a shared archive.
   22450 postuninstall_cmds=$lt_postuninstall_cmds
   22451 
   22452 # Commands used to finish a libtool library installation in a directory.
   22453 finish_cmds=$lt_finish_cmds
   22454 
   22455 # As "finish_cmds", except a single script fragment to be evaled but
   22456 # not shown.
   22457 finish_eval=$lt_finish_eval
   22458 
   22459 # Whether we should hardcode library paths into libraries.
   22460 hardcode_into_libs=$hardcode_into_libs
   22461 
   22462 # Compile-time system search path for libraries.
   22463 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22464 
   22465 # Detected run-time system search path for libraries.
   22466 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22467 
   22468 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22469 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22470 
   22471 # Whether dlopen is supported.
   22472 dlopen_support=$enable_dlopen
   22473 
   22474 # Whether dlopen of programs is supported.
   22475 dlopen_self=$enable_dlopen_self
   22476 
   22477 # Whether dlopen of statically linked programs is supported.
   22478 dlopen_self_static=$enable_dlopen_self_static
   22479 
   22480 # Commands to strip libraries.
   22481 old_striplib=$lt_old_striplib
   22482 striplib=$lt_striplib
   22483 
   22484 
   22485 # The linker used to build libraries.
   22486 LD=$lt_LD
   22487 
   22488 # How to create reloadable object files.
   22489 reload_flag=$lt_reload_flag
   22490 reload_cmds=$lt_reload_cmds
   22491 
   22492 # Commands used to build an old-style archive.
   22493 old_archive_cmds=$lt_old_archive_cmds
   22494 
   22495 # A language specific compiler.
   22496 CC=$lt_compiler
   22497 
   22498 # Is the compiler the GNU compiler?
   22499 with_gcc=$GCC
   22500 
   22501 # Compiler flag to turn off builtin functions.
   22502 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22503 
   22504 # Additional compiler flags for building library objects.
   22505 pic_flag=$lt_lt_prog_compiler_pic
   22506 
   22507 # How to pass a linker flag through the compiler.
   22508 wl=$lt_lt_prog_compiler_wl
   22509 
   22510 # Compiler flag to prevent dynamic linking.
   22511 link_static_flag=$lt_lt_prog_compiler_static
   22512 
   22513 # Does compiler simultaneously support -c and -o options?
   22514 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22515 
   22516 # Whether or not to add -lc for building shared libraries.
   22517 build_libtool_need_lc=$archive_cmds_need_lc
   22518 
   22519 # Whether or not to disallow shared libs when runtime libs are static.
   22520 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22521 
   22522 # Compiler flag to allow reflexive dlopens.
   22523 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22524 
   22525 # Compiler flag to generate shared objects directly from archives.
   22526 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22527 
   22528 # Whether the compiler copes with passing no objects directly.
   22529 compiler_needs_object=$lt_compiler_needs_object
   22530 
   22531 # Create an old-style archive from a shared archive.
   22532 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22533 
   22534 # Create a temporary old-style archive to link instead of a shared archive.
   22535 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22536 
   22537 # Commands used to build a shared archive.
   22538 archive_cmds=$lt_archive_cmds
   22539 archive_expsym_cmds=$lt_archive_expsym_cmds
   22540 
   22541 # Commands used to build a loadable module if different from building
   22542 # a shared archive.
   22543 module_cmds=$lt_module_cmds
   22544 module_expsym_cmds=$lt_module_expsym_cmds
   22545 
   22546 # Whether we are building with GNU ld or not.
   22547 with_gnu_ld=$lt_with_gnu_ld
   22548 
   22549 # Flag that allows shared libraries with undefined symbols to be built.
   22550 allow_undefined_flag=$lt_allow_undefined_flag
   22551 
   22552 # Flag that enforces no undefined symbols.
   22553 no_undefined_flag=$lt_no_undefined_flag
   22554 
   22555 # Flag to hardcode \$libdir into a binary during linking.
   22556 # This must work even if \$libdir does not exist
   22557 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22558 
   22559 # Whether we need a single "-rpath" flag with a separated argument.
   22560 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22561 
   22562 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22563 # DIR into the resulting binary.
   22564 hardcode_direct=$hardcode_direct
   22565 
   22566 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22567 # DIR into the resulting binary and the resulting library dependency is
   22568 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22569 # library is relocated.
   22570 hardcode_direct_absolute=$hardcode_direct_absolute
   22571 
   22572 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22573 # into the resulting binary.
   22574 hardcode_minus_L=$hardcode_minus_L
   22575 
   22576 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22577 # into the resulting binary.
   22578 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22579 
   22580 # Set to "yes" if building a shared library automatically hardcodes DIR
   22581 # into the library and all subsequent libraries and executables linked
   22582 # against it.
   22583 hardcode_automatic=$hardcode_automatic
   22584 
   22585 # Set to yes if linker adds runtime paths of dependent libraries
   22586 # to runtime path list.
   22587 inherit_rpath=$inherit_rpath
   22588 
   22589 # Whether libtool must link a program against all its dependency libraries.
   22590 link_all_deplibs=$link_all_deplibs
   22591 
   22592 # Set to "yes" if exported symbols are required.
   22593 always_export_symbols=$always_export_symbols
   22594 
   22595 # The commands to list exported symbols.
   22596 export_symbols_cmds=$lt_export_symbols_cmds
   22597 
   22598 # Symbols that should not be listed in the preloaded symbols.
   22599 exclude_expsyms=$lt_exclude_expsyms
   22600 
   22601 # Symbols that must always be exported.
   22602 include_expsyms=$lt_include_expsyms
   22603 
   22604 # Commands necessary for linking programs (against libraries) with templates.
   22605 prelink_cmds=$lt_prelink_cmds
   22606 
   22607 # Commands necessary for finishing linking programs.
   22608 postlink_cmds=$lt_postlink_cmds
   22609 
   22610 # Specify filename containing input files.
   22611 file_list_spec=$lt_file_list_spec
   22612 
   22613 # How to hardcode a shared library path into an executable.
   22614 hardcode_action=$hardcode_action
   22615 
   22616 # ### END LIBTOOL CONFIG
   22617 
   22618 _LT_EOF
   22619 
   22620     cat <<'_LT_EOF' >> "$cfgfile"
   22621 
   22622 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22623 
   22624 # func_munge_path_list VARIABLE PATH
   22625 # -----------------------------------
   22626 # VARIABLE is name of variable containing _space_ separated list of
   22627 # directories to be munged by the contents of PATH, which is string
   22628 # having a format:
   22629 # "DIR[:DIR]:"
   22630 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22631 # ":DIR[:DIR]"
   22632 #       string "DIR[ DIR]" will be appended to VARIABLE
   22633 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22634 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22635 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22636 # "DIR[:DIR]"
   22637 #       VARIABLE will be replaced by "DIR[ DIR]"
   22638 func_munge_path_list ()
   22639 {
   22640     case x$2 in
   22641     x)
   22642         ;;
   22643     *:)
   22644         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22645         ;;
   22646     x:*)
   22647         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22648         ;;
   22649     *::*)
   22650         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22651         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22652         ;;
   22653     *)
   22654         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22655         ;;
   22656     esac
   22657 }
   22658 
   22659 
   22660 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22661 func_cc_basename ()
   22662 {
   22663     for cc_temp in $*""; do
   22664       case $cc_temp in
   22665         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22666         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22667         \-*) ;;
   22668         *) break;;
   22669       esac
   22670     done
   22671     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22672 }
   22673 
   22674 
   22675 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22676 
   22677 _LT_EOF
   22678 
   22679   case $host_os in
   22680   aix3*)
   22681     cat <<\_LT_EOF >> "$cfgfile"
   22682 # AIX sometimes has problems with the GCC collect2 program.  For some
   22683 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22684 # vanish in a puff of smoke.
   22685 if test set != "${COLLECT_NAMES+set}"; then
   22686   COLLECT_NAMES=
   22687   export COLLECT_NAMES
   22688 fi
   22689 _LT_EOF
   22690     ;;
   22691   esac
   22692 
   22693 
   22694 
   22695 ltmain=$ac_aux_dir/ltmain.sh
   22696 
   22697 
   22698   # We use sed instead of cat because bash on DJGPP gets confused if
   22699   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22700   # text mode, it properly converts lines to CR/LF.  This bash problem
   22701   # is reportedly fixed, but why not run on old versions too?
   22702   $SED '$q' "$ltmain" >> "$cfgfile" \
   22703      || (rm -f "$cfgfile"; exit 1)
   22704 
   22705    mv -f "$cfgfile" "$ofile" ||
   22706     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22707   chmod +x "$ofile"
   22708 
   22709  ;;
   22710 
   22711   esac
   22712 done # for ac_tag
   22713 
   22714 
   22715 as_fn_exit 0
   22716 _ACEOF
   22717 ac_clean_files=$ac_clean_files_save
   22718 
   22719 test $ac_write_fail = 0 ||
   22720   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22721 
   22722 
   22723 # configure is writing to config.log, and then calls config.status.
   22724 # config.status does its own redirection, appending to config.log.
   22725 # Unfortunately, on DOS this fails, as config.log is still kept open
   22726 # by configure, so config.status won't be able to write to it; its
   22727 # output is simply discarded.  So we exec the FD to /dev/null,
   22728 # effectively closing config.log, so it can be properly (re)opened and
   22729 # appended to by config.status.  When coming back to configure, we
   22730 # need to make the FD available again.
   22731 if test "$no_create" != yes; then
   22732   ac_cs_success=:
   22733   ac_config_status_args=
   22734   test "$silent" = yes &&
   22735     ac_config_status_args="$ac_config_status_args --quiet"
   22736   exec 5>/dev/null
   22737   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22738   exec 5>>config.log
   22739   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22740   # would make configure fail if this is the last instruction.
   22741   $ac_cs_success || as_fn_exit 1
   22742 fi
   22743 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22745 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22746 fi
   22747 
   22748 
   22749