Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xf86-input-vmmouse 13.2.0.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-vmmouse/issues>.
      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://gitlab.freedesktop.org/xorg/driver/xf86-input-vmmouse/issues
    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-input-vmmouse'
    624 PACKAGE_TARNAME='xf86-input-vmmouse'
    625 PACKAGE_VERSION='13.2.0'
    626 PACKAGE_STRING='xf86-input-vmmouse 13.2.0'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-input-vmmouse/issues'
    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 XORG_LIBS
    668 XORG_CFLAGS
    669 LIBUDEV_LIBS
    670 LIBUDEV_CFLAGS
    671 HAS_UDEV_RULES_DIR_FALSE
    672 HAS_UDEV_RULES_DIR_TRUE
    673 UDEV_RULES_DIR
    674 HAL_FDI_DIR
    675 HAL_CALLOUTS_DIR
    676 HAL_BIN_DIR
    677 HAS_XORG_CONF_DIR_FALSE
    678 HAS_XORG_CONF_DIR_TRUE
    679 XORG_CONF_DIR
    680 inputdir
    681 LT_SYS_LIBRARY_PATH
    682 OTOOL64
    683 OTOOL
    684 LIPO
    685 NMEDIT
    686 DSYMUTIL
    687 MANIFEST_TOOL
    688 RANLIB
    689 ac_ct_AR
    690 AR
    691 DLLTOOL
    692 OBJDUMP
    693 FILECMD
    694 LN_S
    695 NM
    696 ac_ct_DUMPBIN
    697 DUMPBIN
    698 LD
    699 FGREP
    700 EGREP
    701 GREP
    702 LIBTOOL
    703 DRIVER_NAME
    704 MAN_SUBSTS
    705 XORG_MAN_PAGE
    706 ADMIN_MAN_DIR
    707 DRIVER_MAN_DIR
    708 MISC_MAN_DIR
    709 FILE_MAN_DIR
    710 LIB_MAN_DIR
    711 APP_MAN_DIR
    712 ADMIN_MAN_SUFFIX
    713 DRIVER_MAN_SUFFIX
    714 MISC_MAN_SUFFIX
    715 FILE_MAN_SUFFIX
    716 LIB_MAN_SUFFIX
    717 APP_MAN_SUFFIX
    718 SED
    719 host_os
    720 host_vendor
    721 host_cpu
    722 host
    723 build_os
    724 build_vendor
    725 build_cpu
    726 build
    727 INSTALL_CMD
    728 PKG_CONFIG_LIBDIR
    729 PKG_CONFIG_PATH
    730 PKG_CONFIG
    731 CHANGELOG_CMD
    732 STRICT_CFLAGS
    733 CWARNFLAGS
    734 BASE_CFLAGS
    735 am__fastdepCC_FALSE
    736 am__fastdepCC_TRUE
    737 CCDEPMODE
    738 am__nodep
    739 AMDEPBACKSLASH
    740 AMDEP_FALSE
    741 AMDEP_TRUE
    742 am__include
    743 DEPDIR
    744 OBJEXT
    745 EXEEXT
    746 ac_ct_CC
    747 CPPFLAGS
    748 LDFLAGS
    749 CFLAGS
    750 CC
    751 AM_BACKSLASH
    752 AM_DEFAULT_VERBOSITY
    753 AM_DEFAULT_V
    754 AM_V
    755 CSCOPE
    756 ETAGS
    757 CTAGS
    758 am__untar
    759 am__tar
    760 AMTAR
    761 am__leading_dot
    762 SET_MAKE
    763 AWK
    764 mkdir_p
    765 MKDIR_P
    766 INSTALL_STRIP_PROGRAM
    767 STRIP
    768 install_sh
    769 MAKEINFO
    770 AUTOHEADER
    771 AUTOMAKE
    772 AUTOCONF
    773 ACLOCAL
    774 VERSION
    775 PACKAGE
    776 CYGPATH_W
    777 am__isrc
    778 INSTALL_DATA
    779 INSTALL_SCRIPT
    780 INSTALL_PROGRAM
    781 target_alias
    782 host_alias
    783 build_alias
    784 LIBS
    785 ECHO_T
    786 ECHO_N
    787 ECHO_C
    788 DEFS
    789 mandir
    790 localedir
    791 libdir
    792 psdir
    793 pdfdir
    794 dvidir
    795 htmldir
    796 infodir
    797 docdir
    798 oldincludedir
    799 includedir
    800 runstatedir
    801 localstatedir
    802 sharedstatedir
    803 sysconfdir
    804 datadir
    805 datarootdir
    806 libexecdir
    807 sbindir
    808 bindir
    809 program_transform_name
    810 prefix
    811 exec_prefix
    812 PACKAGE_URL
    813 PACKAGE_BUGREPORT
    814 PACKAGE_STRING
    815 PACKAGE_VERSION
    816 PACKAGE_TARNAME
    817 PACKAGE_NAME
    818 PATH_SEPARATOR
    819 SHELL
    820 am__quote'
    821 ac_subst_files=''
    822 ac_user_opts='
    823 enable_option_checking
    824 enable_silent_rules
    825 enable_dependency_tracking
    826 enable_selective_werror
    827 enable_strict_compilation
    828 enable_static
    829 enable_shared
    830 with_pic
    831 enable_fast_install
    832 with_aix_soname
    833 with_gnu_ld
    834 with_sysroot
    835 enable_libtool_lock
    836 with_xorg_module_dir
    837 with_xorg_conf_dir
    838 with_hal_bin_dir
    839 with_hal_callouts_dir
    840 with_hal_fdi_dir
    841 with_udev_rules_dir
    842 with_libudev
    843 '
    844       ac_precious_vars='build_alias
    845 host_alias
    846 target_alias
    847 CC
    848 CFLAGS
    849 LDFLAGS
    850 LIBS
    851 CPPFLAGS
    852 PKG_CONFIG
    853 PKG_CONFIG_PATH
    854 PKG_CONFIG_LIBDIR
    855 LT_SYS_LIBRARY_PATH
    856 LIBUDEV_CFLAGS
    857 LIBUDEV_LIBS
    858 XORG_CFLAGS
    859 XORG_LIBS'
    860 
    861 
    862 # Initialize some variables set by options.
    863 ac_init_help=
    864 ac_init_version=false
    865 ac_unrecognized_opts=
    866 ac_unrecognized_sep=
    867 # The variables have the same names as the options, with
    868 # dashes changed to underlines.
    869 cache_file=/dev/null
    870 exec_prefix=NONE
    871 no_create=
    872 no_recursion=
    873 prefix=NONE
    874 program_prefix=NONE
    875 program_suffix=NONE
    876 program_transform_name=s,x,x,
    877 silent=
    878 site=
    879 srcdir=
    880 verbose=
    881 x_includes=NONE
    882 x_libraries=NONE
    883 
    884 # Installation directory options.
    885 # These are left unexpanded so users can "make install exec_prefix=/foo"
    886 # and all the variables that are supposed to be based on exec_prefix
    887 # by default will actually change.
    888 # Use braces instead of parens because sh, perl, etc. also accept them.
    889 # (The list follows the same order as the GNU Coding Standards.)
    890 bindir='${exec_prefix}/bin'
    891 sbindir='${exec_prefix}/sbin'
    892 libexecdir='${exec_prefix}/libexec'
    893 datarootdir='${prefix}/share'
    894 datadir='${datarootdir}'
    895 sysconfdir='${prefix}/etc'
    896 sharedstatedir='${prefix}/com'
    897 localstatedir='${prefix}/var'
    898 runstatedir='${localstatedir}/run'
    899 includedir='${prefix}/include'
    900 oldincludedir='/usr/include'
    901 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    902 infodir='${datarootdir}/info'
    903 htmldir='${docdir}'
    904 dvidir='${docdir}'
    905 pdfdir='${docdir}'
    906 psdir='${docdir}'
    907 libdir='${exec_prefix}/lib'
    908 localedir='${datarootdir}/locale'
    909 mandir='${datarootdir}/man'
    910 
    911 ac_prev=
    912 ac_dashdash=
    913 for ac_option
    914 do
    915   # If the previous option needs an argument, assign it.
    916   if test -n "$ac_prev"; then
    917     eval $ac_prev=\$ac_option
    918     ac_prev=
    919     continue
    920   fi
    921 
    922   case $ac_option in
    923   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    924   *=)   ac_optarg= ;;
    925   *)    ac_optarg=yes ;;
    926   esac
    927 
    928   case $ac_dashdash$ac_option in
    929   --)
    930     ac_dashdash=yes ;;
    931 
    932   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    933     ac_prev=bindir ;;
    934   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    935     bindir=$ac_optarg ;;
    936 
    937   -build | --build | --buil | --bui | --bu)
    938     ac_prev=build_alias ;;
    939   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    940     build_alias=$ac_optarg ;;
    941 
    942   -cache-file | --cache-file | --cache-fil | --cache-fi \
    943   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    944     ac_prev=cache_file ;;
    945   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    946   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    947     cache_file=$ac_optarg ;;
    948 
    949   --config-cache | -C)
    950     cache_file=config.cache ;;
    951 
    952   -datadir | --datadir | --datadi | --datad)
    953     ac_prev=datadir ;;
    954   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    955     datadir=$ac_optarg ;;
    956 
    957   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    958   | --dataroo | --dataro | --datar)
    959     ac_prev=datarootdir ;;
    960   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    961   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    962     datarootdir=$ac_optarg ;;
    963 
    964   -disable-* | --disable-*)
    965     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    966     # Reject names that are not valid shell variable names.
    967     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    968       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    969     ac_useropt_orig=$ac_useropt
    970     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    971     case $ac_user_opts in
    972       *"
    973 "enable_$ac_useropt"
    974 "*) ;;
    975       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    976 	 ac_unrecognized_sep=', ';;
    977     esac
    978     eval enable_$ac_useropt=no ;;
    979 
    980   -docdir | --docdir | --docdi | --doc | --do)
    981     ac_prev=docdir ;;
    982   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    983     docdir=$ac_optarg ;;
    984 
    985   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    986     ac_prev=dvidir ;;
    987   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    988     dvidir=$ac_optarg ;;
    989 
    990   -enable-* | --enable-*)
    991     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    992     # Reject names that are not valid shell variable names.
    993     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    994       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    995     ac_useropt_orig=$ac_useropt
    996     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    997     case $ac_user_opts in
    998       *"
    999 "enable_$ac_useropt"
   1000 "*) ;;
   1001       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1002 	 ac_unrecognized_sep=', ';;
   1003     esac
   1004     eval enable_$ac_useropt=\$ac_optarg ;;
   1005 
   1006   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1007   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1008   | --exec | --exe | --ex)
   1009     ac_prev=exec_prefix ;;
   1010   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1011   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1012   | --exec=* | --exe=* | --ex=*)
   1013     exec_prefix=$ac_optarg ;;
   1014 
   1015   -gas | --gas | --ga | --g)
   1016     # Obsolete; use --with-gas.
   1017     with_gas=yes ;;
   1018 
   1019   -help | --help | --hel | --he | -h)
   1020     ac_init_help=long ;;
   1021   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1022     ac_init_help=recursive ;;
   1023   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1024     ac_init_help=short ;;
   1025 
   1026   -host | --host | --hos | --ho)
   1027     ac_prev=host_alias ;;
   1028   -host=* | --host=* | --hos=* | --ho=*)
   1029     host_alias=$ac_optarg ;;
   1030 
   1031   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1032     ac_prev=htmldir ;;
   1033   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1034   | --ht=*)
   1035     htmldir=$ac_optarg ;;
   1036 
   1037   -includedir | --includedir | --includedi | --included | --include \
   1038   | --includ | --inclu | --incl | --inc)
   1039     ac_prev=includedir ;;
   1040   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1041   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1042     includedir=$ac_optarg ;;
   1043 
   1044   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1045     ac_prev=infodir ;;
   1046   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1047     infodir=$ac_optarg ;;
   1048 
   1049   -libdir | --libdir | --libdi | --libd)
   1050     ac_prev=libdir ;;
   1051   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1052     libdir=$ac_optarg ;;
   1053 
   1054   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1055   | --libexe | --libex | --libe)
   1056     ac_prev=libexecdir ;;
   1057   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1058   | --libexe=* | --libex=* | --libe=*)
   1059     libexecdir=$ac_optarg ;;
   1060 
   1061   -localedir | --localedir | --localedi | --localed | --locale)
   1062     ac_prev=localedir ;;
   1063   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1064     localedir=$ac_optarg ;;
   1065 
   1066   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1067   | --localstate | --localstat | --localsta | --localst | --locals)
   1068     ac_prev=localstatedir ;;
   1069   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1070   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1071     localstatedir=$ac_optarg ;;
   1072 
   1073   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1074     ac_prev=mandir ;;
   1075   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1076     mandir=$ac_optarg ;;
   1077 
   1078   -nfp | --nfp | --nf)
   1079     # Obsolete; use --without-fp.
   1080     with_fp=no ;;
   1081 
   1082   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1083   | --no-cr | --no-c | -n)
   1084     no_create=yes ;;
   1085 
   1086   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1087   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1088     no_recursion=yes ;;
   1089 
   1090   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1091   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1092   | --oldin | --oldi | --old | --ol | --o)
   1093     ac_prev=oldincludedir ;;
   1094   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1095   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1096   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1097     oldincludedir=$ac_optarg ;;
   1098 
   1099   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1100     ac_prev=prefix ;;
   1101   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1102     prefix=$ac_optarg ;;
   1103 
   1104   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1105   | --program-pre | --program-pr | --program-p)
   1106     ac_prev=program_prefix ;;
   1107   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1108   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1109     program_prefix=$ac_optarg ;;
   1110 
   1111   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1112   | --program-suf | --program-su | --program-s)
   1113     ac_prev=program_suffix ;;
   1114   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1115   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1116     program_suffix=$ac_optarg ;;
   1117 
   1118   -program-transform-name | --program-transform-name \
   1119   | --program-transform-nam | --program-transform-na \
   1120   | --program-transform-n | --program-transform- \
   1121   | --program-transform | --program-transfor \
   1122   | --program-transfo | --program-transf \
   1123   | --program-trans | --program-tran \
   1124   | --progr-tra | --program-tr | --program-t)
   1125     ac_prev=program_transform_name ;;
   1126   -program-transform-name=* | --program-transform-name=* \
   1127   | --program-transform-nam=* | --program-transform-na=* \
   1128   | --program-transform-n=* | --program-transform-=* \
   1129   | --program-transform=* | --program-transfor=* \
   1130   | --program-transfo=* | --program-transf=* \
   1131   | --program-trans=* | --program-tran=* \
   1132   | --progr-tra=* | --program-tr=* | --program-t=*)
   1133     program_transform_name=$ac_optarg ;;
   1134 
   1135   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1136     ac_prev=pdfdir ;;
   1137   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1138     pdfdir=$ac_optarg ;;
   1139 
   1140   -psdir | --psdir | --psdi | --psd | --ps)
   1141     ac_prev=psdir ;;
   1142   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1143     psdir=$ac_optarg ;;
   1144 
   1145   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1146   | -silent | --silent | --silen | --sile | --sil)
   1147     silent=yes ;;
   1148 
   1149   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1150   | --runstate | --runstat | --runsta | --runst | --runs \
   1151   | --run | --ru | --r)
   1152     ac_prev=runstatedir ;;
   1153   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1154   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1155   | --run=* | --ru=* | --r=*)
   1156     runstatedir=$ac_optarg ;;
   1157 
   1158   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1159     ac_prev=sbindir ;;
   1160   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1161   | --sbi=* | --sb=*)
   1162     sbindir=$ac_optarg ;;
   1163 
   1164   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1165   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1166   | --sharedst | --shareds | --shared | --share | --shar \
   1167   | --sha | --sh)
   1168     ac_prev=sharedstatedir ;;
   1169   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1170   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1171   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1172   | --sha=* | --sh=*)
   1173     sharedstatedir=$ac_optarg ;;
   1174 
   1175   -site | --site | --sit)
   1176     ac_prev=site ;;
   1177   -site=* | --site=* | --sit=*)
   1178     site=$ac_optarg ;;
   1179 
   1180   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1181     ac_prev=srcdir ;;
   1182   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1183     srcdir=$ac_optarg ;;
   1184 
   1185   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1186   | --syscon | --sysco | --sysc | --sys | --sy)
   1187     ac_prev=sysconfdir ;;
   1188   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1189   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1190     sysconfdir=$ac_optarg ;;
   1191 
   1192   -target | --target | --targe | --targ | --tar | --ta | --t)
   1193     ac_prev=target_alias ;;
   1194   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1195     target_alias=$ac_optarg ;;
   1196 
   1197   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1198     verbose=yes ;;
   1199 
   1200   -version | --version | --versio | --versi | --vers | -V)
   1201     ac_init_version=: ;;
   1202 
   1203   -with-* | --with-*)
   1204     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1205     # Reject names that are not valid shell variable names.
   1206     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1207       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1208     ac_useropt_orig=$ac_useropt
   1209     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1210     case $ac_user_opts in
   1211       *"
   1212 "with_$ac_useropt"
   1213 "*) ;;
   1214       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1215 	 ac_unrecognized_sep=', ';;
   1216     esac
   1217     eval with_$ac_useropt=\$ac_optarg ;;
   1218 
   1219   -without-* | --without-*)
   1220     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1221     # Reject names that are not valid shell variable names.
   1222     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1223       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1224     ac_useropt_orig=$ac_useropt
   1225     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1226     case $ac_user_opts in
   1227       *"
   1228 "with_$ac_useropt"
   1229 "*) ;;
   1230       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1231 	 ac_unrecognized_sep=', ';;
   1232     esac
   1233     eval with_$ac_useropt=no ;;
   1234 
   1235   --x)
   1236     # Obsolete; use --with-x.
   1237     with_x=yes ;;
   1238 
   1239   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1240   | --x-incl | --x-inc | --x-in | --x-i)
   1241     ac_prev=x_includes ;;
   1242   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1243   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1244     x_includes=$ac_optarg ;;
   1245 
   1246   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1247   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1248     ac_prev=x_libraries ;;
   1249   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1250   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1251     x_libraries=$ac_optarg ;;
   1252 
   1253   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1254 Try \`$0 --help' for more information"
   1255     ;;
   1256 
   1257   *=*)
   1258     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1259     # Reject names that are not valid shell variable names.
   1260     case $ac_envvar in #(
   1261       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1262       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1263     esac
   1264     eval $ac_envvar=\$ac_optarg
   1265     export $ac_envvar ;;
   1266 
   1267   *)
   1268     # FIXME: should be removed in autoconf 3.0.
   1269     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1270     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1271       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1272     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1273     ;;
   1274 
   1275   esac
   1276 done
   1277 
   1278 if test -n "$ac_prev"; then
   1279   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1280   as_fn_error $? "missing argument to $ac_option"
   1281 fi
   1282 
   1283 if test -n "$ac_unrecognized_opts"; then
   1284   case $enable_option_checking in
   1285     no) ;;
   1286     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1287     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1288   esac
   1289 fi
   1290 
   1291 # Check all directory arguments for consistency.
   1292 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1293 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1294 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1295 		libdir localedir mandir runstatedir
   1296 do
   1297   eval ac_val=\$$ac_var
   1298   # Remove trailing slashes.
   1299   case $ac_val in
   1300     */ )
   1301       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1302       eval $ac_var=\$ac_val;;
   1303   esac
   1304   # Be sure to have absolute directory names.
   1305   case $ac_val in
   1306     [\\/$]* | ?:[\\/]* )  continue;;
   1307     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1308   esac
   1309   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1310 done
   1311 
   1312 # There might be people who depend on the old broken behavior: `$host'
   1313 # used to hold the argument of --host etc.
   1314 # FIXME: To remove some day.
   1315 build=$build_alias
   1316 host=$host_alias
   1317 target=$target_alias
   1318 
   1319 # FIXME: To remove some day.
   1320 if test "x$host_alias" != x; then
   1321   if test "x$build_alias" = x; then
   1322     cross_compiling=maybe
   1323   elif test "x$build_alias" != "x$host_alias"; then
   1324     cross_compiling=yes
   1325   fi
   1326 fi
   1327 
   1328 ac_tool_prefix=
   1329 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1330 
   1331 test "$silent" = yes && exec 6>/dev/null
   1332 
   1333 
   1334 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1335 ac_ls_di=`ls -di .` &&
   1336 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1337   as_fn_error $? "working directory cannot be determined"
   1338 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1339   as_fn_error $? "pwd does not report name of working directory"
   1340 
   1341 
   1342 # Find the source files, if location was not specified.
   1343 if test -z "$srcdir"; then
   1344   ac_srcdir_defaulted=yes
   1345   # Try the directory containing this script, then the parent directory.
   1346   ac_confdir=`$as_dirname -- "$as_myself" ||
   1347 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1348 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1349 	 X"$as_myself" : 'X\(//\)$' \| \
   1350 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1351 printf "%s\n" X"$as_myself" |
   1352     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1353 	    s//\1/
   1354 	    q
   1355 	  }
   1356 	  /^X\(\/\/\)[^/].*/{
   1357 	    s//\1/
   1358 	    q
   1359 	  }
   1360 	  /^X\(\/\/\)$/{
   1361 	    s//\1/
   1362 	    q
   1363 	  }
   1364 	  /^X\(\/\).*/{
   1365 	    s//\1/
   1366 	    q
   1367 	  }
   1368 	  s/.*/./; q'`
   1369   srcdir=$ac_confdir
   1370   if test ! -r "$srcdir/$ac_unique_file"; then
   1371     srcdir=..
   1372   fi
   1373 else
   1374   ac_srcdir_defaulted=no
   1375 fi
   1376 if test ! -r "$srcdir/$ac_unique_file"; then
   1377   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1378   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1379 fi
   1380 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1381 ac_abs_confdir=`(
   1382 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1383 	pwd)`
   1384 # When building in place, set srcdir=.
   1385 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1386   srcdir=.
   1387 fi
   1388 # Remove unnecessary trailing slashes from srcdir.
   1389 # Double slashes in file names in object file debugging info
   1390 # mess up M-x gdb in Emacs.
   1391 case $srcdir in
   1392 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1393 esac
   1394 for ac_var in $ac_precious_vars; do
   1395   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1396   eval ac_env_${ac_var}_value=\$${ac_var}
   1397   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1398   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1399 done
   1400 
   1401 #
   1402 # Report the --help message.
   1403 #
   1404 if test "$ac_init_help" = "long"; then
   1405   # Omit some internal or obsolete options to make the list less imposing.
   1406   # This message is too long to be a string in the A/UX 3.1 sh.
   1407   cat <<_ACEOF
   1408 \`configure' configures xf86-input-vmmouse 13.2.0 to adapt to many kinds of systems.
   1409 
   1410 Usage: $0 [OPTION]... [VAR=VALUE]...
   1411 
   1412 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1413 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1414 
   1415 Defaults for the options are specified in brackets.
   1416 
   1417 Configuration:
   1418   -h, --help              display this help and exit
   1419       --help=short        display options specific to this package
   1420       --help=recursive    display the short help of all the included packages
   1421   -V, --version           display version information and exit
   1422   -q, --quiet, --silent   do not print \`checking ...' messages
   1423       --cache-file=FILE   cache test results in FILE [disabled]
   1424   -C, --config-cache      alias for \`--cache-file=config.cache'
   1425   -n, --no-create         do not create output files
   1426       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1427 
   1428 Installation directories:
   1429   --prefix=PREFIX         install architecture-independent files in PREFIX
   1430                           [$ac_default_prefix]
   1431   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1432                           [PREFIX]
   1433 
   1434 By default, \`make install' will install all the files in
   1435 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1436 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1437 for instance \`--prefix=\$HOME'.
   1438 
   1439 For better control, use the options below.
   1440 
   1441 Fine tuning of the installation directories:
   1442   --bindir=DIR            user executables [EPREFIX/bin]
   1443   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1444   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1445   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1446   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1447   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1448   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1449   --libdir=DIR            object code libraries [EPREFIX/lib]
   1450   --includedir=DIR        C header files [PREFIX/include]
   1451   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1452   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1453   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1454   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1455   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1456   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1457   --docdir=DIR            documentation root
   1458                           [DATAROOTDIR/doc/xf86-input-vmmouse]
   1459   --htmldir=DIR           html documentation [DOCDIR]
   1460   --dvidir=DIR            dvi documentation [DOCDIR]
   1461   --pdfdir=DIR            pdf documentation [DOCDIR]
   1462   --psdir=DIR             ps documentation [DOCDIR]
   1463 _ACEOF
   1464 
   1465   cat <<\_ACEOF
   1466 
   1467 Program names:
   1468   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1469   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1470   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1471 
   1472 System types:
   1473   --build=BUILD     configure for building on BUILD [guessed]
   1474   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1475 _ACEOF
   1476 fi
   1477 
   1478 if test -n "$ac_init_help"; then
   1479   case $ac_init_help in
   1480      short | recursive ) echo "Configuration of xf86-input-vmmouse 13.2.0:";;
   1481    esac
   1482   cat <<\_ACEOF
   1483 
   1484 Optional Features:
   1485   --disable-option-checking  ignore unrecognized --enable/--with options
   1486   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1487   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1488   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1489   --disable-silent-rules  verbose build output (undo: "make V=0")
   1490   --enable-dependency-tracking
   1491                           do not reject slow dependency extractors
   1492   --disable-dependency-tracking
   1493                           speeds up one-time build
   1494   --disable-selective-werror
   1495                           Turn off selective compiler errors. (default:
   1496                           enabled)
   1497   --enable-strict-compilation
   1498                           Enable all warnings from compiler and make them
   1499                           errors (default: disabled)
   1500   --enable-static[=PKGS]  build static libraries [default=no]
   1501   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1502   --enable-fast-install[=PKGS]
   1503                           optimize for fast installation [default=yes]
   1504   --disable-libtool-lock  avoid locking (might break parallel builds)
   1505 
   1506 Optional Packages:
   1507   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1508   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1509   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1510                           both]
   1511   --with-aix-soname=aix|svr4|both
   1512                           shared library versioning (aka "SONAME") variant to
   1513                           provide on AIX, [default=aix].
   1514   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1515   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1516                           compiler's sysroot if not specified).
   1517   --with-xorg-module-dir=DIR
   1518                           Default xorg module directory
   1519                           [[default=$libdir/xorg/modules]]
   1520   --with-xorg-conf-dir=DIR
   1521                           Default xorg.conf.d directory [[default=from
   1522                           $PKG_CONFIG xorg-server]]
   1523   --with-hal-bin-dir=DIR  Directory where HAL binaries where installed
   1524                           [[default=$bindir]]
   1525   --with-hal-callouts-dir=DIR
   1526                           Directory where HAL expects its callout scripts to
   1527                           be located [[default=$libdir/hal]]
   1528   --with-hal-fdi-dir=DIR  Directory where HAL expects its fdi files to be
   1529                           located
   1530                           [[default=$datadir/hal/fdi/policy/20thirdparty]]
   1531   --with-udev-rules-dir=DIR
   1532                           Directory where udev expects its rules files
   1533                           [[default=$libdir/udev/rules.d]]
   1534   --without-libudev       Use to build without libudev on linux
   1535 
   1536 Some influential environment variables:
   1537   CC          C compiler command
   1538   CFLAGS      C compiler flags
   1539   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1540               nonstandard directory <lib dir>
   1541   LIBS        libraries to pass to the linker, e.g. -l<library>
   1542   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1543               you have headers in a nonstandard directory <include dir>
   1544   PKG_CONFIG  path to pkg-config utility
   1545   PKG_CONFIG_PATH
   1546               directories to add to pkg-config's search path
   1547   PKG_CONFIG_LIBDIR
   1548               path overriding pkg-config's built-in search path
   1549   LT_SYS_LIBRARY_PATH
   1550               User-defined run-time library search path.
   1551   LIBUDEV_CFLAGS
   1552               C compiler flags for LIBUDEV, overriding pkg-config
   1553   LIBUDEV_LIBS
   1554               linker flags for LIBUDEV, overriding pkg-config
   1555   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1556   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1557 
   1558 Use these variables to override the choices made by `configure' or to help
   1559 it to find libraries and programs with nonstandard names/locations.
   1560 
   1561 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-vmmouse/issues>.
   1562 _ACEOF
   1563 ac_status=$?
   1564 fi
   1565 
   1566 if test "$ac_init_help" = "recursive"; then
   1567   # If there are subdirs, report their specific --help.
   1568   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1569     test -d "$ac_dir" ||
   1570       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1571       continue
   1572     ac_builddir=.
   1573 
   1574 case "$ac_dir" in
   1575 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1576 *)
   1577   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1578   # A ".." for each directory in $ac_dir_suffix.
   1579   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1580   case $ac_top_builddir_sub in
   1581   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1582   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1583   esac ;;
   1584 esac
   1585 ac_abs_top_builddir=$ac_pwd
   1586 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1587 # for backward compatibility:
   1588 ac_top_builddir=$ac_top_build_prefix
   1589 
   1590 case $srcdir in
   1591   .)  # We are building in place.
   1592     ac_srcdir=.
   1593     ac_top_srcdir=$ac_top_builddir_sub
   1594     ac_abs_top_srcdir=$ac_pwd ;;
   1595   [\\/]* | ?:[\\/]* )  # Absolute name.
   1596     ac_srcdir=$srcdir$ac_dir_suffix;
   1597     ac_top_srcdir=$srcdir
   1598     ac_abs_top_srcdir=$srcdir ;;
   1599   *) # Relative name.
   1600     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1601     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1602     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1603 esac
   1604 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1605 
   1606     cd "$ac_dir" || { ac_status=$?; continue; }
   1607     # Check for configure.gnu first; this name is used for a wrapper for
   1608     # Metaconfig's "Configure" on case-insensitive file systems.
   1609     if test -f "$ac_srcdir/configure.gnu"; then
   1610       echo &&
   1611       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1612     elif test -f "$ac_srcdir/configure"; then
   1613       echo &&
   1614       $SHELL "$ac_srcdir/configure" --help=recursive
   1615     else
   1616       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1617     fi || ac_status=$?
   1618     cd "$ac_pwd" || { ac_status=$?; break; }
   1619   done
   1620 fi
   1621 
   1622 test -n "$ac_init_help" && exit $ac_status
   1623 if $ac_init_version; then
   1624   cat <<\_ACEOF
   1625 xf86-input-vmmouse configure 13.2.0
   1626 generated by GNU Autoconf 2.71
   1627 
   1628 Copyright (C) 2021 Free Software Foundation, Inc.
   1629 This configure script is free software; the Free Software Foundation
   1630 gives unlimited permission to copy, distribute and modify it.
   1631 _ACEOF
   1632   exit
   1633 fi
   1634 
   1635 ## ------------------------ ##
   1636 ## Autoconf initialization. ##
   1637 ## ------------------------ ##
   1638 
   1639 # ac_fn_c_try_compile LINENO
   1640 # --------------------------
   1641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1642 ac_fn_c_try_compile ()
   1643 {
   1644   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1645   rm -f conftest.$ac_objext conftest.beam
   1646   if { { ac_try="$ac_compile"
   1647 case "(($ac_try" in
   1648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1649   *) ac_try_echo=$ac_try;;
   1650 esac
   1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1652 printf "%s\n" "$ac_try_echo"; } >&5
   1653   (eval "$ac_compile") 2>conftest.err
   1654   ac_status=$?
   1655   if test -s conftest.err; then
   1656     grep -v '^ *+' conftest.err >conftest.er1
   1657     cat conftest.er1 >&5
   1658     mv -f conftest.er1 conftest.err
   1659   fi
   1660   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1661   test $ac_status = 0; } && {
   1662 	 test -z "$ac_c_werror_flag" ||
   1663 	 test ! -s conftest.err
   1664        } && test -s conftest.$ac_objext
   1665 then :
   1666   ac_retval=0
   1667 else $as_nop
   1668   printf "%s\n" "$as_me: failed program was:" >&5
   1669 sed 's/^/| /' conftest.$ac_ext >&5
   1670 
   1671 	ac_retval=1
   1672 fi
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674   as_fn_set_status $ac_retval
   1675 
   1676 } # ac_fn_c_try_compile
   1677 
   1678 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1679 # ------------------------------------------------------------------
   1680 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1681 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1682 ac_fn_check_decl ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1687 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1688 if eval test \${$3+y}
   1689 then :
   1690   printf %s "(cached) " >&6
   1691 else $as_nop
   1692   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1693   eval ac_save_FLAGS=\$$6
   1694   as_fn_append $6 " $5"
   1695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1696 /* end confdefs.h.  */
   1697 $4
   1698 int
   1699 main (void)
   1700 {
   1701 #ifndef $as_decl_name
   1702 #ifdef __cplusplus
   1703   (void) $as_decl_use;
   1704 #else
   1705   (void) $as_decl_name;
   1706 #endif
   1707 #endif
   1708 
   1709   ;
   1710   return 0;
   1711 }
   1712 _ACEOF
   1713 if ac_fn_c_try_compile "$LINENO"
   1714 then :
   1715   eval "$3=yes"
   1716 else $as_nop
   1717   eval "$3=no"
   1718 fi
   1719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1720   eval $6=\$ac_save_FLAGS
   1721 
   1722 fi
   1723 eval ac_res=\$$3
   1724 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1725 printf "%s\n" "$ac_res" >&6; }
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727 
   1728 } # ac_fn_check_decl
   1729 
   1730 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1731 # -------------------------------------------------------
   1732 # Tests whether HEADER exists and can be compiled using the include files in
   1733 # INCLUDES, setting the cache variable VAR accordingly.
   1734 ac_fn_c_check_header_compile ()
   1735 {
   1736   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 printf %s "checking for $2... " >&6; }
   1739 if eval test \${$3+y}
   1740 then :
   1741   printf %s "(cached) " >&6
   1742 else $as_nop
   1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 $4
   1746 #include <$2>
   1747 _ACEOF
   1748 if ac_fn_c_try_compile "$LINENO"
   1749 then :
   1750   eval "$3=yes"
   1751 else $as_nop
   1752   eval "$3=no"
   1753 fi
   1754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1755 fi
   1756 eval ac_res=\$$3
   1757 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1758 printf "%s\n" "$ac_res" >&6; }
   1759   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1760 
   1761 } # ac_fn_c_check_header_compile
   1762 
   1763 # ac_fn_c_try_link LINENO
   1764 # -----------------------
   1765 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1766 ac_fn_c_try_link ()
   1767 {
   1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1769   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1770   if { { ac_try="$ac_link"
   1771 case "(($ac_try" in
   1772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1773   *) ac_try_echo=$ac_try;;
   1774 esac
   1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1776 printf "%s\n" "$ac_try_echo"; } >&5
   1777   (eval "$ac_link") 2>conftest.err
   1778   ac_status=$?
   1779   if test -s conftest.err; then
   1780     grep -v '^ *+' conftest.err >conftest.er1
   1781     cat conftest.er1 >&5
   1782     mv -f conftest.er1 conftest.err
   1783   fi
   1784   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1785   test $ac_status = 0; } && {
   1786 	 test -z "$ac_c_werror_flag" ||
   1787 	 test ! -s conftest.err
   1788        } && test -s conftest$ac_exeext && {
   1789 	 test "$cross_compiling" = yes ||
   1790 	 test -x conftest$ac_exeext
   1791        }
   1792 then :
   1793   ac_retval=0
   1794 else $as_nop
   1795   printf "%s\n" "$as_me: failed program was:" >&5
   1796 sed 's/^/| /' conftest.$ac_ext >&5
   1797 
   1798 	ac_retval=1
   1799 fi
   1800   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1801   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1802   # interfere with the next link command; also delete a directory that is
   1803   # left behind by Apple's compiler.  We do this before executing the actions.
   1804   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1805   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1806   as_fn_set_status $ac_retval
   1807 
   1808 } # ac_fn_c_try_link
   1809 
   1810 # ac_fn_c_check_func LINENO FUNC VAR
   1811 # ----------------------------------
   1812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1813 ac_fn_c_check_func ()
   1814 {
   1815   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1817 printf %s "checking for $2... " >&6; }
   1818 if eval test \${$3+y}
   1819 then :
   1820   printf %s "(cached) " >&6
   1821 else $as_nop
   1822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1823 /* end confdefs.h.  */
   1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1826 #define $2 innocuous_$2
   1827 
   1828 /* System header to define __stub macros and hopefully few prototypes,
   1829    which can conflict with char $2 (); below.  */
   1830 
   1831 #include <limits.h>
   1832 #undef $2
   1833 
   1834 /* Override any GCC internal prototype to avoid an error.
   1835    Use char because int might match the return type of a GCC
   1836    builtin and then its argument prototype would still apply.  */
   1837 #ifdef __cplusplus
   1838 extern "C"
   1839 #endif
   1840 char $2 ();
   1841 /* The GNU C library defines this for functions which it implements
   1842     to always fail with ENOSYS.  Some functions are actually named
   1843     something starting with __ and the normal name is an alias.  */
   1844 #if defined __stub_$2 || defined __stub___$2
   1845 choke me
   1846 #endif
   1847 
   1848 int
   1849 main (void)
   1850 {
   1851 return $2 ();
   1852   ;
   1853   return 0;
   1854 }
   1855 _ACEOF
   1856 if ac_fn_c_try_link "$LINENO"
   1857 then :
   1858   eval "$3=yes"
   1859 else $as_nop
   1860   eval "$3=no"
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1863     conftest$ac_exeext conftest.$ac_ext
   1864 fi
   1865 eval ac_res=\$$3
   1866 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1867 printf "%s\n" "$ac_res" >&6; }
   1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1869 
   1870 } # ac_fn_c_check_func
   1871 ac_configure_args_raw=
   1872 for ac_arg
   1873 do
   1874   case $ac_arg in
   1875   *\'*)
   1876     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1877   esac
   1878   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1879 done
   1880 
   1881 case $ac_configure_args_raw in
   1882   *$as_nl*)
   1883     ac_safe_unquote= ;;
   1884   *)
   1885     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1886     ac_unsafe_a="$ac_unsafe_z#~"
   1887     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1888     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1889 esac
   1890 
   1891 cat >config.log <<_ACEOF
   1892 This file contains any messages produced by compilers while
   1893 running configure, to aid debugging if configure makes a mistake.
   1894 
   1895 It was created by xf86-input-vmmouse $as_me 13.2.0, which was
   1896 generated by GNU Autoconf 2.71.  Invocation command line was
   1897 
   1898   $ $0$ac_configure_args_raw
   1899 
   1900 _ACEOF
   1901 exec 5>>config.log
   1902 {
   1903 cat <<_ASUNAME
   1904 ## --------- ##
   1905 ## Platform. ##
   1906 ## --------- ##
   1907 
   1908 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1909 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1910 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1911 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1912 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1913 
   1914 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1915 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1916 
   1917 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1918 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1919 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1920 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1921 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1922 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1923 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1924 
   1925 _ASUNAME
   1926 
   1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1928 for as_dir in $PATH
   1929 do
   1930   IFS=$as_save_IFS
   1931   case $as_dir in #(((
   1932     '') as_dir=./ ;;
   1933     */) ;;
   1934     *) as_dir=$as_dir/ ;;
   1935   esac
   1936     printf "%s\n" "PATH: $as_dir"
   1937   done
   1938 IFS=$as_save_IFS
   1939 
   1940 } >&5
   1941 
   1942 cat >&5 <<_ACEOF
   1943 
   1944 
   1945 ## ----------- ##
   1946 ## Core tests. ##
   1947 ## ----------- ##
   1948 
   1949 _ACEOF
   1950 
   1951 
   1952 # Keep a trace of the command line.
   1953 # Strip out --no-create and --no-recursion so they do not pile up.
   1954 # Strip out --silent because we don't want to record it for future runs.
   1955 # Also quote any args containing shell meta-characters.
   1956 # Make two passes to allow for proper duplicate-argument suppression.
   1957 ac_configure_args=
   1958 ac_configure_args0=
   1959 ac_configure_args1=
   1960 ac_must_keep_next=false
   1961 for ac_pass in 1 2
   1962 do
   1963   for ac_arg
   1964   do
   1965     case $ac_arg in
   1966     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1967     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1968     | -silent | --silent | --silen | --sile | --sil)
   1969       continue ;;
   1970     *\'*)
   1971       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1972     esac
   1973     case $ac_pass in
   1974     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1975     2)
   1976       as_fn_append ac_configure_args1 " '$ac_arg'"
   1977       if test $ac_must_keep_next = true; then
   1978 	ac_must_keep_next=false # Got value, back to normal.
   1979       else
   1980 	case $ac_arg in
   1981 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1982 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1983 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1984 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1985 	    case "$ac_configure_args0 " in
   1986 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1987 	    esac
   1988 	    ;;
   1989 	  -* ) ac_must_keep_next=true ;;
   1990 	esac
   1991       fi
   1992       as_fn_append ac_configure_args " '$ac_arg'"
   1993       ;;
   1994     esac
   1995   done
   1996 done
   1997 { ac_configure_args0=; unset ac_configure_args0;}
   1998 { ac_configure_args1=; unset ac_configure_args1;}
   1999 
   2000 # When interrupted or exit'd, cleanup temporary files, and complete
   2001 # config.log.  We remove comments because anyway the quotes in there
   2002 # would cause problems or look ugly.
   2003 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2004 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2005 trap 'exit_status=$?
   2006   # Sanitize IFS.
   2007   IFS=" ""	$as_nl"
   2008   # Save into config.log some information that might help in debugging.
   2009   {
   2010     echo
   2011 
   2012     printf "%s\n" "## ---------------- ##
   2013 ## Cache variables. ##
   2014 ## ---------------- ##"
   2015     echo
   2016     # The following way of writing the cache mishandles newlines in values,
   2017 (
   2018   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2019     eval ac_val=\$$ac_var
   2020     case $ac_val in #(
   2021     *${as_nl}*)
   2022       case $ac_var in #(
   2023       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2024 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2025       esac
   2026       case $ac_var in #(
   2027       _ | IFS | as_nl) ;; #(
   2028       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2029       *) { eval $ac_var=; unset $ac_var;} ;;
   2030       esac ;;
   2031     esac
   2032   done
   2033   (set) 2>&1 |
   2034     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2035     *${as_nl}ac_space=\ *)
   2036       sed -n \
   2037 	"s/'\''/'\''\\\\'\'''\''/g;
   2038 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2039       ;; #(
   2040     *)
   2041       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2042       ;;
   2043     esac |
   2044     sort
   2045 )
   2046     echo
   2047 
   2048     printf "%s\n" "## ----------------- ##
   2049 ## Output variables. ##
   2050 ## ----------------- ##"
   2051     echo
   2052     for ac_var in $ac_subst_vars
   2053     do
   2054       eval ac_val=\$$ac_var
   2055       case $ac_val in
   2056       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2057       esac
   2058       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2059     done | sort
   2060     echo
   2061 
   2062     if test -n "$ac_subst_files"; then
   2063       printf "%s\n" "## ------------------- ##
   2064 ## File substitutions. ##
   2065 ## ------------------- ##"
   2066       echo
   2067       for ac_var in $ac_subst_files
   2068       do
   2069 	eval ac_val=\$$ac_var
   2070 	case $ac_val in
   2071 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2072 	esac
   2073 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2074       done | sort
   2075       echo
   2076     fi
   2077 
   2078     if test -s confdefs.h; then
   2079       printf "%s\n" "## ----------- ##
   2080 ## confdefs.h. ##
   2081 ## ----------- ##"
   2082       echo
   2083       cat confdefs.h
   2084       echo
   2085     fi
   2086     test "$ac_signal" != 0 &&
   2087       printf "%s\n" "$as_me: caught signal $ac_signal"
   2088     printf "%s\n" "$as_me: exit $exit_status"
   2089   } >&5
   2090   rm -f core *.core core.conftest.* &&
   2091     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2092     exit $exit_status
   2093 ' 0
   2094 for ac_signal in 1 2 13 15; do
   2095   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2096 done
   2097 ac_signal=0
   2098 
   2099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2100 rm -f -r conftest* confdefs.h
   2101 
   2102 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2103 
   2104 # Predefined preprocessor variables.
   2105 
   2106 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2107 
   2108 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2109 
   2110 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2111 
   2112 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2113 
   2114 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2115 
   2116 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2117 
   2118 
   2119 # Let the site file select an alternate cache file if it wants to.
   2120 # Prefer an explicitly selected file to automatically selected ones.
   2121 if test -n "$CONFIG_SITE"; then
   2122   ac_site_files="$CONFIG_SITE"
   2123 elif test "x$prefix" != xNONE; then
   2124   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2125 else
   2126   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2127 fi
   2128 
   2129 for ac_site_file in $ac_site_files
   2130 do
   2131   case $ac_site_file in #(
   2132   */*) :
   2133      ;; #(
   2134   *) :
   2135     ac_site_file=./$ac_site_file ;;
   2136 esac
   2137   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2138     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2139 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2140     sed 's/^/| /' "$ac_site_file" >&5
   2141     . "$ac_site_file" \
   2142       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2143 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2144 as_fn_error $? "failed to load site script $ac_site_file
   2145 See \`config.log' for more details" "$LINENO" 5; }
   2146   fi
   2147 done
   2148 
   2149 if test -r "$cache_file"; then
   2150   # Some versions of bash will fail to source /dev/null (special files
   2151   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2152   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2153     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2154 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2155     case $cache_file in
   2156       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2157       *)                      . "./$cache_file";;
   2158     esac
   2159   fi
   2160 else
   2161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2162 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2163   >$cache_file
   2164 fi
   2165 
   2166 # Test code for whether the C compiler supports C89 (global declarations)
   2167 ac_c_conftest_c89_globals='
   2168 /* Does the compiler advertise C89 conformance?
   2169    Do not test the value of __STDC__, because some compilers set it to 0
   2170    while being otherwise adequately conformant. */
   2171 #if !defined __STDC__
   2172 # error "Compiler does not advertise C89 conformance"
   2173 #endif
   2174 
   2175 #include <stddef.h>
   2176 #include <stdarg.h>
   2177 struct stat;
   2178 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2179 struct buf { int x; };
   2180 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2181 static char *e (p, i)
   2182      char **p;
   2183      int i;
   2184 {
   2185   return p[i];
   2186 }
   2187 static char *f (char * (*g) (char **, int), char **p, ...)
   2188 {
   2189   char *s;
   2190   va_list v;
   2191   va_start (v,p);
   2192   s = g (p, va_arg (v,int));
   2193   va_end (v);
   2194   return s;
   2195 }
   2196 
   2197 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2198    function prototypes and stuff, but not \xHH hex character constants.
   2199    These do not provoke an error unfortunately, instead are silently treated
   2200    as an "x".  The following induces an error, until -std is added to get
   2201    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2202    array size at least.  It is necessary to write \x00 == 0 to get something
   2203    that is true only with -std.  */
   2204 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2205 
   2206 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2207    inside strings and character constants.  */
   2208 #define FOO(x) '\''x'\''
   2209 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2210 
   2211 int test (int i, double x);
   2212 struct s1 {int (*f) (int a);};
   2213 struct s2 {int (*f) (double a);};
   2214 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2215                int, int);'
   2216 
   2217 # Test code for whether the C compiler supports C89 (body of main).
   2218 ac_c_conftest_c89_main='
   2219 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2220 '
   2221 
   2222 # Test code for whether the C compiler supports C99 (global declarations)
   2223 ac_c_conftest_c99_globals='
   2224 // Does the compiler advertise C99 conformance?
   2225 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2226 # error "Compiler does not advertise C99 conformance"
   2227 #endif
   2228 
   2229 #include <stdbool.h>
   2230 extern int puts (const char *);
   2231 extern int printf (const char *, ...);
   2232 extern int dprintf (int, const char *, ...);
   2233 extern void *malloc (size_t);
   2234 
   2235 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2236 // dprintf is used instead of fprintf to avoid needing to declare
   2237 // FILE and stderr.
   2238 #define debug(...) dprintf (2, __VA_ARGS__)
   2239 #define showlist(...) puts (#__VA_ARGS__)
   2240 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2241 static void
   2242 test_varargs_macros (void)
   2243 {
   2244   int x = 1234;
   2245   int y = 5678;
   2246   debug ("Flag");
   2247   debug ("X = %d\n", x);
   2248   showlist (The first, second, and third items.);
   2249   report (x>y, "x is %d but y is %d", x, y);
   2250 }
   2251 
   2252 // Check long long types.
   2253 #define BIG64 18446744073709551615ull
   2254 #define BIG32 4294967295ul
   2255 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2256 #if !BIG_OK
   2257   #error "your preprocessor is broken"
   2258 #endif
   2259 #if BIG_OK
   2260 #else
   2261   #error "your preprocessor is broken"
   2262 #endif
   2263 static long long int bignum = -9223372036854775807LL;
   2264 static unsigned long long int ubignum = BIG64;
   2265 
   2266 struct incomplete_array
   2267 {
   2268   int datasize;
   2269   double data[];
   2270 };
   2271 
   2272 struct named_init {
   2273   int number;
   2274   const wchar_t *name;
   2275   double average;
   2276 };
   2277 
   2278 typedef const char *ccp;
   2279 
   2280 static inline int
   2281 test_restrict (ccp restrict text)
   2282 {
   2283   // See if C++-style comments work.
   2284   // Iterate through items via the restricted pointer.
   2285   // Also check for declarations in for loops.
   2286   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2287     continue;
   2288   return 0;
   2289 }
   2290 
   2291 // Check varargs and va_copy.
   2292 static bool
   2293 test_varargs (const char *format, ...)
   2294 {
   2295   va_list args;
   2296   va_start (args, format);
   2297   va_list args_copy;
   2298   va_copy (args_copy, args);
   2299 
   2300   const char *str = "";
   2301   int number = 0;
   2302   float fnumber = 0;
   2303 
   2304   while (*format)
   2305     {
   2306       switch (*format++)
   2307 	{
   2308 	case '\''s'\'': // string
   2309 	  str = va_arg (args_copy, const char *);
   2310 	  break;
   2311 	case '\''d'\'': // int
   2312 	  number = va_arg (args_copy, int);
   2313 	  break;
   2314 	case '\''f'\'': // float
   2315 	  fnumber = va_arg (args_copy, double);
   2316 	  break;
   2317 	default:
   2318 	  break;
   2319 	}
   2320     }
   2321   va_end (args_copy);
   2322   va_end (args);
   2323 
   2324   return *str && number && fnumber;
   2325 }
   2326 '
   2327 
   2328 # Test code for whether the C compiler supports C99 (body of main).
   2329 ac_c_conftest_c99_main='
   2330   // Check bool.
   2331   _Bool success = false;
   2332   success |= (argc != 0);
   2333 
   2334   // Check restrict.
   2335   if (test_restrict ("String literal") == 0)
   2336     success = true;
   2337   char *restrict newvar = "Another string";
   2338 
   2339   // Check varargs.
   2340   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2341   test_varargs_macros ();
   2342 
   2343   // Check flexible array members.
   2344   struct incomplete_array *ia =
   2345     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2346   ia->datasize = 10;
   2347   for (int i = 0; i < ia->datasize; ++i)
   2348     ia->data[i] = i * 1.234;
   2349 
   2350   // Check named initializers.
   2351   struct named_init ni = {
   2352     .number = 34,
   2353     .name = L"Test wide string",
   2354     .average = 543.34343,
   2355   };
   2356 
   2357   ni.number = 58;
   2358 
   2359   int dynamic_array[ni.number];
   2360   dynamic_array[0] = argv[0][0];
   2361   dynamic_array[ni.number - 1] = 543;
   2362 
   2363   // work around unused variable warnings
   2364   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2365 	 || dynamic_array[ni.number - 1] != 543);
   2366 '
   2367 
   2368 # Test code for whether the C compiler supports C11 (global declarations)
   2369 ac_c_conftest_c11_globals='
   2370 // Does the compiler advertise C11 conformance?
   2371 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2372 # error "Compiler does not advertise C11 conformance"
   2373 #endif
   2374 
   2375 // Check _Alignas.
   2376 char _Alignas (double) aligned_as_double;
   2377 char _Alignas (0) no_special_alignment;
   2378 extern char aligned_as_int;
   2379 char _Alignas (0) _Alignas (int) aligned_as_int;
   2380 
   2381 // Check _Alignof.
   2382 enum
   2383 {
   2384   int_alignment = _Alignof (int),
   2385   int_array_alignment = _Alignof (int[100]),
   2386   char_alignment = _Alignof (char)
   2387 };
   2388 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2389 
   2390 // Check _Noreturn.
   2391 int _Noreturn does_not_return (void) { for (;;) continue; }
   2392 
   2393 // Check _Static_assert.
   2394 struct test_static_assert
   2395 {
   2396   int x;
   2397   _Static_assert (sizeof (int) <= sizeof (long int),
   2398                   "_Static_assert does not work in struct");
   2399   long int y;
   2400 };
   2401 
   2402 // Check UTF-8 literals.
   2403 #define u8 syntax error!
   2404 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2405 
   2406 // Check duplicate typedefs.
   2407 typedef long *long_ptr;
   2408 typedef long int *long_ptr;
   2409 typedef long_ptr long_ptr;
   2410 
   2411 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2412 struct anonymous
   2413 {
   2414   union {
   2415     struct { int i; int j; };
   2416     struct { int k; long int l; } w;
   2417   };
   2418   int m;
   2419 } v1;
   2420 '
   2421 
   2422 # Test code for whether the C compiler supports C11 (body of main).
   2423 ac_c_conftest_c11_main='
   2424   _Static_assert ((offsetof (struct anonymous, i)
   2425 		   == offsetof (struct anonymous, w.k)),
   2426 		  "Anonymous union alignment botch");
   2427   v1.i = 2;
   2428   v1.w.k = 5;
   2429   ok |= v1.i != 5;
   2430 '
   2431 
   2432 # Test code for whether the C compiler supports C11 (complete).
   2433 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2434 ${ac_c_conftest_c99_globals}
   2435 ${ac_c_conftest_c11_globals}
   2436 
   2437 int
   2438 main (int argc, char **argv)
   2439 {
   2440   int ok = 0;
   2441   ${ac_c_conftest_c89_main}
   2442   ${ac_c_conftest_c99_main}
   2443   ${ac_c_conftest_c11_main}
   2444   return ok;
   2445 }
   2446 "
   2447 
   2448 # Test code for whether the C compiler supports C99 (complete).
   2449 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2450 ${ac_c_conftest_c99_globals}
   2451 
   2452 int
   2453 main (int argc, char **argv)
   2454 {
   2455   int ok = 0;
   2456   ${ac_c_conftest_c89_main}
   2457   ${ac_c_conftest_c99_main}
   2458   return ok;
   2459 }
   2460 "
   2461 
   2462 # Test code for whether the C compiler supports C89 (complete).
   2463 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2464 
   2465 int
   2466 main (int argc, char **argv)
   2467 {
   2468   int ok = 0;
   2469   ${ac_c_conftest_c89_main}
   2470   return ok;
   2471 }
   2472 "
   2473 
   2474 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2475 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2476 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2477 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2478 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2479 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2480 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2481 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2482 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2483 
   2484 # Auxiliary files required by this configure script.
   2485 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2486 
   2487 # Locations in which to look for auxiliary files.
   2488 ac_aux_dir_candidates="${srcdir}/."
   2489 
   2490 # Search for a directory containing all of the required auxiliary files,
   2491 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2492 # If we don't find one directory that contains all the files we need,
   2493 # we report the set of missing files from the *first* directory in
   2494 # $ac_aux_dir_candidates and give up.
   2495 ac_missing_aux_files=""
   2496 ac_first_candidate=:
   2497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2499 as_found=false
   2500 for as_dir in $ac_aux_dir_candidates
   2501 do
   2502   IFS=$as_save_IFS
   2503   case $as_dir in #(((
   2504     '') as_dir=./ ;;
   2505     */) ;;
   2506     *) as_dir=$as_dir/ ;;
   2507   esac
   2508   as_found=:
   2509 
   2510   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2511   ac_aux_dir_found=yes
   2512   ac_install_sh=
   2513   for ac_aux in $ac_aux_files
   2514   do
   2515     # As a special case, if "install-sh" is required, that requirement
   2516     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2517     # and $ac_install_sh is set appropriately for whichever one is found.
   2518     if test x"$ac_aux" = x"install-sh"
   2519     then
   2520       if test -f "${as_dir}install-sh"; then
   2521         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2522         ac_install_sh="${as_dir}install-sh -c"
   2523       elif test -f "${as_dir}install.sh"; then
   2524         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2525         ac_install_sh="${as_dir}install.sh -c"
   2526       elif test -f "${as_dir}shtool"; then
   2527         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2528         ac_install_sh="${as_dir}shtool install -c"
   2529       else
   2530         ac_aux_dir_found=no
   2531         if $ac_first_candidate; then
   2532           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2533         else
   2534           break
   2535         fi
   2536       fi
   2537     else
   2538       if test -f "${as_dir}${ac_aux}"; then
   2539         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2540       else
   2541         ac_aux_dir_found=no
   2542         if $ac_first_candidate; then
   2543           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2544         else
   2545           break
   2546         fi
   2547       fi
   2548     fi
   2549   done
   2550   if test "$ac_aux_dir_found" = yes; then
   2551     ac_aux_dir="$as_dir"
   2552     break
   2553   fi
   2554   ac_first_candidate=false
   2555 
   2556   as_found=false
   2557 done
   2558 IFS=$as_save_IFS
   2559 if $as_found
   2560 then :
   2561 
   2562 else $as_nop
   2563   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2564 fi
   2565 
   2566 
   2567 # These three variables are undocumented and unsupported,
   2568 # and are intended to be withdrawn in a future Autoconf release.
   2569 # They can cause serious problems if a builder's source tree is in a directory
   2570 # whose full name contains unusual characters.
   2571 if test -f "${ac_aux_dir}config.guess"; then
   2572   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2573 fi
   2574 if test -f "${ac_aux_dir}config.sub"; then
   2575   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2576 fi
   2577 if test -f "$ac_aux_dir/configure"; then
   2578   ac_configure="$SHELL ${ac_aux_dir}configure"
   2579 fi
   2580 
   2581 # Check that the precious variables saved in the cache have kept the same
   2582 # value.
   2583 ac_cache_corrupted=false
   2584 for ac_var in $ac_precious_vars; do
   2585   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2586   eval ac_new_set=\$ac_env_${ac_var}_set
   2587   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2588   eval ac_new_val=\$ac_env_${ac_var}_value
   2589   case $ac_old_set,$ac_new_set in
   2590     set,)
   2591       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2592 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2593       ac_cache_corrupted=: ;;
   2594     ,set)
   2595       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2596 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2597       ac_cache_corrupted=: ;;
   2598     ,);;
   2599     *)
   2600       if test "x$ac_old_val" != "x$ac_new_val"; then
   2601 	# differences in whitespace do not lead to failure.
   2602 	ac_old_val_w=`echo x $ac_old_val`
   2603 	ac_new_val_w=`echo x $ac_new_val`
   2604 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2605 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2606 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2607 	  ac_cache_corrupted=:
   2608 	else
   2609 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2610 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2611 	  eval $ac_var=\$ac_old_val
   2612 	fi
   2613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2614 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2615 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2616 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2617       fi;;
   2618   esac
   2619   # Pass precious variables to config.status.
   2620   if test "$ac_new_set" = set; then
   2621     case $ac_new_val in
   2622     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2623     *) ac_arg=$ac_var=$ac_new_val ;;
   2624     esac
   2625     case " $ac_configure_args " in
   2626       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2627       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2628     esac
   2629   fi
   2630 done
   2631 if $ac_cache_corrupted; then
   2632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2633 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2635 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2636   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2637 	    and start over" "$LINENO" 5
   2638 fi
   2639 ## -------------------- ##
   2640 ## Main body of script. ##
   2641 ## -------------------- ##
   2642 
   2643 ac_ext=c
   2644 ac_cpp='$CPP $CPPFLAGS'
   2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2648 
   2649 
   2650 
   2651 
   2652 
   2653 ac_config_headers="$ac_config_headers config.h"
   2654 
   2655 
   2656 am__api_version='1.16'
   2657 
   2658 
   2659 
   2660   # Find a good install program.  We prefer a C program (faster),
   2661 # so one script is as good as another.  But avoid the broken or
   2662 # incompatible versions:
   2663 # SysV /etc/install, /usr/sbin/install
   2664 # SunOS /usr/etc/install
   2665 # IRIX /sbin/install
   2666 # AIX /bin/install
   2667 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2668 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2669 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2670 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2671 # OS/2's system install, which has a completely different semantic
   2672 # ./install, which can be erroneously created by make from ./install.sh.
   2673 # Reject install programs that cannot install multiple files.
   2674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2675 printf %s "checking for a BSD-compatible install... " >&6; }
   2676 if test -z "$INSTALL"; then
   2677 if test ${ac_cv_path_install+y}
   2678 then :
   2679   printf %s "(cached) " >&6
   2680 else $as_nop
   2681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2682 for as_dir in $PATH
   2683 do
   2684   IFS=$as_save_IFS
   2685   case $as_dir in #(((
   2686     '') as_dir=./ ;;
   2687     */) ;;
   2688     *) as_dir=$as_dir/ ;;
   2689   esac
   2690     # Account for fact that we put trailing slashes in our PATH walk.
   2691 case $as_dir in #((
   2692   ./ | /[cC]/* | \
   2693   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2694   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2695   /usr/ucb/* ) ;;
   2696   *)
   2697     # OSF1 and SCO ODT 3.0 have their own names for install.
   2698     # Don't use installbsd from OSF since it installs stuff as root
   2699     # by default.
   2700     for ac_prog in ginstall scoinst install; do
   2701       for ac_exec_ext in '' $ac_executable_extensions; do
   2702 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2703 	  if test $ac_prog = install &&
   2704 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2705 	    # AIX install.  It has an incompatible calling convention.
   2706 	    :
   2707 	  elif test $ac_prog = install &&
   2708 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2709 	    # program-specific install script used by HP pwplus--don't use.
   2710 	    :
   2711 	  else
   2712 	    rm -rf conftest.one conftest.two conftest.dir
   2713 	    echo one > conftest.one
   2714 	    echo two > conftest.two
   2715 	    mkdir conftest.dir
   2716 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2717 	      test -s conftest.one && test -s conftest.two &&
   2718 	      test -s conftest.dir/conftest.one &&
   2719 	      test -s conftest.dir/conftest.two
   2720 	    then
   2721 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2722 	      break 3
   2723 	    fi
   2724 	  fi
   2725 	fi
   2726       done
   2727     done
   2728     ;;
   2729 esac
   2730 
   2731   done
   2732 IFS=$as_save_IFS
   2733 
   2734 rm -rf conftest.one conftest.two conftest.dir
   2735 
   2736 fi
   2737   if test ${ac_cv_path_install+y}; then
   2738     INSTALL=$ac_cv_path_install
   2739   else
   2740     # As a last resort, use the slow shell script.  Don't cache a
   2741     # value for INSTALL within a source directory, because that will
   2742     # break other packages using the cache if that directory is
   2743     # removed, or if the value is a relative name.
   2744     INSTALL=$ac_install_sh
   2745   fi
   2746 fi
   2747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2748 printf "%s\n" "$INSTALL" >&6; }
   2749 
   2750 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2751 # It thinks the first close brace ends the variable substitution.
   2752 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2753 
   2754 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2755 
   2756 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2757 
   2758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2759 printf %s "checking whether build environment is sane... " >&6; }
   2760 # Reject unsafe characters in $srcdir or the absolute working directory
   2761 # name.  Accept space and tab only in the latter.
   2762 am_lf='
   2763 '
   2764 case `pwd` in
   2765   *[\\\"\#\$\&\'\`$am_lf]*)
   2766     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2767 esac
   2768 case $srcdir in
   2769   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2770     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2771 esac
   2772 
   2773 # Do 'set' in a subshell so we don't clobber the current shell's
   2774 # arguments.  Must try -L first in case configure is actually a
   2775 # symlink; some systems play weird games with the mod time of symlinks
   2776 # (eg FreeBSD returns the mod time of the symlink's containing
   2777 # directory).
   2778 if (
   2779    am_has_slept=no
   2780    for am_try in 1 2; do
   2781      echo "timestamp, slept: $am_has_slept" > conftest.file
   2782      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2783      if test "$*" = "X"; then
   2784 	# -L didn't work.
   2785 	set X `ls -t "$srcdir/configure" conftest.file`
   2786      fi
   2787      if test "$*" != "X $srcdir/configure conftest.file" \
   2788 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2789 
   2790 	# If neither matched, then we have a broken ls.  This can happen
   2791 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2792 	# broken ls alias from the environment.  This has actually
   2793 	# happened.  Such a system could not be considered "sane".
   2794 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2795   alias in your environment" "$LINENO" 5
   2796      fi
   2797      if test "$2" = conftest.file || test $am_try -eq 2; then
   2798        break
   2799      fi
   2800      # Just in case.
   2801      sleep 1
   2802      am_has_slept=yes
   2803    done
   2804    test "$2" = conftest.file
   2805    )
   2806 then
   2807    # Ok.
   2808    :
   2809 else
   2810    as_fn_error $? "newly created file is older than distributed files!
   2811 Check your system clock" "$LINENO" 5
   2812 fi
   2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2814 printf "%s\n" "yes" >&6; }
   2815 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2816 # generated files are strictly newer.
   2817 am_sleep_pid=
   2818 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2819   ( sleep 1 ) &
   2820   am_sleep_pid=$!
   2821 fi
   2822 
   2823 rm -f conftest.file
   2824 
   2825 test "$program_prefix" != NONE &&
   2826   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2827 # Use a double $ so make ignores it.
   2828 test "$program_suffix" != NONE &&
   2829   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2830 # Double any \ or $.
   2831 # By default was `s,x,x', remove it if useless.
   2832 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2833 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2834 
   2835 
   2836 # Expand $ac_aux_dir to an absolute path.
   2837 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2838 
   2839 
   2840   if test x"${MISSING+set}" != xset; then
   2841   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2842 fi
   2843 # Use eval to expand $SHELL
   2844 if eval "$MISSING --is-lightweight"; then
   2845   am_missing_run="$MISSING "
   2846 else
   2847   am_missing_run=
   2848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2849 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2850 fi
   2851 
   2852 if test x"${install_sh+set}" != xset; then
   2853   case $am_aux_dir in
   2854   *\ * | *\	*)
   2855     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2856   *)
   2857     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2858   esac
   2859 fi
   2860 
   2861 # Installed binaries are usually stripped using 'strip' when the user
   2862 # run "make install-strip".  However 'strip' might not be the right
   2863 # tool to use in cross-compilation environments, therefore Automake
   2864 # will honor the 'STRIP' environment variable to overrule this program.
   2865 if test "$cross_compiling" != no; then
   2866   if test -n "$ac_tool_prefix"; then
   2867   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2868 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2870 printf %s "checking for $ac_word... " >&6; }
   2871 if test ${ac_cv_prog_STRIP+y}
   2872 then :
   2873   printf %s "(cached) " >&6
   2874 else $as_nop
   2875   if test -n "$STRIP"; then
   2876   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2877 else
   2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2879 for as_dir in $PATH
   2880 do
   2881   IFS=$as_save_IFS
   2882   case $as_dir in #(((
   2883     '') as_dir=./ ;;
   2884     */) ;;
   2885     *) as_dir=$as_dir/ ;;
   2886   esac
   2887     for ac_exec_ext in '' $ac_executable_extensions; do
   2888   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2889     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2890     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2891     break 2
   2892   fi
   2893 done
   2894   done
   2895 IFS=$as_save_IFS
   2896 
   2897 fi
   2898 fi
   2899 STRIP=$ac_cv_prog_STRIP
   2900 if test -n "$STRIP"; then
   2901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2902 printf "%s\n" "$STRIP" >&6; }
   2903 else
   2904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2905 printf "%s\n" "no" >&6; }
   2906 fi
   2907 
   2908 
   2909 fi
   2910 if test -z "$ac_cv_prog_STRIP"; then
   2911   ac_ct_STRIP=$STRIP
   2912   # Extract the first word of "strip", so it can be a program name with args.
   2913 set dummy strip; ac_word=$2
   2914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2915 printf %s "checking for $ac_word... " >&6; }
   2916 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2917 then :
   2918   printf %s "(cached) " >&6
   2919 else $as_nop
   2920   if test -n "$ac_ct_STRIP"; then
   2921   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2922 else
   2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2924 for as_dir in $PATH
   2925 do
   2926   IFS=$as_save_IFS
   2927   case $as_dir in #(((
   2928     '') as_dir=./ ;;
   2929     */) ;;
   2930     *) as_dir=$as_dir/ ;;
   2931   esac
   2932     for ac_exec_ext in '' $ac_executable_extensions; do
   2933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2934     ac_cv_prog_ac_ct_STRIP="strip"
   2935     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2936     break 2
   2937   fi
   2938 done
   2939   done
   2940 IFS=$as_save_IFS
   2941 
   2942 fi
   2943 fi
   2944 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2945 if test -n "$ac_ct_STRIP"; then
   2946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2947 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2948 else
   2949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2950 printf "%s\n" "no" >&6; }
   2951 fi
   2952 
   2953   if test "x$ac_ct_STRIP" = x; then
   2954     STRIP=":"
   2955   else
   2956     case $cross_compiling:$ac_tool_warned in
   2957 yes:)
   2958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2959 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2960 ac_tool_warned=yes ;;
   2961 esac
   2962     STRIP=$ac_ct_STRIP
   2963   fi
   2964 else
   2965   STRIP="$ac_cv_prog_STRIP"
   2966 fi
   2967 
   2968 fi
   2969 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2970 
   2971 
   2972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2973 printf %s "checking for a race-free mkdir -p... " >&6; }
   2974 if test -z "$MKDIR_P"; then
   2975   if test ${ac_cv_path_mkdir+y}
   2976 then :
   2977   printf %s "(cached) " >&6
   2978 else $as_nop
   2979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2981 do
   2982   IFS=$as_save_IFS
   2983   case $as_dir in #(((
   2984     '') as_dir=./ ;;
   2985     */) ;;
   2986     *) as_dir=$as_dir/ ;;
   2987   esac
   2988     for ac_prog in mkdir gmkdir; do
   2989 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2990 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2991 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2992 	     'mkdir ('*'coreutils) '* | \
   2993 	     'BusyBox '* | \
   2994 	     'mkdir (fileutils) '4.1*)
   2995 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2996 	       break 3;;
   2997 	   esac
   2998 	 done
   2999        done
   3000   done
   3001 IFS=$as_save_IFS
   3002 
   3003 fi
   3004 
   3005   test -d ./--version && rmdir ./--version
   3006   if test ${ac_cv_path_mkdir+y}; then
   3007     MKDIR_P="$ac_cv_path_mkdir -p"
   3008   else
   3009     # As a last resort, use the slow shell script.  Don't cache a
   3010     # value for MKDIR_P within a source directory, because that will
   3011     # break other packages using the cache if that directory is
   3012     # removed, or if the value is a relative name.
   3013     MKDIR_P="$ac_install_sh -d"
   3014   fi
   3015 fi
   3016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3017 printf "%s\n" "$MKDIR_P" >&6; }
   3018 
   3019 for ac_prog in gawk mawk nawk awk
   3020 do
   3021   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3022 set dummy $ac_prog; ac_word=$2
   3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3024 printf %s "checking for $ac_word... " >&6; }
   3025 if test ${ac_cv_prog_AWK+y}
   3026 then :
   3027   printf %s "(cached) " >&6
   3028 else $as_nop
   3029   if test -n "$AWK"; then
   3030   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3031 else
   3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3033 for as_dir in $PATH
   3034 do
   3035   IFS=$as_save_IFS
   3036   case $as_dir in #(((
   3037     '') as_dir=./ ;;
   3038     */) ;;
   3039     *) as_dir=$as_dir/ ;;
   3040   esac
   3041     for ac_exec_ext in '' $ac_executable_extensions; do
   3042   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3043     ac_cv_prog_AWK="$ac_prog"
   3044     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3045     break 2
   3046   fi
   3047 done
   3048   done
   3049 IFS=$as_save_IFS
   3050 
   3051 fi
   3052 fi
   3053 AWK=$ac_cv_prog_AWK
   3054 if test -n "$AWK"; then
   3055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3056 printf "%s\n" "$AWK" >&6; }
   3057 else
   3058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3059 printf "%s\n" "no" >&6; }
   3060 fi
   3061 
   3062 
   3063   test -n "$AWK" && break
   3064 done
   3065 
   3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3067 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3068 set x ${MAKE-make}
   3069 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3070 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3071 then :
   3072   printf %s "(cached) " >&6
   3073 else $as_nop
   3074   cat >conftest.make <<\_ACEOF
   3075 SHELL = /bin/sh
   3076 all:
   3077 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3078 _ACEOF
   3079 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3081   *@@@%%%=?*=@@@%%%*)
   3082     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3083   *)
   3084     eval ac_cv_prog_make_${ac_make}_set=no;;
   3085 esac
   3086 rm -f conftest.make
   3087 fi
   3088 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3090 printf "%s\n" "yes" >&6; }
   3091   SET_MAKE=
   3092 else
   3093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3094 printf "%s\n" "no" >&6; }
   3095   SET_MAKE="MAKE=${MAKE-make}"
   3096 fi
   3097 
   3098 rm -rf .tst 2>/dev/null
   3099 mkdir .tst 2>/dev/null
   3100 if test -d .tst; then
   3101   am__leading_dot=.
   3102 else
   3103   am__leading_dot=_
   3104 fi
   3105 rmdir .tst 2>/dev/null
   3106 
   3107 # Check whether --enable-silent-rules was given.
   3108 if test ${enable_silent_rules+y}
   3109 then :
   3110   enableval=$enable_silent_rules;
   3111 fi
   3112 
   3113 case $enable_silent_rules in # (((
   3114   yes) AM_DEFAULT_VERBOSITY=0;;
   3115    no) AM_DEFAULT_VERBOSITY=1;;
   3116     *) AM_DEFAULT_VERBOSITY=1;;
   3117 esac
   3118 am_make=${MAKE-make}
   3119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3120 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3121 if test ${am_cv_make_support_nested_variables+y}
   3122 then :
   3123   printf %s "(cached) " >&6
   3124 else $as_nop
   3125   if printf "%s\n" 'TRUE=$(BAR$(V))
   3126 BAR0=false
   3127 BAR1=true
   3128 V=1
   3129 am__doit:
   3130 	@$(TRUE)
   3131 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3132   am_cv_make_support_nested_variables=yes
   3133 else
   3134   am_cv_make_support_nested_variables=no
   3135 fi
   3136 fi
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3138 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3139 if test $am_cv_make_support_nested_variables = yes; then
   3140     AM_V='$(V)'
   3141   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3142 else
   3143   AM_V=$AM_DEFAULT_VERBOSITY
   3144   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3145 fi
   3146 AM_BACKSLASH='\'
   3147 
   3148 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3149   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3150   # is not polluted with repeated "-I."
   3151   am__isrc=' -I$(srcdir)'
   3152   # test to see if srcdir already configured
   3153   if test -f $srcdir/config.status; then
   3154     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3155   fi
   3156 fi
   3157 
   3158 # test whether we have cygpath
   3159 if test -z "$CYGPATH_W"; then
   3160   if (cygpath --version) >/dev/null 2>/dev/null; then
   3161     CYGPATH_W='cygpath -w'
   3162   else
   3163     CYGPATH_W=echo
   3164   fi
   3165 fi
   3166 
   3167 
   3168 # Define the identity of the package.
   3169  PACKAGE='xf86-input-vmmouse'
   3170  VERSION='13.2.0'
   3171 
   3172 
   3173 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3174 
   3175 
   3176 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3177 
   3178 # Some tools Automake needs.
   3179 
   3180 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3181 
   3182 
   3183 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3184 
   3185 
   3186 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3187 
   3188 
   3189 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3190 
   3191 
   3192 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3193 
   3194 # For better backward compatibility.  To be removed once Automake 1.9.x
   3195 # dies out for good.  For more background, see:
   3196 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3197 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3198 mkdir_p='$(MKDIR_P)'
   3199 
   3200 # We need awk for the "check" target (and possibly the TAP driver).  The
   3201 # system "awk" is bad on some platforms.
   3202 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3203 # in the wild :-(  We should find a proper way to deprecate it ...
   3204 AMTAR='$${TAR-tar}'
   3205 
   3206 
   3207 # We'll loop over all known methods to create a tar archive until one works.
   3208 _am_tools='gnutar  pax cpio none'
   3209 
   3210 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3211 
   3212 
   3213 
   3214 
   3215 
   3216 # Variables for tags utilities; see am/tags.am
   3217 if test -z "$CTAGS"; then
   3218   CTAGS=ctags
   3219 fi
   3220 
   3221 if test -z "$ETAGS"; then
   3222   ETAGS=etags
   3223 fi
   3224 
   3225 if test -z "$CSCOPE"; then
   3226   CSCOPE=cscope
   3227 fi
   3228 
   3229 
   3230 
   3231 # POSIX will say in a future version that running "rm -f" with no argument
   3232 # is OK; and we want to be able to make that assumption in our Makefile
   3233 # recipes.  So use an aggressive probe to check that the usage we want is
   3234 # actually supported "in the wild" to an acceptable degree.
   3235 # See automake bug#10828.
   3236 # To make any issue more visible, cause the running configure to be aborted
   3237 # by default if the 'rm' program in use doesn't match our expectations; the
   3238 # user can still override this though.
   3239 if rm -f && rm -fr && rm -rf; then : OK; else
   3240   cat >&2 <<'END'
   3241 Oops!
   3242 
   3243 Your 'rm' program seems unable to run without file operands specified
   3244 on the command line, even when the '-f' option is present.  This is contrary
   3245 to the behaviour of most rm programs out there, and not conforming with
   3246 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3247 
   3248 Please tell bug-automake@gnu.org about your system, including the value
   3249 of your $PATH and any error possibly output before this message.  This
   3250 can help us improve future automake versions.
   3251 
   3252 END
   3253   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3254     echo 'Configuration will proceed anyway, since you have set the' >&2
   3255     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3256     echo >&2
   3257   else
   3258     cat >&2 <<'END'
   3259 Aborting the configuration process, to ensure you take notice of the issue.
   3260 
   3261 You can download and install GNU coreutils to get an 'rm' implementation
   3262 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3263 
   3264 If you want to complete the configuration process using your problematic
   3265 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3266 to "yes", and re-run configure.
   3267 
   3268 END
   3269     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3270   fi
   3271 fi
   3272 
   3273 
   3274 # XORG_DEFAULT_OPTIONS below forces C99. Solaris GCC doesn't like that.
   3275 
   3276 
   3277 
   3278 
   3279 
   3280 
   3281 
   3282 
   3283 
   3284 ac_ext=c
   3285 ac_cpp='$CPP $CPPFLAGS'
   3286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3289 if test -n "$ac_tool_prefix"; then
   3290   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3293 printf %s "checking for $ac_word... " >&6; }
   3294 if test ${ac_cv_prog_CC+y}
   3295 then :
   3296   printf %s "(cached) " >&6
   3297 else $as_nop
   3298   if test -n "$CC"; then
   3299   ac_cv_prog_CC="$CC" # Let the user override the test.
   3300 else
   3301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3302 for as_dir in $PATH
   3303 do
   3304   IFS=$as_save_IFS
   3305   case $as_dir in #(((
   3306     '') as_dir=./ ;;
   3307     */) ;;
   3308     *) as_dir=$as_dir/ ;;
   3309   esac
   3310     for ac_exec_ext in '' $ac_executable_extensions; do
   3311   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3312     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3313     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3314     break 2
   3315   fi
   3316 done
   3317   done
   3318 IFS=$as_save_IFS
   3319 
   3320 fi
   3321 fi
   3322 CC=$ac_cv_prog_CC
   3323 if test -n "$CC"; then
   3324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3325 printf "%s\n" "$CC" >&6; }
   3326 else
   3327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3328 printf "%s\n" "no" >&6; }
   3329 fi
   3330 
   3331 
   3332 fi
   3333 if test -z "$ac_cv_prog_CC"; then
   3334   ac_ct_CC=$CC
   3335   # Extract the first word of "gcc", so it can be a program name with args.
   3336 set dummy gcc; ac_word=$2
   3337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3338 printf %s "checking for $ac_word... " >&6; }
   3339 if test ${ac_cv_prog_ac_ct_CC+y}
   3340 then :
   3341   printf %s "(cached) " >&6
   3342 else $as_nop
   3343   if test -n "$ac_ct_CC"; then
   3344   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3345 else
   3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3347 for as_dir in $PATH
   3348 do
   3349   IFS=$as_save_IFS
   3350   case $as_dir in #(((
   3351     '') as_dir=./ ;;
   3352     */) ;;
   3353     *) as_dir=$as_dir/ ;;
   3354   esac
   3355     for ac_exec_ext in '' $ac_executable_extensions; do
   3356   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3357     ac_cv_prog_ac_ct_CC="gcc"
   3358     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3359     break 2
   3360   fi
   3361 done
   3362   done
   3363 IFS=$as_save_IFS
   3364 
   3365 fi
   3366 fi
   3367 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3368 if test -n "$ac_ct_CC"; then
   3369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3370 printf "%s\n" "$ac_ct_CC" >&6; }
   3371 else
   3372   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3373 printf "%s\n" "no" >&6; }
   3374 fi
   3375 
   3376   if test "x$ac_ct_CC" = x; then
   3377     CC=""
   3378   else
   3379     case $cross_compiling:$ac_tool_warned in
   3380 yes:)
   3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3382 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3383 ac_tool_warned=yes ;;
   3384 esac
   3385     CC=$ac_ct_CC
   3386   fi
   3387 else
   3388   CC="$ac_cv_prog_CC"
   3389 fi
   3390 
   3391 if test -z "$CC"; then
   3392           if test -n "$ac_tool_prefix"; then
   3393     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3394 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3396 printf %s "checking for $ac_word... " >&6; }
   3397 if test ${ac_cv_prog_CC+y}
   3398 then :
   3399   printf %s "(cached) " >&6
   3400 else $as_nop
   3401   if test -n "$CC"; then
   3402   ac_cv_prog_CC="$CC" # Let the user override the test.
   3403 else
   3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3405 for as_dir in $PATH
   3406 do
   3407   IFS=$as_save_IFS
   3408   case $as_dir in #(((
   3409     '') as_dir=./ ;;
   3410     */) ;;
   3411     *) as_dir=$as_dir/ ;;
   3412   esac
   3413     for ac_exec_ext in '' $ac_executable_extensions; do
   3414   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3415     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3416     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3417     break 2
   3418   fi
   3419 done
   3420   done
   3421 IFS=$as_save_IFS
   3422 
   3423 fi
   3424 fi
   3425 CC=$ac_cv_prog_CC
   3426 if test -n "$CC"; then
   3427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3428 printf "%s\n" "$CC" >&6; }
   3429 else
   3430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3431 printf "%s\n" "no" >&6; }
   3432 fi
   3433 
   3434 
   3435   fi
   3436 fi
   3437 if test -z "$CC"; then
   3438   # Extract the first word of "cc", so it can be a program name with args.
   3439 set dummy cc; ac_word=$2
   3440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3441 printf %s "checking for $ac_word... " >&6; }
   3442 if test ${ac_cv_prog_CC+y}
   3443 then :
   3444   printf %s "(cached) " >&6
   3445 else $as_nop
   3446   if test -n "$CC"; then
   3447   ac_cv_prog_CC="$CC" # Let the user override the test.
   3448 else
   3449   ac_prog_rejected=no
   3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3451 for as_dir in $PATH
   3452 do
   3453   IFS=$as_save_IFS
   3454   case $as_dir in #(((
   3455     '') as_dir=./ ;;
   3456     */) ;;
   3457     *) as_dir=$as_dir/ ;;
   3458   esac
   3459     for ac_exec_ext in '' $ac_executable_extensions; do
   3460   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3461     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3462        ac_prog_rejected=yes
   3463        continue
   3464      fi
   3465     ac_cv_prog_CC="cc"
   3466     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3467     break 2
   3468   fi
   3469 done
   3470   done
   3471 IFS=$as_save_IFS
   3472 
   3473 if test $ac_prog_rejected = yes; then
   3474   # We found a bogon in the path, so make sure we never use it.
   3475   set dummy $ac_cv_prog_CC
   3476   shift
   3477   if test $# != 0; then
   3478     # We chose a different compiler from the bogus one.
   3479     # However, it has the same basename, so the bogon will be chosen
   3480     # first if we set CC to just the basename; use the full file name.
   3481     shift
   3482     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3483   fi
   3484 fi
   3485 fi
   3486 fi
   3487 CC=$ac_cv_prog_CC
   3488 if test -n "$CC"; then
   3489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3490 printf "%s\n" "$CC" >&6; }
   3491 else
   3492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3493 printf "%s\n" "no" >&6; }
   3494 fi
   3495 
   3496 
   3497 fi
   3498 if test -z "$CC"; then
   3499   if test -n "$ac_tool_prefix"; then
   3500   for ac_prog in cl.exe
   3501   do
   3502     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3503 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3505 printf %s "checking for $ac_word... " >&6; }
   3506 if test ${ac_cv_prog_CC+y}
   3507 then :
   3508   printf %s "(cached) " >&6
   3509 else $as_nop
   3510   if test -n "$CC"; then
   3511   ac_cv_prog_CC="$CC" # Let the user override the test.
   3512 else
   3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3514 for as_dir in $PATH
   3515 do
   3516   IFS=$as_save_IFS
   3517   case $as_dir in #(((
   3518     '') as_dir=./ ;;
   3519     */) ;;
   3520     *) as_dir=$as_dir/ ;;
   3521   esac
   3522     for ac_exec_ext in '' $ac_executable_extensions; do
   3523   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3524     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3525     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3526     break 2
   3527   fi
   3528 done
   3529   done
   3530 IFS=$as_save_IFS
   3531 
   3532 fi
   3533 fi
   3534 CC=$ac_cv_prog_CC
   3535 if test -n "$CC"; then
   3536   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3537 printf "%s\n" "$CC" >&6; }
   3538 else
   3539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3540 printf "%s\n" "no" >&6; }
   3541 fi
   3542 
   3543 
   3544     test -n "$CC" && break
   3545   done
   3546 fi
   3547 if test -z "$CC"; then
   3548   ac_ct_CC=$CC
   3549   for ac_prog in cl.exe
   3550 do
   3551   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3552 set dummy $ac_prog; ac_word=$2
   3553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3554 printf %s "checking for $ac_word... " >&6; }
   3555 if test ${ac_cv_prog_ac_ct_CC+y}
   3556 then :
   3557   printf %s "(cached) " >&6
   3558 else $as_nop
   3559   if test -n "$ac_ct_CC"; then
   3560   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3561 else
   3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3563 for as_dir in $PATH
   3564 do
   3565   IFS=$as_save_IFS
   3566   case $as_dir in #(((
   3567     '') as_dir=./ ;;
   3568     */) ;;
   3569     *) as_dir=$as_dir/ ;;
   3570   esac
   3571     for ac_exec_ext in '' $ac_executable_extensions; do
   3572   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3573     ac_cv_prog_ac_ct_CC="$ac_prog"
   3574     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3575     break 2
   3576   fi
   3577 done
   3578   done
   3579 IFS=$as_save_IFS
   3580 
   3581 fi
   3582 fi
   3583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3584 if test -n "$ac_ct_CC"; then
   3585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3586 printf "%s\n" "$ac_ct_CC" >&6; }
   3587 else
   3588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3589 printf "%s\n" "no" >&6; }
   3590 fi
   3591 
   3592 
   3593   test -n "$ac_ct_CC" && break
   3594 done
   3595 
   3596   if test "x$ac_ct_CC" = x; then
   3597     CC=""
   3598   else
   3599     case $cross_compiling:$ac_tool_warned in
   3600 yes:)
   3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3602 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3603 ac_tool_warned=yes ;;
   3604 esac
   3605     CC=$ac_ct_CC
   3606   fi
   3607 fi
   3608 
   3609 fi
   3610 if test -z "$CC"; then
   3611   if test -n "$ac_tool_prefix"; then
   3612   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3613 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3615 printf %s "checking for $ac_word... " >&6; }
   3616 if test ${ac_cv_prog_CC+y}
   3617 then :
   3618   printf %s "(cached) " >&6
   3619 else $as_nop
   3620   if test -n "$CC"; then
   3621   ac_cv_prog_CC="$CC" # Let the user override the test.
   3622 else
   3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3624 for as_dir in $PATH
   3625 do
   3626   IFS=$as_save_IFS
   3627   case $as_dir in #(((
   3628     '') as_dir=./ ;;
   3629     */) ;;
   3630     *) as_dir=$as_dir/ ;;
   3631   esac
   3632     for ac_exec_ext in '' $ac_executable_extensions; do
   3633   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3634     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3635     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3636     break 2
   3637   fi
   3638 done
   3639   done
   3640 IFS=$as_save_IFS
   3641 
   3642 fi
   3643 fi
   3644 CC=$ac_cv_prog_CC
   3645 if test -n "$CC"; then
   3646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3647 printf "%s\n" "$CC" >&6; }
   3648 else
   3649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3650 printf "%s\n" "no" >&6; }
   3651 fi
   3652 
   3653 
   3654 fi
   3655 if test -z "$ac_cv_prog_CC"; then
   3656   ac_ct_CC=$CC
   3657   # Extract the first word of "clang", so it can be a program name with args.
   3658 set dummy clang; ac_word=$2
   3659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3660 printf %s "checking for $ac_word... " >&6; }
   3661 if test ${ac_cv_prog_ac_ct_CC+y}
   3662 then :
   3663   printf %s "(cached) " >&6
   3664 else $as_nop
   3665   if test -n "$ac_ct_CC"; then
   3666   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3667 else
   3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3669 for as_dir in $PATH
   3670 do
   3671   IFS=$as_save_IFS
   3672   case $as_dir in #(((
   3673     '') as_dir=./ ;;
   3674     */) ;;
   3675     *) as_dir=$as_dir/ ;;
   3676   esac
   3677     for ac_exec_ext in '' $ac_executable_extensions; do
   3678   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3679     ac_cv_prog_ac_ct_CC="clang"
   3680     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3681     break 2
   3682   fi
   3683 done
   3684   done
   3685 IFS=$as_save_IFS
   3686 
   3687 fi
   3688 fi
   3689 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3690 if test -n "$ac_ct_CC"; then
   3691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3692 printf "%s\n" "$ac_ct_CC" >&6; }
   3693 else
   3694   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3695 printf "%s\n" "no" >&6; }
   3696 fi
   3697 
   3698   if test "x$ac_ct_CC" = x; then
   3699     CC=""
   3700   else
   3701     case $cross_compiling:$ac_tool_warned in
   3702 yes:)
   3703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3705 ac_tool_warned=yes ;;
   3706 esac
   3707     CC=$ac_ct_CC
   3708   fi
   3709 else
   3710   CC="$ac_cv_prog_CC"
   3711 fi
   3712 
   3713 fi
   3714 
   3715 
   3716 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3717 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3718 as_fn_error $? "no acceptable C compiler found in \$PATH
   3719 See \`config.log' for more details" "$LINENO" 5; }
   3720 
   3721 # Provide some information about the compiler.
   3722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3723 set X $ac_compile
   3724 ac_compiler=$2
   3725 for ac_option in --version -v -V -qversion -version; do
   3726   { { ac_try="$ac_compiler $ac_option >&5"
   3727 case "(($ac_try" in
   3728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3729   *) ac_try_echo=$ac_try;;
   3730 esac
   3731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3732 printf "%s\n" "$ac_try_echo"; } >&5
   3733   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3734   ac_status=$?
   3735   if test -s conftest.err; then
   3736     sed '10a\
   3737 ... rest of stderr output deleted ...
   3738          10q' conftest.err >conftest.er1
   3739     cat conftest.er1 >&5
   3740   fi
   3741   rm -f conftest.er1 conftest.err
   3742   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3743   test $ac_status = 0; }
   3744 done
   3745 
   3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3747 /* end confdefs.h.  */
   3748 
   3749 int
   3750 main (void)
   3751 {
   3752 
   3753   ;
   3754   return 0;
   3755 }
   3756 _ACEOF
   3757 ac_clean_files_save=$ac_clean_files
   3758 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3759 # Try to create an executable without -o first, disregard a.out.
   3760 # It will help us diagnose broken compilers, and finding out an intuition
   3761 # of exeext.
   3762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3763 printf %s "checking whether the C compiler works... " >&6; }
   3764 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3765 
   3766 # The possible output files:
   3767 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3768 
   3769 ac_rmfiles=
   3770 for ac_file in $ac_files
   3771 do
   3772   case $ac_file in
   3773     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3774     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3775   esac
   3776 done
   3777 rm -f $ac_rmfiles
   3778 
   3779 if { { ac_try="$ac_link_default"
   3780 case "(($ac_try" in
   3781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3782   *) ac_try_echo=$ac_try;;
   3783 esac
   3784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3785 printf "%s\n" "$ac_try_echo"; } >&5
   3786   (eval "$ac_link_default") 2>&5
   3787   ac_status=$?
   3788   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3789   test $ac_status = 0; }
   3790 then :
   3791   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3792 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3793 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3794 # so that the user can short-circuit this test for compilers unknown to
   3795 # Autoconf.
   3796 for ac_file in $ac_files ''
   3797 do
   3798   test -f "$ac_file" || continue
   3799   case $ac_file in
   3800     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3801 	;;
   3802     [ab].out )
   3803 	# We found the default executable, but exeext='' is most
   3804 	# certainly right.
   3805 	break;;
   3806     *.* )
   3807 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3808 	then :; else
   3809 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3810 	fi
   3811 	# We set ac_cv_exeext here because the later test for it is not
   3812 	# safe: cross compilers may not add the suffix if given an `-o'
   3813 	# argument, so we may need to know it at that point already.
   3814 	# Even if this section looks crufty: it has the advantage of
   3815 	# actually working.
   3816 	break;;
   3817     * )
   3818 	break;;
   3819   esac
   3820 done
   3821 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3822 
   3823 else $as_nop
   3824   ac_file=''
   3825 fi
   3826 if test -z "$ac_file"
   3827 then :
   3828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3829 printf "%s\n" "no" >&6; }
   3830 printf "%s\n" "$as_me: failed program was:" >&5
   3831 sed 's/^/| /' conftest.$ac_ext >&5
   3832 
   3833 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3834 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3835 as_fn_error 77 "C compiler cannot create executables
   3836 See \`config.log' for more details" "$LINENO" 5; }
   3837 else $as_nop
   3838   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3839 printf "%s\n" "yes" >&6; }
   3840 fi
   3841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3842 printf %s "checking for C compiler default output file name... " >&6; }
   3843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3844 printf "%s\n" "$ac_file" >&6; }
   3845 ac_exeext=$ac_cv_exeext
   3846 
   3847 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3848 ac_clean_files=$ac_clean_files_save
   3849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3850 printf %s "checking for suffix of executables... " >&6; }
   3851 if { { ac_try="$ac_link"
   3852 case "(($ac_try" in
   3853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3854   *) ac_try_echo=$ac_try;;
   3855 esac
   3856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3857 printf "%s\n" "$ac_try_echo"; } >&5
   3858   (eval "$ac_link") 2>&5
   3859   ac_status=$?
   3860   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3861   test $ac_status = 0; }
   3862 then :
   3863   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3864 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3865 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3866 # `rm'.
   3867 for ac_file in conftest.exe conftest conftest.*; do
   3868   test -f "$ac_file" || continue
   3869   case $ac_file in
   3870     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3871     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3872 	  break;;
   3873     * ) break;;
   3874   esac
   3875 done
   3876 else $as_nop
   3877   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3878 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3879 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3880 See \`config.log' for more details" "$LINENO" 5; }
   3881 fi
   3882 rm -f conftest conftest$ac_cv_exeext
   3883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3884 printf "%s\n" "$ac_cv_exeext" >&6; }
   3885 
   3886 rm -f conftest.$ac_ext
   3887 EXEEXT=$ac_cv_exeext
   3888 ac_exeext=$EXEEXT
   3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3890 /* end confdefs.h.  */
   3891 #include <stdio.h>
   3892 int
   3893 main (void)
   3894 {
   3895 FILE *f = fopen ("conftest.out", "w");
   3896  return ferror (f) || fclose (f) != 0;
   3897 
   3898   ;
   3899   return 0;
   3900 }
   3901 _ACEOF
   3902 ac_clean_files="$ac_clean_files conftest.out"
   3903 # Check that the compiler produces executables we can run.  If not, either
   3904 # the compiler is broken, or we cross compile.
   3905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3906 printf %s "checking whether we are cross compiling... " >&6; }
   3907 if test "$cross_compiling" != yes; then
   3908   { { ac_try="$ac_link"
   3909 case "(($ac_try" in
   3910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3911   *) ac_try_echo=$ac_try;;
   3912 esac
   3913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3914 printf "%s\n" "$ac_try_echo"; } >&5
   3915   (eval "$ac_link") 2>&5
   3916   ac_status=$?
   3917   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3918   test $ac_status = 0; }
   3919   if { ac_try='./conftest$ac_cv_exeext'
   3920   { { case "(($ac_try" in
   3921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3922   *) ac_try_echo=$ac_try;;
   3923 esac
   3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3925 printf "%s\n" "$ac_try_echo"; } >&5
   3926   (eval "$ac_try") 2>&5
   3927   ac_status=$?
   3928   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3929   test $ac_status = 0; }; }; then
   3930     cross_compiling=no
   3931   else
   3932     if test "$cross_compiling" = maybe; then
   3933 	cross_compiling=yes
   3934     else
   3935 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3936 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3937 as_fn_error 77 "cannot run C compiled programs.
   3938 If you meant to cross compile, use \`--host'.
   3939 See \`config.log' for more details" "$LINENO" 5; }
   3940     fi
   3941   fi
   3942 fi
   3943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3944 printf "%s\n" "$cross_compiling" >&6; }
   3945 
   3946 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3947 ac_clean_files=$ac_clean_files_save
   3948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3949 printf %s "checking for suffix of object files... " >&6; }
   3950 if test ${ac_cv_objext+y}
   3951 then :
   3952   printf %s "(cached) " >&6
   3953 else $as_nop
   3954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3955 /* end confdefs.h.  */
   3956 
   3957 int
   3958 main (void)
   3959 {
   3960 
   3961   ;
   3962   return 0;
   3963 }
   3964 _ACEOF
   3965 rm -f conftest.o conftest.obj
   3966 if { { ac_try="$ac_compile"
   3967 case "(($ac_try" in
   3968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3969   *) ac_try_echo=$ac_try;;
   3970 esac
   3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3972 printf "%s\n" "$ac_try_echo"; } >&5
   3973   (eval "$ac_compile") 2>&5
   3974   ac_status=$?
   3975   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3976   test $ac_status = 0; }
   3977 then :
   3978   for ac_file in conftest.o conftest.obj conftest.*; do
   3979   test -f "$ac_file" || continue;
   3980   case $ac_file in
   3981     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3982     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3983        break;;
   3984   esac
   3985 done
   3986 else $as_nop
   3987   printf "%s\n" "$as_me: failed program was:" >&5
   3988 sed 's/^/| /' conftest.$ac_ext >&5
   3989 
   3990 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3991 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3992 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3993 See \`config.log' for more details" "$LINENO" 5; }
   3994 fi
   3995 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3996 fi
   3997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3998 printf "%s\n" "$ac_cv_objext" >&6; }
   3999 OBJEXT=$ac_cv_objext
   4000 ac_objext=$OBJEXT
   4001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4002 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4003 if test ${ac_cv_c_compiler_gnu+y}
   4004 then :
   4005   printf %s "(cached) " >&6
   4006 else $as_nop
   4007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4008 /* end confdefs.h.  */
   4009 
   4010 int
   4011 main (void)
   4012 {
   4013 #ifndef __GNUC__
   4014        choke me
   4015 #endif
   4016 
   4017   ;
   4018   return 0;
   4019 }
   4020 _ACEOF
   4021 if ac_fn_c_try_compile "$LINENO"
   4022 then :
   4023   ac_compiler_gnu=yes
   4024 else $as_nop
   4025   ac_compiler_gnu=no
   4026 fi
   4027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4028 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4029 
   4030 fi
   4031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4032 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4034 
   4035 if test $ac_compiler_gnu = yes; then
   4036   GCC=yes
   4037 else
   4038   GCC=
   4039 fi
   4040 ac_test_CFLAGS=${CFLAGS+y}
   4041 ac_save_CFLAGS=$CFLAGS
   4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4043 printf %s "checking whether $CC accepts -g... " >&6; }
   4044 if test ${ac_cv_prog_cc_g+y}
   4045 then :
   4046   printf %s "(cached) " >&6
   4047 else $as_nop
   4048   ac_save_c_werror_flag=$ac_c_werror_flag
   4049    ac_c_werror_flag=yes
   4050    ac_cv_prog_cc_g=no
   4051    CFLAGS="-g"
   4052    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4053 /* end confdefs.h.  */
   4054 
   4055 int
   4056 main (void)
   4057 {
   4058 
   4059   ;
   4060   return 0;
   4061 }
   4062 _ACEOF
   4063 if ac_fn_c_try_compile "$LINENO"
   4064 then :
   4065   ac_cv_prog_cc_g=yes
   4066 else $as_nop
   4067   CFLAGS=""
   4068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4069 /* end confdefs.h.  */
   4070 
   4071 int
   4072 main (void)
   4073 {
   4074 
   4075   ;
   4076   return 0;
   4077 }
   4078 _ACEOF
   4079 if ac_fn_c_try_compile "$LINENO"
   4080 then :
   4081 
   4082 else $as_nop
   4083   ac_c_werror_flag=$ac_save_c_werror_flag
   4084 	 CFLAGS="-g"
   4085 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4086 /* end confdefs.h.  */
   4087 
   4088 int
   4089 main (void)
   4090 {
   4091 
   4092   ;
   4093   return 0;
   4094 }
   4095 _ACEOF
   4096 if ac_fn_c_try_compile "$LINENO"
   4097 then :
   4098   ac_cv_prog_cc_g=yes
   4099 fi
   4100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4101 fi
   4102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4103 fi
   4104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4105    ac_c_werror_flag=$ac_save_c_werror_flag
   4106 fi
   4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4108 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4109 if test $ac_test_CFLAGS; then
   4110   CFLAGS=$ac_save_CFLAGS
   4111 elif test $ac_cv_prog_cc_g = yes; then
   4112   if test "$GCC" = yes; then
   4113     CFLAGS="-g -O2"
   4114   else
   4115     CFLAGS="-g"
   4116   fi
   4117 else
   4118   if test "$GCC" = yes; then
   4119     CFLAGS="-O2"
   4120   else
   4121     CFLAGS=
   4122   fi
   4123 fi
   4124 ac_prog_cc_stdc=no
   4125 if test x$ac_prog_cc_stdc = xno
   4126 then :
   4127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4128 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4129 if test ${ac_cv_prog_cc_c11+y}
   4130 then :
   4131   printf %s "(cached) " >&6
   4132 else $as_nop
   4133   ac_cv_prog_cc_c11=no
   4134 ac_save_CC=$CC
   4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4136 /* end confdefs.h.  */
   4137 $ac_c_conftest_c11_program
   4138 _ACEOF
   4139 for ac_arg in '' -std=gnu11
   4140 do
   4141   CC="$ac_save_CC $ac_arg"
   4142   if ac_fn_c_try_compile "$LINENO"
   4143 then :
   4144   ac_cv_prog_cc_c11=$ac_arg
   4145 fi
   4146 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4147   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4148 done
   4149 rm -f conftest.$ac_ext
   4150 CC=$ac_save_CC
   4151 fi
   4152 
   4153 if test "x$ac_cv_prog_cc_c11" = xno
   4154 then :
   4155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4156 printf "%s\n" "unsupported" >&6; }
   4157 else $as_nop
   4158   if test "x$ac_cv_prog_cc_c11" = x
   4159 then :
   4160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4161 printf "%s\n" "none needed" >&6; }
   4162 else $as_nop
   4163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4164 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4165      CC="$CC $ac_cv_prog_cc_c11"
   4166 fi
   4167   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4168   ac_prog_cc_stdc=c11
   4169 fi
   4170 fi
   4171 if test x$ac_prog_cc_stdc = xno
   4172 then :
   4173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4174 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4175 if test ${ac_cv_prog_cc_c99+y}
   4176 then :
   4177   printf %s "(cached) " >&6
   4178 else $as_nop
   4179   ac_cv_prog_cc_c99=no
   4180 ac_save_CC=$CC
   4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4182 /* end confdefs.h.  */
   4183 $ac_c_conftest_c99_program
   4184 _ACEOF
   4185 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4186 do
   4187   CC="$ac_save_CC $ac_arg"
   4188   if ac_fn_c_try_compile "$LINENO"
   4189 then :
   4190   ac_cv_prog_cc_c99=$ac_arg
   4191 fi
   4192 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4193   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4194 done
   4195 rm -f conftest.$ac_ext
   4196 CC=$ac_save_CC
   4197 fi
   4198 
   4199 if test "x$ac_cv_prog_cc_c99" = xno
   4200 then :
   4201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4202 printf "%s\n" "unsupported" >&6; }
   4203 else $as_nop
   4204   if test "x$ac_cv_prog_cc_c99" = x
   4205 then :
   4206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4207 printf "%s\n" "none needed" >&6; }
   4208 else $as_nop
   4209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4210 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4211      CC="$CC $ac_cv_prog_cc_c99"
   4212 fi
   4213   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4214   ac_prog_cc_stdc=c99
   4215 fi
   4216 fi
   4217 if test x$ac_prog_cc_stdc = xno
   4218 then :
   4219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4220 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4221 if test ${ac_cv_prog_cc_c89+y}
   4222 then :
   4223   printf %s "(cached) " >&6
   4224 else $as_nop
   4225   ac_cv_prog_cc_c89=no
   4226 ac_save_CC=$CC
   4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4228 /* end confdefs.h.  */
   4229 $ac_c_conftest_c89_program
   4230 _ACEOF
   4231 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4232 do
   4233   CC="$ac_save_CC $ac_arg"
   4234   if ac_fn_c_try_compile "$LINENO"
   4235 then :
   4236   ac_cv_prog_cc_c89=$ac_arg
   4237 fi
   4238 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4239   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4240 done
   4241 rm -f conftest.$ac_ext
   4242 CC=$ac_save_CC
   4243 fi
   4244 
   4245 if test "x$ac_cv_prog_cc_c89" = xno
   4246 then :
   4247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4248 printf "%s\n" "unsupported" >&6; }
   4249 else $as_nop
   4250   if test "x$ac_cv_prog_cc_c89" = x
   4251 then :
   4252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4253 printf "%s\n" "none needed" >&6; }
   4254 else $as_nop
   4255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4256 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4257      CC="$CC $ac_cv_prog_cc_c89"
   4258 fi
   4259   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4260   ac_prog_cc_stdc=c89
   4261 fi
   4262 fi
   4263 
   4264 ac_ext=c
   4265 ac_cpp='$CPP $CPPFLAGS'
   4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4269 
   4270 
   4271   ac_ext=c
   4272 ac_cpp='$CPP $CPPFLAGS'
   4273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4277 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4278 if test ${am_cv_prog_cc_c_o+y}
   4279 then :
   4280   printf %s "(cached) " >&6
   4281 else $as_nop
   4282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4283 /* end confdefs.h.  */
   4284 
   4285 int
   4286 main (void)
   4287 {
   4288 
   4289   ;
   4290   return 0;
   4291 }
   4292 _ACEOF
   4293   # Make sure it works both with $CC and with simple cc.
   4294   # Following AC_PROG_CC_C_O, we do the test twice because some
   4295   # compilers refuse to overwrite an existing .o file with -o,
   4296   # though they will create one.
   4297   am_cv_prog_cc_c_o=yes
   4298   for am_i in 1 2; do
   4299     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4300    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4301    ac_status=$?
   4302    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4303    (exit $ac_status); } \
   4304          && test -f conftest2.$ac_objext; then
   4305       : OK
   4306     else
   4307       am_cv_prog_cc_c_o=no
   4308       break
   4309     fi
   4310   done
   4311   rm -f core conftest*
   4312   unset am_i
   4313 fi
   4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4315 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4316 if test "$am_cv_prog_cc_c_o" != yes; then
   4317    # Losing compiler, so override with the script.
   4318    # FIXME: It is wrong to rewrite CC.
   4319    # But if we don't then we get into trouble of one sort or another.
   4320    # A longer-term fix would be to have automake use am__CC in this case,
   4321    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4322    CC="$am_aux_dir/compile $CC"
   4323 fi
   4324 ac_ext=c
   4325 ac_cpp='$CPP $CPPFLAGS'
   4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4329 
   4330 DEPDIR="${am__leading_dot}deps"
   4331 
   4332 ac_config_commands="$ac_config_commands depfiles"
   4333 
   4334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4335 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4336 cat > confinc.mk << 'END'
   4337 am__doit:
   4338 	@echo this is the am__doit target >confinc.out
   4339 .PHONY: am__doit
   4340 END
   4341 am__include="#"
   4342 am__quote=
   4343 # BSD make does it like this.
   4344 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4345 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4346 echo 'include confinc.mk # ignored' > confmf.GNU
   4347 _am_result=no
   4348 for s in GNU BSD; do
   4349   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4350    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4351    ac_status=$?
   4352    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4353    (exit $ac_status); }
   4354   case $?:`cat confinc.out 2>/dev/null` in #(
   4355   '0:this is the am__doit target') :
   4356     case $s in #(
   4357   BSD) :
   4358     am__include='.include' am__quote='"' ;; #(
   4359   *) :
   4360     am__include='include' am__quote='' ;;
   4361 esac ;; #(
   4362   *) :
   4363      ;;
   4364 esac
   4365   if test "$am__include" != "#"; then
   4366     _am_result="yes ($s style)"
   4367     break
   4368   fi
   4369 done
   4370 rm -f confinc.* confmf.*
   4371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4372 printf "%s\n" "${_am_result}" >&6; }
   4373 
   4374 # Check whether --enable-dependency-tracking was given.
   4375 if test ${enable_dependency_tracking+y}
   4376 then :
   4377   enableval=$enable_dependency_tracking;
   4378 fi
   4379 
   4380 if test "x$enable_dependency_tracking" != xno; then
   4381   am_depcomp="$ac_aux_dir/depcomp"
   4382   AMDEPBACKSLASH='\'
   4383   am__nodep='_no'
   4384 fi
   4385  if test "x$enable_dependency_tracking" != xno; then
   4386   AMDEP_TRUE=
   4387   AMDEP_FALSE='#'
   4388 else
   4389   AMDEP_TRUE='#'
   4390   AMDEP_FALSE=
   4391 fi
   4392 
   4393 
   4394 
   4395 depcc="$CC"   am_compiler_list=
   4396 
   4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4398 printf %s "checking dependency style of $depcc... " >&6; }
   4399 if test ${am_cv_CC_dependencies_compiler_type+y}
   4400 then :
   4401   printf %s "(cached) " >&6
   4402 else $as_nop
   4403   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4404   # We make a subdir and do the tests there.  Otherwise we can end up
   4405   # making bogus files that we don't know about and never remove.  For
   4406   # instance it was reported that on HP-UX the gcc test will end up
   4407   # making a dummy file named 'D' -- because '-MD' means "put the output
   4408   # in D".
   4409   rm -rf conftest.dir
   4410   mkdir conftest.dir
   4411   # Copy depcomp to subdir because otherwise we won't find it if we're
   4412   # using a relative directory.
   4413   cp "$am_depcomp" conftest.dir
   4414   cd conftest.dir
   4415   # We will build objects and dependencies in a subdirectory because
   4416   # it helps to detect inapplicable dependency modes.  For instance
   4417   # both Tru64's cc and ICC support -MD to output dependencies as a
   4418   # side effect of compilation, but ICC will put the dependencies in
   4419   # the current directory while Tru64 will put them in the object
   4420   # directory.
   4421   mkdir sub
   4422 
   4423   am_cv_CC_dependencies_compiler_type=none
   4424   if test "$am_compiler_list" = ""; then
   4425      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4426   fi
   4427   am__universal=false
   4428   case " $depcc " in #(
   4429      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4430      esac
   4431 
   4432   for depmode in $am_compiler_list; do
   4433     # Setup a source with many dependencies, because some compilers
   4434     # like to wrap large dependency lists on column 80 (with \), and
   4435     # we should not choose a depcomp mode which is confused by this.
   4436     #
   4437     # We need to recreate these files for each test, as the compiler may
   4438     # overwrite some of them when testing with obscure command lines.
   4439     # This happens at least with the AIX C compiler.
   4440     : > sub/conftest.c
   4441     for i in 1 2 3 4 5 6; do
   4442       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4443       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4444       # Solaris 10 /bin/sh.
   4445       echo '/* dummy */' > sub/conftst$i.h
   4446     done
   4447     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4448 
   4449     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4450     # mode.  It turns out that the SunPro C++ compiler does not properly
   4451     # handle '-M -o', and we need to detect this.  Also, some Intel
   4452     # versions had trouble with output in subdirs.
   4453     am__obj=sub/conftest.${OBJEXT-o}
   4454     am__minus_obj="-o $am__obj"
   4455     case $depmode in
   4456     gcc)
   4457       # This depmode causes a compiler race in universal mode.
   4458       test "$am__universal" = false || continue
   4459       ;;
   4460     nosideeffect)
   4461       # After this tag, mechanisms are not by side-effect, so they'll
   4462       # only be used when explicitly requested.
   4463       if test "x$enable_dependency_tracking" = xyes; then
   4464 	continue
   4465       else
   4466 	break
   4467       fi
   4468       ;;
   4469     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4470       # This compiler won't grok '-c -o', but also, the minuso test has
   4471       # not run yet.  These depmodes are late enough in the game, and
   4472       # so weak that their functioning should not be impacted.
   4473       am__obj=conftest.${OBJEXT-o}
   4474       am__minus_obj=
   4475       ;;
   4476     none) break ;;
   4477     esac
   4478     if depmode=$depmode \
   4479        source=sub/conftest.c object=$am__obj \
   4480        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4481        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4482          >/dev/null 2>conftest.err &&
   4483        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4484        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4485        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4486        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4487       # icc doesn't choke on unknown options, it will just issue warnings
   4488       # or remarks (even with -Werror).  So we grep stderr for any message
   4489       # that says an option was ignored or not supported.
   4490       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4491       #   icc: Command line warning: ignoring option '-M'; no argument required
   4492       # The diagnosis changed in icc 8.0:
   4493       #   icc: Command line remark: option '-MP' not supported
   4494       if (grep 'ignoring option' conftest.err ||
   4495           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4496         am_cv_CC_dependencies_compiler_type=$depmode
   4497         break
   4498       fi
   4499     fi
   4500   done
   4501 
   4502   cd ..
   4503   rm -rf conftest.dir
   4504 else
   4505   am_cv_CC_dependencies_compiler_type=none
   4506 fi
   4507 
   4508 fi
   4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4510 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4511 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4512 
   4513  if
   4514   test "x$enable_dependency_tracking" != xno \
   4515   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4516   am__fastdepCC_TRUE=
   4517   am__fastdepCC_FALSE='#'
   4518 else
   4519   am__fastdepCC_TRUE='#'
   4520   am__fastdepCC_FALSE=
   4521 fi
   4522 
   4523 
   4524 
   4525 save_solaris_cc=$CC
   4526 
   4527 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 
   4535 
   4536 
   4537 
   4538 
   4539 
   4540 
   4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4542 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4543 if test ${ac_cv_c_undeclared_builtin_options+y}
   4544 then :
   4545   printf %s "(cached) " >&6
   4546 else $as_nop
   4547   ac_save_CFLAGS=$CFLAGS
   4548    ac_cv_c_undeclared_builtin_options='cannot detect'
   4549    for ac_arg in '' -fno-builtin; do
   4550      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4551      # This test program should *not* compile successfully.
   4552      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4553 /* end confdefs.h.  */
   4554 
   4555 int
   4556 main (void)
   4557 {
   4558 (void) strchr;
   4559   ;
   4560   return 0;
   4561 }
   4562 _ACEOF
   4563 if ac_fn_c_try_compile "$LINENO"
   4564 then :
   4565 
   4566 else $as_nop
   4567   # This test program should compile successfully.
   4568         # No library function is consistently available on
   4569         # freestanding implementations, so test against a dummy
   4570         # declaration.  Include always-available headers on the
   4571         # off chance that they somehow elicit warnings.
   4572         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4573 /* end confdefs.h.  */
   4574 #include <float.h>
   4575 #include <limits.h>
   4576 #include <stdarg.h>
   4577 #include <stddef.h>
   4578 extern void ac_decl (int, char *);
   4579 
   4580 int
   4581 main (void)
   4582 {
   4583 (void) ac_decl (0, (char *) 0);
   4584   (void) ac_decl;
   4585 
   4586   ;
   4587   return 0;
   4588 }
   4589 _ACEOF
   4590 if ac_fn_c_try_compile "$LINENO"
   4591 then :
   4592   if test x"$ac_arg" = x
   4593 then :
   4594   ac_cv_c_undeclared_builtin_options='none needed'
   4595 else $as_nop
   4596   ac_cv_c_undeclared_builtin_options=$ac_arg
   4597 fi
   4598           break
   4599 fi
   4600 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4601 fi
   4602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4603     done
   4604     CFLAGS=$ac_save_CFLAGS
   4605 
   4606 fi
   4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4608 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4609   case $ac_cv_c_undeclared_builtin_options in #(
   4610   'cannot detect') :
   4611     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4612 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4613 as_fn_error $? "cannot make $CC report undeclared builtins
   4614 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4615   'none needed') :
   4616     ac_c_undeclared_builtin_options='' ;; #(
   4617   *) :
   4618     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4619 esac
   4620 
   4621 ac_header= ac_cache=
   4622 for ac_item in $ac_header_c_list
   4623 do
   4624   if test $ac_cache; then
   4625     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4626     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4627       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4628     fi
   4629     ac_header= ac_cache=
   4630   elif test $ac_header; then
   4631     ac_cache=$ac_item
   4632   else
   4633     ac_header=$ac_item
   4634   fi
   4635 done
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4645 then :
   4646 
   4647 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4648 
   4649 fi
   4650 
   4651 
   4652 
   4653 
   4654 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4655 if test "x$ac_cv_have_decl___clang__" = xyes
   4656 then :
   4657   CLANGCC="yes"
   4658 else $as_nop
   4659   CLANGCC="no"
   4660 fi
   4661 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4662 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4663 then :
   4664   INTELCC="yes"
   4665 else $as_nop
   4666   INTELCC="no"
   4667 fi
   4668 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4669 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4670 then :
   4671   SUNCC="yes"
   4672 else $as_nop
   4673   SUNCC="no"
   4674 fi
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4684 	if test -n "$ac_tool_prefix"; then
   4685   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4686 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4688 printf %s "checking for $ac_word... " >&6; }
   4689 if test ${ac_cv_path_PKG_CONFIG+y}
   4690 then :
   4691   printf %s "(cached) " >&6
   4692 else $as_nop
   4693   case $PKG_CONFIG in
   4694   [\\/]* | ?:[\\/]*)
   4695   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4696   ;;
   4697   *)
   4698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4699 for as_dir in $PATH
   4700 do
   4701   IFS=$as_save_IFS
   4702   case $as_dir in #(((
   4703     '') as_dir=./ ;;
   4704     */) ;;
   4705     *) as_dir=$as_dir/ ;;
   4706   esac
   4707     for ac_exec_ext in '' $ac_executable_extensions; do
   4708   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4709     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4710     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4711     break 2
   4712   fi
   4713 done
   4714   done
   4715 IFS=$as_save_IFS
   4716 
   4717   ;;
   4718 esac
   4719 fi
   4720 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4721 if test -n "$PKG_CONFIG"; then
   4722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4723 printf "%s\n" "$PKG_CONFIG" >&6; }
   4724 else
   4725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4726 printf "%s\n" "no" >&6; }
   4727 fi
   4728 
   4729 
   4730 fi
   4731 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4732   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4733   # Extract the first word of "pkg-config", so it can be a program name with args.
   4734 set dummy pkg-config; ac_word=$2
   4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4736 printf %s "checking for $ac_word... " >&6; }
   4737 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4738 then :
   4739   printf %s "(cached) " >&6
   4740 else $as_nop
   4741   case $ac_pt_PKG_CONFIG in
   4742   [\\/]* | ?:[\\/]*)
   4743   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4744   ;;
   4745   *)
   4746   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4747 for as_dir in $PATH
   4748 do
   4749   IFS=$as_save_IFS
   4750   case $as_dir in #(((
   4751     '') as_dir=./ ;;
   4752     */) ;;
   4753     *) as_dir=$as_dir/ ;;
   4754   esac
   4755     for ac_exec_ext in '' $ac_executable_extensions; do
   4756   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4757     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4758     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4759     break 2
   4760   fi
   4761 done
   4762   done
   4763 IFS=$as_save_IFS
   4764 
   4765   ;;
   4766 esac
   4767 fi
   4768 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4769 if test -n "$ac_pt_PKG_CONFIG"; then
   4770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4771 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4772 else
   4773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4774 printf "%s\n" "no" >&6; }
   4775 fi
   4776 
   4777   if test "x$ac_pt_PKG_CONFIG" = x; then
   4778     PKG_CONFIG=""
   4779   else
   4780     case $cross_compiling:$ac_tool_warned in
   4781 yes:)
   4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4783 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4784 ac_tool_warned=yes ;;
   4785 esac
   4786     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4787   fi
   4788 else
   4789   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4790 fi
   4791 
   4792 fi
   4793 if test -n "$PKG_CONFIG"; then
   4794 	_pkg_min_version=0.9.0
   4795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4796 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4797 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4798 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4799 printf "%s\n" "yes" >&6; }
   4800 	else
   4801 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4802 printf "%s\n" "no" >&6; }
   4803 		PKG_CONFIG=""
   4804 	fi
   4805 fi
   4806 
   4807 
   4808   # Make sure we can run config.sub.
   4809 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4810   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4811 
   4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4813 printf %s "checking build system type... " >&6; }
   4814 if test ${ac_cv_build+y}
   4815 then :
   4816   printf %s "(cached) " >&6
   4817 else $as_nop
   4818   ac_build_alias=$build_alias
   4819 test "x$ac_build_alias" = x &&
   4820   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4821 test "x$ac_build_alias" = x &&
   4822   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4823 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4824   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4825 
   4826 fi
   4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4828 printf "%s\n" "$ac_cv_build" >&6; }
   4829 case $ac_cv_build in
   4830 *-*-*) ;;
   4831 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4832 esac
   4833 build=$ac_cv_build
   4834 ac_save_IFS=$IFS; IFS='-'
   4835 set x $ac_cv_build
   4836 shift
   4837 build_cpu=$1
   4838 build_vendor=$2
   4839 shift; shift
   4840 # Remember, the first character of IFS is used to create $*,
   4841 # except with old shells:
   4842 build_os=$*
   4843 IFS=$ac_save_IFS
   4844 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4845 
   4846 
   4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4848 printf %s "checking host system type... " >&6; }
   4849 if test ${ac_cv_host+y}
   4850 then :
   4851   printf %s "(cached) " >&6
   4852 else $as_nop
   4853   if test "x$host_alias" = x; then
   4854   ac_cv_host=$ac_cv_build
   4855 else
   4856   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4857     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4858 fi
   4859 
   4860 fi
   4861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4862 printf "%s\n" "$ac_cv_host" >&6; }
   4863 case $ac_cv_host in
   4864 *-*-*) ;;
   4865 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4866 esac
   4867 host=$ac_cv_host
   4868 ac_save_IFS=$IFS; IFS='-'
   4869 set x $ac_cv_host
   4870 shift
   4871 host_cpu=$1
   4872 host_vendor=$2
   4873 shift; shift
   4874 # Remember, the first character of IFS is used to create $*,
   4875 # except with old shells:
   4876 host_os=$*
   4877 IFS=$ac_save_IFS
   4878 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4879 
   4880 
   4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4882 printf %s "checking for a sed that does not truncate output... " >&6; }
   4883 if test ${ac_cv_path_SED+y}
   4884 then :
   4885   printf %s "(cached) " >&6
   4886 else $as_nop
   4887             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4888      for ac_i in 1 2 3 4 5 6 7; do
   4889        ac_script="$ac_script$as_nl$ac_script"
   4890      done
   4891      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4892      { ac_script=; unset ac_script;}
   4893      if test -z "$SED"; then
   4894   ac_path_SED_found=false
   4895   # Loop through the user's path and test for each of PROGNAME-LIST
   4896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4897 for as_dir in $PATH
   4898 do
   4899   IFS=$as_save_IFS
   4900   case $as_dir in #(((
   4901     '') as_dir=./ ;;
   4902     */) ;;
   4903     *) as_dir=$as_dir/ ;;
   4904   esac
   4905     for ac_prog in sed gsed
   4906    do
   4907     for ac_exec_ext in '' $ac_executable_extensions; do
   4908       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4909       as_fn_executable_p "$ac_path_SED" || continue
   4910 # Check for GNU ac_path_SED and select it if it is found.
   4911   # Check for GNU $ac_path_SED
   4912 case `"$ac_path_SED" --version 2>&1` in
   4913 *GNU*)
   4914   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4915 *)
   4916   ac_count=0
   4917   printf %s 0123456789 >"conftest.in"
   4918   while :
   4919   do
   4920     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4921     mv "conftest.tmp" "conftest.in"
   4922     cp "conftest.in" "conftest.nl"
   4923     printf "%s\n" '' >> "conftest.nl"
   4924     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4925     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4926     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4927     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4928       # Best one so far, save it but keep looking for a better one
   4929       ac_cv_path_SED="$ac_path_SED"
   4930       ac_path_SED_max=$ac_count
   4931     fi
   4932     # 10*(2^10) chars as input seems more than enough
   4933     test $ac_count -gt 10 && break
   4934   done
   4935   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4936 esac
   4937 
   4938       $ac_path_SED_found && break 3
   4939     done
   4940   done
   4941   done
   4942 IFS=$as_save_IFS
   4943   if test -z "$ac_cv_path_SED"; then
   4944     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4945   fi
   4946 else
   4947   ac_cv_path_SED=$SED
   4948 fi
   4949 
   4950 fi
   4951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4952 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4953  SED="$ac_cv_path_SED"
   4954   rm -f conftest.sed
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 # Check whether --enable-selective-werror was given.
   4962 if test ${enable_selective_werror+y}
   4963 then :
   4964   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4965 else $as_nop
   4966   SELECTIVE_WERROR=yes
   4967 fi
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4974 if test "x$SUNCC" = "xyes"; then
   4975     BASE_CFLAGS="-v"
   4976 else
   4977     BASE_CFLAGS=""
   4978 fi
   4979 
   4980 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 xorg_testset_save_CFLAGS="$CFLAGS"
   4995 
   4996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4999 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5000 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5001 then :
   5002   printf %s "(cached) " >&6
   5003 else $as_nop
   5004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5005 /* end confdefs.h.  */
   5006 int i;
   5007 _ACEOF
   5008 if ac_fn_c_try_compile "$LINENO"
   5009 then :
   5010   xorg_cv_cc_flag_unknown_warning_option=yes
   5011 else $as_nop
   5012   xorg_cv_cc_flag_unknown_warning_option=no
   5013 fi
   5014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5015 fi
   5016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5017 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5019 	CFLAGS="$xorg_testset_save_CFLAGS"
   5020 fi
   5021 
   5022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5025 	fi
   5026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5028 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5029 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5030 then :
   5031   printf %s "(cached) " >&6
   5032 else $as_nop
   5033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5034 /* end confdefs.h.  */
   5035 int i;
   5036 _ACEOF
   5037 if ac_fn_c_try_compile "$LINENO"
   5038 then :
   5039   xorg_cv_cc_flag_unused_command_line_argument=yes
   5040 else $as_nop
   5041   xorg_cv_cc_flag_unused_command_line_argument=no
   5042 fi
   5043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5044 fi
   5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5046 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5048 	CFLAGS="$xorg_testset_save_CFLAGS"
   5049 fi
   5050 
   5051 found="no"
   5052 
   5053 	if test $found = "no" ; then
   5054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5056 		fi
   5057 
   5058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5060 		fi
   5061 
   5062 		CFLAGS="$CFLAGS -Wall"
   5063 
   5064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5065 printf %s "checking if $CC supports -Wall... " >&6; }
   5066 		cacheid=xorg_cv_cc_flag__Wall
   5067 		if eval test \${$cacheid+y}
   5068 then :
   5069   printf %s "(cached) " >&6
   5070 else $as_nop
   5071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5072 /* end confdefs.h.  */
   5073 int i;
   5074 int
   5075 main (void)
   5076 {
   5077 
   5078   ;
   5079   return 0;
   5080 }
   5081 _ACEOF
   5082 if ac_fn_c_try_link "$LINENO"
   5083 then :
   5084   eval $cacheid=yes
   5085 else $as_nop
   5086   eval $cacheid=no
   5087 fi
   5088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5089     conftest$ac_exeext conftest.$ac_ext
   5090 fi
   5091 
   5092 
   5093 		CFLAGS="$xorg_testset_save_CFLAGS"
   5094 
   5095 		eval supported=\$$cacheid
   5096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5097 printf "%s\n" "$supported" >&6; }
   5098 		if test "$supported" = "yes" ; then
   5099 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5100 			found="yes"
   5101 		fi
   5102 	fi
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 xorg_testset_save_CFLAGS="$CFLAGS"
   5119 
   5120 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5121 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5123 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5124 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5125 then :
   5126   printf %s "(cached) " >&6
   5127 else $as_nop
   5128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5129 /* end confdefs.h.  */
   5130 int i;
   5131 _ACEOF
   5132 if ac_fn_c_try_compile "$LINENO"
   5133 then :
   5134   xorg_cv_cc_flag_unknown_warning_option=yes
   5135 else $as_nop
   5136   xorg_cv_cc_flag_unknown_warning_option=no
   5137 fi
   5138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5139 fi
   5140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5141 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5142 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5143 	CFLAGS="$xorg_testset_save_CFLAGS"
   5144 fi
   5145 
   5146 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5147 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5149 	fi
   5150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5151 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5152 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5153 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5154 then :
   5155   printf %s "(cached) " >&6
   5156 else $as_nop
   5157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5158 /* end confdefs.h.  */
   5159 int i;
   5160 _ACEOF
   5161 if ac_fn_c_try_compile "$LINENO"
   5162 then :
   5163   xorg_cv_cc_flag_unused_command_line_argument=yes
   5164 else $as_nop
   5165   xorg_cv_cc_flag_unused_command_line_argument=no
   5166 fi
   5167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5168 fi
   5169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5170 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5171 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5172 	CFLAGS="$xorg_testset_save_CFLAGS"
   5173 fi
   5174 
   5175 found="no"
   5176 
   5177 	if test $found = "no" ; then
   5178 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5180 		fi
   5181 
   5182 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5184 		fi
   5185 
   5186 		CFLAGS="$CFLAGS -Wpointer-arith"
   5187 
   5188 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5189 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5190 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5191 		if eval test \${$cacheid+y}
   5192 then :
   5193   printf %s "(cached) " >&6
   5194 else $as_nop
   5195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5196 /* end confdefs.h.  */
   5197 int i;
   5198 int
   5199 main (void)
   5200 {
   5201 
   5202   ;
   5203   return 0;
   5204 }
   5205 _ACEOF
   5206 if ac_fn_c_try_link "$LINENO"
   5207 then :
   5208   eval $cacheid=yes
   5209 else $as_nop
   5210   eval $cacheid=no
   5211 fi
   5212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5213     conftest$ac_exeext conftest.$ac_ext
   5214 fi
   5215 
   5216 
   5217 		CFLAGS="$xorg_testset_save_CFLAGS"
   5218 
   5219 		eval supported=\$$cacheid
   5220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5221 printf "%s\n" "$supported" >&6; }
   5222 		if test "$supported" = "yes" ; then
   5223 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5224 			found="yes"
   5225 		fi
   5226 	fi
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 xorg_testset_save_CFLAGS="$CFLAGS"
   5243 
   5244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5247 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5248 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5249 then :
   5250   printf %s "(cached) " >&6
   5251 else $as_nop
   5252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5253 /* end confdefs.h.  */
   5254 int i;
   5255 _ACEOF
   5256 if ac_fn_c_try_compile "$LINENO"
   5257 then :
   5258   xorg_cv_cc_flag_unknown_warning_option=yes
   5259 else $as_nop
   5260   xorg_cv_cc_flag_unknown_warning_option=no
   5261 fi
   5262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5263 fi
   5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5265 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5267 	CFLAGS="$xorg_testset_save_CFLAGS"
   5268 fi
   5269 
   5270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5273 	fi
   5274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5275 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5276 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5277 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5278 then :
   5279   printf %s "(cached) " >&6
   5280 else $as_nop
   5281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5282 /* end confdefs.h.  */
   5283 int i;
   5284 _ACEOF
   5285 if ac_fn_c_try_compile "$LINENO"
   5286 then :
   5287   xorg_cv_cc_flag_unused_command_line_argument=yes
   5288 else $as_nop
   5289   xorg_cv_cc_flag_unused_command_line_argument=no
   5290 fi
   5291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5292 fi
   5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5294 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5296 	CFLAGS="$xorg_testset_save_CFLAGS"
   5297 fi
   5298 
   5299 found="no"
   5300 
   5301 	if test $found = "no" ; then
   5302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5304 		fi
   5305 
   5306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5308 		fi
   5309 
   5310 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5311 
   5312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5313 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5314 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5315 		if eval test \${$cacheid+y}
   5316 then :
   5317   printf %s "(cached) " >&6
   5318 else $as_nop
   5319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5320 /* end confdefs.h.  */
   5321 int i;
   5322 int
   5323 main (void)
   5324 {
   5325 
   5326   ;
   5327   return 0;
   5328 }
   5329 _ACEOF
   5330 if ac_fn_c_try_link "$LINENO"
   5331 then :
   5332   eval $cacheid=yes
   5333 else $as_nop
   5334   eval $cacheid=no
   5335 fi
   5336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5337     conftest$ac_exeext conftest.$ac_ext
   5338 fi
   5339 
   5340 
   5341 		CFLAGS="$xorg_testset_save_CFLAGS"
   5342 
   5343 		eval supported=\$$cacheid
   5344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5345 printf "%s\n" "$supported" >&6; }
   5346 		if test "$supported" = "yes" ; then
   5347 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5348 			found="yes"
   5349 		fi
   5350 	fi
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 xorg_testset_save_CFLAGS="$CFLAGS"
   5367 
   5368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5370 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5371 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5372 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5373 then :
   5374   printf %s "(cached) " >&6
   5375 else $as_nop
   5376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5377 /* end confdefs.h.  */
   5378 int i;
   5379 _ACEOF
   5380 if ac_fn_c_try_compile "$LINENO"
   5381 then :
   5382   xorg_cv_cc_flag_unknown_warning_option=yes
   5383 else $as_nop
   5384   xorg_cv_cc_flag_unknown_warning_option=no
   5385 fi
   5386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5387 fi
   5388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5389 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5390 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5391 	CFLAGS="$xorg_testset_save_CFLAGS"
   5392 fi
   5393 
   5394 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5395 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5396 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5397 	fi
   5398 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5400 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5401 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5402 then :
   5403   printf %s "(cached) " >&6
   5404 else $as_nop
   5405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5406 /* end confdefs.h.  */
   5407 int i;
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"
   5410 then :
   5411   xorg_cv_cc_flag_unused_command_line_argument=yes
   5412 else $as_nop
   5413   xorg_cv_cc_flag_unused_command_line_argument=no
   5414 fi
   5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5416 fi
   5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5418 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5419 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5420 	CFLAGS="$xorg_testset_save_CFLAGS"
   5421 fi
   5422 
   5423 found="no"
   5424 
   5425 	if test $found = "no" ; then
   5426 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5427 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5428 		fi
   5429 
   5430 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5431 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5432 		fi
   5433 
   5434 		CFLAGS="$CFLAGS -Wformat=2"
   5435 
   5436 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5437 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5438 		cacheid=xorg_cv_cc_flag__Wformat_2
   5439 		if eval test \${$cacheid+y}
   5440 then :
   5441   printf %s "(cached) " >&6
   5442 else $as_nop
   5443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5444 /* end confdefs.h.  */
   5445 int i;
   5446 int
   5447 main (void)
   5448 {
   5449 
   5450   ;
   5451   return 0;
   5452 }
   5453 _ACEOF
   5454 if ac_fn_c_try_link "$LINENO"
   5455 then :
   5456   eval $cacheid=yes
   5457 else $as_nop
   5458   eval $cacheid=no
   5459 fi
   5460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5461     conftest$ac_exeext conftest.$ac_ext
   5462 fi
   5463 
   5464 
   5465 		CFLAGS="$xorg_testset_save_CFLAGS"
   5466 
   5467 		eval supported=\$$cacheid
   5468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5469 printf "%s\n" "$supported" >&6; }
   5470 		if test "$supported" = "yes" ; then
   5471 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5472 			found="yes"
   5473 		fi
   5474 	fi
   5475 
   5476 	if test $found = "no" ; then
   5477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5479 		fi
   5480 
   5481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5483 		fi
   5484 
   5485 		CFLAGS="$CFLAGS -Wformat"
   5486 
   5487 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5488 printf %s "checking if $CC supports -Wformat... " >&6; }
   5489 		cacheid=xorg_cv_cc_flag__Wformat
   5490 		if eval test \${$cacheid+y}
   5491 then :
   5492   printf %s "(cached) " >&6
   5493 else $as_nop
   5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 int i;
   5497 int
   5498 main (void)
   5499 {
   5500 
   5501   ;
   5502   return 0;
   5503 }
   5504 _ACEOF
   5505 if ac_fn_c_try_link "$LINENO"
   5506 then :
   5507   eval $cacheid=yes
   5508 else $as_nop
   5509   eval $cacheid=no
   5510 fi
   5511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5512     conftest$ac_exeext conftest.$ac_ext
   5513 fi
   5514 
   5515 
   5516 		CFLAGS="$xorg_testset_save_CFLAGS"
   5517 
   5518 		eval supported=\$$cacheid
   5519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5520 printf "%s\n" "$supported" >&6; }
   5521 		if test "$supported" = "yes" ; then
   5522 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5523 			found="yes"
   5524 		fi
   5525 	fi
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 xorg_testset_save_CFLAGS="$CFLAGS"
   5544 
   5545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5548 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5549 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5550 then :
   5551   printf %s "(cached) " >&6
   5552 else $as_nop
   5553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5554 /* end confdefs.h.  */
   5555 int i;
   5556 _ACEOF
   5557 if ac_fn_c_try_compile "$LINENO"
   5558 then :
   5559   xorg_cv_cc_flag_unknown_warning_option=yes
   5560 else $as_nop
   5561   xorg_cv_cc_flag_unknown_warning_option=no
   5562 fi
   5563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5564 fi
   5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5566 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5567 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5568 	CFLAGS="$xorg_testset_save_CFLAGS"
   5569 fi
   5570 
   5571 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5572 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5573 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5574 	fi
   5575 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5577 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5578 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5579 then :
   5580   printf %s "(cached) " >&6
   5581 else $as_nop
   5582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5583 /* end confdefs.h.  */
   5584 int i;
   5585 _ACEOF
   5586 if ac_fn_c_try_compile "$LINENO"
   5587 then :
   5588   xorg_cv_cc_flag_unused_command_line_argument=yes
   5589 else $as_nop
   5590   xorg_cv_cc_flag_unused_command_line_argument=no
   5591 fi
   5592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5593 fi
   5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5597 	CFLAGS="$xorg_testset_save_CFLAGS"
   5598 fi
   5599 
   5600 found="no"
   5601 
   5602 	if test $found = "no" ; then
   5603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5605 		fi
   5606 
   5607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5609 		fi
   5610 
   5611 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5612 
   5613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5614 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5615 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5616 		if eval test \${$cacheid+y}
   5617 then :
   5618   printf %s "(cached) " >&6
   5619 else $as_nop
   5620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5621 /* end confdefs.h.  */
   5622 int i;
   5623 int
   5624 main (void)
   5625 {
   5626 
   5627   ;
   5628   return 0;
   5629 }
   5630 _ACEOF
   5631 if ac_fn_c_try_link "$LINENO"
   5632 then :
   5633   eval $cacheid=yes
   5634 else $as_nop
   5635   eval $cacheid=no
   5636 fi
   5637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5638     conftest$ac_exeext conftest.$ac_ext
   5639 fi
   5640 
   5641 
   5642 		CFLAGS="$xorg_testset_save_CFLAGS"
   5643 
   5644 		eval supported=\$$cacheid
   5645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5646 printf "%s\n" "$supported" >&6; }
   5647 		if test "$supported" = "yes" ; then
   5648 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5649 			found="yes"
   5650 		fi
   5651 	fi
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 xorg_testset_save_CFLAGS="$CFLAGS"
   5668 
   5669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5672 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5673 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5674 then :
   5675   printf %s "(cached) " >&6
   5676 else $as_nop
   5677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5678 /* end confdefs.h.  */
   5679 int i;
   5680 _ACEOF
   5681 if ac_fn_c_try_compile "$LINENO"
   5682 then :
   5683   xorg_cv_cc_flag_unknown_warning_option=yes
   5684 else $as_nop
   5685   xorg_cv_cc_flag_unknown_warning_option=no
   5686 fi
   5687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5688 fi
   5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5690 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5692 	CFLAGS="$xorg_testset_save_CFLAGS"
   5693 fi
   5694 
   5695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5698 	fi
   5699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5701 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5702 if test ${xorg_cv_cc_flag_unused_command_line_argument+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 _ACEOF
   5710 if ac_fn_c_try_compile "$LINENO"
   5711 then :
   5712   xorg_cv_cc_flag_unused_command_line_argument=yes
   5713 else $as_nop
   5714   xorg_cv_cc_flag_unused_command_line_argument=no
   5715 fi
   5716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5717 fi
   5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5719 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5721 	CFLAGS="$xorg_testset_save_CFLAGS"
   5722 fi
   5723 
   5724 found="no"
   5725 
   5726 	if test $found = "no" ; then
   5727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5729 		fi
   5730 
   5731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5733 		fi
   5734 
   5735 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5736 
   5737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5738 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5739 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5740 		if eval test \${$cacheid+y}
   5741 then :
   5742   printf %s "(cached) " >&6
   5743 else $as_nop
   5744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5745 /* end confdefs.h.  */
   5746 int i;
   5747 int
   5748 main (void)
   5749 {
   5750 
   5751   ;
   5752   return 0;
   5753 }
   5754 _ACEOF
   5755 if ac_fn_c_try_link "$LINENO"
   5756 then :
   5757   eval $cacheid=yes
   5758 else $as_nop
   5759   eval $cacheid=no
   5760 fi
   5761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5762     conftest$ac_exeext conftest.$ac_ext
   5763 fi
   5764 
   5765 
   5766 		CFLAGS="$xorg_testset_save_CFLAGS"
   5767 
   5768 		eval supported=\$$cacheid
   5769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5770 printf "%s\n" "$supported" >&6; }
   5771 		if test "$supported" = "yes" ; then
   5772 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5773 			found="yes"
   5774 		fi
   5775 	fi
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 xorg_testset_save_CFLAGS="$CFLAGS"
   5792 
   5793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5796 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5797 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5798 then :
   5799   printf %s "(cached) " >&6
   5800 else $as_nop
   5801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5802 /* end confdefs.h.  */
   5803 int i;
   5804 _ACEOF
   5805 if ac_fn_c_try_compile "$LINENO"
   5806 then :
   5807   xorg_cv_cc_flag_unknown_warning_option=yes
   5808 else $as_nop
   5809   xorg_cv_cc_flag_unknown_warning_option=no
   5810 fi
   5811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5812 fi
   5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5814 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5816 	CFLAGS="$xorg_testset_save_CFLAGS"
   5817 fi
   5818 
   5819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5822 	fi
   5823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5825 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5826 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5827 then :
   5828   printf %s "(cached) " >&6
   5829 else $as_nop
   5830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5831 /* end confdefs.h.  */
   5832 int i;
   5833 _ACEOF
   5834 if ac_fn_c_try_compile "$LINENO"
   5835 then :
   5836   xorg_cv_cc_flag_unused_command_line_argument=yes
   5837 else $as_nop
   5838   xorg_cv_cc_flag_unused_command_line_argument=no
   5839 fi
   5840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5841 fi
   5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5843 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5845 	CFLAGS="$xorg_testset_save_CFLAGS"
   5846 fi
   5847 
   5848 found="no"
   5849 
   5850 	if test $found = "no" ; then
   5851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5853 		fi
   5854 
   5855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5857 		fi
   5858 
   5859 		CFLAGS="$CFLAGS -Wnested-externs"
   5860 
   5861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5862 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5863 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5864 		if eval test \${$cacheid+y}
   5865 then :
   5866   printf %s "(cached) " >&6
   5867 else $as_nop
   5868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5869 /* end confdefs.h.  */
   5870 int i;
   5871 int
   5872 main (void)
   5873 {
   5874 
   5875   ;
   5876   return 0;
   5877 }
   5878 _ACEOF
   5879 if ac_fn_c_try_link "$LINENO"
   5880 then :
   5881   eval $cacheid=yes
   5882 else $as_nop
   5883   eval $cacheid=no
   5884 fi
   5885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5886     conftest$ac_exeext conftest.$ac_ext
   5887 fi
   5888 
   5889 
   5890 		CFLAGS="$xorg_testset_save_CFLAGS"
   5891 
   5892 		eval supported=\$$cacheid
   5893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5894 printf "%s\n" "$supported" >&6; }
   5895 		if test "$supported" = "yes" ; then
   5896 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5897 			found="yes"
   5898 		fi
   5899 	fi
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 xorg_testset_save_CFLAGS="$CFLAGS"
   5916 
   5917 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5918 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5919 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5920 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5921 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5922 then :
   5923   printf %s "(cached) " >&6
   5924 else $as_nop
   5925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 int i;
   5928 _ACEOF
   5929 if ac_fn_c_try_compile "$LINENO"
   5930 then :
   5931   xorg_cv_cc_flag_unknown_warning_option=yes
   5932 else $as_nop
   5933   xorg_cv_cc_flag_unknown_warning_option=no
   5934 fi
   5935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5936 fi
   5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5938 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5940 	CFLAGS="$xorg_testset_save_CFLAGS"
   5941 fi
   5942 
   5943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5946 	fi
   5947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5949 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5950 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5951 then :
   5952   printf %s "(cached) " >&6
   5953 else $as_nop
   5954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5955 /* end confdefs.h.  */
   5956 int i;
   5957 _ACEOF
   5958 if ac_fn_c_try_compile "$LINENO"
   5959 then :
   5960   xorg_cv_cc_flag_unused_command_line_argument=yes
   5961 else $as_nop
   5962   xorg_cv_cc_flag_unused_command_line_argument=no
   5963 fi
   5964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5965 fi
   5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5967 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5969 	CFLAGS="$xorg_testset_save_CFLAGS"
   5970 fi
   5971 
   5972 found="no"
   5973 
   5974 	if test $found = "no" ; then
   5975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5977 		fi
   5978 
   5979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5981 		fi
   5982 
   5983 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5984 
   5985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5986 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5987 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5988 		if eval test \${$cacheid+y}
   5989 then :
   5990   printf %s "(cached) " >&6
   5991 else $as_nop
   5992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5993 /* end confdefs.h.  */
   5994 int i;
   5995 int
   5996 main (void)
   5997 {
   5998 
   5999   ;
   6000   return 0;
   6001 }
   6002 _ACEOF
   6003 if ac_fn_c_try_link "$LINENO"
   6004 then :
   6005   eval $cacheid=yes
   6006 else $as_nop
   6007   eval $cacheid=no
   6008 fi
   6009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6010     conftest$ac_exeext conftest.$ac_ext
   6011 fi
   6012 
   6013 
   6014 		CFLAGS="$xorg_testset_save_CFLAGS"
   6015 
   6016 		eval supported=\$$cacheid
   6017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6018 printf "%s\n" "$supported" >&6; }
   6019 		if test "$supported" = "yes" ; then
   6020 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6021 			found="yes"
   6022 		fi
   6023 	fi
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 xorg_testset_save_CFLAGS="$CFLAGS"
   6040 
   6041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6043 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6044 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6045 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6046 then :
   6047   printf %s "(cached) " >&6
   6048 else $as_nop
   6049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6050 /* end confdefs.h.  */
   6051 int i;
   6052 _ACEOF
   6053 if ac_fn_c_try_compile "$LINENO"
   6054 then :
   6055   xorg_cv_cc_flag_unknown_warning_option=yes
   6056 else $as_nop
   6057   xorg_cv_cc_flag_unknown_warning_option=no
   6058 fi
   6059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6060 fi
   6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6062 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6064 	CFLAGS="$xorg_testset_save_CFLAGS"
   6065 fi
   6066 
   6067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6070 	fi
   6071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6072 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6073 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6074 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6075 then :
   6076   printf %s "(cached) " >&6
   6077 else $as_nop
   6078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6079 /* end confdefs.h.  */
   6080 int i;
   6081 _ACEOF
   6082 if ac_fn_c_try_compile "$LINENO"
   6083 then :
   6084   xorg_cv_cc_flag_unused_command_line_argument=yes
   6085 else $as_nop
   6086   xorg_cv_cc_flag_unused_command_line_argument=no
   6087 fi
   6088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6089 fi
   6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6091 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6093 	CFLAGS="$xorg_testset_save_CFLAGS"
   6094 fi
   6095 
   6096 found="no"
   6097 
   6098 	if test $found = "no" ; then
   6099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6101 		fi
   6102 
   6103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6105 		fi
   6106 
   6107 		CFLAGS="$CFLAGS -Wold-style-definition"
   6108 
   6109 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6110 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6111 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6112 		if eval test \${$cacheid+y}
   6113 then :
   6114   printf %s "(cached) " >&6
   6115 else $as_nop
   6116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6117 /* end confdefs.h.  */
   6118 int i;
   6119 int
   6120 main (void)
   6121 {
   6122 
   6123   ;
   6124   return 0;
   6125 }
   6126 _ACEOF
   6127 if ac_fn_c_try_link "$LINENO"
   6128 then :
   6129   eval $cacheid=yes
   6130 else $as_nop
   6131   eval $cacheid=no
   6132 fi
   6133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6134     conftest$ac_exeext conftest.$ac_ext
   6135 fi
   6136 
   6137 
   6138 		CFLAGS="$xorg_testset_save_CFLAGS"
   6139 
   6140 		eval supported=\$$cacheid
   6141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6142 printf "%s\n" "$supported" >&6; }
   6143 		if test "$supported" = "yes" ; then
   6144 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6145 			found="yes"
   6146 		fi
   6147 	fi
   6148 
   6149 	if test $found = "no" ; then
   6150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 		fi
   6153 
   6154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6156 		fi
   6157 
   6158 		CFLAGS="$CFLAGS -fd"
   6159 
   6160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6161 printf %s "checking if $CC supports -fd... " >&6; }
   6162 		cacheid=xorg_cv_cc_flag__fd
   6163 		if eval test \${$cacheid+y}
   6164 then :
   6165   printf %s "(cached) " >&6
   6166 else $as_nop
   6167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6168 /* end confdefs.h.  */
   6169 int i;
   6170 int
   6171 main (void)
   6172 {
   6173 
   6174   ;
   6175   return 0;
   6176 }
   6177 _ACEOF
   6178 if ac_fn_c_try_link "$LINENO"
   6179 then :
   6180   eval $cacheid=yes
   6181 else $as_nop
   6182   eval $cacheid=no
   6183 fi
   6184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6185     conftest$ac_exeext conftest.$ac_ext
   6186 fi
   6187 
   6188 
   6189 		CFLAGS="$xorg_testset_save_CFLAGS"
   6190 
   6191 		eval supported=\$$cacheid
   6192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6193 printf "%s\n" "$supported" >&6; }
   6194 		if test "$supported" = "yes" ; then
   6195 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6196 			found="yes"
   6197 		fi
   6198 	fi
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 xorg_testset_save_CFLAGS="$CFLAGS"
   6215 
   6216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6221 then :
   6222   printf %s "(cached) " >&6
   6223 else $as_nop
   6224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6225 /* end confdefs.h.  */
   6226 int i;
   6227 _ACEOF
   6228 if ac_fn_c_try_compile "$LINENO"
   6229 then :
   6230   xorg_cv_cc_flag_unknown_warning_option=yes
   6231 else $as_nop
   6232   xorg_cv_cc_flag_unknown_warning_option=no
   6233 fi
   6234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6235 fi
   6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6237 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6239 	CFLAGS="$xorg_testset_save_CFLAGS"
   6240 fi
   6241 
   6242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6245 	fi
   6246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6250 then :
   6251   printf %s "(cached) " >&6
   6252 else $as_nop
   6253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6254 /* end confdefs.h.  */
   6255 int i;
   6256 _ACEOF
   6257 if ac_fn_c_try_compile "$LINENO"
   6258 then :
   6259   xorg_cv_cc_flag_unused_command_line_argument=yes
   6260 else $as_nop
   6261   xorg_cv_cc_flag_unused_command_line_argument=no
   6262 fi
   6263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6264 fi
   6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6266 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6268 	CFLAGS="$xorg_testset_save_CFLAGS"
   6269 fi
   6270 
   6271 found="no"
   6272 
   6273 	if test $found = "no" ; then
   6274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6276 		fi
   6277 
   6278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6280 		fi
   6281 
   6282 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6283 
   6284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6285 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6286 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6287 		if eval test \${$cacheid+y}
   6288 then :
   6289   printf %s "(cached) " >&6
   6290 else $as_nop
   6291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6292 /* end confdefs.h.  */
   6293 int i;
   6294 int
   6295 main (void)
   6296 {
   6297 
   6298   ;
   6299   return 0;
   6300 }
   6301 _ACEOF
   6302 if ac_fn_c_try_link "$LINENO"
   6303 then :
   6304   eval $cacheid=yes
   6305 else $as_nop
   6306   eval $cacheid=no
   6307 fi
   6308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6309     conftest$ac_exeext conftest.$ac_ext
   6310 fi
   6311 
   6312 
   6313 		CFLAGS="$xorg_testset_save_CFLAGS"
   6314 
   6315 		eval supported=\$$cacheid
   6316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6317 printf "%s\n" "$supported" >&6; }
   6318 		if test "$supported" = "yes" ; then
   6319 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6320 			found="yes"
   6321 		fi
   6322 	fi
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 # This chunk adds additional warnings that could catch undesired effects.
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 xorg_testset_save_CFLAGS="$CFLAGS"
   6343 
   6344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6347 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6348 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6349 then :
   6350   printf %s "(cached) " >&6
   6351 else $as_nop
   6352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6353 /* end confdefs.h.  */
   6354 int i;
   6355 _ACEOF
   6356 if ac_fn_c_try_compile "$LINENO"
   6357 then :
   6358   xorg_cv_cc_flag_unknown_warning_option=yes
   6359 else $as_nop
   6360   xorg_cv_cc_flag_unknown_warning_option=no
   6361 fi
   6362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6363 fi
   6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6365 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6366 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6367 	CFLAGS="$xorg_testset_save_CFLAGS"
   6368 fi
   6369 
   6370 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6371 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6372 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6373 	fi
   6374 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6376 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6377 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6378 then :
   6379   printf %s "(cached) " >&6
   6380 else $as_nop
   6381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6382 /* end confdefs.h.  */
   6383 int i;
   6384 _ACEOF
   6385 if ac_fn_c_try_compile "$LINENO"
   6386 then :
   6387   xorg_cv_cc_flag_unused_command_line_argument=yes
   6388 else $as_nop
   6389   xorg_cv_cc_flag_unused_command_line_argument=no
   6390 fi
   6391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6392 fi
   6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6394 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6396 	CFLAGS="$xorg_testset_save_CFLAGS"
   6397 fi
   6398 
   6399 found="no"
   6400 
   6401 	if test $found = "no" ; then
   6402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6404 		fi
   6405 
   6406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6408 		fi
   6409 
   6410 		CFLAGS="$CFLAGS -Wunused"
   6411 
   6412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6413 printf %s "checking if $CC supports -Wunused... " >&6; }
   6414 		cacheid=xorg_cv_cc_flag__Wunused
   6415 		if eval test \${$cacheid+y}
   6416 then :
   6417   printf %s "(cached) " >&6
   6418 else $as_nop
   6419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6420 /* end confdefs.h.  */
   6421 int i;
   6422 int
   6423 main (void)
   6424 {
   6425 
   6426   ;
   6427   return 0;
   6428 }
   6429 _ACEOF
   6430 if ac_fn_c_try_link "$LINENO"
   6431 then :
   6432   eval $cacheid=yes
   6433 else $as_nop
   6434   eval $cacheid=no
   6435 fi
   6436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6437     conftest$ac_exeext conftest.$ac_ext
   6438 fi
   6439 
   6440 
   6441 		CFLAGS="$xorg_testset_save_CFLAGS"
   6442 
   6443 		eval supported=\$$cacheid
   6444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6445 printf "%s\n" "$supported" >&6; }
   6446 		if test "$supported" = "yes" ; then
   6447 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6448 			found="yes"
   6449 		fi
   6450 	fi
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 xorg_testset_save_CFLAGS="$CFLAGS"
   6467 
   6468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6473 then :
   6474   printf %s "(cached) " >&6
   6475 else $as_nop
   6476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6477 /* end confdefs.h.  */
   6478 int i;
   6479 _ACEOF
   6480 if ac_fn_c_try_compile "$LINENO"
   6481 then :
   6482   xorg_cv_cc_flag_unknown_warning_option=yes
   6483 else $as_nop
   6484   xorg_cv_cc_flag_unknown_warning_option=no
   6485 fi
   6486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6487 fi
   6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6489 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6491 	CFLAGS="$xorg_testset_save_CFLAGS"
   6492 fi
   6493 
   6494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6497 	fi
   6498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6500 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6501 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6502 then :
   6503   printf %s "(cached) " >&6
   6504 else $as_nop
   6505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6506 /* end confdefs.h.  */
   6507 int i;
   6508 _ACEOF
   6509 if ac_fn_c_try_compile "$LINENO"
   6510 then :
   6511   xorg_cv_cc_flag_unused_command_line_argument=yes
   6512 else $as_nop
   6513   xorg_cv_cc_flag_unused_command_line_argument=no
   6514 fi
   6515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6516 fi
   6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6518 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6520 	CFLAGS="$xorg_testset_save_CFLAGS"
   6521 fi
   6522 
   6523 found="no"
   6524 
   6525 	if test $found = "no" ; then
   6526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6528 		fi
   6529 
   6530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6532 		fi
   6533 
   6534 		CFLAGS="$CFLAGS -Wuninitialized"
   6535 
   6536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6537 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6538 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6539 		if eval test \${$cacheid+y}
   6540 then :
   6541   printf %s "(cached) " >&6
   6542 else $as_nop
   6543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6544 /* end confdefs.h.  */
   6545 int i;
   6546 int
   6547 main (void)
   6548 {
   6549 
   6550   ;
   6551   return 0;
   6552 }
   6553 _ACEOF
   6554 if ac_fn_c_try_link "$LINENO"
   6555 then :
   6556   eval $cacheid=yes
   6557 else $as_nop
   6558   eval $cacheid=no
   6559 fi
   6560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6561     conftest$ac_exeext conftest.$ac_ext
   6562 fi
   6563 
   6564 
   6565 		CFLAGS="$xorg_testset_save_CFLAGS"
   6566 
   6567 		eval supported=\$$cacheid
   6568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6569 printf "%s\n" "$supported" >&6; }
   6570 		if test "$supported" = "yes" ; then
   6571 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6572 			found="yes"
   6573 		fi
   6574 	fi
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 xorg_testset_save_CFLAGS="$CFLAGS"
   6591 
   6592 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6595 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6596 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6597 then :
   6598   printf %s "(cached) " >&6
   6599 else $as_nop
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 _ACEOF
   6604 if ac_fn_c_try_compile "$LINENO"
   6605 then :
   6606   xorg_cv_cc_flag_unknown_warning_option=yes
   6607 else $as_nop
   6608   xorg_cv_cc_flag_unknown_warning_option=no
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6611 fi
   6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6613 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6614 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6615 	CFLAGS="$xorg_testset_save_CFLAGS"
   6616 fi
   6617 
   6618 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6619 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6620 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6621 	fi
   6622 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6624 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6625 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6626 then :
   6627   printf %s "(cached) " >&6
   6628 else $as_nop
   6629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6630 /* end confdefs.h.  */
   6631 int i;
   6632 _ACEOF
   6633 if ac_fn_c_try_compile "$LINENO"
   6634 then :
   6635   xorg_cv_cc_flag_unused_command_line_argument=yes
   6636 else $as_nop
   6637   xorg_cv_cc_flag_unused_command_line_argument=no
   6638 fi
   6639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6640 fi
   6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6642 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6644 	CFLAGS="$xorg_testset_save_CFLAGS"
   6645 fi
   6646 
   6647 found="no"
   6648 
   6649 	if test $found = "no" ; then
   6650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6652 		fi
   6653 
   6654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6656 		fi
   6657 
   6658 		CFLAGS="$CFLAGS -Wshadow"
   6659 
   6660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6661 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6662 		cacheid=xorg_cv_cc_flag__Wshadow
   6663 		if eval test \${$cacheid+y}
   6664 then :
   6665   printf %s "(cached) " >&6
   6666 else $as_nop
   6667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6668 /* end confdefs.h.  */
   6669 int i;
   6670 int
   6671 main (void)
   6672 {
   6673 
   6674   ;
   6675   return 0;
   6676 }
   6677 _ACEOF
   6678 if ac_fn_c_try_link "$LINENO"
   6679 then :
   6680   eval $cacheid=yes
   6681 else $as_nop
   6682   eval $cacheid=no
   6683 fi
   6684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6685     conftest$ac_exeext conftest.$ac_ext
   6686 fi
   6687 
   6688 
   6689 		CFLAGS="$xorg_testset_save_CFLAGS"
   6690 
   6691 		eval supported=\$$cacheid
   6692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6693 printf "%s\n" "$supported" >&6; }
   6694 		if test "$supported" = "yes" ; then
   6695 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6696 			found="yes"
   6697 		fi
   6698 	fi
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 xorg_testset_save_CFLAGS="$CFLAGS"
   6715 
   6716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6718 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6719 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6720 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6721 then :
   6722   printf %s "(cached) " >&6
   6723 else $as_nop
   6724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6725 /* end confdefs.h.  */
   6726 int i;
   6727 _ACEOF
   6728 if ac_fn_c_try_compile "$LINENO"
   6729 then :
   6730   xorg_cv_cc_flag_unknown_warning_option=yes
   6731 else $as_nop
   6732   xorg_cv_cc_flag_unknown_warning_option=no
   6733 fi
   6734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6735 fi
   6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6737 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6739 	CFLAGS="$xorg_testset_save_CFLAGS"
   6740 fi
   6741 
   6742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6745 	fi
   6746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6748 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6749 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6750 then :
   6751   printf %s "(cached) " >&6
   6752 else $as_nop
   6753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6754 /* end confdefs.h.  */
   6755 int i;
   6756 _ACEOF
   6757 if ac_fn_c_try_compile "$LINENO"
   6758 then :
   6759   xorg_cv_cc_flag_unused_command_line_argument=yes
   6760 else $as_nop
   6761   xorg_cv_cc_flag_unused_command_line_argument=no
   6762 fi
   6763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6764 fi
   6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6766 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6768 	CFLAGS="$xorg_testset_save_CFLAGS"
   6769 fi
   6770 
   6771 found="no"
   6772 
   6773 	if test $found = "no" ; then
   6774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6776 		fi
   6777 
   6778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6780 		fi
   6781 
   6782 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6783 
   6784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6785 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6786 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6787 		if eval test \${$cacheid+y}
   6788 then :
   6789   printf %s "(cached) " >&6
   6790 else $as_nop
   6791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6792 /* end confdefs.h.  */
   6793 int i;
   6794 int
   6795 main (void)
   6796 {
   6797 
   6798   ;
   6799   return 0;
   6800 }
   6801 _ACEOF
   6802 if ac_fn_c_try_link "$LINENO"
   6803 then :
   6804   eval $cacheid=yes
   6805 else $as_nop
   6806   eval $cacheid=no
   6807 fi
   6808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6809     conftest$ac_exeext conftest.$ac_ext
   6810 fi
   6811 
   6812 
   6813 		CFLAGS="$xorg_testset_save_CFLAGS"
   6814 
   6815 		eval supported=\$$cacheid
   6816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6817 printf "%s\n" "$supported" >&6; }
   6818 		if test "$supported" = "yes" ; then
   6819 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6820 			found="yes"
   6821 		fi
   6822 	fi
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 xorg_testset_save_CFLAGS="$CFLAGS"
   6839 
   6840 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6841 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6842 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6843 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6844 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6845 then :
   6846   printf %s "(cached) " >&6
   6847 else $as_nop
   6848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6849 /* end confdefs.h.  */
   6850 int i;
   6851 _ACEOF
   6852 if ac_fn_c_try_compile "$LINENO"
   6853 then :
   6854   xorg_cv_cc_flag_unknown_warning_option=yes
   6855 else $as_nop
   6856   xorg_cv_cc_flag_unknown_warning_option=no
   6857 fi
   6858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6859 fi
   6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6861 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6862 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6863 	CFLAGS="$xorg_testset_save_CFLAGS"
   6864 fi
   6865 
   6866 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6867 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6868 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 	fi
   6870 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6872 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6873 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6874 then :
   6875   printf %s "(cached) " >&6
   6876 else $as_nop
   6877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6878 /* end confdefs.h.  */
   6879 int i;
   6880 _ACEOF
   6881 if ac_fn_c_try_compile "$LINENO"
   6882 then :
   6883   xorg_cv_cc_flag_unused_command_line_argument=yes
   6884 else $as_nop
   6885   xorg_cv_cc_flag_unused_command_line_argument=no
   6886 fi
   6887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6888 fi
   6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6890 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6892 	CFLAGS="$xorg_testset_save_CFLAGS"
   6893 fi
   6894 
   6895 found="no"
   6896 
   6897 	if test $found = "no" ; then
   6898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6900 		fi
   6901 
   6902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6904 		fi
   6905 
   6906 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6907 
   6908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6909 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6910 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6911 		if eval test \${$cacheid+y}
   6912 then :
   6913   printf %s "(cached) " >&6
   6914 else $as_nop
   6915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6916 /* end confdefs.h.  */
   6917 int i;
   6918 int
   6919 main (void)
   6920 {
   6921 
   6922   ;
   6923   return 0;
   6924 }
   6925 _ACEOF
   6926 if ac_fn_c_try_link "$LINENO"
   6927 then :
   6928   eval $cacheid=yes
   6929 else $as_nop
   6930   eval $cacheid=no
   6931 fi
   6932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6933     conftest$ac_exeext conftest.$ac_ext
   6934 fi
   6935 
   6936 
   6937 		CFLAGS="$xorg_testset_save_CFLAGS"
   6938 
   6939 		eval supported=\$$cacheid
   6940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6941 printf "%s\n" "$supported" >&6; }
   6942 		if test "$supported" = "yes" ; then
   6943 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6944 			found="yes"
   6945 		fi
   6946 	fi
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 xorg_testset_save_CFLAGS="$CFLAGS"
   6963 
   6964 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6965 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6966 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6967 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6968 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6969 then :
   6970   printf %s "(cached) " >&6
   6971 else $as_nop
   6972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6973 /* end confdefs.h.  */
   6974 int i;
   6975 _ACEOF
   6976 if ac_fn_c_try_compile "$LINENO"
   6977 then :
   6978   xorg_cv_cc_flag_unknown_warning_option=yes
   6979 else $as_nop
   6980   xorg_cv_cc_flag_unknown_warning_option=no
   6981 fi
   6982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6983 fi
   6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6987 	CFLAGS="$xorg_testset_save_CFLAGS"
   6988 fi
   6989 
   6990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6993 	fi
   6994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6998 then :
   6999   printf %s "(cached) " >&6
   7000 else $as_nop
   7001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7002 /* end confdefs.h.  */
   7003 int i;
   7004 _ACEOF
   7005 if ac_fn_c_try_compile "$LINENO"
   7006 then :
   7007   xorg_cv_cc_flag_unused_command_line_argument=yes
   7008 else $as_nop
   7009   xorg_cv_cc_flag_unused_command_line_argument=no
   7010 fi
   7011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7012 fi
   7013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7014 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7016 	CFLAGS="$xorg_testset_save_CFLAGS"
   7017 fi
   7018 
   7019 found="no"
   7020 
   7021 	if test $found = "no" ; then
   7022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7024 		fi
   7025 
   7026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7028 		fi
   7029 
   7030 		CFLAGS="$CFLAGS -Wredundant-decls"
   7031 
   7032 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7033 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7034 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7035 		if eval test \${$cacheid+y}
   7036 then :
   7037   printf %s "(cached) " >&6
   7038 else $as_nop
   7039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7040 /* end confdefs.h.  */
   7041 int i;
   7042 int
   7043 main (void)
   7044 {
   7045 
   7046   ;
   7047   return 0;
   7048 }
   7049 _ACEOF
   7050 if ac_fn_c_try_link "$LINENO"
   7051 then :
   7052   eval $cacheid=yes
   7053 else $as_nop
   7054   eval $cacheid=no
   7055 fi
   7056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7057     conftest$ac_exeext conftest.$ac_ext
   7058 fi
   7059 
   7060 
   7061 		CFLAGS="$xorg_testset_save_CFLAGS"
   7062 
   7063 		eval supported=\$$cacheid
   7064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7065 printf "%s\n" "$supported" >&6; }
   7066 		if test "$supported" = "yes" ; then
   7067 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7068 			found="yes"
   7069 		fi
   7070 	fi
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 xorg_testset_save_CFLAGS="$CFLAGS"
   7087 
   7088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7093 then :
   7094   printf %s "(cached) " >&6
   7095 else $as_nop
   7096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7097 /* end confdefs.h.  */
   7098 int i;
   7099 _ACEOF
   7100 if ac_fn_c_try_compile "$LINENO"
   7101 then :
   7102   xorg_cv_cc_flag_unknown_warning_option=yes
   7103 else $as_nop
   7104   xorg_cv_cc_flag_unknown_warning_option=no
   7105 fi
   7106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7107 fi
   7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7109 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7111 	CFLAGS="$xorg_testset_save_CFLAGS"
   7112 fi
   7113 
   7114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7117 	fi
   7118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7119 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7120 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7121 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7122 then :
   7123   printf %s "(cached) " >&6
   7124 else $as_nop
   7125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7126 /* end confdefs.h.  */
   7127 int i;
   7128 _ACEOF
   7129 if ac_fn_c_try_compile "$LINENO"
   7130 then :
   7131   xorg_cv_cc_flag_unused_command_line_argument=yes
   7132 else $as_nop
   7133   xorg_cv_cc_flag_unused_command_line_argument=no
   7134 fi
   7135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7136 fi
   7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7138 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7140 	CFLAGS="$xorg_testset_save_CFLAGS"
   7141 fi
   7142 
   7143 found="no"
   7144 
   7145 	if test $found = "no" ; then
   7146 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7148 		fi
   7149 
   7150 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7152 		fi
   7153 
   7154 		CFLAGS="$CFLAGS -Wlogical-op"
   7155 
   7156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7157 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7158 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7159 		if eval test \${$cacheid+y}
   7160 then :
   7161   printf %s "(cached) " >&6
   7162 else $as_nop
   7163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7164 /* end confdefs.h.  */
   7165 int i;
   7166 int
   7167 main (void)
   7168 {
   7169 
   7170   ;
   7171   return 0;
   7172 }
   7173 _ACEOF
   7174 if ac_fn_c_try_link "$LINENO"
   7175 then :
   7176   eval $cacheid=yes
   7177 else $as_nop
   7178   eval $cacheid=no
   7179 fi
   7180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7181     conftest$ac_exeext conftest.$ac_ext
   7182 fi
   7183 
   7184 
   7185 		CFLAGS="$xorg_testset_save_CFLAGS"
   7186 
   7187 		eval supported=\$$cacheid
   7188 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7189 printf "%s\n" "$supported" >&6; }
   7190 		if test "$supported" = "yes" ; then
   7191 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7192 			found="yes"
   7193 		fi
   7194 	fi
   7195 
   7196 
   7197 
   7198 # These are currently disabled because they are noisy.  They will be enabled
   7199 # in the future once the codebase is sufficiently modernized to silence
   7200 # them.  For now, I don't want them to drown out the other warnings.
   7201 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7202 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7203 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7204 
   7205 # Turn some warnings into errors, so we don't accidently get successful builds
   7206 # when there are problems that should be fixed.
   7207 
   7208 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 xorg_testset_save_CFLAGS="$CFLAGS"
   7223 
   7224 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7225 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7226 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7227 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7228 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7229 then :
   7230   printf %s "(cached) " >&6
   7231 else $as_nop
   7232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7233 /* end confdefs.h.  */
   7234 int i;
   7235 _ACEOF
   7236 if ac_fn_c_try_compile "$LINENO"
   7237 then :
   7238   xorg_cv_cc_flag_unknown_warning_option=yes
   7239 else $as_nop
   7240   xorg_cv_cc_flag_unknown_warning_option=no
   7241 fi
   7242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7243 fi
   7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7245 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7247 	CFLAGS="$xorg_testset_save_CFLAGS"
   7248 fi
   7249 
   7250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7253 	fi
   7254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7256 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7257 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7258 then :
   7259   printf %s "(cached) " >&6
   7260 else $as_nop
   7261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7262 /* end confdefs.h.  */
   7263 int i;
   7264 _ACEOF
   7265 if ac_fn_c_try_compile "$LINENO"
   7266 then :
   7267   xorg_cv_cc_flag_unused_command_line_argument=yes
   7268 else $as_nop
   7269   xorg_cv_cc_flag_unused_command_line_argument=no
   7270 fi
   7271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7272 fi
   7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7274 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7276 	CFLAGS="$xorg_testset_save_CFLAGS"
   7277 fi
   7278 
   7279 found="no"
   7280 
   7281 	if test $found = "no" ; then
   7282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 		fi
   7285 
   7286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7288 		fi
   7289 
   7290 		CFLAGS="$CFLAGS -Werror=implicit"
   7291 
   7292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7293 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7294 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7295 		if eval test \${$cacheid+y}
   7296 then :
   7297   printf %s "(cached) " >&6
   7298 else $as_nop
   7299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7300 /* end confdefs.h.  */
   7301 int i;
   7302 int
   7303 main (void)
   7304 {
   7305 
   7306   ;
   7307   return 0;
   7308 }
   7309 _ACEOF
   7310 if ac_fn_c_try_link "$LINENO"
   7311 then :
   7312   eval $cacheid=yes
   7313 else $as_nop
   7314   eval $cacheid=no
   7315 fi
   7316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7317     conftest$ac_exeext conftest.$ac_ext
   7318 fi
   7319 
   7320 
   7321 		CFLAGS="$xorg_testset_save_CFLAGS"
   7322 
   7323 		eval supported=\$$cacheid
   7324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7325 printf "%s\n" "$supported" >&6; }
   7326 		if test "$supported" = "yes" ; then
   7327 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7328 			found="yes"
   7329 		fi
   7330 	fi
   7331 
   7332 	if test $found = "no" ; then
   7333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7335 		fi
   7336 
   7337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7339 		fi
   7340 
   7341 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7342 
   7343 		{ 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
   7344 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7345 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7346 		if eval test \${$cacheid+y}
   7347 then :
   7348   printf %s "(cached) " >&6
   7349 else $as_nop
   7350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7351 /* end confdefs.h.  */
   7352 int i;
   7353 int
   7354 main (void)
   7355 {
   7356 
   7357   ;
   7358   return 0;
   7359 }
   7360 _ACEOF
   7361 if ac_fn_c_try_link "$LINENO"
   7362 then :
   7363   eval $cacheid=yes
   7364 else $as_nop
   7365   eval $cacheid=no
   7366 fi
   7367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7368     conftest$ac_exeext conftest.$ac_ext
   7369 fi
   7370 
   7371 
   7372 		CFLAGS="$xorg_testset_save_CFLAGS"
   7373 
   7374 		eval supported=\$$cacheid
   7375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7376 printf "%s\n" "$supported" >&6; }
   7377 		if test "$supported" = "yes" ; then
   7378 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7379 			found="yes"
   7380 		fi
   7381 	fi
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 xorg_testset_save_CFLAGS="$CFLAGS"
   7398 
   7399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7402 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7403 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7404 then :
   7405   printf %s "(cached) " >&6
   7406 else $as_nop
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 _ACEOF
   7411 if ac_fn_c_try_compile "$LINENO"
   7412 then :
   7413   xorg_cv_cc_flag_unknown_warning_option=yes
   7414 else $as_nop
   7415   xorg_cv_cc_flag_unknown_warning_option=no
   7416 fi
   7417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7418 fi
   7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7420 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7422 	CFLAGS="$xorg_testset_save_CFLAGS"
   7423 fi
   7424 
   7425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7428 	fi
   7429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7431 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7432 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7433 then :
   7434   printf %s "(cached) " >&6
   7435 else $as_nop
   7436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7437 /* end confdefs.h.  */
   7438 int i;
   7439 _ACEOF
   7440 if ac_fn_c_try_compile "$LINENO"
   7441 then :
   7442   xorg_cv_cc_flag_unused_command_line_argument=yes
   7443 else $as_nop
   7444   xorg_cv_cc_flag_unused_command_line_argument=no
   7445 fi
   7446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7447 fi
   7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7451 	CFLAGS="$xorg_testset_save_CFLAGS"
   7452 fi
   7453 
   7454 found="no"
   7455 
   7456 	if test $found = "no" ; then
   7457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7459 		fi
   7460 
   7461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7463 		fi
   7464 
   7465 		CFLAGS="$CFLAGS -Werror=nonnull"
   7466 
   7467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7468 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7469 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7470 		if eval test \${$cacheid+y}
   7471 then :
   7472   printf %s "(cached) " >&6
   7473 else $as_nop
   7474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7475 /* end confdefs.h.  */
   7476 int i;
   7477 int
   7478 main (void)
   7479 {
   7480 
   7481   ;
   7482   return 0;
   7483 }
   7484 _ACEOF
   7485 if ac_fn_c_try_link "$LINENO"
   7486 then :
   7487   eval $cacheid=yes
   7488 else $as_nop
   7489   eval $cacheid=no
   7490 fi
   7491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7492     conftest$ac_exeext conftest.$ac_ext
   7493 fi
   7494 
   7495 
   7496 		CFLAGS="$xorg_testset_save_CFLAGS"
   7497 
   7498 		eval supported=\$$cacheid
   7499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7500 printf "%s\n" "$supported" >&6; }
   7501 		if test "$supported" = "yes" ; then
   7502 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7503 			found="yes"
   7504 		fi
   7505 	fi
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 xorg_testset_save_CFLAGS="$CFLAGS"
   7522 
   7523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7526 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7527 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7528 then :
   7529   printf %s "(cached) " >&6
   7530 else $as_nop
   7531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7532 /* end confdefs.h.  */
   7533 int i;
   7534 _ACEOF
   7535 if ac_fn_c_try_compile "$LINENO"
   7536 then :
   7537   xorg_cv_cc_flag_unknown_warning_option=yes
   7538 else $as_nop
   7539   xorg_cv_cc_flag_unknown_warning_option=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7542 fi
   7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7544 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7546 	CFLAGS="$xorg_testset_save_CFLAGS"
   7547 fi
   7548 
   7549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7552 	fi
   7553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7555 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7556 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7557 then :
   7558   printf %s "(cached) " >&6
   7559 else $as_nop
   7560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7561 /* end confdefs.h.  */
   7562 int i;
   7563 _ACEOF
   7564 if ac_fn_c_try_compile "$LINENO"
   7565 then :
   7566   xorg_cv_cc_flag_unused_command_line_argument=yes
   7567 else $as_nop
   7568   xorg_cv_cc_flag_unused_command_line_argument=no
   7569 fi
   7570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7571 fi
   7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7573 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7575 	CFLAGS="$xorg_testset_save_CFLAGS"
   7576 fi
   7577 
   7578 found="no"
   7579 
   7580 	if test $found = "no" ; then
   7581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7583 		fi
   7584 
   7585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7587 		fi
   7588 
   7589 		CFLAGS="$CFLAGS -Werror=init-self"
   7590 
   7591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7592 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7593 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7594 		if eval test \${$cacheid+y}
   7595 then :
   7596   printf %s "(cached) " >&6
   7597 else $as_nop
   7598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7599 /* end confdefs.h.  */
   7600 int i;
   7601 int
   7602 main (void)
   7603 {
   7604 
   7605   ;
   7606   return 0;
   7607 }
   7608 _ACEOF
   7609 if ac_fn_c_try_link "$LINENO"
   7610 then :
   7611   eval $cacheid=yes
   7612 else $as_nop
   7613   eval $cacheid=no
   7614 fi
   7615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7616     conftest$ac_exeext conftest.$ac_ext
   7617 fi
   7618 
   7619 
   7620 		CFLAGS="$xorg_testset_save_CFLAGS"
   7621 
   7622 		eval supported=\$$cacheid
   7623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7624 printf "%s\n" "$supported" >&6; }
   7625 		if test "$supported" = "yes" ; then
   7626 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7627 			found="yes"
   7628 		fi
   7629 	fi
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 xorg_testset_save_CFLAGS="$CFLAGS"
   7646 
   7647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7650 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7651 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7652 then :
   7653   printf %s "(cached) " >&6
   7654 else $as_nop
   7655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7656 /* end confdefs.h.  */
   7657 int i;
   7658 _ACEOF
   7659 if ac_fn_c_try_compile "$LINENO"
   7660 then :
   7661   xorg_cv_cc_flag_unknown_warning_option=yes
   7662 else $as_nop
   7663   xorg_cv_cc_flag_unknown_warning_option=no
   7664 fi
   7665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7666 fi
   7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7668 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7670 	CFLAGS="$xorg_testset_save_CFLAGS"
   7671 fi
   7672 
   7673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7676 	fi
   7677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7679 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7680 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7681 then :
   7682   printf %s "(cached) " >&6
   7683 else $as_nop
   7684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7685 /* end confdefs.h.  */
   7686 int i;
   7687 _ACEOF
   7688 if ac_fn_c_try_compile "$LINENO"
   7689 then :
   7690   xorg_cv_cc_flag_unused_command_line_argument=yes
   7691 else $as_nop
   7692   xorg_cv_cc_flag_unused_command_line_argument=no
   7693 fi
   7694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7695 fi
   7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7697 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7699 	CFLAGS="$xorg_testset_save_CFLAGS"
   7700 fi
   7701 
   7702 found="no"
   7703 
   7704 	if test $found = "no" ; then
   7705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7707 		fi
   7708 
   7709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7711 		fi
   7712 
   7713 		CFLAGS="$CFLAGS -Werror=main"
   7714 
   7715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7716 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7717 		cacheid=xorg_cv_cc_flag__Werror_main
   7718 		if eval test \${$cacheid+y}
   7719 then :
   7720   printf %s "(cached) " >&6
   7721 else $as_nop
   7722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7723 /* end confdefs.h.  */
   7724 int i;
   7725 int
   7726 main (void)
   7727 {
   7728 
   7729   ;
   7730   return 0;
   7731 }
   7732 _ACEOF
   7733 if ac_fn_c_try_link "$LINENO"
   7734 then :
   7735   eval $cacheid=yes
   7736 else $as_nop
   7737   eval $cacheid=no
   7738 fi
   7739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7740     conftest$ac_exeext conftest.$ac_ext
   7741 fi
   7742 
   7743 
   7744 		CFLAGS="$xorg_testset_save_CFLAGS"
   7745 
   7746 		eval supported=\$$cacheid
   7747 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7748 printf "%s\n" "$supported" >&6; }
   7749 		if test "$supported" = "yes" ; then
   7750 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7751 			found="yes"
   7752 		fi
   7753 	fi
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 xorg_testset_save_CFLAGS="$CFLAGS"
   7770 
   7771 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7772 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7774 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7775 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7776 then :
   7777   printf %s "(cached) " >&6
   7778 else $as_nop
   7779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7780 /* end confdefs.h.  */
   7781 int i;
   7782 _ACEOF
   7783 if ac_fn_c_try_compile "$LINENO"
   7784 then :
   7785   xorg_cv_cc_flag_unknown_warning_option=yes
   7786 else $as_nop
   7787   xorg_cv_cc_flag_unknown_warning_option=no
   7788 fi
   7789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7790 fi
   7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7792 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7794 	CFLAGS="$xorg_testset_save_CFLAGS"
   7795 fi
   7796 
   7797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7800 	fi
   7801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7802 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7803 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7804 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7805 then :
   7806   printf %s "(cached) " >&6
   7807 else $as_nop
   7808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7809 /* end confdefs.h.  */
   7810 int i;
   7811 _ACEOF
   7812 if ac_fn_c_try_compile "$LINENO"
   7813 then :
   7814   xorg_cv_cc_flag_unused_command_line_argument=yes
   7815 else $as_nop
   7816   xorg_cv_cc_flag_unused_command_line_argument=no
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7819 fi
   7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7821 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7822 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7823 	CFLAGS="$xorg_testset_save_CFLAGS"
   7824 fi
   7825 
   7826 found="no"
   7827 
   7828 	if test $found = "no" ; then
   7829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7831 		fi
   7832 
   7833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7835 		fi
   7836 
   7837 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7838 
   7839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7840 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7841 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7842 		if eval test \${$cacheid+y}
   7843 then :
   7844   printf %s "(cached) " >&6
   7845 else $as_nop
   7846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7847 /* end confdefs.h.  */
   7848 int i;
   7849 int
   7850 main (void)
   7851 {
   7852 
   7853   ;
   7854   return 0;
   7855 }
   7856 _ACEOF
   7857 if ac_fn_c_try_link "$LINENO"
   7858 then :
   7859   eval $cacheid=yes
   7860 else $as_nop
   7861   eval $cacheid=no
   7862 fi
   7863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7864     conftest$ac_exeext conftest.$ac_ext
   7865 fi
   7866 
   7867 
   7868 		CFLAGS="$xorg_testset_save_CFLAGS"
   7869 
   7870 		eval supported=\$$cacheid
   7871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7872 printf "%s\n" "$supported" >&6; }
   7873 		if test "$supported" = "yes" ; then
   7874 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7875 			found="yes"
   7876 		fi
   7877 	fi
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 xorg_testset_save_CFLAGS="$CFLAGS"
   7894 
   7895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7898 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7899 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7900 then :
   7901   printf %s "(cached) " >&6
   7902 else $as_nop
   7903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7904 /* end confdefs.h.  */
   7905 int i;
   7906 _ACEOF
   7907 if ac_fn_c_try_compile "$LINENO"
   7908 then :
   7909   xorg_cv_cc_flag_unknown_warning_option=yes
   7910 else $as_nop
   7911   xorg_cv_cc_flag_unknown_warning_option=no
   7912 fi
   7913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7914 fi
   7915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7916 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7918 	CFLAGS="$xorg_testset_save_CFLAGS"
   7919 fi
   7920 
   7921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7924 	fi
   7925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7927 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7928 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7929 then :
   7930   printf %s "(cached) " >&6
   7931 else $as_nop
   7932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7933 /* end confdefs.h.  */
   7934 int i;
   7935 _ACEOF
   7936 if ac_fn_c_try_compile "$LINENO"
   7937 then :
   7938   xorg_cv_cc_flag_unused_command_line_argument=yes
   7939 else $as_nop
   7940   xorg_cv_cc_flag_unused_command_line_argument=no
   7941 fi
   7942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7943 fi
   7944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7945 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7947 	CFLAGS="$xorg_testset_save_CFLAGS"
   7948 fi
   7949 
   7950 found="no"
   7951 
   7952 	if test $found = "no" ; then
   7953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7955 		fi
   7956 
   7957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7959 		fi
   7960 
   7961 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7962 
   7963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7964 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7965 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7966 		if eval test \${$cacheid+y}
   7967 then :
   7968   printf %s "(cached) " >&6
   7969 else $as_nop
   7970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7971 /* end confdefs.h.  */
   7972 int i;
   7973 int
   7974 main (void)
   7975 {
   7976 
   7977   ;
   7978   return 0;
   7979 }
   7980 _ACEOF
   7981 if ac_fn_c_try_link "$LINENO"
   7982 then :
   7983   eval $cacheid=yes
   7984 else $as_nop
   7985   eval $cacheid=no
   7986 fi
   7987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7988     conftest$ac_exeext conftest.$ac_ext
   7989 fi
   7990 
   7991 
   7992 		CFLAGS="$xorg_testset_save_CFLAGS"
   7993 
   7994 		eval supported=\$$cacheid
   7995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7996 printf "%s\n" "$supported" >&6; }
   7997 		if test "$supported" = "yes" ; then
   7998 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7999 			found="yes"
   8000 		fi
   8001 	fi
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 xorg_testset_save_CFLAGS="$CFLAGS"
   8018 
   8019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8024 then :
   8025   printf %s "(cached) " >&6
   8026 else $as_nop
   8027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8028 /* end confdefs.h.  */
   8029 int i;
   8030 _ACEOF
   8031 if ac_fn_c_try_compile "$LINENO"
   8032 then :
   8033   xorg_cv_cc_flag_unknown_warning_option=yes
   8034 else $as_nop
   8035   xorg_cv_cc_flag_unknown_warning_option=no
   8036 fi
   8037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8038 fi
   8039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8040 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8042 	CFLAGS="$xorg_testset_save_CFLAGS"
   8043 fi
   8044 
   8045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8048 	fi
   8049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8051 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8052 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8053 then :
   8054   printf %s "(cached) " >&6
   8055 else $as_nop
   8056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8057 /* end confdefs.h.  */
   8058 int i;
   8059 _ACEOF
   8060 if ac_fn_c_try_compile "$LINENO"
   8061 then :
   8062   xorg_cv_cc_flag_unused_command_line_argument=yes
   8063 else $as_nop
   8064   xorg_cv_cc_flag_unused_command_line_argument=no
   8065 fi
   8066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8067 fi
   8068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8069 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8071 	CFLAGS="$xorg_testset_save_CFLAGS"
   8072 fi
   8073 
   8074 found="no"
   8075 
   8076 	if test $found = "no" ; then
   8077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8079 		fi
   8080 
   8081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8083 		fi
   8084 
   8085 		CFLAGS="$CFLAGS -Werror=return-type"
   8086 
   8087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8088 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8089 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8090 		if eval test \${$cacheid+y}
   8091 then :
   8092   printf %s "(cached) " >&6
   8093 else $as_nop
   8094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8095 /* end confdefs.h.  */
   8096 int i;
   8097 int
   8098 main (void)
   8099 {
   8100 
   8101   ;
   8102   return 0;
   8103 }
   8104 _ACEOF
   8105 if ac_fn_c_try_link "$LINENO"
   8106 then :
   8107   eval $cacheid=yes
   8108 else $as_nop
   8109   eval $cacheid=no
   8110 fi
   8111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8112     conftest$ac_exeext conftest.$ac_ext
   8113 fi
   8114 
   8115 
   8116 		CFLAGS="$xorg_testset_save_CFLAGS"
   8117 
   8118 		eval supported=\$$cacheid
   8119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8120 printf "%s\n" "$supported" >&6; }
   8121 		if test "$supported" = "yes" ; then
   8122 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8123 			found="yes"
   8124 		fi
   8125 	fi
   8126 
   8127 	if test $found = "no" ; then
   8128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 		fi
   8131 
   8132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8134 		fi
   8135 
   8136 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8137 
   8138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8139 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8140 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8141 		if eval test \${$cacheid+y}
   8142 then :
   8143   printf %s "(cached) " >&6
   8144 else $as_nop
   8145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8146 /* end confdefs.h.  */
   8147 int i;
   8148 int
   8149 main (void)
   8150 {
   8151 
   8152   ;
   8153   return 0;
   8154 }
   8155 _ACEOF
   8156 if ac_fn_c_try_link "$LINENO"
   8157 then :
   8158   eval $cacheid=yes
   8159 else $as_nop
   8160   eval $cacheid=no
   8161 fi
   8162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8163     conftest$ac_exeext conftest.$ac_ext
   8164 fi
   8165 
   8166 
   8167 		CFLAGS="$xorg_testset_save_CFLAGS"
   8168 
   8169 		eval supported=\$$cacheid
   8170 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8171 printf "%s\n" "$supported" >&6; }
   8172 		if test "$supported" = "yes" ; then
   8173 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8174 			found="yes"
   8175 		fi
   8176 	fi
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 xorg_testset_save_CFLAGS="$CFLAGS"
   8193 
   8194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8196 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8197 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8198 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8199 then :
   8200   printf %s "(cached) " >&6
   8201 else $as_nop
   8202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8203 /* end confdefs.h.  */
   8204 int i;
   8205 _ACEOF
   8206 if ac_fn_c_try_compile "$LINENO"
   8207 then :
   8208   xorg_cv_cc_flag_unknown_warning_option=yes
   8209 else $as_nop
   8210   xorg_cv_cc_flag_unknown_warning_option=no
   8211 fi
   8212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8213 fi
   8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8215 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8216 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8217 	CFLAGS="$xorg_testset_save_CFLAGS"
   8218 fi
   8219 
   8220 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8221 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8222 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8223 	fi
   8224 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8226 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8227 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8228 then :
   8229   printf %s "(cached) " >&6
   8230 else $as_nop
   8231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8232 /* end confdefs.h.  */
   8233 int i;
   8234 _ACEOF
   8235 if ac_fn_c_try_compile "$LINENO"
   8236 then :
   8237   xorg_cv_cc_flag_unused_command_line_argument=yes
   8238 else $as_nop
   8239   xorg_cv_cc_flag_unused_command_line_argument=no
   8240 fi
   8241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8242 fi
   8243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8244 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8245 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8246 	CFLAGS="$xorg_testset_save_CFLAGS"
   8247 fi
   8248 
   8249 found="no"
   8250 
   8251 	if test $found = "no" ; then
   8252 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8253 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8254 		fi
   8255 
   8256 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8257 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8258 		fi
   8259 
   8260 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8261 
   8262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8263 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8264 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8265 		if eval test \${$cacheid+y}
   8266 then :
   8267   printf %s "(cached) " >&6
   8268 else $as_nop
   8269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8270 /* end confdefs.h.  */
   8271 int i;
   8272 int
   8273 main (void)
   8274 {
   8275 
   8276   ;
   8277   return 0;
   8278 }
   8279 _ACEOF
   8280 if ac_fn_c_try_link "$LINENO"
   8281 then :
   8282   eval $cacheid=yes
   8283 else $as_nop
   8284   eval $cacheid=no
   8285 fi
   8286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8287     conftest$ac_exeext conftest.$ac_ext
   8288 fi
   8289 
   8290 
   8291 		CFLAGS="$xorg_testset_save_CFLAGS"
   8292 
   8293 		eval supported=\$$cacheid
   8294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8295 printf "%s\n" "$supported" >&6; }
   8296 		if test "$supported" = "yes" ; then
   8297 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8298 			found="yes"
   8299 		fi
   8300 	fi
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 xorg_testset_save_CFLAGS="$CFLAGS"
   8317 
   8318 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8319 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8320 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8321 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8322 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8323 then :
   8324   printf %s "(cached) " >&6
   8325 else $as_nop
   8326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8327 /* end confdefs.h.  */
   8328 int i;
   8329 _ACEOF
   8330 if ac_fn_c_try_compile "$LINENO"
   8331 then :
   8332   xorg_cv_cc_flag_unknown_warning_option=yes
   8333 else $as_nop
   8334   xorg_cv_cc_flag_unknown_warning_option=no
   8335 fi
   8336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8337 fi
   8338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8339 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8341 	CFLAGS="$xorg_testset_save_CFLAGS"
   8342 fi
   8343 
   8344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8347 	fi
   8348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8349 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8350 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8351 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8352 then :
   8353   printf %s "(cached) " >&6
   8354 else $as_nop
   8355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8356 /* end confdefs.h.  */
   8357 int i;
   8358 _ACEOF
   8359 if ac_fn_c_try_compile "$LINENO"
   8360 then :
   8361   xorg_cv_cc_flag_unused_command_line_argument=yes
   8362 else $as_nop
   8363   xorg_cv_cc_flag_unused_command_line_argument=no
   8364 fi
   8365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8366 fi
   8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8368 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8370 	CFLAGS="$xorg_testset_save_CFLAGS"
   8371 fi
   8372 
   8373 found="no"
   8374 
   8375 	if test $found = "no" ; then
   8376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8378 		fi
   8379 
   8380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8382 		fi
   8383 
   8384 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8385 
   8386 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8387 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8388 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8389 		if eval test \${$cacheid+y}
   8390 then :
   8391   printf %s "(cached) " >&6
   8392 else $as_nop
   8393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8394 /* end confdefs.h.  */
   8395 int i;
   8396 int
   8397 main (void)
   8398 {
   8399 
   8400   ;
   8401   return 0;
   8402 }
   8403 _ACEOF
   8404 if ac_fn_c_try_link "$LINENO"
   8405 then :
   8406   eval $cacheid=yes
   8407 else $as_nop
   8408   eval $cacheid=no
   8409 fi
   8410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8411     conftest$ac_exeext conftest.$ac_ext
   8412 fi
   8413 
   8414 
   8415 		CFLAGS="$xorg_testset_save_CFLAGS"
   8416 
   8417 		eval supported=\$$cacheid
   8418 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8419 printf "%s\n" "$supported" >&6; }
   8420 		if test "$supported" = "yes" ; then
   8421 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8422 			found="yes"
   8423 		fi
   8424 	fi
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 xorg_testset_save_CFLAGS="$CFLAGS"
   8441 
   8442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8445 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8446 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8447 then :
   8448   printf %s "(cached) " >&6
   8449 else $as_nop
   8450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8451 /* end confdefs.h.  */
   8452 int i;
   8453 _ACEOF
   8454 if ac_fn_c_try_compile "$LINENO"
   8455 then :
   8456   xorg_cv_cc_flag_unknown_warning_option=yes
   8457 else $as_nop
   8458   xorg_cv_cc_flag_unknown_warning_option=no
   8459 fi
   8460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8461 fi
   8462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8463 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8465 	CFLAGS="$xorg_testset_save_CFLAGS"
   8466 fi
   8467 
   8468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8471 	fi
   8472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8474 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8475 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8476 then :
   8477   printf %s "(cached) " >&6
   8478 else $as_nop
   8479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8480 /* end confdefs.h.  */
   8481 int i;
   8482 _ACEOF
   8483 if ac_fn_c_try_compile "$LINENO"
   8484 then :
   8485   xorg_cv_cc_flag_unused_command_line_argument=yes
   8486 else $as_nop
   8487   xorg_cv_cc_flag_unused_command_line_argument=no
   8488 fi
   8489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8490 fi
   8491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8492 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8494 	CFLAGS="$xorg_testset_save_CFLAGS"
   8495 fi
   8496 
   8497 found="no"
   8498 
   8499 	if test $found = "no" ; then
   8500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 		fi
   8503 
   8504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8506 		fi
   8507 
   8508 		CFLAGS="$CFLAGS -Werror=write-strings"
   8509 
   8510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8511 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8512 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8513 		if eval test \${$cacheid+y}
   8514 then :
   8515   printf %s "(cached) " >&6
   8516 else $as_nop
   8517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8518 /* end confdefs.h.  */
   8519 int i;
   8520 int
   8521 main (void)
   8522 {
   8523 
   8524   ;
   8525   return 0;
   8526 }
   8527 _ACEOF
   8528 if ac_fn_c_try_link "$LINENO"
   8529 then :
   8530   eval $cacheid=yes
   8531 else $as_nop
   8532   eval $cacheid=no
   8533 fi
   8534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8535     conftest$ac_exeext conftest.$ac_ext
   8536 fi
   8537 
   8538 
   8539 		CFLAGS="$xorg_testset_save_CFLAGS"
   8540 
   8541 		eval supported=\$$cacheid
   8542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8543 printf "%s\n" "$supported" >&6; }
   8544 		if test "$supported" = "yes" ; then
   8545 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8546 			found="yes"
   8547 		fi
   8548 	fi
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 xorg_testset_save_CFLAGS="$CFLAGS"
   8565 
   8566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8569 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8570 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8571 then :
   8572   printf %s "(cached) " >&6
   8573 else $as_nop
   8574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8575 /* end confdefs.h.  */
   8576 int i;
   8577 _ACEOF
   8578 if ac_fn_c_try_compile "$LINENO"
   8579 then :
   8580   xorg_cv_cc_flag_unknown_warning_option=yes
   8581 else $as_nop
   8582   xorg_cv_cc_flag_unknown_warning_option=no
   8583 fi
   8584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8585 fi
   8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8587 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8589 	CFLAGS="$xorg_testset_save_CFLAGS"
   8590 fi
   8591 
   8592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8595 	fi
   8596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8598 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8599 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8600 then :
   8601   printf %s "(cached) " >&6
   8602 else $as_nop
   8603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8604 /* end confdefs.h.  */
   8605 int i;
   8606 _ACEOF
   8607 if ac_fn_c_try_compile "$LINENO"
   8608 then :
   8609   xorg_cv_cc_flag_unused_command_line_argument=yes
   8610 else $as_nop
   8611   xorg_cv_cc_flag_unused_command_line_argument=no
   8612 fi
   8613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8614 fi
   8615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8616 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8618 	CFLAGS="$xorg_testset_save_CFLAGS"
   8619 fi
   8620 
   8621 found="no"
   8622 
   8623 	if test $found = "no" ; then
   8624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8626 		fi
   8627 
   8628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8630 		fi
   8631 
   8632 		CFLAGS="$CFLAGS -Werror=address"
   8633 
   8634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8635 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8636 		cacheid=xorg_cv_cc_flag__Werror_address
   8637 		if eval test \${$cacheid+y}
   8638 then :
   8639   printf %s "(cached) " >&6
   8640 else $as_nop
   8641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8642 /* end confdefs.h.  */
   8643 int i;
   8644 int
   8645 main (void)
   8646 {
   8647 
   8648   ;
   8649   return 0;
   8650 }
   8651 _ACEOF
   8652 if ac_fn_c_try_link "$LINENO"
   8653 then :
   8654   eval $cacheid=yes
   8655 else $as_nop
   8656   eval $cacheid=no
   8657 fi
   8658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8659     conftest$ac_exeext conftest.$ac_ext
   8660 fi
   8661 
   8662 
   8663 		CFLAGS="$xorg_testset_save_CFLAGS"
   8664 
   8665 		eval supported=\$$cacheid
   8666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8667 printf "%s\n" "$supported" >&6; }
   8668 		if test "$supported" = "yes" ; then
   8669 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8670 			found="yes"
   8671 		fi
   8672 	fi
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 xorg_testset_save_CFLAGS="$CFLAGS"
   8689 
   8690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8693 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8694 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8695 then :
   8696   printf %s "(cached) " >&6
   8697 else $as_nop
   8698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8699 /* end confdefs.h.  */
   8700 int i;
   8701 _ACEOF
   8702 if ac_fn_c_try_compile "$LINENO"
   8703 then :
   8704   xorg_cv_cc_flag_unknown_warning_option=yes
   8705 else $as_nop
   8706   xorg_cv_cc_flag_unknown_warning_option=no
   8707 fi
   8708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8709 fi
   8710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8711 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8713 	CFLAGS="$xorg_testset_save_CFLAGS"
   8714 fi
   8715 
   8716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8719 	fi
   8720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8722 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8723 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8724 then :
   8725   printf %s "(cached) " >&6
   8726 else $as_nop
   8727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8728 /* end confdefs.h.  */
   8729 int i;
   8730 _ACEOF
   8731 if ac_fn_c_try_compile "$LINENO"
   8732 then :
   8733   xorg_cv_cc_flag_unused_command_line_argument=yes
   8734 else $as_nop
   8735   xorg_cv_cc_flag_unused_command_line_argument=no
   8736 fi
   8737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8738 fi
   8739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8740 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8742 	CFLAGS="$xorg_testset_save_CFLAGS"
   8743 fi
   8744 
   8745 found="no"
   8746 
   8747 	if test $found = "no" ; then
   8748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8750 		fi
   8751 
   8752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8754 		fi
   8755 
   8756 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8757 
   8758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8759 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8760 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8761 		if eval test \${$cacheid+y}
   8762 then :
   8763   printf %s "(cached) " >&6
   8764 else $as_nop
   8765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8766 /* end confdefs.h.  */
   8767 int i;
   8768 int
   8769 main (void)
   8770 {
   8771 
   8772   ;
   8773   return 0;
   8774 }
   8775 _ACEOF
   8776 if ac_fn_c_try_link "$LINENO"
   8777 then :
   8778   eval $cacheid=yes
   8779 else $as_nop
   8780   eval $cacheid=no
   8781 fi
   8782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8783     conftest$ac_exeext conftest.$ac_ext
   8784 fi
   8785 
   8786 
   8787 		CFLAGS="$xorg_testset_save_CFLAGS"
   8788 
   8789 		eval supported=\$$cacheid
   8790 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8791 printf "%s\n" "$supported" >&6; }
   8792 		if test "$supported" = "yes" ; then
   8793 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8794 			found="yes"
   8795 		fi
   8796 	fi
   8797 
   8798 	if test $found = "no" ; then
   8799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 		fi
   8802 
   8803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8805 		fi
   8806 
   8807 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8808 
   8809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8810 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8811 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8812 		if eval test \${$cacheid+y}
   8813 then :
   8814   printf %s "(cached) " >&6
   8815 else $as_nop
   8816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8817 /* end confdefs.h.  */
   8818 int i;
   8819 int
   8820 main (void)
   8821 {
   8822 
   8823   ;
   8824   return 0;
   8825 }
   8826 _ACEOF
   8827 if ac_fn_c_try_link "$LINENO"
   8828 then :
   8829   eval $cacheid=yes
   8830 else $as_nop
   8831   eval $cacheid=no
   8832 fi
   8833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8834     conftest$ac_exeext conftest.$ac_ext
   8835 fi
   8836 
   8837 
   8838 		CFLAGS="$xorg_testset_save_CFLAGS"
   8839 
   8840 		eval supported=\$$cacheid
   8841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8842 printf "%s\n" "$supported" >&6; }
   8843 		if test "$supported" = "yes" ; then
   8844 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8845 			found="yes"
   8846 		fi
   8847 	fi
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 xorg_testset_save_CFLAGS="$CFLAGS"
   8864 
   8865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8868 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8869 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8870 then :
   8871   printf %s "(cached) " >&6
   8872 else $as_nop
   8873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8874 /* end confdefs.h.  */
   8875 int i;
   8876 _ACEOF
   8877 if ac_fn_c_try_compile "$LINENO"
   8878 then :
   8879   xorg_cv_cc_flag_unknown_warning_option=yes
   8880 else $as_nop
   8881   xorg_cv_cc_flag_unknown_warning_option=no
   8882 fi
   8883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8884 fi
   8885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8886 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8888 	CFLAGS="$xorg_testset_save_CFLAGS"
   8889 fi
   8890 
   8891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8894 	fi
   8895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8897 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8898 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8899 then :
   8900   printf %s "(cached) " >&6
   8901 else $as_nop
   8902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8903 /* end confdefs.h.  */
   8904 int i;
   8905 _ACEOF
   8906 if ac_fn_c_try_compile "$LINENO"
   8907 then :
   8908   xorg_cv_cc_flag_unused_command_line_argument=yes
   8909 else $as_nop
   8910   xorg_cv_cc_flag_unused_command_line_argument=no
   8911 fi
   8912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8913 fi
   8914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8915 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8917 	CFLAGS="$xorg_testset_save_CFLAGS"
   8918 fi
   8919 
   8920 found="no"
   8921 
   8922 	if test $found = "no" ; then
   8923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8925 		fi
   8926 
   8927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8929 		fi
   8930 
   8931 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8932 
   8933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8934 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8935 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8936 		if eval test \${$cacheid+y}
   8937 then :
   8938   printf %s "(cached) " >&6
   8939 else $as_nop
   8940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8941 /* end confdefs.h.  */
   8942 int i;
   8943 int
   8944 main (void)
   8945 {
   8946 
   8947   ;
   8948   return 0;
   8949 }
   8950 _ACEOF
   8951 if ac_fn_c_try_link "$LINENO"
   8952 then :
   8953   eval $cacheid=yes
   8954 else $as_nop
   8955   eval $cacheid=no
   8956 fi
   8957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8958     conftest$ac_exeext conftest.$ac_ext
   8959 fi
   8960 
   8961 
   8962 		CFLAGS="$xorg_testset_save_CFLAGS"
   8963 
   8964 		eval supported=\$$cacheid
   8965 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8966 printf "%s\n" "$supported" >&6; }
   8967 		if test "$supported" = "yes" ; then
   8968 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8969 			found="yes"
   8970 		fi
   8971 	fi
   8972 
   8973  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8974 else
   8975 { 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
   8976 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;}
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 xorg_testset_save_CFLAGS="$CFLAGS"
   8991 
   8992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8997 then :
   8998   printf %s "(cached) " >&6
   8999 else $as_nop
   9000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9001 /* end confdefs.h.  */
   9002 int i;
   9003 _ACEOF
   9004 if ac_fn_c_try_compile "$LINENO"
   9005 then :
   9006   xorg_cv_cc_flag_unknown_warning_option=yes
   9007 else $as_nop
   9008   xorg_cv_cc_flag_unknown_warning_option=no
   9009 fi
   9010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9011 fi
   9012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9015 	CFLAGS="$xorg_testset_save_CFLAGS"
   9016 fi
   9017 
   9018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9021 	fi
   9022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9026 then :
   9027   printf %s "(cached) " >&6
   9028 else $as_nop
   9029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9030 /* end confdefs.h.  */
   9031 int i;
   9032 _ACEOF
   9033 if ac_fn_c_try_compile "$LINENO"
   9034 then :
   9035   xorg_cv_cc_flag_unused_command_line_argument=yes
   9036 else $as_nop
   9037   xorg_cv_cc_flag_unused_command_line_argument=no
   9038 fi
   9039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9040 fi
   9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9044 	CFLAGS="$xorg_testset_save_CFLAGS"
   9045 fi
   9046 
   9047 found="no"
   9048 
   9049 	if test $found = "no" ; then
   9050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9052 		fi
   9053 
   9054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9056 		fi
   9057 
   9058 		CFLAGS="$CFLAGS -Wimplicit"
   9059 
   9060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9061 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9062 		cacheid=xorg_cv_cc_flag__Wimplicit
   9063 		if eval test \${$cacheid+y}
   9064 then :
   9065   printf %s "(cached) " >&6
   9066 else $as_nop
   9067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9068 /* end confdefs.h.  */
   9069 int i;
   9070 int
   9071 main (void)
   9072 {
   9073 
   9074   ;
   9075   return 0;
   9076 }
   9077 _ACEOF
   9078 if ac_fn_c_try_link "$LINENO"
   9079 then :
   9080   eval $cacheid=yes
   9081 else $as_nop
   9082   eval $cacheid=no
   9083 fi
   9084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9085     conftest$ac_exeext conftest.$ac_ext
   9086 fi
   9087 
   9088 
   9089 		CFLAGS="$xorg_testset_save_CFLAGS"
   9090 
   9091 		eval supported=\$$cacheid
   9092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9093 printf "%s\n" "$supported" >&6; }
   9094 		if test "$supported" = "yes" ; then
   9095 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9096 			found="yes"
   9097 		fi
   9098 	fi
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 xorg_testset_save_CFLAGS="$CFLAGS"
   9115 
   9116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9118 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9119 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9120 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9121 then :
   9122   printf %s "(cached) " >&6
   9123 else $as_nop
   9124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9125 /* end confdefs.h.  */
   9126 int i;
   9127 _ACEOF
   9128 if ac_fn_c_try_compile "$LINENO"
   9129 then :
   9130   xorg_cv_cc_flag_unknown_warning_option=yes
   9131 else $as_nop
   9132   xorg_cv_cc_flag_unknown_warning_option=no
   9133 fi
   9134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9135 fi
   9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9137 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9139 	CFLAGS="$xorg_testset_save_CFLAGS"
   9140 fi
   9141 
   9142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9145 	fi
   9146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9148 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9149 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9150 then :
   9151   printf %s "(cached) " >&6
   9152 else $as_nop
   9153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9154 /* end confdefs.h.  */
   9155 int i;
   9156 _ACEOF
   9157 if ac_fn_c_try_compile "$LINENO"
   9158 then :
   9159   xorg_cv_cc_flag_unused_command_line_argument=yes
   9160 else $as_nop
   9161   xorg_cv_cc_flag_unused_command_line_argument=no
   9162 fi
   9163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9164 fi
   9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9166 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9167 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9168 	CFLAGS="$xorg_testset_save_CFLAGS"
   9169 fi
   9170 
   9171 found="no"
   9172 
   9173 	if test $found = "no" ; then
   9174 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9175 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9176 		fi
   9177 
   9178 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9179 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9180 		fi
   9181 
   9182 		CFLAGS="$CFLAGS -Wnonnull"
   9183 
   9184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9185 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9186 		cacheid=xorg_cv_cc_flag__Wnonnull
   9187 		if eval test \${$cacheid+y}
   9188 then :
   9189   printf %s "(cached) " >&6
   9190 else $as_nop
   9191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9192 /* end confdefs.h.  */
   9193 int i;
   9194 int
   9195 main (void)
   9196 {
   9197 
   9198   ;
   9199   return 0;
   9200 }
   9201 _ACEOF
   9202 if ac_fn_c_try_link "$LINENO"
   9203 then :
   9204   eval $cacheid=yes
   9205 else $as_nop
   9206   eval $cacheid=no
   9207 fi
   9208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9209     conftest$ac_exeext conftest.$ac_ext
   9210 fi
   9211 
   9212 
   9213 		CFLAGS="$xorg_testset_save_CFLAGS"
   9214 
   9215 		eval supported=\$$cacheid
   9216 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9217 printf "%s\n" "$supported" >&6; }
   9218 		if test "$supported" = "yes" ; then
   9219 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9220 			found="yes"
   9221 		fi
   9222 	fi
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 xorg_testset_save_CFLAGS="$CFLAGS"
   9239 
   9240 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9241 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9242 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9243 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9244 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9245 then :
   9246   printf %s "(cached) " >&6
   9247 else $as_nop
   9248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 int i;
   9251 _ACEOF
   9252 if ac_fn_c_try_compile "$LINENO"
   9253 then :
   9254   xorg_cv_cc_flag_unknown_warning_option=yes
   9255 else $as_nop
   9256   xorg_cv_cc_flag_unknown_warning_option=no
   9257 fi
   9258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9259 fi
   9260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9261 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9263 	CFLAGS="$xorg_testset_save_CFLAGS"
   9264 fi
   9265 
   9266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9269 	fi
   9270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9272 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9273 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9274 then :
   9275   printf %s "(cached) " >&6
   9276 else $as_nop
   9277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9278 /* end confdefs.h.  */
   9279 int i;
   9280 _ACEOF
   9281 if ac_fn_c_try_compile "$LINENO"
   9282 then :
   9283   xorg_cv_cc_flag_unused_command_line_argument=yes
   9284 else $as_nop
   9285   xorg_cv_cc_flag_unused_command_line_argument=no
   9286 fi
   9287 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9288 fi
   9289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9290 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9292 	CFLAGS="$xorg_testset_save_CFLAGS"
   9293 fi
   9294 
   9295 found="no"
   9296 
   9297 	if test $found = "no" ; then
   9298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9300 		fi
   9301 
   9302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9304 		fi
   9305 
   9306 		CFLAGS="$CFLAGS -Winit-self"
   9307 
   9308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9309 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9310 		cacheid=xorg_cv_cc_flag__Winit_self
   9311 		if eval test \${$cacheid+y}
   9312 then :
   9313   printf %s "(cached) " >&6
   9314 else $as_nop
   9315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9316 /* end confdefs.h.  */
   9317 int i;
   9318 int
   9319 main (void)
   9320 {
   9321 
   9322   ;
   9323   return 0;
   9324 }
   9325 _ACEOF
   9326 if ac_fn_c_try_link "$LINENO"
   9327 then :
   9328   eval $cacheid=yes
   9329 else $as_nop
   9330   eval $cacheid=no
   9331 fi
   9332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9333     conftest$ac_exeext conftest.$ac_ext
   9334 fi
   9335 
   9336 
   9337 		CFLAGS="$xorg_testset_save_CFLAGS"
   9338 
   9339 		eval supported=\$$cacheid
   9340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9341 printf "%s\n" "$supported" >&6; }
   9342 		if test "$supported" = "yes" ; then
   9343 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9344 			found="yes"
   9345 		fi
   9346 	fi
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 xorg_testset_save_CFLAGS="$CFLAGS"
   9363 
   9364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9367 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9368 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9369 then :
   9370   printf %s "(cached) " >&6
   9371 else $as_nop
   9372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9373 /* end confdefs.h.  */
   9374 int i;
   9375 _ACEOF
   9376 if ac_fn_c_try_compile "$LINENO"
   9377 then :
   9378   xorg_cv_cc_flag_unknown_warning_option=yes
   9379 else $as_nop
   9380   xorg_cv_cc_flag_unknown_warning_option=no
   9381 fi
   9382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9383 fi
   9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9385 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9387 	CFLAGS="$xorg_testset_save_CFLAGS"
   9388 fi
   9389 
   9390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9393 	fi
   9394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9395 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9396 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9397 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9398 then :
   9399   printf %s "(cached) " >&6
   9400 else $as_nop
   9401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9402 /* end confdefs.h.  */
   9403 int i;
   9404 _ACEOF
   9405 if ac_fn_c_try_compile "$LINENO"
   9406 then :
   9407   xorg_cv_cc_flag_unused_command_line_argument=yes
   9408 else $as_nop
   9409   xorg_cv_cc_flag_unused_command_line_argument=no
   9410 fi
   9411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9412 fi
   9413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9414 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9416 	CFLAGS="$xorg_testset_save_CFLAGS"
   9417 fi
   9418 
   9419 found="no"
   9420 
   9421 	if test $found = "no" ; then
   9422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9424 		fi
   9425 
   9426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9428 		fi
   9429 
   9430 		CFLAGS="$CFLAGS -Wmain"
   9431 
   9432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9433 printf %s "checking if $CC supports -Wmain... " >&6; }
   9434 		cacheid=xorg_cv_cc_flag__Wmain
   9435 		if eval test \${$cacheid+y}
   9436 then :
   9437   printf %s "(cached) " >&6
   9438 else $as_nop
   9439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9440 /* end confdefs.h.  */
   9441 int i;
   9442 int
   9443 main (void)
   9444 {
   9445 
   9446   ;
   9447   return 0;
   9448 }
   9449 _ACEOF
   9450 if ac_fn_c_try_link "$LINENO"
   9451 then :
   9452   eval $cacheid=yes
   9453 else $as_nop
   9454   eval $cacheid=no
   9455 fi
   9456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9457     conftest$ac_exeext conftest.$ac_ext
   9458 fi
   9459 
   9460 
   9461 		CFLAGS="$xorg_testset_save_CFLAGS"
   9462 
   9463 		eval supported=\$$cacheid
   9464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9465 printf "%s\n" "$supported" >&6; }
   9466 		if test "$supported" = "yes" ; then
   9467 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9468 			found="yes"
   9469 		fi
   9470 	fi
   9471 
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 
   9484 
   9485 
   9486 xorg_testset_save_CFLAGS="$CFLAGS"
   9487 
   9488 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9489 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9491 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9492 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9493 then :
   9494   printf %s "(cached) " >&6
   9495 else $as_nop
   9496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9497 /* end confdefs.h.  */
   9498 int i;
   9499 _ACEOF
   9500 if ac_fn_c_try_compile "$LINENO"
   9501 then :
   9502   xorg_cv_cc_flag_unknown_warning_option=yes
   9503 else $as_nop
   9504   xorg_cv_cc_flag_unknown_warning_option=no
   9505 fi
   9506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9507 fi
   9508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9509 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9511 	CFLAGS="$xorg_testset_save_CFLAGS"
   9512 fi
   9513 
   9514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9517 	fi
   9518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9519 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9520 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9521 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9522 then :
   9523   printf %s "(cached) " >&6
   9524 else $as_nop
   9525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9526 /* end confdefs.h.  */
   9527 int i;
   9528 _ACEOF
   9529 if ac_fn_c_try_compile "$LINENO"
   9530 then :
   9531   xorg_cv_cc_flag_unused_command_line_argument=yes
   9532 else $as_nop
   9533   xorg_cv_cc_flag_unused_command_line_argument=no
   9534 fi
   9535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9536 fi
   9537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9538 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9539 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9540 	CFLAGS="$xorg_testset_save_CFLAGS"
   9541 fi
   9542 
   9543 found="no"
   9544 
   9545 	if test $found = "no" ; then
   9546 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9547 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9548 		fi
   9549 
   9550 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9551 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9552 		fi
   9553 
   9554 		CFLAGS="$CFLAGS -Wmissing-braces"
   9555 
   9556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9557 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9558 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9559 		if eval test \${$cacheid+y}
   9560 then :
   9561   printf %s "(cached) " >&6
   9562 else $as_nop
   9563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9564 /* end confdefs.h.  */
   9565 int i;
   9566 int
   9567 main (void)
   9568 {
   9569 
   9570   ;
   9571   return 0;
   9572 }
   9573 _ACEOF
   9574 if ac_fn_c_try_link "$LINENO"
   9575 then :
   9576   eval $cacheid=yes
   9577 else $as_nop
   9578   eval $cacheid=no
   9579 fi
   9580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9581     conftest$ac_exeext conftest.$ac_ext
   9582 fi
   9583 
   9584 
   9585 		CFLAGS="$xorg_testset_save_CFLAGS"
   9586 
   9587 		eval supported=\$$cacheid
   9588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9589 printf "%s\n" "$supported" >&6; }
   9590 		if test "$supported" = "yes" ; then
   9591 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9592 			found="yes"
   9593 		fi
   9594 	fi
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 xorg_testset_save_CFLAGS="$CFLAGS"
   9611 
   9612 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9615 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9616 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9617 then :
   9618   printf %s "(cached) " >&6
   9619 else $as_nop
   9620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9621 /* end confdefs.h.  */
   9622 int i;
   9623 _ACEOF
   9624 if ac_fn_c_try_compile "$LINENO"
   9625 then :
   9626   xorg_cv_cc_flag_unknown_warning_option=yes
   9627 else $as_nop
   9628   xorg_cv_cc_flag_unknown_warning_option=no
   9629 fi
   9630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9631 fi
   9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9633 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9635 	CFLAGS="$xorg_testset_save_CFLAGS"
   9636 fi
   9637 
   9638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9641 	fi
   9642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9646 then :
   9647   printf %s "(cached) " >&6
   9648 else $as_nop
   9649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9650 /* end confdefs.h.  */
   9651 int i;
   9652 _ACEOF
   9653 if ac_fn_c_try_compile "$LINENO"
   9654 then :
   9655   xorg_cv_cc_flag_unused_command_line_argument=yes
   9656 else $as_nop
   9657   xorg_cv_cc_flag_unused_command_line_argument=no
   9658 fi
   9659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9660 fi
   9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9662 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9664 	CFLAGS="$xorg_testset_save_CFLAGS"
   9665 fi
   9666 
   9667 found="no"
   9668 
   9669 	if test $found = "no" ; then
   9670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9672 		fi
   9673 
   9674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9676 		fi
   9677 
   9678 		CFLAGS="$CFLAGS -Wsequence-point"
   9679 
   9680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9681 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9682 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9683 		if eval test \${$cacheid+y}
   9684 then :
   9685   printf %s "(cached) " >&6
   9686 else $as_nop
   9687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9688 /* end confdefs.h.  */
   9689 int i;
   9690 int
   9691 main (void)
   9692 {
   9693 
   9694   ;
   9695   return 0;
   9696 }
   9697 _ACEOF
   9698 if ac_fn_c_try_link "$LINENO"
   9699 then :
   9700   eval $cacheid=yes
   9701 else $as_nop
   9702   eval $cacheid=no
   9703 fi
   9704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9705     conftest$ac_exeext conftest.$ac_ext
   9706 fi
   9707 
   9708 
   9709 		CFLAGS="$xorg_testset_save_CFLAGS"
   9710 
   9711 		eval supported=\$$cacheid
   9712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9713 printf "%s\n" "$supported" >&6; }
   9714 		if test "$supported" = "yes" ; then
   9715 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9716 			found="yes"
   9717 		fi
   9718 	fi
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 xorg_testset_save_CFLAGS="$CFLAGS"
   9735 
   9736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9738 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9739 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9740 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9741 then :
   9742   printf %s "(cached) " >&6
   9743 else $as_nop
   9744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9745 /* end confdefs.h.  */
   9746 int i;
   9747 _ACEOF
   9748 if ac_fn_c_try_compile "$LINENO"
   9749 then :
   9750   xorg_cv_cc_flag_unknown_warning_option=yes
   9751 else $as_nop
   9752   xorg_cv_cc_flag_unknown_warning_option=no
   9753 fi
   9754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9755 fi
   9756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9757 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9759 	CFLAGS="$xorg_testset_save_CFLAGS"
   9760 fi
   9761 
   9762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9765 	fi
   9766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9768 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9769 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9770 then :
   9771   printf %s "(cached) " >&6
   9772 else $as_nop
   9773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9774 /* end confdefs.h.  */
   9775 int i;
   9776 _ACEOF
   9777 if ac_fn_c_try_compile "$LINENO"
   9778 then :
   9779   xorg_cv_cc_flag_unused_command_line_argument=yes
   9780 else $as_nop
   9781   xorg_cv_cc_flag_unused_command_line_argument=no
   9782 fi
   9783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9784 fi
   9785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9786 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9788 	CFLAGS="$xorg_testset_save_CFLAGS"
   9789 fi
   9790 
   9791 found="no"
   9792 
   9793 	if test $found = "no" ; then
   9794 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9796 		fi
   9797 
   9798 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9800 		fi
   9801 
   9802 		CFLAGS="$CFLAGS -Wreturn-type"
   9803 
   9804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9805 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9806 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9807 		if eval test \${$cacheid+y}
   9808 then :
   9809   printf %s "(cached) " >&6
   9810 else $as_nop
   9811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9812 /* end confdefs.h.  */
   9813 int i;
   9814 int
   9815 main (void)
   9816 {
   9817 
   9818   ;
   9819   return 0;
   9820 }
   9821 _ACEOF
   9822 if ac_fn_c_try_link "$LINENO"
   9823 then :
   9824   eval $cacheid=yes
   9825 else $as_nop
   9826   eval $cacheid=no
   9827 fi
   9828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9829     conftest$ac_exeext conftest.$ac_ext
   9830 fi
   9831 
   9832 
   9833 		CFLAGS="$xorg_testset_save_CFLAGS"
   9834 
   9835 		eval supported=\$$cacheid
   9836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9837 printf "%s\n" "$supported" >&6; }
   9838 		if test "$supported" = "yes" ; then
   9839 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9840 			found="yes"
   9841 		fi
   9842 	fi
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 xorg_testset_save_CFLAGS="$CFLAGS"
   9859 
   9860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9863 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9864 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9865 then :
   9866   printf %s "(cached) " >&6
   9867 else $as_nop
   9868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 _ACEOF
   9872 if ac_fn_c_try_compile "$LINENO"
   9873 then :
   9874   xorg_cv_cc_flag_unknown_warning_option=yes
   9875 else $as_nop
   9876   xorg_cv_cc_flag_unknown_warning_option=no
   9877 fi
   9878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9879 fi
   9880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9881 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9883 	CFLAGS="$xorg_testset_save_CFLAGS"
   9884 fi
   9885 
   9886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9889 	fi
   9890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9891 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9892 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9893 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9894 then :
   9895   printf %s "(cached) " >&6
   9896 else $as_nop
   9897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9898 /* end confdefs.h.  */
   9899 int i;
   9900 _ACEOF
   9901 if ac_fn_c_try_compile "$LINENO"
   9902 then :
   9903   xorg_cv_cc_flag_unused_command_line_argument=yes
   9904 else $as_nop
   9905   xorg_cv_cc_flag_unused_command_line_argument=no
   9906 fi
   9907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9908 fi
   9909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9910 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9912 	CFLAGS="$xorg_testset_save_CFLAGS"
   9913 fi
   9914 
   9915 found="no"
   9916 
   9917 	if test $found = "no" ; then
   9918 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9920 		fi
   9921 
   9922 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9924 		fi
   9925 
   9926 		CFLAGS="$CFLAGS -Wtrigraphs"
   9927 
   9928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9929 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9930 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9931 		if eval test \${$cacheid+y}
   9932 then :
   9933   printf %s "(cached) " >&6
   9934 else $as_nop
   9935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9936 /* end confdefs.h.  */
   9937 int i;
   9938 int
   9939 main (void)
   9940 {
   9941 
   9942   ;
   9943   return 0;
   9944 }
   9945 _ACEOF
   9946 if ac_fn_c_try_link "$LINENO"
   9947 then :
   9948   eval $cacheid=yes
   9949 else $as_nop
   9950   eval $cacheid=no
   9951 fi
   9952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9953     conftest$ac_exeext conftest.$ac_ext
   9954 fi
   9955 
   9956 
   9957 		CFLAGS="$xorg_testset_save_CFLAGS"
   9958 
   9959 		eval supported=\$$cacheid
   9960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9961 printf "%s\n" "$supported" >&6; }
   9962 		if test "$supported" = "yes" ; then
   9963 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9964 			found="yes"
   9965 		fi
   9966 	fi
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 xorg_testset_save_CFLAGS="$CFLAGS"
   9983 
   9984 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9987 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9988 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9989 then :
   9990   printf %s "(cached) " >&6
   9991 else $as_nop
   9992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9993 /* end confdefs.h.  */
   9994 int i;
   9995 _ACEOF
   9996 if ac_fn_c_try_compile "$LINENO"
   9997 then :
   9998   xorg_cv_cc_flag_unknown_warning_option=yes
   9999 else $as_nop
   10000   xorg_cv_cc_flag_unknown_warning_option=no
   10001 fi
   10002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10003 fi
   10004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10005 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10007 	CFLAGS="$xorg_testset_save_CFLAGS"
   10008 fi
   10009 
   10010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10013 	fi
   10014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10016 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10017 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10018 then :
   10019   printf %s "(cached) " >&6
   10020 else $as_nop
   10021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10022 /* end confdefs.h.  */
   10023 int i;
   10024 _ACEOF
   10025 if ac_fn_c_try_compile "$LINENO"
   10026 then :
   10027   xorg_cv_cc_flag_unused_command_line_argument=yes
   10028 else $as_nop
   10029   xorg_cv_cc_flag_unused_command_line_argument=no
   10030 fi
   10031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10032 fi
   10033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10034 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10035 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10036 	CFLAGS="$xorg_testset_save_CFLAGS"
   10037 fi
   10038 
   10039 found="no"
   10040 
   10041 	if test $found = "no" ; then
   10042 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10044 		fi
   10045 
   10046 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10048 		fi
   10049 
   10050 		CFLAGS="$CFLAGS -Warray-bounds"
   10051 
   10052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10053 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10054 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10055 		if eval test \${$cacheid+y}
   10056 then :
   10057   printf %s "(cached) " >&6
   10058 else $as_nop
   10059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10060 /* end confdefs.h.  */
   10061 int i;
   10062 int
   10063 main (void)
   10064 {
   10065 
   10066   ;
   10067   return 0;
   10068 }
   10069 _ACEOF
   10070 if ac_fn_c_try_link "$LINENO"
   10071 then :
   10072   eval $cacheid=yes
   10073 else $as_nop
   10074   eval $cacheid=no
   10075 fi
   10076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10077     conftest$ac_exeext conftest.$ac_ext
   10078 fi
   10079 
   10080 
   10081 		CFLAGS="$xorg_testset_save_CFLAGS"
   10082 
   10083 		eval supported=\$$cacheid
   10084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10085 printf "%s\n" "$supported" >&6; }
   10086 		if test "$supported" = "yes" ; then
   10087 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10088 			found="yes"
   10089 		fi
   10090 	fi
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 xorg_testset_save_CFLAGS="$CFLAGS"
   10107 
   10108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10113 then :
   10114   printf %s "(cached) " >&6
   10115 else $as_nop
   10116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10117 /* end confdefs.h.  */
   10118 int i;
   10119 _ACEOF
   10120 if ac_fn_c_try_compile "$LINENO"
   10121 then :
   10122   xorg_cv_cc_flag_unknown_warning_option=yes
   10123 else $as_nop
   10124   xorg_cv_cc_flag_unknown_warning_option=no
   10125 fi
   10126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10127 fi
   10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10129 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10131 	CFLAGS="$xorg_testset_save_CFLAGS"
   10132 fi
   10133 
   10134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10137 	fi
   10138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10139 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10140 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10141 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10142 then :
   10143   printf %s "(cached) " >&6
   10144 else $as_nop
   10145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10146 /* end confdefs.h.  */
   10147 int i;
   10148 _ACEOF
   10149 if ac_fn_c_try_compile "$LINENO"
   10150 then :
   10151   xorg_cv_cc_flag_unused_command_line_argument=yes
   10152 else $as_nop
   10153   xorg_cv_cc_flag_unused_command_line_argument=no
   10154 fi
   10155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10156 fi
   10157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10158 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10160 	CFLAGS="$xorg_testset_save_CFLAGS"
   10161 fi
   10162 
   10163 found="no"
   10164 
   10165 	if test $found = "no" ; then
   10166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10168 		fi
   10169 
   10170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10172 		fi
   10173 
   10174 		CFLAGS="$CFLAGS -Wwrite-strings"
   10175 
   10176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10177 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10178 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10179 		if eval test \${$cacheid+y}
   10180 then :
   10181   printf %s "(cached) " >&6
   10182 else $as_nop
   10183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10184 /* end confdefs.h.  */
   10185 int i;
   10186 int
   10187 main (void)
   10188 {
   10189 
   10190   ;
   10191   return 0;
   10192 }
   10193 _ACEOF
   10194 if ac_fn_c_try_link "$LINENO"
   10195 then :
   10196   eval $cacheid=yes
   10197 else $as_nop
   10198   eval $cacheid=no
   10199 fi
   10200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10201     conftest$ac_exeext conftest.$ac_ext
   10202 fi
   10203 
   10204 
   10205 		CFLAGS="$xorg_testset_save_CFLAGS"
   10206 
   10207 		eval supported=\$$cacheid
   10208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10209 printf "%s\n" "$supported" >&6; }
   10210 		if test "$supported" = "yes" ; then
   10211 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10212 			found="yes"
   10213 		fi
   10214 	fi
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 xorg_testset_save_CFLAGS="$CFLAGS"
   10231 
   10232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10235 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10236 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10237 then :
   10238   printf %s "(cached) " >&6
   10239 else $as_nop
   10240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10241 /* end confdefs.h.  */
   10242 int i;
   10243 _ACEOF
   10244 if ac_fn_c_try_compile "$LINENO"
   10245 then :
   10246   xorg_cv_cc_flag_unknown_warning_option=yes
   10247 else $as_nop
   10248   xorg_cv_cc_flag_unknown_warning_option=no
   10249 fi
   10250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10251 fi
   10252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10253 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10255 	CFLAGS="$xorg_testset_save_CFLAGS"
   10256 fi
   10257 
   10258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10261 	fi
   10262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10264 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10265 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10266 then :
   10267   printf %s "(cached) " >&6
   10268 else $as_nop
   10269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10270 /* end confdefs.h.  */
   10271 int i;
   10272 _ACEOF
   10273 if ac_fn_c_try_compile "$LINENO"
   10274 then :
   10275   xorg_cv_cc_flag_unused_command_line_argument=yes
   10276 else $as_nop
   10277   xorg_cv_cc_flag_unused_command_line_argument=no
   10278 fi
   10279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10280 fi
   10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10282 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10284 	CFLAGS="$xorg_testset_save_CFLAGS"
   10285 fi
   10286 
   10287 found="no"
   10288 
   10289 	if test $found = "no" ; then
   10290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10292 		fi
   10293 
   10294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10296 		fi
   10297 
   10298 		CFLAGS="$CFLAGS -Waddress"
   10299 
   10300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10301 printf %s "checking if $CC supports -Waddress... " >&6; }
   10302 		cacheid=xorg_cv_cc_flag__Waddress
   10303 		if eval test \${$cacheid+y}
   10304 then :
   10305   printf %s "(cached) " >&6
   10306 else $as_nop
   10307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10308 /* end confdefs.h.  */
   10309 int i;
   10310 int
   10311 main (void)
   10312 {
   10313 
   10314   ;
   10315   return 0;
   10316 }
   10317 _ACEOF
   10318 if ac_fn_c_try_link "$LINENO"
   10319 then :
   10320   eval $cacheid=yes
   10321 else $as_nop
   10322   eval $cacheid=no
   10323 fi
   10324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10325     conftest$ac_exeext conftest.$ac_ext
   10326 fi
   10327 
   10328 
   10329 		CFLAGS="$xorg_testset_save_CFLAGS"
   10330 
   10331 		eval supported=\$$cacheid
   10332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10333 printf "%s\n" "$supported" >&6; }
   10334 		if test "$supported" = "yes" ; then
   10335 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10336 			found="yes"
   10337 		fi
   10338 	fi
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 xorg_testset_save_CFLAGS="$CFLAGS"
   10355 
   10356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10358 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10359 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10360 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10361 then :
   10362   printf %s "(cached) " >&6
   10363 else $as_nop
   10364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10365 /* end confdefs.h.  */
   10366 int i;
   10367 _ACEOF
   10368 if ac_fn_c_try_compile "$LINENO"
   10369 then :
   10370   xorg_cv_cc_flag_unknown_warning_option=yes
   10371 else $as_nop
   10372   xorg_cv_cc_flag_unknown_warning_option=no
   10373 fi
   10374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10375 fi
   10376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10377 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10379 	CFLAGS="$xorg_testset_save_CFLAGS"
   10380 fi
   10381 
   10382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10385 	fi
   10386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10387 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10388 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10389 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10390 then :
   10391   printf %s "(cached) " >&6
   10392 else $as_nop
   10393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10394 /* end confdefs.h.  */
   10395 int i;
   10396 _ACEOF
   10397 if ac_fn_c_try_compile "$LINENO"
   10398 then :
   10399   xorg_cv_cc_flag_unused_command_line_argument=yes
   10400 else $as_nop
   10401   xorg_cv_cc_flag_unused_command_line_argument=no
   10402 fi
   10403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10404 fi
   10405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10406 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10408 	CFLAGS="$xorg_testset_save_CFLAGS"
   10409 fi
   10410 
   10411 found="no"
   10412 
   10413 	if test $found = "no" ; then
   10414 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 		fi
   10417 
   10418 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10420 		fi
   10421 
   10422 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10423 
   10424 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10425 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10426 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10427 		if eval test \${$cacheid+y}
   10428 then :
   10429   printf %s "(cached) " >&6
   10430 else $as_nop
   10431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10432 /* end confdefs.h.  */
   10433 int i;
   10434 int
   10435 main (void)
   10436 {
   10437 
   10438   ;
   10439   return 0;
   10440 }
   10441 _ACEOF
   10442 if ac_fn_c_try_link "$LINENO"
   10443 then :
   10444   eval $cacheid=yes
   10445 else $as_nop
   10446   eval $cacheid=no
   10447 fi
   10448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10449     conftest$ac_exeext conftest.$ac_ext
   10450 fi
   10451 
   10452 
   10453 		CFLAGS="$xorg_testset_save_CFLAGS"
   10454 
   10455 		eval supported=\$$cacheid
   10456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10457 printf "%s\n" "$supported" >&6; }
   10458 		if test "$supported" = "yes" ; then
   10459 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10460 			found="yes"
   10461 		fi
   10462 	fi
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 xorg_testset_save_CFLAGS="$CFLAGS"
   10479 
   10480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10482 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10483 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10484 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10485 then :
   10486   printf %s "(cached) " >&6
   10487 else $as_nop
   10488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10489 /* end confdefs.h.  */
   10490 int i;
   10491 _ACEOF
   10492 if ac_fn_c_try_compile "$LINENO"
   10493 then :
   10494   xorg_cv_cc_flag_unknown_warning_option=yes
   10495 else $as_nop
   10496   xorg_cv_cc_flag_unknown_warning_option=no
   10497 fi
   10498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10499 fi
   10500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10501 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10503 	CFLAGS="$xorg_testset_save_CFLAGS"
   10504 fi
   10505 
   10506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10509 	fi
   10510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10511 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10512 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10513 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10514 then :
   10515   printf %s "(cached) " >&6
   10516 else $as_nop
   10517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10518 /* end confdefs.h.  */
   10519 int i;
   10520 _ACEOF
   10521 if ac_fn_c_try_compile "$LINENO"
   10522 then :
   10523   xorg_cv_cc_flag_unused_command_line_argument=yes
   10524 else $as_nop
   10525   xorg_cv_cc_flag_unused_command_line_argument=no
   10526 fi
   10527 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10528 fi
   10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10530 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10532 	CFLAGS="$xorg_testset_save_CFLAGS"
   10533 fi
   10534 
   10535 found="no"
   10536 
   10537 	if test $found = "no" ; then
   10538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10540 		fi
   10541 
   10542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10544 		fi
   10545 
   10546 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10547 
   10548 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10549 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10550 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10551 		if eval test \${$cacheid+y}
   10552 then :
   10553   printf %s "(cached) " >&6
   10554 else $as_nop
   10555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10556 /* end confdefs.h.  */
   10557 int i;
   10558 int
   10559 main (void)
   10560 {
   10561 
   10562   ;
   10563   return 0;
   10564 }
   10565 _ACEOF
   10566 if ac_fn_c_try_link "$LINENO"
   10567 then :
   10568   eval $cacheid=yes
   10569 else $as_nop
   10570   eval $cacheid=no
   10571 fi
   10572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10573     conftest$ac_exeext conftest.$ac_ext
   10574 fi
   10575 
   10576 
   10577 		CFLAGS="$xorg_testset_save_CFLAGS"
   10578 
   10579 		eval supported=\$$cacheid
   10580 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10581 printf "%s\n" "$supported" >&6; }
   10582 		if test "$supported" = "yes" ; then
   10583 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10584 			found="yes"
   10585 		fi
   10586 	fi
   10587 
   10588 
   10589 fi
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 		CWARNFLAGS="$BASE_CFLAGS"
   10598 		if  test "x$GCC" = xyes ; then
   10599 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10600 		fi
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 # Check whether --enable-strict-compilation was given.
   10610 if test ${enable_strict_compilation+y}
   10611 then :
   10612   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10613 else $as_nop
   10614   STRICT_COMPILE=no
   10615 fi
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 STRICT_CFLAGS=""
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 xorg_testset_save_CFLAGS="$CFLAGS"
   10637 
   10638 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10639 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10641 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10642 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10643 then :
   10644   printf %s "(cached) " >&6
   10645 else $as_nop
   10646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10647 /* end confdefs.h.  */
   10648 int i;
   10649 _ACEOF
   10650 if ac_fn_c_try_compile "$LINENO"
   10651 then :
   10652   xorg_cv_cc_flag_unknown_warning_option=yes
   10653 else $as_nop
   10654   xorg_cv_cc_flag_unknown_warning_option=no
   10655 fi
   10656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10657 fi
   10658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10659 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10660 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10661 	CFLAGS="$xorg_testset_save_CFLAGS"
   10662 fi
   10663 
   10664 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10665 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10666 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10667 	fi
   10668 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10669 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10670 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10671 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10672 then :
   10673   printf %s "(cached) " >&6
   10674 else $as_nop
   10675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10676 /* end confdefs.h.  */
   10677 int i;
   10678 _ACEOF
   10679 if ac_fn_c_try_compile "$LINENO"
   10680 then :
   10681   xorg_cv_cc_flag_unused_command_line_argument=yes
   10682 else $as_nop
   10683   xorg_cv_cc_flag_unused_command_line_argument=no
   10684 fi
   10685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10686 fi
   10687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10688 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10690 	CFLAGS="$xorg_testset_save_CFLAGS"
   10691 fi
   10692 
   10693 found="no"
   10694 
   10695 	if test $found = "no" ; then
   10696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10698 		fi
   10699 
   10700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10702 		fi
   10703 
   10704 		CFLAGS="$CFLAGS -pedantic"
   10705 
   10706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10707 printf %s "checking if $CC supports -pedantic... " >&6; }
   10708 		cacheid=xorg_cv_cc_flag__pedantic
   10709 		if eval test \${$cacheid+y}
   10710 then :
   10711   printf %s "(cached) " >&6
   10712 else $as_nop
   10713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10714 /* end confdefs.h.  */
   10715 int i;
   10716 int
   10717 main (void)
   10718 {
   10719 
   10720   ;
   10721   return 0;
   10722 }
   10723 _ACEOF
   10724 if ac_fn_c_try_link "$LINENO"
   10725 then :
   10726   eval $cacheid=yes
   10727 else $as_nop
   10728   eval $cacheid=no
   10729 fi
   10730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10731     conftest$ac_exeext conftest.$ac_ext
   10732 fi
   10733 
   10734 
   10735 		CFLAGS="$xorg_testset_save_CFLAGS"
   10736 
   10737 		eval supported=\$$cacheid
   10738 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10739 printf "%s\n" "$supported" >&6; }
   10740 		if test "$supported" = "yes" ; then
   10741 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10742 			found="yes"
   10743 		fi
   10744 	fi
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 xorg_testset_save_CFLAGS="$CFLAGS"
   10761 
   10762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10764 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10765 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10766 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10767 then :
   10768   printf %s "(cached) " >&6
   10769 else $as_nop
   10770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10771 /* end confdefs.h.  */
   10772 int i;
   10773 _ACEOF
   10774 if ac_fn_c_try_compile "$LINENO"
   10775 then :
   10776   xorg_cv_cc_flag_unknown_warning_option=yes
   10777 else $as_nop
   10778   xorg_cv_cc_flag_unknown_warning_option=no
   10779 fi
   10780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10781 fi
   10782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10783 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10785 	CFLAGS="$xorg_testset_save_CFLAGS"
   10786 fi
   10787 
   10788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10791 	fi
   10792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10794 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10795 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10796 then :
   10797   printf %s "(cached) " >&6
   10798 else $as_nop
   10799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10800 /* end confdefs.h.  */
   10801 int i;
   10802 _ACEOF
   10803 if ac_fn_c_try_compile "$LINENO"
   10804 then :
   10805   xorg_cv_cc_flag_unused_command_line_argument=yes
   10806 else $as_nop
   10807   xorg_cv_cc_flag_unused_command_line_argument=no
   10808 fi
   10809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10810 fi
   10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10812 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10813 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10814 	CFLAGS="$xorg_testset_save_CFLAGS"
   10815 fi
   10816 
   10817 found="no"
   10818 
   10819 	if test $found = "no" ; then
   10820 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10822 		fi
   10823 
   10824 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10826 		fi
   10827 
   10828 		CFLAGS="$CFLAGS -Werror"
   10829 
   10830 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10831 printf %s "checking if $CC supports -Werror... " >&6; }
   10832 		cacheid=xorg_cv_cc_flag__Werror
   10833 		if eval test \${$cacheid+y}
   10834 then :
   10835   printf %s "(cached) " >&6
   10836 else $as_nop
   10837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10838 /* end confdefs.h.  */
   10839 int i;
   10840 int
   10841 main (void)
   10842 {
   10843 
   10844   ;
   10845   return 0;
   10846 }
   10847 _ACEOF
   10848 if ac_fn_c_try_link "$LINENO"
   10849 then :
   10850   eval $cacheid=yes
   10851 else $as_nop
   10852   eval $cacheid=no
   10853 fi
   10854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10855     conftest$ac_exeext conftest.$ac_ext
   10856 fi
   10857 
   10858 
   10859 		CFLAGS="$xorg_testset_save_CFLAGS"
   10860 
   10861 		eval supported=\$$cacheid
   10862 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10863 printf "%s\n" "$supported" >&6; }
   10864 		if test "$supported" = "yes" ; then
   10865 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10866 			found="yes"
   10867 		fi
   10868 	fi
   10869 
   10870 	if test $found = "no" ; then
   10871 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10873 		fi
   10874 
   10875 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10877 		fi
   10878 
   10879 		CFLAGS="$CFLAGS -errwarn"
   10880 
   10881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10882 printf %s "checking if $CC supports -errwarn... " >&6; }
   10883 		cacheid=xorg_cv_cc_flag__errwarn
   10884 		if eval test \${$cacheid+y}
   10885 then :
   10886   printf %s "(cached) " >&6
   10887 else $as_nop
   10888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10889 /* end confdefs.h.  */
   10890 int i;
   10891 int
   10892 main (void)
   10893 {
   10894 
   10895   ;
   10896   return 0;
   10897 }
   10898 _ACEOF
   10899 if ac_fn_c_try_link "$LINENO"
   10900 then :
   10901   eval $cacheid=yes
   10902 else $as_nop
   10903   eval $cacheid=no
   10904 fi
   10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10906     conftest$ac_exeext conftest.$ac_ext
   10907 fi
   10908 
   10909 
   10910 		CFLAGS="$xorg_testset_save_CFLAGS"
   10911 
   10912 		eval supported=\$$cacheid
   10913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10914 printf "%s\n" "$supported" >&6; }
   10915 		if test "$supported" = "yes" ; then
   10916 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10917 			found="yes"
   10918 		fi
   10919 	fi
   10920 
   10921 
   10922 
   10923 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10924 # activate it with -Werror, so we add it here explicitly.
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 xorg_testset_save_CFLAGS="$CFLAGS"
   10939 
   10940 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10941 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10942 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10943 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10944 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10945 then :
   10946   printf %s "(cached) " >&6
   10947 else $as_nop
   10948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10949 /* end confdefs.h.  */
   10950 int i;
   10951 _ACEOF
   10952 if ac_fn_c_try_compile "$LINENO"
   10953 then :
   10954   xorg_cv_cc_flag_unknown_warning_option=yes
   10955 else $as_nop
   10956   xorg_cv_cc_flag_unknown_warning_option=no
   10957 fi
   10958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10959 fi
   10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10963 	CFLAGS="$xorg_testset_save_CFLAGS"
   10964 fi
   10965 
   10966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10969 	fi
   10970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10974 then :
   10975   printf %s "(cached) " >&6
   10976 else $as_nop
   10977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10978 /* end confdefs.h.  */
   10979 int i;
   10980 _ACEOF
   10981 if ac_fn_c_try_compile "$LINENO"
   10982 then :
   10983   xorg_cv_cc_flag_unused_command_line_argument=yes
   10984 else $as_nop
   10985   xorg_cv_cc_flag_unused_command_line_argument=no
   10986 fi
   10987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10988 fi
   10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10990 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10991 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10992 	CFLAGS="$xorg_testset_save_CFLAGS"
   10993 fi
   10994 
   10995 found="no"
   10996 
   10997 	if test $found = "no" ; then
   10998 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11000 		fi
   11001 
   11002 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11004 		fi
   11005 
   11006 		CFLAGS="$CFLAGS -Werror=attributes"
   11007 
   11008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11009 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11010 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11011 		if eval test \${$cacheid+y}
   11012 then :
   11013   printf %s "(cached) " >&6
   11014 else $as_nop
   11015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11016 /* end confdefs.h.  */
   11017 int i;
   11018 int
   11019 main (void)
   11020 {
   11021 
   11022   ;
   11023   return 0;
   11024 }
   11025 _ACEOF
   11026 if ac_fn_c_try_link "$LINENO"
   11027 then :
   11028   eval $cacheid=yes
   11029 else $as_nop
   11030   eval $cacheid=no
   11031 fi
   11032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11033     conftest$ac_exeext conftest.$ac_ext
   11034 fi
   11035 
   11036 
   11037 		CFLAGS="$xorg_testset_save_CFLAGS"
   11038 
   11039 		eval supported=\$$cacheid
   11040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11041 printf "%s\n" "$supported" >&6; }
   11042 		if test "$supported" = "yes" ; then
   11043 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11044 			found="yes"
   11045 		fi
   11046 	fi
   11047 
   11048 
   11049 
   11050 if test "x$STRICT_COMPILE" = "xyes"; then
   11051     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11052     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11053 fi
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 cat >>confdefs.h <<_ACEOF
   11061 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11062 _ACEOF
   11063 
   11064 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11065 	if test "x$PVM" = "x"; then
   11066 		PVM="0"
   11067 	fi
   11068 
   11069 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11070 
   11071 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11072 	if test "x$PVP" = "x"; then
   11073 		PVP="0"
   11074 	fi
   11075 
   11076 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11077 
   11078 
   11079 
   11080 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11081 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11082 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11083 touch \$(top_srcdir)/ChangeLog; \
   11084 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11085 
   11086 
   11087 
   11088 
   11089 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11090 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11091 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11092 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11093 touch \$(top_srcdir)/INSTALL; \
   11094 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 case $host_os in
   11102     solaris*)
   11103         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11104         # check for a man page file found in later versions that use
   11105         # traditional section numbers instead
   11106         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11107 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11108 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11109 then :
   11110   printf %s "(cached) " >&6
   11111 else $as_nop
   11112   test "$cross_compiling" = yes &&
   11113   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11114 if test -r "/usr/share/man/man7/attributes.7"; then
   11115   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11116 else
   11117   ac_cv_file__usr_share_man_man7_attributes_7=no
   11118 fi
   11119 fi
   11120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11121 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11122 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11123 then :
   11124   SYSV_MAN_SECTIONS=false
   11125 else $as_nop
   11126   SYSV_MAN_SECTIONS=true
   11127 fi
   11128 
   11129         ;;
   11130     *) SYSV_MAN_SECTIONS=false ;;
   11131 esac
   11132 
   11133 if test x$APP_MAN_SUFFIX = x    ; then
   11134     APP_MAN_SUFFIX=1
   11135 fi
   11136 if test x$APP_MAN_DIR = x    ; then
   11137     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11138 fi
   11139 
   11140 if test x$LIB_MAN_SUFFIX = x    ; then
   11141     LIB_MAN_SUFFIX=3
   11142 fi
   11143 if test x$LIB_MAN_DIR = x    ; then
   11144     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11145 fi
   11146 
   11147 if test x$FILE_MAN_SUFFIX = x    ; then
   11148     case $SYSV_MAN_SECTIONS in
   11149 	true)				FILE_MAN_SUFFIX=4  ;;
   11150 	*)				FILE_MAN_SUFFIX=5  ;;
   11151     esac
   11152 fi
   11153 if test x$FILE_MAN_DIR = x    ; then
   11154     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11155 fi
   11156 
   11157 if test x$MISC_MAN_SUFFIX = x    ; then
   11158     case $SYSV_MAN_SECTIONS in
   11159 	true)				MISC_MAN_SUFFIX=5  ;;
   11160 	*)				MISC_MAN_SUFFIX=7  ;;
   11161     esac
   11162 fi
   11163 if test x$MISC_MAN_DIR = x    ; then
   11164     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11165 fi
   11166 
   11167 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11168     case $SYSV_MAN_SECTIONS in
   11169 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11170 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11171     esac
   11172 fi
   11173 if test x$DRIVER_MAN_DIR = x    ; then
   11174     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11175 fi
   11176 
   11177 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11178     case $SYSV_MAN_SECTIONS in
   11179 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11180 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11181     esac
   11182 fi
   11183 if test x$ADMIN_MAN_DIR = x    ; then
   11184     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11185 fi
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 XORG_MAN_PAGE="X Version 11"
   11202 
   11203 MAN_SUBSTS="\
   11204 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11205 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11206 	-e 's|__xservername__|Xorg|g' \
   11207 	-e 's|__xconfigfile__|xorg.conf|g' \
   11208 	-e 's|__projectroot__|\$(prefix)|g' \
   11209 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11210 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11211 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11212 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11213 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11214 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11215 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11216 
   11217 
   11218 
   11219 # Check whether --enable-silent-rules was given.
   11220 if test ${enable_silent_rules+y}
   11221 then :
   11222   enableval=$enable_silent_rules;
   11223 fi
   11224 
   11225 case $enable_silent_rules in # (((
   11226   yes) AM_DEFAULT_VERBOSITY=0;;
   11227    no) AM_DEFAULT_VERBOSITY=1;;
   11228     *) AM_DEFAULT_VERBOSITY=0;;
   11229 esac
   11230 am_make=${MAKE-make}
   11231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11232 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11233 if test ${am_cv_make_support_nested_variables+y}
   11234 then :
   11235   printf %s "(cached) " >&6
   11236 else $as_nop
   11237   if printf "%s\n" 'TRUE=$(BAR$(V))
   11238 BAR0=false
   11239 BAR1=true
   11240 V=1
   11241 am__doit:
   11242 	@$(TRUE)
   11243 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11244   am_cv_make_support_nested_variables=yes
   11245 else
   11246   am_cv_make_support_nested_variables=no
   11247 fi
   11248 fi
   11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11250 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11251 if test $am_cv_make_support_nested_variables = yes; then
   11252     AM_V='$(V)'
   11253   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11254 else
   11255   AM_V=$AM_DEFAULT_VERBOSITY
   11256   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11257 fi
   11258 AM_BACKSLASH='\'
   11259 
   11260 
   11261 
   11262 DRIVER_NAME=vmmouse
   11263 
   11264 
   11265 # Checks for programs.
   11266 # Check whether --enable-static was given.
   11267 if test ${enable_static+y}
   11268 then :
   11269   enableval=$enable_static; p=${PACKAGE-default}
   11270     case $enableval in
   11271     yes) enable_static=yes ;;
   11272     no) enable_static=no ;;
   11273     *)
   11274      enable_static=no
   11275       # Look at the argument we got.  We use all the common list separators.
   11276       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11277       for pkg in $enableval; do
   11278 	IFS=$lt_save_ifs
   11279 	if test "X$pkg" = "X$p"; then
   11280 	  enable_static=yes
   11281 	fi
   11282       done
   11283       IFS=$lt_save_ifs
   11284       ;;
   11285     esac
   11286 else $as_nop
   11287   enable_static=no
   11288 fi
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 case `pwd` in
   11299   *\ * | *\	*)
   11300     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11301 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11302 esac
   11303 
   11304 
   11305 
   11306 macro_version='2.4.7'
   11307 macro_revision='2.4.7'
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 ltmain=$ac_aux_dir/ltmain.sh
   11323 
   11324 # Backslashify metacharacters that are still active within
   11325 # double-quoted strings.
   11326 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11327 
   11328 # Same as above, but do not quote variable references.
   11329 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11330 
   11331 # Sed substitution to delay expansion of an escaped shell variable in a
   11332 # double_quote_subst'ed string.
   11333 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11334 
   11335 # Sed substitution to delay expansion of an escaped single quote.
   11336 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11337 
   11338 # Sed substitution to avoid accidental globbing in evaled expressions
   11339 no_glob_subst='s/\*/\\\*/g'
   11340 
   11341 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11342 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11343 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11344 
   11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11346 printf %s "checking how to print strings... " >&6; }
   11347 # Test print first, because it will be a builtin if present.
   11348 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11349    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11350   ECHO='print -r --'
   11351 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11352   ECHO='printf %s\n'
   11353 else
   11354   # Use this function as a fallback that always works.
   11355   func_fallback_echo ()
   11356   {
   11357     eval 'cat <<_LTECHO_EOF
   11358 $1
   11359 _LTECHO_EOF'
   11360   }
   11361   ECHO='func_fallback_echo'
   11362 fi
   11363 
   11364 # func_echo_all arg...
   11365 # Invoke $ECHO with all args, space-separated.
   11366 func_echo_all ()
   11367 {
   11368     $ECHO ""
   11369 }
   11370 
   11371 case $ECHO in
   11372   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11373 printf "%s\n" "printf" >&6; } ;;
   11374   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11375 printf "%s\n" "print -r" >&6; } ;;
   11376   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11377 printf "%s\n" "cat" >&6; } ;;
   11378 esac
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11394 printf %s "checking for a sed that does not truncate output... " >&6; }
   11395 if test ${ac_cv_path_SED+y}
   11396 then :
   11397   printf %s "(cached) " >&6
   11398 else $as_nop
   11399             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11400      for ac_i in 1 2 3 4 5 6 7; do
   11401        ac_script="$ac_script$as_nl$ac_script"
   11402      done
   11403      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11404      { ac_script=; unset ac_script;}
   11405      if test -z "$SED"; then
   11406   ac_path_SED_found=false
   11407   # Loop through the user's path and test for each of PROGNAME-LIST
   11408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11409 for as_dir in $PATH
   11410 do
   11411   IFS=$as_save_IFS
   11412   case $as_dir in #(((
   11413     '') as_dir=./ ;;
   11414     */) ;;
   11415     *) as_dir=$as_dir/ ;;
   11416   esac
   11417     for ac_prog in sed gsed
   11418    do
   11419     for ac_exec_ext in '' $ac_executable_extensions; do
   11420       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11421       as_fn_executable_p "$ac_path_SED" || continue
   11422 # Check for GNU ac_path_SED and select it if it is found.
   11423   # Check for GNU $ac_path_SED
   11424 case `"$ac_path_SED" --version 2>&1` in
   11425 *GNU*)
   11426   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11427 *)
   11428   ac_count=0
   11429   printf %s 0123456789 >"conftest.in"
   11430   while :
   11431   do
   11432     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11433     mv "conftest.tmp" "conftest.in"
   11434     cp "conftest.in" "conftest.nl"
   11435     printf "%s\n" '' >> "conftest.nl"
   11436     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11437     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11438     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11439     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11440       # Best one so far, save it but keep looking for a better one
   11441       ac_cv_path_SED="$ac_path_SED"
   11442       ac_path_SED_max=$ac_count
   11443     fi
   11444     # 10*(2^10) chars as input seems more than enough
   11445     test $ac_count -gt 10 && break
   11446   done
   11447   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11448 esac
   11449 
   11450       $ac_path_SED_found && break 3
   11451     done
   11452   done
   11453   done
   11454 IFS=$as_save_IFS
   11455   if test -z "$ac_cv_path_SED"; then
   11456     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11457   fi
   11458 else
   11459   ac_cv_path_SED=$SED
   11460 fi
   11461 
   11462 fi
   11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11464 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11465  SED="$ac_cv_path_SED"
   11466   rm -f conftest.sed
   11467 
   11468 test -z "$SED" && SED=sed
   11469 Xsed="$SED -e 1s/^X//"
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11482 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11483 if test ${ac_cv_path_GREP+y}
   11484 then :
   11485   printf %s "(cached) " >&6
   11486 else $as_nop
   11487   if test -z "$GREP"; then
   11488   ac_path_GREP_found=false
   11489   # Loop through the user's path and test for each of PROGNAME-LIST
   11490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11491 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11492 do
   11493   IFS=$as_save_IFS
   11494   case $as_dir in #(((
   11495     '') as_dir=./ ;;
   11496     */) ;;
   11497     *) as_dir=$as_dir/ ;;
   11498   esac
   11499     for ac_prog in grep ggrep
   11500    do
   11501     for ac_exec_ext in '' $ac_executable_extensions; do
   11502       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11503       as_fn_executable_p "$ac_path_GREP" || continue
   11504 # Check for GNU ac_path_GREP and select it if it is found.
   11505   # Check for GNU $ac_path_GREP
   11506 case `"$ac_path_GREP" --version 2>&1` in
   11507 *GNU*)
   11508   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11509 *)
   11510   ac_count=0
   11511   printf %s 0123456789 >"conftest.in"
   11512   while :
   11513   do
   11514     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11515     mv "conftest.tmp" "conftest.in"
   11516     cp "conftest.in" "conftest.nl"
   11517     printf "%s\n" 'GREP' >> "conftest.nl"
   11518     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11519     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11520     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11521     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11522       # Best one so far, save it but keep looking for a better one
   11523       ac_cv_path_GREP="$ac_path_GREP"
   11524       ac_path_GREP_max=$ac_count
   11525     fi
   11526     # 10*(2^10) chars as input seems more than enough
   11527     test $ac_count -gt 10 && break
   11528   done
   11529   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11530 esac
   11531 
   11532       $ac_path_GREP_found && break 3
   11533     done
   11534   done
   11535   done
   11536 IFS=$as_save_IFS
   11537   if test -z "$ac_cv_path_GREP"; then
   11538     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11539   fi
   11540 else
   11541   ac_cv_path_GREP=$GREP
   11542 fi
   11543 
   11544 fi
   11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11546 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11547  GREP="$ac_cv_path_GREP"
   11548 
   11549 
   11550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11551 printf %s "checking for egrep... " >&6; }
   11552 if test ${ac_cv_path_EGREP+y}
   11553 then :
   11554   printf %s "(cached) " >&6
   11555 else $as_nop
   11556   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11557    then ac_cv_path_EGREP="$GREP -E"
   11558    else
   11559      if test -z "$EGREP"; then
   11560   ac_path_EGREP_found=false
   11561   # Loop through the user's path and test for each of PROGNAME-LIST
   11562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11564 do
   11565   IFS=$as_save_IFS
   11566   case $as_dir in #(((
   11567     '') as_dir=./ ;;
   11568     */) ;;
   11569     *) as_dir=$as_dir/ ;;
   11570   esac
   11571     for ac_prog in egrep
   11572    do
   11573     for ac_exec_ext in '' $ac_executable_extensions; do
   11574       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11575       as_fn_executable_p "$ac_path_EGREP" || continue
   11576 # Check for GNU ac_path_EGREP and select it if it is found.
   11577   # Check for GNU $ac_path_EGREP
   11578 case `"$ac_path_EGREP" --version 2>&1` in
   11579 *GNU*)
   11580   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11581 *)
   11582   ac_count=0
   11583   printf %s 0123456789 >"conftest.in"
   11584   while :
   11585   do
   11586     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11587     mv "conftest.tmp" "conftest.in"
   11588     cp "conftest.in" "conftest.nl"
   11589     printf "%s\n" 'EGREP' >> "conftest.nl"
   11590     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11591     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11592     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11593     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11594       # Best one so far, save it but keep looking for a better one
   11595       ac_cv_path_EGREP="$ac_path_EGREP"
   11596       ac_path_EGREP_max=$ac_count
   11597     fi
   11598     # 10*(2^10) chars as input seems more than enough
   11599     test $ac_count -gt 10 && break
   11600   done
   11601   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11602 esac
   11603 
   11604       $ac_path_EGREP_found && break 3
   11605     done
   11606   done
   11607   done
   11608 IFS=$as_save_IFS
   11609   if test -z "$ac_cv_path_EGREP"; then
   11610     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11611   fi
   11612 else
   11613   ac_cv_path_EGREP=$EGREP
   11614 fi
   11615 
   11616    fi
   11617 fi
   11618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11619 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11620  EGREP="$ac_cv_path_EGREP"
   11621 
   11622 
   11623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11624 printf %s "checking for fgrep... " >&6; }
   11625 if test ${ac_cv_path_FGREP+y}
   11626 then :
   11627   printf %s "(cached) " >&6
   11628 else $as_nop
   11629   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11630    then ac_cv_path_FGREP="$GREP -F"
   11631    else
   11632      if test -z "$FGREP"; then
   11633   ac_path_FGREP_found=false
   11634   # Loop through the user's path and test for each of PROGNAME-LIST
   11635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11637 do
   11638   IFS=$as_save_IFS
   11639   case $as_dir in #(((
   11640     '') as_dir=./ ;;
   11641     */) ;;
   11642     *) as_dir=$as_dir/ ;;
   11643   esac
   11644     for ac_prog in fgrep
   11645    do
   11646     for ac_exec_ext in '' $ac_executable_extensions; do
   11647       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11648       as_fn_executable_p "$ac_path_FGREP" || continue
   11649 # Check for GNU ac_path_FGREP and select it if it is found.
   11650   # Check for GNU $ac_path_FGREP
   11651 case `"$ac_path_FGREP" --version 2>&1` in
   11652 *GNU*)
   11653   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11654 *)
   11655   ac_count=0
   11656   printf %s 0123456789 >"conftest.in"
   11657   while :
   11658   do
   11659     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11660     mv "conftest.tmp" "conftest.in"
   11661     cp "conftest.in" "conftest.nl"
   11662     printf "%s\n" 'FGREP' >> "conftest.nl"
   11663     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11664     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11665     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11666     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11667       # Best one so far, save it but keep looking for a better one
   11668       ac_cv_path_FGREP="$ac_path_FGREP"
   11669       ac_path_FGREP_max=$ac_count
   11670     fi
   11671     # 10*(2^10) chars as input seems more than enough
   11672     test $ac_count -gt 10 && break
   11673   done
   11674   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11675 esac
   11676 
   11677       $ac_path_FGREP_found && break 3
   11678     done
   11679   done
   11680   done
   11681 IFS=$as_save_IFS
   11682   if test -z "$ac_cv_path_FGREP"; then
   11683     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11684   fi
   11685 else
   11686   ac_cv_path_FGREP=$FGREP
   11687 fi
   11688 
   11689    fi
   11690 fi
   11691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11692 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   11693  FGREP="$ac_cv_path_FGREP"
   11694 
   11695 
   11696 test -z "$GREP" && GREP=grep
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 # Check whether --with-gnu-ld was given.
   11717 if test ${with_gnu_ld+y}
   11718 then :
   11719   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11720 else $as_nop
   11721   with_gnu_ld=no
   11722 fi
   11723 
   11724 ac_prog=ld
   11725 if test yes = "$GCC"; then
   11726   # Check if gcc -print-prog-name=ld gives a path.
   11727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11728 printf %s "checking for ld used by $CC... " >&6; }
   11729   case $host in
   11730   *-*-mingw*)
   11731     # gcc leaves a trailing carriage return, which upsets mingw
   11732     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11733   *)
   11734     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11735   esac
   11736   case $ac_prog in
   11737     # Accept absolute paths.
   11738     [\\/]* | ?:[\\/]*)
   11739       re_direlt='/[^/][^/]*/\.\./'
   11740       # Canonicalize the pathname of ld
   11741       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11742       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11743 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11744       done
   11745       test -z "$LD" && LD=$ac_prog
   11746       ;;
   11747   "")
   11748     # If it fails, then pretend we aren't using GCC.
   11749     ac_prog=ld
   11750     ;;
   11751   *)
   11752     # If it is relative, then search for the first ld in PATH.
   11753     with_gnu_ld=unknown
   11754     ;;
   11755   esac
   11756 elif test yes = "$with_gnu_ld"; then
   11757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11758 printf %s "checking for GNU ld... " >&6; }
   11759 else
   11760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11761 printf %s "checking for non-GNU ld... " >&6; }
   11762 fi
   11763 if test ${lt_cv_path_LD+y}
   11764 then :
   11765   printf %s "(cached) " >&6
   11766 else $as_nop
   11767   if test -z "$LD"; then
   11768   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11769   for ac_dir in $PATH; do
   11770     IFS=$lt_save_ifs
   11771     test -z "$ac_dir" && ac_dir=.
   11772     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11773       lt_cv_path_LD=$ac_dir/$ac_prog
   11774       # Check to see if the program is GNU ld.  I'd rather use --version,
   11775       # but apparently some variants of GNU ld only accept -v.
   11776       # Break only if it was the GNU/non-GNU ld that we prefer.
   11777       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11778       *GNU* | *'with BFD'*)
   11779 	test no != "$with_gnu_ld" && break
   11780 	;;
   11781       *)
   11782 	test yes != "$with_gnu_ld" && break
   11783 	;;
   11784       esac
   11785     fi
   11786   done
   11787   IFS=$lt_save_ifs
   11788 else
   11789   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11790 fi
   11791 fi
   11792 
   11793 LD=$lt_cv_path_LD
   11794 if test -n "$LD"; then
   11795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11796 printf "%s\n" "$LD" >&6; }
   11797 else
   11798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11799 printf "%s\n" "no" >&6; }
   11800 fi
   11801 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11803 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   11804 if test ${lt_cv_prog_gnu_ld+y}
   11805 then :
   11806   printf %s "(cached) " >&6
   11807 else $as_nop
   11808   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11809 case `$LD -v 2>&1 </dev/null` in
   11810 *GNU* | *'with BFD'*)
   11811   lt_cv_prog_gnu_ld=yes
   11812   ;;
   11813 *)
   11814   lt_cv_prog_gnu_ld=no
   11815   ;;
   11816 esac
   11817 fi
   11818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11819 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   11820 with_gnu_ld=$lt_cv_prog_gnu_ld
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11831 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11832 if test ${lt_cv_path_NM+y}
   11833 then :
   11834   printf %s "(cached) " >&6
   11835 else $as_nop
   11836   if test -n "$NM"; then
   11837   # Let the user override the test.
   11838   lt_cv_path_NM=$NM
   11839 else
   11840   lt_nm_to_check=${ac_tool_prefix}nm
   11841   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11842     lt_nm_to_check="$lt_nm_to_check nm"
   11843   fi
   11844   for lt_tmp_nm in $lt_nm_to_check; do
   11845     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11846     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11847       IFS=$lt_save_ifs
   11848       test -z "$ac_dir" && ac_dir=.
   11849       tmp_nm=$ac_dir/$lt_tmp_nm
   11850       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11851 	# Check to see if the nm accepts a BSD-compat flag.
   11852 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11853 	#   nm: unknown option "B" ignored
   11854 	# Tru64's nm complains that /dev/null is an invalid object file
   11855 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11856 	case $build_os in
   11857 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11858 	*) lt_bad_file=/dev/null ;;
   11859 	esac
   11860 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   11861 	*$lt_bad_file* | *'Invalid file or object type'*)
   11862 	  lt_cv_path_NM="$tmp_nm -B"
   11863 	  break 2
   11864 	  ;;
   11865 	*)
   11866 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   11867 	  */dev/null*)
   11868 	    lt_cv_path_NM="$tmp_nm -p"
   11869 	    break 2
   11870 	    ;;
   11871 	  *)
   11872 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11873 	    continue # so that we can try to find one that supports BSD flags
   11874 	    ;;
   11875 	  esac
   11876 	  ;;
   11877 	esac
   11878       fi
   11879     done
   11880     IFS=$lt_save_ifs
   11881   done
   11882   : ${lt_cv_path_NM=no}
   11883 fi
   11884 fi
   11885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11886 printf "%s\n" "$lt_cv_path_NM" >&6; }
   11887 if test no != "$lt_cv_path_NM"; then
   11888   NM=$lt_cv_path_NM
   11889 else
   11890   # Didn't find any BSD compatible name lister, look for dumpbin.
   11891   if test -n "$DUMPBIN"; then :
   11892     # Let the user override the test.
   11893   else
   11894     if test -n "$ac_tool_prefix"; then
   11895   for ac_prog in dumpbin "link -dump"
   11896   do
   11897     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11898 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11900 printf %s "checking for $ac_word... " >&6; }
   11901 if test ${ac_cv_prog_DUMPBIN+y}
   11902 then :
   11903   printf %s "(cached) " >&6
   11904 else $as_nop
   11905   if test -n "$DUMPBIN"; then
   11906   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11907 else
   11908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11909 for as_dir in $PATH
   11910 do
   11911   IFS=$as_save_IFS
   11912   case $as_dir in #(((
   11913     '') as_dir=./ ;;
   11914     */) ;;
   11915     *) as_dir=$as_dir/ ;;
   11916   esac
   11917     for ac_exec_ext in '' $ac_executable_extensions; do
   11918   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11919     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11920     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11921     break 2
   11922   fi
   11923 done
   11924   done
   11925 IFS=$as_save_IFS
   11926 
   11927 fi
   11928 fi
   11929 DUMPBIN=$ac_cv_prog_DUMPBIN
   11930 if test -n "$DUMPBIN"; then
   11931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11932 printf "%s\n" "$DUMPBIN" >&6; }
   11933 else
   11934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11935 printf "%s\n" "no" >&6; }
   11936 fi
   11937 
   11938 
   11939     test -n "$DUMPBIN" && break
   11940   done
   11941 fi
   11942 if test -z "$DUMPBIN"; then
   11943   ac_ct_DUMPBIN=$DUMPBIN
   11944   for ac_prog in dumpbin "link -dump"
   11945 do
   11946   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11947 set dummy $ac_prog; ac_word=$2
   11948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11949 printf %s "checking for $ac_word... " >&6; }
   11950 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   11951 then :
   11952   printf %s "(cached) " >&6
   11953 else $as_nop
   11954   if test -n "$ac_ct_DUMPBIN"; then
   11955   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11956 else
   11957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11958 for as_dir in $PATH
   11959 do
   11960   IFS=$as_save_IFS
   11961   case $as_dir in #(((
   11962     '') as_dir=./ ;;
   11963     */) ;;
   11964     *) as_dir=$as_dir/ ;;
   11965   esac
   11966     for ac_exec_ext in '' $ac_executable_extensions; do
   11967   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11968     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11969     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11970     break 2
   11971   fi
   11972 done
   11973   done
   11974 IFS=$as_save_IFS
   11975 
   11976 fi
   11977 fi
   11978 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11979 if test -n "$ac_ct_DUMPBIN"; then
   11980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11981 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   11982 else
   11983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11984 printf "%s\n" "no" >&6; }
   11985 fi
   11986 
   11987 
   11988   test -n "$ac_ct_DUMPBIN" && break
   11989 done
   11990 
   11991   if test "x$ac_ct_DUMPBIN" = x; then
   11992     DUMPBIN=":"
   11993   else
   11994     case $cross_compiling:$ac_tool_warned in
   11995 yes:)
   11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11997 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11998 ac_tool_warned=yes ;;
   11999 esac
   12000     DUMPBIN=$ac_ct_DUMPBIN
   12001   fi
   12002 fi
   12003 
   12004     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   12005     *COFF*)
   12006       DUMPBIN="$DUMPBIN -symbols -headers"
   12007       ;;
   12008     *)
   12009       DUMPBIN=:
   12010       ;;
   12011     esac
   12012   fi
   12013 
   12014   if test : != "$DUMPBIN"; then
   12015     NM=$DUMPBIN
   12016   fi
   12017 fi
   12018 test -z "$NM" && NM=nm
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   12026 printf %s "checking the name lister ($NM) interface... " >&6; }
   12027 if test ${lt_cv_nm_interface+y}
   12028 then :
   12029   printf %s "(cached) " >&6
   12030 else $as_nop
   12031   lt_cv_nm_interface="BSD nm"
   12032   echo "int some_variable = 0;" > conftest.$ac_ext
   12033   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   12034   (eval "$ac_compile" 2>conftest.err)
   12035   cat conftest.err >&5
   12036   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   12037   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   12038   cat conftest.err >&5
   12039   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   12040   cat conftest.out >&5
   12041   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   12042     lt_cv_nm_interface="MS dumpbin"
   12043   fi
   12044   rm -f conftest*
   12045 fi
   12046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12047 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12048 
   12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12050 printf %s "checking whether ln -s works... " >&6; }
   12051 LN_S=$as_ln_s
   12052 if test "$LN_S" = "ln -s"; then
   12053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12054 printf "%s\n" "yes" >&6; }
   12055 else
   12056   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12057 printf "%s\n" "no, using $LN_S" >&6; }
   12058 fi
   12059 
   12060 # find the maximum length of command line arguments
   12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12062 printf %s "checking the maximum length of command line arguments... " >&6; }
   12063 if test ${lt_cv_sys_max_cmd_len+y}
   12064 then :
   12065   printf %s "(cached) " >&6
   12066 else $as_nop
   12067     i=0
   12068   teststring=ABCD
   12069 
   12070   case $build_os in
   12071   msdosdjgpp*)
   12072     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12073     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12074     # during glob expansion).  Even if it were fixed, the result of this
   12075     # check would be larger than it should be.
   12076     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12077     ;;
   12078 
   12079   gnu*)
   12080     # Under GNU Hurd, this test is not required because there is
   12081     # no limit to the length of command line arguments.
   12082     # Libtool will interpret -1 as no limit whatsoever
   12083     lt_cv_sys_max_cmd_len=-1;
   12084     ;;
   12085 
   12086   cygwin* | mingw* | cegcc*)
   12087     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12088     # about 5 minutes as the teststring grows exponentially.
   12089     # Worse, since 9x/ME are not pre-emptively multitasking,
   12090     # you end up with a "frozen" computer, even though with patience
   12091     # the test eventually succeeds (with a max line length of 256k).
   12092     # Instead, let's just punt: use the minimum linelength reported by
   12093     # all of the supported platforms: 8192 (on NT/2K/XP).
   12094     lt_cv_sys_max_cmd_len=8192;
   12095     ;;
   12096 
   12097   mint*)
   12098     # On MiNT this can take a long time and run out of memory.
   12099     lt_cv_sys_max_cmd_len=8192;
   12100     ;;
   12101 
   12102   mint*)
   12103     # On MiNT this can take a long time and run out of memory.
   12104     lt_cv_sys_max_cmd_len=8192;
   12105     ;;
   12106 
   12107   amigaos*)
   12108     # On AmigaOS with pdksh, this test takes hours, literally.
   12109     # So we just punt and use a minimum line length of 8192.
   12110     lt_cv_sys_max_cmd_len=8192;
   12111     ;;
   12112 
   12113   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12114     # This has been around since 386BSD, at least.  Likely further.
   12115     if test -x /sbin/sysctl; then
   12116       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12117     elif test -x /usr/sbin/sysctl; then
   12118       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12119     else
   12120       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12121     fi
   12122     # And add a safety zone
   12123     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12124     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12125     ;;
   12126 
   12127   interix*)
   12128     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12129     lt_cv_sys_max_cmd_len=196608
   12130     ;;
   12131 
   12132   os2*)
   12133     # The test takes a long time on OS/2.
   12134     lt_cv_sys_max_cmd_len=8192
   12135     ;;
   12136 
   12137   osf*)
   12138     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12139     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12140     # nice to cause kernel panics so lets avoid the loop below.
   12141     # First set a reasonable default.
   12142     lt_cv_sys_max_cmd_len=16384
   12143     #
   12144     if test -x /sbin/sysconfig; then
   12145       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12146         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12147       esac
   12148     fi
   12149     ;;
   12150   sco3.2v5*)
   12151     lt_cv_sys_max_cmd_len=102400
   12152     ;;
   12153   sysv5* | sco5v6* | sysv4.2uw2*)
   12154     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12155     if test -n "$kargmax"; then
   12156       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12157     else
   12158       lt_cv_sys_max_cmd_len=32768
   12159     fi
   12160     ;;
   12161   *)
   12162     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12163     if test -n "$lt_cv_sys_max_cmd_len" && \
   12164        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12165       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12166       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12167     else
   12168       # Make teststring a little bigger before we do anything with it.
   12169       # a 1K string should be a reasonable start.
   12170       for i in 1 2 3 4 5 6 7 8; do
   12171         teststring=$teststring$teststring
   12172       done
   12173       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12174       # If test is not a shell built-in, we'll probably end up computing a
   12175       # maximum length that is only half of the actual maximum length, but
   12176       # we can't tell.
   12177       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12178 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12179 	      test 17 != "$i" # 1/2 MB should be enough
   12180       do
   12181         i=`expr $i + 1`
   12182         teststring=$teststring$teststring
   12183       done
   12184       # Only check the string length outside the loop.
   12185       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12186       teststring=
   12187       # Add a significant safety factor because C++ compilers can tack on
   12188       # massive amounts of additional arguments before passing them to the
   12189       # linker.  It appears as though 1/2 is a usable value.
   12190       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12191     fi
   12192     ;;
   12193   esac
   12194 
   12195 fi
   12196 
   12197 if test -n "$lt_cv_sys_max_cmd_len"; then
   12198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12199 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12200 else
   12201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12202 printf "%s\n" "none" >&6; }
   12203 fi
   12204 max_cmd_len=$lt_cv_sys_max_cmd_len
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 : ${CP="cp -f"}
   12212 : ${MV="mv -f"}
   12213 : ${RM="rm -f"}
   12214 
   12215 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12216   lt_unset=unset
   12217 else
   12218   lt_unset=false
   12219 fi
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 # test EBCDIC or ASCII
   12226 case `echo X|tr X '\101'` in
   12227  A) # ASCII based system
   12228     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12229   lt_SP2NL='tr \040 \012'
   12230   lt_NL2SP='tr \015\012 \040\040'
   12231   ;;
   12232  *) # EBCDIC based system
   12233   lt_SP2NL='tr \100 \n'
   12234   lt_NL2SP='tr \r\n \100\100'
   12235   ;;
   12236 esac
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12247 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12248 if test ${lt_cv_to_host_file_cmd+y}
   12249 then :
   12250   printf %s "(cached) " >&6
   12251 else $as_nop
   12252   case $host in
   12253   *-*-mingw* )
   12254     case $build in
   12255       *-*-mingw* ) # actually msys
   12256         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12257         ;;
   12258       *-*-cygwin* )
   12259         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12260         ;;
   12261       * ) # otherwise, assume *nix
   12262         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12263         ;;
   12264     esac
   12265     ;;
   12266   *-*-cygwin* )
   12267     case $build in
   12268       *-*-mingw* ) # actually msys
   12269         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12270         ;;
   12271       *-*-cygwin* )
   12272         lt_cv_to_host_file_cmd=func_convert_file_noop
   12273         ;;
   12274       * ) # otherwise, assume *nix
   12275         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12276         ;;
   12277     esac
   12278     ;;
   12279   * ) # unhandled hosts (and "normal" native builds)
   12280     lt_cv_to_host_file_cmd=func_convert_file_noop
   12281     ;;
   12282 esac
   12283 
   12284 fi
   12285 
   12286 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12288 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12295 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12296 if test ${lt_cv_to_tool_file_cmd+y}
   12297 then :
   12298   printf %s "(cached) " >&6
   12299 else $as_nop
   12300   #assume ordinary cross tools, or native build.
   12301 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12302 case $host in
   12303   *-*-mingw* )
   12304     case $build in
   12305       *-*-mingw* ) # actually msys
   12306         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12307         ;;
   12308     esac
   12309     ;;
   12310 esac
   12311 
   12312 fi
   12313 
   12314 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12316 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12323 printf %s "checking for $LD option to reload object files... " >&6; }
   12324 if test ${lt_cv_ld_reload_flag+y}
   12325 then :
   12326   printf %s "(cached) " >&6
   12327 else $as_nop
   12328   lt_cv_ld_reload_flag='-r'
   12329 fi
   12330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12331 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12332 reload_flag=$lt_cv_ld_reload_flag
   12333 case $reload_flag in
   12334 "" | " "*) ;;
   12335 *) reload_flag=" $reload_flag" ;;
   12336 esac
   12337 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12338 case $host_os in
   12339   cygwin* | mingw* | pw32* | cegcc*)
   12340     if test yes != "$GCC"; then
   12341       reload_cmds=false
   12342     fi
   12343     ;;
   12344   darwin*)
   12345     if test yes = "$GCC"; then
   12346       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12347     else
   12348       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12349     fi
   12350     ;;
   12351 esac
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 if test -n "$ac_tool_prefix"; then
   12362   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12363 set dummy ${ac_tool_prefix}file; ac_word=$2
   12364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12365 printf %s "checking for $ac_word... " >&6; }
   12366 if test ${ac_cv_prog_FILECMD+y}
   12367 then :
   12368   printf %s "(cached) " >&6
   12369 else $as_nop
   12370   if test -n "$FILECMD"; then
   12371   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12372 else
   12373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12374 for as_dir in $PATH
   12375 do
   12376   IFS=$as_save_IFS
   12377   case $as_dir in #(((
   12378     '') as_dir=./ ;;
   12379     */) ;;
   12380     *) as_dir=$as_dir/ ;;
   12381   esac
   12382     for ac_exec_ext in '' $ac_executable_extensions; do
   12383   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12384     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12385     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12386     break 2
   12387   fi
   12388 done
   12389   done
   12390 IFS=$as_save_IFS
   12391 
   12392 fi
   12393 fi
   12394 FILECMD=$ac_cv_prog_FILECMD
   12395 if test -n "$FILECMD"; then
   12396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12397 printf "%s\n" "$FILECMD" >&6; }
   12398 else
   12399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12400 printf "%s\n" "no" >&6; }
   12401 fi
   12402 
   12403 
   12404 fi
   12405 if test -z "$ac_cv_prog_FILECMD"; then
   12406   ac_ct_FILECMD=$FILECMD
   12407   # Extract the first word of "file", so it can be a program name with args.
   12408 set dummy file; ac_word=$2
   12409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12410 printf %s "checking for $ac_word... " >&6; }
   12411 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12412 then :
   12413   printf %s "(cached) " >&6
   12414 else $as_nop
   12415   if test -n "$ac_ct_FILECMD"; then
   12416   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12417 else
   12418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12419 for as_dir in $PATH
   12420 do
   12421   IFS=$as_save_IFS
   12422   case $as_dir in #(((
   12423     '') as_dir=./ ;;
   12424     */) ;;
   12425     *) as_dir=$as_dir/ ;;
   12426   esac
   12427     for ac_exec_ext in '' $ac_executable_extensions; do
   12428   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12429     ac_cv_prog_ac_ct_FILECMD="file"
   12430     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12431     break 2
   12432   fi
   12433 done
   12434   done
   12435 IFS=$as_save_IFS
   12436 
   12437 fi
   12438 fi
   12439 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12440 if test -n "$ac_ct_FILECMD"; then
   12441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12442 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12443 else
   12444   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12445 printf "%s\n" "no" >&6; }
   12446 fi
   12447 
   12448   if test "x$ac_ct_FILECMD" = x; then
   12449     FILECMD=":"
   12450   else
   12451     case $cross_compiling:$ac_tool_warned in
   12452 yes:)
   12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12455 ac_tool_warned=yes ;;
   12456 esac
   12457     FILECMD=$ac_ct_FILECMD
   12458   fi
   12459 else
   12460   FILECMD="$ac_cv_prog_FILECMD"
   12461 fi
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 if test -n "$ac_tool_prefix"; then
   12470   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12471 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12473 printf %s "checking for $ac_word... " >&6; }
   12474 if test ${ac_cv_prog_OBJDUMP+y}
   12475 then :
   12476   printf %s "(cached) " >&6
   12477 else $as_nop
   12478   if test -n "$OBJDUMP"; then
   12479   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12480 else
   12481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12482 for as_dir in $PATH
   12483 do
   12484   IFS=$as_save_IFS
   12485   case $as_dir in #(((
   12486     '') as_dir=./ ;;
   12487     */) ;;
   12488     *) as_dir=$as_dir/ ;;
   12489   esac
   12490     for ac_exec_ext in '' $ac_executable_extensions; do
   12491   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12492     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12493     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12494     break 2
   12495   fi
   12496 done
   12497   done
   12498 IFS=$as_save_IFS
   12499 
   12500 fi
   12501 fi
   12502 OBJDUMP=$ac_cv_prog_OBJDUMP
   12503 if test -n "$OBJDUMP"; then
   12504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12505 printf "%s\n" "$OBJDUMP" >&6; }
   12506 else
   12507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12508 printf "%s\n" "no" >&6; }
   12509 fi
   12510 
   12511 
   12512 fi
   12513 if test -z "$ac_cv_prog_OBJDUMP"; then
   12514   ac_ct_OBJDUMP=$OBJDUMP
   12515   # Extract the first word of "objdump", so it can be a program name with args.
   12516 set dummy objdump; ac_word=$2
   12517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12518 printf %s "checking for $ac_word... " >&6; }
   12519 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12520 then :
   12521   printf %s "(cached) " >&6
   12522 else $as_nop
   12523   if test -n "$ac_ct_OBJDUMP"; then
   12524   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12525 else
   12526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12527 for as_dir in $PATH
   12528 do
   12529   IFS=$as_save_IFS
   12530   case $as_dir in #(((
   12531     '') as_dir=./ ;;
   12532     */) ;;
   12533     *) as_dir=$as_dir/ ;;
   12534   esac
   12535     for ac_exec_ext in '' $ac_executable_extensions; do
   12536   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12537     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12538     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12539     break 2
   12540   fi
   12541 done
   12542   done
   12543 IFS=$as_save_IFS
   12544 
   12545 fi
   12546 fi
   12547 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12548 if test -n "$ac_ct_OBJDUMP"; then
   12549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12550 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12551 else
   12552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12553 printf "%s\n" "no" >&6; }
   12554 fi
   12555 
   12556   if test "x$ac_ct_OBJDUMP" = x; then
   12557     OBJDUMP="false"
   12558   else
   12559     case $cross_compiling:$ac_tool_warned in
   12560 yes:)
   12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12562 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12563 ac_tool_warned=yes ;;
   12564 esac
   12565     OBJDUMP=$ac_ct_OBJDUMP
   12566   fi
   12567 else
   12568   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12569 fi
   12570 
   12571 test -z "$OBJDUMP" && OBJDUMP=objdump
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12582 printf %s "checking how to recognize dependent libraries... " >&6; }
   12583 if test ${lt_cv_deplibs_check_method+y}
   12584 then :
   12585   printf %s "(cached) " >&6
   12586 else $as_nop
   12587   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12588 lt_cv_file_magic_test_file=
   12589 lt_cv_deplibs_check_method='unknown'
   12590 # Need to set the preceding variable on all platforms that support
   12591 # interlibrary dependencies.
   12592 # 'none' -- dependencies not supported.
   12593 # 'unknown' -- same as none, but documents that we really don't know.
   12594 # 'pass_all' -- all dependencies passed with no checks.
   12595 # 'test_compile' -- check by making test program.
   12596 # 'file_magic [[regex]]' -- check by looking for files in library path
   12597 # that responds to the $file_magic_cmd with a given extended regex.
   12598 # If you have 'file' or equivalent on your system and you're not sure
   12599 # whether 'pass_all' will *always* work, you probably want this one.
   12600 
   12601 case $host_os in
   12602 aix[4-9]*)
   12603   lt_cv_deplibs_check_method=pass_all
   12604   ;;
   12605 
   12606 beos*)
   12607   lt_cv_deplibs_check_method=pass_all
   12608   ;;
   12609 
   12610 bsdi[45]*)
   12611   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12612   lt_cv_file_magic_cmd='$FILECMD -L'
   12613   lt_cv_file_magic_test_file=/shlib/libc.so
   12614   ;;
   12615 
   12616 cygwin*)
   12617   # func_win32_libid is a shell function defined in ltmain.sh
   12618   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12619   lt_cv_file_magic_cmd='func_win32_libid'
   12620   ;;
   12621 
   12622 mingw* | pw32*)
   12623   # Base MSYS/MinGW do not provide the 'file' command needed by
   12624   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12625   # unless we find 'file', for example because we are cross-compiling.
   12626   if ( file / ) >/dev/null 2>&1; then
   12627     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12628     lt_cv_file_magic_cmd='func_win32_libid'
   12629   else
   12630     # Keep this pattern in sync with the one in func_win32_libid.
   12631     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12632     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12633   fi
   12634   ;;
   12635 
   12636 cegcc*)
   12637   # use the weaker test based on 'objdump'. See mingw*.
   12638   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12639   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12640   ;;
   12641 
   12642 darwin* | rhapsody*)
   12643   lt_cv_deplibs_check_method=pass_all
   12644   ;;
   12645 
   12646 freebsd* | dragonfly* | midnightbsd*)
   12647   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12648     case $host_cpu in
   12649     i*86 )
   12650       # Not sure whether the presence of OpenBSD here was a mistake.
   12651       # Let's accept both of them until this is cleared up.
   12652       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12653       lt_cv_file_magic_cmd=$FILECMD
   12654       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12655       ;;
   12656     esac
   12657   else
   12658     lt_cv_deplibs_check_method=pass_all
   12659   fi
   12660   ;;
   12661 
   12662 haiku*)
   12663   lt_cv_deplibs_check_method=pass_all
   12664   ;;
   12665 
   12666 hpux10.20* | hpux11*)
   12667   lt_cv_file_magic_cmd=$FILECMD
   12668   case $host_cpu in
   12669   ia64*)
   12670     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12671     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12672     ;;
   12673   hppa*64*)
   12674     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]'
   12675     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12676     ;;
   12677   *)
   12678     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12679     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12680     ;;
   12681   esac
   12682   ;;
   12683 
   12684 interix[3-9]*)
   12685   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12686   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12687   ;;
   12688 
   12689 irix5* | irix6* | nonstopux*)
   12690   case $LD in
   12691   *-32|*"-32 ") libmagic=32-bit;;
   12692   *-n32|*"-n32 ") libmagic=N32;;
   12693   *-64|*"-64 ") libmagic=64-bit;;
   12694   *) libmagic=never-match;;
   12695   esac
   12696   lt_cv_deplibs_check_method=pass_all
   12697   ;;
   12698 
   12699 # This must be glibc/ELF.
   12700 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12701   lt_cv_deplibs_check_method=pass_all
   12702   ;;
   12703 
   12704 netbsd*)
   12705   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12706     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12707   else
   12708     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12709   fi
   12710   ;;
   12711 
   12712 newos6*)
   12713   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12714   lt_cv_file_magic_cmd=$FILECMD
   12715   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12716   ;;
   12717 
   12718 *nto* | *qnx*)
   12719   lt_cv_deplibs_check_method=pass_all
   12720   ;;
   12721 
   12722 openbsd* | bitrig*)
   12723   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12724     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12725   else
   12726     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12727   fi
   12728   ;;
   12729 
   12730 osf3* | osf4* | osf5*)
   12731   lt_cv_deplibs_check_method=pass_all
   12732   ;;
   12733 
   12734 rdos*)
   12735   lt_cv_deplibs_check_method=pass_all
   12736   ;;
   12737 
   12738 solaris*)
   12739   lt_cv_deplibs_check_method=pass_all
   12740   ;;
   12741 
   12742 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12743   lt_cv_deplibs_check_method=pass_all
   12744   ;;
   12745 
   12746 sysv4 | sysv4.3*)
   12747   case $host_vendor in
   12748   motorola)
   12749     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]'
   12750     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12751     ;;
   12752   ncr)
   12753     lt_cv_deplibs_check_method=pass_all
   12754     ;;
   12755   sequent)
   12756     lt_cv_file_magic_cmd='/bin/file'
   12757     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12758     ;;
   12759   sni)
   12760     lt_cv_file_magic_cmd='/bin/file'
   12761     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12762     lt_cv_file_magic_test_file=/lib/libc.so
   12763     ;;
   12764   siemens)
   12765     lt_cv_deplibs_check_method=pass_all
   12766     ;;
   12767   pc)
   12768     lt_cv_deplibs_check_method=pass_all
   12769     ;;
   12770   esac
   12771   ;;
   12772 
   12773 tpf*)
   12774   lt_cv_deplibs_check_method=pass_all
   12775   ;;
   12776 os2*)
   12777   lt_cv_deplibs_check_method=pass_all
   12778   ;;
   12779 esac
   12780 
   12781 fi
   12782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12783 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   12784 
   12785 file_magic_glob=
   12786 want_nocaseglob=no
   12787 if test "$build" = "$host"; then
   12788   case $host_os in
   12789   mingw* | pw32*)
   12790     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12791       want_nocaseglob=yes
   12792     else
   12793       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12794     fi
   12795     ;;
   12796   esac
   12797 fi
   12798 
   12799 file_magic_cmd=$lt_cv_file_magic_cmd
   12800 deplibs_check_method=$lt_cv_deplibs_check_method
   12801 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 if test -n "$ac_tool_prefix"; then
   12825   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12826 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12828 printf %s "checking for $ac_word... " >&6; }
   12829 if test ${ac_cv_prog_DLLTOOL+y}
   12830 then :
   12831   printf %s "(cached) " >&6
   12832 else $as_nop
   12833   if test -n "$DLLTOOL"; then
   12834   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12835 else
   12836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12837 for as_dir in $PATH
   12838 do
   12839   IFS=$as_save_IFS
   12840   case $as_dir in #(((
   12841     '') as_dir=./ ;;
   12842     */) ;;
   12843     *) as_dir=$as_dir/ ;;
   12844   esac
   12845     for ac_exec_ext in '' $ac_executable_extensions; do
   12846   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12847     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12848     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12849     break 2
   12850   fi
   12851 done
   12852   done
   12853 IFS=$as_save_IFS
   12854 
   12855 fi
   12856 fi
   12857 DLLTOOL=$ac_cv_prog_DLLTOOL
   12858 if test -n "$DLLTOOL"; then
   12859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12860 printf "%s\n" "$DLLTOOL" >&6; }
   12861 else
   12862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12863 printf "%s\n" "no" >&6; }
   12864 fi
   12865 
   12866 
   12867 fi
   12868 if test -z "$ac_cv_prog_DLLTOOL"; then
   12869   ac_ct_DLLTOOL=$DLLTOOL
   12870   # Extract the first word of "dlltool", so it can be a program name with args.
   12871 set dummy dlltool; ac_word=$2
   12872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12873 printf %s "checking for $ac_word... " >&6; }
   12874 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   12875 then :
   12876   printf %s "(cached) " >&6
   12877 else $as_nop
   12878   if test -n "$ac_ct_DLLTOOL"; then
   12879   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12880 else
   12881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12882 for as_dir in $PATH
   12883 do
   12884   IFS=$as_save_IFS
   12885   case $as_dir in #(((
   12886     '') as_dir=./ ;;
   12887     */) ;;
   12888     *) as_dir=$as_dir/ ;;
   12889   esac
   12890     for ac_exec_ext in '' $ac_executable_extensions; do
   12891   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12892     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12893     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12894     break 2
   12895   fi
   12896 done
   12897   done
   12898 IFS=$as_save_IFS
   12899 
   12900 fi
   12901 fi
   12902 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12903 if test -n "$ac_ct_DLLTOOL"; then
   12904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12905 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   12906 else
   12907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12908 printf "%s\n" "no" >&6; }
   12909 fi
   12910 
   12911   if test "x$ac_ct_DLLTOOL" = x; then
   12912     DLLTOOL="false"
   12913   else
   12914     case $cross_compiling:$ac_tool_warned in
   12915 yes:)
   12916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12918 ac_tool_warned=yes ;;
   12919 esac
   12920     DLLTOOL=$ac_ct_DLLTOOL
   12921   fi
   12922 else
   12923   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12924 fi
   12925 
   12926 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12938 printf %s "checking how to associate runtime and link libraries... " >&6; }
   12939 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   12940 then :
   12941   printf %s "(cached) " >&6
   12942 else $as_nop
   12943   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12944 
   12945 case $host_os in
   12946 cygwin* | mingw* | pw32* | cegcc*)
   12947   # two different shell functions defined in ltmain.sh;
   12948   # decide which one to use based on capabilities of $DLLTOOL
   12949   case `$DLLTOOL --help 2>&1` in
   12950   *--identify-strict*)
   12951     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12952     ;;
   12953   *)
   12954     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12955     ;;
   12956   esac
   12957   ;;
   12958 *)
   12959   # fallback: assume linklib IS sharedlib
   12960   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12961   ;;
   12962 esac
   12963 
   12964 fi
   12965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12966 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12967 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12968 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 if test -n "$ac_tool_prefix"; then
   12977   for ac_prog in ar
   12978   do
   12979     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12982 printf %s "checking for $ac_word... " >&6; }
   12983 if test ${ac_cv_prog_AR+y}
   12984 then :
   12985   printf %s "(cached) " >&6
   12986 else $as_nop
   12987   if test -n "$AR"; then
   12988   ac_cv_prog_AR="$AR" # Let the user override the test.
   12989 else
   12990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12991 for as_dir in $PATH
   12992 do
   12993   IFS=$as_save_IFS
   12994   case $as_dir in #(((
   12995     '') as_dir=./ ;;
   12996     */) ;;
   12997     *) as_dir=$as_dir/ ;;
   12998   esac
   12999     for ac_exec_ext in '' $ac_executable_extensions; do
   13000   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13001     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   13002     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13003     break 2
   13004   fi
   13005 done
   13006   done
   13007 IFS=$as_save_IFS
   13008 
   13009 fi
   13010 fi
   13011 AR=$ac_cv_prog_AR
   13012 if test -n "$AR"; then
   13013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   13014 printf "%s\n" "$AR" >&6; }
   13015 else
   13016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13017 printf "%s\n" "no" >&6; }
   13018 fi
   13019 
   13020 
   13021     test -n "$AR" && break
   13022   done
   13023 fi
   13024 if test -z "$AR"; then
   13025   ac_ct_AR=$AR
   13026   for ac_prog in ar
   13027 do
   13028   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13029 set dummy $ac_prog; ac_word=$2
   13030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13031 printf %s "checking for $ac_word... " >&6; }
   13032 if test ${ac_cv_prog_ac_ct_AR+y}
   13033 then :
   13034   printf %s "(cached) " >&6
   13035 else $as_nop
   13036   if test -n "$ac_ct_AR"; then
   13037   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   13038 else
   13039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13040 for as_dir in $PATH
   13041 do
   13042   IFS=$as_save_IFS
   13043   case $as_dir in #(((
   13044     '') as_dir=./ ;;
   13045     */) ;;
   13046     *) as_dir=$as_dir/ ;;
   13047   esac
   13048     for ac_exec_ext in '' $ac_executable_extensions; do
   13049   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13050     ac_cv_prog_ac_ct_AR="$ac_prog"
   13051     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13052     break 2
   13053   fi
   13054 done
   13055   done
   13056 IFS=$as_save_IFS
   13057 
   13058 fi
   13059 fi
   13060 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13061 if test -n "$ac_ct_AR"; then
   13062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13063 printf "%s\n" "$ac_ct_AR" >&6; }
   13064 else
   13065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13066 printf "%s\n" "no" >&6; }
   13067 fi
   13068 
   13069 
   13070   test -n "$ac_ct_AR" && break
   13071 done
   13072 
   13073   if test "x$ac_ct_AR" = x; then
   13074     AR="false"
   13075   else
   13076     case $cross_compiling:$ac_tool_warned in
   13077 yes:)
   13078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13079 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13080 ac_tool_warned=yes ;;
   13081 esac
   13082     AR=$ac_ct_AR
   13083   fi
   13084 fi
   13085 
   13086 : ${AR=ar}
   13087 
   13088 
   13089 
   13090 
   13091 
   13092 
   13093 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13094 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13095 # higher priority because thats what people were doing historically (setting
   13096 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13097 # variable obsoleted/removed.
   13098 
   13099 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13100 lt_ar_flags=$AR_FLAGS
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13108 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13116 printf %s "checking for archiver @FILE support... " >&6; }
   13117 if test ${lt_cv_ar_at_file+y}
   13118 then :
   13119   printf %s "(cached) " >&6
   13120 else $as_nop
   13121   lt_cv_ar_at_file=no
   13122    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13123 /* end confdefs.h.  */
   13124 
   13125 int
   13126 main (void)
   13127 {
   13128 
   13129   ;
   13130   return 0;
   13131 }
   13132 _ACEOF
   13133 if ac_fn_c_try_compile "$LINENO"
   13134 then :
   13135   echo conftest.$ac_objext > conftest.lst
   13136       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13137       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13138   (eval $lt_ar_try) 2>&5
   13139   ac_status=$?
   13140   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13141   test $ac_status = 0; }
   13142       if test 0 -eq "$ac_status"; then
   13143 	# Ensure the archiver fails upon bogus file names.
   13144 	rm -f conftest.$ac_objext libconftest.a
   13145 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13146   (eval $lt_ar_try) 2>&5
   13147   ac_status=$?
   13148   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13149   test $ac_status = 0; }
   13150 	if test 0 -ne "$ac_status"; then
   13151           lt_cv_ar_at_file=@
   13152         fi
   13153       fi
   13154       rm -f conftest.* libconftest.a
   13155 
   13156 fi
   13157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13158 
   13159 fi
   13160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13161 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13162 
   13163 if test no = "$lt_cv_ar_at_file"; then
   13164   archiver_list_spec=
   13165 else
   13166   archiver_list_spec=$lt_cv_ar_at_file
   13167 fi
   13168 
   13169 
   13170 
   13171 
   13172 
   13173 
   13174 
   13175 if test -n "$ac_tool_prefix"; then
   13176   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13177 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13179 printf %s "checking for $ac_word... " >&6; }
   13180 if test ${ac_cv_prog_STRIP+y}
   13181 then :
   13182   printf %s "(cached) " >&6
   13183 else $as_nop
   13184   if test -n "$STRIP"; then
   13185   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13186 else
   13187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13188 for as_dir in $PATH
   13189 do
   13190   IFS=$as_save_IFS
   13191   case $as_dir in #(((
   13192     '') as_dir=./ ;;
   13193     */) ;;
   13194     *) as_dir=$as_dir/ ;;
   13195   esac
   13196     for ac_exec_ext in '' $ac_executable_extensions; do
   13197   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13198     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13199     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13200     break 2
   13201   fi
   13202 done
   13203   done
   13204 IFS=$as_save_IFS
   13205 
   13206 fi
   13207 fi
   13208 STRIP=$ac_cv_prog_STRIP
   13209 if test -n "$STRIP"; then
   13210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13211 printf "%s\n" "$STRIP" >&6; }
   13212 else
   13213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13214 printf "%s\n" "no" >&6; }
   13215 fi
   13216 
   13217 
   13218 fi
   13219 if test -z "$ac_cv_prog_STRIP"; then
   13220   ac_ct_STRIP=$STRIP
   13221   # Extract the first word of "strip", so it can be a program name with args.
   13222 set dummy strip; ac_word=$2
   13223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13224 printf %s "checking for $ac_word... " >&6; }
   13225 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13226 then :
   13227   printf %s "(cached) " >&6
   13228 else $as_nop
   13229   if test -n "$ac_ct_STRIP"; then
   13230   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13231 else
   13232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13233 for as_dir in $PATH
   13234 do
   13235   IFS=$as_save_IFS
   13236   case $as_dir in #(((
   13237     '') as_dir=./ ;;
   13238     */) ;;
   13239     *) as_dir=$as_dir/ ;;
   13240   esac
   13241     for ac_exec_ext in '' $ac_executable_extensions; do
   13242   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13243     ac_cv_prog_ac_ct_STRIP="strip"
   13244     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13245     break 2
   13246   fi
   13247 done
   13248   done
   13249 IFS=$as_save_IFS
   13250 
   13251 fi
   13252 fi
   13253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13254 if test -n "$ac_ct_STRIP"; then
   13255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13256 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13257 else
   13258   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13259 printf "%s\n" "no" >&6; }
   13260 fi
   13261 
   13262   if test "x$ac_ct_STRIP" = x; then
   13263     STRIP=":"
   13264   else
   13265     case $cross_compiling:$ac_tool_warned in
   13266 yes:)
   13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13268 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13269 ac_tool_warned=yes ;;
   13270 esac
   13271     STRIP=$ac_ct_STRIP
   13272   fi
   13273 else
   13274   STRIP="$ac_cv_prog_STRIP"
   13275 fi
   13276 
   13277 test -z "$STRIP" && STRIP=:
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 if test -n "$ac_tool_prefix"; then
   13285   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13288 printf %s "checking for $ac_word... " >&6; }
   13289 if test ${ac_cv_prog_RANLIB+y}
   13290 then :
   13291   printf %s "(cached) " >&6
   13292 else $as_nop
   13293   if test -n "$RANLIB"; then
   13294   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13295 else
   13296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13297 for as_dir in $PATH
   13298 do
   13299   IFS=$as_save_IFS
   13300   case $as_dir in #(((
   13301     '') as_dir=./ ;;
   13302     */) ;;
   13303     *) as_dir=$as_dir/ ;;
   13304   esac
   13305     for ac_exec_ext in '' $ac_executable_extensions; do
   13306   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13307     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13308     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13309     break 2
   13310   fi
   13311 done
   13312   done
   13313 IFS=$as_save_IFS
   13314 
   13315 fi
   13316 fi
   13317 RANLIB=$ac_cv_prog_RANLIB
   13318 if test -n "$RANLIB"; then
   13319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13320 printf "%s\n" "$RANLIB" >&6; }
   13321 else
   13322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13323 printf "%s\n" "no" >&6; }
   13324 fi
   13325 
   13326 
   13327 fi
   13328 if test -z "$ac_cv_prog_RANLIB"; then
   13329   ac_ct_RANLIB=$RANLIB
   13330   # Extract the first word of "ranlib", so it can be a program name with args.
   13331 set dummy ranlib; ac_word=$2
   13332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13333 printf %s "checking for $ac_word... " >&6; }
   13334 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13335 then :
   13336   printf %s "(cached) " >&6
   13337 else $as_nop
   13338   if test -n "$ac_ct_RANLIB"; then
   13339   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13340 else
   13341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13342 for as_dir in $PATH
   13343 do
   13344   IFS=$as_save_IFS
   13345   case $as_dir in #(((
   13346     '') as_dir=./ ;;
   13347     */) ;;
   13348     *) as_dir=$as_dir/ ;;
   13349   esac
   13350     for ac_exec_ext in '' $ac_executable_extensions; do
   13351   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13352     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13353     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13354     break 2
   13355   fi
   13356 done
   13357   done
   13358 IFS=$as_save_IFS
   13359 
   13360 fi
   13361 fi
   13362 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13363 if test -n "$ac_ct_RANLIB"; then
   13364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13365 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13366 else
   13367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13368 printf "%s\n" "no" >&6; }
   13369 fi
   13370 
   13371   if test "x$ac_ct_RANLIB" = x; then
   13372     RANLIB=":"
   13373   else
   13374     case $cross_compiling:$ac_tool_warned in
   13375 yes:)
   13376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13377 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13378 ac_tool_warned=yes ;;
   13379 esac
   13380     RANLIB=$ac_ct_RANLIB
   13381   fi
   13382 else
   13383   RANLIB="$ac_cv_prog_RANLIB"
   13384 fi
   13385 
   13386 test -z "$RANLIB" && RANLIB=:
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 # Determine commands to create old-style static archives.
   13394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13395 old_postinstall_cmds='chmod 644 $oldlib'
   13396 old_postuninstall_cmds=
   13397 
   13398 if test -n "$RANLIB"; then
   13399   case $host_os in
   13400   bitrig* | openbsd*)
   13401     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13402     ;;
   13403   *)
   13404     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13405     ;;
   13406   esac
   13407   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13408 fi
   13409 
   13410 case $host_os in
   13411   darwin*)
   13412     lock_old_archive_extraction=yes ;;
   13413   *)
   13414     lock_old_archive_extraction=no ;;
   13415 esac
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 # If no C compiler was specified, use CC.
   13456 LTCC=${LTCC-"$CC"}
   13457 
   13458 # If no C compiler flags were specified, use CFLAGS.
   13459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13460 
   13461 # Allow CC to be a program name with arguments.
   13462 compiler=$CC
   13463 
   13464 
   13465 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13467 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13468 if test ${lt_cv_sys_global_symbol_pipe+y}
   13469 then :
   13470   printf %s "(cached) " >&6
   13471 else $as_nop
   13472 
   13473 # These are sane defaults that work on at least a few old systems.
   13474 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13475 
   13476 # Character class describing NM global symbol codes.
   13477 symcode='[BCDEGRST]'
   13478 
   13479 # Regexp to match symbols that can be accessed directly from C.
   13480 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13481 
   13482 # Define system-specific variables.
   13483 case $host_os in
   13484 aix*)
   13485   symcode='[BCDT]'
   13486   ;;
   13487 cygwin* | mingw* | pw32* | cegcc*)
   13488   symcode='[ABCDGISTW]'
   13489   ;;
   13490 hpux*)
   13491   if test ia64 = "$host_cpu"; then
   13492     symcode='[ABCDEGRST]'
   13493   fi
   13494   ;;
   13495 irix* | nonstopux*)
   13496   symcode='[BCDEGRST]'
   13497   ;;
   13498 osf*)
   13499   symcode='[BCDEGQRST]'
   13500   ;;
   13501 solaris*)
   13502   symcode='[BDRT]'
   13503   ;;
   13504 sco3.2v5*)
   13505   symcode='[DT]'
   13506   ;;
   13507 sysv4.2uw2*)
   13508   symcode='[DT]'
   13509   ;;
   13510 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13511   symcode='[ABDT]'
   13512   ;;
   13513 sysv4)
   13514   symcode='[DFNSTU]'
   13515   ;;
   13516 esac
   13517 
   13518 # If we're using GNU nm, then use its standard symbol codes.
   13519 case `$NM -V 2>&1` in
   13520 *GNU* | *'with BFD'*)
   13521   symcode='[ABCDGIRSTW]' ;;
   13522 esac
   13523 
   13524 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13525   # Gets list of data symbols to import.
   13526   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13527   # Adjust the below global symbol transforms to fixup imported variables.
   13528   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13529   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13530   lt_c_name_lib_hook="\
   13531   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13532   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13533 else
   13534   # Disable hooks by default.
   13535   lt_cv_sys_global_symbol_to_import=
   13536   lt_cdecl_hook=
   13537   lt_c_name_hook=
   13538   lt_c_name_lib_hook=
   13539 fi
   13540 
   13541 # Transform an extracted symbol line into a proper C declaration.
   13542 # Some systems (esp. on ia64) link data and code symbols differently,
   13543 # so use this general approach.
   13544 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13545 $lt_cdecl_hook\
   13546 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13547 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13548 
   13549 # Transform an extracted symbol line into symbol name and symbol address
   13550 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13551 $lt_c_name_hook\
   13552 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13553 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13554 
   13555 # Transform an extracted symbol line into symbol name with lib prefix and
   13556 # symbol address.
   13557 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13558 $lt_c_name_lib_hook\
   13559 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13560 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13561 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13562 
   13563 # Handle CRLF in mingw tool chain
   13564 opt_cr=
   13565 case $build_os in
   13566 mingw*)
   13567   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13568   ;;
   13569 esac
   13570 
   13571 # Try without a prefix underscore, then with it.
   13572 for ac_symprfx in "" "_"; do
   13573 
   13574   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13575   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13576 
   13577   # Write the raw and C identifiers.
   13578   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13579     # Fake it for dumpbin and say T for any non-static function,
   13580     # D for any global variable and I for any imported variable.
   13581     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13582     # which start with @ or ?.
   13583     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13584 "     {last_section=section; section=\$ 3};"\
   13585 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13586 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13587 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13588 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13589 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13590 "     \$ 0!~/External *\|/{next};"\
   13591 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13592 "     {if(hide[section]) next};"\
   13593 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13594 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13595 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13596 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13597 "     ' prfx=^$ac_symprfx"
   13598   else
   13599     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13600   fi
   13601   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13602 
   13603   # Check to see that the pipe works correctly.
   13604   pipe_works=no
   13605 
   13606   rm -f conftest*
   13607   cat > conftest.$ac_ext <<_LT_EOF
   13608 #ifdef __cplusplus
   13609 extern "C" {
   13610 #endif
   13611 char nm_test_var;
   13612 void nm_test_func(void);
   13613 void nm_test_func(void){}
   13614 #ifdef __cplusplus
   13615 }
   13616 #endif
   13617 int main(){nm_test_var='a';nm_test_func();return(0);}
   13618 _LT_EOF
   13619 
   13620   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13621   (eval $ac_compile) 2>&5
   13622   ac_status=$?
   13623   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13624   test $ac_status = 0; }; then
   13625     # Now try to grab the symbols.
   13626     nlist=conftest.nm
   13627     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13628   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13629   ac_status=$?
   13630   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13631   test $ac_status = 0; } && test -s "$nlist"; then
   13632       # Try sorting and uniquifying the output.
   13633       if sort "$nlist" | uniq > "$nlist"T; then
   13634 	mv -f "$nlist"T "$nlist"
   13635       else
   13636 	rm -f "$nlist"T
   13637       fi
   13638 
   13639       # Make sure that we snagged all the symbols we need.
   13640       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13641 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13642 	  cat <<_LT_EOF > conftest.$ac_ext
   13643 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13644 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13645 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13646    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13647 # define LT_DLSYM_CONST
   13648 #elif defined __osf__
   13649 /* This system does not cope well with relocations in const data.  */
   13650 # define LT_DLSYM_CONST
   13651 #else
   13652 # define LT_DLSYM_CONST const
   13653 #endif
   13654 
   13655 #ifdef __cplusplus
   13656 extern "C" {
   13657 #endif
   13658 
   13659 _LT_EOF
   13660 	  # Now generate the symbol file.
   13661 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13662 
   13663 	  cat <<_LT_EOF >> conftest.$ac_ext
   13664 
   13665 /* The mapping between symbol names and symbols.  */
   13666 LT_DLSYM_CONST struct {
   13667   const char *name;
   13668   void       *address;
   13669 }
   13670 lt__PROGRAM__LTX_preloaded_symbols[] =
   13671 {
   13672   { "@PROGRAM@", (void *) 0 },
   13673 _LT_EOF
   13674 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13675 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13676   {0, (void *) 0}
   13677 };
   13678 
   13679 /* This works around a problem in FreeBSD linker */
   13680 #ifdef FREEBSD_WORKAROUND
   13681 static const void *lt_preloaded_setup() {
   13682   return lt__PROGRAM__LTX_preloaded_symbols;
   13683 }
   13684 #endif
   13685 
   13686 #ifdef __cplusplus
   13687 }
   13688 #endif
   13689 _LT_EOF
   13690 	  # Now try linking the two files.
   13691 	  mv conftest.$ac_objext conftstm.$ac_objext
   13692 	  lt_globsym_save_LIBS=$LIBS
   13693 	  lt_globsym_save_CFLAGS=$CFLAGS
   13694 	  LIBS=conftstm.$ac_objext
   13695 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13696 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13697   (eval $ac_link) 2>&5
   13698   ac_status=$?
   13699   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13700   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13701 	    pipe_works=yes
   13702 	  fi
   13703 	  LIBS=$lt_globsym_save_LIBS
   13704 	  CFLAGS=$lt_globsym_save_CFLAGS
   13705 	else
   13706 	  echo "cannot find nm_test_func in $nlist" >&5
   13707 	fi
   13708       else
   13709 	echo "cannot find nm_test_var in $nlist" >&5
   13710       fi
   13711     else
   13712       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13713     fi
   13714   else
   13715     echo "$progname: failed program was:" >&5
   13716     cat conftest.$ac_ext >&5
   13717   fi
   13718   rm -rf conftest* conftst*
   13719 
   13720   # Do not use the global_symbol_pipe unless it works.
   13721   if test yes = "$pipe_works"; then
   13722     break
   13723   else
   13724     lt_cv_sys_global_symbol_pipe=
   13725   fi
   13726 done
   13727 
   13728 fi
   13729 
   13730 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13731   lt_cv_sys_global_symbol_to_cdecl=
   13732 fi
   13733 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13735 printf "%s\n" "failed" >&6; }
   13736 else
   13737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13738 printf "%s\n" "ok" >&6; }
   13739 fi
   13740 
   13741 # Response file support.
   13742 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13743   nm_file_list_spec='@'
   13744 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13745   nm_file_list_spec='@'
   13746 fi
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13785 printf %s "checking for sysroot... " >&6; }
   13786 
   13787 # Check whether --with-sysroot was given.
   13788 if test ${with_sysroot+y}
   13789 then :
   13790   withval=$with_sysroot;
   13791 else $as_nop
   13792   with_sysroot=no
   13793 fi
   13794 
   13795 
   13796 lt_sysroot=
   13797 case $with_sysroot in #(
   13798  yes)
   13799    if test yes = "$GCC"; then
   13800      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13801    fi
   13802    ;; #(
   13803  /*)
   13804    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   13805    ;; #(
   13806  no|'')
   13807    ;; #(
   13808  *)
   13809    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13810 printf "%s\n" "$with_sysroot" >&6; }
   13811    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13812    ;;
   13813 esac
   13814 
   13815  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13816 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13823 printf %s "checking for a working dd... " >&6; }
   13824 if test ${ac_cv_path_lt_DD+y}
   13825 then :
   13826   printf %s "(cached) " >&6
   13827 else $as_nop
   13828   printf 0123456789abcdef0123456789abcdef >conftest.i
   13829 cat conftest.i conftest.i >conftest2.i
   13830 : ${lt_DD:=$DD}
   13831 if test -z "$lt_DD"; then
   13832   ac_path_lt_DD_found=false
   13833   # Loop through the user's path and test for each of PROGNAME-LIST
   13834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13835 for as_dir in $PATH
   13836 do
   13837   IFS=$as_save_IFS
   13838   case $as_dir in #(((
   13839     '') as_dir=./ ;;
   13840     */) ;;
   13841     *) as_dir=$as_dir/ ;;
   13842   esac
   13843     for ac_prog in dd
   13844    do
   13845     for ac_exec_ext in '' $ac_executable_extensions; do
   13846       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   13847       as_fn_executable_p "$ac_path_lt_DD" || continue
   13848 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13849   cmp -s conftest.i conftest.out \
   13850   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13851 fi
   13852       $ac_path_lt_DD_found && break 3
   13853     done
   13854   done
   13855   done
   13856 IFS=$as_save_IFS
   13857   if test -z "$ac_cv_path_lt_DD"; then
   13858     :
   13859   fi
   13860 else
   13861   ac_cv_path_lt_DD=$lt_DD
   13862 fi
   13863 
   13864 rm -f conftest.i conftest2.i conftest.out
   13865 fi
   13866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13867 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   13868 
   13869 
   13870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13871 printf %s "checking how to truncate binary pipes... " >&6; }
   13872 if test ${lt_cv_truncate_bin+y}
   13873 then :
   13874   printf %s "(cached) " >&6
   13875 else $as_nop
   13876   printf 0123456789abcdef0123456789abcdef >conftest.i
   13877 cat conftest.i conftest.i >conftest2.i
   13878 lt_cv_truncate_bin=
   13879 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13880   cmp -s conftest.i conftest.out \
   13881   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13882 fi
   13883 rm -f conftest.i conftest2.i conftest.out
   13884 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13885 fi
   13886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13887 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13896 func_cc_basename ()
   13897 {
   13898     for cc_temp in $*""; do
   13899       case $cc_temp in
   13900         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13901         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13902         \-*) ;;
   13903         *) break;;
   13904       esac
   13905     done
   13906     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13907 }
   13908 
   13909 # Check whether --enable-libtool-lock was given.
   13910 if test ${enable_libtool_lock+y}
   13911 then :
   13912   enableval=$enable_libtool_lock;
   13913 fi
   13914 
   13915 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13916 
   13917 # Some flags need to be propagated to the compiler or linker for good
   13918 # libtool support.
   13919 case $host in
   13920 ia64-*-hpux*)
   13921   # Find out what ABI is being produced by ac_compile, and set mode
   13922   # options accordingly.
   13923   echo 'int i;' > conftest.$ac_ext
   13924   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13925   (eval $ac_compile) 2>&5
   13926   ac_status=$?
   13927   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13928   test $ac_status = 0; }; then
   13929     case `$FILECMD conftest.$ac_objext` in
   13930       *ELF-32*)
   13931 	HPUX_IA64_MODE=32
   13932 	;;
   13933       *ELF-64*)
   13934 	HPUX_IA64_MODE=64
   13935 	;;
   13936     esac
   13937   fi
   13938   rm -rf conftest*
   13939   ;;
   13940 *-*-irix6*)
   13941   # Find out what ABI is being produced by ac_compile, and set linker
   13942   # options accordingly.
   13943   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13944   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13945   (eval $ac_compile) 2>&5
   13946   ac_status=$?
   13947   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13948   test $ac_status = 0; }; then
   13949     if test yes = "$lt_cv_prog_gnu_ld"; then
   13950       case `$FILECMD conftest.$ac_objext` in
   13951 	*32-bit*)
   13952 	  LD="${LD-ld} -melf32bsmip"
   13953 	  ;;
   13954 	*N32*)
   13955 	  LD="${LD-ld} -melf32bmipn32"
   13956 	  ;;
   13957 	*64-bit*)
   13958 	  LD="${LD-ld} -melf64bmip"
   13959 	;;
   13960       esac
   13961     else
   13962       case `$FILECMD conftest.$ac_objext` in
   13963 	*32-bit*)
   13964 	  LD="${LD-ld} -32"
   13965 	  ;;
   13966 	*N32*)
   13967 	  LD="${LD-ld} -n32"
   13968 	  ;;
   13969 	*64-bit*)
   13970 	  LD="${LD-ld} -64"
   13971 	  ;;
   13972       esac
   13973     fi
   13974   fi
   13975   rm -rf conftest*
   13976   ;;
   13977 
   13978 mips64*-*linux*)
   13979   # Find out what ABI is being produced by ac_compile, and set linker
   13980   # options accordingly.
   13981   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13982   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13983   (eval $ac_compile) 2>&5
   13984   ac_status=$?
   13985   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13986   test $ac_status = 0; }; then
   13987     emul=elf
   13988     case `$FILECMD conftest.$ac_objext` in
   13989       *32-bit*)
   13990 	emul="${emul}32"
   13991 	;;
   13992       *64-bit*)
   13993 	emul="${emul}64"
   13994 	;;
   13995     esac
   13996     case `$FILECMD conftest.$ac_objext` in
   13997       *MSB*)
   13998 	emul="${emul}btsmip"
   13999 	;;
   14000       *LSB*)
   14001 	emul="${emul}ltsmip"
   14002 	;;
   14003     esac
   14004     case `$FILECMD conftest.$ac_objext` in
   14005       *N32*)
   14006 	emul="${emul}n32"
   14007 	;;
   14008     esac
   14009     LD="${LD-ld} -m $emul"
   14010   fi
   14011   rm -rf conftest*
   14012   ;;
   14013 
   14014 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   14015 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   14016   # Find out what ABI is being produced by ac_compile, and set linker
   14017   # options accordingly.  Note that the listed cases only cover the
   14018   # situations where additional linker options are needed (such as when
   14019   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   14020   # vice versa); the common cases where no linker options are needed do
   14021   # not appear in the list.
   14022   echo 'int i;' > conftest.$ac_ext
   14023   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14024   (eval $ac_compile) 2>&5
   14025   ac_status=$?
   14026   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14027   test $ac_status = 0; }; then
   14028     case `$FILECMD conftest.o` in
   14029       *32-bit*)
   14030 	case $host in
   14031 	  x86_64-*kfreebsd*-gnu)
   14032 	    LD="${LD-ld} -m elf_i386_fbsd"
   14033 	    ;;
   14034 	  x86_64-*linux*)
   14035 	    case `$FILECMD conftest.o` in
   14036 	      *x86-64*)
   14037 		LD="${LD-ld} -m elf32_x86_64"
   14038 		;;
   14039 	      *)
   14040 		LD="${LD-ld} -m elf_i386"
   14041 		;;
   14042 	    esac
   14043 	    ;;
   14044 	  powerpc64le-*linux*)
   14045 	    LD="${LD-ld} -m elf32lppclinux"
   14046 	    ;;
   14047 	  powerpc64-*linux*)
   14048 	    LD="${LD-ld} -m elf32ppclinux"
   14049 	    ;;
   14050 	  s390x-*linux*)
   14051 	    LD="${LD-ld} -m elf_s390"
   14052 	    ;;
   14053 	  sparc64-*linux*)
   14054 	    LD="${LD-ld} -m elf32_sparc"
   14055 	    ;;
   14056 	esac
   14057 	;;
   14058       *64-bit*)
   14059 	case $host in
   14060 	  x86_64-*kfreebsd*-gnu)
   14061 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14062 	    ;;
   14063 	  x86_64-*linux*)
   14064 	    LD="${LD-ld} -m elf_x86_64"
   14065 	    ;;
   14066 	  powerpcle-*linux*|powerpc64le-*linux*)
   14067 	    LD="${LD-ld} -m elf64lppc"
   14068 	    ;;
   14069 	  powerpc-*linux*|powerpc64-*linux*)
   14070 	    LD="${LD-ld} -m elf64ppc"
   14071 	    ;;
   14072 	  s390*-*linux*|s390*-*tpf*)
   14073 	    LD="${LD-ld} -m elf64_s390"
   14074 	    ;;
   14075 	  sparc*-*linux*)
   14076 	    LD="${LD-ld} -m elf64_sparc"
   14077 	    ;;
   14078 	esac
   14079 	;;
   14080     esac
   14081   fi
   14082   rm -rf conftest*
   14083   ;;
   14084 
   14085 *-*-sco3.2v5*)
   14086   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14087   SAVE_CFLAGS=$CFLAGS
   14088   CFLAGS="$CFLAGS -belf"
   14089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14090 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14091 if test ${lt_cv_cc_needs_belf+y}
   14092 then :
   14093   printf %s "(cached) " >&6
   14094 else $as_nop
   14095   ac_ext=c
   14096 ac_cpp='$CPP $CPPFLAGS'
   14097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14100 
   14101      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14102 /* end confdefs.h.  */
   14103 
   14104 int
   14105 main (void)
   14106 {
   14107 
   14108   ;
   14109   return 0;
   14110 }
   14111 _ACEOF
   14112 if ac_fn_c_try_link "$LINENO"
   14113 then :
   14114   lt_cv_cc_needs_belf=yes
   14115 else $as_nop
   14116   lt_cv_cc_needs_belf=no
   14117 fi
   14118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14119     conftest$ac_exeext conftest.$ac_ext
   14120      ac_ext=c
   14121 ac_cpp='$CPP $CPPFLAGS'
   14122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14125 
   14126 fi
   14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14128 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14129   if test yes != "$lt_cv_cc_needs_belf"; then
   14130     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14131     CFLAGS=$SAVE_CFLAGS
   14132   fi
   14133   ;;
   14134 *-*solaris*)
   14135   # Find out what ABI is being produced by ac_compile, and set linker
   14136   # options accordingly.
   14137   echo 'int i;' > conftest.$ac_ext
   14138   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14139   (eval $ac_compile) 2>&5
   14140   ac_status=$?
   14141   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14142   test $ac_status = 0; }; then
   14143     case `$FILECMD conftest.o` in
   14144     *64-bit*)
   14145       case $lt_cv_prog_gnu_ld in
   14146       yes*)
   14147         case $host in
   14148         i?86-*-solaris*|x86_64-*-solaris*)
   14149           LD="${LD-ld} -m elf_x86_64"
   14150           ;;
   14151         sparc*-*-solaris*)
   14152           LD="${LD-ld} -m elf64_sparc"
   14153           ;;
   14154         esac
   14155         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14156         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14157           LD=${LD-ld}_sol2
   14158         fi
   14159         ;;
   14160       *)
   14161 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14162 	  LD="${LD-ld} -64"
   14163 	fi
   14164 	;;
   14165       esac
   14166       ;;
   14167     esac
   14168   fi
   14169   rm -rf conftest*
   14170   ;;
   14171 esac
   14172 
   14173 need_locks=$enable_libtool_lock
   14174 
   14175 if test -n "$ac_tool_prefix"; then
   14176   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14177 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14179 printf %s "checking for $ac_word... " >&6; }
   14180 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14181 then :
   14182   printf %s "(cached) " >&6
   14183 else $as_nop
   14184   if test -n "$MANIFEST_TOOL"; then
   14185   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14186 else
   14187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14188 for as_dir in $PATH
   14189 do
   14190   IFS=$as_save_IFS
   14191   case $as_dir in #(((
   14192     '') as_dir=./ ;;
   14193     */) ;;
   14194     *) as_dir=$as_dir/ ;;
   14195   esac
   14196     for ac_exec_ext in '' $ac_executable_extensions; do
   14197   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14198     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14199     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14200     break 2
   14201   fi
   14202 done
   14203   done
   14204 IFS=$as_save_IFS
   14205 
   14206 fi
   14207 fi
   14208 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14209 if test -n "$MANIFEST_TOOL"; then
   14210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14211 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14212 else
   14213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14214 printf "%s\n" "no" >&6; }
   14215 fi
   14216 
   14217 
   14218 fi
   14219 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14220   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14221   # Extract the first word of "mt", so it can be a program name with args.
   14222 set dummy mt; ac_word=$2
   14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14224 printf %s "checking for $ac_word... " >&6; }
   14225 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14226 then :
   14227   printf %s "(cached) " >&6
   14228 else $as_nop
   14229   if test -n "$ac_ct_MANIFEST_TOOL"; then
   14230   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14231 else
   14232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14233 for as_dir in $PATH
   14234 do
   14235   IFS=$as_save_IFS
   14236   case $as_dir in #(((
   14237     '') as_dir=./ ;;
   14238     */) ;;
   14239     *) as_dir=$as_dir/ ;;
   14240   esac
   14241     for ac_exec_ext in '' $ac_executable_extensions; do
   14242   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14243     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14244     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14245     break 2
   14246   fi
   14247 done
   14248   done
   14249 IFS=$as_save_IFS
   14250 
   14251 fi
   14252 fi
   14253 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14254 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14256 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14257 else
   14258   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14259 printf "%s\n" "no" >&6; }
   14260 fi
   14261 
   14262   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14263     MANIFEST_TOOL=":"
   14264   else
   14265     case $cross_compiling:$ac_tool_warned in
   14266 yes:)
   14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14268 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14269 ac_tool_warned=yes ;;
   14270 esac
   14271     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14272   fi
   14273 else
   14274   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14275 fi
   14276 
   14277 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14279 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14280 if test ${lt_cv_path_mainfest_tool+y}
   14281 then :
   14282   printf %s "(cached) " >&6
   14283 else $as_nop
   14284   lt_cv_path_mainfest_tool=no
   14285   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14286   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14287   cat conftest.err >&5
   14288   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14289     lt_cv_path_mainfest_tool=yes
   14290   fi
   14291   rm -f conftest*
   14292 fi
   14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14294 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14295 if test yes != "$lt_cv_path_mainfest_tool"; then
   14296   MANIFEST_TOOL=:
   14297 fi
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 
   14304   case $host_os in
   14305     rhapsody* | darwin*)
   14306     if test -n "$ac_tool_prefix"; then
   14307   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14308 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14310 printf %s "checking for $ac_word... " >&6; }
   14311 if test ${ac_cv_prog_DSYMUTIL+y}
   14312 then :
   14313   printf %s "(cached) " >&6
   14314 else $as_nop
   14315   if test -n "$DSYMUTIL"; then
   14316   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14317 else
   14318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14319 for as_dir in $PATH
   14320 do
   14321   IFS=$as_save_IFS
   14322   case $as_dir in #(((
   14323     '') as_dir=./ ;;
   14324     */) ;;
   14325     *) as_dir=$as_dir/ ;;
   14326   esac
   14327     for ac_exec_ext in '' $ac_executable_extensions; do
   14328   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14329     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14330     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14331     break 2
   14332   fi
   14333 done
   14334   done
   14335 IFS=$as_save_IFS
   14336 
   14337 fi
   14338 fi
   14339 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14340 if test -n "$DSYMUTIL"; then
   14341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14342 printf "%s\n" "$DSYMUTIL" >&6; }
   14343 else
   14344   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14345 printf "%s\n" "no" >&6; }
   14346 fi
   14347 
   14348 
   14349 fi
   14350 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14351   ac_ct_DSYMUTIL=$DSYMUTIL
   14352   # Extract the first word of "dsymutil", so it can be a program name with args.
   14353 set dummy dsymutil; ac_word=$2
   14354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14355 printf %s "checking for $ac_word... " >&6; }
   14356 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14357 then :
   14358   printf %s "(cached) " >&6
   14359 else $as_nop
   14360   if test -n "$ac_ct_DSYMUTIL"; then
   14361   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14362 else
   14363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14364 for as_dir in $PATH
   14365 do
   14366   IFS=$as_save_IFS
   14367   case $as_dir in #(((
   14368     '') as_dir=./ ;;
   14369     */) ;;
   14370     *) as_dir=$as_dir/ ;;
   14371   esac
   14372     for ac_exec_ext in '' $ac_executable_extensions; do
   14373   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14374     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14375     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14376     break 2
   14377   fi
   14378 done
   14379   done
   14380 IFS=$as_save_IFS
   14381 
   14382 fi
   14383 fi
   14384 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14385 if test -n "$ac_ct_DSYMUTIL"; then
   14386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14387 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14388 else
   14389   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14390 printf "%s\n" "no" >&6; }
   14391 fi
   14392 
   14393   if test "x$ac_ct_DSYMUTIL" = x; then
   14394     DSYMUTIL=":"
   14395   else
   14396     case $cross_compiling:$ac_tool_warned in
   14397 yes:)
   14398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14399 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14400 ac_tool_warned=yes ;;
   14401 esac
   14402     DSYMUTIL=$ac_ct_DSYMUTIL
   14403   fi
   14404 else
   14405   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14406 fi
   14407 
   14408     if test -n "$ac_tool_prefix"; then
   14409   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14410 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14412 printf %s "checking for $ac_word... " >&6; }
   14413 if test ${ac_cv_prog_NMEDIT+y}
   14414 then :
   14415   printf %s "(cached) " >&6
   14416 else $as_nop
   14417   if test -n "$NMEDIT"; then
   14418   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14419 else
   14420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14421 for as_dir in $PATH
   14422 do
   14423   IFS=$as_save_IFS
   14424   case $as_dir in #(((
   14425     '') as_dir=./ ;;
   14426     */) ;;
   14427     *) as_dir=$as_dir/ ;;
   14428   esac
   14429     for ac_exec_ext in '' $ac_executable_extensions; do
   14430   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14431     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14432     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14433     break 2
   14434   fi
   14435 done
   14436   done
   14437 IFS=$as_save_IFS
   14438 
   14439 fi
   14440 fi
   14441 NMEDIT=$ac_cv_prog_NMEDIT
   14442 if test -n "$NMEDIT"; then
   14443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14444 printf "%s\n" "$NMEDIT" >&6; }
   14445 else
   14446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14447 printf "%s\n" "no" >&6; }
   14448 fi
   14449 
   14450 
   14451 fi
   14452 if test -z "$ac_cv_prog_NMEDIT"; then
   14453   ac_ct_NMEDIT=$NMEDIT
   14454   # Extract the first word of "nmedit", so it can be a program name with args.
   14455 set dummy nmedit; ac_word=$2
   14456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14457 printf %s "checking for $ac_word... " >&6; }
   14458 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14459 then :
   14460   printf %s "(cached) " >&6
   14461 else $as_nop
   14462   if test -n "$ac_ct_NMEDIT"; then
   14463   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14464 else
   14465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14466 for as_dir in $PATH
   14467 do
   14468   IFS=$as_save_IFS
   14469   case $as_dir in #(((
   14470     '') as_dir=./ ;;
   14471     */) ;;
   14472     *) as_dir=$as_dir/ ;;
   14473   esac
   14474     for ac_exec_ext in '' $ac_executable_extensions; do
   14475   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14476     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14477     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14478     break 2
   14479   fi
   14480 done
   14481   done
   14482 IFS=$as_save_IFS
   14483 
   14484 fi
   14485 fi
   14486 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14487 if test -n "$ac_ct_NMEDIT"; then
   14488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14489 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14490 else
   14491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14492 printf "%s\n" "no" >&6; }
   14493 fi
   14494 
   14495   if test "x$ac_ct_NMEDIT" = x; then
   14496     NMEDIT=":"
   14497   else
   14498     case $cross_compiling:$ac_tool_warned in
   14499 yes:)
   14500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14501 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14502 ac_tool_warned=yes ;;
   14503 esac
   14504     NMEDIT=$ac_ct_NMEDIT
   14505   fi
   14506 else
   14507   NMEDIT="$ac_cv_prog_NMEDIT"
   14508 fi
   14509 
   14510     if test -n "$ac_tool_prefix"; then
   14511   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14512 set dummy ${ac_tool_prefix}lipo; 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_LIPO+y}
   14516 then :
   14517   printf %s "(cached) " >&6
   14518 else $as_nop
   14519   if test -n "$LIPO"; then
   14520   ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo"
   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 LIPO=$ac_cv_prog_LIPO
   14544 if test -n "$LIPO"; then
   14545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14546 printf "%s\n" "$LIPO" >&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_LIPO"; then
   14555   ac_ct_LIPO=$LIPO
   14556   # Extract the first word of "lipo", so it can be a program name with args.
   14557 set dummy lipo; 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_LIPO+y}
   14561 then :
   14562   printf %s "(cached) " >&6
   14563 else $as_nop
   14564   if test -n "$ac_ct_LIPO"; then
   14565   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_LIPO="lipo"
   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_LIPO=$ac_cv_prog_ac_ct_LIPO
   14589 if test -n "$ac_ct_LIPO"; then
   14590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14591 printf "%s\n" "$ac_ct_LIPO" >&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_LIPO" = x; then
   14598     LIPO=":"
   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     LIPO=$ac_ct_LIPO
   14607   fi
   14608 else
   14609   LIPO="$ac_cv_prog_LIPO"
   14610 fi
   14611 
   14612     if test -n "$ac_tool_prefix"; then
   14613   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14614 set dummy ${ac_tool_prefix}otool; 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_OTOOL+y}
   14618 then :
   14619   printf %s "(cached) " >&6
   14620 else $as_nop
   14621   if test -n "$OTOOL"; then
   14622   ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool"
   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 OTOOL=$ac_cv_prog_OTOOL
   14646 if test -n "$OTOOL"; then
   14647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14648 printf "%s\n" "$OTOOL" >&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_OTOOL"; then
   14657   ac_ct_OTOOL=$OTOOL
   14658   # Extract the first word of "otool", so it can be a program name with args.
   14659 set dummy otool; 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_OTOOL+y}
   14663 then :
   14664   printf %s "(cached) " >&6
   14665 else $as_nop
   14666   if test -n "$ac_ct_OTOOL"; then
   14667   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_OTOOL="otool"
   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_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14691 if test -n "$ac_ct_OTOOL"; then
   14692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14693 printf "%s\n" "$ac_ct_OTOOL" >&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_OTOOL" = x; then
   14700     OTOOL=":"
   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     OTOOL=$ac_ct_OTOOL
   14709   fi
   14710 else
   14711   OTOOL="$ac_cv_prog_OTOOL"
   14712 fi
   14713 
   14714     if test -n "$ac_tool_prefix"; then
   14715   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14716 set dummy ${ac_tool_prefix}otool64; 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_OTOOL64+y}
   14720 then :
   14721   printf %s "(cached) " >&6
   14722 else $as_nop
   14723   if test -n "$OTOOL64"; then
   14724   ac_cv_prog_OTOOL64="$OTOOL64" # 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_OTOOL64="${ac_tool_prefix}otool64"
   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 OTOOL64=$ac_cv_prog_OTOOL64
   14748 if test -n "$OTOOL64"; then
   14749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14750 printf "%s\n" "$OTOOL64" >&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_OTOOL64"; then
   14759   ac_ct_OTOOL64=$OTOOL64
   14760   # Extract the first word of "otool64", so it can be a program name with args.
   14761 set dummy otool64; 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_OTOOL64+y}
   14765 then :
   14766   printf %s "(cached) " >&6
   14767 else $as_nop
   14768   if test -n "$ac_ct_OTOOL64"; then
   14769   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_OTOOL64="otool64"
   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_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14793 if test -n "$ac_ct_OTOOL64"; then
   14794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14795 printf "%s\n" "$ac_ct_OTOOL64" >&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_OTOOL64" = x; then
   14802     OTOOL64=":"
   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     OTOOL64=$ac_ct_OTOOL64
   14811   fi
   14812 else
   14813   OTOOL64="$ac_cv_prog_OTOOL64"
   14814 fi
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14843 printf %s "checking for -single_module linker flag... " >&6; }
   14844 if test ${lt_cv_apple_cc_single_mod+y}
   14845 then :
   14846   printf %s "(cached) " >&6
   14847 else $as_nop
   14848   lt_cv_apple_cc_single_mod=no
   14849       if test -z "$LT_MULTI_MODULE"; then
   14850 	# By default we will add the -single_module flag. You can override
   14851 	# by either setting the environment variable LT_MULTI_MODULE
   14852 	# non-empty at configure time, or by adding -multi_module to the
   14853 	# link flags.
   14854 	rm -rf libconftest.dylib*
   14855 	echo "int foo(void){return 1;}" > conftest.c
   14856 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14857 -dynamiclib -Wl,-single_module conftest.c" >&5
   14858 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14859 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14860         _lt_result=$?
   14861 	# If there is a non-empty error log, and "single_module"
   14862 	# appears in it, assume the flag caused a linker warning
   14863         if test -s conftest.err && $GREP single_module conftest.err; then
   14864 	  cat conftest.err >&5
   14865 	# Otherwise, if the output was created with a 0 exit code from
   14866 	# the compiler, it worked.
   14867 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14868 	  lt_cv_apple_cc_single_mod=yes
   14869 	else
   14870 	  cat conftest.err >&5
   14871 	fi
   14872 	rm -rf libconftest.dylib*
   14873 	rm -f conftest.*
   14874       fi
   14875 fi
   14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14877 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   14878 
   14879     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14880 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   14881 if test ${lt_cv_ld_exported_symbols_list+y}
   14882 then :
   14883   printf %s "(cached) " >&6
   14884 else $as_nop
   14885   lt_cv_ld_exported_symbols_list=no
   14886       save_LDFLAGS=$LDFLAGS
   14887       echo "_main" > conftest.sym
   14888       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14890 /* end confdefs.h.  */
   14891 
   14892 int
   14893 main (void)
   14894 {
   14895 
   14896   ;
   14897   return 0;
   14898 }
   14899 _ACEOF
   14900 if ac_fn_c_try_link "$LINENO"
   14901 then :
   14902   lt_cv_ld_exported_symbols_list=yes
   14903 else $as_nop
   14904   lt_cv_ld_exported_symbols_list=no
   14905 fi
   14906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14907     conftest$ac_exeext conftest.$ac_ext
   14908 	LDFLAGS=$save_LDFLAGS
   14909 
   14910 fi
   14911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14912 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   14913 
   14914     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14915 printf %s "checking for -force_load linker flag... " >&6; }
   14916 if test ${lt_cv_ld_force_load+y}
   14917 then :
   14918   printf %s "(cached) " >&6
   14919 else $as_nop
   14920   lt_cv_ld_force_load=no
   14921       cat > conftest.c << _LT_EOF
   14922 int forced_loaded() { return 2;}
   14923 _LT_EOF
   14924       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14925       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14926       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   14927       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   14928       echo "$RANLIB libconftest.a" >&5
   14929       $RANLIB libconftest.a 2>&5
   14930       cat > conftest.c << _LT_EOF
   14931 int main() { return 0;}
   14932 _LT_EOF
   14933       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14934       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14935       _lt_result=$?
   14936       if test -s conftest.err && $GREP force_load conftest.err; then
   14937 	cat conftest.err >&5
   14938       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14939 	lt_cv_ld_force_load=yes
   14940       else
   14941 	cat conftest.err >&5
   14942       fi
   14943         rm -f conftest.err libconftest.a conftest conftest.c
   14944         rm -rf conftest.dSYM
   14945 
   14946 fi
   14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14948 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   14949     case $host_os in
   14950     rhapsody* | darwin1.[012])
   14951       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14952     darwin1.*)
   14953       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14954     darwin*)
   14955       case $MACOSX_DEPLOYMENT_TARGET,$host in
   14956         10.[012],*|,*powerpc*-darwin[5-8]*)
   14957           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14958         *)
   14959           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14960       esac
   14961     ;;
   14962   esac
   14963     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14964       _lt_dar_single_mod='$single_module'
   14965     fi
   14966     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14967       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14968     else
   14969       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14970     fi
   14971     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14972       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14973     else
   14974       _lt_dsymutil=
   14975     fi
   14976     ;;
   14977   esac
   14978 
   14979 # func_munge_path_list VARIABLE PATH
   14980 # -----------------------------------
   14981 # VARIABLE is name of variable containing _space_ separated list of
   14982 # directories to be munged by the contents of PATH, which is string
   14983 # having a format:
   14984 # "DIR[:DIR]:"
   14985 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14986 # ":DIR[:DIR]"
   14987 #       string "DIR[ DIR]" will be appended to VARIABLE
   14988 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14989 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14990 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14991 # "DIR[:DIR]"
   14992 #       VARIABLE will be replaced by "DIR[ DIR]"
   14993 func_munge_path_list ()
   14994 {
   14995     case x$2 in
   14996     x)
   14997         ;;
   14998     *:)
   14999         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   15000         ;;
   15001     x:*)
   15002         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   15003         ;;
   15004     *::*)
   15005         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   15006         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   15007         ;;
   15008     *)
   15009         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   15010         ;;
   15011     esac
   15012 }
   15013 
   15014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   15015 "
   15016 if test "x$ac_cv_header_dlfcn_h" = xyes
   15017 then :
   15018   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   15019 
   15020 fi
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 # Set options
   15027 
   15028 
   15029 
   15030         enable_dlopen=no
   15031 
   15032 
   15033   enable_win32_dll=no
   15034 
   15035 
   15036             # Check whether --enable-shared was given.
   15037 if test ${enable_shared+y}
   15038 then :
   15039   enableval=$enable_shared; p=${PACKAGE-default}
   15040     case $enableval in
   15041     yes) enable_shared=yes ;;
   15042     no) enable_shared=no ;;
   15043     *)
   15044       enable_shared=no
   15045       # Look at the argument we got.  We use all the common list separators.
   15046       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15047       for pkg in $enableval; do
   15048 	IFS=$lt_save_ifs
   15049 	if test "X$pkg" = "X$p"; then
   15050 	  enable_shared=yes
   15051 	fi
   15052       done
   15053       IFS=$lt_save_ifs
   15054       ;;
   15055     esac
   15056 else $as_nop
   15057   enable_shared=yes
   15058 fi
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 # Check whether --with-pic was given.
   15071 if test ${with_pic+y}
   15072 then :
   15073   withval=$with_pic; lt_p=${PACKAGE-default}
   15074     case $withval in
   15075     yes|no) pic_mode=$withval ;;
   15076     *)
   15077       pic_mode=default
   15078       # Look at the argument we got.  We use all the common list separators.
   15079       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15080       for lt_pkg in $withval; do
   15081 	IFS=$lt_save_ifs
   15082 	if test "X$lt_pkg" = "X$lt_p"; then
   15083 	  pic_mode=yes
   15084 	fi
   15085       done
   15086       IFS=$lt_save_ifs
   15087       ;;
   15088     esac
   15089 else $as_nop
   15090   pic_mode=default
   15091 fi
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100   # Check whether --enable-fast-install was given.
   15101 if test ${enable_fast_install+y}
   15102 then :
   15103   enableval=$enable_fast_install; p=${PACKAGE-default}
   15104     case $enableval in
   15105     yes) enable_fast_install=yes ;;
   15106     no) enable_fast_install=no ;;
   15107     *)
   15108       enable_fast_install=no
   15109       # Look at the argument we got.  We use all the common list separators.
   15110       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15111       for pkg in $enableval; do
   15112 	IFS=$lt_save_ifs
   15113 	if test "X$pkg" = "X$p"; then
   15114 	  enable_fast_install=yes
   15115 	fi
   15116       done
   15117       IFS=$lt_save_ifs
   15118       ;;
   15119     esac
   15120 else $as_nop
   15121   enable_fast_install=yes
   15122 fi
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131   shared_archive_member_spec=
   15132 case $host,$enable_shared in
   15133 power*-*-aix[5-9]*,yes)
   15134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15135 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15136 
   15137 # Check whether --with-aix-soname was given.
   15138 if test ${with_aix_soname+y}
   15139 then :
   15140   withval=$with_aix_soname; case $withval in
   15141     aix|svr4|both)
   15142       ;;
   15143     *)
   15144       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15145       ;;
   15146     esac
   15147     lt_cv_with_aix_soname=$with_aix_soname
   15148 else $as_nop
   15149   if test ${lt_cv_with_aix_soname+y}
   15150 then :
   15151   printf %s "(cached) " >&6
   15152 else $as_nop
   15153   lt_cv_with_aix_soname=aix
   15154 fi
   15155 
   15156     with_aix_soname=$lt_cv_with_aix_soname
   15157 fi
   15158 
   15159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15160 printf "%s\n" "$with_aix_soname" >&6; }
   15161   if test aix != "$with_aix_soname"; then
   15162     # For the AIX way of multilib, we name the shared archive member
   15163     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15164     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15165     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15166     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15167     if test 64 = "${OBJECT_MODE-32}"; then
   15168       shared_archive_member_spec=shr_64
   15169     else
   15170       shared_archive_member_spec=shr
   15171     fi
   15172   fi
   15173   ;;
   15174 *)
   15175   with_aix_soname=aix
   15176   ;;
   15177 esac
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 # This can be used to rebuild libtool when needed
   15189 LIBTOOL_DEPS=$ltmain
   15190 
   15191 # Always use our own libtool.
   15192 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 test -z "$LN_S" && LN_S="ln -s"
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 if test -n "${ZSH_VERSION+set}"; then
   15239    setopt NO_GLOB_SUBST
   15240 fi
   15241 
   15242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15243 printf %s "checking for objdir... " >&6; }
   15244 if test ${lt_cv_objdir+y}
   15245 then :
   15246   printf %s "(cached) " >&6
   15247 else $as_nop
   15248   rm -f .libs 2>/dev/null
   15249 mkdir .libs 2>/dev/null
   15250 if test -d .libs; then
   15251   lt_cv_objdir=.libs
   15252 else
   15253   # MS-DOS does not allow filenames that begin with a dot.
   15254   lt_cv_objdir=_libs
   15255 fi
   15256 rmdir .libs 2>/dev/null
   15257 fi
   15258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15259 printf "%s\n" "$lt_cv_objdir" >&6; }
   15260 objdir=$lt_cv_objdir
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15267 
   15268 
   15269 
   15270 
   15271 case $host_os in
   15272 aix3*)
   15273   # AIX sometimes has problems with the GCC collect2 program.  For some
   15274   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15275   # vanish in a puff of smoke.
   15276   if test set != "${COLLECT_NAMES+set}"; then
   15277     COLLECT_NAMES=
   15278     export COLLECT_NAMES
   15279   fi
   15280   ;;
   15281 esac
   15282 
   15283 # Global variables:
   15284 ofile=libtool
   15285 can_build_shared=yes
   15286 
   15287 # All known linkers require a '.a' archive for static linking (except MSVC and
   15288 # ICC, which need '.lib').
   15289 libext=a
   15290 
   15291 with_gnu_ld=$lt_cv_prog_gnu_ld
   15292 
   15293 old_CC=$CC
   15294 old_CFLAGS=$CFLAGS
   15295 
   15296 # Set sane defaults for various variables
   15297 test -z "$CC" && CC=cc
   15298 test -z "$LTCC" && LTCC=$CC
   15299 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15300 test -z "$LD" && LD=ld
   15301 test -z "$ac_objext" && ac_objext=o
   15302 
   15303 func_cc_basename $compiler
   15304 cc_basename=$func_cc_basename_result
   15305 
   15306 
   15307 # Only perform the check for file, if the check method requires it
   15308 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15309 case $deplibs_check_method in
   15310 file_magic*)
   15311   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15312     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15313 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15314 if test ${lt_cv_path_MAGIC_CMD+y}
   15315 then :
   15316   printf %s "(cached) " >&6
   15317 else $as_nop
   15318   case $MAGIC_CMD in
   15319 [\\/*] |  ?:[\\/]*)
   15320   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15321   ;;
   15322 *)
   15323   lt_save_MAGIC_CMD=$MAGIC_CMD
   15324   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15325   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15326   for ac_dir in $ac_dummy; do
   15327     IFS=$lt_save_ifs
   15328     test -z "$ac_dir" && ac_dir=.
   15329     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15330       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15331       if test -n "$file_magic_test_file"; then
   15332 	case $deplibs_check_method in
   15333 	"file_magic "*)
   15334 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15335 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15336 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15337 	    $EGREP "$file_magic_regex" > /dev/null; then
   15338 	    :
   15339 	  else
   15340 	    cat <<_LT_EOF 1>&2
   15341 
   15342 *** Warning: the command libtool uses to detect shared libraries,
   15343 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15344 *** The result is that libtool may fail to recognize shared libraries
   15345 *** as such.  This will affect the creation of libtool libraries that
   15346 *** depend on shared libraries, but programs linked with such libtool
   15347 *** libraries will work regardless of this problem.  Nevertheless, you
   15348 *** may want to report the problem to your system manager and/or to
   15349 *** bug-libtool@gnu.org
   15350 
   15351 _LT_EOF
   15352 	  fi ;;
   15353 	esac
   15354       fi
   15355       break
   15356     fi
   15357   done
   15358   IFS=$lt_save_ifs
   15359   MAGIC_CMD=$lt_save_MAGIC_CMD
   15360   ;;
   15361 esac
   15362 fi
   15363 
   15364 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15365 if test -n "$MAGIC_CMD"; then
   15366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15367 printf "%s\n" "$MAGIC_CMD" >&6; }
   15368 else
   15369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15370 printf "%s\n" "no" >&6; }
   15371 fi
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15378   if test -n "$ac_tool_prefix"; then
   15379     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15380 printf %s "checking for file... " >&6; }
   15381 if test ${lt_cv_path_MAGIC_CMD+y}
   15382 then :
   15383   printf %s "(cached) " >&6
   15384 else $as_nop
   15385   case $MAGIC_CMD in
   15386 [\\/*] |  ?:[\\/]*)
   15387   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15388   ;;
   15389 *)
   15390   lt_save_MAGIC_CMD=$MAGIC_CMD
   15391   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15392   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15393   for ac_dir in $ac_dummy; do
   15394     IFS=$lt_save_ifs
   15395     test -z "$ac_dir" && ac_dir=.
   15396     if test -f "$ac_dir/file"; then
   15397       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15398       if test -n "$file_magic_test_file"; then
   15399 	case $deplibs_check_method in
   15400 	"file_magic "*)
   15401 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15402 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15403 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15404 	    $EGREP "$file_magic_regex" > /dev/null; then
   15405 	    :
   15406 	  else
   15407 	    cat <<_LT_EOF 1>&2
   15408 
   15409 *** Warning: the command libtool uses to detect shared libraries,
   15410 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15411 *** The result is that libtool may fail to recognize shared libraries
   15412 *** as such.  This will affect the creation of libtool libraries that
   15413 *** depend on shared libraries, but programs linked with such libtool
   15414 *** libraries will work regardless of this problem.  Nevertheless, you
   15415 *** may want to report the problem to your system manager and/or to
   15416 *** bug-libtool@gnu.org
   15417 
   15418 _LT_EOF
   15419 	  fi ;;
   15420 	esac
   15421       fi
   15422       break
   15423     fi
   15424   done
   15425   IFS=$lt_save_ifs
   15426   MAGIC_CMD=$lt_save_MAGIC_CMD
   15427   ;;
   15428 esac
   15429 fi
   15430 
   15431 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15432 if test -n "$MAGIC_CMD"; then
   15433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15434 printf "%s\n" "$MAGIC_CMD" >&6; }
   15435 else
   15436   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15437 printf "%s\n" "no" >&6; }
   15438 fi
   15439 
   15440 
   15441   else
   15442     MAGIC_CMD=:
   15443   fi
   15444 fi
   15445 
   15446   fi
   15447   ;;
   15448 esac
   15449 
   15450 # Use C for the default configuration in the libtool script
   15451 
   15452 lt_save_CC=$CC
   15453 ac_ext=c
   15454 ac_cpp='$CPP $CPPFLAGS'
   15455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15458 
   15459 
   15460 # Source file extension for C test sources.
   15461 ac_ext=c
   15462 
   15463 # Object file extension for compiled C test sources.
   15464 objext=o
   15465 objext=$objext
   15466 
   15467 # Code to be used in simple compile tests
   15468 lt_simple_compile_test_code="int some_variable = 0;"
   15469 
   15470 # Code to be used in simple link tests
   15471 lt_simple_link_test_code='int main(){return(0);}'
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 # If no C compiler was specified, use CC.
   15480 LTCC=${LTCC-"$CC"}
   15481 
   15482 # If no C compiler flags were specified, use CFLAGS.
   15483 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15484 
   15485 # Allow CC to be a program name with arguments.
   15486 compiler=$CC
   15487 
   15488 # Save the default compiler, since it gets overwritten when the other
   15489 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15490 compiler_DEFAULT=$CC
   15491 
   15492 # save warnings/boilerplate of simple test code
   15493 ac_outfile=conftest.$ac_objext
   15494 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15495 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15496 _lt_compiler_boilerplate=`cat conftest.err`
   15497 $RM conftest*
   15498 
   15499 ac_outfile=conftest.$ac_objext
   15500 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15501 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15502 _lt_linker_boilerplate=`cat conftest.err`
   15503 $RM -r conftest*
   15504 
   15505 
   15506 if test -n "$compiler"; then
   15507 
   15508 lt_prog_compiler_no_builtin_flag=
   15509 
   15510 if test yes = "$GCC"; then
   15511   case $cc_basename in
   15512   nvcc*)
   15513     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15514   *)
   15515     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15516   esac
   15517 
   15518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15519 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15520 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15521 then :
   15522   printf %s "(cached) " >&6
   15523 else $as_nop
   15524   lt_cv_prog_compiler_rtti_exceptions=no
   15525    ac_outfile=conftest.$ac_objext
   15526    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15527    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15528    # Insert the option either (1) after the last *FLAGS variable, or
   15529    # (2) before a word containing "conftest.", or (3) at the end.
   15530    # Note that $ac_compile itself does not contain backslashes and begins
   15531    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15532    # The option is referenced via a variable to avoid confusing sed.
   15533    lt_compile=`echo "$ac_compile" | $SED \
   15534    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15535    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15536    -e 's:$: $lt_compiler_flag:'`
   15537    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15538    (eval "$lt_compile" 2>conftest.err)
   15539    ac_status=$?
   15540    cat conftest.err >&5
   15541    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15542    if (exit $ac_status) && test -s "$ac_outfile"; then
   15543      # The compiler can only warn and ignore the option if not recognized
   15544      # So say no if there are warnings other than the usual output.
   15545      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15546      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15547      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15548        lt_cv_prog_compiler_rtti_exceptions=yes
   15549      fi
   15550    fi
   15551    $RM conftest*
   15552 
   15553 fi
   15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15555 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15556 
   15557 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15558     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15559 else
   15560     :
   15561 fi
   15562 
   15563 fi
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570   lt_prog_compiler_wl=
   15571 lt_prog_compiler_pic=
   15572 lt_prog_compiler_static=
   15573 
   15574 
   15575   if test yes = "$GCC"; then
   15576     lt_prog_compiler_wl='-Wl,'
   15577     lt_prog_compiler_static='-static'
   15578 
   15579     case $host_os in
   15580       aix*)
   15581       # All AIX code is PIC.
   15582       if test ia64 = "$host_cpu"; then
   15583 	# AIX 5 now supports IA64 processor
   15584 	lt_prog_compiler_static='-Bstatic'
   15585       fi
   15586       lt_prog_compiler_pic='-fPIC'
   15587       ;;
   15588 
   15589     amigaos*)
   15590       case $host_cpu in
   15591       powerpc)
   15592             # see comment about AmigaOS4 .so support
   15593             lt_prog_compiler_pic='-fPIC'
   15594         ;;
   15595       m68k)
   15596             # FIXME: we need at least 68020 code to build shared libraries, but
   15597             # adding the '-m68020' flag to GCC prevents building anything better,
   15598             # like '-m68040'.
   15599             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15600         ;;
   15601       esac
   15602       ;;
   15603 
   15604     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15605       # PIC is the default for these OSes.
   15606       ;;
   15607 
   15608     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15609       # This hack is so that the source file can tell whether it is being
   15610       # built for inclusion in a dll (and should export symbols for example).
   15611       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15612       # (--disable-auto-import) libraries
   15613       lt_prog_compiler_pic='-DDLL_EXPORT'
   15614       case $host_os in
   15615       os2*)
   15616 	lt_prog_compiler_static='$wl-static'
   15617 	;;
   15618       esac
   15619       ;;
   15620 
   15621     darwin* | rhapsody*)
   15622       # PIC is the default on this platform
   15623       # Common symbols not allowed in MH_DYLIB files
   15624       lt_prog_compiler_pic='-fno-common'
   15625       ;;
   15626 
   15627     haiku*)
   15628       # PIC is the default for Haiku.
   15629       # The "-static" flag exists, but is broken.
   15630       lt_prog_compiler_static=
   15631       ;;
   15632 
   15633     hpux*)
   15634       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15635       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15636       # sets the default TLS model and affects inlining.
   15637       case $host_cpu in
   15638       hppa*64*)
   15639 	# +Z the default
   15640 	;;
   15641       *)
   15642 	lt_prog_compiler_pic='-fPIC'
   15643 	;;
   15644       esac
   15645       ;;
   15646 
   15647     interix[3-9]*)
   15648       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15649       # Instead, we relocate shared libraries at runtime.
   15650       ;;
   15651 
   15652     msdosdjgpp*)
   15653       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15654       # on systems that don't support them.
   15655       lt_prog_compiler_can_build_shared=no
   15656       enable_shared=no
   15657       ;;
   15658 
   15659     *nto* | *qnx*)
   15660       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15661       # it will coredump.
   15662       lt_prog_compiler_pic='-fPIC -shared'
   15663       ;;
   15664 
   15665     sysv4*MP*)
   15666       if test -d /usr/nec; then
   15667 	lt_prog_compiler_pic=-Kconform_pic
   15668       fi
   15669       ;;
   15670 
   15671     *)
   15672       lt_prog_compiler_pic='-fPIC'
   15673       ;;
   15674     esac
   15675 
   15676     case $cc_basename in
   15677     nvcc*) # Cuda Compiler Driver 2.2
   15678       lt_prog_compiler_wl='-Xlinker '
   15679       if test -n "$lt_prog_compiler_pic"; then
   15680         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15681       fi
   15682       ;;
   15683     esac
   15684   else
   15685     # PORTME Check for flag to pass linker flags through the system compiler.
   15686     case $host_os in
   15687     aix*)
   15688       lt_prog_compiler_wl='-Wl,'
   15689       if test ia64 = "$host_cpu"; then
   15690 	# AIX 5 now supports IA64 processor
   15691 	lt_prog_compiler_static='-Bstatic'
   15692       else
   15693 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15694       fi
   15695       ;;
   15696 
   15697     darwin* | rhapsody*)
   15698       # PIC is the default on this platform
   15699       # Common symbols not allowed in MH_DYLIB files
   15700       lt_prog_compiler_pic='-fno-common'
   15701       case $cc_basename in
   15702       nagfor*)
   15703         # NAG Fortran compiler
   15704         lt_prog_compiler_wl='-Wl,-Wl,,'
   15705         lt_prog_compiler_pic='-PIC'
   15706         lt_prog_compiler_static='-Bstatic'
   15707         ;;
   15708       esac
   15709       ;;
   15710 
   15711     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15712       # This hack is so that the source file can tell whether it is being
   15713       # built for inclusion in a dll (and should export symbols for example).
   15714       lt_prog_compiler_pic='-DDLL_EXPORT'
   15715       case $host_os in
   15716       os2*)
   15717 	lt_prog_compiler_static='$wl-static'
   15718 	;;
   15719       esac
   15720       ;;
   15721 
   15722     hpux9* | hpux10* | hpux11*)
   15723       lt_prog_compiler_wl='-Wl,'
   15724       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15725       # not for PA HP-UX.
   15726       case $host_cpu in
   15727       hppa*64*|ia64*)
   15728 	# +Z the default
   15729 	;;
   15730       *)
   15731 	lt_prog_compiler_pic='+Z'
   15732 	;;
   15733       esac
   15734       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15735       lt_prog_compiler_static='$wl-a ${wl}archive'
   15736       ;;
   15737 
   15738     irix5* | irix6* | nonstopux*)
   15739       lt_prog_compiler_wl='-Wl,'
   15740       # PIC (with -KPIC) is the default.
   15741       lt_prog_compiler_static='-non_shared'
   15742       ;;
   15743 
   15744     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15745       case $cc_basename in
   15746       # old Intel for x86_64, which still supported -KPIC.
   15747       ecc*)
   15748 	lt_prog_compiler_wl='-Wl,'
   15749 	lt_prog_compiler_pic='-KPIC'
   15750 	lt_prog_compiler_static='-static'
   15751         ;;
   15752       # icc used to be incompatible with GCC.
   15753       # ICC 10 doesn't accept -KPIC any more.
   15754       icc* | ifort*)
   15755 	lt_prog_compiler_wl='-Wl,'
   15756 	lt_prog_compiler_pic='-fPIC'
   15757 	lt_prog_compiler_static='-static'
   15758         ;;
   15759       # Lahey Fortran 8.1.
   15760       lf95*)
   15761 	lt_prog_compiler_wl='-Wl,'
   15762 	lt_prog_compiler_pic='--shared'
   15763 	lt_prog_compiler_static='--static'
   15764 	;;
   15765       nagfor*)
   15766 	# NAG Fortran compiler
   15767 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15768 	lt_prog_compiler_pic='-PIC'
   15769 	lt_prog_compiler_static='-Bstatic'
   15770 	;;
   15771       tcc*)
   15772 	# Fabrice Bellard et al's Tiny C Compiler
   15773 	lt_prog_compiler_wl='-Wl,'
   15774 	lt_prog_compiler_pic='-fPIC'
   15775 	lt_prog_compiler_static='-static'
   15776 	;;
   15777       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15778         # Portland Group compilers (*not* the Pentium gcc compiler,
   15779 	# which looks to be a dead project)
   15780 	lt_prog_compiler_wl='-Wl,'
   15781 	lt_prog_compiler_pic='-fpic'
   15782 	lt_prog_compiler_static='-Bstatic'
   15783         ;;
   15784       ccc*)
   15785         lt_prog_compiler_wl='-Wl,'
   15786         # All Alpha code is PIC.
   15787         lt_prog_compiler_static='-non_shared'
   15788         ;;
   15789       xl* | bgxl* | bgf* | mpixl*)
   15790 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15791 	lt_prog_compiler_wl='-Wl,'
   15792 	lt_prog_compiler_pic='-qpic'
   15793 	lt_prog_compiler_static='-qstaticlink'
   15794 	;;
   15795       *)
   15796 	case `$CC -V 2>&1 | $SED 5q` in
   15797 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15798 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15799 	  lt_prog_compiler_pic='-KPIC'
   15800 	  lt_prog_compiler_static='-Bstatic'
   15801 	  lt_prog_compiler_wl=''
   15802 	  ;;
   15803 	*Sun\ F* | *Sun*Fortran*)
   15804 	  lt_prog_compiler_pic='-KPIC'
   15805 	  lt_prog_compiler_static='-Bstatic'
   15806 	  lt_prog_compiler_wl='-Qoption ld '
   15807 	  ;;
   15808 	*Sun\ C*)
   15809 	  # Sun C 5.9
   15810 	  lt_prog_compiler_pic='-KPIC'
   15811 	  lt_prog_compiler_static='-Bstatic'
   15812 	  lt_prog_compiler_wl='-Wl,'
   15813 	  ;;
   15814         *Intel*\ [CF]*Compiler*)
   15815 	  lt_prog_compiler_wl='-Wl,'
   15816 	  lt_prog_compiler_pic='-fPIC'
   15817 	  lt_prog_compiler_static='-static'
   15818 	  ;;
   15819 	*Portland\ Group*)
   15820 	  lt_prog_compiler_wl='-Wl,'
   15821 	  lt_prog_compiler_pic='-fpic'
   15822 	  lt_prog_compiler_static='-Bstatic'
   15823 	  ;;
   15824 	esac
   15825 	;;
   15826       esac
   15827       ;;
   15828 
   15829     newsos6)
   15830       lt_prog_compiler_pic='-KPIC'
   15831       lt_prog_compiler_static='-Bstatic'
   15832       ;;
   15833 
   15834     *nto* | *qnx*)
   15835       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15836       # it will coredump.
   15837       lt_prog_compiler_pic='-fPIC -shared'
   15838       ;;
   15839 
   15840     osf3* | osf4* | osf5*)
   15841       lt_prog_compiler_wl='-Wl,'
   15842       # All OSF/1 code is PIC.
   15843       lt_prog_compiler_static='-non_shared'
   15844       ;;
   15845 
   15846     rdos*)
   15847       lt_prog_compiler_static='-non_shared'
   15848       ;;
   15849 
   15850     solaris*)
   15851       lt_prog_compiler_pic='-KPIC'
   15852       lt_prog_compiler_static='-Bstatic'
   15853       case $cc_basename in
   15854       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15855 	lt_prog_compiler_wl='-Qoption ld ';;
   15856       *)
   15857 	lt_prog_compiler_wl='-Wl,';;
   15858       esac
   15859       ;;
   15860 
   15861     sunos4*)
   15862       lt_prog_compiler_wl='-Qoption ld '
   15863       lt_prog_compiler_pic='-PIC'
   15864       lt_prog_compiler_static='-Bstatic'
   15865       ;;
   15866 
   15867     sysv4 | sysv4.2uw2* | sysv4.3*)
   15868       lt_prog_compiler_wl='-Wl,'
   15869       lt_prog_compiler_pic='-KPIC'
   15870       lt_prog_compiler_static='-Bstatic'
   15871       ;;
   15872 
   15873     sysv4*MP*)
   15874       if test -d /usr/nec; then
   15875 	lt_prog_compiler_pic='-Kconform_pic'
   15876 	lt_prog_compiler_static='-Bstatic'
   15877       fi
   15878       ;;
   15879 
   15880     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15881       lt_prog_compiler_wl='-Wl,'
   15882       lt_prog_compiler_pic='-KPIC'
   15883       lt_prog_compiler_static='-Bstatic'
   15884       ;;
   15885 
   15886     unicos*)
   15887       lt_prog_compiler_wl='-Wl,'
   15888       lt_prog_compiler_can_build_shared=no
   15889       ;;
   15890 
   15891     uts4*)
   15892       lt_prog_compiler_pic='-pic'
   15893       lt_prog_compiler_static='-Bstatic'
   15894       ;;
   15895 
   15896     *)
   15897       lt_prog_compiler_can_build_shared=no
   15898       ;;
   15899     esac
   15900   fi
   15901 
   15902 case $host_os in
   15903   # For platforms that do not support PIC, -DPIC is meaningless:
   15904   *djgpp*)
   15905     lt_prog_compiler_pic=
   15906     ;;
   15907   *)
   15908     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15909     ;;
   15910 esac
   15911 
   15912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15913 printf %s "checking for $compiler option to produce PIC... " >&6; }
   15914 if test ${lt_cv_prog_compiler_pic+y}
   15915 then :
   15916   printf %s "(cached) " >&6
   15917 else $as_nop
   15918   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15919 fi
   15920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15921 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   15922 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15923 
   15924 #
   15925 # Check to make sure the PIC flag actually works.
   15926 #
   15927 if test -n "$lt_prog_compiler_pic"; then
   15928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15929 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15930 if test ${lt_cv_prog_compiler_pic_works+y}
   15931 then :
   15932   printf %s "(cached) " >&6
   15933 else $as_nop
   15934   lt_cv_prog_compiler_pic_works=no
   15935    ac_outfile=conftest.$ac_objext
   15936    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15937    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15938    # Insert the option either (1) after the last *FLAGS variable, or
   15939    # (2) before a word containing "conftest.", or (3) at the end.
   15940    # Note that $ac_compile itself does not contain backslashes and begins
   15941    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15942    # The option is referenced via a variable to avoid confusing sed.
   15943    lt_compile=`echo "$ac_compile" | $SED \
   15944    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15945    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15946    -e 's:$: $lt_compiler_flag:'`
   15947    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15948    (eval "$lt_compile" 2>conftest.err)
   15949    ac_status=$?
   15950    cat conftest.err >&5
   15951    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15952    if (exit $ac_status) && test -s "$ac_outfile"; then
   15953      # The compiler can only warn and ignore the option if not recognized
   15954      # So say no if there are warnings other than the usual output.
   15955      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15956      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15957      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15958        lt_cv_prog_compiler_pic_works=yes
   15959      fi
   15960    fi
   15961    $RM conftest*
   15962 
   15963 fi
   15964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15965 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   15966 
   15967 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15968     case $lt_prog_compiler_pic in
   15969      "" | " "*) ;;
   15970      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15971      esac
   15972 else
   15973     lt_prog_compiler_pic=
   15974      lt_prog_compiler_can_build_shared=no
   15975 fi
   15976 
   15977 fi
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 #
   15990 # Check to make sure the static flag actually works.
   15991 #
   15992 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15994 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15995 if test ${lt_cv_prog_compiler_static_works+y}
   15996 then :
   15997   printf %s "(cached) " >&6
   15998 else $as_nop
   15999   lt_cv_prog_compiler_static_works=no
   16000    save_LDFLAGS=$LDFLAGS
   16001    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   16002    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16003    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16004      # The linker can only warn and ignore the option if not recognized
   16005      # So say no if there are warnings
   16006      if test -s conftest.err; then
   16007        # Append any errors to the config.log.
   16008        cat conftest.err 1>&5
   16009        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16010        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16011        if diff conftest.exp conftest.er2 >/dev/null; then
   16012          lt_cv_prog_compiler_static_works=yes
   16013        fi
   16014      else
   16015        lt_cv_prog_compiler_static_works=yes
   16016      fi
   16017    fi
   16018    $RM -r conftest*
   16019    LDFLAGS=$save_LDFLAGS
   16020 
   16021 fi
   16022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   16023 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   16024 
   16025 if test yes = "$lt_cv_prog_compiler_static_works"; then
   16026     :
   16027 else
   16028     lt_prog_compiler_static=
   16029 fi
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16038 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16039 if test ${lt_cv_prog_compiler_c_o+y}
   16040 then :
   16041   printf %s "(cached) " >&6
   16042 else $as_nop
   16043   lt_cv_prog_compiler_c_o=no
   16044    $RM -r conftest 2>/dev/null
   16045    mkdir conftest
   16046    cd conftest
   16047    mkdir out
   16048    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16049 
   16050    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16051    # Insert the option either (1) after the last *FLAGS variable, or
   16052    # (2) before a word containing "conftest.", or (3) at the end.
   16053    # Note that $ac_compile itself does not contain backslashes and begins
   16054    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16055    lt_compile=`echo "$ac_compile" | $SED \
   16056    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16057    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16058    -e 's:$: $lt_compiler_flag:'`
   16059    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16060    (eval "$lt_compile" 2>out/conftest.err)
   16061    ac_status=$?
   16062    cat out/conftest.err >&5
   16063    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16064    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16065    then
   16066      # The compiler can only warn and ignore the option if not recognized
   16067      # So say no if there are warnings
   16068      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16069      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16070      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16071        lt_cv_prog_compiler_c_o=yes
   16072      fi
   16073    fi
   16074    chmod u+w . 2>&5
   16075    $RM conftest*
   16076    # SGI C++ compiler will create directory out/ii_files/ for
   16077    # template instantiation
   16078    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16079    $RM out/* && rmdir out
   16080    cd ..
   16081    $RM -r conftest
   16082    $RM conftest*
   16083 
   16084 fi
   16085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16086 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16094 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16095 if test ${lt_cv_prog_compiler_c_o+y}
   16096 then :
   16097   printf %s "(cached) " >&6
   16098 else $as_nop
   16099   lt_cv_prog_compiler_c_o=no
   16100    $RM -r conftest 2>/dev/null
   16101    mkdir conftest
   16102    cd conftest
   16103    mkdir out
   16104    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16105 
   16106    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16107    # Insert the option either (1) after the last *FLAGS variable, or
   16108    # (2) before a word containing "conftest.", or (3) at the end.
   16109    # Note that $ac_compile itself does not contain backslashes and begins
   16110    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16111    lt_compile=`echo "$ac_compile" | $SED \
   16112    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16113    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16114    -e 's:$: $lt_compiler_flag:'`
   16115    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16116    (eval "$lt_compile" 2>out/conftest.err)
   16117    ac_status=$?
   16118    cat out/conftest.err >&5
   16119    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16120    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16121    then
   16122      # The compiler can only warn and ignore the option if not recognized
   16123      # So say no if there are warnings
   16124      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16125      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16126      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16127        lt_cv_prog_compiler_c_o=yes
   16128      fi
   16129    fi
   16130    chmod u+w . 2>&5
   16131    $RM conftest*
   16132    # SGI C++ compiler will create directory out/ii_files/ for
   16133    # template instantiation
   16134    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16135    $RM out/* && rmdir out
   16136    cd ..
   16137    $RM -r conftest
   16138    $RM conftest*
   16139 
   16140 fi
   16141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16142 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16143 
   16144 
   16145 
   16146 
   16147 hard_links=nottested
   16148 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16149   # do not overwrite the value of need_locks provided by the user
   16150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16151 printf %s "checking if we can lock with hard links... " >&6; }
   16152   hard_links=yes
   16153   $RM conftest*
   16154   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16155   touch conftest.a
   16156   ln conftest.a conftest.b 2>&5 || hard_links=no
   16157   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16159 printf "%s\n" "$hard_links" >&6; }
   16160   if test no = "$hard_links"; then
   16161     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16162 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16163     need_locks=warn
   16164   fi
   16165 else
   16166   need_locks=no
   16167 fi
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16175 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16176 
   16177   runpath_var=
   16178   allow_undefined_flag=
   16179   always_export_symbols=no
   16180   archive_cmds=
   16181   archive_expsym_cmds=
   16182   compiler_needs_object=no
   16183   enable_shared_with_static_runtimes=no
   16184   export_dynamic_flag_spec=
   16185   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16186   hardcode_automatic=no
   16187   hardcode_direct=no
   16188   hardcode_direct_absolute=no
   16189   hardcode_libdir_flag_spec=
   16190   hardcode_libdir_separator=
   16191   hardcode_minus_L=no
   16192   hardcode_shlibpath_var=unsupported
   16193   inherit_rpath=no
   16194   link_all_deplibs=unknown
   16195   module_cmds=
   16196   module_expsym_cmds=
   16197   old_archive_from_new_cmds=
   16198   old_archive_from_expsyms_cmds=
   16199   thread_safe_flag_spec=
   16200   whole_archive_flag_spec=
   16201   # include_expsyms should be a list of space-separated symbols to be *always*
   16202   # included in the symbol list
   16203   include_expsyms=
   16204   # exclude_expsyms can be an extended regexp of symbols to exclude
   16205   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16206   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16207   # as well as any symbol that contains 'd'.
   16208   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16209   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16210   # platforms (ab)use it in PIC code, but their linkers get confused if
   16211   # the symbol is explicitly referenced.  Since portable code cannot
   16212   # rely on this symbol name, it's probably fine to never include it in
   16213   # preloaded symbol tables.
   16214   # Exclude shared library initialization/finalization symbols.
   16215   extract_expsyms_cmds=
   16216 
   16217   case $host_os in
   16218   cygwin* | mingw* | pw32* | cegcc*)
   16219     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16220     # When not using gcc, we currently assume that we are using
   16221     # Microsoft Visual C++ or Intel C++ Compiler.
   16222     if test yes != "$GCC"; then
   16223       with_gnu_ld=no
   16224     fi
   16225     ;;
   16226   interix*)
   16227     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16228     with_gnu_ld=yes
   16229     ;;
   16230   openbsd* | bitrig*)
   16231     with_gnu_ld=no
   16232     ;;
   16233   esac
   16234 
   16235   ld_shlibs=yes
   16236 
   16237   # On some targets, GNU ld is compatible enough with the native linker
   16238   # that we're better off using the native interface for both.
   16239   lt_use_gnu_ld_interface=no
   16240   if test yes = "$with_gnu_ld"; then
   16241     case $host_os in
   16242       aix*)
   16243 	# The AIX port of GNU ld has always aspired to compatibility
   16244 	# with the native linker.  However, as the warning in the GNU ld
   16245 	# block says, versions before 2.19.5* couldn't really create working
   16246 	# shared libraries, regardless of the interface used.
   16247 	case `$LD -v 2>&1` in
   16248 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16249 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16250 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16251 	  *)
   16252 	    lt_use_gnu_ld_interface=yes
   16253 	    ;;
   16254 	esac
   16255 	;;
   16256       *)
   16257 	lt_use_gnu_ld_interface=yes
   16258 	;;
   16259     esac
   16260   fi
   16261 
   16262   if test yes = "$lt_use_gnu_ld_interface"; then
   16263     # If archive_cmds runs LD, not CC, wlarc should be empty
   16264     wlarc='$wl'
   16265 
   16266     # Set some defaults for GNU ld with shared library support. These
   16267     # are reset later if shared libraries are not supported. Putting them
   16268     # here allows them to be overridden if necessary.
   16269     runpath_var=LD_RUN_PATH
   16270     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16271     export_dynamic_flag_spec='$wl--export-dynamic'
   16272     # ancient GNU ld didn't support --whole-archive et. al.
   16273     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16274       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16275     else
   16276       whole_archive_flag_spec=
   16277     fi
   16278     supports_anon_versioning=no
   16279     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16280       *GNU\ gold*) supports_anon_versioning=yes ;;
   16281       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16282       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16283       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16284       *\ 2.11.*) ;; # other 2.11 versions
   16285       *) supports_anon_versioning=yes ;;
   16286     esac
   16287 
   16288     # See if GNU ld supports shared libraries.
   16289     case $host_os in
   16290     aix[3-9]*)
   16291       # On AIX/PPC, the GNU linker is very broken
   16292       if test ia64 != "$host_cpu"; then
   16293 	ld_shlibs=no
   16294 	cat <<_LT_EOF 1>&2
   16295 
   16296 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16297 *** to be unable to reliably create shared libraries on AIX.
   16298 *** Therefore, libtool is disabling shared libraries support.  If you
   16299 *** really care for shared libraries, you may want to install binutils
   16300 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16301 *** You will then need to restart the configuration process.
   16302 
   16303 _LT_EOF
   16304       fi
   16305       ;;
   16306 
   16307     amigaos*)
   16308       case $host_cpu in
   16309       powerpc)
   16310             # see comment about AmigaOS4 .so support
   16311             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16312             archive_expsym_cmds=''
   16313         ;;
   16314       m68k)
   16315             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)'
   16316             hardcode_libdir_flag_spec='-L$libdir'
   16317             hardcode_minus_L=yes
   16318         ;;
   16319       esac
   16320       ;;
   16321 
   16322     beos*)
   16323       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16324 	allow_undefined_flag=unsupported
   16325 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16326 	# support --undefined.  This deserves some investigation.  FIXME
   16327 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16328       else
   16329 	ld_shlibs=no
   16330       fi
   16331       ;;
   16332 
   16333     cygwin* | mingw* | pw32* | cegcc*)
   16334       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16335       # as there is no search path for DLLs.
   16336       hardcode_libdir_flag_spec='-L$libdir'
   16337       export_dynamic_flag_spec='$wl--export-all-symbols'
   16338       allow_undefined_flag=unsupported
   16339       always_export_symbols=no
   16340       enable_shared_with_static_runtimes=yes
   16341       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'
   16342       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16343 
   16344       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16345         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16346 	# If the export-symbols file already is a .def file, use it as
   16347 	# is; otherwise, prepend EXPORTS...
   16348 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16349           cp $export_symbols $output_objdir/$soname.def;
   16350         else
   16351           echo EXPORTS > $output_objdir/$soname.def;
   16352           cat $export_symbols >> $output_objdir/$soname.def;
   16353         fi~
   16354         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16355       else
   16356 	ld_shlibs=no
   16357       fi
   16358       ;;
   16359 
   16360     haiku*)
   16361       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16362       link_all_deplibs=yes
   16363       ;;
   16364 
   16365     os2*)
   16366       hardcode_libdir_flag_spec='-L$libdir'
   16367       hardcode_minus_L=yes
   16368       allow_undefined_flag=unsupported
   16369       shrext_cmds=.dll
   16370       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16371 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16372 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16373 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16374 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16375 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16376 	emximp -o $lib $output_objdir/$libname.def'
   16377       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16378 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16379 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16380 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16381 	prefix_cmds="$SED"~
   16382 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16383 	  prefix_cmds="$prefix_cmds -e 1d";
   16384 	fi~
   16385 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16386 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16387 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16388 	emximp -o $lib $output_objdir/$libname.def'
   16389       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16390       enable_shared_with_static_runtimes=yes
   16391       file_list_spec='@'
   16392       ;;
   16393 
   16394     interix[3-9]*)
   16395       hardcode_direct=no
   16396       hardcode_shlibpath_var=no
   16397       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16398       export_dynamic_flag_spec='$wl-E'
   16399       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16400       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16401       # default) and relocated if they conflict, which is a slow very memory
   16402       # consuming and fragmenting process.  To avoid this, we pick a random,
   16403       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16404       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16405       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16406       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'
   16407       ;;
   16408 
   16409     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16410       tmp_diet=no
   16411       if test linux-dietlibc = "$host_os"; then
   16412 	case $cc_basename in
   16413 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16414 	esac
   16415       fi
   16416       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16417 	 && test no = "$tmp_diet"
   16418       then
   16419 	tmp_addflag=' $pic_flag'
   16420 	tmp_sharedflag='-shared'
   16421 	case $cc_basename,$host_cpu in
   16422         pgcc*)				# Portland Group C compiler
   16423 	  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'
   16424 	  tmp_addflag=' $pic_flag'
   16425 	  ;;
   16426 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16427 					# Portland Group f77 and f90 compilers
   16428 	  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'
   16429 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16430 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16431 	  tmp_addflag=' -i_dynamic' ;;
   16432 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16433 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16434 	ifc* | ifort*)			# Intel Fortran compiler
   16435 	  tmp_addflag=' -nofor_main' ;;
   16436 	lf95*)				# Lahey Fortran 8.1
   16437 	  whole_archive_flag_spec=
   16438 	  tmp_sharedflag='--shared' ;;
   16439         nagfor*)                        # NAGFOR 5.3
   16440           tmp_sharedflag='-Wl,-shared' ;;
   16441 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16442 	  tmp_sharedflag='-qmkshrobj'
   16443 	  tmp_addflag= ;;
   16444 	nvcc*)	# Cuda Compiler Driver 2.2
   16445 	  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'
   16446 	  compiler_needs_object=yes
   16447 	  ;;
   16448 	esac
   16449 	case `$CC -V 2>&1 | $SED 5q` in
   16450 	*Sun\ C*)			# Sun C 5.9
   16451 	  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'
   16452 	  compiler_needs_object=yes
   16453 	  tmp_sharedflag='-G' ;;
   16454 	*Sun\ F*)			# Sun Fortran 8.3
   16455 	  tmp_sharedflag='-G' ;;
   16456 	esac
   16457 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16458 
   16459         if test yes = "$supports_anon_versioning"; then
   16460           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16461             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16462             echo "local: *; };" >> $output_objdir/$libname.ver~
   16463             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16464         fi
   16465 
   16466 	case $cc_basename in
   16467 	tcc*)
   16468 	  export_dynamic_flag_spec='-rdynamic'
   16469 	  ;;
   16470 	xlf* | bgf* | bgxlf* | mpixlf*)
   16471 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16472 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16473 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16474 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16475 	  if test yes = "$supports_anon_versioning"; then
   16476 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16477               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16478               echo "local: *; };" >> $output_objdir/$libname.ver~
   16479               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16480 	  fi
   16481 	  ;;
   16482 	esac
   16483       else
   16484         ld_shlibs=no
   16485       fi
   16486       ;;
   16487 
   16488     netbsd*)
   16489       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16490 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16491 	wlarc=
   16492       else
   16493 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16494 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16495       fi
   16496       ;;
   16497 
   16498     solaris*)
   16499       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16500 	ld_shlibs=no
   16501 	cat <<_LT_EOF 1>&2
   16502 
   16503 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16504 *** create shared libraries on Solaris systems.  Therefore, libtool
   16505 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16506 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16507 *** your PATH or compiler configuration so that the native linker is
   16508 *** used, and then restart.
   16509 
   16510 _LT_EOF
   16511       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16512 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16513 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16514       else
   16515 	ld_shlibs=no
   16516       fi
   16517       ;;
   16518 
   16519     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16520       case `$LD -v 2>&1` in
   16521         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16522 	ld_shlibs=no
   16523 	cat <<_LT_EOF 1>&2
   16524 
   16525 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16526 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16527 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16528 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16529 *** your PATH or compiler configuration so that the native linker is
   16530 *** used, and then restart.
   16531 
   16532 _LT_EOF
   16533 	;;
   16534 	*)
   16535 	  # For security reasons, it is highly recommended that you always
   16536 	  # use absolute paths for naming shared libraries, and exclude the
   16537 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16538 	  # requires that you compile everything twice, which is a pain.
   16539 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16540 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16541 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16542 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16543 	  else
   16544 	    ld_shlibs=no
   16545 	  fi
   16546 	;;
   16547       esac
   16548       ;;
   16549 
   16550     sunos4*)
   16551       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16552       wlarc=
   16553       hardcode_direct=yes
   16554       hardcode_shlibpath_var=no
   16555       ;;
   16556 
   16557     *)
   16558       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16559 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16560 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16561       else
   16562 	ld_shlibs=no
   16563       fi
   16564       ;;
   16565     esac
   16566 
   16567     if test no = "$ld_shlibs"; then
   16568       runpath_var=
   16569       hardcode_libdir_flag_spec=
   16570       export_dynamic_flag_spec=
   16571       whole_archive_flag_spec=
   16572     fi
   16573   else
   16574     # PORTME fill in a description of your system's linker (not GNU ld)
   16575     case $host_os in
   16576     aix3*)
   16577       allow_undefined_flag=unsupported
   16578       always_export_symbols=yes
   16579       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'
   16580       # Note: this linker hardcodes the directories in LIBPATH if there
   16581       # are no directories specified by -L.
   16582       hardcode_minus_L=yes
   16583       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16584 	# Neither direct hardcoding nor static linking is supported with a
   16585 	# broken collect2.
   16586 	hardcode_direct=unsupported
   16587       fi
   16588       ;;
   16589 
   16590     aix[4-9]*)
   16591       if test ia64 = "$host_cpu"; then
   16592 	# On IA64, the linker does run time linking by default, so we don't
   16593 	# have to do anything special.
   16594 	aix_use_runtimelinking=no
   16595 	exp_sym_flag='-Bexport'
   16596 	no_entry_flag=
   16597       else
   16598 	# If we're using GNU nm, then we don't want the "-C" option.
   16599 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16600 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16601 	# weak defined symbols like other global defined symbols, whereas
   16602 	# GNU nm marks them as "W".
   16603 	# While the 'weak' keyword is ignored in the Export File, we need
   16604 	# it in the Import File for the 'aix-soname' feature, so we have
   16605 	# to replace the "-B" option with "-P" for AIX nm.
   16606 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16607 	  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'
   16608 	else
   16609 	  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'
   16610 	fi
   16611 	aix_use_runtimelinking=no
   16612 
   16613 	# Test if we are trying to use run time linking or normal
   16614 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16615 	# have runtime linking enabled, and use it for executables.
   16616 	# For shared libraries, we enable/disable runtime linking
   16617 	# depending on the kind of the shared library created -
   16618 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16619 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16620 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16621 	#            lib.a           static archive
   16622 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16623 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16624 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16625 	#            lib.a(lib.so.V) shared, rtl:no
   16626 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16627 	#            lib.a           static archive
   16628 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16629 	  for ld_flag in $LDFLAGS; do
   16630 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16631 	    aix_use_runtimelinking=yes
   16632 	    break
   16633 	  fi
   16634 	  done
   16635 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16636 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16637 	    # so we don't have lib.a shared libs to link our executables.
   16638 	    # We have to force runtime linking in this case.
   16639 	    aix_use_runtimelinking=yes
   16640 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16641 	  fi
   16642 	  ;;
   16643 	esac
   16644 
   16645 	exp_sym_flag='-bexport'
   16646 	no_entry_flag='-bnoentry'
   16647       fi
   16648 
   16649       # When large executables or shared objects are built, AIX ld can
   16650       # have problems creating the table of contents.  If linking a library
   16651       # or program results in "error TOC overflow" add -mminimal-toc to
   16652       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16653       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16654 
   16655       archive_cmds=''
   16656       hardcode_direct=yes
   16657       hardcode_direct_absolute=yes
   16658       hardcode_libdir_separator=':'
   16659       link_all_deplibs=yes
   16660       file_list_spec='$wl-f,'
   16661       case $with_aix_soname,$aix_use_runtimelinking in
   16662       aix,*) ;; # traditional, no import file
   16663       svr4,* | *,yes) # use import file
   16664 	# The Import File defines what to hardcode.
   16665 	hardcode_direct=no
   16666 	hardcode_direct_absolute=no
   16667 	;;
   16668       esac
   16669 
   16670       if test yes = "$GCC"; then
   16671 	case $host_os in aix4.[012]|aix4.[012].*)
   16672 	# We only want to do this on AIX 4.2 and lower, the check
   16673 	# below for broken collect2 doesn't work under 4.3+
   16674 	  collect2name=`$CC -print-prog-name=collect2`
   16675 	  if test -f "$collect2name" &&
   16676 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16677 	  then
   16678 	  # We have reworked collect2
   16679 	  :
   16680 	  else
   16681 	  # We have old collect2
   16682 	  hardcode_direct=unsupported
   16683 	  # It fails to find uninstalled libraries when the uninstalled
   16684 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16685 	  # to unsupported forces relinking
   16686 	  hardcode_minus_L=yes
   16687 	  hardcode_libdir_flag_spec='-L$libdir'
   16688 	  hardcode_libdir_separator=
   16689 	  fi
   16690 	  ;;
   16691 	esac
   16692 	shared_flag='-shared'
   16693 	if test yes = "$aix_use_runtimelinking"; then
   16694 	  shared_flag="$shared_flag "'$wl-G'
   16695 	fi
   16696 	# Need to ensure runtime linking is disabled for the traditional
   16697 	# shared library, or the linker may eventually find shared libraries
   16698 	# /with/ Import File - we do not want to mix them.
   16699 	shared_flag_aix='-shared'
   16700 	shared_flag_svr4='-shared $wl-G'
   16701       else
   16702 	# not using gcc
   16703 	if test ia64 = "$host_cpu"; then
   16704 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16705 	# chokes on -Wl,-G. The following line is correct:
   16706 	  shared_flag='-G'
   16707 	else
   16708 	  if test yes = "$aix_use_runtimelinking"; then
   16709 	    shared_flag='$wl-G'
   16710 	  else
   16711 	    shared_flag='$wl-bM:SRE'
   16712 	  fi
   16713 	  shared_flag_aix='$wl-bM:SRE'
   16714 	  shared_flag_svr4='$wl-G'
   16715 	fi
   16716       fi
   16717 
   16718       export_dynamic_flag_spec='$wl-bexpall'
   16719       # It seems that -bexpall does not export symbols beginning with
   16720       # underscore (_), so it is better to generate a list of symbols to export.
   16721       always_export_symbols=yes
   16722       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16723 	# Warning - without using the other runtime loading flags (-brtl),
   16724 	# -berok will link without error, but may produce a broken library.
   16725 	allow_undefined_flag='-berok'
   16726         # Determine the default libpath from the value encoded in an
   16727         # empty executable.
   16728         if test set = "${lt_cv_aix_libpath+set}"; then
   16729   aix_libpath=$lt_cv_aix_libpath
   16730 else
   16731   if test ${lt_cv_aix_libpath_+y}
   16732 then :
   16733   printf %s "(cached) " >&6
   16734 else $as_nop
   16735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16736 /* end confdefs.h.  */
   16737 
   16738 int
   16739 main (void)
   16740 {
   16741 
   16742   ;
   16743   return 0;
   16744 }
   16745 _ACEOF
   16746 if ac_fn_c_try_link "$LINENO"
   16747 then :
   16748 
   16749   lt_aix_libpath_sed='
   16750       /Import File Strings/,/^$/ {
   16751 	  /^0/ {
   16752 	      s/^0  *\([^ ]*\) *$/\1/
   16753 	      p
   16754 	  }
   16755       }'
   16756   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16757   # Check for a 64-bit object if we didn't find anything.
   16758   if test -z "$lt_cv_aix_libpath_"; then
   16759     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16760   fi
   16761 fi
   16762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16763     conftest$ac_exeext conftest.$ac_ext
   16764   if test -z "$lt_cv_aix_libpath_"; then
   16765     lt_cv_aix_libpath_=/usr/lib:/lib
   16766   fi
   16767 
   16768 fi
   16769 
   16770   aix_libpath=$lt_cv_aix_libpath_
   16771 fi
   16772 
   16773         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16774         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
   16775       else
   16776 	if test ia64 = "$host_cpu"; then
   16777 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16778 	  allow_undefined_flag="-z nodefs"
   16779 	  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"
   16780 	else
   16781 	 # Determine the default libpath from the value encoded in an
   16782 	 # empty executable.
   16783 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16784   aix_libpath=$lt_cv_aix_libpath
   16785 else
   16786   if test ${lt_cv_aix_libpath_+y}
   16787 then :
   16788   printf %s "(cached) " >&6
   16789 else $as_nop
   16790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16791 /* end confdefs.h.  */
   16792 
   16793 int
   16794 main (void)
   16795 {
   16796 
   16797   ;
   16798   return 0;
   16799 }
   16800 _ACEOF
   16801 if ac_fn_c_try_link "$LINENO"
   16802 then :
   16803 
   16804   lt_aix_libpath_sed='
   16805       /Import File Strings/,/^$/ {
   16806 	  /^0/ {
   16807 	      s/^0  *\([^ ]*\) *$/\1/
   16808 	      p
   16809 	  }
   16810       }'
   16811   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16812   # Check for a 64-bit object if we didn't find anything.
   16813   if test -z "$lt_cv_aix_libpath_"; then
   16814     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16815   fi
   16816 fi
   16817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16818     conftest$ac_exeext conftest.$ac_ext
   16819   if test -z "$lt_cv_aix_libpath_"; then
   16820     lt_cv_aix_libpath_=/usr/lib:/lib
   16821   fi
   16822 
   16823 fi
   16824 
   16825   aix_libpath=$lt_cv_aix_libpath_
   16826 fi
   16827 
   16828 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16829 	  # Warning - without using the other run time loading flags,
   16830 	  # -berok will link without error, but may produce a broken library.
   16831 	  no_undefined_flag=' $wl-bernotok'
   16832 	  allow_undefined_flag=' $wl-berok'
   16833 	  if test yes = "$with_gnu_ld"; then
   16834 	    # We only use this code for GNU lds that support --whole-archive.
   16835 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16836 	  else
   16837 	    # Exported symbols can be pulled into shared objects from archives
   16838 	    whole_archive_flag_spec='$convenience'
   16839 	  fi
   16840 	  archive_cmds_need_lc=yes
   16841 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16842 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16843 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16844 	  if test svr4 != "$with_aix_soname"; then
   16845 	    # This is similar to how AIX traditionally builds its shared libraries.
   16846 	    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'
   16847 	  fi
   16848 	  if test aix != "$with_aix_soname"; then
   16849 	    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'
   16850 	  else
   16851 	    # used by -dlpreopen to get the symbols
   16852 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16853 	  fi
   16854 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16855 	fi
   16856       fi
   16857       ;;
   16858 
   16859     amigaos*)
   16860       case $host_cpu in
   16861       powerpc)
   16862             # see comment about AmigaOS4 .so support
   16863             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16864             archive_expsym_cmds=''
   16865         ;;
   16866       m68k)
   16867             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)'
   16868             hardcode_libdir_flag_spec='-L$libdir'
   16869             hardcode_minus_L=yes
   16870         ;;
   16871       esac
   16872       ;;
   16873 
   16874     bsdi[45]*)
   16875       export_dynamic_flag_spec=-rdynamic
   16876       ;;
   16877 
   16878     cygwin* | mingw* | pw32* | cegcc*)
   16879       # When not using gcc, we currently assume that we are using
   16880       # Microsoft Visual C++ or Intel C++ Compiler.
   16881       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16882       # no search path for DLLs.
   16883       case $cc_basename in
   16884       cl* | icl*)
   16885 	# Native MSVC or ICC
   16886 	hardcode_libdir_flag_spec=' '
   16887 	allow_undefined_flag=unsupported
   16888 	always_export_symbols=yes
   16889 	file_list_spec='@'
   16890 	# Tell ltmain to make .lib files, not .a files.
   16891 	libext=lib
   16892 	# Tell ltmain to make .dll files, not .so files.
   16893 	shrext_cmds=.dll
   16894 	# FIXME: Setting linknames here is a bad hack.
   16895 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16896 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16897             cp "$export_symbols" "$output_objdir/$soname.def";
   16898             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16899           else
   16900             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16901           fi~
   16902           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16903           linknames='
   16904 	# The linker will not automatically build a static lib if we build a DLL.
   16905 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16906 	enable_shared_with_static_runtimes=yes
   16907 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16908 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16909 	# Don't use ranlib
   16910 	old_postinstall_cmds='chmod 644 $oldlib'
   16911 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16912           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16913           case $lt_outputfile in
   16914             *.exe|*.EXE) ;;
   16915             *)
   16916               lt_outputfile=$lt_outputfile.exe
   16917               lt_tool_outputfile=$lt_tool_outputfile.exe
   16918               ;;
   16919           esac~
   16920           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16921             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16922             $RM "$lt_outputfile.manifest";
   16923           fi'
   16924 	;;
   16925       *)
   16926 	# Assume MSVC and ICC wrapper
   16927 	hardcode_libdir_flag_spec=' '
   16928 	allow_undefined_flag=unsupported
   16929 	# Tell ltmain to make .lib files, not .a files.
   16930 	libext=lib
   16931 	# Tell ltmain to make .dll files, not .so files.
   16932 	shrext_cmds=.dll
   16933 	# FIXME: Setting linknames here is a bad hack.
   16934 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16935 	# The linker will automatically build a .lib file if we build a DLL.
   16936 	old_archive_from_new_cmds='true'
   16937 	# FIXME: Should let the user specify the lib program.
   16938 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16939 	enable_shared_with_static_runtimes=yes
   16940 	;;
   16941       esac
   16942       ;;
   16943 
   16944     darwin* | rhapsody*)
   16945 
   16946 
   16947   archive_cmds_need_lc=no
   16948   hardcode_direct=no
   16949   hardcode_automatic=yes
   16950   hardcode_shlibpath_var=unsupported
   16951   if test yes = "$lt_cv_ld_force_load"; then
   16952     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\"`'
   16953 
   16954   else
   16955     whole_archive_flag_spec=''
   16956   fi
   16957   link_all_deplibs=yes
   16958   allow_undefined_flag=$_lt_dar_allow_undefined
   16959   case $cc_basename in
   16960      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16961      *) _lt_dar_can_shared=$GCC ;;
   16962   esac
   16963   if test yes = "$_lt_dar_can_shared"; then
   16964     output_verbose_link_cmd=func_echo_all
   16965     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16966     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16967     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"
   16968     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"
   16969 
   16970   else
   16971   ld_shlibs=no
   16972   fi
   16973 
   16974       ;;
   16975 
   16976     dgux*)
   16977       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16978       hardcode_libdir_flag_spec='-L$libdir'
   16979       hardcode_shlibpath_var=no
   16980       ;;
   16981 
   16982     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16983     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16984     # does not break anything, and helps significantly (at the cost of a little
   16985     # extra space).
   16986     freebsd2.2*)
   16987       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16988       hardcode_libdir_flag_spec='-R$libdir'
   16989       hardcode_direct=yes
   16990       hardcode_shlibpath_var=no
   16991       ;;
   16992 
   16993     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16994     freebsd2.*)
   16995       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16996       hardcode_direct=yes
   16997       hardcode_minus_L=yes
   16998       hardcode_shlibpath_var=no
   16999       ;;
   17000 
   17001     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   17002     freebsd* | dragonfly* | midnightbsd*)
   17003       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17004       hardcode_libdir_flag_spec='-R$libdir'
   17005       hardcode_direct=yes
   17006       hardcode_shlibpath_var=no
   17007       ;;
   17008 
   17009     hpux9*)
   17010       if test yes = "$GCC"; then
   17011 	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'
   17012       else
   17013 	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'
   17014       fi
   17015       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17016       hardcode_libdir_separator=:
   17017       hardcode_direct=yes
   17018 
   17019       # hardcode_minus_L: Not really in the search PATH,
   17020       # but as the default location of the library.
   17021       hardcode_minus_L=yes
   17022       export_dynamic_flag_spec='$wl-E'
   17023       ;;
   17024 
   17025     hpux10*)
   17026       if test yes,no = "$GCC,$with_gnu_ld"; then
   17027 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17028       else
   17029 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17030       fi
   17031       if test no = "$with_gnu_ld"; then
   17032 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17033 	hardcode_libdir_separator=:
   17034 	hardcode_direct=yes
   17035 	hardcode_direct_absolute=yes
   17036 	export_dynamic_flag_spec='$wl-E'
   17037 	# hardcode_minus_L: Not really in the search PATH,
   17038 	# but as the default location of the library.
   17039 	hardcode_minus_L=yes
   17040       fi
   17041       ;;
   17042 
   17043     hpux11*)
   17044       if test yes,no = "$GCC,$with_gnu_ld"; then
   17045 	case $host_cpu in
   17046 	hppa*64*)
   17047 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17048 	  ;;
   17049 	ia64*)
   17050 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17051 	  ;;
   17052 	*)
   17053 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17054 	  ;;
   17055 	esac
   17056       else
   17057 	case $host_cpu in
   17058 	hppa*64*)
   17059 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17060 	  ;;
   17061 	ia64*)
   17062 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17063 	  ;;
   17064 	*)
   17065 
   17066 	  # Older versions of the 11.00 compiler do not understand -b yet
   17067 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17068 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17069 printf %s "checking if $CC understands -b... " >&6; }
   17070 if test ${lt_cv_prog_compiler__b+y}
   17071 then :
   17072   printf %s "(cached) " >&6
   17073 else $as_nop
   17074   lt_cv_prog_compiler__b=no
   17075    save_LDFLAGS=$LDFLAGS
   17076    LDFLAGS="$LDFLAGS -b"
   17077    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17078    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17079      # The linker can only warn and ignore the option if not recognized
   17080      # So say no if there are warnings
   17081      if test -s conftest.err; then
   17082        # Append any errors to the config.log.
   17083        cat conftest.err 1>&5
   17084        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17085        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17086        if diff conftest.exp conftest.er2 >/dev/null; then
   17087          lt_cv_prog_compiler__b=yes
   17088        fi
   17089      else
   17090        lt_cv_prog_compiler__b=yes
   17091      fi
   17092    fi
   17093    $RM -r conftest*
   17094    LDFLAGS=$save_LDFLAGS
   17095 
   17096 fi
   17097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17098 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17099 
   17100 if test yes = "$lt_cv_prog_compiler__b"; then
   17101     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17102 else
   17103     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17104 fi
   17105 
   17106 	  ;;
   17107 	esac
   17108       fi
   17109       if test no = "$with_gnu_ld"; then
   17110 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17111 	hardcode_libdir_separator=:
   17112 
   17113 	case $host_cpu in
   17114 	hppa*64*|ia64*)
   17115 	  hardcode_direct=no
   17116 	  hardcode_shlibpath_var=no
   17117 	  ;;
   17118 	*)
   17119 	  hardcode_direct=yes
   17120 	  hardcode_direct_absolute=yes
   17121 	  export_dynamic_flag_spec='$wl-E'
   17122 
   17123 	  # hardcode_minus_L: Not really in the search PATH,
   17124 	  # but as the default location of the library.
   17125 	  hardcode_minus_L=yes
   17126 	  ;;
   17127 	esac
   17128       fi
   17129       ;;
   17130 
   17131     irix5* | irix6* | nonstopux*)
   17132       if test yes = "$GCC"; then
   17133 	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'
   17134 	# Try to use the -exported_symbol ld option, if it does not
   17135 	# work, assume that -exports_file does not work either and
   17136 	# implicitly export all symbols.
   17137 	# This should be the same for all languages, so no per-tag cache variable.
   17138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17139 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17140 if test ${lt_cv_irix_exported_symbol+y}
   17141 then :
   17142   printf %s "(cached) " >&6
   17143 else $as_nop
   17144   save_LDFLAGS=$LDFLAGS
   17145 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17146 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17147 /* end confdefs.h.  */
   17148 int foo (void) { return 0; }
   17149 _ACEOF
   17150 if ac_fn_c_try_link "$LINENO"
   17151 then :
   17152   lt_cv_irix_exported_symbol=yes
   17153 else $as_nop
   17154   lt_cv_irix_exported_symbol=no
   17155 fi
   17156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17157     conftest$ac_exeext conftest.$ac_ext
   17158            LDFLAGS=$save_LDFLAGS
   17159 fi
   17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17161 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17162 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17163           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'
   17164 	fi
   17165       else
   17166 	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'
   17167 	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'
   17168       fi
   17169       archive_cmds_need_lc='no'
   17170       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17171       hardcode_libdir_separator=:
   17172       inherit_rpath=yes
   17173       link_all_deplibs=yes
   17174       ;;
   17175 
   17176     linux*)
   17177       case $cc_basename in
   17178       tcc*)
   17179 	# Fabrice Bellard et al's Tiny C Compiler
   17180 	ld_shlibs=yes
   17181 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17182 	;;
   17183       esac
   17184       ;;
   17185 
   17186     netbsd*)
   17187       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17188 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17189       else
   17190 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17191       fi
   17192       hardcode_libdir_flag_spec='-R$libdir'
   17193       hardcode_direct=yes
   17194       hardcode_shlibpath_var=no
   17195       ;;
   17196 
   17197     newsos6)
   17198       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17199       hardcode_direct=yes
   17200       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17201       hardcode_libdir_separator=:
   17202       hardcode_shlibpath_var=no
   17203       ;;
   17204 
   17205     *nto* | *qnx*)
   17206       ;;
   17207 
   17208     openbsd* | bitrig*)
   17209       if test -f /usr/libexec/ld.so; then
   17210 	hardcode_direct=yes
   17211 	hardcode_shlibpath_var=no
   17212 	hardcode_direct_absolute=yes
   17213 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17214 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17215 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17216 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17217 	  export_dynamic_flag_spec='$wl-E'
   17218 	else
   17219 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17220 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17221 	fi
   17222       else
   17223 	ld_shlibs=no
   17224       fi
   17225       ;;
   17226 
   17227     os2*)
   17228       hardcode_libdir_flag_spec='-L$libdir'
   17229       hardcode_minus_L=yes
   17230       allow_undefined_flag=unsupported
   17231       shrext_cmds=.dll
   17232       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17233 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17234 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17235 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17236 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17237 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17238 	emximp -o $lib $output_objdir/$libname.def'
   17239       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17240 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17241 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17242 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17243 	prefix_cmds="$SED"~
   17244 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17245 	  prefix_cmds="$prefix_cmds -e 1d";
   17246 	fi~
   17247 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17248 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17249 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17250 	emximp -o $lib $output_objdir/$libname.def'
   17251       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17252       enable_shared_with_static_runtimes=yes
   17253       file_list_spec='@'
   17254       ;;
   17255 
   17256     osf3*)
   17257       if test yes = "$GCC"; then
   17258 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17259 	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'
   17260       else
   17261 	allow_undefined_flag=' -expect_unresolved \*'
   17262 	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'
   17263       fi
   17264       archive_cmds_need_lc='no'
   17265       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17266       hardcode_libdir_separator=:
   17267       ;;
   17268 
   17269     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17270       if test yes = "$GCC"; then
   17271 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17272 	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'
   17273 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17274       else
   17275 	allow_undefined_flag=' -expect_unresolved \*'
   17276 	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'
   17277 	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~
   17278           $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'
   17279 
   17280 	# Both c and cxx compiler support -rpath directly
   17281 	hardcode_libdir_flag_spec='-rpath $libdir'
   17282       fi
   17283       archive_cmds_need_lc='no'
   17284       hardcode_libdir_separator=:
   17285       ;;
   17286 
   17287     solaris*)
   17288       no_undefined_flag=' -z defs'
   17289       if test yes = "$GCC"; then
   17290 	wlarc='$wl'
   17291 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17292 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17293           $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'
   17294       else
   17295 	case `$CC -V 2>&1` in
   17296 	*"Compilers 5.0"*)
   17297 	  wlarc=''
   17298 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17299 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17300             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17301 	  ;;
   17302 	*)
   17303 	  wlarc='$wl'
   17304 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17305 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17306             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17307 	  ;;
   17308 	esac
   17309       fi
   17310       hardcode_libdir_flag_spec='-R$libdir'
   17311       hardcode_shlibpath_var=no
   17312       case $host_os in
   17313       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17314       *)
   17315 	# The compiler driver will combine and reorder linker options,
   17316 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17317 	# but is careful enough not to reorder.
   17318 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17319 	if test yes = "$GCC"; then
   17320 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17321 	else
   17322 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17323 	fi
   17324 	;;
   17325       esac
   17326       link_all_deplibs=yes
   17327       ;;
   17328 
   17329     sunos4*)
   17330       if test sequent = "$host_vendor"; then
   17331 	# Use $CC to link under sequent, because it throws in some extra .o
   17332 	# files that make .init and .fini sections work.
   17333 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17334       else
   17335 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17336       fi
   17337       hardcode_libdir_flag_spec='-L$libdir'
   17338       hardcode_direct=yes
   17339       hardcode_minus_L=yes
   17340       hardcode_shlibpath_var=no
   17341       ;;
   17342 
   17343     sysv4)
   17344       case $host_vendor in
   17345 	sni)
   17346 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17347 	  hardcode_direct=yes # is this really true???
   17348 	;;
   17349 	siemens)
   17350 	  ## LD is ld it makes a PLAMLIB
   17351 	  ## CC just makes a GrossModule.
   17352 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17353 	  reload_cmds='$CC -r -o $output$reload_objs'
   17354 	  hardcode_direct=no
   17355         ;;
   17356 	motorola)
   17357 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17358 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17359 	;;
   17360       esac
   17361       runpath_var='LD_RUN_PATH'
   17362       hardcode_shlibpath_var=no
   17363       ;;
   17364 
   17365     sysv4.3*)
   17366       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17367       hardcode_shlibpath_var=no
   17368       export_dynamic_flag_spec='-Bexport'
   17369       ;;
   17370 
   17371     sysv4*MP*)
   17372       if test -d /usr/nec; then
   17373 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17374 	hardcode_shlibpath_var=no
   17375 	runpath_var=LD_RUN_PATH
   17376 	hardcode_runpath_var=yes
   17377 	ld_shlibs=yes
   17378       fi
   17379       ;;
   17380 
   17381     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17382       no_undefined_flag='$wl-z,text'
   17383       archive_cmds_need_lc=no
   17384       hardcode_shlibpath_var=no
   17385       runpath_var='LD_RUN_PATH'
   17386 
   17387       if test yes = "$GCC"; then
   17388 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17389 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17390       else
   17391 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17392 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17393       fi
   17394       ;;
   17395 
   17396     sysv5* | sco3.2v5* | sco5v6*)
   17397       # Note: We CANNOT use -z defs as we might desire, because we do not
   17398       # link with -lc, and that would cause any symbols used from libc to
   17399       # always be unresolved, which means just about no library would
   17400       # ever link correctly.  If we're not using GNU ld we use -z text
   17401       # though, which does catch some bad symbols but isn't as heavy-handed
   17402       # as -z defs.
   17403       no_undefined_flag='$wl-z,text'
   17404       allow_undefined_flag='$wl-z,nodefs'
   17405       archive_cmds_need_lc=no
   17406       hardcode_shlibpath_var=no
   17407       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17408       hardcode_libdir_separator=':'
   17409       link_all_deplibs=yes
   17410       export_dynamic_flag_spec='$wl-Bexport'
   17411       runpath_var='LD_RUN_PATH'
   17412 
   17413       if test yes = "$GCC"; then
   17414 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17415 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17416       else
   17417 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17418 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17419       fi
   17420       ;;
   17421 
   17422     uts4*)
   17423       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17424       hardcode_libdir_flag_spec='-L$libdir'
   17425       hardcode_shlibpath_var=no
   17426       ;;
   17427 
   17428     *)
   17429       ld_shlibs=no
   17430       ;;
   17431     esac
   17432 
   17433     if test sni = "$host_vendor"; then
   17434       case $host in
   17435       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17436 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17437 	;;
   17438       esac
   17439     fi
   17440   fi
   17441 
   17442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17443 printf "%s\n" "$ld_shlibs" >&6; }
   17444 test no = "$ld_shlibs" && can_build_shared=no
   17445 
   17446 with_gnu_ld=$with_gnu_ld
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 #
   17463 # Do we need to explicitly link libc?
   17464 #
   17465 case "x$archive_cmds_need_lc" in
   17466 x|xyes)
   17467   # Assume -lc should be added
   17468   archive_cmds_need_lc=yes
   17469 
   17470   if test yes,yes = "$GCC,$enable_shared"; then
   17471     case $archive_cmds in
   17472     *'~'*)
   17473       # FIXME: we may have to deal with multi-command sequences.
   17474       ;;
   17475     '$CC '*)
   17476       # Test whether the compiler implicitly links with -lc since on some
   17477       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17478       # to ld, don't add -lc before -lgcc.
   17479       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17480 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17481 if test ${lt_cv_archive_cmds_need_lc+y}
   17482 then :
   17483   printf %s "(cached) " >&6
   17484 else $as_nop
   17485   $RM conftest*
   17486 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17487 
   17488 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17489   (eval $ac_compile) 2>&5
   17490   ac_status=$?
   17491   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17492   test $ac_status = 0; } 2>conftest.err; then
   17493 	  soname=conftest
   17494 	  lib=conftest
   17495 	  libobjs=conftest.$ac_objext
   17496 	  deplibs=
   17497 	  wl=$lt_prog_compiler_wl
   17498 	  pic_flag=$lt_prog_compiler_pic
   17499 	  compiler_flags=-v
   17500 	  linker_flags=-v
   17501 	  verstring=
   17502 	  output_objdir=.
   17503 	  libname=conftest
   17504 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17505 	  allow_undefined_flag=
   17506 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17507   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17508   ac_status=$?
   17509   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17510   test $ac_status = 0; }
   17511 	  then
   17512 	    lt_cv_archive_cmds_need_lc=no
   17513 	  else
   17514 	    lt_cv_archive_cmds_need_lc=yes
   17515 	  fi
   17516 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17517 	else
   17518 	  cat conftest.err 1>&5
   17519 	fi
   17520 	$RM conftest*
   17521 
   17522 fi
   17523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17524 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17525       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17526       ;;
   17527     esac
   17528   fi
   17529   ;;
   17530 esac
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 
   17663 
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17684 printf %s "checking dynamic linker characteristics... " >&6; }
   17685 
   17686 if test yes = "$GCC"; then
   17687   case $host_os in
   17688     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17689     *) lt_awk_arg='/^libraries:/' ;;
   17690   esac
   17691   case $host_os in
   17692     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17693     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17694   esac
   17695   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17696   case $lt_search_path_spec in
   17697   *\;*)
   17698     # if the path contains ";" then we assume it to be the separator
   17699     # otherwise default to the standard path separator (i.e. ":") - it is
   17700     # assumed that no part of a normal pathname contains ";" but that should
   17701     # okay in the real world where ";" in dirpaths is itself problematic.
   17702     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17703     ;;
   17704   *)
   17705     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17706     ;;
   17707   esac
   17708   # Ok, now we have the path, separated by spaces, we can step through it
   17709   # and add multilib dir if necessary...
   17710   lt_tmp_lt_search_path_spec=
   17711   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17712   # ...but if some path component already ends with the multilib dir we assume
   17713   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17714   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17715   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17716     lt_multi_os_dir=
   17717     ;;
   17718   esac
   17719   for lt_sys_path in $lt_search_path_spec; do
   17720     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17721       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17722     elif test -n "$lt_multi_os_dir"; then
   17723       test -d "$lt_sys_path" && \
   17724 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17725     fi
   17726   done
   17727   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17728 BEGIN {RS = " "; FS = "/|\n";} {
   17729   lt_foo = "";
   17730   lt_count = 0;
   17731   for (lt_i = NF; lt_i > 0; lt_i--) {
   17732     if ($lt_i != "" && $lt_i != ".") {
   17733       if ($lt_i == "..") {
   17734         lt_count++;
   17735       } else {
   17736         if (lt_count == 0) {
   17737           lt_foo = "/" $lt_i lt_foo;
   17738         } else {
   17739           lt_count--;
   17740         }
   17741       }
   17742     }
   17743   }
   17744   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17745   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17746 }'`
   17747   # AWK program above erroneously prepends '/' to C:/dos/paths
   17748   # for these hosts.
   17749   case $host_os in
   17750     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17751       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17752   esac
   17753   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17754 else
   17755   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17756 fi
   17757 library_names_spec=
   17758 libname_spec='lib$name'
   17759 soname_spec=
   17760 shrext_cmds=.so
   17761 postinstall_cmds=
   17762 postuninstall_cmds=
   17763 finish_cmds=
   17764 finish_eval=
   17765 shlibpath_var=
   17766 shlibpath_overrides_runpath=unknown
   17767 version_type=none
   17768 dynamic_linker="$host_os ld.so"
   17769 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17770 need_lib_prefix=unknown
   17771 hardcode_into_libs=no
   17772 
   17773 # when you set need_version to no, make sure it does not cause -set_version
   17774 # flags to be left without arguments
   17775 need_version=unknown
   17776 
   17777 
   17778 
   17779 case $host_os in
   17780 aix3*)
   17781   version_type=linux # correct to gnu/linux during the next big refactor
   17782   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17783   shlibpath_var=LIBPATH
   17784 
   17785   # AIX 3 has no versioning support, so we append a major version to the name.
   17786   soname_spec='$libname$release$shared_ext$major'
   17787   ;;
   17788 
   17789 aix[4-9]*)
   17790   version_type=linux # correct to gnu/linux during the next big refactor
   17791   need_lib_prefix=no
   17792   need_version=no
   17793   hardcode_into_libs=yes
   17794   if test ia64 = "$host_cpu"; then
   17795     # AIX 5 supports IA64
   17796     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17797     shlibpath_var=LD_LIBRARY_PATH
   17798   else
   17799     # With GCC up to 2.95.x, collect2 would create an import file
   17800     # for dependence libraries.  The import file would start with
   17801     # the line '#! .'.  This would cause the generated library to
   17802     # depend on '.', always an invalid library.  This was fixed in
   17803     # development snapshots of GCC prior to 3.0.
   17804     case $host_os in
   17805       aix4 | aix4.[01] | aix4.[01].*)
   17806       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17807 	   echo ' yes '
   17808 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17809 	:
   17810       else
   17811 	can_build_shared=no
   17812       fi
   17813       ;;
   17814     esac
   17815     # Using Import Files as archive members, it is possible to support
   17816     # filename-based versioning of shared library archives on AIX. While
   17817     # this would work for both with and without runtime linking, it will
   17818     # prevent static linking of such archives. So we do filename-based
   17819     # shared library versioning with .so extension only, which is used
   17820     # when both runtime linking and shared linking is enabled.
   17821     # Unfortunately, runtime linking may impact performance, so we do
   17822     # not want this to be the default eventually. Also, we use the
   17823     # versioned .so libs for executables only if there is the -brtl
   17824     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17825     # To allow for filename-based versioning support, we need to create
   17826     # libNAME.so.V as an archive file, containing:
   17827     # *) an Import File, referring to the versioned filename of the
   17828     #    archive as well as the shared archive member, telling the
   17829     #    bitwidth (32 or 64) of that shared object, and providing the
   17830     #    list of exported symbols of that shared object, eventually
   17831     #    decorated with the 'weak' keyword
   17832     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17833     #    it being seen by the linker.
   17834     # At run time we better use the real file rather than another symlink,
   17835     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17836 
   17837     case $with_aix_soname,$aix_use_runtimelinking in
   17838     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17839     # soname into executable. Probably we can add versioning support to
   17840     # collect2, so additional links can be useful in future.
   17841     aix,yes) # traditional libtool
   17842       dynamic_linker='AIX unversionable lib.so'
   17843       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17844       # instead of lib<name>.a to let people know that these are not
   17845       # typical AIX shared libraries.
   17846       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17847       ;;
   17848     aix,no) # traditional AIX only
   17849       dynamic_linker='AIX lib.a(lib.so.V)'
   17850       # We preserve .a as extension for shared libraries through AIX4.2
   17851       # and later when we are not doing run time linking.
   17852       library_names_spec='$libname$release.a $libname.a'
   17853       soname_spec='$libname$release$shared_ext$major'
   17854       ;;
   17855     svr4,*) # full svr4 only
   17856       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17857       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17858       # We do not specify a path in Import Files, so LIBPATH fires.
   17859       shlibpath_overrides_runpath=yes
   17860       ;;
   17861     *,yes) # both, prefer svr4
   17862       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17863       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17864       # unpreferred sharedlib libNAME.a needs extra handling
   17865       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"'
   17866       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"'
   17867       # We do not specify a path in Import Files, so LIBPATH fires.
   17868       shlibpath_overrides_runpath=yes
   17869       ;;
   17870     *,no) # both, prefer aix
   17871       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17872       library_names_spec='$libname$release.a $libname.a'
   17873       soname_spec='$libname$release$shared_ext$major'
   17874       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17875       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)'
   17876       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"'
   17877       ;;
   17878     esac
   17879     shlibpath_var=LIBPATH
   17880   fi
   17881   ;;
   17882 
   17883 amigaos*)
   17884   case $host_cpu in
   17885   powerpc)
   17886     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17887     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17888     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17889     ;;
   17890   m68k)
   17891     library_names_spec='$libname.ixlibrary $libname.a'
   17892     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17893     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'
   17894     ;;
   17895   esac
   17896   ;;
   17897 
   17898 beos*)
   17899   library_names_spec='$libname$shared_ext'
   17900   dynamic_linker="$host_os ld.so"
   17901   shlibpath_var=LIBRARY_PATH
   17902   ;;
   17903 
   17904 bsdi[45]*)
   17905   version_type=linux # correct to gnu/linux during the next big refactor
   17906   need_version=no
   17907   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17908   soname_spec='$libname$release$shared_ext$major'
   17909   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17910   shlibpath_var=LD_LIBRARY_PATH
   17911   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17912   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17913   # the default ld.so.conf also contains /usr/contrib/lib and
   17914   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17915   # libtool to hard-code these into programs
   17916   ;;
   17917 
   17918 cygwin* | mingw* | pw32* | cegcc*)
   17919   version_type=windows
   17920   shrext_cmds=.dll
   17921   need_version=no
   17922   need_lib_prefix=no
   17923 
   17924   case $GCC,$cc_basename in
   17925   yes,*)
   17926     # gcc
   17927     library_names_spec='$libname.dll.a'
   17928     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17929     postinstall_cmds='base_file=`basename \$file`~
   17930       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17931       dldir=$destdir/`dirname \$dlpath`~
   17932       test -d \$dldir || mkdir -p \$dldir~
   17933       $install_prog $dir/$dlname \$dldir/$dlname~
   17934       chmod a+x \$dldir/$dlname~
   17935       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17936         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17937       fi'
   17938     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17939       dlpath=$dir/\$dldll~
   17940        $RM \$dlpath'
   17941     shlibpath_overrides_runpath=yes
   17942 
   17943     case $host_os in
   17944     cygwin*)
   17945       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17946       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17947 
   17948       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17949       ;;
   17950     mingw* | cegcc*)
   17951       # MinGW DLLs use traditional 'lib' prefix
   17952       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17953       ;;
   17954     pw32*)
   17955       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17956       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17957       ;;
   17958     esac
   17959     dynamic_linker='Win32 ld.exe'
   17960     ;;
   17961 
   17962   *,cl* | *,icl*)
   17963     # Native MSVC or ICC
   17964     libname_spec='$name'
   17965     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17966     library_names_spec='$libname.dll.lib'
   17967 
   17968     case $build_os in
   17969     mingw*)
   17970       sys_lib_search_path_spec=
   17971       lt_save_ifs=$IFS
   17972       IFS=';'
   17973       for lt_path in $LIB
   17974       do
   17975         IFS=$lt_save_ifs
   17976         # Let DOS variable expansion print the short 8.3 style file name.
   17977         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17978         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17979       done
   17980       IFS=$lt_save_ifs
   17981       # Convert to MSYS style.
   17982       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17983       ;;
   17984     cygwin*)
   17985       # Convert to unix form, then to dos form, then back to unix form
   17986       # but this time dos style (no spaces!) so that the unix form looks
   17987       # like /cygdrive/c/PROGRA~1:/cygdr...
   17988       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17989       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17990       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17991       ;;
   17992     *)
   17993       sys_lib_search_path_spec=$LIB
   17994       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17995         # It is most probably a Windows format PATH.
   17996         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17997       else
   17998         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17999       fi
   18000       # FIXME: find the short name or the path components, as spaces are
   18001       # common. (e.g. "Program Files" -> "PROGRA~1")
   18002       ;;
   18003     esac
   18004 
   18005     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18006     postinstall_cmds='base_file=`basename \$file`~
   18007       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   18008       dldir=$destdir/`dirname \$dlpath`~
   18009       test -d \$dldir || mkdir -p \$dldir~
   18010       $install_prog $dir/$dlname \$dldir/$dlname'
   18011     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18012       dlpath=$dir/\$dldll~
   18013        $RM \$dlpath'
   18014     shlibpath_overrides_runpath=yes
   18015     dynamic_linker='Win32 link.exe'
   18016     ;;
   18017 
   18018   *)
   18019     # Assume MSVC and ICC wrapper
   18020     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   18021     dynamic_linker='Win32 ld.exe'
   18022     ;;
   18023   esac
   18024   # FIXME: first we should search . and the directory the executable is in
   18025   shlibpath_var=PATH
   18026   ;;
   18027 
   18028 darwin* | rhapsody*)
   18029   dynamic_linker="$host_os dyld"
   18030   version_type=darwin
   18031   need_lib_prefix=no
   18032   need_version=no
   18033   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   18034   soname_spec='$libname$release$major$shared_ext'
   18035   shlibpath_overrides_runpath=yes
   18036   shlibpath_var=DYLD_LIBRARY_PATH
   18037   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   18038 
   18039   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   18040   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18041   ;;
   18042 
   18043 dgux*)
   18044   version_type=linux # correct to gnu/linux during the next big refactor
   18045   need_lib_prefix=no
   18046   need_version=no
   18047   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18048   soname_spec='$libname$release$shared_ext$major'
   18049   shlibpath_var=LD_LIBRARY_PATH
   18050   ;;
   18051 
   18052 freebsd* | dragonfly* | midnightbsd*)
   18053   # DragonFly does not have aout.  When/if they implement a new
   18054   # versioning mechanism, adjust this.
   18055   if test -x /usr/bin/objformat; then
   18056     objformat=`/usr/bin/objformat`
   18057   else
   18058     case $host_os in
   18059     freebsd[23].*) objformat=aout ;;
   18060     *) objformat=elf ;;
   18061     esac
   18062   fi
   18063   # Handle Gentoo/FreeBSD as it was Linux
   18064   case $host_vendor in
   18065     gentoo)
   18066       version_type=linux ;;
   18067     *)
   18068       version_type=freebsd-$objformat ;;
   18069   esac
   18070 
   18071   case $version_type in
   18072     freebsd-elf*)
   18073       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18074       soname_spec='$libname$release$shared_ext$major'
   18075       need_version=no
   18076       need_lib_prefix=no
   18077       ;;
   18078     freebsd-*)
   18079       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18080       need_version=yes
   18081       ;;
   18082     linux)
   18083       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18084       soname_spec='${libname}${release}${shared_ext}$major'
   18085       need_lib_prefix=no
   18086       need_version=no
   18087       ;;
   18088   esac
   18089   shlibpath_var=LD_LIBRARY_PATH
   18090   case $host_os in
   18091   freebsd2.*)
   18092     shlibpath_overrides_runpath=yes
   18093     ;;
   18094   freebsd3.[01]* | freebsdelf3.[01]*)
   18095     shlibpath_overrides_runpath=yes
   18096     hardcode_into_libs=yes
   18097     ;;
   18098   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18099   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18100     shlibpath_overrides_runpath=no
   18101     hardcode_into_libs=yes
   18102     ;;
   18103   *) # from 4.6 on, and DragonFly
   18104     shlibpath_overrides_runpath=yes
   18105     hardcode_into_libs=yes
   18106     ;;
   18107   esac
   18108   ;;
   18109 
   18110 haiku*)
   18111   version_type=linux # correct to gnu/linux during the next big refactor
   18112   need_lib_prefix=no
   18113   need_version=no
   18114   dynamic_linker="$host_os runtime_loader"
   18115   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18116   soname_spec='$libname$release$shared_ext$major'
   18117   shlibpath_var=LIBRARY_PATH
   18118   shlibpath_overrides_runpath=no
   18119   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18120   hardcode_into_libs=yes
   18121   ;;
   18122 
   18123 hpux9* | hpux10* | hpux11*)
   18124   # Give a soname corresponding to the major version so that dld.sl refuses to
   18125   # link against other versions.
   18126   version_type=sunos
   18127   need_lib_prefix=no
   18128   need_version=no
   18129   case $host_cpu in
   18130   ia64*)
   18131     shrext_cmds='.so'
   18132     hardcode_into_libs=yes
   18133     dynamic_linker="$host_os dld.so"
   18134     shlibpath_var=LD_LIBRARY_PATH
   18135     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18136     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18137     soname_spec='$libname$release$shared_ext$major'
   18138     if test 32 = "$HPUX_IA64_MODE"; then
   18139       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18140       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18141     else
   18142       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18143       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18144     fi
   18145     ;;
   18146   hppa*64*)
   18147     shrext_cmds='.sl'
   18148     hardcode_into_libs=yes
   18149     dynamic_linker="$host_os dld.sl"
   18150     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18151     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18152     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18153     soname_spec='$libname$release$shared_ext$major'
   18154     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18155     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18156     ;;
   18157   *)
   18158     shrext_cmds='.sl'
   18159     dynamic_linker="$host_os dld.sl"
   18160     shlibpath_var=SHLIB_PATH
   18161     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18162     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18163     soname_spec='$libname$release$shared_ext$major'
   18164     ;;
   18165   esac
   18166   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18167   postinstall_cmds='chmod 555 $lib'
   18168   # or fails outright, so override atomically:
   18169   install_override_mode=555
   18170   ;;
   18171 
   18172 interix[3-9]*)
   18173   version_type=linux # correct to gnu/linux during the next big refactor
   18174   need_lib_prefix=no
   18175   need_version=no
   18176   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18177   soname_spec='$libname$release$shared_ext$major'
   18178   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18179   shlibpath_var=LD_LIBRARY_PATH
   18180   shlibpath_overrides_runpath=no
   18181   hardcode_into_libs=yes
   18182   ;;
   18183 
   18184 irix5* | irix6* | nonstopux*)
   18185   case $host_os in
   18186     nonstopux*) version_type=nonstopux ;;
   18187     *)
   18188 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18189 		version_type=linux # correct to gnu/linux during the next big refactor
   18190 	else
   18191 		version_type=irix
   18192 	fi ;;
   18193   esac
   18194   need_lib_prefix=no
   18195   need_version=no
   18196   soname_spec='$libname$release$shared_ext$major'
   18197   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18198   case $host_os in
   18199   irix5* | nonstopux*)
   18200     libsuff= shlibsuff=
   18201     ;;
   18202   *)
   18203     case $LD in # libtool.m4 will add one of these switches to LD
   18204     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18205       libsuff= shlibsuff= libmagic=32-bit;;
   18206     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18207       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18208     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18209       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18210     *) libsuff= shlibsuff= libmagic=never-match;;
   18211     esac
   18212     ;;
   18213   esac
   18214   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18215   shlibpath_overrides_runpath=no
   18216   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18217   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18218   hardcode_into_libs=yes
   18219   ;;
   18220 
   18221 # No shared lib support for Linux oldld, aout, or coff.
   18222 linux*oldld* | linux*aout* | linux*coff*)
   18223   dynamic_linker=no
   18224   ;;
   18225 
   18226 linux*android*)
   18227   version_type=none # Android doesn't support versioned libraries.
   18228   need_lib_prefix=no
   18229   need_version=no
   18230   library_names_spec='$libname$release$shared_ext'
   18231   soname_spec='$libname$release$shared_ext'
   18232   finish_cmds=
   18233   shlibpath_var=LD_LIBRARY_PATH
   18234   shlibpath_overrides_runpath=yes
   18235 
   18236   # This implies no fast_install, which is unacceptable.
   18237   # Some rework will be needed to allow for fast_install
   18238   # before this can be enabled.
   18239   hardcode_into_libs=yes
   18240 
   18241   dynamic_linker='Android linker'
   18242   # Don't embed -rpath directories since the linker doesn't support them.
   18243   hardcode_libdir_flag_spec='-L$libdir'
   18244   ;;
   18245 
   18246 # This must be glibc/ELF.
   18247 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   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   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18254   shlibpath_var=LD_LIBRARY_PATH
   18255   shlibpath_overrides_runpath=no
   18256 
   18257   # Some binutils ld are patched to set DT_RUNPATH
   18258   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18259 then :
   18260   printf %s "(cached) " >&6
   18261 else $as_nop
   18262   lt_cv_shlibpath_overrides_runpath=no
   18263     save_LDFLAGS=$LDFLAGS
   18264     save_libdir=$libdir
   18265     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18266 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18267     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18268 /* end confdefs.h.  */
   18269 
   18270 int
   18271 main (void)
   18272 {
   18273 
   18274   ;
   18275   return 0;
   18276 }
   18277 _ACEOF
   18278 if ac_fn_c_try_link "$LINENO"
   18279 then :
   18280   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18281 then :
   18282   lt_cv_shlibpath_overrides_runpath=yes
   18283 fi
   18284 fi
   18285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18286     conftest$ac_exeext conftest.$ac_ext
   18287     LDFLAGS=$save_LDFLAGS
   18288     libdir=$save_libdir
   18289 
   18290 fi
   18291 
   18292   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18293 
   18294   # This implies no fast_install, which is unacceptable.
   18295   # Some rework will be needed to allow for fast_install
   18296   # before this can be enabled.
   18297   hardcode_into_libs=yes
   18298 
   18299   # Ideally, we could use ldconfig to report *all* directores which are
   18300   # searched for libraries, however this is still not possible.  Aside from not
   18301   # being certain /sbin/ldconfig is available, command
   18302   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18303   # even though it is searched at run-time.  Try to do the best guess by
   18304   # appending ld.so.conf contents (and includes) to the search path.
   18305   if test -f /etc/ld.so.conf; then
   18306     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' ' '`
   18307     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18308   fi
   18309 
   18310   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18311   # powerpc, because MkLinux only supported shared libraries with the
   18312   # GNU dynamic linker.  Since this was broken with cross compilers,
   18313   # most powerpc-linux boxes support dynamic linking these days and
   18314   # people can always --disable-shared, the test was removed, and we
   18315   # assume the GNU/Linux dynamic linker is in use.
   18316   dynamic_linker='GNU/Linux ld.so'
   18317   ;;
   18318 
   18319 netbsd*)
   18320   version_type=sunos
   18321   need_lib_prefix=no
   18322   need_version=no
   18323   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18324     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18325     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18326     dynamic_linker='NetBSD (a.out) ld.so'
   18327   else
   18328     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18329     soname_spec='$libname$release$shared_ext$major'
   18330     dynamic_linker='NetBSD ld.elf_so'
   18331   fi
   18332   shlibpath_var=LD_LIBRARY_PATH
   18333   shlibpath_overrides_runpath=yes
   18334   hardcode_into_libs=yes
   18335   ;;
   18336 
   18337 newsos6)
   18338   version_type=linux # correct to gnu/linux during the next big refactor
   18339   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18340   shlibpath_var=LD_LIBRARY_PATH
   18341   shlibpath_overrides_runpath=yes
   18342   ;;
   18343 
   18344 *nto* | *qnx*)
   18345   version_type=qnx
   18346   need_lib_prefix=no
   18347   need_version=no
   18348   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18349   soname_spec='$libname$release$shared_ext$major'
   18350   shlibpath_var=LD_LIBRARY_PATH
   18351   shlibpath_overrides_runpath=no
   18352   hardcode_into_libs=yes
   18353   dynamic_linker='ldqnx.so'
   18354   ;;
   18355 
   18356 openbsd* | bitrig*)
   18357   version_type=sunos
   18358   sys_lib_dlsearch_path_spec=/usr/lib
   18359   need_lib_prefix=no
   18360   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18361     need_version=no
   18362   else
   18363     need_version=yes
   18364   fi
   18365   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18366   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18367   shlibpath_var=LD_LIBRARY_PATH
   18368   shlibpath_overrides_runpath=yes
   18369   ;;
   18370 
   18371 os2*)
   18372   libname_spec='$name'
   18373   version_type=windows
   18374   shrext_cmds=.dll
   18375   need_version=no
   18376   need_lib_prefix=no
   18377   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18378   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18379     v=$($ECHO $release$versuffix | tr -d .-);
   18380     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18381     $ECHO $n$v`$shared_ext'
   18382   library_names_spec='${libname}_dll.$libext'
   18383   dynamic_linker='OS/2 ld.exe'
   18384   shlibpath_var=BEGINLIBPATH
   18385   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18386   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18387   postinstall_cmds='base_file=`basename \$file`~
   18388     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18389     dldir=$destdir/`dirname \$dlpath`~
   18390     test -d \$dldir || mkdir -p \$dldir~
   18391     $install_prog $dir/$dlname \$dldir/$dlname~
   18392     chmod a+x \$dldir/$dlname~
   18393     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18394       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18395     fi'
   18396   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18397     dlpath=$dir/\$dldll~
   18398     $RM \$dlpath'
   18399   ;;
   18400 
   18401 osf3* | osf4* | osf5*)
   18402   version_type=osf
   18403   need_lib_prefix=no
   18404   need_version=no
   18405   soname_spec='$libname$release$shared_ext$major'
   18406   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18407   shlibpath_var=LD_LIBRARY_PATH
   18408   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18409   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18410   ;;
   18411 
   18412 rdos*)
   18413   dynamic_linker=no
   18414   ;;
   18415 
   18416 solaris*)
   18417   version_type=linux # correct to gnu/linux during the next big refactor
   18418   need_lib_prefix=no
   18419   need_version=no
   18420   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18421   soname_spec='$libname$release$shared_ext$major'
   18422   shlibpath_var=LD_LIBRARY_PATH
   18423   shlibpath_overrides_runpath=yes
   18424   hardcode_into_libs=yes
   18425   # ldd complains unless libraries are executable
   18426   postinstall_cmds='chmod +x $lib'
   18427   ;;
   18428 
   18429 sunos4*)
   18430   version_type=sunos
   18431   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18432   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18433   shlibpath_var=LD_LIBRARY_PATH
   18434   shlibpath_overrides_runpath=yes
   18435   if test yes = "$with_gnu_ld"; then
   18436     need_lib_prefix=no
   18437   fi
   18438   need_version=yes
   18439   ;;
   18440 
   18441 sysv4 | sysv4.3*)
   18442   version_type=linux # correct to gnu/linux during the next big refactor
   18443   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18444   soname_spec='$libname$release$shared_ext$major'
   18445   shlibpath_var=LD_LIBRARY_PATH
   18446   case $host_vendor in
   18447     sni)
   18448       shlibpath_overrides_runpath=no
   18449       need_lib_prefix=no
   18450       runpath_var=LD_RUN_PATH
   18451       ;;
   18452     siemens)
   18453       need_lib_prefix=no
   18454       ;;
   18455     motorola)
   18456       need_lib_prefix=no
   18457       need_version=no
   18458       shlibpath_overrides_runpath=no
   18459       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18460       ;;
   18461   esac
   18462   ;;
   18463 
   18464 sysv4*MP*)
   18465   if test -d /usr/nec; then
   18466     version_type=linux # correct to gnu/linux during the next big refactor
   18467     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18468     soname_spec='$libname$shared_ext.$major'
   18469     shlibpath_var=LD_LIBRARY_PATH
   18470   fi
   18471   ;;
   18472 
   18473 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18474   version_type=sco
   18475   need_lib_prefix=no
   18476   need_version=no
   18477   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18478   soname_spec='$libname$release$shared_ext$major'
   18479   shlibpath_var=LD_LIBRARY_PATH
   18480   shlibpath_overrides_runpath=yes
   18481   hardcode_into_libs=yes
   18482   if test yes = "$with_gnu_ld"; then
   18483     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18484   else
   18485     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18486     case $host_os in
   18487       sco3.2v5*)
   18488         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18489 	;;
   18490     esac
   18491   fi
   18492   sys_lib_dlsearch_path_spec='/usr/lib'
   18493   ;;
   18494 
   18495 tpf*)
   18496   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18497   version_type=linux # correct to gnu/linux during the next big refactor
   18498   need_lib_prefix=no
   18499   need_version=no
   18500   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18501   shlibpath_var=LD_LIBRARY_PATH
   18502   shlibpath_overrides_runpath=no
   18503   hardcode_into_libs=yes
   18504   ;;
   18505 
   18506 uts4*)
   18507   version_type=linux # correct to gnu/linux during the next big refactor
   18508   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18509   soname_spec='$libname$release$shared_ext$major'
   18510   shlibpath_var=LD_LIBRARY_PATH
   18511   ;;
   18512 
   18513 *)
   18514   dynamic_linker=no
   18515   ;;
   18516 esac
   18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18518 printf "%s\n" "$dynamic_linker" >&6; }
   18519 test no = "$dynamic_linker" && can_build_shared=no
   18520 
   18521 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18522 if test yes = "$GCC"; then
   18523   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18524 fi
   18525 
   18526 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18527   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18528 fi
   18529 
   18530 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18531   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18532 fi
   18533 
   18534 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18535 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18536 
   18537 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18538 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18539 
   18540 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18541 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18542 
   18543 
   18544 
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 
   18586 
   18587 
   18588 
   18589 
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18640 printf %s "checking how to hardcode library paths into programs... " >&6; }
   18641 hardcode_action=
   18642 if test -n "$hardcode_libdir_flag_spec" ||
   18643    test -n "$runpath_var" ||
   18644    test yes = "$hardcode_automatic"; then
   18645 
   18646   # We can hardcode non-existent directories.
   18647   if test no != "$hardcode_direct" &&
   18648      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18649      # have to relink, otherwise we might link with an installed library
   18650      # when we should be linking with a yet-to-be-installed one
   18651      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18652      test no != "$hardcode_minus_L"; then
   18653     # Linking always hardcodes the temporary library directory.
   18654     hardcode_action=relink
   18655   else
   18656     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18657     hardcode_action=immediate
   18658   fi
   18659 else
   18660   # We cannot hardcode anything, or else we can only hardcode existing
   18661   # directories.
   18662   hardcode_action=unsupported
   18663 fi
   18664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18665 printf "%s\n" "$hardcode_action" >&6; }
   18666 
   18667 if test relink = "$hardcode_action" ||
   18668    test yes = "$inherit_rpath"; then
   18669   # Fast installation is not supported
   18670   enable_fast_install=no
   18671 elif test yes = "$shlibpath_overrides_runpath" ||
   18672      test no = "$enable_shared"; then
   18673   # Fast installation is not necessary
   18674   enable_fast_install=needless
   18675 fi
   18676 
   18677 
   18678 
   18679 
   18680 
   18681 
   18682   if test yes != "$enable_dlopen"; then
   18683   enable_dlopen=unknown
   18684   enable_dlopen_self=unknown
   18685   enable_dlopen_self_static=unknown
   18686 else
   18687   lt_cv_dlopen=no
   18688   lt_cv_dlopen_libs=
   18689 
   18690   case $host_os in
   18691   beos*)
   18692     lt_cv_dlopen=load_add_on
   18693     lt_cv_dlopen_libs=
   18694     lt_cv_dlopen_self=yes
   18695     ;;
   18696 
   18697   mingw* | pw32* | cegcc*)
   18698     lt_cv_dlopen=LoadLibrary
   18699     lt_cv_dlopen_libs=
   18700     ;;
   18701 
   18702   cygwin*)
   18703     lt_cv_dlopen=dlopen
   18704     lt_cv_dlopen_libs=
   18705     ;;
   18706 
   18707   darwin*)
   18708     # if libdl is installed we need to link against it
   18709     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18710 printf %s "checking for dlopen in -ldl... " >&6; }
   18711 if test ${ac_cv_lib_dl_dlopen+y}
   18712 then :
   18713   printf %s "(cached) " >&6
   18714 else $as_nop
   18715   ac_check_lib_save_LIBS=$LIBS
   18716 LIBS="-ldl  $LIBS"
   18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18718 /* end confdefs.h.  */
   18719 
   18720 /* Override any GCC internal prototype to avoid an error.
   18721    Use char because int might match the return type of a GCC
   18722    builtin and then its argument prototype would still apply.  */
   18723 char dlopen ();
   18724 int
   18725 main (void)
   18726 {
   18727 return dlopen ();
   18728   ;
   18729   return 0;
   18730 }
   18731 _ACEOF
   18732 if ac_fn_c_try_link "$LINENO"
   18733 then :
   18734   ac_cv_lib_dl_dlopen=yes
   18735 else $as_nop
   18736   ac_cv_lib_dl_dlopen=no
   18737 fi
   18738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18739     conftest$ac_exeext conftest.$ac_ext
   18740 LIBS=$ac_check_lib_save_LIBS
   18741 fi
   18742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18743 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18744 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18745 then :
   18746   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18747 else $as_nop
   18748 
   18749     lt_cv_dlopen=dyld
   18750     lt_cv_dlopen_libs=
   18751     lt_cv_dlopen_self=yes
   18752 
   18753 fi
   18754 
   18755     ;;
   18756 
   18757   tpf*)
   18758     # Don't try to run any link tests for TPF.  We know it's impossible
   18759     # because TPF is a cross-compiler, and we know how we open DSOs.
   18760     lt_cv_dlopen=dlopen
   18761     lt_cv_dlopen_libs=
   18762     lt_cv_dlopen_self=no
   18763     ;;
   18764 
   18765   *)
   18766     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18767 if test "x$ac_cv_func_shl_load" = xyes
   18768 then :
   18769   lt_cv_dlopen=shl_load
   18770 else $as_nop
   18771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18772 printf %s "checking for shl_load in -ldld... " >&6; }
   18773 if test ${ac_cv_lib_dld_shl_load+y}
   18774 then :
   18775   printf %s "(cached) " >&6
   18776 else $as_nop
   18777   ac_check_lib_save_LIBS=$LIBS
   18778 LIBS="-ldld  $LIBS"
   18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18780 /* end confdefs.h.  */
   18781 
   18782 /* Override any GCC internal prototype to avoid an error.
   18783    Use char because int might match the return type of a GCC
   18784    builtin and then its argument prototype would still apply.  */
   18785 char shl_load ();
   18786 int
   18787 main (void)
   18788 {
   18789 return shl_load ();
   18790   ;
   18791   return 0;
   18792 }
   18793 _ACEOF
   18794 if ac_fn_c_try_link "$LINENO"
   18795 then :
   18796   ac_cv_lib_dld_shl_load=yes
   18797 else $as_nop
   18798   ac_cv_lib_dld_shl_load=no
   18799 fi
   18800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18801     conftest$ac_exeext conftest.$ac_ext
   18802 LIBS=$ac_check_lib_save_LIBS
   18803 fi
   18804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18805 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   18806 if test "x$ac_cv_lib_dld_shl_load" = xyes
   18807 then :
   18808   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18809 else $as_nop
   18810   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18811 if test "x$ac_cv_func_dlopen" = xyes
   18812 then :
   18813   lt_cv_dlopen=dlopen
   18814 else $as_nop
   18815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18816 printf %s "checking for dlopen in -ldl... " >&6; }
   18817 if test ${ac_cv_lib_dl_dlopen+y}
   18818 then :
   18819   printf %s "(cached) " >&6
   18820 else $as_nop
   18821   ac_check_lib_save_LIBS=$LIBS
   18822 LIBS="-ldl  $LIBS"
   18823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18824 /* end confdefs.h.  */
   18825 
   18826 /* Override any GCC internal prototype to avoid an error.
   18827    Use char because int might match the return type of a GCC
   18828    builtin and then its argument prototype would still apply.  */
   18829 char dlopen ();
   18830 int
   18831 main (void)
   18832 {
   18833 return dlopen ();
   18834   ;
   18835   return 0;
   18836 }
   18837 _ACEOF
   18838 if ac_fn_c_try_link "$LINENO"
   18839 then :
   18840   ac_cv_lib_dl_dlopen=yes
   18841 else $as_nop
   18842   ac_cv_lib_dl_dlopen=no
   18843 fi
   18844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18845     conftest$ac_exeext conftest.$ac_ext
   18846 LIBS=$ac_check_lib_save_LIBS
   18847 fi
   18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18849 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18850 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18851 then :
   18852   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18853 else $as_nop
   18854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18855 printf %s "checking for dlopen in -lsvld... " >&6; }
   18856 if test ${ac_cv_lib_svld_dlopen+y}
   18857 then :
   18858   printf %s "(cached) " >&6
   18859 else $as_nop
   18860   ac_check_lib_save_LIBS=$LIBS
   18861 LIBS="-lsvld  $LIBS"
   18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18863 /* end confdefs.h.  */
   18864 
   18865 /* Override any GCC internal prototype to avoid an error.
   18866    Use char because int might match the return type of a GCC
   18867    builtin and then its argument prototype would still apply.  */
   18868 char dlopen ();
   18869 int
   18870 main (void)
   18871 {
   18872 return dlopen ();
   18873   ;
   18874   return 0;
   18875 }
   18876 _ACEOF
   18877 if ac_fn_c_try_link "$LINENO"
   18878 then :
   18879   ac_cv_lib_svld_dlopen=yes
   18880 else $as_nop
   18881   ac_cv_lib_svld_dlopen=no
   18882 fi
   18883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18884     conftest$ac_exeext conftest.$ac_ext
   18885 LIBS=$ac_check_lib_save_LIBS
   18886 fi
   18887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18888 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   18889 if test "x$ac_cv_lib_svld_dlopen" = xyes
   18890 then :
   18891   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18892 else $as_nop
   18893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18894 printf %s "checking for dld_link in -ldld... " >&6; }
   18895 if test ${ac_cv_lib_dld_dld_link+y}
   18896 then :
   18897   printf %s "(cached) " >&6
   18898 else $as_nop
   18899   ac_check_lib_save_LIBS=$LIBS
   18900 LIBS="-ldld  $LIBS"
   18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18902 /* end confdefs.h.  */
   18903 
   18904 /* Override any GCC internal prototype to avoid an error.
   18905    Use char because int might match the return type of a GCC
   18906    builtin and then its argument prototype would still apply.  */
   18907 char dld_link ();
   18908 int
   18909 main (void)
   18910 {
   18911 return dld_link ();
   18912   ;
   18913   return 0;
   18914 }
   18915 _ACEOF
   18916 if ac_fn_c_try_link "$LINENO"
   18917 then :
   18918   ac_cv_lib_dld_dld_link=yes
   18919 else $as_nop
   18920   ac_cv_lib_dld_dld_link=no
   18921 fi
   18922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18923     conftest$ac_exeext conftest.$ac_ext
   18924 LIBS=$ac_check_lib_save_LIBS
   18925 fi
   18926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18927 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   18928 if test "x$ac_cv_lib_dld_dld_link" = xyes
   18929 then :
   18930   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18931 fi
   18932 
   18933 
   18934 fi
   18935 
   18936 
   18937 fi
   18938 
   18939 
   18940 fi
   18941 
   18942 
   18943 fi
   18944 
   18945 
   18946 fi
   18947 
   18948     ;;
   18949   esac
   18950 
   18951   if test no = "$lt_cv_dlopen"; then
   18952     enable_dlopen=no
   18953   else
   18954     enable_dlopen=yes
   18955   fi
   18956 
   18957   case $lt_cv_dlopen in
   18958   dlopen)
   18959     save_CPPFLAGS=$CPPFLAGS
   18960     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18961 
   18962     save_LDFLAGS=$LDFLAGS
   18963     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18964 
   18965     save_LIBS=$LIBS
   18966     LIBS="$lt_cv_dlopen_libs $LIBS"
   18967 
   18968     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18969 printf %s "checking whether a program can dlopen itself... " >&6; }
   18970 if test ${lt_cv_dlopen_self+y}
   18971 then :
   18972   printf %s "(cached) " >&6
   18973 else $as_nop
   18974   	  if test yes = "$cross_compiling"; then :
   18975   lt_cv_dlopen_self=cross
   18976 else
   18977   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18978   lt_status=$lt_dlunknown
   18979   cat > conftest.$ac_ext <<_LT_EOF
   18980 #line $LINENO "configure"
   18981 #include "confdefs.h"
   18982 
   18983 #if HAVE_DLFCN_H
   18984 #include <dlfcn.h>
   18985 #endif
   18986 
   18987 #include <stdio.h>
   18988 
   18989 #ifdef RTLD_GLOBAL
   18990 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18991 #else
   18992 #  ifdef DL_GLOBAL
   18993 #    define LT_DLGLOBAL		DL_GLOBAL
   18994 #  else
   18995 #    define LT_DLGLOBAL		0
   18996 #  endif
   18997 #endif
   18998 
   18999 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19000    find out it does not work in some platform. */
   19001 #ifndef LT_DLLAZY_OR_NOW
   19002 #  ifdef RTLD_LAZY
   19003 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19004 #  else
   19005 #    ifdef DL_LAZY
   19006 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19007 #    else
   19008 #      ifdef RTLD_NOW
   19009 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19010 #      else
   19011 #        ifdef DL_NOW
   19012 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19013 #        else
   19014 #          define LT_DLLAZY_OR_NOW	0
   19015 #        endif
   19016 #      endif
   19017 #    endif
   19018 #  endif
   19019 #endif
   19020 
   19021 /* When -fvisibility=hidden is used, assume the code has been annotated
   19022    correspondingly for the symbols needed.  */
   19023 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19024 int fnord () __attribute__((visibility("default")));
   19025 #endif
   19026 
   19027 int fnord () { return 42; }
   19028 int main ()
   19029 {
   19030   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19031   int status = $lt_dlunknown;
   19032 
   19033   if (self)
   19034     {
   19035       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19036       else
   19037         {
   19038 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19039           else puts (dlerror ());
   19040 	}
   19041       /* dlclose (self); */
   19042     }
   19043   else
   19044     puts (dlerror ());
   19045 
   19046   return status;
   19047 }
   19048 _LT_EOF
   19049   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19050   (eval $ac_link) 2>&5
   19051   ac_status=$?
   19052   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19053   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19054     (./conftest; exit; ) >&5 2>/dev/null
   19055     lt_status=$?
   19056     case x$lt_status in
   19057       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   19058       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   19059       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   19060     esac
   19061   else :
   19062     # compilation failed
   19063     lt_cv_dlopen_self=no
   19064   fi
   19065 fi
   19066 rm -fr conftest*
   19067 
   19068 
   19069 fi
   19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19071 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19072 
   19073     if test yes = "$lt_cv_dlopen_self"; then
   19074       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19075       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19076 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19077 if test ${lt_cv_dlopen_self_static+y}
   19078 then :
   19079   printf %s "(cached) " >&6
   19080 else $as_nop
   19081   	  if test yes = "$cross_compiling"; then :
   19082   lt_cv_dlopen_self_static=cross
   19083 else
   19084   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19085   lt_status=$lt_dlunknown
   19086   cat > conftest.$ac_ext <<_LT_EOF
   19087 #line $LINENO "configure"
   19088 #include "confdefs.h"
   19089 
   19090 #if HAVE_DLFCN_H
   19091 #include <dlfcn.h>
   19092 #endif
   19093 
   19094 #include <stdio.h>
   19095 
   19096 #ifdef RTLD_GLOBAL
   19097 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19098 #else
   19099 #  ifdef DL_GLOBAL
   19100 #    define LT_DLGLOBAL		DL_GLOBAL
   19101 #  else
   19102 #    define LT_DLGLOBAL		0
   19103 #  endif
   19104 #endif
   19105 
   19106 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19107    find out it does not work in some platform. */
   19108 #ifndef LT_DLLAZY_OR_NOW
   19109 #  ifdef RTLD_LAZY
   19110 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19111 #  else
   19112 #    ifdef DL_LAZY
   19113 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19114 #    else
   19115 #      ifdef RTLD_NOW
   19116 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19117 #      else
   19118 #        ifdef DL_NOW
   19119 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19120 #        else
   19121 #          define LT_DLLAZY_OR_NOW	0
   19122 #        endif
   19123 #      endif
   19124 #    endif
   19125 #  endif
   19126 #endif
   19127 
   19128 /* When -fvisibility=hidden is used, assume the code has been annotated
   19129    correspondingly for the symbols needed.  */
   19130 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19131 int fnord () __attribute__((visibility("default")));
   19132 #endif
   19133 
   19134 int fnord () { return 42; }
   19135 int main ()
   19136 {
   19137   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19138   int status = $lt_dlunknown;
   19139 
   19140   if (self)
   19141     {
   19142       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19143       else
   19144         {
   19145 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19146           else puts (dlerror ());
   19147 	}
   19148       /* dlclose (self); */
   19149     }
   19150   else
   19151     puts (dlerror ());
   19152 
   19153   return status;
   19154 }
   19155 _LT_EOF
   19156   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19157   (eval $ac_link) 2>&5
   19158   ac_status=$?
   19159   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19160   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19161     (./conftest; exit; ) >&5 2>/dev/null
   19162     lt_status=$?
   19163     case x$lt_status in
   19164       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19165       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19166       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19167     esac
   19168   else :
   19169     # compilation failed
   19170     lt_cv_dlopen_self_static=no
   19171   fi
   19172 fi
   19173 rm -fr conftest*
   19174 
   19175 
   19176 fi
   19177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19178 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19179     fi
   19180 
   19181     CPPFLAGS=$save_CPPFLAGS
   19182     LDFLAGS=$save_LDFLAGS
   19183     LIBS=$save_LIBS
   19184     ;;
   19185   esac
   19186 
   19187   case $lt_cv_dlopen_self in
   19188   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19189   *) enable_dlopen_self=unknown ;;
   19190   esac
   19191 
   19192   case $lt_cv_dlopen_self_static in
   19193   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19194   *) enable_dlopen_self_static=unknown ;;
   19195   esac
   19196 fi
   19197 
   19198 
   19199 
   19200 
   19201 
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 
   19213 
   19214 striplib=
   19215 old_striplib=
   19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19217 printf %s "checking whether stripping libraries is possible... " >&6; }
   19218 if test -z "$STRIP"; then
   19219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19220 printf "%s\n" "no" >&6; }
   19221 else
   19222   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19223     old_striplib="$STRIP --strip-debug"
   19224     striplib="$STRIP --strip-unneeded"
   19225     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19226 printf "%s\n" "yes" >&6; }
   19227   else
   19228     case $host_os in
   19229     darwin*)
   19230       # FIXME - insert some real tests, host_os isn't really good enough
   19231       striplib="$STRIP -x"
   19232       old_striplib="$STRIP -S"
   19233       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19234 printf "%s\n" "yes" >&6; }
   19235       ;;
   19236     freebsd*)
   19237       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19238         old_striplib="$STRIP --strip-debug"
   19239         striplib="$STRIP --strip-unneeded"
   19240         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19241 printf "%s\n" "yes" >&6; }
   19242       else
   19243         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19244 printf "%s\n" "no" >&6; }
   19245       fi
   19246       ;;
   19247     *)
   19248       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19249 printf "%s\n" "no" >&6; }
   19250       ;;
   19251     esac
   19252   fi
   19253 fi
   19254 
   19255 
   19256 
   19257 
   19258 
   19259 
   19260 
   19261 
   19262 
   19263 
   19264 
   19265 
   19266   # Report what library types will actually be built
   19267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19268 printf %s "checking if libtool supports shared libraries... " >&6; }
   19269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19270 printf "%s\n" "$can_build_shared" >&6; }
   19271 
   19272   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19273 printf %s "checking whether to build shared libraries... " >&6; }
   19274   test no = "$can_build_shared" && enable_shared=no
   19275 
   19276   # On AIX, shared libraries and static libraries use the same namespace, and
   19277   # are all built from PIC.
   19278   case $host_os in
   19279   aix3*)
   19280     test yes = "$enable_shared" && enable_static=no
   19281     if test -n "$RANLIB"; then
   19282       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19283       postinstall_cmds='$RANLIB $lib'
   19284     fi
   19285     ;;
   19286 
   19287   aix[4-9]*)
   19288     if test ia64 != "$host_cpu"; then
   19289       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19290       yes,aix,yes) ;;			# shared object as lib.so file only
   19291       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19292       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19293       esac
   19294     fi
   19295     ;;
   19296   esac
   19297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19298 printf "%s\n" "$enable_shared" >&6; }
   19299 
   19300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19301 printf %s "checking whether to build static libraries... " >&6; }
   19302   # Make sure either enable_shared or enable_static is yes.
   19303   test yes = "$enable_shared" || enable_static=yes
   19304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19305 printf "%s\n" "$enable_static" >&6; }
   19306 
   19307 
   19308 
   19309 
   19310 fi
   19311 ac_ext=c
   19312 ac_cpp='$CPP $CPPFLAGS'
   19313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19316 
   19317 CC=$lt_save_CC
   19318 
   19319 
   19320 
   19321 
   19322 
   19323 
   19324 
   19325 
   19326 
   19327 
   19328 
   19329 
   19330 
   19331 
   19332 
   19333         ac_config_commands="$ac_config_commands libtool"
   19334 
   19335 
   19336 
   19337 
   19338 # Only expand once:
   19339 
   19340 
   19341 
   19342 
   19343 
   19344 
   19345 # Check whether --with-xorg-module-dir was given.
   19346 if test ${with_xorg_module_dir+y}
   19347 then :
   19348   withval=$with_xorg_module_dir; moduledir="$withval"
   19349 else $as_nop
   19350   moduledir="$libdir/xorg/modules"
   19351 fi
   19352 
   19353 inputdir=${moduledir}/input
   19354 
   19355 
   19356 
   19357 # Check whether --with-xorg-conf-dir was given.
   19358 if test ${with_xorg_conf_dir+y}
   19359 then :
   19360   withval=$with_xorg_conf_dir; XORG_CONF_DIR="$withval"
   19361 else $as_nop
   19362   XORG_CONF_DIR="`$PKG_CONFIG --variable=sysconfigdir xorg-server`"
   19363 fi
   19364 
   19365 
   19366  if test "x$XORG_CONF_DIR" != "x" && test "x$XORG_CONF_DIR" != "xno"; then
   19367   HAS_XORG_CONF_DIR_TRUE=
   19368   HAS_XORG_CONF_DIR_FALSE='#'
   19369 else
   19370   HAS_XORG_CONF_DIR_TRUE='#'
   19371   HAS_XORG_CONF_DIR_FALSE=
   19372 fi
   19373 
   19374 
   19375 
   19376 # Check whether --with-hal-bin-dir was given.
   19377 if test ${with_hal_bin_dir+y}
   19378 then :
   19379   withval=$with_hal_bin_dir; halbindir="$withval"
   19380 else $as_nop
   19381   halbindir="$bindir"
   19382 fi
   19383 
   19384 HAL_BIN_DIR=${halbindir}
   19385 
   19386 
   19387 
   19388 # Check whether --with-hal-callouts-dir was given.
   19389 if test ${with_hal_callouts_dir+y}
   19390 then :
   19391   withval=$with_hal_callouts_dir; halcalloutsdir="$withval"
   19392 else $as_nop
   19393   halcalloutsdir="$libdir/hal"
   19394 fi
   19395 
   19396 HAL_CALLOUTS_DIR=${halcalloutsdir}
   19397 
   19398 
   19399 
   19400 # Check whether --with-hal-fdi-dir was given.
   19401 if test ${with_hal_fdi_dir+y}
   19402 then :
   19403   withval=$with_hal_fdi_dir; halfdidir="$withval"
   19404 else $as_nop
   19405   halfdidir="$datadir/hal/fdi/policy/20thirdparty"
   19406 fi
   19407 
   19408 HAL_FDI_DIR=${halfdidir}
   19409 
   19410 
   19411 # Udev location for rules directory
   19412 
   19413 # Check whether --with-udev-rules-dir was given.
   19414 if test ${with_udev_rules_dir+y}
   19415 then :
   19416   withval=$with_udev_rules_dir; udevdir="$withval"
   19417 else $as_nop
   19418   udevdir="$libdir/udev/rules.d"
   19419 fi
   19420 
   19421 UDEV_RULES_DIR=${udevdir}
   19422 
   19423  if test "x$UDEV_RULES_DIR" != "xno"; then
   19424   HAS_UDEV_RULES_DIR_TRUE=
   19425   HAS_UDEV_RULES_DIR_FALSE='#'
   19426 else
   19427   HAS_UDEV_RULES_DIR_TRUE='#'
   19428   HAS_UDEV_RULES_DIR_FALSE=
   19429 fi
   19430 
   19431 
   19432 # Checks for extensions
   19433 
   19434 
   19435 	SAVE_CFLAGS="$CFLAGS"
   19436 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19437 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19438 /* end confdefs.h.  */
   19439 
   19440 #include "xorg-server.h"
   19441 #if !defined RANDR
   19442 #error RANDR not defined
   19443 #endif
   19444 
   19445 int
   19446 main (void)
   19447 {
   19448 
   19449   ;
   19450   return 0;
   19451 }
   19452 _ACEOF
   19453 if ac_fn_c_try_compile "$LINENO"
   19454 then :
   19455   _EXT_CHECK=yes
   19456 else $as_nop
   19457   _EXT_CHECK=no
   19458 fi
   19459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19460 	CFLAGS="$SAVE_CFLAGS"
   19461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   19462 printf %s "checking if RANDR is defined... " >&6; }
   19463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19464 printf "%s\n" "$_EXT_CHECK" >&6; }
   19465 	if test "$_EXT_CHECK" != no; then
   19466 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   19467 	fi
   19468 
   19469 
   19470 
   19471 	SAVE_CFLAGS="$CFLAGS"
   19472 	CFLAGS="$CFLAGS `$PKG_CONFIG --cflags xorg-server`"
   19473 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19474 /* end confdefs.h.  */
   19475 
   19476 #include "xorg-server.h"
   19477 #if !defined XINPUT
   19478 #error XINPUT not defined
   19479 #endif
   19480 
   19481 int
   19482 main (void)
   19483 {
   19484 
   19485   ;
   19486   return 0;
   19487 }
   19488 _ACEOF
   19489 if ac_fn_c_try_compile "$LINENO"
   19490 then :
   19491   _EXT_CHECK=yes
   19492 else $as_nop
   19493   _EXT_CHECK=no
   19494 fi
   19495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19496 	CFLAGS="$SAVE_CFLAGS"
   19497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XINPUT is defined" >&5
   19498 printf %s "checking if XINPUT is defined... " >&6; }
   19499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   19500 printf "%s\n" "$_EXT_CHECK" >&6; }
   19501 	if test "$_EXT_CHECK" != no; then
   19502 		REQUIRED_MODULES="$REQUIRED_MODULES inputproto"
   19503 	fi
   19504 
   19505 
   19506 # Checks for pkg-config packages
   19507 libudev_check=yes
   19508 
   19509 # Check whether --with-libudev was given.
   19510 if test ${with_libudev+y}
   19511 then :
   19512   withval=$with_libudev; if test x$withval = xno; then libudev_check=no; fi
   19513 
   19514 fi
   19515 
   19516 
   19517 case $host_os in
   19518      linux*)
   19519 	 if test $libudev_check != no; then
   19520 
   19521 pkg_failed=no
   19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
   19523 printf %s "checking for LIBUDEV... " >&6; }
   19524 
   19525 if test -n "$LIBUDEV_CFLAGS"; then
   19526     pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
   19527  elif test -n "$PKG_CONFIG"; then
   19528     if test -n "$PKG_CONFIG" && \
   19529     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19530   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19531   ac_status=$?
   19532   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19533   test $ac_status = 0; }; then
   19534   pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
   19535 		      test "x$?" != "x0" && pkg_failed=yes
   19536 else
   19537   pkg_failed=yes
   19538 fi
   19539  else
   19540     pkg_failed=untried
   19541 fi
   19542 if test -n "$LIBUDEV_LIBS"; then
   19543     pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
   19544  elif test -n "$PKG_CONFIG"; then
   19545     if test -n "$PKG_CONFIG" && \
   19546     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5
   19547   ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
   19548   ac_status=$?
   19549   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19550   test $ac_status = 0; }; then
   19551   pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
   19552 		      test "x$?" != "x0" && pkg_failed=yes
   19553 else
   19554   pkg_failed=yes
   19555 fi
   19556  else
   19557     pkg_failed=untried
   19558 fi
   19559 
   19560 
   19561 
   19562 if test $pkg_failed = yes; then
   19563    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19564 printf "%s\n" "no" >&6; }
   19565 
   19566 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19567         _pkg_short_errors_supported=yes
   19568 else
   19569         _pkg_short_errors_supported=no
   19570 fi
   19571         if test $_pkg_short_errors_supported = yes; then
   19572 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1`
   19573         else
   19574 	        LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1`
   19575         fi
   19576 	# Put the nasty error message in config.log where it belongs
   19577 	echo "$LIBUDEV_PKG_ERRORS" >&5
   19578 
   19579 	as_fn_error $? "Package requirements (libudev) were not met:
   19580 
   19581 $LIBUDEV_PKG_ERRORS
   19582 
   19583 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19584 installed software in a non-standard prefix.
   19585 
   19586 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
   19587 and LIBUDEV_LIBS to avoid the need to call pkg-config.
   19588 See the pkg-config man page for more details." "$LINENO" 5
   19589 elif test $pkg_failed = untried; then
   19590      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19591 printf "%s\n" "no" >&6; }
   19592 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19593 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19594 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19595 is in your PATH or set the PKG_CONFIG environment variable to the full
   19596 path to pkg-config.
   19597 
   19598 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
   19599 and LIBUDEV_LIBS to avoid the need to call pkg-config.
   19600 See the pkg-config man page for more details.
   19601 
   19602 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19603 See \`config.log' for more details" "$LINENO" 5; }
   19604 else
   19605 	LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
   19606 	LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
   19607         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19608 printf "%s\n" "yes" >&6; }
   19609 
   19610 printf "%s\n" "#define HAVE_LIBUDEV 1" >>confdefs.h
   19611 
   19612 fi;
   19613          fi
   19614 
   19615   for ac_func in ioperm iopl
   19616 do :
   19617   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
   19618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19619 if eval test \"x\$"$as_ac_var"\" = x"yes"
   19620 then :
   19621   cat >>confdefs.h <<_ACEOF
   19622 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
   19623 _ACEOF
   19624 
   19625 else $as_nop
   19626   as_fn_error $? "" "$LINENO" 5
   19627 			(cannot determine how to elevate io permissions)
   19628 fi
   19629 
   19630 done
   19631 
   19632 printf "%s\n" "#define VMMOUSE_OS_GENERIC 1" >>confdefs.h
   19633 
   19634      ;;
   19635      *bsd*)
   19636 
   19637 printf "%s\n" "#define VMMOUSE_OS_BSD 1" >>confdefs.h
   19638 
   19639      ;;
   19640      solaris*)
   19641 	 if test "x$GCC" = "xyes"; then
   19642             CC="$save_solaris_cc -fms-extensions"
   19643 	 fi
   19644 
   19645 printf "%s\n" "#define VMMOUSE_OS_SOLARIS 1" >>confdefs.h
   19646 
   19647      ;;
   19648      *)
   19649 
   19650   for ac_func in ioperm iopl
   19651 do :
   19652   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
   19653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19654 if eval test \"x\$"$as_ac_var"\" = x"yes"
   19655 then :
   19656   cat >>confdefs.h <<_ACEOF
   19657 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
   19658 _ACEOF
   19659 
   19660 else $as_nop
   19661   as_fn_error $? "" "$LINENO" 5
   19662 			(cannot determine how to elevate io permissions)
   19663 fi
   19664 
   19665 done
   19666 	 printf "%s\n" "#define VMMOUSE_OS_GENERIC 1" >>confdefs.h
   19667 
   19668      ;;
   19669 esac
   19670 
   19671 case $host_cpu in
   19672      i*86)
   19673 	case $host_os in
   19674 		*freebsd*)	printf "%s\n" "#define USE_DEV_IO 1" >>confdefs.h
   19675  ;;
   19676 		*netbsd*)
   19677 printf "%s\n" "#define USE_I386_IOPL /**/" >>confdefs.h
   19678 
   19679 				use_i386_iopl=yes ;;
   19680 		*openbsd*)
   19681 printf "%s\n" "#define USE_I386_IOPL /**/" >>confdefs.h
   19682 
   19683 				use_i386_iopl=yes ;;
   19684 	esac
   19685 	;;
   19686      x86_64*|amd64*)
   19687 	case $host_os in
   19688 		*freebsd*)
   19689 printf "%s\n" "#define USE_DEV_IO 1" >>confdefs.h
   19690  ;;
   19691 		*netbsd*)
   19692 printf "%s\n" "#define USE_X86_64_IOPL 1" >>confdefs.h
   19693 
   19694 				use_x86_64_iopl=yes ;;
   19695 		*openbsd*)
   19696 printf "%s\n" "#define USE_AMD64_IOPL 1" >>confdefs.h
   19697 
   19698 				use_amd64_iopl=yes ;;
   19699 	esac
   19700 	;;
   19701 esac
   19702 
   19703 if test x$use_i386_iopl = xyes; then
   19704    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_iopl in -li386" >&5
   19705 printf %s "checking for i386_iopl in -li386... " >&6; }
   19706 if test ${ac_cv_lib_i386_i386_iopl+y}
   19707 then :
   19708   printf %s "(cached) " >&6
   19709 else $as_nop
   19710   ac_check_lib_save_LIBS=$LIBS
   19711 LIBS="-li386  $LIBS"
   19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19713 /* end confdefs.h.  */
   19714 
   19715 /* Override any GCC internal prototype to avoid an error.
   19716    Use char because int might match the return type of a GCC
   19717    builtin and then its argument prototype would still apply.  */
   19718 char i386_iopl ();
   19719 int
   19720 main (void)
   19721 {
   19722 return i386_iopl ();
   19723   ;
   19724   return 0;
   19725 }
   19726 _ACEOF
   19727 if ac_fn_c_try_link "$LINENO"
   19728 then :
   19729   ac_cv_lib_i386_i386_iopl=yes
   19730 else $as_nop
   19731   ac_cv_lib_i386_i386_iopl=no
   19732 fi
   19733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19734     conftest$ac_exeext conftest.$ac_ext
   19735 LIBS=$ac_check_lib_save_LIBS
   19736 fi
   19737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_iopl" >&5
   19738 printf "%s\n" "$ac_cv_lib_i386_i386_iopl" >&6; }
   19739 if test "x$ac_cv_lib_i386_i386_iopl" = xyes
   19740 then :
   19741   printf "%s\n" "#define HAVE_LIBI386 1" >>confdefs.h
   19742 
   19743   LIBS="-li386 $LIBS"
   19744 
   19745 else $as_nop
   19746   as_fn_error $? "cannot find library for i386_iopl" "$LINENO" 5
   19747 fi
   19748 
   19749 fi
   19750 
   19751 if test x$use_amd64_iopl = xyes; then
   19752    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for amd64_iopl in -lamd64" >&5
   19753 printf %s "checking for amd64_iopl in -lamd64... " >&6; }
   19754 if test ${ac_cv_lib_amd64_amd64_iopl+y}
   19755 then :
   19756   printf %s "(cached) " >&6
   19757 else $as_nop
   19758   ac_check_lib_save_LIBS=$LIBS
   19759 LIBS="-lamd64  $LIBS"
   19760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19761 /* end confdefs.h.  */
   19762 
   19763 /* Override any GCC internal prototype to avoid an error.
   19764    Use char because int might match the return type of a GCC
   19765    builtin and then its argument prototype would still apply.  */
   19766 char amd64_iopl ();
   19767 int
   19768 main (void)
   19769 {
   19770 return amd64_iopl ();
   19771   ;
   19772   return 0;
   19773 }
   19774 _ACEOF
   19775 if ac_fn_c_try_link "$LINENO"
   19776 then :
   19777   ac_cv_lib_amd64_amd64_iopl=yes
   19778 else $as_nop
   19779   ac_cv_lib_amd64_amd64_iopl=no
   19780 fi
   19781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19782     conftest$ac_exeext conftest.$ac_ext
   19783 LIBS=$ac_check_lib_save_LIBS
   19784 fi
   19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_amd64_amd64_iopl" >&5
   19786 printf "%s\n" "$ac_cv_lib_amd64_amd64_iopl" >&6; }
   19787 if test "x$ac_cv_lib_amd64_amd64_iopl" = xyes
   19788 then :
   19789   printf "%s\n" "#define HAVE_LIBAMD64 1" >>confdefs.h
   19790 
   19791   LIBS="-lamd64 $LIBS"
   19792 
   19793 else $as_nop
   19794   as_fn_error $? "cannot find library for amd64_iopl" "$LINENO" 5
   19795 fi
   19796 
   19797 fi
   19798 
   19799 if test x$use_x86_64_iopl = xyes; then
   19800    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x86_64_iopl in -lx86_64" >&5
   19801 printf %s "checking for x86_64_iopl in -lx86_64... " >&6; }
   19802 if test ${ac_cv_lib_x86_64_x86_64_iopl+y}
   19803 then :
   19804   printf %s "(cached) " >&6
   19805 else $as_nop
   19806   ac_check_lib_save_LIBS=$LIBS
   19807 LIBS="-lx86_64  $LIBS"
   19808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19809 /* end confdefs.h.  */
   19810 
   19811 /* Override any GCC internal prototype to avoid an error.
   19812    Use char because int might match the return type of a GCC
   19813    builtin and then its argument prototype would still apply.  */
   19814 char x86_64_iopl ();
   19815 int
   19816 main (void)
   19817 {
   19818 return x86_64_iopl ();
   19819   ;
   19820   return 0;
   19821 }
   19822 _ACEOF
   19823 if ac_fn_c_try_link "$LINENO"
   19824 then :
   19825   ac_cv_lib_x86_64_x86_64_iopl=yes
   19826 else $as_nop
   19827   ac_cv_lib_x86_64_x86_64_iopl=no
   19828 fi
   19829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19830     conftest$ac_exeext conftest.$ac_ext
   19831 LIBS=$ac_check_lib_save_LIBS
   19832 fi
   19833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_x86_64_x86_64_iopl" >&5
   19834 printf "%s\n" "$ac_cv_lib_x86_64_x86_64_iopl" >&6; }
   19835 if test "x$ac_cv_lib_x86_64_x86_64_iopl" = xyes
   19836 then :
   19837   printf "%s\n" "#define HAVE_LIBX86_64 1" >>confdefs.h
   19838 
   19839   LIBS="-lx86_64 $LIBS"
   19840 
   19841 else $as_nop
   19842   as_fn_error $? "cannot find library for x86_64_iopl" "$LINENO" 5
   19843 fi
   19844 
   19845 fi
   19846 
   19847 
   19848 pkg_failed=no
   19849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   19850 printf %s "checking for XORG... " >&6; }
   19851 
   19852 if test -n "$XORG_CFLAGS"; then
   19853     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   19854  elif test -n "$PKG_CONFIG"; then
   19855     if test -n "$PKG_CONFIG" && \
   19856     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto \$REQUIRED_MODULES\""; } >&5
   19857   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES") 2>&5
   19858   ac_status=$?
   19859   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19860   test $ac_status = 0; }; then
   19861   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>/dev/null`
   19862 		      test "x$?" != "x0" && pkg_failed=yes
   19863 else
   19864   pkg_failed=yes
   19865 fi
   19866  else
   19867     pkg_failed=untried
   19868 fi
   19869 if test -n "$XORG_LIBS"; then
   19870     pkg_cv_XORG_LIBS="$XORG_LIBS"
   19871  elif test -n "$PKG_CONFIG"; then
   19872     if test -n "$PKG_CONFIG" && \
   19873     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto \$REQUIRED_MODULES\""; } >&5
   19874   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES") 2>&5
   19875   ac_status=$?
   19876   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19877   test $ac_status = 0; }; then
   19878   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>/dev/null`
   19879 		      test "x$?" != "x0" && pkg_failed=yes
   19880 else
   19881   pkg_failed=yes
   19882 fi
   19883  else
   19884     pkg_failed=untried
   19885 fi
   19886 
   19887 
   19888 
   19889 if test $pkg_failed = yes; then
   19890    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19891 printf "%s\n" "no" >&6; }
   19892 
   19893 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19894         _pkg_short_errors_supported=yes
   19895 else
   19896         _pkg_short_errors_supported=no
   19897 fi
   19898         if test $_pkg_short_errors_supported = yes; then
   19899 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>&1`
   19900         else
   19901 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>&1`
   19902         fi
   19903 	# Put the nasty error message in config.log where it belongs
   19904 	echo "$XORG_PKG_ERRORS" >&5
   19905 
   19906 	as_fn_error $? "Package requirements (xorg-server >= 1.0.1 xproto $REQUIRED_MODULES) were not met:
   19907 
   19908 $XORG_PKG_ERRORS
   19909 
   19910 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19911 installed software in a non-standard prefix.
   19912 
   19913 Alternatively, you may set the environment variables XORG_CFLAGS
   19914 and XORG_LIBS to avoid the need to call pkg-config.
   19915 See the pkg-config man page for more details." "$LINENO" 5
   19916 elif test $pkg_failed = untried; then
   19917      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19918 printf "%s\n" "no" >&6; }
   19919 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19920 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19921 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19922 is in your PATH or set the PKG_CONFIG environment variable to the full
   19923 path to pkg-config.
   19924 
   19925 Alternatively, you may set the environment variables XORG_CFLAGS
   19926 and XORG_LIBS to avoid the need to call pkg-config.
   19927 See the pkg-config man page for more details.
   19928 
   19929 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19930 See \`config.log' for more details" "$LINENO" 5; }
   19931 else
   19932 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   19933 	XORG_LIBS=$pkg_cv_XORG_LIBS
   19934         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19935 printf "%s\n" "yes" >&6; }
   19936 
   19937 fi
   19938 
   19939 if test -n "$PKG_CONFIG" && \
   19940     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0\""; } >&5
   19941   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0") 2>&5
   19942   ac_status=$?
   19943   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19944   test $ac_status = 0; }; then
   19945 
   19946 printf "%s\n" "#define HAVE_XORG_SERVER_1_1_0 1" >>confdefs.h
   19947 
   19948 fi
   19949 
   19950 if test -n "$PKG_CONFIG" && \
   19951     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server > 1.4.99\""; } >&5
   19952   ($PKG_CONFIG --exists --print-errors "xorg-server > 1.4.99") 2>&5
   19953   ac_status=$?
   19954   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19955   test $ac_status = 0; }; then
   19956 
   19957 printf "%s\n" "#define HAVE_XORG_SERVER_1_5_0 1" >>confdefs.h
   19958 
   19959 fi
   19960 
   19961 if test -n "$PKG_CONFIG" && \
   19962     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3.99.0 xorg-server <= 1.4.0.90\""; } >&5
   19963   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3.99.0 xorg-server <= 1.4.0.90") 2>&5
   19964   ac_status=$?
   19965   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19966   test $ac_status = 0; }; then
   19967 
   19968 printf "%s\n" "#define CALL_CONVERSION_PROC 1" >>confdefs.h
   19969 
   19970 fi
   19971 if test -n "$PKG_CONFIG" && \
   19972     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server > 1.4.0.90\""; } >&5
   19973   ($PKG_CONFIG --exists --print-errors "xorg-server > 1.4.0.90") 2>&5
   19974   ac_status=$?
   19975   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19976   test $ac_status = 0; }; then
   19977 
   19978 printf "%s\n" "#define ABS_VALUATOR_AXES 1" >>confdefs.h
   19979 
   19980 fi
   19981 if test -n "$PKG_CONFIG" && \
   19982     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6.0\""; } >&5
   19983   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6.0") 2>&5
   19984   ac_status=$?
   19985   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19986   test $ac_status = 0; }; then
   19987 
   19988 printf "%s\n" "#define NO_MOUSE_MODULE 1" >>confdefs.h
   19989 
   19990 fi
   19991 
   19992 # Checks for libraries.
   19993 
   19994 # Checks for header files.
   19995 # Autoupdate added the next two lines to ensure that your configure
   19996 # script's behavior did not change.  They are probably safe to remove.
   19997 
   19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   19999 printf %s "checking for egrep... " >&6; }
   20000 if test ${ac_cv_path_EGREP+y}
   20001 then :
   20002   printf %s "(cached) " >&6
   20003 else $as_nop
   20004   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   20005    then ac_cv_path_EGREP="$GREP -E"
   20006    else
   20007      if test -z "$EGREP"; then
   20008   ac_path_EGREP_found=false
   20009   # Loop through the user's path and test for each of PROGNAME-LIST
   20010   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20011 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   20012 do
   20013   IFS=$as_save_IFS
   20014   case $as_dir in #(((
   20015     '') as_dir=./ ;;
   20016     */) ;;
   20017     *) as_dir=$as_dir/ ;;
   20018   esac
   20019     for ac_prog in egrep
   20020    do
   20021     for ac_exec_ext in '' $ac_executable_extensions; do
   20022       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   20023       as_fn_executable_p "$ac_path_EGREP" || continue
   20024 # Check for GNU ac_path_EGREP and select it if it is found.
   20025   # Check for GNU $ac_path_EGREP
   20026 case `"$ac_path_EGREP" --version 2>&1` in
   20027 *GNU*)
   20028   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   20029 *)
   20030   ac_count=0
   20031   printf %s 0123456789 >"conftest.in"
   20032   while :
   20033   do
   20034     cat "conftest.in" "conftest.in" >"conftest.tmp"
   20035     mv "conftest.tmp" "conftest.in"
   20036     cp "conftest.in" "conftest.nl"
   20037     printf "%s\n" 'EGREP' >> "conftest.nl"
   20038     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   20039     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   20040     as_fn_arith $ac_count + 1 && ac_count=$as_val
   20041     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   20042       # Best one so far, save it but keep looking for a better one
   20043       ac_cv_path_EGREP="$ac_path_EGREP"
   20044       ac_path_EGREP_max=$ac_count
   20045     fi
   20046     # 10*(2^10) chars as input seems more than enough
   20047     test $ac_count -gt 10 && break
   20048   done
   20049   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   20050 esac
   20051 
   20052       $ac_path_EGREP_found && break 3
   20053     done
   20054   done
   20055   done
   20056 IFS=$as_save_IFS
   20057   if test -z "$ac_cv_path_EGREP"; then
   20058     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   20059   fi
   20060 else
   20061   ac_cv_path_EGREP=$EGREP
   20062 fi
   20063 
   20064    fi
   20065 fi
   20066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   20067 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   20068  EGREP="$ac_cv_path_EGREP"
   20069 
   20070 
   20071 
   20072 
   20073 ac_config_files="$ac_config_files Makefile shared/Makefile src/Makefile tools/Makefile fdi/Makefile man/Makefile"
   20074 
   20075 
   20076 cat >confcache <<\_ACEOF
   20077 # This file is a shell script that caches the results of configure
   20078 # tests run on this system so they can be shared between configure
   20079 # scripts and configure runs, see configure's option --config-cache.
   20080 # It is not useful on other systems.  If it contains results you don't
   20081 # want to keep, you may remove or edit it.
   20082 #
   20083 # config.status only pays attention to the cache file if you give it
   20084 # the --recheck option to rerun configure.
   20085 #
   20086 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20087 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20088 # following values.
   20089 
   20090 _ACEOF
   20091 
   20092 # The following way of writing the cache mishandles newlines in values,
   20093 # but we know of no workaround that is simple, portable, and efficient.
   20094 # So, we kill variables containing newlines.
   20095 # Ultrix sh set writes to stderr and can't be redirected directly,
   20096 # and sets the high bit in the cache file unless we assign to the vars.
   20097 (
   20098   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20099     eval ac_val=\$$ac_var
   20100     case $ac_val in #(
   20101     *${as_nl}*)
   20102       case $ac_var in #(
   20103       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20104 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20105       esac
   20106       case $ac_var in #(
   20107       _ | IFS | as_nl) ;; #(
   20108       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20109       *) { eval $ac_var=; unset $ac_var;} ;;
   20110       esac ;;
   20111     esac
   20112   done
   20113 
   20114   (set) 2>&1 |
   20115     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20116     *${as_nl}ac_space=\ *)
   20117       # `set' does not quote correctly, so add quotes: double-quote
   20118       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20119       sed -n \
   20120 	"s/'/'\\\\''/g;
   20121 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20122       ;; #(
   20123     *)
   20124       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20125       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20126       ;;
   20127     esac |
   20128     sort
   20129 ) |
   20130   sed '
   20131      /^ac_cv_env_/b end
   20132      t clear
   20133      :clear
   20134      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20135      t end
   20136      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20137      :end' >>confcache
   20138 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20139   if test -w "$cache_file"; then
   20140     if test "x$cache_file" != "x/dev/null"; then
   20141       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20142 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20143       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20144 	cat confcache >"$cache_file"
   20145       else
   20146         case $cache_file in #(
   20147         */* | ?:*)
   20148 	  mv -f confcache "$cache_file"$$ &&
   20149 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20150         *)
   20151 	  mv -f confcache "$cache_file" ;;
   20152 	esac
   20153       fi
   20154     fi
   20155   else
   20156     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20157 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20158   fi
   20159 fi
   20160 rm -f confcache
   20161 
   20162 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20163 # Let make expand exec_prefix.
   20164 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20165 
   20166 DEFS=-DHAVE_CONFIG_H
   20167 
   20168 ac_libobjs=
   20169 ac_ltlibobjs=
   20170 U=
   20171 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20172   # 1. Remove the extension, and $U if already installed.
   20173   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20174   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20175   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20176   #    will be set to the directory where LIBOBJS objects are built.
   20177   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20178   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20179 done
   20180 LIBOBJS=$ac_libobjs
   20181 
   20182 LTLIBOBJS=$ac_ltlibobjs
   20183 
   20184 
   20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20186 printf %s "checking that generated files are newer than configure... " >&6; }
   20187    if test -n "$am_sleep_pid"; then
   20188      # Hide warnings about reused PIDs.
   20189      wait $am_sleep_pid 2>/dev/null
   20190    fi
   20191    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20192 printf "%s\n" "done" >&6; }
   20193  if test -n "$EXEEXT"; then
   20194   am__EXEEXT_TRUE=
   20195   am__EXEEXT_FALSE='#'
   20196 else
   20197   am__EXEEXT_TRUE='#'
   20198   am__EXEEXT_FALSE=
   20199 fi
   20200 
   20201 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20202   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20204 fi
   20205 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20206   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20208 fi
   20209 if test -z "${HAS_XORG_CONF_DIR_TRUE}" && test -z "${HAS_XORG_CONF_DIR_FALSE}"; then
   20210   as_fn_error $? "conditional \"HAS_XORG_CONF_DIR\" was never defined.
   20211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20212 fi
   20213 if test -z "${HAS_UDEV_RULES_DIR_TRUE}" && test -z "${HAS_UDEV_RULES_DIR_FALSE}"; then
   20214   as_fn_error $? "conditional \"HAS_UDEV_RULES_DIR\" was never defined.
   20215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20216 fi
   20217 
   20218 : "${CONFIG_STATUS=./config.status}"
   20219 ac_write_fail=0
   20220 ac_clean_files_save=$ac_clean_files
   20221 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20223 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20224 as_write_fail=0
   20225 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20226 #! $SHELL
   20227 # Generated by $as_me.
   20228 # Run this file to recreate the current configuration.
   20229 # Compiler output produced by configure, useful for debugging
   20230 # configure, is in config.log if it exists.
   20231 
   20232 debug=false
   20233 ac_cs_recheck=false
   20234 ac_cs_silent=false
   20235 
   20236 SHELL=\${CONFIG_SHELL-$SHELL}
   20237 export SHELL
   20238 _ASEOF
   20239 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20240 ## -------------------- ##
   20241 ## M4sh Initialization. ##
   20242 ## -------------------- ##
   20243 
   20244 # Be more Bourne compatible
   20245 DUALCASE=1; export DUALCASE # for MKS sh
   20246 as_nop=:
   20247 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20248 then :
   20249   emulate sh
   20250   NULLCMD=:
   20251   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20252   # is contrary to our usage.  Disable this feature.
   20253   alias -g '${1+"$@"}'='"$@"'
   20254   setopt NO_GLOB_SUBST
   20255 else $as_nop
   20256   case `(set -o) 2>/dev/null` in #(
   20257   *posix*) :
   20258     set -o posix ;; #(
   20259   *) :
   20260      ;;
   20261 esac
   20262 fi
   20263 
   20264 
   20265 
   20266 # Reset variables that may have inherited troublesome values from
   20267 # the environment.
   20268 
   20269 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20270 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20271 # side effect of setting IFS to empty, thus disabling word splitting.)
   20272 # Quoting is to prevent editors from complaining about space-tab.
   20273 as_nl='
   20274 '
   20275 export as_nl
   20276 IFS=" ""	$as_nl"
   20277 
   20278 PS1='$ '
   20279 PS2='> '
   20280 PS4='+ '
   20281 
   20282 # Ensure predictable behavior from utilities with locale-dependent output.
   20283 LC_ALL=C
   20284 export LC_ALL
   20285 LANGUAGE=C
   20286 export LANGUAGE
   20287 
   20288 # We cannot yet rely on "unset" to work, but we need these variables
   20289 # to be unset--not just set to an empty or harmless value--now, to
   20290 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20291 # also avoids known problems related to "unset" and subshell syntax
   20292 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20293 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20294 do eval test \${$as_var+y} \
   20295   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20296 done
   20297 
   20298 # Ensure that fds 0, 1, and 2 are open.
   20299 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20300 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20301 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20302 
   20303 # The user is always right.
   20304 if ${PATH_SEPARATOR+false} :; then
   20305   PATH_SEPARATOR=:
   20306   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20307     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20308       PATH_SEPARATOR=';'
   20309   }
   20310 fi
   20311 
   20312 
   20313 # Find who we are.  Look in the path if we contain no directory separator.
   20314 as_myself=
   20315 case $0 in #((
   20316   *[\\/]* ) as_myself=$0 ;;
   20317   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20318 for as_dir in $PATH
   20319 do
   20320   IFS=$as_save_IFS
   20321   case $as_dir in #(((
   20322     '') as_dir=./ ;;
   20323     */) ;;
   20324     *) as_dir=$as_dir/ ;;
   20325   esac
   20326     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20327   done
   20328 IFS=$as_save_IFS
   20329 
   20330      ;;
   20331 esac
   20332 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20333 # in which case we are not to be found in the path.
   20334 if test "x$as_myself" = x; then
   20335   as_myself=$0
   20336 fi
   20337 if test ! -f "$as_myself"; then
   20338   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20339   exit 1
   20340 fi
   20341 
   20342 
   20343 
   20344 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20345 # ----------------------------------------
   20346 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20347 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20348 # script with STATUS, using 1 if that was 0.
   20349 as_fn_error ()
   20350 {
   20351   as_status=$1; test $as_status -eq 0 && as_status=1
   20352   if test "$4"; then
   20353     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20354     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20355   fi
   20356   printf "%s\n" "$as_me: error: $2" >&2
   20357   as_fn_exit $as_status
   20358 } # as_fn_error
   20359 
   20360 
   20361 
   20362 # as_fn_set_status STATUS
   20363 # -----------------------
   20364 # Set $? to STATUS, without forking.
   20365 as_fn_set_status ()
   20366 {
   20367   return $1
   20368 } # as_fn_set_status
   20369 
   20370 # as_fn_exit STATUS
   20371 # -----------------
   20372 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20373 as_fn_exit ()
   20374 {
   20375   set +e
   20376   as_fn_set_status $1
   20377   exit $1
   20378 } # as_fn_exit
   20379 
   20380 # as_fn_unset VAR
   20381 # ---------------
   20382 # Portably unset VAR.
   20383 as_fn_unset ()
   20384 {
   20385   { eval $1=; unset $1;}
   20386 }
   20387 as_unset=as_fn_unset
   20388 
   20389 # as_fn_append VAR VALUE
   20390 # ----------------------
   20391 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20392 # advantage of any shell optimizations that allow amortized linear growth over
   20393 # repeated appends, instead of the typical quadratic growth present in naive
   20394 # implementations.
   20395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20396 then :
   20397   eval 'as_fn_append ()
   20398   {
   20399     eval $1+=\$2
   20400   }'
   20401 else $as_nop
   20402   as_fn_append ()
   20403   {
   20404     eval $1=\$$1\$2
   20405   }
   20406 fi # as_fn_append
   20407 
   20408 # as_fn_arith ARG...
   20409 # ------------------
   20410 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20412 # must be portable across $(()) and expr.
   20413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20414 then :
   20415   eval 'as_fn_arith ()
   20416   {
   20417     as_val=$(( $* ))
   20418   }'
   20419 else $as_nop
   20420   as_fn_arith ()
   20421   {
   20422     as_val=`expr "$@" || test $? -eq 1`
   20423   }
   20424 fi # as_fn_arith
   20425 
   20426 
   20427 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20429   as_expr=expr
   20430 else
   20431   as_expr=false
   20432 fi
   20433 
   20434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20435   as_basename=basename
   20436 else
   20437   as_basename=false
   20438 fi
   20439 
   20440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20441   as_dirname=dirname
   20442 else
   20443   as_dirname=false
   20444 fi
   20445 
   20446 as_me=`$as_basename -- "$0" ||
   20447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20448 	 X"$0" : 'X\(//\)$' \| \
   20449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20450 printf "%s\n" X/"$0" |
   20451     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20452 	    s//\1/
   20453 	    q
   20454 	  }
   20455 	  /^X\/\(\/\/\)$/{
   20456 	    s//\1/
   20457 	    q
   20458 	  }
   20459 	  /^X\/\(\/\).*/{
   20460 	    s//\1/
   20461 	    q
   20462 	  }
   20463 	  s/.*/./; q'`
   20464 
   20465 # Avoid depending upon Character Ranges.
   20466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20469 as_cr_digits='0123456789'
   20470 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20471 
   20472 
   20473 # Determine whether it's possible to make 'echo' print without a newline.
   20474 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20475 # for compatibility with existing Makefiles.
   20476 ECHO_C= ECHO_N= ECHO_T=
   20477 case `echo -n x` in #(((((
   20478 -n*)
   20479   case `echo 'xy\c'` in
   20480   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20481   xy)  ECHO_C='\c';;
   20482   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20483        ECHO_T='	';;
   20484   esac;;
   20485 *)
   20486   ECHO_N='-n';;
   20487 esac
   20488 
   20489 # For backward compatibility with old third-party macros, we provide
   20490 # the shell variables $as_echo and $as_echo_n.  New code should use
   20491 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20492 as_echo='printf %s\n'
   20493 as_echo_n='printf %s'
   20494 
   20495 rm -f conf$$ conf$$.exe conf$$.file
   20496 if test -d conf$$.dir; then
   20497   rm -f conf$$.dir/conf$$.file
   20498 else
   20499   rm -f conf$$.dir
   20500   mkdir conf$$.dir 2>/dev/null
   20501 fi
   20502 if (echo >conf$$.file) 2>/dev/null; then
   20503   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20504     as_ln_s='ln -s'
   20505     # ... but there are two gotchas:
   20506     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20507     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20508     # In both cases, we have to default to `cp -pR'.
   20509     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20510       as_ln_s='cp -pR'
   20511   elif ln conf$$.file conf$$ 2>/dev/null; then
   20512     as_ln_s=ln
   20513   else
   20514     as_ln_s='cp -pR'
   20515   fi
   20516 else
   20517   as_ln_s='cp -pR'
   20518 fi
   20519 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20520 rmdir conf$$.dir 2>/dev/null
   20521 
   20522 
   20523 # as_fn_mkdir_p
   20524 # -------------
   20525 # Create "$as_dir" as a directory, including parents if necessary.
   20526 as_fn_mkdir_p ()
   20527 {
   20528 
   20529   case $as_dir in #(
   20530   -*) as_dir=./$as_dir;;
   20531   esac
   20532   test -d "$as_dir" || eval $as_mkdir_p || {
   20533     as_dirs=
   20534     while :; do
   20535       case $as_dir in #(
   20536       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20537       *) as_qdir=$as_dir;;
   20538       esac
   20539       as_dirs="'$as_qdir' $as_dirs"
   20540       as_dir=`$as_dirname -- "$as_dir" ||
   20541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20542 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20543 	 X"$as_dir" : 'X\(//\)$' \| \
   20544 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20545 printf "%s\n" X"$as_dir" |
   20546     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20547 	    s//\1/
   20548 	    q
   20549 	  }
   20550 	  /^X\(\/\/\)[^/].*/{
   20551 	    s//\1/
   20552 	    q
   20553 	  }
   20554 	  /^X\(\/\/\)$/{
   20555 	    s//\1/
   20556 	    q
   20557 	  }
   20558 	  /^X\(\/\).*/{
   20559 	    s//\1/
   20560 	    q
   20561 	  }
   20562 	  s/.*/./; q'`
   20563       test -d "$as_dir" && break
   20564     done
   20565     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20566   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20567 
   20568 
   20569 } # as_fn_mkdir_p
   20570 if mkdir -p . 2>/dev/null; then
   20571   as_mkdir_p='mkdir -p "$as_dir"'
   20572 else
   20573   test -d ./-p && rmdir ./-p
   20574   as_mkdir_p=false
   20575 fi
   20576 
   20577 
   20578 # as_fn_executable_p FILE
   20579 # -----------------------
   20580 # Test if FILE is an executable regular file.
   20581 as_fn_executable_p ()
   20582 {
   20583   test -f "$1" && test -x "$1"
   20584 } # as_fn_executable_p
   20585 as_test_x='test -x'
   20586 as_executable_p=as_fn_executable_p
   20587 
   20588 # Sed expression to map a string onto a valid CPP name.
   20589 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20590 
   20591 # Sed expression to map a string onto a valid variable name.
   20592 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20593 
   20594 
   20595 exec 6>&1
   20596 ## ----------------------------------- ##
   20597 ## Main body of $CONFIG_STATUS script. ##
   20598 ## ----------------------------------- ##
   20599 _ASEOF
   20600 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20601 
   20602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20603 # Save the log message, to keep $0 and so on meaningful, and to
   20604 # report actual input values of CONFIG_FILES etc. instead of their
   20605 # values after options handling.
   20606 ac_log="
   20607 This file was extended by xf86-input-vmmouse $as_me 13.2.0, which was
   20608 generated by GNU Autoconf 2.71.  Invocation command line was
   20609 
   20610   CONFIG_FILES    = $CONFIG_FILES
   20611   CONFIG_HEADERS  = $CONFIG_HEADERS
   20612   CONFIG_LINKS    = $CONFIG_LINKS
   20613   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20614   $ $0 $@
   20615 
   20616 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20617 "
   20618 
   20619 _ACEOF
   20620 
   20621 case $ac_config_files in *"
   20622 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20623 esac
   20624 
   20625 case $ac_config_headers in *"
   20626 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20627 esac
   20628 
   20629 
   20630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20631 # Files that config.status was made for.
   20632 config_files="$ac_config_files"
   20633 config_headers="$ac_config_headers"
   20634 config_commands="$ac_config_commands"
   20635 
   20636 _ACEOF
   20637 
   20638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20639 ac_cs_usage="\
   20640 \`$as_me' instantiates files and other configuration actions
   20641 from templates according to the current configuration.  Unless the files
   20642 and actions are specified as TAGs, all are instantiated by default.
   20643 
   20644 Usage: $0 [OPTION]... [TAG]...
   20645 
   20646   -h, --help       print this help, then exit
   20647   -V, --version    print version number and configuration settings, then exit
   20648       --config     print configuration, then exit
   20649   -q, --quiet, --silent
   20650                    do not print progress messages
   20651   -d, --debug      don't remove temporary files
   20652       --recheck    update $as_me by reconfiguring in the same conditions
   20653       --file=FILE[:TEMPLATE]
   20654                    instantiate the configuration file FILE
   20655       --header=FILE[:TEMPLATE]
   20656                    instantiate the configuration header FILE
   20657 
   20658 Configuration files:
   20659 $config_files
   20660 
   20661 Configuration headers:
   20662 $config_headers
   20663 
   20664 Configuration commands:
   20665 $config_commands
   20666 
   20667 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-vmmouse/issues>."
   20668 
   20669 _ACEOF
   20670 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20671 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20673 ac_cs_config='$ac_cs_config_escaped'
   20674 ac_cs_version="\\
   20675 xf86-input-vmmouse config.status 13.2.0
   20676 configured by $0, generated by GNU Autoconf 2.71,
   20677   with options \\"\$ac_cs_config\\"
   20678 
   20679 Copyright (C) 2021 Free Software Foundation, Inc.
   20680 This config.status script is free software; the Free Software Foundation
   20681 gives unlimited permission to copy, distribute and modify it."
   20682 
   20683 ac_pwd='$ac_pwd'
   20684 srcdir='$srcdir'
   20685 INSTALL='$INSTALL'
   20686 MKDIR_P='$MKDIR_P'
   20687 AWK='$AWK'
   20688 test -n "\$AWK" || AWK=awk
   20689 _ACEOF
   20690 
   20691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20692 # The default lists apply if the user does not specify any file.
   20693 ac_need_defaults=:
   20694 while test $# != 0
   20695 do
   20696   case $1 in
   20697   --*=?*)
   20698     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20699     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20700     ac_shift=:
   20701     ;;
   20702   --*=)
   20703     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20704     ac_optarg=
   20705     ac_shift=:
   20706     ;;
   20707   *)
   20708     ac_option=$1
   20709     ac_optarg=$2
   20710     ac_shift=shift
   20711     ;;
   20712   esac
   20713 
   20714   case $ac_option in
   20715   # Handling of the options.
   20716   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20717     ac_cs_recheck=: ;;
   20718   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20719     printf "%s\n" "$ac_cs_version"; exit ;;
   20720   --config | --confi | --conf | --con | --co | --c )
   20721     printf "%s\n" "$ac_cs_config"; exit ;;
   20722   --debug | --debu | --deb | --de | --d | -d )
   20723     debug=: ;;
   20724   --file | --fil | --fi | --f )
   20725     $ac_shift
   20726     case $ac_optarg in
   20727     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20728     '') as_fn_error $? "missing file argument" ;;
   20729     esac
   20730     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20731     ac_need_defaults=false;;
   20732   --header | --heade | --head | --hea )
   20733     $ac_shift
   20734     case $ac_optarg in
   20735     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20736     esac
   20737     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20738     ac_need_defaults=false;;
   20739   --he | --h)
   20740     # Conflict between --help and --header
   20741     as_fn_error $? "ambiguous option: \`$1'
   20742 Try \`$0 --help' for more information.";;
   20743   --help | --hel | -h )
   20744     printf "%s\n" "$ac_cs_usage"; exit ;;
   20745   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20746   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20747     ac_cs_silent=: ;;
   20748 
   20749   # This is an error.
   20750   -*) as_fn_error $? "unrecognized option: \`$1'
   20751 Try \`$0 --help' for more information." ;;
   20752 
   20753   *) as_fn_append ac_config_targets " $1"
   20754      ac_need_defaults=false ;;
   20755 
   20756   esac
   20757   shift
   20758 done
   20759 
   20760 ac_configure_extra_args=
   20761 
   20762 if $ac_cs_silent; then
   20763   exec 6>/dev/null
   20764   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20765 fi
   20766 
   20767 _ACEOF
   20768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20769 if \$ac_cs_recheck; then
   20770   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20771   shift
   20772   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20773   CONFIG_SHELL='$SHELL'
   20774   export CONFIG_SHELL
   20775   exec "\$@"
   20776 fi
   20777 
   20778 _ACEOF
   20779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20780 exec 5>>config.log
   20781 {
   20782   echo
   20783   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20784 ## Running $as_me. ##
   20785 _ASBOX
   20786   printf "%s\n" "$ac_log"
   20787 } >&5
   20788 
   20789 _ACEOF
   20790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20791 #
   20792 # INIT-COMMANDS
   20793 #
   20794 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20795 
   20796 
   20797 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20798 # if CDPATH is set.
   20799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20800 
   20801 sed_quote_subst='$sed_quote_subst'
   20802 double_quote_subst='$double_quote_subst'
   20803 delay_variable_subst='$delay_variable_subst'
   20804 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20805 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20806 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20807 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20808 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20809 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20810 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20811 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20812 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20813 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20814 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20815 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20816 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20817 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20818 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20819 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20820 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20821 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20822 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20823 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20824 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20825 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20826 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20827 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20828 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20829 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20830 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20831 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20832 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20833 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20834 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20835 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20836 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20837 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20838 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20839 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20840 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20841 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20842 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20843 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20844 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20845 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20846 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20847 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20848 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20849 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20850 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20851 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20852 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20853 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20854 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20855 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20856 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20857 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20858 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20859 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20860 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20861 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20862 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20863 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20864 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"`'
   20865 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20866 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20867 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20868 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20869 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20870 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20871 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20872 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20873 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20874 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20875 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20876 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20877 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20878 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20879 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20880 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20881 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20882 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20883 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20884 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20885 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20886 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20887 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20888 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20889 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20890 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20891 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20892 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20893 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20894 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20895 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20896 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20897 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20898 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20899 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20900 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20901 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20902 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20903 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20904 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20905 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20906 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20907 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20908 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20909 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20910 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20911 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20912 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20913 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20914 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20915 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20916 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20917 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20918 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20919 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20920 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20921 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20922 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20923 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20924 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20925 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20926 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20927 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20928 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20929 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20930 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20931 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20932 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20933 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20934 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20935 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20936 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20937 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20938 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20939 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20940 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20941 
   20942 LTCC='$LTCC'
   20943 LTCFLAGS='$LTCFLAGS'
   20944 compiler='$compiler_DEFAULT'
   20945 
   20946 # A function that is used when there is no print builtin or printf.
   20947 func_fallback_echo ()
   20948 {
   20949   eval 'cat <<_LTECHO_EOF
   20950 \$1
   20951 _LTECHO_EOF'
   20952 }
   20953 
   20954 # Quote evaled strings.
   20955 for var in SHELL \
   20956 ECHO \
   20957 PATH_SEPARATOR \
   20958 SED \
   20959 GREP \
   20960 EGREP \
   20961 FGREP \
   20962 LD \
   20963 NM \
   20964 LN_S \
   20965 lt_SP2NL \
   20966 lt_NL2SP \
   20967 reload_flag \
   20968 FILECMD \
   20969 OBJDUMP \
   20970 deplibs_check_method \
   20971 file_magic_cmd \
   20972 file_magic_glob \
   20973 want_nocaseglob \
   20974 DLLTOOL \
   20975 sharedlib_from_linklib_cmd \
   20976 AR \
   20977 archiver_list_spec \
   20978 STRIP \
   20979 RANLIB \
   20980 CC \
   20981 CFLAGS \
   20982 compiler \
   20983 lt_cv_sys_global_symbol_pipe \
   20984 lt_cv_sys_global_symbol_to_cdecl \
   20985 lt_cv_sys_global_symbol_to_import \
   20986 lt_cv_sys_global_symbol_to_c_name_address \
   20987 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20988 lt_cv_nm_interface \
   20989 nm_file_list_spec \
   20990 lt_cv_truncate_bin \
   20991 lt_prog_compiler_no_builtin_flag \
   20992 lt_prog_compiler_pic \
   20993 lt_prog_compiler_wl \
   20994 lt_prog_compiler_static \
   20995 lt_cv_prog_compiler_c_o \
   20996 need_locks \
   20997 MANIFEST_TOOL \
   20998 DSYMUTIL \
   20999 NMEDIT \
   21000 LIPO \
   21001 OTOOL \
   21002 OTOOL64 \
   21003 shrext_cmds \
   21004 export_dynamic_flag_spec \
   21005 whole_archive_flag_spec \
   21006 compiler_needs_object \
   21007 with_gnu_ld \
   21008 allow_undefined_flag \
   21009 no_undefined_flag \
   21010 hardcode_libdir_flag_spec \
   21011 hardcode_libdir_separator \
   21012 exclude_expsyms \
   21013 include_expsyms \
   21014 file_list_spec \
   21015 variables_saved_for_relink \
   21016 libname_spec \
   21017 library_names_spec \
   21018 soname_spec \
   21019 install_override_mode \
   21020 finish_eval \
   21021 old_striplib \
   21022 striplib; do
   21023     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21024     *[\\\\\\\`\\"\\\$]*)
   21025       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21026       ;;
   21027     *)
   21028       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21029       ;;
   21030     esac
   21031 done
   21032 
   21033 # Double-quote double-evaled strings.
   21034 for var in reload_cmds \
   21035 old_postinstall_cmds \
   21036 old_postuninstall_cmds \
   21037 old_archive_cmds \
   21038 extract_expsyms_cmds \
   21039 old_archive_from_new_cmds \
   21040 old_archive_from_expsyms_cmds \
   21041 archive_cmds \
   21042 archive_expsym_cmds \
   21043 module_cmds \
   21044 module_expsym_cmds \
   21045 export_symbols_cmds \
   21046 prelink_cmds \
   21047 postlink_cmds \
   21048 postinstall_cmds \
   21049 postuninstall_cmds \
   21050 finish_cmds \
   21051 sys_lib_search_path_spec \
   21052 configure_time_dlsearch_path \
   21053 configure_time_lt_sys_library_path; do
   21054     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21055     *[\\\\\\\`\\"\\\$]*)
   21056       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21057       ;;
   21058     *)
   21059       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21060       ;;
   21061     esac
   21062 done
   21063 
   21064 ac_aux_dir='$ac_aux_dir'
   21065 
   21066 # See if we are running on zsh, and set the options that allow our
   21067 # commands through without removal of \ escapes INIT.
   21068 if test -n "\${ZSH_VERSION+set}"; then
   21069    setopt NO_GLOB_SUBST
   21070 fi
   21071 
   21072 
   21073     PACKAGE='$PACKAGE'
   21074     VERSION='$VERSION'
   21075     RM='$RM'
   21076     ofile='$ofile'
   21077 
   21078 
   21079 
   21080 
   21081 _ACEOF
   21082 
   21083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21084 
   21085 # Handling of arguments.
   21086 for ac_config_target in $ac_config_targets
   21087 do
   21088   case $ac_config_target in
   21089     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21090     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21091     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21092     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21093     "shared/Makefile") CONFIG_FILES="$CONFIG_FILES shared/Makefile" ;;
   21094     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21095     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
   21096     "fdi/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/Makefile" ;;
   21097     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21098 
   21099   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21100   esac
   21101 done
   21102 
   21103 
   21104 # If the user did not use the arguments to specify the items to instantiate,
   21105 # then the envvar interface is used.  Set only those that are not.
   21106 # We use the long form for the default assignment because of an extremely
   21107 # bizarre bug on SunOS 4.1.3.
   21108 if $ac_need_defaults; then
   21109   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21110   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21111   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21112 fi
   21113 
   21114 # Have a temporary directory for convenience.  Make it in the build tree
   21115 # simply because there is no reason against having it here, and in addition,
   21116 # creating and moving files from /tmp can sometimes cause problems.
   21117 # Hook for its removal unless debugging.
   21118 # Note that there is a small window in which the directory will not be cleaned:
   21119 # after its creation but before its name has been assigned to `$tmp'.
   21120 $debug ||
   21121 {
   21122   tmp= ac_tmp=
   21123   trap 'exit_status=$?
   21124   : "${ac_tmp:=$tmp}"
   21125   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21126 ' 0
   21127   trap 'as_fn_exit 1' 1 2 13 15
   21128 }
   21129 # Create a (secure) tmp directory for tmp files.
   21130 
   21131 {
   21132   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21133   test -d "$tmp"
   21134 }  ||
   21135 {
   21136   tmp=./conf$$-$RANDOM
   21137   (umask 077 && mkdir "$tmp")
   21138 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21139 ac_tmp=$tmp
   21140 
   21141 # Set up the scripts for CONFIG_FILES section.
   21142 # No need to generate them if there are no CONFIG_FILES.
   21143 # This happens for instance with `./config.status config.h'.
   21144 if test -n "$CONFIG_FILES"; then
   21145 
   21146 
   21147 ac_cr=`echo X | tr X '\015'`
   21148 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21149 # But we know of no other shell where ac_cr would be empty at this
   21150 # point, so we can use a bashism as a fallback.
   21151 if test "x$ac_cr" = x; then
   21152   eval ac_cr=\$\'\\r\'
   21153 fi
   21154 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21155 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21156   ac_cs_awk_cr='\\r'
   21157 else
   21158   ac_cs_awk_cr=$ac_cr
   21159 fi
   21160 
   21161 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21162 _ACEOF
   21163 
   21164 
   21165 {
   21166   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21167   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21168   echo "_ACEOF"
   21169 } >conf$$subs.sh ||
   21170   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21171 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21172 ac_delim='%!_!# '
   21173 for ac_last_try in false false false false false :; do
   21174   . ./conf$$subs.sh ||
   21175     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21176 
   21177   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21178   if test $ac_delim_n = $ac_delim_num; then
   21179     break
   21180   elif $ac_last_try; then
   21181     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21182   else
   21183     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21184   fi
   21185 done
   21186 rm -f conf$$subs.sh
   21187 
   21188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21189 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21190 _ACEOF
   21191 sed -n '
   21192 h
   21193 s/^/S["/; s/!.*/"]=/
   21194 p
   21195 g
   21196 s/^[^!]*!//
   21197 :repl
   21198 t repl
   21199 s/'"$ac_delim"'$//
   21200 t delim
   21201 :nl
   21202 h
   21203 s/\(.\{148\}\)..*/\1/
   21204 t more1
   21205 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21206 p
   21207 n
   21208 b repl
   21209 :more1
   21210 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21211 p
   21212 g
   21213 s/.\{148\}//
   21214 t nl
   21215 :delim
   21216 h
   21217 s/\(.\{148\}\)..*/\1/
   21218 t more2
   21219 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21220 p
   21221 b
   21222 :more2
   21223 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21224 p
   21225 g
   21226 s/.\{148\}//
   21227 t delim
   21228 ' <conf$$subs.awk | sed '
   21229 /^[^""]/{
   21230   N
   21231   s/\n//
   21232 }
   21233 ' >>$CONFIG_STATUS || ac_write_fail=1
   21234 rm -f conf$$subs.awk
   21235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21236 _ACAWK
   21237 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21238   for (key in S) S_is_set[key] = 1
   21239   FS = ""
   21240 
   21241 }
   21242 {
   21243   line = $ 0
   21244   nfields = split(line, field, "@")
   21245   substed = 0
   21246   len = length(field[1])
   21247   for (i = 2; i < nfields; i++) {
   21248     key = field[i]
   21249     keylen = length(key)
   21250     if (S_is_set[key]) {
   21251       value = S[key]
   21252       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21253       len += length(value) + length(field[++i])
   21254       substed = 1
   21255     } else
   21256       len += 1 + keylen
   21257   }
   21258 
   21259   print line
   21260 }
   21261 
   21262 _ACAWK
   21263 _ACEOF
   21264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21265 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21266   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21267 else
   21268   cat
   21269 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21270   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21271 _ACEOF
   21272 
   21273 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21274 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21275 # trailing colons and then remove the whole line if VPATH becomes empty
   21276 # (actually we leave an empty line to preserve line numbers).
   21277 if test "x$srcdir" = x.; then
   21278   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21279 h
   21280 s///
   21281 s/^/:/
   21282 s/[	 ]*$/:/
   21283 s/:\$(srcdir):/:/g
   21284 s/:\${srcdir}:/:/g
   21285 s/:@srcdir@:/:/g
   21286 s/^:*//
   21287 s/:*$//
   21288 x
   21289 s/\(=[	 ]*\).*/\1/
   21290 G
   21291 s/\n//
   21292 s/^[^=]*=[	 ]*$//
   21293 }'
   21294 fi
   21295 
   21296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21297 fi # test -n "$CONFIG_FILES"
   21298 
   21299 # Set up the scripts for CONFIG_HEADERS section.
   21300 # No need to generate them if there are no CONFIG_HEADERS.
   21301 # This happens for instance with `./config.status Makefile'.
   21302 if test -n "$CONFIG_HEADERS"; then
   21303 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21304 BEGIN {
   21305 _ACEOF
   21306 
   21307 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21308 # here-document in config.status, that substitutes the proper values into
   21309 # config.h.in to produce config.h.
   21310 
   21311 # Create a delimiter string that does not exist in confdefs.h, to ease
   21312 # handling of long lines.
   21313 ac_delim='%!_!# '
   21314 for ac_last_try in false false :; do
   21315   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21316   if test -z "$ac_tt"; then
   21317     break
   21318   elif $ac_last_try; then
   21319     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21320   else
   21321     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21322   fi
   21323 done
   21324 
   21325 # For the awk script, D is an array of macro values keyed by name,
   21326 # likewise P contains macro parameters if any.  Preserve backslash
   21327 # newline sequences.
   21328 
   21329 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21330 sed -n '
   21331 s/.\{148\}/&'"$ac_delim"'/g
   21332 t rset
   21333 :rset
   21334 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21335 t def
   21336 d
   21337 :def
   21338 s/\\$//
   21339 t bsnl
   21340 s/["\\]/\\&/g
   21341 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21342 D["\1"]=" \3"/p
   21343 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21344 d
   21345 :bsnl
   21346 s/["\\]/\\&/g
   21347 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21348 D["\1"]=" \3\\\\\\n"\\/p
   21349 t cont
   21350 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21351 t cont
   21352 d
   21353 :cont
   21354 n
   21355 s/.\{148\}/&'"$ac_delim"'/g
   21356 t clear
   21357 :clear
   21358 s/\\$//
   21359 t bsnlc
   21360 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21361 d
   21362 :bsnlc
   21363 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21364 b cont
   21365 ' <confdefs.h | sed '
   21366 s/'"$ac_delim"'/"\\\
   21367 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21368 
   21369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21370   for (key in D) D_is_set[key] = 1
   21371   FS = ""
   21372 }
   21373 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21374   line = \$ 0
   21375   split(line, arg, " ")
   21376   if (arg[1] == "#") {
   21377     defundef = arg[2]
   21378     mac1 = arg[3]
   21379   } else {
   21380     defundef = substr(arg[1], 2)
   21381     mac1 = arg[2]
   21382   }
   21383   split(mac1, mac2, "(") #)
   21384   macro = mac2[1]
   21385   prefix = substr(line, 1, index(line, defundef) - 1)
   21386   if (D_is_set[macro]) {
   21387     # Preserve the white space surrounding the "#".
   21388     print prefix "define", macro P[macro] D[macro]
   21389     next
   21390   } else {
   21391     # Replace #undef with comments.  This is necessary, for example,
   21392     # in the case of _POSIX_SOURCE, which is predefined and required
   21393     # on some systems where configure will not decide to define it.
   21394     if (defundef == "undef") {
   21395       print "/*", prefix defundef, macro, "*/"
   21396       next
   21397     }
   21398   }
   21399 }
   21400 { print }
   21401 _ACAWK
   21402 _ACEOF
   21403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21404   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21405 fi # test -n "$CONFIG_HEADERS"
   21406 
   21407 
   21408 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21409 shift
   21410 for ac_tag
   21411 do
   21412   case $ac_tag in
   21413   :[FHLC]) ac_mode=$ac_tag; continue;;
   21414   esac
   21415   case $ac_mode$ac_tag in
   21416   :[FHL]*:*);;
   21417   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21418   :[FH]-) ac_tag=-:-;;
   21419   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21420   esac
   21421   ac_save_IFS=$IFS
   21422   IFS=:
   21423   set x $ac_tag
   21424   IFS=$ac_save_IFS
   21425   shift
   21426   ac_file=$1
   21427   shift
   21428 
   21429   case $ac_mode in
   21430   :L) ac_source=$1;;
   21431   :[FH])
   21432     ac_file_inputs=
   21433     for ac_f
   21434     do
   21435       case $ac_f in
   21436       -) ac_f="$ac_tmp/stdin";;
   21437       *) # Look for the file first in the build tree, then in the source tree
   21438 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21439 	 # because $ac_f cannot contain `:'.
   21440 	 test -f "$ac_f" ||
   21441 	   case $ac_f in
   21442 	   [\\/$]*) false;;
   21443 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21444 	   esac ||
   21445 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21446       esac
   21447       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21448       as_fn_append ac_file_inputs " '$ac_f'"
   21449     done
   21450 
   21451     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21452     # use $as_me), people would be surprised to read:
   21453     #    /* config.h.  Generated by config.status.  */
   21454     configure_input='Generated from '`
   21455 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21456 	`' by configure.'
   21457     if test x"$ac_file" != x-; then
   21458       configure_input="$ac_file.  $configure_input"
   21459       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21460 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21461     fi
   21462     # Neutralize special characters interpreted by sed in replacement strings.
   21463     case $configure_input in #(
   21464     *\&* | *\|* | *\\* )
   21465        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21466        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21467     *) ac_sed_conf_input=$configure_input;;
   21468     esac
   21469 
   21470     case $ac_tag in
   21471     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21472       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21473     esac
   21474     ;;
   21475   esac
   21476 
   21477   ac_dir=`$as_dirname -- "$ac_file" ||
   21478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21479 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21480 	 X"$ac_file" : 'X\(//\)$' \| \
   21481 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21482 printf "%s\n" X"$ac_file" |
   21483     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21484 	    s//\1/
   21485 	    q
   21486 	  }
   21487 	  /^X\(\/\/\)[^/].*/{
   21488 	    s//\1/
   21489 	    q
   21490 	  }
   21491 	  /^X\(\/\/\)$/{
   21492 	    s//\1/
   21493 	    q
   21494 	  }
   21495 	  /^X\(\/\).*/{
   21496 	    s//\1/
   21497 	    q
   21498 	  }
   21499 	  s/.*/./; q'`
   21500   as_dir="$ac_dir"; as_fn_mkdir_p
   21501   ac_builddir=.
   21502 
   21503 case "$ac_dir" in
   21504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21505 *)
   21506   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21507   # A ".." for each directory in $ac_dir_suffix.
   21508   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21509   case $ac_top_builddir_sub in
   21510   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21511   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21512   esac ;;
   21513 esac
   21514 ac_abs_top_builddir=$ac_pwd
   21515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21516 # for backward compatibility:
   21517 ac_top_builddir=$ac_top_build_prefix
   21518 
   21519 case $srcdir in
   21520   .)  # We are building in place.
   21521     ac_srcdir=.
   21522     ac_top_srcdir=$ac_top_builddir_sub
   21523     ac_abs_top_srcdir=$ac_pwd ;;
   21524   [\\/]* | ?:[\\/]* )  # Absolute name.
   21525     ac_srcdir=$srcdir$ac_dir_suffix;
   21526     ac_top_srcdir=$srcdir
   21527     ac_abs_top_srcdir=$srcdir ;;
   21528   *) # Relative name.
   21529     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21530     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21531     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21532 esac
   21533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21534 
   21535 
   21536   case $ac_mode in
   21537   :F)
   21538   #
   21539   # CONFIG_FILE
   21540   #
   21541 
   21542   case $INSTALL in
   21543   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21544   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21545   esac
   21546   ac_MKDIR_P=$MKDIR_P
   21547   case $MKDIR_P in
   21548   [\\/$]* | ?:[\\/]* ) ;;
   21549   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21550   esac
   21551 _ACEOF
   21552 
   21553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21554 # If the template does not know about datarootdir, expand it.
   21555 # FIXME: This hack should be removed a few years after 2.60.
   21556 ac_datarootdir_hack=; ac_datarootdir_seen=
   21557 ac_sed_dataroot='
   21558 /datarootdir/ {
   21559   p
   21560   q
   21561 }
   21562 /@datadir@/p
   21563 /@docdir@/p
   21564 /@infodir@/p
   21565 /@localedir@/p
   21566 /@mandir@/p'
   21567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21568 *datarootdir*) ac_datarootdir_seen=yes;;
   21569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21571 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21572 _ACEOF
   21573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21574   ac_datarootdir_hack='
   21575   s&@datadir@&$datadir&g
   21576   s&@docdir@&$docdir&g
   21577   s&@infodir@&$infodir&g
   21578   s&@localedir@&$localedir&g
   21579   s&@mandir@&$mandir&g
   21580   s&\\\${datarootdir}&$datarootdir&g' ;;
   21581 esac
   21582 _ACEOF
   21583 
   21584 # Neutralize VPATH when `$srcdir' = `.'.
   21585 # Shell code in configure.ac might set extrasub.
   21586 # FIXME: do we really want to maintain this feature?
   21587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21588 ac_sed_extra="$ac_vpsub
   21589 $extrasub
   21590 _ACEOF
   21591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21592 :t
   21593 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21594 s|@configure_input@|$ac_sed_conf_input|;t t
   21595 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21596 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21597 s&@srcdir@&$ac_srcdir&;t t
   21598 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21599 s&@top_srcdir@&$ac_top_srcdir&;t t
   21600 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21601 s&@builddir@&$ac_builddir&;t t
   21602 s&@abs_builddir@&$ac_abs_builddir&;t t
   21603 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21604 s&@INSTALL@&$ac_INSTALL&;t t
   21605 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21606 $ac_datarootdir_hack
   21607 "
   21608 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21609   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21610 
   21611 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21612   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21613   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21614       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21616 which seems to be undefined.  Please make sure it is defined" >&5
   21617 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21618 which seems to be undefined.  Please make sure it is defined" >&2;}
   21619 
   21620   rm -f "$ac_tmp/stdin"
   21621   case $ac_file in
   21622   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21623   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21624   esac \
   21625   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21626  ;;
   21627   :H)
   21628   #
   21629   # CONFIG_HEADER
   21630   #
   21631   if test x"$ac_file" != x-; then
   21632     {
   21633       printf "%s\n" "/* $configure_input  */" >&1 \
   21634       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21635     } >"$ac_tmp/config.h" \
   21636       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21637     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21638       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21639 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21640     else
   21641       rm -f "$ac_file"
   21642       mv "$ac_tmp/config.h" "$ac_file" \
   21643 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21644     fi
   21645   else
   21646     printf "%s\n" "/* $configure_input  */" >&1 \
   21647       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21648       || as_fn_error $? "could not create -" "$LINENO" 5
   21649   fi
   21650 # Compute "$ac_file"'s index in $config_headers.
   21651 _am_arg="$ac_file"
   21652 _am_stamp_count=1
   21653 for _am_header in $config_headers :; do
   21654   case $_am_header in
   21655     $_am_arg | $_am_arg:* )
   21656       break ;;
   21657     * )
   21658       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21659   esac
   21660 done
   21661 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21662 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21663 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21664 	 X"$_am_arg" : 'X\(//\)$' \| \
   21665 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21666 printf "%s\n" X"$_am_arg" |
   21667     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21668 	    s//\1/
   21669 	    q
   21670 	  }
   21671 	  /^X\(\/\/\)[^/].*/{
   21672 	    s//\1/
   21673 	    q
   21674 	  }
   21675 	  /^X\(\/\/\)$/{
   21676 	    s//\1/
   21677 	    q
   21678 	  }
   21679 	  /^X\(\/\).*/{
   21680 	    s//\1/
   21681 	    q
   21682 	  }
   21683 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21684  ;;
   21685 
   21686   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21687 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21688  ;;
   21689   esac
   21690 
   21691 
   21692   case $ac_file$ac_mode in
   21693     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21694   # Older Autoconf quotes --file arguments for eval, but not when files
   21695   # are listed without --file.  Let's play safe and only enable the eval
   21696   # if we detect the quoting.
   21697   # TODO: see whether this extra hack can be removed once we start
   21698   # requiring Autoconf 2.70 or later.
   21699   case $CONFIG_FILES in #(
   21700   *\'*) :
   21701     eval set x "$CONFIG_FILES" ;; #(
   21702   *) :
   21703     set x $CONFIG_FILES ;; #(
   21704   *) :
   21705      ;;
   21706 esac
   21707   shift
   21708   # Used to flag and report bootstrapping failures.
   21709   am_rc=0
   21710   for am_mf
   21711   do
   21712     # Strip MF so we end up with the name of the file.
   21713     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21714     # Check whether this is an Automake generated Makefile which includes
   21715     # dependency-tracking related rules and includes.
   21716     # Grep'ing the whole file directly is not great: AIX grep has a line
   21717     # limit of 2048, but all sed's we know have understand at least 4000.
   21718     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21719       || continue
   21720     am_dirpart=`$as_dirname -- "$am_mf" ||
   21721 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21722 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21723 	 X"$am_mf" : 'X\(//\)$' \| \
   21724 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21725 printf "%s\n" X"$am_mf" |
   21726     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21727 	    s//\1/
   21728 	    q
   21729 	  }
   21730 	  /^X\(\/\/\)[^/].*/{
   21731 	    s//\1/
   21732 	    q
   21733 	  }
   21734 	  /^X\(\/\/\)$/{
   21735 	    s//\1/
   21736 	    q
   21737 	  }
   21738 	  /^X\(\/\).*/{
   21739 	    s//\1/
   21740 	    q
   21741 	  }
   21742 	  s/.*/./; q'`
   21743     am_filepart=`$as_basename -- "$am_mf" ||
   21744 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21745 	 X"$am_mf" : 'X\(//\)$' \| \
   21746 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21747 printf "%s\n" X/"$am_mf" |
   21748     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21749 	    s//\1/
   21750 	    q
   21751 	  }
   21752 	  /^X\/\(\/\/\)$/{
   21753 	    s//\1/
   21754 	    q
   21755 	  }
   21756 	  /^X\/\(\/\).*/{
   21757 	    s//\1/
   21758 	    q
   21759 	  }
   21760 	  s/.*/./; q'`
   21761     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21762       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21763         | $MAKE -f - am--depfiles" >&5
   21764    (cd "$am_dirpart" \
   21765       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21766         | $MAKE -f - am--depfiles) >&5 2>&5
   21767    ac_status=$?
   21768    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21769    (exit $ac_status); } || am_rc=$?
   21770   done
   21771   if test $am_rc -ne 0; then
   21772     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21773 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21774 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21775     for automatic dependency tracking.  If GNU make was not used, consider
   21776     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21777     necessary).  You can also try re-running configure with the
   21778     '--disable-dependency-tracking' option to at least be able to build
   21779     the package (albeit without support for automatic dependency tracking).
   21780 See \`config.log' for more details" "$LINENO" 5; }
   21781   fi
   21782   { am_dirpart=; unset am_dirpart;}
   21783   { am_filepart=; unset am_filepart;}
   21784   { am_mf=; unset am_mf;}
   21785   { am_rc=; unset am_rc;}
   21786   rm -f conftest-deps.mk
   21787 }
   21788  ;;
   21789     "libtool":C)
   21790 
   21791     # See if we are running on zsh, and set the options that allow our
   21792     # commands through without removal of \ escapes.
   21793     if test -n "${ZSH_VERSION+set}"; then
   21794       setopt NO_GLOB_SUBST
   21795     fi
   21796 
   21797     cfgfile=${ofile}T
   21798     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21799     $RM "$cfgfile"
   21800 
   21801     cat <<_LT_EOF >> "$cfgfile"
   21802 #! $SHELL
   21803 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21804 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21805 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21806 
   21807 # Provide generalized library-building support services.
   21808 # Written by Gordon Matzigkeit, 1996
   21809 
   21810 # Copyright (C) 2014 Free Software Foundation, Inc.
   21811 # This is free software; see the source for copying conditions.  There is NO
   21812 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21813 
   21814 # GNU Libtool is free software; you can redistribute it and/or modify
   21815 # it under the terms of the GNU General Public License as published by
   21816 # the Free Software Foundation; either version 2 of of the License, or
   21817 # (at your option) any later version.
   21818 #
   21819 # As a special exception to the GNU General Public License, if you
   21820 # distribute this file as part of a program or library that is built
   21821 # using GNU Libtool, you may include this file under the  same
   21822 # distribution terms that you use for the rest of that program.
   21823 #
   21824 # GNU Libtool is distributed in the hope that it will be useful, but
   21825 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21826 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21827 # GNU General Public License for more details.
   21828 #
   21829 # You should have received a copy of the GNU General Public License
   21830 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21831 
   21832 
   21833 # The names of the tagged configurations supported by this script.
   21834 available_tags=''
   21835 
   21836 # Configured defaults for sys_lib_dlsearch_path munging.
   21837 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21838 
   21839 # ### BEGIN LIBTOOL CONFIG
   21840 
   21841 # Whether or not to build static libraries.
   21842 build_old_libs=$enable_static
   21843 
   21844 # Which release of libtool.m4 was used?
   21845 macro_version=$macro_version
   21846 macro_revision=$macro_revision
   21847 
   21848 # Whether or not to build shared libraries.
   21849 build_libtool_libs=$enable_shared
   21850 
   21851 # What type of objects to build.
   21852 pic_mode=$pic_mode
   21853 
   21854 # Whether or not to optimize for fast installation.
   21855 fast_install=$enable_fast_install
   21856 
   21857 # Shared archive member basename,for filename based shared library versioning on AIX.
   21858 shared_archive_member_spec=$shared_archive_member_spec
   21859 
   21860 # Shell to use when invoking shell scripts.
   21861 SHELL=$lt_SHELL
   21862 
   21863 # An echo program that protects backslashes.
   21864 ECHO=$lt_ECHO
   21865 
   21866 # The PATH separator for the build system.
   21867 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21868 
   21869 # The host system.
   21870 host_alias=$host_alias
   21871 host=$host
   21872 host_os=$host_os
   21873 
   21874 # The build system.
   21875 build_alias=$build_alias
   21876 build=$build
   21877 build_os=$build_os
   21878 
   21879 # A sed program that does not truncate output.
   21880 SED=$lt_SED
   21881 
   21882 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21883 Xsed="\$SED -e 1s/^X//"
   21884 
   21885 # A grep program that handles long lines.
   21886 GREP=$lt_GREP
   21887 
   21888 # An ERE matcher.
   21889 EGREP=$lt_EGREP
   21890 
   21891 # A literal string matcher.
   21892 FGREP=$lt_FGREP
   21893 
   21894 # A BSD- or MS-compatible name lister.
   21895 NM=$lt_NM
   21896 
   21897 # Whether we need soft or hard links.
   21898 LN_S=$lt_LN_S
   21899 
   21900 # What is the maximum length of a command?
   21901 max_cmd_len=$max_cmd_len
   21902 
   21903 # Object file suffix (normally "o").
   21904 objext=$ac_objext
   21905 
   21906 # Executable file suffix (normally "").
   21907 exeext=$exeext
   21908 
   21909 # whether the shell understands "unset".
   21910 lt_unset=$lt_unset
   21911 
   21912 # turn spaces into newlines.
   21913 SP2NL=$lt_lt_SP2NL
   21914 
   21915 # turn newlines into spaces.
   21916 NL2SP=$lt_lt_NL2SP
   21917 
   21918 # convert \$build file names to \$host format.
   21919 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21920 
   21921 # convert \$build files to toolchain format.
   21922 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21923 
   21924 # A file(cmd) program that detects file types.
   21925 FILECMD=$lt_FILECMD
   21926 
   21927 # An object symbol dumper.
   21928 OBJDUMP=$lt_OBJDUMP
   21929 
   21930 # Method to check whether dependent libraries are shared objects.
   21931 deplibs_check_method=$lt_deplibs_check_method
   21932 
   21933 # Command to use when deplibs_check_method = "file_magic".
   21934 file_magic_cmd=$lt_file_magic_cmd
   21935 
   21936 # How to find potential files when deplibs_check_method = "file_magic".
   21937 file_magic_glob=$lt_file_magic_glob
   21938 
   21939 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21940 want_nocaseglob=$lt_want_nocaseglob
   21941 
   21942 # DLL creation program.
   21943 DLLTOOL=$lt_DLLTOOL
   21944 
   21945 # Command to associate shared and link libraries.
   21946 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21947 
   21948 # The archiver.
   21949 AR=$lt_AR
   21950 
   21951 # Flags to create an archive (by configure).
   21952 lt_ar_flags=$lt_ar_flags
   21953 
   21954 # Flags to create an archive.
   21955 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21956 
   21957 # How to feed a file listing to the archiver.
   21958 archiver_list_spec=$lt_archiver_list_spec
   21959 
   21960 # A symbol stripping program.
   21961 STRIP=$lt_STRIP
   21962 
   21963 # Commands used to install an old-style archive.
   21964 RANLIB=$lt_RANLIB
   21965 old_postinstall_cmds=$lt_old_postinstall_cmds
   21966 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21967 
   21968 # Whether to use a lock for old archive extraction.
   21969 lock_old_archive_extraction=$lock_old_archive_extraction
   21970 
   21971 # A C compiler.
   21972 LTCC=$lt_CC
   21973 
   21974 # LTCC compiler flags.
   21975 LTCFLAGS=$lt_CFLAGS
   21976 
   21977 # Take the output of nm and produce a listing of raw symbols and C names.
   21978 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21979 
   21980 # Transform the output of nm in a proper C declaration.
   21981 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21982 
   21983 # Transform the output of nm into a list of symbols to manually relocate.
   21984 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21985 
   21986 # Transform the output of nm in a C name address pair.
   21987 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21988 
   21989 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21990 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21991 
   21992 # The name lister interface.
   21993 nm_interface=$lt_lt_cv_nm_interface
   21994 
   21995 # Specify filename containing input files for \$NM.
   21996 nm_file_list_spec=$lt_nm_file_list_spec
   21997 
   21998 # The root where to search for dependent libraries,and where our libraries should be installed.
   21999 lt_sysroot=$lt_sysroot
   22000 
   22001 # Command to truncate a binary pipe.
   22002 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22003 
   22004 # The name of the directory that contains temporary libtool files.
   22005 objdir=$objdir
   22006 
   22007 # Used to examine libraries when file_magic_cmd begins with "file".
   22008 MAGIC_CMD=$MAGIC_CMD
   22009 
   22010 # Must we lock files when doing compilation?
   22011 need_locks=$lt_need_locks
   22012 
   22013 # Manifest tool.
   22014 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22015 
   22016 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22017 DSYMUTIL=$lt_DSYMUTIL
   22018 
   22019 # Tool to change global to local symbols on Mac OS X.
   22020 NMEDIT=$lt_NMEDIT
   22021 
   22022 # Tool to manipulate fat objects and archives on Mac OS X.
   22023 LIPO=$lt_LIPO
   22024 
   22025 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22026 OTOOL=$lt_OTOOL
   22027 
   22028 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22029 OTOOL64=$lt_OTOOL64
   22030 
   22031 # Old archive suffix (normally "a").
   22032 libext=$libext
   22033 
   22034 # Shared library suffix (normally ".so").
   22035 shrext_cmds=$lt_shrext_cmds
   22036 
   22037 # The commands to extract the exported symbol list from a shared archive.
   22038 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22039 
   22040 # Variables whose values should be saved in libtool wrapper scripts and
   22041 # restored at link time.
   22042 variables_saved_for_relink=$lt_variables_saved_for_relink
   22043 
   22044 # Do we need the "lib" prefix for modules?
   22045 need_lib_prefix=$need_lib_prefix
   22046 
   22047 # Do we need a version for libraries?
   22048 need_version=$need_version
   22049 
   22050 # Library versioning type.
   22051 version_type=$version_type
   22052 
   22053 # Shared library runtime path variable.
   22054 runpath_var=$runpath_var
   22055 
   22056 # Shared library path variable.
   22057 shlibpath_var=$shlibpath_var
   22058 
   22059 # Is shlibpath searched before the hard-coded library search path?
   22060 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22061 
   22062 # Format of library name prefix.
   22063 libname_spec=$lt_libname_spec
   22064 
   22065 # List of archive names.  First name is the real one, the rest are links.
   22066 # The last name is the one that the linker finds with -lNAME
   22067 library_names_spec=$lt_library_names_spec
   22068 
   22069 # The coded name of the library, if different from the real name.
   22070 soname_spec=$lt_soname_spec
   22071 
   22072 # Permission mode override for installation of shared libraries.
   22073 install_override_mode=$lt_install_override_mode
   22074 
   22075 # Command to use after installation of a shared archive.
   22076 postinstall_cmds=$lt_postinstall_cmds
   22077 
   22078 # Command to use after uninstallation of a shared archive.
   22079 postuninstall_cmds=$lt_postuninstall_cmds
   22080 
   22081 # Commands used to finish a libtool library installation in a directory.
   22082 finish_cmds=$lt_finish_cmds
   22083 
   22084 # As "finish_cmds", except a single script fragment to be evaled but
   22085 # not shown.
   22086 finish_eval=$lt_finish_eval
   22087 
   22088 # Whether we should hardcode library paths into libraries.
   22089 hardcode_into_libs=$hardcode_into_libs
   22090 
   22091 # Compile-time system search path for libraries.
   22092 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22093 
   22094 # Detected run-time system search path for libraries.
   22095 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22096 
   22097 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22098 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22099 
   22100 # Whether dlopen is supported.
   22101 dlopen_support=$enable_dlopen
   22102 
   22103 # Whether dlopen of programs is supported.
   22104 dlopen_self=$enable_dlopen_self
   22105 
   22106 # Whether dlopen of statically linked programs is supported.
   22107 dlopen_self_static=$enable_dlopen_self_static
   22108 
   22109 # Commands to strip libraries.
   22110 old_striplib=$lt_old_striplib
   22111 striplib=$lt_striplib
   22112 
   22113 
   22114 # The linker used to build libraries.
   22115 LD=$lt_LD
   22116 
   22117 # How to create reloadable object files.
   22118 reload_flag=$lt_reload_flag
   22119 reload_cmds=$lt_reload_cmds
   22120 
   22121 # Commands used to build an old-style archive.
   22122 old_archive_cmds=$lt_old_archive_cmds
   22123 
   22124 # A language specific compiler.
   22125 CC=$lt_compiler
   22126 
   22127 # Is the compiler the GNU compiler?
   22128 with_gcc=$GCC
   22129 
   22130 # Compiler flag to turn off builtin functions.
   22131 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22132 
   22133 # Additional compiler flags for building library objects.
   22134 pic_flag=$lt_lt_prog_compiler_pic
   22135 
   22136 # How to pass a linker flag through the compiler.
   22137 wl=$lt_lt_prog_compiler_wl
   22138 
   22139 # Compiler flag to prevent dynamic linking.
   22140 link_static_flag=$lt_lt_prog_compiler_static
   22141 
   22142 # Does compiler simultaneously support -c and -o options?
   22143 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22144 
   22145 # Whether or not to add -lc for building shared libraries.
   22146 build_libtool_need_lc=$archive_cmds_need_lc
   22147 
   22148 # Whether or not to disallow shared libs when runtime libs are static.
   22149 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22150 
   22151 # Compiler flag to allow reflexive dlopens.
   22152 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22153 
   22154 # Compiler flag to generate shared objects directly from archives.
   22155 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22156 
   22157 # Whether the compiler copes with passing no objects directly.
   22158 compiler_needs_object=$lt_compiler_needs_object
   22159 
   22160 # Create an old-style archive from a shared archive.
   22161 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22162 
   22163 # Create a temporary old-style archive to link instead of a shared archive.
   22164 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22165 
   22166 # Commands used to build a shared archive.
   22167 archive_cmds=$lt_archive_cmds
   22168 archive_expsym_cmds=$lt_archive_expsym_cmds
   22169 
   22170 # Commands used to build a loadable module if different from building
   22171 # a shared archive.
   22172 module_cmds=$lt_module_cmds
   22173 module_expsym_cmds=$lt_module_expsym_cmds
   22174 
   22175 # Whether we are building with GNU ld or not.
   22176 with_gnu_ld=$lt_with_gnu_ld
   22177 
   22178 # Flag that allows shared libraries with undefined symbols to be built.
   22179 allow_undefined_flag=$lt_allow_undefined_flag
   22180 
   22181 # Flag that enforces no undefined symbols.
   22182 no_undefined_flag=$lt_no_undefined_flag
   22183 
   22184 # Flag to hardcode \$libdir into a binary during linking.
   22185 # This must work even if \$libdir does not exist
   22186 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22187 
   22188 # Whether we need a single "-rpath" flag with a separated argument.
   22189 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22190 
   22191 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22192 # DIR into the resulting binary.
   22193 hardcode_direct=$hardcode_direct
   22194 
   22195 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22196 # DIR into the resulting binary and the resulting library dependency is
   22197 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22198 # library is relocated.
   22199 hardcode_direct_absolute=$hardcode_direct_absolute
   22200 
   22201 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22202 # into the resulting binary.
   22203 hardcode_minus_L=$hardcode_minus_L
   22204 
   22205 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22206 # into the resulting binary.
   22207 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22208 
   22209 # Set to "yes" if building a shared library automatically hardcodes DIR
   22210 # into the library and all subsequent libraries and executables linked
   22211 # against it.
   22212 hardcode_automatic=$hardcode_automatic
   22213 
   22214 # Set to yes if linker adds runtime paths of dependent libraries
   22215 # to runtime path list.
   22216 inherit_rpath=$inherit_rpath
   22217 
   22218 # Whether libtool must link a program against all its dependency libraries.
   22219 link_all_deplibs=$link_all_deplibs
   22220 
   22221 # Set to "yes" if exported symbols are required.
   22222 always_export_symbols=$always_export_symbols
   22223 
   22224 # The commands to list exported symbols.
   22225 export_symbols_cmds=$lt_export_symbols_cmds
   22226 
   22227 # Symbols that should not be listed in the preloaded symbols.
   22228 exclude_expsyms=$lt_exclude_expsyms
   22229 
   22230 # Symbols that must always be exported.
   22231 include_expsyms=$lt_include_expsyms
   22232 
   22233 # Commands necessary for linking programs (against libraries) with templates.
   22234 prelink_cmds=$lt_prelink_cmds
   22235 
   22236 # Commands necessary for finishing linking programs.
   22237 postlink_cmds=$lt_postlink_cmds
   22238 
   22239 # Specify filename containing input files.
   22240 file_list_spec=$lt_file_list_spec
   22241 
   22242 # How to hardcode a shared library path into an executable.
   22243 hardcode_action=$hardcode_action
   22244 
   22245 # ### END LIBTOOL CONFIG
   22246 
   22247 _LT_EOF
   22248 
   22249     cat <<'_LT_EOF' >> "$cfgfile"
   22250 
   22251 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22252 
   22253 # func_munge_path_list VARIABLE PATH
   22254 # -----------------------------------
   22255 # VARIABLE is name of variable containing _space_ separated list of
   22256 # directories to be munged by the contents of PATH, which is string
   22257 # having a format:
   22258 # "DIR[:DIR]:"
   22259 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22260 # ":DIR[:DIR]"
   22261 #       string "DIR[ DIR]" will be appended to VARIABLE
   22262 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22263 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22264 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22265 # "DIR[:DIR]"
   22266 #       VARIABLE will be replaced by "DIR[ DIR]"
   22267 func_munge_path_list ()
   22268 {
   22269     case x$2 in
   22270     x)
   22271         ;;
   22272     *:)
   22273         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22274         ;;
   22275     x:*)
   22276         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22277         ;;
   22278     *::*)
   22279         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22280         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22281         ;;
   22282     *)
   22283         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22284         ;;
   22285     esac
   22286 }
   22287 
   22288 
   22289 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22290 func_cc_basename ()
   22291 {
   22292     for cc_temp in $*""; do
   22293       case $cc_temp in
   22294         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22295         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22296         \-*) ;;
   22297         *) break;;
   22298       esac
   22299     done
   22300     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22301 }
   22302 
   22303 
   22304 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22305 
   22306 _LT_EOF
   22307 
   22308   case $host_os in
   22309   aix3*)
   22310     cat <<\_LT_EOF >> "$cfgfile"
   22311 # AIX sometimes has problems with the GCC collect2 program.  For some
   22312 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22313 # vanish in a puff of smoke.
   22314 if test set != "${COLLECT_NAMES+set}"; then
   22315   COLLECT_NAMES=
   22316   export COLLECT_NAMES
   22317 fi
   22318 _LT_EOF
   22319     ;;
   22320   esac
   22321 
   22322 
   22323 
   22324 ltmain=$ac_aux_dir/ltmain.sh
   22325 
   22326 
   22327   # We use sed instead of cat because bash on DJGPP gets confused if
   22328   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22329   # text mode, it properly converts lines to CR/LF.  This bash problem
   22330   # is reportedly fixed, but why not run on old versions too?
   22331   $SED '$q' "$ltmain" >> "$cfgfile" \
   22332      || (rm -f "$cfgfile"; exit 1)
   22333 
   22334    mv -f "$cfgfile" "$ofile" ||
   22335     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22336   chmod +x "$ofile"
   22337 
   22338  ;;
   22339 
   22340   esac
   22341 done # for ac_tag
   22342 
   22343 
   22344 as_fn_exit 0
   22345 _ACEOF
   22346 ac_clean_files=$ac_clean_files_save
   22347 
   22348 test $ac_write_fail = 0 ||
   22349   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22350 
   22351 
   22352 # configure is writing to config.log, and then calls config.status.
   22353 # config.status does its own redirection, appending to config.log.
   22354 # Unfortunately, on DOS this fails, as config.log is still kept open
   22355 # by configure, so config.status won't be able to write to it; its
   22356 # output is simply discarded.  So we exec the FD to /dev/null,
   22357 # effectively closing config.log, so it can be properly (re)opened and
   22358 # appended to by config.status.  When coming back to configure, we
   22359 # need to make the FD available again.
   22360 if test "$no_create" != yes; then
   22361   ac_cs_success=:
   22362   ac_config_status_args=
   22363   test "$silent" = yes &&
   22364     ac_config_status_args="$ac_config_status_args --quiet"
   22365   exec 5>/dev/null
   22366   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22367   exec 5>>config.log
   22368   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22369   # would make configure fail if this is the last instruction.
   22370   $ac_cs_success || as_fn_exit 1
   22371 fi
   22372 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22374 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22375 fi
   22376 
   22377 
   22378