Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXxf86vm 1.1.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/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 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || 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/lib/libxxf86vm/-/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='libXxf86vm'
    624 PACKAGE_TARNAME='libXxf86vm'
    625 PACKAGE_VERSION='1.1.5'
    626 PACKAGE_STRING='libXxf86vm 1.1.5'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/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 XXF86VM_LIBS
    668 XXF86VM_CFLAGS
    669 XTMALLOC_ZERO_CFLAGS
    670 XMALLOC_ZERO_CFLAGS
    671 MALLOC_ZERO_CFLAGS
    672 MAN_SUBSTS
    673 XORG_MAN_PAGE
    674 ADMIN_MAN_DIR
    675 DRIVER_MAN_DIR
    676 MISC_MAN_DIR
    677 FILE_MAN_DIR
    678 LIB_MAN_DIR
    679 APP_MAN_DIR
    680 ADMIN_MAN_SUFFIX
    681 DRIVER_MAN_SUFFIX
    682 MISC_MAN_SUFFIX
    683 FILE_MAN_SUFFIX
    684 LIB_MAN_SUFFIX
    685 APP_MAN_SUFFIX
    686 INSTALL_CMD
    687 PKG_CONFIG_LIBDIR
    688 PKG_CONFIG_PATH
    689 PKG_CONFIG
    690 CHANGELOG_CMD
    691 STRICT_CFLAGS
    692 CWARNFLAGS
    693 BASE_CFLAGS
    694 LT_SYS_LIBRARY_PATH
    695 OTOOL64
    696 OTOOL
    697 LIPO
    698 NMEDIT
    699 DSYMUTIL
    700 MANIFEST_TOOL
    701 RANLIB
    702 ac_ct_AR
    703 AR
    704 DLLTOOL
    705 OBJDUMP
    706 FILECMD
    707 LN_S
    708 NM
    709 ac_ct_DUMPBIN
    710 DUMPBIN
    711 LD
    712 FGREP
    713 EGREP
    714 GREP
    715 SED
    716 am__fastdepCC_FALSE
    717 am__fastdepCC_TRUE
    718 CCDEPMODE
    719 am__nodep
    720 AMDEPBACKSLASH
    721 AMDEP_FALSE
    722 AMDEP_TRUE
    723 am__include
    724 DEPDIR
    725 OBJEXT
    726 EXEEXT
    727 ac_ct_CC
    728 CPPFLAGS
    729 LDFLAGS
    730 CFLAGS
    731 CC
    732 host_os
    733 host_vendor
    734 host_cpu
    735 host
    736 build_os
    737 build_vendor
    738 build_cpu
    739 build
    740 LIBTOOL
    741 AM_BACKSLASH
    742 AM_DEFAULT_VERBOSITY
    743 AM_DEFAULT_V
    744 AM_V
    745 CSCOPE
    746 ETAGS
    747 CTAGS
    748 am__untar
    749 am__tar
    750 AMTAR
    751 am__leading_dot
    752 SET_MAKE
    753 AWK
    754 mkdir_p
    755 MKDIR_P
    756 INSTALL_STRIP_PROGRAM
    757 STRIP
    758 install_sh
    759 MAKEINFO
    760 AUTOHEADER
    761 AUTOMAKE
    762 AUTOCONF
    763 ACLOCAL
    764 VERSION
    765 PACKAGE
    766 CYGPATH_W
    767 am__isrc
    768 INSTALL_DATA
    769 INSTALL_SCRIPT
    770 INSTALL_PROGRAM
    771 target_alias
    772 host_alias
    773 build_alias
    774 LIBS
    775 ECHO_T
    776 ECHO_N
    777 ECHO_C
    778 DEFS
    779 mandir
    780 localedir
    781 libdir
    782 psdir
    783 pdfdir
    784 dvidir
    785 htmldir
    786 infodir
    787 docdir
    788 oldincludedir
    789 includedir
    790 runstatedir
    791 localstatedir
    792 sharedstatedir
    793 sysconfdir
    794 datadir
    795 datarootdir
    796 libexecdir
    797 sbindir
    798 bindir
    799 program_transform_name
    800 prefix
    801 exec_prefix
    802 PACKAGE_URL
    803 PACKAGE_BUGREPORT
    804 PACKAGE_STRING
    805 PACKAGE_VERSION
    806 PACKAGE_TARNAME
    807 PACKAGE_NAME
    808 PATH_SEPARATOR
    809 SHELL
    810 am__quote'
    811 ac_subst_files=''
    812 ac_user_opts='
    813 enable_option_checking
    814 enable_silent_rules
    815 enable_shared
    816 enable_static
    817 with_pic
    818 enable_fast_install
    819 with_aix_soname
    820 enable_dependency_tracking
    821 with_gnu_ld
    822 with_sysroot
    823 enable_libtool_lock
    824 enable_selective_werror
    825 enable_strict_compilation
    826 enable_malloc0returnsnull
    827 '
    828       ac_precious_vars='build_alias
    829 host_alias
    830 target_alias
    831 CC
    832 CFLAGS
    833 LDFLAGS
    834 LIBS
    835 CPPFLAGS
    836 LT_SYS_LIBRARY_PATH
    837 PKG_CONFIG
    838 PKG_CONFIG_PATH
    839 PKG_CONFIG_LIBDIR
    840 XXF86VM_CFLAGS
    841 XXF86VM_LIBS'
    842 
    843 
    844 # Initialize some variables set by options.
    845 ac_init_help=
    846 ac_init_version=false
    847 ac_unrecognized_opts=
    848 ac_unrecognized_sep=
    849 # The variables have the same names as the options, with
    850 # dashes changed to underlines.
    851 cache_file=/dev/null
    852 exec_prefix=NONE
    853 no_create=
    854 no_recursion=
    855 prefix=NONE
    856 program_prefix=NONE
    857 program_suffix=NONE
    858 program_transform_name=s,x,x,
    859 silent=
    860 site=
    861 srcdir=
    862 verbose=
    863 x_includes=NONE
    864 x_libraries=NONE
    865 
    866 # Installation directory options.
    867 # These are left unexpanded so users can "make install exec_prefix=/foo"
    868 # and all the variables that are supposed to be based on exec_prefix
    869 # by default will actually change.
    870 # Use braces instead of parens because sh, perl, etc. also accept them.
    871 # (The list follows the same order as the GNU Coding Standards.)
    872 bindir='${exec_prefix}/bin'
    873 sbindir='${exec_prefix}/sbin'
    874 libexecdir='${exec_prefix}/libexec'
    875 datarootdir='${prefix}/share'
    876 datadir='${datarootdir}'
    877 sysconfdir='${prefix}/etc'
    878 sharedstatedir='${prefix}/com'
    879 localstatedir='${prefix}/var'
    880 runstatedir='${localstatedir}/run'
    881 includedir='${prefix}/include'
    882 oldincludedir='/usr/include'
    883 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    884 infodir='${datarootdir}/info'
    885 htmldir='${docdir}'
    886 dvidir='${docdir}'
    887 pdfdir='${docdir}'
    888 psdir='${docdir}'
    889 libdir='${exec_prefix}/lib'
    890 localedir='${datarootdir}/locale'
    891 mandir='${datarootdir}/man'
    892 
    893 ac_prev=
    894 ac_dashdash=
    895 for ac_option
    896 do
    897   # If the previous option needs an argument, assign it.
    898   if test -n "$ac_prev"; then
    899     eval $ac_prev=\$ac_option
    900     ac_prev=
    901     continue
    902   fi
    903 
    904   case $ac_option in
    905   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    906   *=)   ac_optarg= ;;
    907   *)    ac_optarg=yes ;;
    908   esac
    909 
    910   case $ac_dashdash$ac_option in
    911   --)
    912     ac_dashdash=yes ;;
    913 
    914   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    915     ac_prev=bindir ;;
    916   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    917     bindir=$ac_optarg ;;
    918 
    919   -build | --build | --buil | --bui | --bu)
    920     ac_prev=build_alias ;;
    921   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    922     build_alias=$ac_optarg ;;
    923 
    924   -cache-file | --cache-file | --cache-fil | --cache-fi \
    925   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    926     ac_prev=cache_file ;;
    927   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    928   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    929     cache_file=$ac_optarg ;;
    930 
    931   --config-cache | -C)
    932     cache_file=config.cache ;;
    933 
    934   -datadir | --datadir | --datadi | --datad)
    935     ac_prev=datadir ;;
    936   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    937     datadir=$ac_optarg ;;
    938 
    939   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    940   | --dataroo | --dataro | --datar)
    941     ac_prev=datarootdir ;;
    942   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    943   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    944     datarootdir=$ac_optarg ;;
    945 
    946   -disable-* | --disable-*)
    947     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    948     # Reject names that are not valid shell variable names.
    949     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    950       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    951     ac_useropt_orig=$ac_useropt
    952     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    953     case $ac_user_opts in
    954       *"
    955 "enable_$ac_useropt"
    956 "*) ;;
    957       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    958 	 ac_unrecognized_sep=', ';;
    959     esac
    960     eval enable_$ac_useropt=no ;;
    961 
    962   -docdir | --docdir | --docdi | --doc | --do)
    963     ac_prev=docdir ;;
    964   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    965     docdir=$ac_optarg ;;
    966 
    967   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    968     ac_prev=dvidir ;;
    969   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    970     dvidir=$ac_optarg ;;
    971 
    972   -enable-* | --enable-*)
    973     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    974     # Reject names that are not valid shell variable names.
    975     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    976       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    977     ac_useropt_orig=$ac_useropt
    978     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    979     case $ac_user_opts in
    980       *"
    981 "enable_$ac_useropt"
    982 "*) ;;
    983       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    984 	 ac_unrecognized_sep=', ';;
    985     esac
    986     eval enable_$ac_useropt=\$ac_optarg ;;
    987 
    988   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    989   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    990   | --exec | --exe | --ex)
    991     ac_prev=exec_prefix ;;
    992   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    993   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    994   | --exec=* | --exe=* | --ex=*)
    995     exec_prefix=$ac_optarg ;;
    996 
    997   -gas | --gas | --ga | --g)
    998     # Obsolete; use --with-gas.
    999     with_gas=yes ;;
   1000 
   1001   -help | --help | --hel | --he | -h)
   1002     ac_init_help=long ;;
   1003   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1004     ac_init_help=recursive ;;
   1005   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1006     ac_init_help=short ;;
   1007 
   1008   -host | --host | --hos | --ho)
   1009     ac_prev=host_alias ;;
   1010   -host=* | --host=* | --hos=* | --ho=*)
   1011     host_alias=$ac_optarg ;;
   1012 
   1013   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1014     ac_prev=htmldir ;;
   1015   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1016   | --ht=*)
   1017     htmldir=$ac_optarg ;;
   1018 
   1019   -includedir | --includedir | --includedi | --included | --include \
   1020   | --includ | --inclu | --incl | --inc)
   1021     ac_prev=includedir ;;
   1022   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1023   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1024     includedir=$ac_optarg ;;
   1025 
   1026   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1027     ac_prev=infodir ;;
   1028   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1029     infodir=$ac_optarg ;;
   1030 
   1031   -libdir | --libdir | --libdi | --libd)
   1032     ac_prev=libdir ;;
   1033   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1034     libdir=$ac_optarg ;;
   1035 
   1036   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1037   | --libexe | --libex | --libe)
   1038     ac_prev=libexecdir ;;
   1039   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1040   | --libexe=* | --libex=* | --libe=*)
   1041     libexecdir=$ac_optarg ;;
   1042 
   1043   -localedir | --localedir | --localedi | --localed | --locale)
   1044     ac_prev=localedir ;;
   1045   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1046     localedir=$ac_optarg ;;
   1047 
   1048   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1049   | --localstate | --localstat | --localsta | --localst | --locals)
   1050     ac_prev=localstatedir ;;
   1051   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1052   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1053     localstatedir=$ac_optarg ;;
   1054 
   1055   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1056     ac_prev=mandir ;;
   1057   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1058     mandir=$ac_optarg ;;
   1059 
   1060   -nfp | --nfp | --nf)
   1061     # Obsolete; use --without-fp.
   1062     with_fp=no ;;
   1063 
   1064   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1065   | --no-cr | --no-c | -n)
   1066     no_create=yes ;;
   1067 
   1068   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1069   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1070     no_recursion=yes ;;
   1071 
   1072   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1073   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1074   | --oldin | --oldi | --old | --ol | --o)
   1075     ac_prev=oldincludedir ;;
   1076   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1077   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1078   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1079     oldincludedir=$ac_optarg ;;
   1080 
   1081   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1082     ac_prev=prefix ;;
   1083   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1084     prefix=$ac_optarg ;;
   1085 
   1086   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1087   | --program-pre | --program-pr | --program-p)
   1088     ac_prev=program_prefix ;;
   1089   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1090   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1091     program_prefix=$ac_optarg ;;
   1092 
   1093   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1094   | --program-suf | --program-su | --program-s)
   1095     ac_prev=program_suffix ;;
   1096   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1097   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1098     program_suffix=$ac_optarg ;;
   1099 
   1100   -program-transform-name | --program-transform-name \
   1101   | --program-transform-nam | --program-transform-na \
   1102   | --program-transform-n | --program-transform- \
   1103   | --program-transform | --program-transfor \
   1104   | --program-transfo | --program-transf \
   1105   | --program-trans | --program-tran \
   1106   | --progr-tra | --program-tr | --program-t)
   1107     ac_prev=program_transform_name ;;
   1108   -program-transform-name=* | --program-transform-name=* \
   1109   | --program-transform-nam=* | --program-transform-na=* \
   1110   | --program-transform-n=* | --program-transform-=* \
   1111   | --program-transform=* | --program-transfor=* \
   1112   | --program-transfo=* | --program-transf=* \
   1113   | --program-trans=* | --program-tran=* \
   1114   | --progr-tra=* | --program-tr=* | --program-t=*)
   1115     program_transform_name=$ac_optarg ;;
   1116 
   1117   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1118     ac_prev=pdfdir ;;
   1119   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1120     pdfdir=$ac_optarg ;;
   1121 
   1122   -psdir | --psdir | --psdi | --psd | --ps)
   1123     ac_prev=psdir ;;
   1124   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1125     psdir=$ac_optarg ;;
   1126 
   1127   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1128   | -silent | --silent | --silen | --sile | --sil)
   1129     silent=yes ;;
   1130 
   1131   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1132   | --runstate | --runstat | --runsta | --runst | --runs \
   1133   | --run | --ru | --r)
   1134     ac_prev=runstatedir ;;
   1135   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1136   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1137   | --run=* | --ru=* | --r=*)
   1138     runstatedir=$ac_optarg ;;
   1139 
   1140   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1141     ac_prev=sbindir ;;
   1142   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1143   | --sbi=* | --sb=*)
   1144     sbindir=$ac_optarg ;;
   1145 
   1146   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1147   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1148   | --sharedst | --shareds | --shared | --share | --shar \
   1149   | --sha | --sh)
   1150     ac_prev=sharedstatedir ;;
   1151   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1152   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1153   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1154   | --sha=* | --sh=*)
   1155     sharedstatedir=$ac_optarg ;;
   1156 
   1157   -site | --site | --sit)
   1158     ac_prev=site ;;
   1159   -site=* | --site=* | --sit=*)
   1160     site=$ac_optarg ;;
   1161 
   1162   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1163     ac_prev=srcdir ;;
   1164   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1165     srcdir=$ac_optarg ;;
   1166 
   1167   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1168   | --syscon | --sysco | --sysc | --sys | --sy)
   1169     ac_prev=sysconfdir ;;
   1170   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1171   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1172     sysconfdir=$ac_optarg ;;
   1173 
   1174   -target | --target | --targe | --targ | --tar | --ta | --t)
   1175     ac_prev=target_alias ;;
   1176   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1177     target_alias=$ac_optarg ;;
   1178 
   1179   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1180     verbose=yes ;;
   1181 
   1182   -version | --version | --versio | --versi | --vers | -V)
   1183     ac_init_version=: ;;
   1184 
   1185   -with-* | --with-*)
   1186     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1187     # Reject names that are not valid shell variable names.
   1188     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1189       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1190     ac_useropt_orig=$ac_useropt
   1191     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1192     case $ac_user_opts in
   1193       *"
   1194 "with_$ac_useropt"
   1195 "*) ;;
   1196       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1197 	 ac_unrecognized_sep=', ';;
   1198     esac
   1199     eval with_$ac_useropt=\$ac_optarg ;;
   1200 
   1201   -without-* | --without-*)
   1202     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1203     # Reject names that are not valid shell variable names.
   1204     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1205       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1206     ac_useropt_orig=$ac_useropt
   1207     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1208     case $ac_user_opts in
   1209       *"
   1210 "with_$ac_useropt"
   1211 "*) ;;
   1212       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1213 	 ac_unrecognized_sep=', ';;
   1214     esac
   1215     eval with_$ac_useropt=no ;;
   1216 
   1217   --x)
   1218     # Obsolete; use --with-x.
   1219     with_x=yes ;;
   1220 
   1221   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1222   | --x-incl | --x-inc | --x-in | --x-i)
   1223     ac_prev=x_includes ;;
   1224   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1225   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1226     x_includes=$ac_optarg ;;
   1227 
   1228   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1229   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1230     ac_prev=x_libraries ;;
   1231   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1232   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1233     x_libraries=$ac_optarg ;;
   1234 
   1235   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1236 Try \`$0 --help' for more information"
   1237     ;;
   1238 
   1239   *=*)
   1240     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1241     # Reject names that are not valid shell variable names.
   1242     case $ac_envvar in #(
   1243       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1244       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1245     esac
   1246     eval $ac_envvar=\$ac_optarg
   1247     export $ac_envvar ;;
   1248 
   1249   *)
   1250     # FIXME: should be removed in autoconf 3.0.
   1251     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1252     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1253       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1254     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1255     ;;
   1256 
   1257   esac
   1258 done
   1259 
   1260 if test -n "$ac_prev"; then
   1261   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1262   as_fn_error $? "missing argument to $ac_option"
   1263 fi
   1264 
   1265 if test -n "$ac_unrecognized_opts"; then
   1266   case $enable_option_checking in
   1267     no) ;;
   1268     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1269     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1270   esac
   1271 fi
   1272 
   1273 # Check all directory arguments for consistency.
   1274 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1275 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1276 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1277 		libdir localedir mandir runstatedir
   1278 do
   1279   eval ac_val=\$$ac_var
   1280   # Remove trailing slashes.
   1281   case $ac_val in
   1282     */ )
   1283       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1284       eval $ac_var=\$ac_val;;
   1285   esac
   1286   # Be sure to have absolute directory names.
   1287   case $ac_val in
   1288     [\\/$]* | ?:[\\/]* )  continue;;
   1289     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1290   esac
   1291   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1292 done
   1293 
   1294 # There might be people who depend on the old broken behavior: `$host'
   1295 # used to hold the argument of --host etc.
   1296 # FIXME: To remove some day.
   1297 build=$build_alias
   1298 host=$host_alias
   1299 target=$target_alias
   1300 
   1301 # FIXME: To remove some day.
   1302 if test "x$host_alias" != x; then
   1303   if test "x$build_alias" = x; then
   1304     cross_compiling=maybe
   1305   elif test "x$build_alias" != "x$host_alias"; then
   1306     cross_compiling=yes
   1307   fi
   1308 fi
   1309 
   1310 ac_tool_prefix=
   1311 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1312 
   1313 test "$silent" = yes && exec 6>/dev/null
   1314 
   1315 
   1316 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1317 ac_ls_di=`ls -di .` &&
   1318 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1319   as_fn_error $? "working directory cannot be determined"
   1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1321   as_fn_error $? "pwd does not report name of working directory"
   1322 
   1323 
   1324 # Find the source files, if location was not specified.
   1325 if test -z "$srcdir"; then
   1326   ac_srcdir_defaulted=yes
   1327   # Try the directory containing this script, then the parent directory.
   1328   ac_confdir=`$as_dirname -- "$as_myself" ||
   1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1330 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1331 	 X"$as_myself" : 'X\(//\)$' \| \
   1332 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1333 printf "%s\n" X"$as_myself" |
   1334     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1335 	    s//\1/
   1336 	    q
   1337 	  }
   1338 	  /^X\(\/\/\)[^/].*/{
   1339 	    s//\1/
   1340 	    q
   1341 	  }
   1342 	  /^X\(\/\/\)$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\).*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  s/.*/./; q'`
   1351   srcdir=$ac_confdir
   1352   if test ! -r "$srcdir/$ac_unique_file"; then
   1353     srcdir=..
   1354   fi
   1355 else
   1356   ac_srcdir_defaulted=no
   1357 fi
   1358 if test ! -r "$srcdir/$ac_unique_file"; then
   1359   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1360   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1361 fi
   1362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1363 ac_abs_confdir=`(
   1364 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1365 	pwd)`
   1366 # When building in place, set srcdir=.
   1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1368   srcdir=.
   1369 fi
   1370 # Remove unnecessary trailing slashes from srcdir.
   1371 # Double slashes in file names in object file debugging info
   1372 # mess up M-x gdb in Emacs.
   1373 case $srcdir in
   1374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1375 esac
   1376 for ac_var in $ac_precious_vars; do
   1377   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1378   eval ac_env_${ac_var}_value=\$${ac_var}
   1379   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1380   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1381 done
   1382 
   1383 #
   1384 # Report the --help message.
   1385 #
   1386 if test "$ac_init_help" = "long"; then
   1387   # Omit some internal or obsolete options to make the list less imposing.
   1388   # This message is too long to be a string in the A/UX 3.1 sh.
   1389   cat <<_ACEOF
   1390 \`configure' configures libXxf86vm 1.1.5 to adapt to many kinds of systems.
   1391 
   1392 Usage: $0 [OPTION]... [VAR=VALUE]...
   1393 
   1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1395 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1396 
   1397 Defaults for the options are specified in brackets.
   1398 
   1399 Configuration:
   1400   -h, --help              display this help and exit
   1401       --help=short        display options specific to this package
   1402       --help=recursive    display the short help of all the included packages
   1403   -V, --version           display version information and exit
   1404   -q, --quiet, --silent   do not print \`checking ...' messages
   1405       --cache-file=FILE   cache test results in FILE [disabled]
   1406   -C, --config-cache      alias for \`--cache-file=config.cache'
   1407   -n, --no-create         do not create output files
   1408       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1409 
   1410 Installation directories:
   1411   --prefix=PREFIX         install architecture-independent files in PREFIX
   1412                           [$ac_default_prefix]
   1413   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1414                           [PREFIX]
   1415 
   1416 By default, \`make install' will install all the files in
   1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1419 for instance \`--prefix=\$HOME'.
   1420 
   1421 For better control, use the options below.
   1422 
   1423 Fine tuning of the installation directories:
   1424   --bindir=DIR            user executables [EPREFIX/bin]
   1425   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1426   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1427   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1428   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1429   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1430   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1431   --libdir=DIR            object code libraries [EPREFIX/lib]
   1432   --includedir=DIR        C header files [PREFIX/include]
   1433   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1434   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1435   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1436   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1437   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1438   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1439   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXxf86vm]
   1440   --htmldir=DIR           html documentation [DOCDIR]
   1441   --dvidir=DIR            dvi documentation [DOCDIR]
   1442   --pdfdir=DIR            pdf documentation [DOCDIR]
   1443   --psdir=DIR             ps documentation [DOCDIR]
   1444 _ACEOF
   1445 
   1446   cat <<\_ACEOF
   1447 
   1448 Program names:
   1449   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1450   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1451   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1452 
   1453 System types:
   1454   --build=BUILD     configure for building on BUILD [guessed]
   1455   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1456 _ACEOF
   1457 fi
   1458 
   1459 if test -n "$ac_init_help"; then
   1460   case $ac_init_help in
   1461      short | recursive ) echo "Configuration of libXxf86vm 1.1.5:";;
   1462    esac
   1463   cat <<\_ACEOF
   1464 
   1465 Optional Features:
   1466   --disable-option-checking  ignore unrecognized --enable/--with options
   1467   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1468   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1469   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1470   --disable-silent-rules  verbose build output (undo: "make V=0")
   1471   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1472   --enable-static[=PKGS]  build static libraries [default=yes]
   1473   --enable-fast-install[=PKGS]
   1474                           optimize for fast installation [default=yes]
   1475   --enable-dependency-tracking
   1476                           do not reject slow dependency extractors
   1477   --disable-dependency-tracking
   1478                           speeds up one-time build
   1479   --disable-libtool-lock  avoid locking (might break parallel builds)
   1480   --disable-selective-werror
   1481                           Turn off selective compiler errors. (default:
   1482                           enabled)
   1483   --enable-strict-compilation
   1484                           Enable all warnings from compiler and make them
   1485                           errors (default: disabled)
   1486   --enable-malloc0returnsnull
   1487                           malloc(0) returns NULL (default: auto)
   1488 
   1489 Optional Packages:
   1490   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1491   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1492   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1493                           both]
   1494   --with-aix-soname=aix|svr4|both
   1495                           shared library versioning (aka "SONAME") variant to
   1496                           provide on AIX, [default=aix].
   1497   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1498   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1499                           compiler's sysroot if not specified).
   1500 
   1501 Some influential environment variables:
   1502   CC          C compiler command
   1503   CFLAGS      C compiler flags
   1504   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1505               nonstandard directory <lib dir>
   1506   LIBS        libraries to pass to the linker, e.g. -l<library>
   1507   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1508               you have headers in a nonstandard directory <include dir>
   1509   LT_SYS_LIBRARY_PATH
   1510               User-defined run-time library search path.
   1511   PKG_CONFIG  path to pkg-config utility
   1512   PKG_CONFIG_PATH
   1513               directories to add to pkg-config's search path
   1514   PKG_CONFIG_LIBDIR
   1515               path overriding pkg-config's built-in search path
   1516   XXF86VM_CFLAGS
   1517               C compiler flags for XXF86VM, overriding pkg-config
   1518   XXF86VM_LIBS
   1519               linker flags for XXF86VM, overriding pkg-config
   1520 
   1521 Use these variables to override the choices made by `configure' or to help
   1522 it to find libraries and programs with nonstandard names/locations.
   1523 
   1524 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/issues>.
   1525 _ACEOF
   1526 ac_status=$?
   1527 fi
   1528 
   1529 if test "$ac_init_help" = "recursive"; then
   1530   # If there are subdirs, report their specific --help.
   1531   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1532     test -d "$ac_dir" ||
   1533       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1534       continue
   1535     ac_builddir=.
   1536 
   1537 case "$ac_dir" in
   1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1539 *)
   1540   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1541   # A ".." for each directory in $ac_dir_suffix.
   1542   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1543   case $ac_top_builddir_sub in
   1544   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1545   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1546   esac ;;
   1547 esac
   1548 ac_abs_top_builddir=$ac_pwd
   1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1550 # for backward compatibility:
   1551 ac_top_builddir=$ac_top_build_prefix
   1552 
   1553 case $srcdir in
   1554   .)  # We are building in place.
   1555     ac_srcdir=.
   1556     ac_top_srcdir=$ac_top_builddir_sub
   1557     ac_abs_top_srcdir=$ac_pwd ;;
   1558   [\\/]* | ?:[\\/]* )  # Absolute name.
   1559     ac_srcdir=$srcdir$ac_dir_suffix;
   1560     ac_top_srcdir=$srcdir
   1561     ac_abs_top_srcdir=$srcdir ;;
   1562   *) # Relative name.
   1563     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1564     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1565     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1566 esac
   1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1568 
   1569     cd "$ac_dir" || { ac_status=$?; continue; }
   1570     # Check for configure.gnu first; this name is used for a wrapper for
   1571     # Metaconfig's "Configure" on case-insensitive file systems.
   1572     if test -f "$ac_srcdir/configure.gnu"; then
   1573       echo &&
   1574       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1575     elif test -f "$ac_srcdir/configure"; then
   1576       echo &&
   1577       $SHELL "$ac_srcdir/configure" --help=recursive
   1578     else
   1579       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1580     fi || ac_status=$?
   1581     cd "$ac_pwd" || { ac_status=$?; break; }
   1582   done
   1583 fi
   1584 
   1585 test -n "$ac_init_help" && exit $ac_status
   1586 if $ac_init_version; then
   1587   cat <<\_ACEOF
   1588 libXxf86vm configure 1.1.5
   1589 generated by GNU Autoconf 2.71
   1590 
   1591 Copyright (C) 2021 Free Software Foundation, Inc.
   1592 This configure script is free software; the Free Software Foundation
   1593 gives unlimited permission to copy, distribute and modify it.
   1594 _ACEOF
   1595   exit
   1596 fi
   1597 
   1598 ## ------------------------ ##
   1599 ## Autoconf initialization. ##
   1600 ## ------------------------ ##
   1601 
   1602 # ac_fn_c_try_compile LINENO
   1603 # --------------------------
   1604 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1605 ac_fn_c_try_compile ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   rm -f conftest.$ac_objext conftest.beam
   1609   if { { ac_try="$ac_compile"
   1610 case "(($ac_try" in
   1611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1612   *) ac_try_echo=$ac_try;;
   1613 esac
   1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1615 printf "%s\n" "$ac_try_echo"; } >&5
   1616   (eval "$ac_compile") 2>conftest.err
   1617   ac_status=$?
   1618   if test -s conftest.err; then
   1619     grep -v '^ *+' conftest.err >conftest.er1
   1620     cat conftest.er1 >&5
   1621     mv -f conftest.er1 conftest.err
   1622   fi
   1623   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1624   test $ac_status = 0; } && {
   1625 	 test -z "$ac_c_werror_flag" ||
   1626 	 test ! -s conftest.err
   1627        } && test -s conftest.$ac_objext
   1628 then :
   1629   ac_retval=0
   1630 else $as_nop
   1631   printf "%s\n" "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634 	ac_retval=1
   1635 fi
   1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1637   as_fn_set_status $ac_retval
   1638 
   1639 } # ac_fn_c_try_compile
   1640 
   1641 # ac_fn_c_try_link LINENO
   1642 # -----------------------
   1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1644 ac_fn_c_try_link ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1648   if { { ac_try="$ac_link"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 printf "%s\n" "$ac_try_echo"; } >&5
   1655   (eval "$ac_link") 2>conftest.err
   1656   ac_status=$?
   1657   if test -s conftest.err; then
   1658     grep -v '^ *+' conftest.err >conftest.er1
   1659     cat conftest.er1 >&5
   1660     mv -f conftest.er1 conftest.err
   1661   fi
   1662   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1663   test $ac_status = 0; } && {
   1664 	 test -z "$ac_c_werror_flag" ||
   1665 	 test ! -s conftest.err
   1666        } && test -s conftest$ac_exeext && {
   1667 	 test "$cross_compiling" = yes ||
   1668 	 test -x conftest$ac_exeext
   1669        }
   1670 then :
   1671   ac_retval=0
   1672 else $as_nop
   1673   printf "%s\n" "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676 	ac_retval=1
   1677 fi
   1678   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1679   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1680   # interfere with the next link command; also delete a directory that is
   1681   # left behind by Apple's compiler.  We do this before executing the actions.
   1682   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684   as_fn_set_status $ac_retval
   1685 
   1686 } # ac_fn_c_try_link
   1687 
   1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1689 # -------------------------------------------------------
   1690 # Tests whether HEADER exists and can be compiled using the include files in
   1691 # INCLUDES, setting the cache variable VAR accordingly.
   1692 ac_fn_c_check_header_compile ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1696 printf %s "checking for $2... " >&6; }
   1697 if eval test \${$3+y}
   1698 then :
   1699   printf %s "(cached) " >&6
   1700 else $as_nop
   1701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1702 /* end confdefs.h.  */
   1703 $4
   1704 #include <$2>
   1705 _ACEOF
   1706 if ac_fn_c_try_compile "$LINENO"
   1707 then :
   1708   eval "$3=yes"
   1709 else $as_nop
   1710   eval "$3=no"
   1711 fi
   1712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1713 fi
   1714 eval ac_res=\$$3
   1715 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1716 printf "%s\n" "$ac_res" >&6; }
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718 
   1719 } # ac_fn_c_check_header_compile
   1720 
   1721 # ac_fn_c_check_func LINENO FUNC VAR
   1722 # ----------------------------------
   1723 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1724 ac_fn_c_check_func ()
   1725 {
   1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1728 printf %s "checking for $2... " >&6; }
   1729 if eval test \${$3+y}
   1730 then :
   1731   printf %s "(cached) " >&6
   1732 else $as_nop
   1733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1734 /* end confdefs.h.  */
   1735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1737 #define $2 innocuous_$2
   1738 
   1739 /* System header to define __stub macros and hopefully few prototypes,
   1740    which can conflict with char $2 (); below.  */
   1741 
   1742 #include <limits.h>
   1743 #undef $2
   1744 
   1745 /* Override any GCC internal prototype to avoid an error.
   1746    Use char because int might match the return type of a GCC
   1747    builtin and then its argument prototype would still apply.  */
   1748 #ifdef __cplusplus
   1749 extern "C"
   1750 #endif
   1751 char $2 ();
   1752 /* The GNU C library defines this for functions which it implements
   1753     to always fail with ENOSYS.  Some functions are actually named
   1754     something starting with __ and the normal name is an alias.  */
   1755 #if defined __stub_$2 || defined __stub___$2
   1756 choke me
   1757 #endif
   1758 
   1759 int
   1760 main (void)
   1761 {
   1762 return $2 ();
   1763   ;
   1764   return 0;
   1765 }
   1766 _ACEOF
   1767 if ac_fn_c_try_link "$LINENO"
   1768 then :
   1769   eval "$3=yes"
   1770 else $as_nop
   1771   eval "$3=no"
   1772 fi
   1773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1774     conftest$ac_exeext conftest.$ac_ext
   1775 fi
   1776 eval ac_res=\$$3
   1777 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1778 printf "%s\n" "$ac_res" >&6; }
   1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1780 
   1781 } # ac_fn_c_check_func
   1782 
   1783 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1784 # ------------------------------------------------------------------
   1785 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1786 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1787 ac_fn_check_decl ()
   1788 {
   1789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1790   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1792 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1793 if eval test \${$3+y}
   1794 then :
   1795   printf %s "(cached) " >&6
   1796 else $as_nop
   1797   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1798   eval ac_save_FLAGS=\$$6
   1799   as_fn_append $6 " $5"
   1800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1801 /* end confdefs.h.  */
   1802 $4
   1803 int
   1804 main (void)
   1805 {
   1806 #ifndef $as_decl_name
   1807 #ifdef __cplusplus
   1808   (void) $as_decl_use;
   1809 #else
   1810   (void) $as_decl_name;
   1811 #endif
   1812 #endif
   1813 
   1814   ;
   1815   return 0;
   1816 }
   1817 _ACEOF
   1818 if ac_fn_c_try_compile "$LINENO"
   1819 then :
   1820   eval "$3=yes"
   1821 else $as_nop
   1822   eval "$3=no"
   1823 fi
   1824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1825   eval $6=\$ac_save_FLAGS
   1826 
   1827 fi
   1828 eval ac_res=\$$3
   1829 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1830 printf "%s\n" "$ac_res" >&6; }
   1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1832 
   1833 } # ac_fn_check_decl
   1834 
   1835 # ac_fn_c_try_run LINENO
   1836 # ----------------------
   1837 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1838 # executables *can* be run.
   1839 ac_fn_c_try_run ()
   1840 {
   1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1842   if { { ac_try="$ac_link"
   1843 case "(($ac_try" in
   1844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1845   *) ac_try_echo=$ac_try;;
   1846 esac
   1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1848 printf "%s\n" "$ac_try_echo"; } >&5
   1849   (eval "$ac_link") 2>&5
   1850   ac_status=$?
   1851   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1852   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1853   { { case "(($ac_try" in
   1854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1855   *) ac_try_echo=$ac_try;;
   1856 esac
   1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1858 printf "%s\n" "$ac_try_echo"; } >&5
   1859   (eval "$ac_try") 2>&5
   1860   ac_status=$?
   1861   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1862   test $ac_status = 0; }; }
   1863 then :
   1864   ac_retval=0
   1865 else $as_nop
   1866   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1867        printf "%s\n" "$as_me: failed program was:" >&5
   1868 sed 's/^/| /' conftest.$ac_ext >&5
   1869 
   1870        ac_retval=$ac_status
   1871 fi
   1872   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1874   as_fn_set_status $ac_retval
   1875 
   1876 } # ac_fn_c_try_run
   1877 ac_configure_args_raw=
   1878 for ac_arg
   1879 do
   1880   case $ac_arg in
   1881   *\'*)
   1882     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1883   esac
   1884   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1885 done
   1886 
   1887 case $ac_configure_args_raw in
   1888   *$as_nl*)
   1889     ac_safe_unquote= ;;
   1890   *)
   1891     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1892     ac_unsafe_a="$ac_unsafe_z#~"
   1893     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1894     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1895 esac
   1896 
   1897 cat >config.log <<_ACEOF
   1898 This file contains any messages produced by compilers while
   1899 running configure, to aid debugging if configure makes a mistake.
   1900 
   1901 It was created by libXxf86vm $as_me 1.1.5, which was
   1902 generated by GNU Autoconf 2.71.  Invocation command line was
   1903 
   1904   $ $0$ac_configure_args_raw
   1905 
   1906 _ACEOF
   1907 exec 5>>config.log
   1908 {
   1909 cat <<_ASUNAME
   1910 ## --------- ##
   1911 ## Platform. ##
   1912 ## --------- ##
   1913 
   1914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1919 
   1920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1921 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1922 
   1923 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1924 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1926 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1927 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1928 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1929 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1930 
   1931 _ASUNAME
   1932 
   1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1934 for as_dir in $PATH
   1935 do
   1936   IFS=$as_save_IFS
   1937   case $as_dir in #(((
   1938     '') as_dir=./ ;;
   1939     */) ;;
   1940     *) as_dir=$as_dir/ ;;
   1941   esac
   1942     printf "%s\n" "PATH: $as_dir"
   1943   done
   1944 IFS=$as_save_IFS
   1945 
   1946 } >&5
   1947 
   1948 cat >&5 <<_ACEOF
   1949 
   1950 
   1951 ## ----------- ##
   1952 ## Core tests. ##
   1953 ## ----------- ##
   1954 
   1955 _ACEOF
   1956 
   1957 
   1958 # Keep a trace of the command line.
   1959 # Strip out --no-create and --no-recursion so they do not pile up.
   1960 # Strip out --silent because we don't want to record it for future runs.
   1961 # Also quote any args containing shell meta-characters.
   1962 # Make two passes to allow for proper duplicate-argument suppression.
   1963 ac_configure_args=
   1964 ac_configure_args0=
   1965 ac_configure_args1=
   1966 ac_must_keep_next=false
   1967 for ac_pass in 1 2
   1968 do
   1969   for ac_arg
   1970   do
   1971     case $ac_arg in
   1972     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1973     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1974     | -silent | --silent | --silen | --sile | --sil)
   1975       continue ;;
   1976     *\'*)
   1977       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1978     esac
   1979     case $ac_pass in
   1980     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1981     2)
   1982       as_fn_append ac_configure_args1 " '$ac_arg'"
   1983       if test $ac_must_keep_next = true; then
   1984 	ac_must_keep_next=false # Got value, back to normal.
   1985       else
   1986 	case $ac_arg in
   1987 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1988 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1989 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1990 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1991 	    case "$ac_configure_args0 " in
   1992 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1993 	    esac
   1994 	    ;;
   1995 	  -* ) ac_must_keep_next=true ;;
   1996 	esac
   1997       fi
   1998       as_fn_append ac_configure_args " '$ac_arg'"
   1999       ;;
   2000     esac
   2001   done
   2002 done
   2003 { ac_configure_args0=; unset ac_configure_args0;}
   2004 { ac_configure_args1=; unset ac_configure_args1;}
   2005 
   2006 # When interrupted or exit'd, cleanup temporary files, and complete
   2007 # config.log.  We remove comments because anyway the quotes in there
   2008 # would cause problems or look ugly.
   2009 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2010 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2011 trap 'exit_status=$?
   2012   # Sanitize IFS.
   2013   IFS=" ""	$as_nl"
   2014   # Save into config.log some information that might help in debugging.
   2015   {
   2016     echo
   2017 
   2018     printf "%s\n" "## ---------------- ##
   2019 ## Cache variables. ##
   2020 ## ---------------- ##"
   2021     echo
   2022     # The following way of writing the cache mishandles newlines in values,
   2023 (
   2024   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2025     eval ac_val=\$$ac_var
   2026     case $ac_val in #(
   2027     *${as_nl}*)
   2028       case $ac_var in #(
   2029       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2030 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2031       esac
   2032       case $ac_var in #(
   2033       _ | IFS | as_nl) ;; #(
   2034       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2035       *) { eval $ac_var=; unset $ac_var;} ;;
   2036       esac ;;
   2037     esac
   2038   done
   2039   (set) 2>&1 |
   2040     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2041     *${as_nl}ac_space=\ *)
   2042       sed -n \
   2043 	"s/'\''/'\''\\\\'\'''\''/g;
   2044 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2045       ;; #(
   2046     *)
   2047       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2048       ;;
   2049     esac |
   2050     sort
   2051 )
   2052     echo
   2053 
   2054     printf "%s\n" "## ----------------- ##
   2055 ## Output variables. ##
   2056 ## ----------------- ##"
   2057     echo
   2058     for ac_var in $ac_subst_vars
   2059     do
   2060       eval ac_val=\$$ac_var
   2061       case $ac_val in
   2062       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2063       esac
   2064       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2065     done | sort
   2066     echo
   2067 
   2068     if test -n "$ac_subst_files"; then
   2069       printf "%s\n" "## ------------------- ##
   2070 ## File substitutions. ##
   2071 ## ------------------- ##"
   2072       echo
   2073       for ac_var in $ac_subst_files
   2074       do
   2075 	eval ac_val=\$$ac_var
   2076 	case $ac_val in
   2077 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2078 	esac
   2079 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2080       done | sort
   2081       echo
   2082     fi
   2083 
   2084     if test -s confdefs.h; then
   2085       printf "%s\n" "## ----------- ##
   2086 ## confdefs.h. ##
   2087 ## ----------- ##"
   2088       echo
   2089       cat confdefs.h
   2090       echo
   2091     fi
   2092     test "$ac_signal" != 0 &&
   2093       printf "%s\n" "$as_me: caught signal $ac_signal"
   2094     printf "%s\n" "$as_me: exit $exit_status"
   2095   } >&5
   2096   rm -f core *.core core.conftest.* &&
   2097     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2098     exit $exit_status
   2099 ' 0
   2100 for ac_signal in 1 2 13 15; do
   2101   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2102 done
   2103 ac_signal=0
   2104 
   2105 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2106 rm -f -r conftest* confdefs.h
   2107 
   2108 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2109 
   2110 # Predefined preprocessor variables.
   2111 
   2112 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2113 
   2114 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2115 
   2116 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2117 
   2118 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2119 
   2120 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2121 
   2122 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2123 
   2124 
   2125 # Let the site file select an alternate cache file if it wants to.
   2126 # Prefer an explicitly selected file to automatically selected ones.
   2127 if test -n "$CONFIG_SITE"; then
   2128   ac_site_files="$CONFIG_SITE"
   2129 elif test "x$prefix" != xNONE; then
   2130   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2131 else
   2132   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2133 fi
   2134 
   2135 for ac_site_file in $ac_site_files
   2136 do
   2137   case $ac_site_file in #(
   2138   */*) :
   2139      ;; #(
   2140   *) :
   2141     ac_site_file=./$ac_site_file ;;
   2142 esac
   2143   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2144     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2145 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2146     sed 's/^/| /' "$ac_site_file" >&5
   2147     . "$ac_site_file" \
   2148       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2149 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2150 as_fn_error $? "failed to load site script $ac_site_file
   2151 See \`config.log' for more details" "$LINENO" 5; }
   2152   fi
   2153 done
   2154 
   2155 if test -r "$cache_file"; then
   2156   # Some versions of bash will fail to source /dev/null (special files
   2157   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2158   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2159     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2160 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2161     case $cache_file in
   2162       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2163       *)                      . "./$cache_file";;
   2164     esac
   2165   fi
   2166 else
   2167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2168 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2169   >$cache_file
   2170 fi
   2171 
   2172 # Test code for whether the C compiler supports C89 (global declarations)
   2173 ac_c_conftest_c89_globals='
   2174 /* Does the compiler advertise C89 conformance?
   2175    Do not test the value of __STDC__, because some compilers set it to 0
   2176    while being otherwise adequately conformant. */
   2177 #if !defined __STDC__
   2178 # error "Compiler does not advertise C89 conformance"
   2179 #endif
   2180 
   2181 #include <stddef.h>
   2182 #include <stdarg.h>
   2183 struct stat;
   2184 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2185 struct buf { int x; };
   2186 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2187 static char *e (p, i)
   2188      char **p;
   2189      int i;
   2190 {
   2191   return p[i];
   2192 }
   2193 static char *f (char * (*g) (char **, int), char **p, ...)
   2194 {
   2195   char *s;
   2196   va_list v;
   2197   va_start (v,p);
   2198   s = g (p, va_arg (v,int));
   2199   va_end (v);
   2200   return s;
   2201 }
   2202 
   2203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2204    function prototypes and stuff, but not \xHH hex character constants.
   2205    These do not provoke an error unfortunately, instead are silently treated
   2206    as an "x".  The following induces an error, until -std is added to get
   2207    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2208    array size at least.  It is necessary to write \x00 == 0 to get something
   2209    that is true only with -std.  */
   2210 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2211 
   2212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2213    inside strings and character constants.  */
   2214 #define FOO(x) '\''x'\''
   2215 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2216 
   2217 int test (int i, double x);
   2218 struct s1 {int (*f) (int a);};
   2219 struct s2 {int (*f) (double a);};
   2220 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2221                int, int);'
   2222 
   2223 # Test code for whether the C compiler supports C89 (body of main).
   2224 ac_c_conftest_c89_main='
   2225 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2226 '
   2227 
   2228 # Test code for whether the C compiler supports C99 (global declarations)
   2229 ac_c_conftest_c99_globals='
   2230 // Does the compiler advertise C99 conformance?
   2231 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2232 # error "Compiler does not advertise C99 conformance"
   2233 #endif
   2234 
   2235 #include <stdbool.h>
   2236 extern int puts (const char *);
   2237 extern int printf (const char *, ...);
   2238 extern int dprintf (int, const char *, ...);
   2239 extern void *malloc (size_t);
   2240 
   2241 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2242 // dprintf is used instead of fprintf to avoid needing to declare
   2243 // FILE and stderr.
   2244 #define debug(...) dprintf (2, __VA_ARGS__)
   2245 #define showlist(...) puts (#__VA_ARGS__)
   2246 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2247 static void
   2248 test_varargs_macros (void)
   2249 {
   2250   int x = 1234;
   2251   int y = 5678;
   2252   debug ("Flag");
   2253   debug ("X = %d\n", x);
   2254   showlist (The first, second, and third items.);
   2255   report (x>y, "x is %d but y is %d", x, y);
   2256 }
   2257 
   2258 // Check long long types.
   2259 #define BIG64 18446744073709551615ull
   2260 #define BIG32 4294967295ul
   2261 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2262 #if !BIG_OK
   2263   #error "your preprocessor is broken"
   2264 #endif
   2265 #if BIG_OK
   2266 #else
   2267   #error "your preprocessor is broken"
   2268 #endif
   2269 static long long int bignum = -9223372036854775807LL;
   2270 static unsigned long long int ubignum = BIG64;
   2271 
   2272 struct incomplete_array
   2273 {
   2274   int datasize;
   2275   double data[];
   2276 };
   2277 
   2278 struct named_init {
   2279   int number;
   2280   const wchar_t *name;
   2281   double average;
   2282 };
   2283 
   2284 typedef const char *ccp;
   2285 
   2286 static inline int
   2287 test_restrict (ccp restrict text)
   2288 {
   2289   // See if C++-style comments work.
   2290   // Iterate through items via the restricted pointer.
   2291   // Also check for declarations in for loops.
   2292   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2293     continue;
   2294   return 0;
   2295 }
   2296 
   2297 // Check varargs and va_copy.
   2298 static bool
   2299 test_varargs (const char *format, ...)
   2300 {
   2301   va_list args;
   2302   va_start (args, format);
   2303   va_list args_copy;
   2304   va_copy (args_copy, args);
   2305 
   2306   const char *str = "";
   2307   int number = 0;
   2308   float fnumber = 0;
   2309 
   2310   while (*format)
   2311     {
   2312       switch (*format++)
   2313 	{
   2314 	case '\''s'\'': // string
   2315 	  str = va_arg (args_copy, const char *);
   2316 	  break;
   2317 	case '\''d'\'': // int
   2318 	  number = va_arg (args_copy, int);
   2319 	  break;
   2320 	case '\''f'\'': // float
   2321 	  fnumber = va_arg (args_copy, double);
   2322 	  break;
   2323 	default:
   2324 	  break;
   2325 	}
   2326     }
   2327   va_end (args_copy);
   2328   va_end (args);
   2329 
   2330   return *str && number && fnumber;
   2331 }
   2332 '
   2333 
   2334 # Test code for whether the C compiler supports C99 (body of main).
   2335 ac_c_conftest_c99_main='
   2336   // Check bool.
   2337   _Bool success = false;
   2338   success |= (argc != 0);
   2339 
   2340   // Check restrict.
   2341   if (test_restrict ("String literal") == 0)
   2342     success = true;
   2343   char *restrict newvar = "Another string";
   2344 
   2345   // Check varargs.
   2346   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2347   test_varargs_macros ();
   2348 
   2349   // Check flexible array members.
   2350   struct incomplete_array *ia =
   2351     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2352   ia->datasize = 10;
   2353   for (int i = 0; i < ia->datasize; ++i)
   2354     ia->data[i] = i * 1.234;
   2355 
   2356   // Check named initializers.
   2357   struct named_init ni = {
   2358     .number = 34,
   2359     .name = L"Test wide string",
   2360     .average = 543.34343,
   2361   };
   2362 
   2363   ni.number = 58;
   2364 
   2365   int dynamic_array[ni.number];
   2366   dynamic_array[0] = argv[0][0];
   2367   dynamic_array[ni.number - 1] = 543;
   2368 
   2369   // work around unused variable warnings
   2370   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2371 	 || dynamic_array[ni.number - 1] != 543);
   2372 '
   2373 
   2374 # Test code for whether the C compiler supports C11 (global declarations)
   2375 ac_c_conftest_c11_globals='
   2376 // Does the compiler advertise C11 conformance?
   2377 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2378 # error "Compiler does not advertise C11 conformance"
   2379 #endif
   2380 
   2381 // Check _Alignas.
   2382 char _Alignas (double) aligned_as_double;
   2383 char _Alignas (0) no_special_alignment;
   2384 extern char aligned_as_int;
   2385 char _Alignas (0) _Alignas (int) aligned_as_int;
   2386 
   2387 // Check _Alignof.
   2388 enum
   2389 {
   2390   int_alignment = _Alignof (int),
   2391   int_array_alignment = _Alignof (int[100]),
   2392   char_alignment = _Alignof (char)
   2393 };
   2394 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2395 
   2396 // Check _Noreturn.
   2397 int _Noreturn does_not_return (void) { for (;;) continue; }
   2398 
   2399 // Check _Static_assert.
   2400 struct test_static_assert
   2401 {
   2402   int x;
   2403   _Static_assert (sizeof (int) <= sizeof (long int),
   2404                   "_Static_assert does not work in struct");
   2405   long int y;
   2406 };
   2407 
   2408 // Check UTF-8 literals.
   2409 #define u8 syntax error!
   2410 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2411 
   2412 // Check duplicate typedefs.
   2413 typedef long *long_ptr;
   2414 typedef long int *long_ptr;
   2415 typedef long_ptr long_ptr;
   2416 
   2417 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2418 struct anonymous
   2419 {
   2420   union {
   2421     struct { int i; int j; };
   2422     struct { int k; long int l; } w;
   2423   };
   2424   int m;
   2425 } v1;
   2426 '
   2427 
   2428 # Test code for whether the C compiler supports C11 (body of main).
   2429 ac_c_conftest_c11_main='
   2430   _Static_assert ((offsetof (struct anonymous, i)
   2431 		   == offsetof (struct anonymous, w.k)),
   2432 		  "Anonymous union alignment botch");
   2433   v1.i = 2;
   2434   v1.w.k = 5;
   2435   ok |= v1.i != 5;
   2436 '
   2437 
   2438 # Test code for whether the C compiler supports C11 (complete).
   2439 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2440 ${ac_c_conftest_c99_globals}
   2441 ${ac_c_conftest_c11_globals}
   2442 
   2443 int
   2444 main (int argc, char **argv)
   2445 {
   2446   int ok = 0;
   2447   ${ac_c_conftest_c89_main}
   2448   ${ac_c_conftest_c99_main}
   2449   ${ac_c_conftest_c11_main}
   2450   return ok;
   2451 }
   2452 "
   2453 
   2454 # Test code for whether the C compiler supports C99 (complete).
   2455 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2456 ${ac_c_conftest_c99_globals}
   2457 
   2458 int
   2459 main (int argc, char **argv)
   2460 {
   2461   int ok = 0;
   2462   ${ac_c_conftest_c89_main}
   2463   ${ac_c_conftest_c99_main}
   2464   return ok;
   2465 }
   2466 "
   2467 
   2468 # Test code for whether the C compiler supports C89 (complete).
   2469 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2470 
   2471 int
   2472 main (int argc, char **argv)
   2473 {
   2474   int ok = 0;
   2475   ${ac_c_conftest_c89_main}
   2476   return ok;
   2477 }
   2478 "
   2479 
   2480 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2481 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2482 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2483 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2484 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2485 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2486 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2487 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2488 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2489 
   2490 # Auxiliary files required by this configure script.
   2491 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2492 
   2493 # Locations in which to look for auxiliary files.
   2494 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2495 
   2496 # Search for a directory containing all of the required auxiliary files,
   2497 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2498 # If we don't find one directory that contains all the files we need,
   2499 # we report the set of missing files from the *first* directory in
   2500 # $ac_aux_dir_candidates and give up.
   2501 ac_missing_aux_files=""
   2502 ac_first_candidate=:
   2503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2505 as_found=false
   2506 for as_dir in $ac_aux_dir_candidates
   2507 do
   2508   IFS=$as_save_IFS
   2509   case $as_dir in #(((
   2510     '') as_dir=./ ;;
   2511     */) ;;
   2512     *) as_dir=$as_dir/ ;;
   2513   esac
   2514   as_found=:
   2515 
   2516   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2517   ac_aux_dir_found=yes
   2518   ac_install_sh=
   2519   for ac_aux in $ac_aux_files
   2520   do
   2521     # As a special case, if "install-sh" is required, that requirement
   2522     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2523     # and $ac_install_sh is set appropriately for whichever one is found.
   2524     if test x"$ac_aux" = x"install-sh"
   2525     then
   2526       if test -f "${as_dir}install-sh"; then
   2527         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2528         ac_install_sh="${as_dir}install-sh -c"
   2529       elif test -f "${as_dir}install.sh"; then
   2530         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2531         ac_install_sh="${as_dir}install.sh -c"
   2532       elif test -f "${as_dir}shtool"; then
   2533         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2534         ac_install_sh="${as_dir}shtool install -c"
   2535       else
   2536         ac_aux_dir_found=no
   2537         if $ac_first_candidate; then
   2538           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2539         else
   2540           break
   2541         fi
   2542       fi
   2543     else
   2544       if test -f "${as_dir}${ac_aux}"; then
   2545         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2546       else
   2547         ac_aux_dir_found=no
   2548         if $ac_first_candidate; then
   2549           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2550         else
   2551           break
   2552         fi
   2553       fi
   2554     fi
   2555   done
   2556   if test "$ac_aux_dir_found" = yes; then
   2557     ac_aux_dir="$as_dir"
   2558     break
   2559   fi
   2560   ac_first_candidate=false
   2561 
   2562   as_found=false
   2563 done
   2564 IFS=$as_save_IFS
   2565 if $as_found
   2566 then :
   2567 
   2568 else $as_nop
   2569   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2570 fi
   2571 
   2572 
   2573 # These three variables are undocumented and unsupported,
   2574 # and are intended to be withdrawn in a future Autoconf release.
   2575 # They can cause serious problems if a builder's source tree is in a directory
   2576 # whose full name contains unusual characters.
   2577 if test -f "${ac_aux_dir}config.guess"; then
   2578   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2579 fi
   2580 if test -f "${ac_aux_dir}config.sub"; then
   2581   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2582 fi
   2583 if test -f "$ac_aux_dir/configure"; then
   2584   ac_configure="$SHELL ${ac_aux_dir}configure"
   2585 fi
   2586 
   2587 # Check that the precious variables saved in the cache have kept the same
   2588 # value.
   2589 ac_cache_corrupted=false
   2590 for ac_var in $ac_precious_vars; do
   2591   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2592   eval ac_new_set=\$ac_env_${ac_var}_set
   2593   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2594   eval ac_new_val=\$ac_env_${ac_var}_value
   2595   case $ac_old_set,$ac_new_set in
   2596     set,)
   2597       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2598 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2599       ac_cache_corrupted=: ;;
   2600     ,set)
   2601       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2602 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2603       ac_cache_corrupted=: ;;
   2604     ,);;
   2605     *)
   2606       if test "x$ac_old_val" != "x$ac_new_val"; then
   2607 	# differences in whitespace do not lead to failure.
   2608 	ac_old_val_w=`echo x $ac_old_val`
   2609 	ac_new_val_w=`echo x $ac_new_val`
   2610 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2611 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2612 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2613 	  ac_cache_corrupted=:
   2614 	else
   2615 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2616 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2617 	  eval $ac_var=\$ac_old_val
   2618 	fi
   2619 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2620 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2622 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2623       fi;;
   2624   esac
   2625   # Pass precious variables to config.status.
   2626   if test "$ac_new_set" = set; then
   2627     case $ac_new_val in
   2628     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2629     *) ac_arg=$ac_var=$ac_new_val ;;
   2630     esac
   2631     case " $ac_configure_args " in
   2632       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2633       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2634     esac
   2635   fi
   2636 done
   2637 if $ac_cache_corrupted; then
   2638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2639 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2641 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2642   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2643 	    and start over" "$LINENO" 5
   2644 fi
   2645 ## -------------------- ##
   2646 ## Main body of script. ##
   2647 ## -------------------- ##
   2648 
   2649 ac_ext=c
   2650 ac_cpp='$CPP $CPPFLAGS'
   2651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2654 
   2655 
   2656 
   2657 ac_config_headers="$ac_config_headers src/config.h"
   2658 
   2659 
   2660 # Initialize Automake
   2661 am__api_version='1.16'
   2662 
   2663 
   2664 
   2665   # Find a good install program.  We prefer a C program (faster),
   2666 # so one script is as good as another.  But avoid the broken or
   2667 # incompatible versions:
   2668 # SysV /etc/install, /usr/sbin/install
   2669 # SunOS /usr/etc/install
   2670 # IRIX /sbin/install
   2671 # AIX /bin/install
   2672 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2673 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2674 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2675 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2676 # OS/2's system install, which has a completely different semantic
   2677 # ./install, which can be erroneously created by make from ./install.sh.
   2678 # Reject install programs that cannot install multiple files.
   2679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2680 printf %s "checking for a BSD-compatible install... " >&6; }
   2681 if test -z "$INSTALL"; then
   2682 if test ${ac_cv_path_install+y}
   2683 then :
   2684   printf %s "(cached) " >&6
   2685 else $as_nop
   2686   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2687 for as_dir in $PATH
   2688 do
   2689   IFS=$as_save_IFS
   2690   case $as_dir in #(((
   2691     '') as_dir=./ ;;
   2692     */) ;;
   2693     *) as_dir=$as_dir/ ;;
   2694   esac
   2695     # Account for fact that we put trailing slashes in our PATH walk.
   2696 case $as_dir in #((
   2697   ./ | /[cC]/* | \
   2698   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2699   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2700   /usr/ucb/* ) ;;
   2701   *)
   2702     # OSF1 and SCO ODT 3.0 have their own names for install.
   2703     # Don't use installbsd from OSF since it installs stuff as root
   2704     # by default.
   2705     for ac_prog in ginstall scoinst install; do
   2706       for ac_exec_ext in '' $ac_executable_extensions; do
   2707 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2708 	  if test $ac_prog = install &&
   2709 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2710 	    # AIX install.  It has an incompatible calling convention.
   2711 	    :
   2712 	  elif test $ac_prog = install &&
   2713 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2714 	    # program-specific install script used by HP pwplus--don't use.
   2715 	    :
   2716 	  else
   2717 	    rm -rf conftest.one conftest.two conftest.dir
   2718 	    echo one > conftest.one
   2719 	    echo two > conftest.two
   2720 	    mkdir conftest.dir
   2721 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2722 	      test -s conftest.one && test -s conftest.two &&
   2723 	      test -s conftest.dir/conftest.one &&
   2724 	      test -s conftest.dir/conftest.two
   2725 	    then
   2726 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2727 	      break 3
   2728 	    fi
   2729 	  fi
   2730 	fi
   2731       done
   2732     done
   2733     ;;
   2734 esac
   2735 
   2736   done
   2737 IFS=$as_save_IFS
   2738 
   2739 rm -rf conftest.one conftest.two conftest.dir
   2740 
   2741 fi
   2742   if test ${ac_cv_path_install+y}; then
   2743     INSTALL=$ac_cv_path_install
   2744   else
   2745     # As a last resort, use the slow shell script.  Don't cache a
   2746     # value for INSTALL within a source directory, because that will
   2747     # break other packages using the cache if that directory is
   2748     # removed, or if the value is a relative name.
   2749     INSTALL=$ac_install_sh
   2750   fi
   2751 fi
   2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2753 printf "%s\n" "$INSTALL" >&6; }
   2754 
   2755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2756 # It thinks the first close brace ends the variable substitution.
   2757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2758 
   2759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2760 
   2761 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2762 
   2763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2764 printf %s "checking whether build environment is sane... " >&6; }
   2765 # Reject unsafe characters in $srcdir or the absolute working directory
   2766 # name.  Accept space and tab only in the latter.
   2767 am_lf='
   2768 '
   2769 case `pwd` in
   2770   *[\\\"\#\$\&\'\`$am_lf]*)
   2771     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2772 esac
   2773 case $srcdir in
   2774   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2775     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2776 esac
   2777 
   2778 # Do 'set' in a subshell so we don't clobber the current shell's
   2779 # arguments.  Must try -L first in case configure is actually a
   2780 # symlink; some systems play weird games with the mod time of symlinks
   2781 # (eg FreeBSD returns the mod time of the symlink's containing
   2782 # directory).
   2783 if (
   2784    am_has_slept=no
   2785    for am_try in 1 2; do
   2786      echo "timestamp, slept: $am_has_slept" > conftest.file
   2787      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2788      if test "$*" = "X"; then
   2789 	# -L didn't work.
   2790 	set X `ls -t "$srcdir/configure" conftest.file`
   2791      fi
   2792      if test "$*" != "X $srcdir/configure conftest.file" \
   2793 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2794 
   2795 	# If neither matched, then we have a broken ls.  This can happen
   2796 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2797 	# broken ls alias from the environment.  This has actually
   2798 	# happened.  Such a system could not be considered "sane".
   2799 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2800   alias in your environment" "$LINENO" 5
   2801      fi
   2802      if test "$2" = conftest.file || test $am_try -eq 2; then
   2803        break
   2804      fi
   2805      # Just in case.
   2806      sleep 1
   2807      am_has_slept=yes
   2808    done
   2809    test "$2" = conftest.file
   2810    )
   2811 then
   2812    # Ok.
   2813    :
   2814 else
   2815    as_fn_error $? "newly created file is older than distributed files!
   2816 Check your system clock" "$LINENO" 5
   2817 fi
   2818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2819 printf "%s\n" "yes" >&6; }
   2820 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2821 # generated files are strictly newer.
   2822 am_sleep_pid=
   2823 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2824   ( sleep 1 ) &
   2825   am_sleep_pid=$!
   2826 fi
   2827 
   2828 rm -f conftest.file
   2829 
   2830 test "$program_prefix" != NONE &&
   2831   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2832 # Use a double $ so make ignores it.
   2833 test "$program_suffix" != NONE &&
   2834   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2835 # Double any \ or $.
   2836 # By default was `s,x,x', remove it if useless.
   2837 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2838 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2839 
   2840 
   2841 # Expand $ac_aux_dir to an absolute path.
   2842 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2843 
   2844 
   2845   if test x"${MISSING+set}" != xset; then
   2846   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2847 fi
   2848 # Use eval to expand $SHELL
   2849 if eval "$MISSING --is-lightweight"; then
   2850   am_missing_run="$MISSING "
   2851 else
   2852   am_missing_run=
   2853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2854 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2855 fi
   2856 
   2857 if test x"${install_sh+set}" != xset; then
   2858   case $am_aux_dir in
   2859   *\ * | *\	*)
   2860     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2861   *)
   2862     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2863   esac
   2864 fi
   2865 
   2866 # Installed binaries are usually stripped using 'strip' when the user
   2867 # run "make install-strip".  However 'strip' might not be the right
   2868 # tool to use in cross-compilation environments, therefore Automake
   2869 # will honor the 'STRIP' environment variable to overrule this program.
   2870 if test "$cross_compiling" != no; then
   2871   if test -n "$ac_tool_prefix"; then
   2872   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2873 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2875 printf %s "checking for $ac_word... " >&6; }
   2876 if test ${ac_cv_prog_STRIP+y}
   2877 then :
   2878   printf %s "(cached) " >&6
   2879 else $as_nop
   2880   if test -n "$STRIP"; then
   2881   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2882 else
   2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2884 for as_dir in $PATH
   2885 do
   2886   IFS=$as_save_IFS
   2887   case $as_dir in #(((
   2888     '') as_dir=./ ;;
   2889     */) ;;
   2890     *) as_dir=$as_dir/ ;;
   2891   esac
   2892     for ac_exec_ext in '' $ac_executable_extensions; do
   2893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2894     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2896     break 2
   2897   fi
   2898 done
   2899   done
   2900 IFS=$as_save_IFS
   2901 
   2902 fi
   2903 fi
   2904 STRIP=$ac_cv_prog_STRIP
   2905 if test -n "$STRIP"; then
   2906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2907 printf "%s\n" "$STRIP" >&6; }
   2908 else
   2909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2910 printf "%s\n" "no" >&6; }
   2911 fi
   2912 
   2913 
   2914 fi
   2915 if test -z "$ac_cv_prog_STRIP"; then
   2916   ac_ct_STRIP=$STRIP
   2917   # Extract the first word of "strip", so it can be a program name with args.
   2918 set dummy strip; ac_word=$2
   2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2920 printf %s "checking for $ac_word... " >&6; }
   2921 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2922 then :
   2923   printf %s "(cached) " >&6
   2924 else $as_nop
   2925   if test -n "$ac_ct_STRIP"; then
   2926   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2927 else
   2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2929 for as_dir in $PATH
   2930 do
   2931   IFS=$as_save_IFS
   2932   case $as_dir in #(((
   2933     '') as_dir=./ ;;
   2934     */) ;;
   2935     *) as_dir=$as_dir/ ;;
   2936   esac
   2937     for ac_exec_ext in '' $ac_executable_extensions; do
   2938   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2939     ac_cv_prog_ac_ct_STRIP="strip"
   2940     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2941     break 2
   2942   fi
   2943 done
   2944   done
   2945 IFS=$as_save_IFS
   2946 
   2947 fi
   2948 fi
   2949 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2950 if test -n "$ac_ct_STRIP"; then
   2951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2952 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2953 else
   2954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2955 printf "%s\n" "no" >&6; }
   2956 fi
   2957 
   2958   if test "x$ac_ct_STRIP" = x; then
   2959     STRIP=":"
   2960   else
   2961     case $cross_compiling:$ac_tool_warned in
   2962 yes:)
   2963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2964 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2965 ac_tool_warned=yes ;;
   2966 esac
   2967     STRIP=$ac_ct_STRIP
   2968   fi
   2969 else
   2970   STRIP="$ac_cv_prog_STRIP"
   2971 fi
   2972 
   2973 fi
   2974 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2975 
   2976 
   2977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2978 printf %s "checking for a race-free mkdir -p... " >&6; }
   2979 if test -z "$MKDIR_P"; then
   2980   if test ${ac_cv_path_mkdir+y}
   2981 then :
   2982   printf %s "(cached) " >&6
   2983 else $as_nop
   2984   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2985 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2986 do
   2987   IFS=$as_save_IFS
   2988   case $as_dir in #(((
   2989     '') as_dir=./ ;;
   2990     */) ;;
   2991     *) as_dir=$as_dir/ ;;
   2992   esac
   2993     for ac_prog in mkdir gmkdir; do
   2994 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2995 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2996 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2997 	     'mkdir ('*'coreutils) '* | \
   2998 	     'BusyBox '* | \
   2999 	     'mkdir (fileutils) '4.1*)
   3000 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3001 	       break 3;;
   3002 	   esac
   3003 	 done
   3004        done
   3005   done
   3006 IFS=$as_save_IFS
   3007 
   3008 fi
   3009 
   3010   test -d ./--version && rmdir ./--version
   3011   if test ${ac_cv_path_mkdir+y}; then
   3012     MKDIR_P="$ac_cv_path_mkdir -p"
   3013   else
   3014     # As a last resort, use the slow shell script.  Don't cache a
   3015     # value for MKDIR_P within a source directory, because that will
   3016     # break other packages using the cache if that directory is
   3017     # removed, or if the value is a relative name.
   3018     MKDIR_P="$ac_install_sh -d"
   3019   fi
   3020 fi
   3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3022 printf "%s\n" "$MKDIR_P" >&6; }
   3023 
   3024 for ac_prog in gawk mawk nawk awk
   3025 do
   3026   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3027 set dummy $ac_prog; ac_word=$2
   3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3029 printf %s "checking for $ac_word... " >&6; }
   3030 if test ${ac_cv_prog_AWK+y}
   3031 then :
   3032   printf %s "(cached) " >&6
   3033 else $as_nop
   3034   if test -n "$AWK"; then
   3035   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3036 else
   3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3038 for as_dir in $PATH
   3039 do
   3040   IFS=$as_save_IFS
   3041   case $as_dir in #(((
   3042     '') as_dir=./ ;;
   3043     */) ;;
   3044     *) as_dir=$as_dir/ ;;
   3045   esac
   3046     for ac_exec_ext in '' $ac_executable_extensions; do
   3047   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3048     ac_cv_prog_AWK="$ac_prog"
   3049     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3050     break 2
   3051   fi
   3052 done
   3053   done
   3054 IFS=$as_save_IFS
   3055 
   3056 fi
   3057 fi
   3058 AWK=$ac_cv_prog_AWK
   3059 if test -n "$AWK"; then
   3060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3061 printf "%s\n" "$AWK" >&6; }
   3062 else
   3063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3064 printf "%s\n" "no" >&6; }
   3065 fi
   3066 
   3067 
   3068   test -n "$AWK" && break
   3069 done
   3070 
   3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3072 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3073 set x ${MAKE-make}
   3074 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3075 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3076 then :
   3077   printf %s "(cached) " >&6
   3078 else $as_nop
   3079   cat >conftest.make <<\_ACEOF
   3080 SHELL = /bin/sh
   3081 all:
   3082 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3083 _ACEOF
   3084 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3085 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3086   *@@@%%%=?*=@@@%%%*)
   3087     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3088   *)
   3089     eval ac_cv_prog_make_${ac_make}_set=no;;
   3090 esac
   3091 rm -f conftest.make
   3092 fi
   3093 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3095 printf "%s\n" "yes" >&6; }
   3096   SET_MAKE=
   3097 else
   3098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3099 printf "%s\n" "no" >&6; }
   3100   SET_MAKE="MAKE=${MAKE-make}"
   3101 fi
   3102 
   3103 rm -rf .tst 2>/dev/null
   3104 mkdir .tst 2>/dev/null
   3105 if test -d .tst; then
   3106   am__leading_dot=.
   3107 else
   3108   am__leading_dot=_
   3109 fi
   3110 rmdir .tst 2>/dev/null
   3111 
   3112 # Check whether --enable-silent-rules was given.
   3113 if test ${enable_silent_rules+y}
   3114 then :
   3115   enableval=$enable_silent_rules;
   3116 fi
   3117 
   3118 case $enable_silent_rules in # (((
   3119   yes) AM_DEFAULT_VERBOSITY=0;;
   3120    no) AM_DEFAULT_VERBOSITY=1;;
   3121     *) AM_DEFAULT_VERBOSITY=1;;
   3122 esac
   3123 am_make=${MAKE-make}
   3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3125 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3126 if test ${am_cv_make_support_nested_variables+y}
   3127 then :
   3128   printf %s "(cached) " >&6
   3129 else $as_nop
   3130   if printf "%s\n" 'TRUE=$(BAR$(V))
   3131 BAR0=false
   3132 BAR1=true
   3133 V=1
   3134 am__doit:
   3135 	@$(TRUE)
   3136 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3137   am_cv_make_support_nested_variables=yes
   3138 else
   3139   am_cv_make_support_nested_variables=no
   3140 fi
   3141 fi
   3142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3143 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3144 if test $am_cv_make_support_nested_variables = yes; then
   3145     AM_V='$(V)'
   3146   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3147 else
   3148   AM_V=$AM_DEFAULT_VERBOSITY
   3149   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3150 fi
   3151 AM_BACKSLASH='\'
   3152 
   3153 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3154   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3155   # is not polluted with repeated "-I."
   3156   am__isrc=' -I$(srcdir)'
   3157   # test to see if srcdir already configured
   3158   if test -f $srcdir/config.status; then
   3159     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3160   fi
   3161 fi
   3162 
   3163 # test whether we have cygpath
   3164 if test -z "$CYGPATH_W"; then
   3165   if (cygpath --version) >/dev/null 2>/dev/null; then
   3166     CYGPATH_W='cygpath -w'
   3167   else
   3168     CYGPATH_W=echo
   3169   fi
   3170 fi
   3171 
   3172 
   3173 # Define the identity of the package.
   3174  PACKAGE='libXxf86vm'
   3175  VERSION='1.1.5'
   3176 
   3177 
   3178 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3179 
   3180 
   3181 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3182 
   3183 # Some tools Automake needs.
   3184 
   3185 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3186 
   3187 
   3188 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3189 
   3190 
   3191 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3192 
   3193 
   3194 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3195 
   3196 
   3197 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3198 
   3199 # For better backward compatibility.  To be removed once Automake 1.9.x
   3200 # dies out for good.  For more background, see:
   3201 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3202 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3203 mkdir_p='$(MKDIR_P)'
   3204 
   3205 # We need awk for the "check" target (and possibly the TAP driver).  The
   3206 # system "awk" is bad on some platforms.
   3207 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3208 # in the wild :-(  We should find a proper way to deprecate it ...
   3209 AMTAR='$${TAR-tar}'
   3210 
   3211 
   3212 # We'll loop over all known methods to create a tar archive until one works.
   3213 _am_tools='gnutar  pax cpio none'
   3214 
   3215 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3216 
   3217 
   3218 
   3219 
   3220 
   3221 # Variables for tags utilities; see am/tags.am
   3222 if test -z "$CTAGS"; then
   3223   CTAGS=ctags
   3224 fi
   3225 
   3226 if test -z "$ETAGS"; then
   3227   ETAGS=etags
   3228 fi
   3229 
   3230 if test -z "$CSCOPE"; then
   3231   CSCOPE=cscope
   3232 fi
   3233 
   3234 
   3235 
   3236 # POSIX will say in a future version that running "rm -f" with no argument
   3237 # is OK; and we want to be able to make that assumption in our Makefile
   3238 # recipes.  So use an aggressive probe to check that the usage we want is
   3239 # actually supported "in the wild" to an acceptable degree.
   3240 # See automake bug#10828.
   3241 # To make any issue more visible, cause the running configure to be aborted
   3242 # by default if the 'rm' program in use doesn't match our expectations; the
   3243 # user can still override this though.
   3244 if rm -f && rm -fr && rm -rf; then : OK; else
   3245   cat >&2 <<'END'
   3246 Oops!
   3247 
   3248 Your 'rm' program seems unable to run without file operands specified
   3249 on the command line, even when the '-f' option is present.  This is contrary
   3250 to the behaviour of most rm programs out there, and not conforming with
   3251 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3252 
   3253 Please tell bug-automake@gnu.org about your system, including the value
   3254 of your $PATH and any error possibly output before this message.  This
   3255 can help us improve future automake versions.
   3256 
   3257 END
   3258   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3259     echo 'Configuration will proceed anyway, since you have set the' >&2
   3260     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3261     echo >&2
   3262   else
   3263     cat >&2 <<'END'
   3264 Aborting the configuration process, to ensure you take notice of the issue.
   3265 
   3266 You can download and install GNU coreutils to get an 'rm' implementation
   3267 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3268 
   3269 If you want to complete the configuration process using your problematic
   3270 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3271 to "yes", and re-run configure.
   3272 
   3273 END
   3274     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3275   fi
   3276 fi
   3277 
   3278 
   3279 # Initialize libtool
   3280 case `pwd` in
   3281   *\ * | *\	*)
   3282     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3283 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3284 esac
   3285 
   3286 
   3287 
   3288 macro_version='2.4.7'
   3289 macro_revision='2.4.7'
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 ltmain=$ac_aux_dir/ltmain.sh
   3305 
   3306 
   3307 
   3308   # Make sure we can run config.sub.
   3309 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3310   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3311 
   3312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3313 printf %s "checking build system type... " >&6; }
   3314 if test ${ac_cv_build+y}
   3315 then :
   3316   printf %s "(cached) " >&6
   3317 else $as_nop
   3318   ac_build_alias=$build_alias
   3319 test "x$ac_build_alias" = x &&
   3320   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3321 test "x$ac_build_alias" = x &&
   3322   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3323 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3324   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3325 
   3326 fi
   3327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3328 printf "%s\n" "$ac_cv_build" >&6; }
   3329 case $ac_cv_build in
   3330 *-*-*) ;;
   3331 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3332 esac
   3333 build=$ac_cv_build
   3334 ac_save_IFS=$IFS; IFS='-'
   3335 set x $ac_cv_build
   3336 shift
   3337 build_cpu=$1
   3338 build_vendor=$2
   3339 shift; shift
   3340 # Remember, the first character of IFS is used to create $*,
   3341 # except with old shells:
   3342 build_os=$*
   3343 IFS=$ac_save_IFS
   3344 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3345 
   3346 
   3347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3348 printf %s "checking host system type... " >&6; }
   3349 if test ${ac_cv_host+y}
   3350 then :
   3351   printf %s "(cached) " >&6
   3352 else $as_nop
   3353   if test "x$host_alias" = x; then
   3354   ac_cv_host=$ac_cv_build
   3355 else
   3356   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3357     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3358 fi
   3359 
   3360 fi
   3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3362 printf "%s\n" "$ac_cv_host" >&6; }
   3363 case $ac_cv_host in
   3364 *-*-*) ;;
   3365 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3366 esac
   3367 host=$ac_cv_host
   3368 ac_save_IFS=$IFS; IFS='-'
   3369 set x $ac_cv_host
   3370 shift
   3371 host_cpu=$1
   3372 host_vendor=$2
   3373 shift; shift
   3374 # Remember, the first character of IFS is used to create $*,
   3375 # except with old shells:
   3376 host_os=$*
   3377 IFS=$ac_save_IFS
   3378 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3379 
   3380 
   3381 # Backslashify metacharacters that are still active within
   3382 # double-quoted strings.
   3383 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3384 
   3385 # Same as above, but do not quote variable references.
   3386 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3387 
   3388 # Sed substitution to delay expansion of an escaped shell variable in a
   3389 # double_quote_subst'ed string.
   3390 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3391 
   3392 # Sed substitution to delay expansion of an escaped single quote.
   3393 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3394 
   3395 # Sed substitution to avoid accidental globbing in evaled expressions
   3396 no_glob_subst='s/\*/\\\*/g'
   3397 
   3398 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3399 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3400 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3401 
   3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3403 printf %s "checking how to print strings... " >&6; }
   3404 # Test print first, because it will be a builtin if present.
   3405 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3406    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3407   ECHO='print -r --'
   3408 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3409   ECHO='printf %s\n'
   3410 else
   3411   # Use this function as a fallback that always works.
   3412   func_fallback_echo ()
   3413   {
   3414     eval 'cat <<_LTECHO_EOF
   3415 $1
   3416 _LTECHO_EOF'
   3417   }
   3418   ECHO='func_fallback_echo'
   3419 fi
   3420 
   3421 # func_echo_all arg...
   3422 # Invoke $ECHO with all args, space-separated.
   3423 func_echo_all ()
   3424 {
   3425     $ECHO ""
   3426 }
   3427 
   3428 case $ECHO in
   3429   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3430 printf "%s\n" "printf" >&6; } ;;
   3431   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3432 printf "%s\n" "print -r" >&6; } ;;
   3433   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3434 printf "%s\n" "cat" >&6; } ;;
   3435 esac
   3436 
   3437 
   3438 
   3439 
   3440 
   3441 
   3442 
   3443 
   3444 
   3445 
   3446 
   3447 
   3448 
   3449 
   3450 
   3451 
   3452 
   3453 
   3454 
   3455 
   3456 
   3457 
   3458 
   3459 DEPDIR="${am__leading_dot}deps"
   3460 
   3461 ac_config_commands="$ac_config_commands depfiles"
   3462 
   3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3464 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3465 cat > confinc.mk << 'END'
   3466 am__doit:
   3467 	@echo this is the am__doit target >confinc.out
   3468 .PHONY: am__doit
   3469 END
   3470 am__include="#"
   3471 am__quote=
   3472 # BSD make does it like this.
   3473 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3474 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3475 echo 'include confinc.mk # ignored' > confmf.GNU
   3476 _am_result=no
   3477 for s in GNU BSD; do
   3478   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3479    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3480    ac_status=$?
   3481    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3482    (exit $ac_status); }
   3483   case $?:`cat confinc.out 2>/dev/null` in #(
   3484   '0:this is the am__doit target') :
   3485     case $s in #(
   3486   BSD) :
   3487     am__include='.include' am__quote='"' ;; #(
   3488   *) :
   3489     am__include='include' am__quote='' ;;
   3490 esac ;; #(
   3491   *) :
   3492      ;;
   3493 esac
   3494   if test "$am__include" != "#"; then
   3495     _am_result="yes ($s style)"
   3496     break
   3497   fi
   3498 done
   3499 rm -f confinc.* confmf.*
   3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3501 printf "%s\n" "${_am_result}" >&6; }
   3502 
   3503 # Check whether --enable-dependency-tracking was given.
   3504 if test ${enable_dependency_tracking+y}
   3505 then :
   3506   enableval=$enable_dependency_tracking;
   3507 fi
   3508 
   3509 if test "x$enable_dependency_tracking" != xno; then
   3510   am_depcomp="$ac_aux_dir/depcomp"
   3511   AMDEPBACKSLASH='\'
   3512   am__nodep='_no'
   3513 fi
   3514  if test "x$enable_dependency_tracking" != xno; then
   3515   AMDEP_TRUE=
   3516   AMDEP_FALSE='#'
   3517 else
   3518   AMDEP_TRUE='#'
   3519   AMDEP_FALSE=
   3520 fi
   3521 
   3522 
   3523 ac_ext=c
   3524 ac_cpp='$CPP $CPPFLAGS'
   3525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3528 if test -n "$ac_tool_prefix"; then
   3529   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3532 printf %s "checking for $ac_word... " >&6; }
   3533 if test ${ac_cv_prog_CC+y}
   3534 then :
   3535   printf %s "(cached) " >&6
   3536 else $as_nop
   3537   if test -n "$CC"; then
   3538   ac_cv_prog_CC="$CC" # Let the user override the test.
   3539 else
   3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3541 for as_dir in $PATH
   3542 do
   3543   IFS=$as_save_IFS
   3544   case $as_dir in #(((
   3545     '') as_dir=./ ;;
   3546     */) ;;
   3547     *) as_dir=$as_dir/ ;;
   3548   esac
   3549     for ac_exec_ext in '' $ac_executable_extensions; do
   3550   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3551     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3552     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3553     break 2
   3554   fi
   3555 done
   3556   done
   3557 IFS=$as_save_IFS
   3558 
   3559 fi
   3560 fi
   3561 CC=$ac_cv_prog_CC
   3562 if test -n "$CC"; then
   3563   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3564 printf "%s\n" "$CC" >&6; }
   3565 else
   3566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3567 printf "%s\n" "no" >&6; }
   3568 fi
   3569 
   3570 
   3571 fi
   3572 if test -z "$ac_cv_prog_CC"; then
   3573   ac_ct_CC=$CC
   3574   # Extract the first word of "gcc", so it can be a program name with args.
   3575 set dummy gcc; ac_word=$2
   3576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3577 printf %s "checking for $ac_word... " >&6; }
   3578 if test ${ac_cv_prog_ac_ct_CC+y}
   3579 then :
   3580   printf %s "(cached) " >&6
   3581 else $as_nop
   3582   if test -n "$ac_ct_CC"; then
   3583   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3584 else
   3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3586 for as_dir in $PATH
   3587 do
   3588   IFS=$as_save_IFS
   3589   case $as_dir in #(((
   3590     '') as_dir=./ ;;
   3591     */) ;;
   3592     *) as_dir=$as_dir/ ;;
   3593   esac
   3594     for ac_exec_ext in '' $ac_executable_extensions; do
   3595   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3596     ac_cv_prog_ac_ct_CC="gcc"
   3597     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3598     break 2
   3599   fi
   3600 done
   3601   done
   3602 IFS=$as_save_IFS
   3603 
   3604 fi
   3605 fi
   3606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3607 if test -n "$ac_ct_CC"; then
   3608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3609 printf "%s\n" "$ac_ct_CC" >&6; }
   3610 else
   3611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3612 printf "%s\n" "no" >&6; }
   3613 fi
   3614 
   3615   if test "x$ac_ct_CC" = x; then
   3616     CC=""
   3617   else
   3618     case $cross_compiling:$ac_tool_warned in
   3619 yes:)
   3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3621 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3622 ac_tool_warned=yes ;;
   3623 esac
   3624     CC=$ac_ct_CC
   3625   fi
   3626 else
   3627   CC="$ac_cv_prog_CC"
   3628 fi
   3629 
   3630 if test -z "$CC"; then
   3631           if test -n "$ac_tool_prefix"; then
   3632     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3633 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3635 printf %s "checking for $ac_word... " >&6; }
   3636 if test ${ac_cv_prog_CC+y}
   3637 then :
   3638   printf %s "(cached) " >&6
   3639 else $as_nop
   3640   if test -n "$CC"; then
   3641   ac_cv_prog_CC="$CC" # Let the user override the test.
   3642 else
   3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3644 for as_dir in $PATH
   3645 do
   3646   IFS=$as_save_IFS
   3647   case $as_dir in #(((
   3648     '') as_dir=./ ;;
   3649     */) ;;
   3650     *) as_dir=$as_dir/ ;;
   3651   esac
   3652     for ac_exec_ext in '' $ac_executable_extensions; do
   3653   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3654     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3655     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3656     break 2
   3657   fi
   3658 done
   3659   done
   3660 IFS=$as_save_IFS
   3661 
   3662 fi
   3663 fi
   3664 CC=$ac_cv_prog_CC
   3665 if test -n "$CC"; then
   3666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3667 printf "%s\n" "$CC" >&6; }
   3668 else
   3669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3670 printf "%s\n" "no" >&6; }
   3671 fi
   3672 
   3673 
   3674   fi
   3675 fi
   3676 if test -z "$CC"; then
   3677   # Extract the first word of "cc", so it can be a program name with args.
   3678 set dummy cc; ac_word=$2
   3679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3680 printf %s "checking for $ac_word... " >&6; }
   3681 if test ${ac_cv_prog_CC+y}
   3682 then :
   3683   printf %s "(cached) " >&6
   3684 else $as_nop
   3685   if test -n "$CC"; then
   3686   ac_cv_prog_CC="$CC" # Let the user override the test.
   3687 else
   3688   ac_prog_rejected=no
   3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3690 for as_dir in $PATH
   3691 do
   3692   IFS=$as_save_IFS
   3693   case $as_dir in #(((
   3694     '') as_dir=./ ;;
   3695     */) ;;
   3696     *) as_dir=$as_dir/ ;;
   3697   esac
   3698     for ac_exec_ext in '' $ac_executable_extensions; do
   3699   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3700     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3701        ac_prog_rejected=yes
   3702        continue
   3703      fi
   3704     ac_cv_prog_CC="cc"
   3705     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3706     break 2
   3707   fi
   3708 done
   3709   done
   3710 IFS=$as_save_IFS
   3711 
   3712 if test $ac_prog_rejected = yes; then
   3713   # We found a bogon in the path, so make sure we never use it.
   3714   set dummy $ac_cv_prog_CC
   3715   shift
   3716   if test $# != 0; then
   3717     # We chose a different compiler from the bogus one.
   3718     # However, it has the same basename, so the bogon will be chosen
   3719     # first if we set CC to just the basename; use the full file name.
   3720     shift
   3721     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3722   fi
   3723 fi
   3724 fi
   3725 fi
   3726 CC=$ac_cv_prog_CC
   3727 if test -n "$CC"; then
   3728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3729 printf "%s\n" "$CC" >&6; }
   3730 else
   3731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3732 printf "%s\n" "no" >&6; }
   3733 fi
   3734 
   3735 
   3736 fi
   3737 if test -z "$CC"; then
   3738   if test -n "$ac_tool_prefix"; then
   3739   for ac_prog in cl.exe
   3740   do
   3741     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3742 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3744 printf %s "checking for $ac_word... " >&6; }
   3745 if test ${ac_cv_prog_CC+y}
   3746 then :
   3747   printf %s "(cached) " >&6
   3748 else $as_nop
   3749   if test -n "$CC"; then
   3750   ac_cv_prog_CC="$CC" # Let the user override the test.
   3751 else
   3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3753 for as_dir in $PATH
   3754 do
   3755   IFS=$as_save_IFS
   3756   case $as_dir in #(((
   3757     '') as_dir=./ ;;
   3758     */) ;;
   3759     *) as_dir=$as_dir/ ;;
   3760   esac
   3761     for ac_exec_ext in '' $ac_executable_extensions; do
   3762   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3763     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3764     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3765     break 2
   3766   fi
   3767 done
   3768   done
   3769 IFS=$as_save_IFS
   3770 
   3771 fi
   3772 fi
   3773 CC=$ac_cv_prog_CC
   3774 if test -n "$CC"; then
   3775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3776 printf "%s\n" "$CC" >&6; }
   3777 else
   3778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3779 printf "%s\n" "no" >&6; }
   3780 fi
   3781 
   3782 
   3783     test -n "$CC" && break
   3784   done
   3785 fi
   3786 if test -z "$CC"; then
   3787   ac_ct_CC=$CC
   3788   for ac_prog in cl.exe
   3789 do
   3790   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3791 set dummy $ac_prog; ac_word=$2
   3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3793 printf %s "checking for $ac_word... " >&6; }
   3794 if test ${ac_cv_prog_ac_ct_CC+y}
   3795 then :
   3796   printf %s "(cached) " >&6
   3797 else $as_nop
   3798   if test -n "$ac_ct_CC"; then
   3799   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3800 else
   3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3802 for as_dir in $PATH
   3803 do
   3804   IFS=$as_save_IFS
   3805   case $as_dir in #(((
   3806     '') as_dir=./ ;;
   3807     */) ;;
   3808     *) as_dir=$as_dir/ ;;
   3809   esac
   3810     for ac_exec_ext in '' $ac_executable_extensions; do
   3811   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3812     ac_cv_prog_ac_ct_CC="$ac_prog"
   3813     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3814     break 2
   3815   fi
   3816 done
   3817   done
   3818 IFS=$as_save_IFS
   3819 
   3820 fi
   3821 fi
   3822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3823 if test -n "$ac_ct_CC"; then
   3824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3825 printf "%s\n" "$ac_ct_CC" >&6; }
   3826 else
   3827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3828 printf "%s\n" "no" >&6; }
   3829 fi
   3830 
   3831 
   3832   test -n "$ac_ct_CC" && break
   3833 done
   3834 
   3835   if test "x$ac_ct_CC" = x; then
   3836     CC=""
   3837   else
   3838     case $cross_compiling:$ac_tool_warned in
   3839 yes:)
   3840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3841 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3842 ac_tool_warned=yes ;;
   3843 esac
   3844     CC=$ac_ct_CC
   3845   fi
   3846 fi
   3847 
   3848 fi
   3849 if test -z "$CC"; then
   3850   if test -n "$ac_tool_prefix"; then
   3851   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3852 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3854 printf %s "checking for $ac_word... " >&6; }
   3855 if test ${ac_cv_prog_CC+y}
   3856 then :
   3857   printf %s "(cached) " >&6
   3858 else $as_nop
   3859   if test -n "$CC"; then
   3860   ac_cv_prog_CC="$CC" # Let the user override the test.
   3861 else
   3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3863 for as_dir in $PATH
   3864 do
   3865   IFS=$as_save_IFS
   3866   case $as_dir in #(((
   3867     '') as_dir=./ ;;
   3868     */) ;;
   3869     *) as_dir=$as_dir/ ;;
   3870   esac
   3871     for ac_exec_ext in '' $ac_executable_extensions; do
   3872   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3873     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3874     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3875     break 2
   3876   fi
   3877 done
   3878   done
   3879 IFS=$as_save_IFS
   3880 
   3881 fi
   3882 fi
   3883 CC=$ac_cv_prog_CC
   3884 if test -n "$CC"; then
   3885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3886 printf "%s\n" "$CC" >&6; }
   3887 else
   3888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3889 printf "%s\n" "no" >&6; }
   3890 fi
   3891 
   3892 
   3893 fi
   3894 if test -z "$ac_cv_prog_CC"; then
   3895   ac_ct_CC=$CC
   3896   # Extract the first word of "clang", so it can be a program name with args.
   3897 set dummy clang; ac_word=$2
   3898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3899 printf %s "checking for $ac_word... " >&6; }
   3900 if test ${ac_cv_prog_ac_ct_CC+y}
   3901 then :
   3902   printf %s "(cached) " >&6
   3903 else $as_nop
   3904   if test -n "$ac_ct_CC"; then
   3905   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3906 else
   3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3908 for as_dir in $PATH
   3909 do
   3910   IFS=$as_save_IFS
   3911   case $as_dir in #(((
   3912     '') as_dir=./ ;;
   3913     */) ;;
   3914     *) as_dir=$as_dir/ ;;
   3915   esac
   3916     for ac_exec_ext in '' $ac_executable_extensions; do
   3917   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3918     ac_cv_prog_ac_ct_CC="clang"
   3919     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3920     break 2
   3921   fi
   3922 done
   3923   done
   3924 IFS=$as_save_IFS
   3925 
   3926 fi
   3927 fi
   3928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3929 if test -n "$ac_ct_CC"; then
   3930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3931 printf "%s\n" "$ac_ct_CC" >&6; }
   3932 else
   3933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3934 printf "%s\n" "no" >&6; }
   3935 fi
   3936 
   3937   if test "x$ac_ct_CC" = x; then
   3938     CC=""
   3939   else
   3940     case $cross_compiling:$ac_tool_warned in
   3941 yes:)
   3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3943 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3944 ac_tool_warned=yes ;;
   3945 esac
   3946     CC=$ac_ct_CC
   3947   fi
   3948 else
   3949   CC="$ac_cv_prog_CC"
   3950 fi
   3951 
   3952 fi
   3953 
   3954 
   3955 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3956 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3957 as_fn_error $? "no acceptable C compiler found in \$PATH
   3958 See \`config.log' for more details" "$LINENO" 5; }
   3959 
   3960 # Provide some information about the compiler.
   3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3962 set X $ac_compile
   3963 ac_compiler=$2
   3964 for ac_option in --version -v -V -qversion -version; do
   3965   { { ac_try="$ac_compiler $ac_option >&5"
   3966 case "(($ac_try" in
   3967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3968   *) ac_try_echo=$ac_try;;
   3969 esac
   3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3971 printf "%s\n" "$ac_try_echo"; } >&5
   3972   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3973   ac_status=$?
   3974   if test -s conftest.err; then
   3975     sed '10a\
   3976 ... rest of stderr output deleted ...
   3977          10q' conftest.err >conftest.er1
   3978     cat conftest.er1 >&5
   3979   fi
   3980   rm -f conftest.er1 conftest.err
   3981   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3982   test $ac_status = 0; }
   3983 done
   3984 
   3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3986 /* end confdefs.h.  */
   3987 
   3988 int
   3989 main (void)
   3990 {
   3991 
   3992   ;
   3993   return 0;
   3994 }
   3995 _ACEOF
   3996 ac_clean_files_save=$ac_clean_files
   3997 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3998 # Try to create an executable without -o first, disregard a.out.
   3999 # It will help us diagnose broken compilers, and finding out an intuition
   4000 # of exeext.
   4001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4002 printf %s "checking whether the C compiler works... " >&6; }
   4003 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4004 
   4005 # The possible output files:
   4006 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4007 
   4008 ac_rmfiles=
   4009 for ac_file in $ac_files
   4010 do
   4011   case $ac_file in
   4012     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4013     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4014   esac
   4015 done
   4016 rm -f $ac_rmfiles
   4017 
   4018 if { { ac_try="$ac_link_default"
   4019 case "(($ac_try" in
   4020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4021   *) ac_try_echo=$ac_try;;
   4022 esac
   4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4024 printf "%s\n" "$ac_try_echo"; } >&5
   4025   (eval "$ac_link_default") 2>&5
   4026   ac_status=$?
   4027   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4028   test $ac_status = 0; }
   4029 then :
   4030   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4031 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4032 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4033 # so that the user can short-circuit this test for compilers unknown to
   4034 # Autoconf.
   4035 for ac_file in $ac_files ''
   4036 do
   4037   test -f "$ac_file" || continue
   4038   case $ac_file in
   4039     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4040 	;;
   4041     [ab].out )
   4042 	# We found the default executable, but exeext='' is most
   4043 	# certainly right.
   4044 	break;;
   4045     *.* )
   4046 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4047 	then :; else
   4048 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4049 	fi
   4050 	# We set ac_cv_exeext here because the later test for it is not
   4051 	# safe: cross compilers may not add the suffix if given an `-o'
   4052 	# argument, so we may need to know it at that point already.
   4053 	# Even if this section looks crufty: it has the advantage of
   4054 	# actually working.
   4055 	break;;
   4056     * )
   4057 	break;;
   4058   esac
   4059 done
   4060 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4061 
   4062 else $as_nop
   4063   ac_file=''
   4064 fi
   4065 if test -z "$ac_file"
   4066 then :
   4067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4068 printf "%s\n" "no" >&6; }
   4069 printf "%s\n" "$as_me: failed program was:" >&5
   4070 sed 's/^/| /' conftest.$ac_ext >&5
   4071 
   4072 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4073 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4074 as_fn_error 77 "C compiler cannot create executables
   4075 See \`config.log' for more details" "$LINENO" 5; }
   4076 else $as_nop
   4077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4078 printf "%s\n" "yes" >&6; }
   4079 fi
   4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4081 printf %s "checking for C compiler default output file name... " >&6; }
   4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4083 printf "%s\n" "$ac_file" >&6; }
   4084 ac_exeext=$ac_cv_exeext
   4085 
   4086 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4087 ac_clean_files=$ac_clean_files_save
   4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4089 printf %s "checking for suffix of executables... " >&6; }
   4090 if { { ac_try="$ac_link"
   4091 case "(($ac_try" in
   4092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4093   *) ac_try_echo=$ac_try;;
   4094 esac
   4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4096 printf "%s\n" "$ac_try_echo"; } >&5
   4097   (eval "$ac_link") 2>&5
   4098   ac_status=$?
   4099   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4100   test $ac_status = 0; }
   4101 then :
   4102   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4103 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4104 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4105 # `rm'.
   4106 for ac_file in conftest.exe conftest conftest.*; do
   4107   test -f "$ac_file" || continue
   4108   case $ac_file in
   4109     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4110     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4111 	  break;;
   4112     * ) break;;
   4113   esac
   4114 done
   4115 else $as_nop
   4116   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4117 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4118 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4119 See \`config.log' for more details" "$LINENO" 5; }
   4120 fi
   4121 rm -f conftest conftest$ac_cv_exeext
   4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4123 printf "%s\n" "$ac_cv_exeext" >&6; }
   4124 
   4125 rm -f conftest.$ac_ext
   4126 EXEEXT=$ac_cv_exeext
   4127 ac_exeext=$EXEEXT
   4128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4129 /* end confdefs.h.  */
   4130 #include <stdio.h>
   4131 int
   4132 main (void)
   4133 {
   4134 FILE *f = fopen ("conftest.out", "w");
   4135  return ferror (f) || fclose (f) != 0;
   4136 
   4137   ;
   4138   return 0;
   4139 }
   4140 _ACEOF
   4141 ac_clean_files="$ac_clean_files conftest.out"
   4142 # Check that the compiler produces executables we can run.  If not, either
   4143 # the compiler is broken, or we cross compile.
   4144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4145 printf %s "checking whether we are cross compiling... " >&6; }
   4146 if test "$cross_compiling" != yes; then
   4147   { { ac_try="$ac_link"
   4148 case "(($ac_try" in
   4149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4150   *) ac_try_echo=$ac_try;;
   4151 esac
   4152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4153 printf "%s\n" "$ac_try_echo"; } >&5
   4154   (eval "$ac_link") 2>&5
   4155   ac_status=$?
   4156   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4157   test $ac_status = 0; }
   4158   if { ac_try='./conftest$ac_cv_exeext'
   4159   { { case "(($ac_try" in
   4160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4161   *) ac_try_echo=$ac_try;;
   4162 esac
   4163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4164 printf "%s\n" "$ac_try_echo"; } >&5
   4165   (eval "$ac_try") 2>&5
   4166   ac_status=$?
   4167   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4168   test $ac_status = 0; }; }; then
   4169     cross_compiling=no
   4170   else
   4171     if test "$cross_compiling" = maybe; then
   4172 	cross_compiling=yes
   4173     else
   4174 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4175 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4176 as_fn_error 77 "cannot run C compiled programs.
   4177 If you meant to cross compile, use \`--host'.
   4178 See \`config.log' for more details" "$LINENO" 5; }
   4179     fi
   4180   fi
   4181 fi
   4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4183 printf "%s\n" "$cross_compiling" >&6; }
   4184 
   4185 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4186 ac_clean_files=$ac_clean_files_save
   4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4188 printf %s "checking for suffix of object files... " >&6; }
   4189 if test ${ac_cv_objext+y}
   4190 then :
   4191   printf %s "(cached) " >&6
   4192 else $as_nop
   4193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4194 /* end confdefs.h.  */
   4195 
   4196 int
   4197 main (void)
   4198 {
   4199 
   4200   ;
   4201   return 0;
   4202 }
   4203 _ACEOF
   4204 rm -f conftest.o conftest.obj
   4205 if { { ac_try="$ac_compile"
   4206 case "(($ac_try" in
   4207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4208   *) ac_try_echo=$ac_try;;
   4209 esac
   4210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4211 printf "%s\n" "$ac_try_echo"; } >&5
   4212   (eval "$ac_compile") 2>&5
   4213   ac_status=$?
   4214   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4215   test $ac_status = 0; }
   4216 then :
   4217   for ac_file in conftest.o conftest.obj conftest.*; do
   4218   test -f "$ac_file" || continue;
   4219   case $ac_file in
   4220     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4221     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4222        break;;
   4223   esac
   4224 done
   4225 else $as_nop
   4226   printf "%s\n" "$as_me: failed program was:" >&5
   4227 sed 's/^/| /' conftest.$ac_ext >&5
   4228 
   4229 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4230 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4231 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4232 See \`config.log' for more details" "$LINENO" 5; }
   4233 fi
   4234 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4235 fi
   4236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4237 printf "%s\n" "$ac_cv_objext" >&6; }
   4238 OBJEXT=$ac_cv_objext
   4239 ac_objext=$OBJEXT
   4240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4241 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4242 if test ${ac_cv_c_compiler_gnu+y}
   4243 then :
   4244   printf %s "(cached) " >&6
   4245 else $as_nop
   4246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4247 /* end confdefs.h.  */
   4248 
   4249 int
   4250 main (void)
   4251 {
   4252 #ifndef __GNUC__
   4253        choke me
   4254 #endif
   4255 
   4256   ;
   4257   return 0;
   4258 }
   4259 _ACEOF
   4260 if ac_fn_c_try_compile "$LINENO"
   4261 then :
   4262   ac_compiler_gnu=yes
   4263 else $as_nop
   4264   ac_compiler_gnu=no
   4265 fi
   4266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4267 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4268 
   4269 fi
   4270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4271 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4273 
   4274 if test $ac_compiler_gnu = yes; then
   4275   GCC=yes
   4276 else
   4277   GCC=
   4278 fi
   4279 ac_test_CFLAGS=${CFLAGS+y}
   4280 ac_save_CFLAGS=$CFLAGS
   4281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4282 printf %s "checking whether $CC accepts -g... " >&6; }
   4283 if test ${ac_cv_prog_cc_g+y}
   4284 then :
   4285   printf %s "(cached) " >&6
   4286 else $as_nop
   4287   ac_save_c_werror_flag=$ac_c_werror_flag
   4288    ac_c_werror_flag=yes
   4289    ac_cv_prog_cc_g=no
   4290    CFLAGS="-g"
   4291    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4292 /* end confdefs.h.  */
   4293 
   4294 int
   4295 main (void)
   4296 {
   4297 
   4298   ;
   4299   return 0;
   4300 }
   4301 _ACEOF
   4302 if ac_fn_c_try_compile "$LINENO"
   4303 then :
   4304   ac_cv_prog_cc_g=yes
   4305 else $as_nop
   4306   CFLAGS=""
   4307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4308 /* end confdefs.h.  */
   4309 
   4310 int
   4311 main (void)
   4312 {
   4313 
   4314   ;
   4315   return 0;
   4316 }
   4317 _ACEOF
   4318 if ac_fn_c_try_compile "$LINENO"
   4319 then :
   4320 
   4321 else $as_nop
   4322   ac_c_werror_flag=$ac_save_c_werror_flag
   4323 	 CFLAGS="-g"
   4324 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4325 /* end confdefs.h.  */
   4326 
   4327 int
   4328 main (void)
   4329 {
   4330 
   4331   ;
   4332   return 0;
   4333 }
   4334 _ACEOF
   4335 if ac_fn_c_try_compile "$LINENO"
   4336 then :
   4337   ac_cv_prog_cc_g=yes
   4338 fi
   4339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4340 fi
   4341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4342 fi
   4343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4344    ac_c_werror_flag=$ac_save_c_werror_flag
   4345 fi
   4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4347 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4348 if test $ac_test_CFLAGS; then
   4349   CFLAGS=$ac_save_CFLAGS
   4350 elif test $ac_cv_prog_cc_g = yes; then
   4351   if test "$GCC" = yes; then
   4352     CFLAGS="-g -O2"
   4353   else
   4354     CFLAGS="-g"
   4355   fi
   4356 else
   4357   if test "$GCC" = yes; then
   4358     CFLAGS="-O2"
   4359   else
   4360     CFLAGS=
   4361   fi
   4362 fi
   4363 ac_prog_cc_stdc=no
   4364 if test x$ac_prog_cc_stdc = xno
   4365 then :
   4366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4367 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4368 if test ${ac_cv_prog_cc_c11+y}
   4369 then :
   4370   printf %s "(cached) " >&6
   4371 else $as_nop
   4372   ac_cv_prog_cc_c11=no
   4373 ac_save_CC=$CC
   4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4375 /* end confdefs.h.  */
   4376 $ac_c_conftest_c11_program
   4377 _ACEOF
   4378 for ac_arg in '' -std=gnu11
   4379 do
   4380   CC="$ac_save_CC $ac_arg"
   4381   if ac_fn_c_try_compile "$LINENO"
   4382 then :
   4383   ac_cv_prog_cc_c11=$ac_arg
   4384 fi
   4385 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4386   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4387 done
   4388 rm -f conftest.$ac_ext
   4389 CC=$ac_save_CC
   4390 fi
   4391 
   4392 if test "x$ac_cv_prog_cc_c11" = xno
   4393 then :
   4394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4395 printf "%s\n" "unsupported" >&6; }
   4396 else $as_nop
   4397   if test "x$ac_cv_prog_cc_c11" = x
   4398 then :
   4399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4400 printf "%s\n" "none needed" >&6; }
   4401 else $as_nop
   4402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4403 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4404      CC="$CC $ac_cv_prog_cc_c11"
   4405 fi
   4406   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4407   ac_prog_cc_stdc=c11
   4408 fi
   4409 fi
   4410 if test x$ac_prog_cc_stdc = xno
   4411 then :
   4412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4413 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4414 if test ${ac_cv_prog_cc_c99+y}
   4415 then :
   4416   printf %s "(cached) " >&6
   4417 else $as_nop
   4418   ac_cv_prog_cc_c99=no
   4419 ac_save_CC=$CC
   4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4421 /* end confdefs.h.  */
   4422 $ac_c_conftest_c99_program
   4423 _ACEOF
   4424 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4425 do
   4426   CC="$ac_save_CC $ac_arg"
   4427   if ac_fn_c_try_compile "$LINENO"
   4428 then :
   4429   ac_cv_prog_cc_c99=$ac_arg
   4430 fi
   4431 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4432   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4433 done
   4434 rm -f conftest.$ac_ext
   4435 CC=$ac_save_CC
   4436 fi
   4437 
   4438 if test "x$ac_cv_prog_cc_c99" = xno
   4439 then :
   4440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4441 printf "%s\n" "unsupported" >&6; }
   4442 else $as_nop
   4443   if test "x$ac_cv_prog_cc_c99" = x
   4444 then :
   4445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4446 printf "%s\n" "none needed" >&6; }
   4447 else $as_nop
   4448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4449 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4450      CC="$CC $ac_cv_prog_cc_c99"
   4451 fi
   4452   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4453   ac_prog_cc_stdc=c99
   4454 fi
   4455 fi
   4456 if test x$ac_prog_cc_stdc = xno
   4457 then :
   4458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4459 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4460 if test ${ac_cv_prog_cc_c89+y}
   4461 then :
   4462   printf %s "(cached) " >&6
   4463 else $as_nop
   4464   ac_cv_prog_cc_c89=no
   4465 ac_save_CC=$CC
   4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4467 /* end confdefs.h.  */
   4468 $ac_c_conftest_c89_program
   4469 _ACEOF
   4470 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4471 do
   4472   CC="$ac_save_CC $ac_arg"
   4473   if ac_fn_c_try_compile "$LINENO"
   4474 then :
   4475   ac_cv_prog_cc_c89=$ac_arg
   4476 fi
   4477 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4478   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4479 done
   4480 rm -f conftest.$ac_ext
   4481 CC=$ac_save_CC
   4482 fi
   4483 
   4484 if test "x$ac_cv_prog_cc_c89" = xno
   4485 then :
   4486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4487 printf "%s\n" "unsupported" >&6; }
   4488 else $as_nop
   4489   if test "x$ac_cv_prog_cc_c89" = x
   4490 then :
   4491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4492 printf "%s\n" "none needed" >&6; }
   4493 else $as_nop
   4494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4495 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4496      CC="$CC $ac_cv_prog_cc_c89"
   4497 fi
   4498   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4499   ac_prog_cc_stdc=c89
   4500 fi
   4501 fi
   4502 
   4503 ac_ext=c
   4504 ac_cpp='$CPP $CPPFLAGS'
   4505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4508 
   4509 
   4510   ac_ext=c
   4511 ac_cpp='$CPP $CPPFLAGS'
   4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4516 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4517 if test ${am_cv_prog_cc_c_o+y}
   4518 then :
   4519   printf %s "(cached) " >&6
   4520 else $as_nop
   4521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4522 /* end confdefs.h.  */
   4523 
   4524 int
   4525 main (void)
   4526 {
   4527 
   4528   ;
   4529   return 0;
   4530 }
   4531 _ACEOF
   4532   # Make sure it works both with $CC and with simple cc.
   4533   # Following AC_PROG_CC_C_O, we do the test twice because some
   4534   # compilers refuse to overwrite an existing .o file with -o,
   4535   # though they will create one.
   4536   am_cv_prog_cc_c_o=yes
   4537   for am_i in 1 2; do
   4538     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4539    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4540    ac_status=$?
   4541    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4542    (exit $ac_status); } \
   4543          && test -f conftest2.$ac_objext; then
   4544       : OK
   4545     else
   4546       am_cv_prog_cc_c_o=no
   4547       break
   4548     fi
   4549   done
   4550   rm -f core conftest*
   4551   unset am_i
   4552 fi
   4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4554 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4555 if test "$am_cv_prog_cc_c_o" != yes; then
   4556    # Losing compiler, so override with the script.
   4557    # FIXME: It is wrong to rewrite CC.
   4558    # But if we don't then we get into trouble of one sort or another.
   4559    # A longer-term fix would be to have automake use am__CC in this case,
   4560    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4561    CC="$am_aux_dir/compile $CC"
   4562 fi
   4563 ac_ext=c
   4564 ac_cpp='$CPP $CPPFLAGS'
   4565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4568 
   4569 
   4570 depcc="$CC"   am_compiler_list=
   4571 
   4572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4573 printf %s "checking dependency style of $depcc... " >&6; }
   4574 if test ${am_cv_CC_dependencies_compiler_type+y}
   4575 then :
   4576   printf %s "(cached) " >&6
   4577 else $as_nop
   4578   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4579   # We make a subdir and do the tests there.  Otherwise we can end up
   4580   # making bogus files that we don't know about and never remove.  For
   4581   # instance it was reported that on HP-UX the gcc test will end up
   4582   # making a dummy file named 'D' -- because '-MD' means "put the output
   4583   # in D".
   4584   rm -rf conftest.dir
   4585   mkdir conftest.dir
   4586   # Copy depcomp to subdir because otherwise we won't find it if we're
   4587   # using a relative directory.
   4588   cp "$am_depcomp" conftest.dir
   4589   cd conftest.dir
   4590   # We will build objects and dependencies in a subdirectory because
   4591   # it helps to detect inapplicable dependency modes.  For instance
   4592   # both Tru64's cc and ICC support -MD to output dependencies as a
   4593   # side effect of compilation, but ICC will put the dependencies in
   4594   # the current directory while Tru64 will put them in the object
   4595   # directory.
   4596   mkdir sub
   4597 
   4598   am_cv_CC_dependencies_compiler_type=none
   4599   if test "$am_compiler_list" = ""; then
   4600      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4601   fi
   4602   am__universal=false
   4603   case " $depcc " in #(
   4604      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4605      esac
   4606 
   4607   for depmode in $am_compiler_list; do
   4608     # Setup a source with many dependencies, because some compilers
   4609     # like to wrap large dependency lists on column 80 (with \), and
   4610     # we should not choose a depcomp mode which is confused by this.
   4611     #
   4612     # We need to recreate these files for each test, as the compiler may
   4613     # overwrite some of them when testing with obscure command lines.
   4614     # This happens at least with the AIX C compiler.
   4615     : > sub/conftest.c
   4616     for i in 1 2 3 4 5 6; do
   4617       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4618       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4619       # Solaris 10 /bin/sh.
   4620       echo '/* dummy */' > sub/conftst$i.h
   4621     done
   4622     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4623 
   4624     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4625     # mode.  It turns out that the SunPro C++ compiler does not properly
   4626     # handle '-M -o', and we need to detect this.  Also, some Intel
   4627     # versions had trouble with output in subdirs.
   4628     am__obj=sub/conftest.${OBJEXT-o}
   4629     am__minus_obj="-o $am__obj"
   4630     case $depmode in
   4631     gcc)
   4632       # This depmode causes a compiler race in universal mode.
   4633       test "$am__universal" = false || continue
   4634       ;;
   4635     nosideeffect)
   4636       # After this tag, mechanisms are not by side-effect, so they'll
   4637       # only be used when explicitly requested.
   4638       if test "x$enable_dependency_tracking" = xyes; then
   4639 	continue
   4640       else
   4641 	break
   4642       fi
   4643       ;;
   4644     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4645       # This compiler won't grok '-c -o', but also, the minuso test has
   4646       # not run yet.  These depmodes are late enough in the game, and
   4647       # so weak that their functioning should not be impacted.
   4648       am__obj=conftest.${OBJEXT-o}
   4649       am__minus_obj=
   4650       ;;
   4651     none) break ;;
   4652     esac
   4653     if depmode=$depmode \
   4654        source=sub/conftest.c object=$am__obj \
   4655        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4656        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4657          >/dev/null 2>conftest.err &&
   4658        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4659        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4660        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4661        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4662       # icc doesn't choke on unknown options, it will just issue warnings
   4663       # or remarks (even with -Werror).  So we grep stderr for any message
   4664       # that says an option was ignored or not supported.
   4665       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4666       #   icc: Command line warning: ignoring option '-M'; no argument required
   4667       # The diagnosis changed in icc 8.0:
   4668       #   icc: Command line remark: option '-MP' not supported
   4669       if (grep 'ignoring option' conftest.err ||
   4670           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4671         am_cv_CC_dependencies_compiler_type=$depmode
   4672         break
   4673       fi
   4674     fi
   4675   done
   4676 
   4677   cd ..
   4678   rm -rf conftest.dir
   4679 else
   4680   am_cv_CC_dependencies_compiler_type=none
   4681 fi
   4682 
   4683 fi
   4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4685 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4686 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4687 
   4688  if
   4689   test "x$enable_dependency_tracking" != xno \
   4690   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4691   am__fastdepCC_TRUE=
   4692   am__fastdepCC_FALSE='#'
   4693 else
   4694   am__fastdepCC_TRUE='#'
   4695   am__fastdepCC_FALSE=
   4696 fi
   4697 
   4698 
   4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4700 printf %s "checking for a sed that does not truncate output... " >&6; }
   4701 if test ${ac_cv_path_SED+y}
   4702 then :
   4703   printf %s "(cached) " >&6
   4704 else $as_nop
   4705             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4706      for ac_i in 1 2 3 4 5 6 7; do
   4707        ac_script="$ac_script$as_nl$ac_script"
   4708      done
   4709      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4710      { ac_script=; unset ac_script;}
   4711      if test -z "$SED"; then
   4712   ac_path_SED_found=false
   4713   # Loop through the user's path and test for each of PROGNAME-LIST
   4714   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4715 for as_dir in $PATH
   4716 do
   4717   IFS=$as_save_IFS
   4718   case $as_dir in #(((
   4719     '') as_dir=./ ;;
   4720     */) ;;
   4721     *) as_dir=$as_dir/ ;;
   4722   esac
   4723     for ac_prog in sed gsed
   4724    do
   4725     for ac_exec_ext in '' $ac_executable_extensions; do
   4726       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4727       as_fn_executable_p "$ac_path_SED" || continue
   4728 # Check for GNU ac_path_SED and select it if it is found.
   4729   # Check for GNU $ac_path_SED
   4730 case `"$ac_path_SED" --version 2>&1` in
   4731 *GNU*)
   4732   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4733 *)
   4734   ac_count=0
   4735   printf %s 0123456789 >"conftest.in"
   4736   while :
   4737   do
   4738     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4739     mv "conftest.tmp" "conftest.in"
   4740     cp "conftest.in" "conftest.nl"
   4741     printf "%s\n" '' >> "conftest.nl"
   4742     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4743     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4744     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4745     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4746       # Best one so far, save it but keep looking for a better one
   4747       ac_cv_path_SED="$ac_path_SED"
   4748       ac_path_SED_max=$ac_count
   4749     fi
   4750     # 10*(2^10) chars as input seems more than enough
   4751     test $ac_count -gt 10 && break
   4752   done
   4753   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4754 esac
   4755 
   4756       $ac_path_SED_found && break 3
   4757     done
   4758   done
   4759   done
   4760 IFS=$as_save_IFS
   4761   if test -z "$ac_cv_path_SED"; then
   4762     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4763   fi
   4764 else
   4765   ac_cv_path_SED=$SED
   4766 fi
   4767 
   4768 fi
   4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4770 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4771  SED="$ac_cv_path_SED"
   4772   rm -f conftest.sed
   4773 
   4774 test -z "$SED" && SED=sed
   4775 Xsed="$SED -e 1s/^X//"
   4776 
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4788 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4789 if test ${ac_cv_path_GREP+y}
   4790 then :
   4791   printf %s "(cached) " >&6
   4792 else $as_nop
   4793   if test -z "$GREP"; then
   4794   ac_path_GREP_found=false
   4795   # Loop through the user's path and test for each of PROGNAME-LIST
   4796   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4797 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4798 do
   4799   IFS=$as_save_IFS
   4800   case $as_dir in #(((
   4801     '') as_dir=./ ;;
   4802     */) ;;
   4803     *) as_dir=$as_dir/ ;;
   4804   esac
   4805     for ac_prog in grep ggrep
   4806    do
   4807     for ac_exec_ext in '' $ac_executable_extensions; do
   4808       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4809       as_fn_executable_p "$ac_path_GREP" || continue
   4810 # Check for GNU ac_path_GREP and select it if it is found.
   4811   # Check for GNU $ac_path_GREP
   4812 case `"$ac_path_GREP" --version 2>&1` in
   4813 *GNU*)
   4814   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4815 *)
   4816   ac_count=0
   4817   printf %s 0123456789 >"conftest.in"
   4818   while :
   4819   do
   4820     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4821     mv "conftest.tmp" "conftest.in"
   4822     cp "conftest.in" "conftest.nl"
   4823     printf "%s\n" 'GREP' >> "conftest.nl"
   4824     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4825     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4826     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4827     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4828       # Best one so far, save it but keep looking for a better one
   4829       ac_cv_path_GREP="$ac_path_GREP"
   4830       ac_path_GREP_max=$ac_count
   4831     fi
   4832     # 10*(2^10) chars as input seems more than enough
   4833     test $ac_count -gt 10 && break
   4834   done
   4835   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4836 esac
   4837 
   4838       $ac_path_GREP_found && break 3
   4839     done
   4840   done
   4841   done
   4842 IFS=$as_save_IFS
   4843   if test -z "$ac_cv_path_GREP"; then
   4844     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4845   fi
   4846 else
   4847   ac_cv_path_GREP=$GREP
   4848 fi
   4849 
   4850 fi
   4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4852 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4853  GREP="$ac_cv_path_GREP"
   4854 
   4855 
   4856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4857 printf %s "checking for egrep... " >&6; }
   4858 if test ${ac_cv_path_EGREP+y}
   4859 then :
   4860   printf %s "(cached) " >&6
   4861 else $as_nop
   4862   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4863    then ac_cv_path_EGREP="$GREP -E"
   4864    else
   4865      if test -z "$EGREP"; then
   4866   ac_path_EGREP_found=false
   4867   # Loop through the user's path and test for each of PROGNAME-LIST
   4868   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4869 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4870 do
   4871   IFS=$as_save_IFS
   4872   case $as_dir in #(((
   4873     '') as_dir=./ ;;
   4874     */) ;;
   4875     *) as_dir=$as_dir/ ;;
   4876   esac
   4877     for ac_prog in egrep
   4878    do
   4879     for ac_exec_ext in '' $ac_executable_extensions; do
   4880       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4881       as_fn_executable_p "$ac_path_EGREP" || continue
   4882 # Check for GNU ac_path_EGREP and select it if it is found.
   4883   # Check for GNU $ac_path_EGREP
   4884 case `"$ac_path_EGREP" --version 2>&1` in
   4885 *GNU*)
   4886   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4887 *)
   4888   ac_count=0
   4889   printf %s 0123456789 >"conftest.in"
   4890   while :
   4891   do
   4892     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4893     mv "conftest.tmp" "conftest.in"
   4894     cp "conftest.in" "conftest.nl"
   4895     printf "%s\n" 'EGREP' >> "conftest.nl"
   4896     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4897     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4898     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4899     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4900       # Best one so far, save it but keep looking for a better one
   4901       ac_cv_path_EGREP="$ac_path_EGREP"
   4902       ac_path_EGREP_max=$ac_count
   4903     fi
   4904     # 10*(2^10) chars as input seems more than enough
   4905     test $ac_count -gt 10 && break
   4906   done
   4907   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4908 esac
   4909 
   4910       $ac_path_EGREP_found && break 3
   4911     done
   4912   done
   4913   done
   4914 IFS=$as_save_IFS
   4915   if test -z "$ac_cv_path_EGREP"; then
   4916     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4917   fi
   4918 else
   4919   ac_cv_path_EGREP=$EGREP
   4920 fi
   4921 
   4922    fi
   4923 fi
   4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4925 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4926  EGREP="$ac_cv_path_EGREP"
   4927 
   4928 
   4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4930 printf %s "checking for fgrep... " >&6; }
   4931 if test ${ac_cv_path_FGREP+y}
   4932 then :
   4933   printf %s "(cached) " >&6
   4934 else $as_nop
   4935   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4936    then ac_cv_path_FGREP="$GREP -F"
   4937    else
   4938      if test -z "$FGREP"; then
   4939   ac_path_FGREP_found=false
   4940   # Loop through the user's path and test for each of PROGNAME-LIST
   4941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4943 do
   4944   IFS=$as_save_IFS
   4945   case $as_dir in #(((
   4946     '') as_dir=./ ;;
   4947     */) ;;
   4948     *) as_dir=$as_dir/ ;;
   4949   esac
   4950     for ac_prog in fgrep
   4951    do
   4952     for ac_exec_ext in '' $ac_executable_extensions; do
   4953       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4954       as_fn_executable_p "$ac_path_FGREP" || continue
   4955 # Check for GNU ac_path_FGREP and select it if it is found.
   4956   # Check for GNU $ac_path_FGREP
   4957 case `"$ac_path_FGREP" --version 2>&1` in
   4958 *GNU*)
   4959   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4960 *)
   4961   ac_count=0
   4962   printf %s 0123456789 >"conftest.in"
   4963   while :
   4964   do
   4965     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4966     mv "conftest.tmp" "conftest.in"
   4967     cp "conftest.in" "conftest.nl"
   4968     printf "%s\n" 'FGREP' >> "conftest.nl"
   4969     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4970     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4971     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4972     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4973       # Best one so far, save it but keep looking for a better one
   4974       ac_cv_path_FGREP="$ac_path_FGREP"
   4975       ac_path_FGREP_max=$ac_count
   4976     fi
   4977     # 10*(2^10) chars as input seems more than enough
   4978     test $ac_count -gt 10 && break
   4979   done
   4980   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4981 esac
   4982 
   4983       $ac_path_FGREP_found && break 3
   4984     done
   4985   done
   4986   done
   4987 IFS=$as_save_IFS
   4988   if test -z "$ac_cv_path_FGREP"; then
   4989     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4990   fi
   4991 else
   4992   ac_cv_path_FGREP=$FGREP
   4993 fi
   4994 
   4995    fi
   4996 fi
   4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4998 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   4999  FGREP="$ac_cv_path_FGREP"
   5000 
   5001 
   5002 test -z "$GREP" && GREP=grep
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 # Check whether --with-gnu-ld was given.
   5023 if test ${with_gnu_ld+y}
   5024 then :
   5025   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5026 else $as_nop
   5027   with_gnu_ld=no
   5028 fi
   5029 
   5030 ac_prog=ld
   5031 if test yes = "$GCC"; then
   5032   # Check if gcc -print-prog-name=ld gives a path.
   5033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5034 printf %s "checking for ld used by $CC... " >&6; }
   5035   case $host in
   5036   *-*-mingw*)
   5037     # gcc leaves a trailing carriage return, which upsets mingw
   5038     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5039   *)
   5040     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5041   esac
   5042   case $ac_prog in
   5043     # Accept absolute paths.
   5044     [\\/]* | ?:[\\/]*)
   5045       re_direlt='/[^/][^/]*/\.\./'
   5046       # Canonicalize the pathname of ld
   5047       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5048       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5049 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5050       done
   5051       test -z "$LD" && LD=$ac_prog
   5052       ;;
   5053   "")
   5054     # If it fails, then pretend we aren't using GCC.
   5055     ac_prog=ld
   5056     ;;
   5057   *)
   5058     # If it is relative, then search for the first ld in PATH.
   5059     with_gnu_ld=unknown
   5060     ;;
   5061   esac
   5062 elif test yes = "$with_gnu_ld"; then
   5063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5064 printf %s "checking for GNU ld... " >&6; }
   5065 else
   5066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5067 printf %s "checking for non-GNU ld... " >&6; }
   5068 fi
   5069 if test ${lt_cv_path_LD+y}
   5070 then :
   5071   printf %s "(cached) " >&6
   5072 else $as_nop
   5073   if test -z "$LD"; then
   5074   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5075   for ac_dir in $PATH; do
   5076     IFS=$lt_save_ifs
   5077     test -z "$ac_dir" && ac_dir=.
   5078     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5079       lt_cv_path_LD=$ac_dir/$ac_prog
   5080       # Check to see if the program is GNU ld.  I'd rather use --version,
   5081       # but apparently some variants of GNU ld only accept -v.
   5082       # Break only if it was the GNU/non-GNU ld that we prefer.
   5083       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5084       *GNU* | *'with BFD'*)
   5085 	test no != "$with_gnu_ld" && break
   5086 	;;
   5087       *)
   5088 	test yes != "$with_gnu_ld" && break
   5089 	;;
   5090       esac
   5091     fi
   5092   done
   5093   IFS=$lt_save_ifs
   5094 else
   5095   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5096 fi
   5097 fi
   5098 
   5099 LD=$lt_cv_path_LD
   5100 if test -n "$LD"; then
   5101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5102 printf "%s\n" "$LD" >&6; }
   5103 else
   5104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5105 printf "%s\n" "no" >&6; }
   5106 fi
   5107 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5109 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5110 if test ${lt_cv_prog_gnu_ld+y}
   5111 then :
   5112   printf %s "(cached) " >&6
   5113 else $as_nop
   5114   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5115 case `$LD -v 2>&1 </dev/null` in
   5116 *GNU* | *'with BFD'*)
   5117   lt_cv_prog_gnu_ld=yes
   5118   ;;
   5119 *)
   5120   lt_cv_prog_gnu_ld=no
   5121   ;;
   5122 esac
   5123 fi
   5124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5125 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5126 with_gnu_ld=$lt_cv_prog_gnu_ld
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5137 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5138 if test ${lt_cv_path_NM+y}
   5139 then :
   5140   printf %s "(cached) " >&6
   5141 else $as_nop
   5142   if test -n "$NM"; then
   5143   # Let the user override the test.
   5144   lt_cv_path_NM=$NM
   5145 else
   5146   lt_nm_to_check=${ac_tool_prefix}nm
   5147   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5148     lt_nm_to_check="$lt_nm_to_check nm"
   5149   fi
   5150   for lt_tmp_nm in $lt_nm_to_check; do
   5151     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5152     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5153       IFS=$lt_save_ifs
   5154       test -z "$ac_dir" && ac_dir=.
   5155       tmp_nm=$ac_dir/$lt_tmp_nm
   5156       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5157 	# Check to see if the nm accepts a BSD-compat flag.
   5158 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5159 	#   nm: unknown option "B" ignored
   5160 	# Tru64's nm complains that /dev/null is an invalid object file
   5161 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5162 	case $build_os in
   5163 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5164 	*) lt_bad_file=/dev/null ;;
   5165 	esac
   5166 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5167 	*$lt_bad_file* | *'Invalid file or object type'*)
   5168 	  lt_cv_path_NM="$tmp_nm -B"
   5169 	  break 2
   5170 	  ;;
   5171 	*)
   5172 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5173 	  */dev/null*)
   5174 	    lt_cv_path_NM="$tmp_nm -p"
   5175 	    break 2
   5176 	    ;;
   5177 	  *)
   5178 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5179 	    continue # so that we can try to find one that supports BSD flags
   5180 	    ;;
   5181 	  esac
   5182 	  ;;
   5183 	esac
   5184       fi
   5185     done
   5186     IFS=$lt_save_ifs
   5187   done
   5188   : ${lt_cv_path_NM=no}
   5189 fi
   5190 fi
   5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5192 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5193 if test no != "$lt_cv_path_NM"; then
   5194   NM=$lt_cv_path_NM
   5195 else
   5196   # Didn't find any BSD compatible name lister, look for dumpbin.
   5197   if test -n "$DUMPBIN"; then :
   5198     # Let the user override the test.
   5199   else
   5200     if test -n "$ac_tool_prefix"; then
   5201   for ac_prog in dumpbin "link -dump"
   5202   do
   5203     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5206 printf %s "checking for $ac_word... " >&6; }
   5207 if test ${ac_cv_prog_DUMPBIN+y}
   5208 then :
   5209   printf %s "(cached) " >&6
   5210 else $as_nop
   5211   if test -n "$DUMPBIN"; then
   5212   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5213 else
   5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5215 for as_dir in $PATH
   5216 do
   5217   IFS=$as_save_IFS
   5218   case $as_dir in #(((
   5219     '') as_dir=./ ;;
   5220     */) ;;
   5221     *) as_dir=$as_dir/ ;;
   5222   esac
   5223     for ac_exec_ext in '' $ac_executable_extensions; do
   5224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5225     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5227     break 2
   5228   fi
   5229 done
   5230   done
   5231 IFS=$as_save_IFS
   5232 
   5233 fi
   5234 fi
   5235 DUMPBIN=$ac_cv_prog_DUMPBIN
   5236 if test -n "$DUMPBIN"; then
   5237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5238 printf "%s\n" "$DUMPBIN" >&6; }
   5239 else
   5240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5241 printf "%s\n" "no" >&6; }
   5242 fi
   5243 
   5244 
   5245     test -n "$DUMPBIN" && break
   5246   done
   5247 fi
   5248 if test -z "$DUMPBIN"; then
   5249   ac_ct_DUMPBIN=$DUMPBIN
   5250   for ac_prog in dumpbin "link -dump"
   5251 do
   5252   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5253 set dummy $ac_prog; ac_word=$2
   5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5255 printf %s "checking for $ac_word... " >&6; }
   5256 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5257 then :
   5258   printf %s "(cached) " >&6
   5259 else $as_nop
   5260   if test -n "$ac_ct_DUMPBIN"; then
   5261   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5262 else
   5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5264 for as_dir in $PATH
   5265 do
   5266   IFS=$as_save_IFS
   5267   case $as_dir in #(((
   5268     '') as_dir=./ ;;
   5269     */) ;;
   5270     *) as_dir=$as_dir/ ;;
   5271   esac
   5272     for ac_exec_ext in '' $ac_executable_extensions; do
   5273   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5274     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5275     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5276     break 2
   5277   fi
   5278 done
   5279   done
   5280 IFS=$as_save_IFS
   5281 
   5282 fi
   5283 fi
   5284 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5285 if test -n "$ac_ct_DUMPBIN"; then
   5286   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5287 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5288 else
   5289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5290 printf "%s\n" "no" >&6; }
   5291 fi
   5292 
   5293 
   5294   test -n "$ac_ct_DUMPBIN" && break
   5295 done
   5296 
   5297   if test "x$ac_ct_DUMPBIN" = x; then
   5298     DUMPBIN=":"
   5299   else
   5300     case $cross_compiling:$ac_tool_warned in
   5301 yes:)
   5302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5303 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5304 ac_tool_warned=yes ;;
   5305 esac
   5306     DUMPBIN=$ac_ct_DUMPBIN
   5307   fi
   5308 fi
   5309 
   5310     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5311     *COFF*)
   5312       DUMPBIN="$DUMPBIN -symbols -headers"
   5313       ;;
   5314     *)
   5315       DUMPBIN=:
   5316       ;;
   5317     esac
   5318   fi
   5319 
   5320   if test : != "$DUMPBIN"; then
   5321     NM=$DUMPBIN
   5322   fi
   5323 fi
   5324 test -z "$NM" && NM=nm
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5332 printf %s "checking the name lister ($NM) interface... " >&6; }
   5333 if test ${lt_cv_nm_interface+y}
   5334 then :
   5335   printf %s "(cached) " >&6
   5336 else $as_nop
   5337   lt_cv_nm_interface="BSD nm"
   5338   echo "int some_variable = 0;" > conftest.$ac_ext
   5339   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5340   (eval "$ac_compile" 2>conftest.err)
   5341   cat conftest.err >&5
   5342   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5343   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5344   cat conftest.err >&5
   5345   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5346   cat conftest.out >&5
   5347   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5348     lt_cv_nm_interface="MS dumpbin"
   5349   fi
   5350   rm -f conftest*
   5351 fi
   5352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5353 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5354 
   5355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5356 printf %s "checking whether ln -s works... " >&6; }
   5357 LN_S=$as_ln_s
   5358 if test "$LN_S" = "ln -s"; then
   5359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5360 printf "%s\n" "yes" >&6; }
   5361 else
   5362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5363 printf "%s\n" "no, using $LN_S" >&6; }
   5364 fi
   5365 
   5366 # find the maximum length of command line arguments
   5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5368 printf %s "checking the maximum length of command line arguments... " >&6; }
   5369 if test ${lt_cv_sys_max_cmd_len+y}
   5370 then :
   5371   printf %s "(cached) " >&6
   5372 else $as_nop
   5373     i=0
   5374   teststring=ABCD
   5375 
   5376   case $build_os in
   5377   msdosdjgpp*)
   5378     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5379     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5380     # during glob expansion).  Even if it were fixed, the result of this
   5381     # check would be larger than it should be.
   5382     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5383     ;;
   5384 
   5385   gnu*)
   5386     # Under GNU Hurd, this test is not required because there is
   5387     # no limit to the length of command line arguments.
   5388     # Libtool will interpret -1 as no limit whatsoever
   5389     lt_cv_sys_max_cmd_len=-1;
   5390     ;;
   5391 
   5392   cygwin* | mingw* | cegcc*)
   5393     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5394     # about 5 minutes as the teststring grows exponentially.
   5395     # Worse, since 9x/ME are not pre-emptively multitasking,
   5396     # you end up with a "frozen" computer, even though with patience
   5397     # the test eventually succeeds (with a max line length of 256k).
   5398     # Instead, let's just punt: use the minimum linelength reported by
   5399     # all of the supported platforms: 8192 (on NT/2K/XP).
   5400     lt_cv_sys_max_cmd_len=8192;
   5401     ;;
   5402 
   5403   mint*)
   5404     # On MiNT this can take a long time and run out of memory.
   5405     lt_cv_sys_max_cmd_len=8192;
   5406     ;;
   5407 
   5408   amigaos*)
   5409     # On AmigaOS with pdksh, this test takes hours, literally.
   5410     # So we just punt and use a minimum line length of 8192.
   5411     lt_cv_sys_max_cmd_len=8192;
   5412     ;;
   5413 
   5414   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5415     # This has been around since 386BSD, at least.  Likely further.
   5416     if test -x /sbin/sysctl; then
   5417       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5418     elif test -x /usr/sbin/sysctl; then
   5419       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5420     else
   5421       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5422     fi
   5423     # And add a safety zone
   5424     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5425     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5426     ;;
   5427 
   5428   interix*)
   5429     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5430     lt_cv_sys_max_cmd_len=196608
   5431     ;;
   5432 
   5433   os2*)
   5434     # The test takes a long time on OS/2.
   5435     lt_cv_sys_max_cmd_len=8192
   5436     ;;
   5437 
   5438   osf*)
   5439     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5440     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5441     # nice to cause kernel panics so lets avoid the loop below.
   5442     # First set a reasonable default.
   5443     lt_cv_sys_max_cmd_len=16384
   5444     #
   5445     if test -x /sbin/sysconfig; then
   5446       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5447         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5448       esac
   5449     fi
   5450     ;;
   5451   sco3.2v5*)
   5452     lt_cv_sys_max_cmd_len=102400
   5453     ;;
   5454   sysv5* | sco5v6* | sysv4.2uw2*)
   5455     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5456     if test -n "$kargmax"; then
   5457       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5458     else
   5459       lt_cv_sys_max_cmd_len=32768
   5460     fi
   5461     ;;
   5462   *)
   5463     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5464     if test -n "$lt_cv_sys_max_cmd_len" && \
   5465        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5466       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5467       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5468     else
   5469       # Make teststring a little bigger before we do anything with it.
   5470       # a 1K string should be a reasonable start.
   5471       for i in 1 2 3 4 5 6 7 8; do
   5472         teststring=$teststring$teststring
   5473       done
   5474       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5475       # If test is not a shell built-in, we'll probably end up computing a
   5476       # maximum length that is only half of the actual maximum length, but
   5477       # we can't tell.
   5478       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5479 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5480 	      test 17 != "$i" # 1/2 MB should be enough
   5481       do
   5482         i=`expr $i + 1`
   5483         teststring=$teststring$teststring
   5484       done
   5485       # Only check the string length outside the loop.
   5486       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5487       teststring=
   5488       # Add a significant safety factor because C++ compilers can tack on
   5489       # massive amounts of additional arguments before passing them to the
   5490       # linker.  It appears as though 1/2 is a usable value.
   5491       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5492     fi
   5493     ;;
   5494   esac
   5495 
   5496 fi
   5497 
   5498 if test -n "$lt_cv_sys_max_cmd_len"; then
   5499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5500 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5501 else
   5502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5503 printf "%s\n" "none" >&6; }
   5504 fi
   5505 max_cmd_len=$lt_cv_sys_max_cmd_len
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 : ${CP="cp -f"}
   5513 : ${MV="mv -f"}
   5514 : ${RM="rm -f"}
   5515 
   5516 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5517   lt_unset=unset
   5518 else
   5519   lt_unset=false
   5520 fi
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 # test EBCDIC or ASCII
   5527 case `echo X|tr X '\101'` in
   5528  A) # ASCII based system
   5529     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5530   lt_SP2NL='tr \040 \012'
   5531   lt_NL2SP='tr \015\012 \040\040'
   5532   ;;
   5533  *) # EBCDIC based system
   5534   lt_SP2NL='tr \100 \n'
   5535   lt_NL2SP='tr \r\n \100\100'
   5536   ;;
   5537 esac
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5548 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5549 if test ${lt_cv_to_host_file_cmd+y}
   5550 then :
   5551   printf %s "(cached) " >&6
   5552 else $as_nop
   5553   case $host in
   5554   *-*-mingw* )
   5555     case $build in
   5556       *-*-mingw* ) # actually msys
   5557         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5558         ;;
   5559       *-*-cygwin* )
   5560         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5561         ;;
   5562       * ) # otherwise, assume *nix
   5563         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5564         ;;
   5565     esac
   5566     ;;
   5567   *-*-cygwin* )
   5568     case $build in
   5569       *-*-mingw* ) # actually msys
   5570         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5571         ;;
   5572       *-*-cygwin* )
   5573         lt_cv_to_host_file_cmd=func_convert_file_noop
   5574         ;;
   5575       * ) # otherwise, assume *nix
   5576         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5577         ;;
   5578     esac
   5579     ;;
   5580   * ) # unhandled hosts (and "normal" native builds)
   5581     lt_cv_to_host_file_cmd=func_convert_file_noop
   5582     ;;
   5583 esac
   5584 
   5585 fi
   5586 
   5587 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5589 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5596 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5597 if test ${lt_cv_to_tool_file_cmd+y}
   5598 then :
   5599   printf %s "(cached) " >&6
   5600 else $as_nop
   5601   #assume ordinary cross tools, or native build.
   5602 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5603 case $host in
   5604   *-*-mingw* )
   5605     case $build in
   5606       *-*-mingw* ) # actually msys
   5607         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5608         ;;
   5609     esac
   5610     ;;
   5611 esac
   5612 
   5613 fi
   5614 
   5615 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5617 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5624 printf %s "checking for $LD option to reload object files... " >&6; }
   5625 if test ${lt_cv_ld_reload_flag+y}
   5626 then :
   5627   printf %s "(cached) " >&6
   5628 else $as_nop
   5629   lt_cv_ld_reload_flag='-r'
   5630 fi
   5631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5632 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5633 reload_flag=$lt_cv_ld_reload_flag
   5634 case $reload_flag in
   5635 "" | " "*) ;;
   5636 *) reload_flag=" $reload_flag" ;;
   5637 esac
   5638 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5639 case $host_os in
   5640   cygwin* | mingw* | pw32* | cegcc*)
   5641     if test yes != "$GCC"; then
   5642       reload_cmds=false
   5643     fi
   5644     ;;
   5645   darwin*)
   5646     if test yes = "$GCC"; then
   5647       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5648     else
   5649       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5650     fi
   5651     ;;
   5652 esac
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 if test -n "$ac_tool_prefix"; then
   5663   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5664 set dummy ${ac_tool_prefix}file; ac_word=$2
   5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5666 printf %s "checking for $ac_word... " >&6; }
   5667 if test ${ac_cv_prog_FILECMD+y}
   5668 then :
   5669   printf %s "(cached) " >&6
   5670 else $as_nop
   5671   if test -n "$FILECMD"; then
   5672   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5673 else
   5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5675 for as_dir in $PATH
   5676 do
   5677   IFS=$as_save_IFS
   5678   case $as_dir in #(((
   5679     '') as_dir=./ ;;
   5680     */) ;;
   5681     *) as_dir=$as_dir/ ;;
   5682   esac
   5683     for ac_exec_ext in '' $ac_executable_extensions; do
   5684   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5685     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5687     break 2
   5688   fi
   5689 done
   5690   done
   5691 IFS=$as_save_IFS
   5692 
   5693 fi
   5694 fi
   5695 FILECMD=$ac_cv_prog_FILECMD
   5696 if test -n "$FILECMD"; then
   5697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5698 printf "%s\n" "$FILECMD" >&6; }
   5699 else
   5700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5701 printf "%s\n" "no" >&6; }
   5702 fi
   5703 
   5704 
   5705 fi
   5706 if test -z "$ac_cv_prog_FILECMD"; then
   5707   ac_ct_FILECMD=$FILECMD
   5708   # Extract the first word of "file", so it can be a program name with args.
   5709 set dummy file; ac_word=$2
   5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5711 printf %s "checking for $ac_word... " >&6; }
   5712 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5713 then :
   5714   printf %s "(cached) " >&6
   5715 else $as_nop
   5716   if test -n "$ac_ct_FILECMD"; then
   5717   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5718 else
   5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5720 for as_dir in $PATH
   5721 do
   5722   IFS=$as_save_IFS
   5723   case $as_dir in #(((
   5724     '') as_dir=./ ;;
   5725     */) ;;
   5726     *) as_dir=$as_dir/ ;;
   5727   esac
   5728     for ac_exec_ext in '' $ac_executable_extensions; do
   5729   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5730     ac_cv_prog_ac_ct_FILECMD="file"
   5731     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5732     break 2
   5733   fi
   5734 done
   5735   done
   5736 IFS=$as_save_IFS
   5737 
   5738 fi
   5739 fi
   5740 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5741 if test -n "$ac_ct_FILECMD"; then
   5742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5743 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5744 else
   5745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5746 printf "%s\n" "no" >&6; }
   5747 fi
   5748 
   5749   if test "x$ac_ct_FILECMD" = x; then
   5750     FILECMD=":"
   5751   else
   5752     case $cross_compiling:$ac_tool_warned in
   5753 yes:)
   5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5755 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5756 ac_tool_warned=yes ;;
   5757 esac
   5758     FILECMD=$ac_ct_FILECMD
   5759   fi
   5760 else
   5761   FILECMD="$ac_cv_prog_FILECMD"
   5762 fi
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 if test -n "$ac_tool_prefix"; then
   5771   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5772 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5774 printf %s "checking for $ac_word... " >&6; }
   5775 if test ${ac_cv_prog_OBJDUMP+y}
   5776 then :
   5777   printf %s "(cached) " >&6
   5778 else $as_nop
   5779   if test -n "$OBJDUMP"; then
   5780   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5781 else
   5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5783 for as_dir in $PATH
   5784 do
   5785   IFS=$as_save_IFS
   5786   case $as_dir in #(((
   5787     '') as_dir=./ ;;
   5788     */) ;;
   5789     *) as_dir=$as_dir/ ;;
   5790   esac
   5791     for ac_exec_ext in '' $ac_executable_extensions; do
   5792   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5793     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5794     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5795     break 2
   5796   fi
   5797 done
   5798   done
   5799 IFS=$as_save_IFS
   5800 
   5801 fi
   5802 fi
   5803 OBJDUMP=$ac_cv_prog_OBJDUMP
   5804 if test -n "$OBJDUMP"; then
   5805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5806 printf "%s\n" "$OBJDUMP" >&6; }
   5807 else
   5808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5809 printf "%s\n" "no" >&6; }
   5810 fi
   5811 
   5812 
   5813 fi
   5814 if test -z "$ac_cv_prog_OBJDUMP"; then
   5815   ac_ct_OBJDUMP=$OBJDUMP
   5816   # Extract the first word of "objdump", so it can be a program name with args.
   5817 set dummy objdump; ac_word=$2
   5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5819 printf %s "checking for $ac_word... " >&6; }
   5820 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5821 then :
   5822   printf %s "(cached) " >&6
   5823 else $as_nop
   5824   if test -n "$ac_ct_OBJDUMP"; then
   5825   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5826 else
   5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5828 for as_dir in $PATH
   5829 do
   5830   IFS=$as_save_IFS
   5831   case $as_dir in #(((
   5832     '') as_dir=./ ;;
   5833     */) ;;
   5834     *) as_dir=$as_dir/ ;;
   5835   esac
   5836     for ac_exec_ext in '' $ac_executable_extensions; do
   5837   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5838     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5839     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5840     break 2
   5841   fi
   5842 done
   5843   done
   5844 IFS=$as_save_IFS
   5845 
   5846 fi
   5847 fi
   5848 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5849 if test -n "$ac_ct_OBJDUMP"; then
   5850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5851 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5852 else
   5853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5854 printf "%s\n" "no" >&6; }
   5855 fi
   5856 
   5857   if test "x$ac_ct_OBJDUMP" = x; then
   5858     OBJDUMP="false"
   5859   else
   5860     case $cross_compiling:$ac_tool_warned in
   5861 yes:)
   5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5863 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5864 ac_tool_warned=yes ;;
   5865 esac
   5866     OBJDUMP=$ac_ct_OBJDUMP
   5867   fi
   5868 else
   5869   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5870 fi
   5871 
   5872 test -z "$OBJDUMP" && OBJDUMP=objdump
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5883 printf %s "checking how to recognize dependent libraries... " >&6; }
   5884 if test ${lt_cv_deplibs_check_method+y}
   5885 then :
   5886   printf %s "(cached) " >&6
   5887 else $as_nop
   5888   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5889 lt_cv_file_magic_test_file=
   5890 lt_cv_deplibs_check_method='unknown'
   5891 # Need to set the preceding variable on all platforms that support
   5892 # interlibrary dependencies.
   5893 # 'none' -- dependencies not supported.
   5894 # 'unknown' -- same as none, but documents that we really don't know.
   5895 # 'pass_all' -- all dependencies passed with no checks.
   5896 # 'test_compile' -- check by making test program.
   5897 # 'file_magic [[regex]]' -- check by looking for files in library path
   5898 # that responds to the $file_magic_cmd with a given extended regex.
   5899 # If you have 'file' or equivalent on your system and you're not sure
   5900 # whether 'pass_all' will *always* work, you probably want this one.
   5901 
   5902 case $host_os in
   5903 aix[4-9]*)
   5904   lt_cv_deplibs_check_method=pass_all
   5905   ;;
   5906 
   5907 beos*)
   5908   lt_cv_deplibs_check_method=pass_all
   5909   ;;
   5910 
   5911 bsdi[45]*)
   5912   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5913   lt_cv_file_magic_cmd='$FILECMD -L'
   5914   lt_cv_file_magic_test_file=/shlib/libc.so
   5915   ;;
   5916 
   5917 cygwin*)
   5918   # func_win32_libid is a shell function defined in ltmain.sh
   5919   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5920   lt_cv_file_magic_cmd='func_win32_libid'
   5921   ;;
   5922 
   5923 mingw* | pw32*)
   5924   # Base MSYS/MinGW do not provide the 'file' command needed by
   5925   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5926   # unless we find 'file', for example because we are cross-compiling.
   5927   if ( file / ) >/dev/null 2>&1; then
   5928     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5929     lt_cv_file_magic_cmd='func_win32_libid'
   5930   else
   5931     # Keep this pattern in sync with the one in func_win32_libid.
   5932     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5933     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5934   fi
   5935   ;;
   5936 
   5937 cegcc*)
   5938   # use the weaker test based on 'objdump'. See mingw*.
   5939   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5940   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5941   ;;
   5942 
   5943 darwin* | rhapsody*)
   5944   lt_cv_deplibs_check_method=pass_all
   5945   ;;
   5946 
   5947 freebsd* | dragonfly* | midnightbsd*)
   5948   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5949     case $host_cpu in
   5950     i*86 )
   5951       # Not sure whether the presence of OpenBSD here was a mistake.
   5952       # Let's accept both of them until this is cleared up.
   5953       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5954       lt_cv_file_magic_cmd=$FILECMD
   5955       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5956       ;;
   5957     esac
   5958   else
   5959     lt_cv_deplibs_check_method=pass_all
   5960   fi
   5961   ;;
   5962 
   5963 haiku*)
   5964   lt_cv_deplibs_check_method=pass_all
   5965   ;;
   5966 
   5967 hpux10.20* | hpux11*)
   5968   lt_cv_file_magic_cmd=$FILECMD
   5969   case $host_cpu in
   5970   ia64*)
   5971     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5972     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5973     ;;
   5974   hppa*64*)
   5975     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]'
   5976     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5977     ;;
   5978   *)
   5979     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5980     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5981     ;;
   5982   esac
   5983   ;;
   5984 
   5985 interix[3-9]*)
   5986   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5987   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5988   ;;
   5989 
   5990 irix5* | irix6* | nonstopux*)
   5991   case $LD in
   5992   *-32|*"-32 ") libmagic=32-bit;;
   5993   *-n32|*"-n32 ") libmagic=N32;;
   5994   *-64|*"-64 ") libmagic=64-bit;;
   5995   *) libmagic=never-match;;
   5996   esac
   5997   lt_cv_deplibs_check_method=pass_all
   5998   ;;
   5999 
   6000 # This must be glibc/ELF.
   6001 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6002   lt_cv_deplibs_check_method=pass_all
   6003   ;;
   6004 
   6005 netbsd*)
   6006   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6007     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6008   else
   6009     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6010   fi
   6011   ;;
   6012 
   6013 newos6*)
   6014   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6015   lt_cv_file_magic_cmd=$FILECMD
   6016   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6017   ;;
   6018 
   6019 *nto* | *qnx*)
   6020   lt_cv_deplibs_check_method=pass_all
   6021   ;;
   6022 
   6023 openbsd* | bitrig*)
   6024   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6025     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6026   else
   6027     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6028   fi
   6029   ;;
   6030 
   6031 osf3* | osf4* | osf5*)
   6032   lt_cv_deplibs_check_method=pass_all
   6033   ;;
   6034 
   6035 rdos*)
   6036   lt_cv_deplibs_check_method=pass_all
   6037   ;;
   6038 
   6039 solaris*)
   6040   lt_cv_deplibs_check_method=pass_all
   6041   ;;
   6042 
   6043 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6044   lt_cv_deplibs_check_method=pass_all
   6045   ;;
   6046 
   6047 sysv4 | sysv4.3*)
   6048   case $host_vendor in
   6049   motorola)
   6050     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]'
   6051     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6052     ;;
   6053   ncr)
   6054     lt_cv_deplibs_check_method=pass_all
   6055     ;;
   6056   sequent)
   6057     lt_cv_file_magic_cmd='/bin/file'
   6058     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6059     ;;
   6060   sni)
   6061     lt_cv_file_magic_cmd='/bin/file'
   6062     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6063     lt_cv_file_magic_test_file=/lib/libc.so
   6064     ;;
   6065   siemens)
   6066     lt_cv_deplibs_check_method=pass_all
   6067     ;;
   6068   pc)
   6069     lt_cv_deplibs_check_method=pass_all
   6070     ;;
   6071   esac
   6072   ;;
   6073 
   6074 tpf*)
   6075   lt_cv_deplibs_check_method=pass_all
   6076   ;;
   6077 os2*)
   6078   lt_cv_deplibs_check_method=pass_all
   6079   ;;
   6080 esac
   6081 
   6082 fi
   6083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6084 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6085 
   6086 file_magic_glob=
   6087 want_nocaseglob=no
   6088 if test "$build" = "$host"; then
   6089   case $host_os in
   6090   mingw* | pw32*)
   6091     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6092       want_nocaseglob=yes
   6093     else
   6094       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6095     fi
   6096     ;;
   6097   esac
   6098 fi
   6099 
   6100 file_magic_cmd=$lt_cv_file_magic_cmd
   6101 deplibs_check_method=$lt_cv_deplibs_check_method
   6102 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 if test -n "$ac_tool_prefix"; then
   6126   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6127 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6129 printf %s "checking for $ac_word... " >&6; }
   6130 if test ${ac_cv_prog_DLLTOOL+y}
   6131 then :
   6132   printf %s "(cached) " >&6
   6133 else $as_nop
   6134   if test -n "$DLLTOOL"; then
   6135   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6136 else
   6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6138 for as_dir in $PATH
   6139 do
   6140   IFS=$as_save_IFS
   6141   case $as_dir in #(((
   6142     '') as_dir=./ ;;
   6143     */) ;;
   6144     *) as_dir=$as_dir/ ;;
   6145   esac
   6146     for ac_exec_ext in '' $ac_executable_extensions; do
   6147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6148     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6149     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6150     break 2
   6151   fi
   6152 done
   6153   done
   6154 IFS=$as_save_IFS
   6155 
   6156 fi
   6157 fi
   6158 DLLTOOL=$ac_cv_prog_DLLTOOL
   6159 if test -n "$DLLTOOL"; then
   6160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6161 printf "%s\n" "$DLLTOOL" >&6; }
   6162 else
   6163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6164 printf "%s\n" "no" >&6; }
   6165 fi
   6166 
   6167 
   6168 fi
   6169 if test -z "$ac_cv_prog_DLLTOOL"; then
   6170   ac_ct_DLLTOOL=$DLLTOOL
   6171   # Extract the first word of "dlltool", so it can be a program name with args.
   6172 set dummy dlltool; ac_word=$2
   6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6174 printf %s "checking for $ac_word... " >&6; }
   6175 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6176 then :
   6177   printf %s "(cached) " >&6
   6178 else $as_nop
   6179   if test -n "$ac_ct_DLLTOOL"; then
   6180   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6181 else
   6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6183 for as_dir in $PATH
   6184 do
   6185   IFS=$as_save_IFS
   6186   case $as_dir in #(((
   6187     '') as_dir=./ ;;
   6188     */) ;;
   6189     *) as_dir=$as_dir/ ;;
   6190   esac
   6191     for ac_exec_ext in '' $ac_executable_extensions; do
   6192   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6193     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6194     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6195     break 2
   6196   fi
   6197 done
   6198   done
   6199 IFS=$as_save_IFS
   6200 
   6201 fi
   6202 fi
   6203 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6204 if test -n "$ac_ct_DLLTOOL"; then
   6205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6206 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6207 else
   6208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6209 printf "%s\n" "no" >&6; }
   6210 fi
   6211 
   6212   if test "x$ac_ct_DLLTOOL" = x; then
   6213     DLLTOOL="false"
   6214   else
   6215     case $cross_compiling:$ac_tool_warned in
   6216 yes:)
   6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6219 ac_tool_warned=yes ;;
   6220 esac
   6221     DLLTOOL=$ac_ct_DLLTOOL
   6222   fi
   6223 else
   6224   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6225 fi
   6226 
   6227 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6239 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6240 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6241 then :
   6242   printf %s "(cached) " >&6
   6243 else $as_nop
   6244   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6245 
   6246 case $host_os in
   6247 cygwin* | mingw* | pw32* | cegcc*)
   6248   # two different shell functions defined in ltmain.sh;
   6249   # decide which one to use based on capabilities of $DLLTOOL
   6250   case `$DLLTOOL --help 2>&1` in
   6251   *--identify-strict*)
   6252     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6253     ;;
   6254   *)
   6255     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6256     ;;
   6257   esac
   6258   ;;
   6259 *)
   6260   # fallback: assume linklib IS sharedlib
   6261   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6262   ;;
   6263 esac
   6264 
   6265 fi
   6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6267 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6268 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6269 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 if test -n "$ac_tool_prefix"; then
   6279   for ac_prog in ar
   6280   do
   6281     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6282 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6284 printf %s "checking for $ac_word... " >&6; }
   6285 if test ${ac_cv_prog_AR+y}
   6286 then :
   6287   printf %s "(cached) " >&6
   6288 else $as_nop
   6289   if test -n "$AR"; then
   6290   ac_cv_prog_AR="$AR" # Let the user override the test.
   6291 else
   6292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6293 for as_dir in $PATH
   6294 do
   6295   IFS=$as_save_IFS
   6296   case $as_dir in #(((
   6297     '') as_dir=./ ;;
   6298     */) ;;
   6299     *) as_dir=$as_dir/ ;;
   6300   esac
   6301     for ac_exec_ext in '' $ac_executable_extensions; do
   6302   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6303     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6304     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6305     break 2
   6306   fi
   6307 done
   6308   done
   6309 IFS=$as_save_IFS
   6310 
   6311 fi
   6312 fi
   6313 AR=$ac_cv_prog_AR
   6314 if test -n "$AR"; then
   6315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6316 printf "%s\n" "$AR" >&6; }
   6317 else
   6318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6319 printf "%s\n" "no" >&6; }
   6320 fi
   6321 
   6322 
   6323     test -n "$AR" && break
   6324   done
   6325 fi
   6326 if test -z "$AR"; then
   6327   ac_ct_AR=$AR
   6328   for ac_prog in ar
   6329 do
   6330   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6331 set dummy $ac_prog; ac_word=$2
   6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6333 printf %s "checking for $ac_word... " >&6; }
   6334 if test ${ac_cv_prog_ac_ct_AR+y}
   6335 then :
   6336   printf %s "(cached) " >&6
   6337 else $as_nop
   6338   if test -n "$ac_ct_AR"; then
   6339   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6340 else
   6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6342 for as_dir in $PATH
   6343 do
   6344   IFS=$as_save_IFS
   6345   case $as_dir in #(((
   6346     '') as_dir=./ ;;
   6347     */) ;;
   6348     *) as_dir=$as_dir/ ;;
   6349   esac
   6350     for ac_exec_ext in '' $ac_executable_extensions; do
   6351   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6352     ac_cv_prog_ac_ct_AR="$ac_prog"
   6353     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6354     break 2
   6355   fi
   6356 done
   6357   done
   6358 IFS=$as_save_IFS
   6359 
   6360 fi
   6361 fi
   6362 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6363 if test -n "$ac_ct_AR"; then
   6364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6365 printf "%s\n" "$ac_ct_AR" >&6; }
   6366 else
   6367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6368 printf "%s\n" "no" >&6; }
   6369 fi
   6370 
   6371 
   6372   test -n "$ac_ct_AR" && break
   6373 done
   6374 
   6375   if test "x$ac_ct_AR" = x; then
   6376     AR="false"
   6377   else
   6378     case $cross_compiling:$ac_tool_warned in
   6379 yes:)
   6380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6381 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6382 ac_tool_warned=yes ;;
   6383 esac
   6384     AR=$ac_ct_AR
   6385   fi
   6386 fi
   6387 
   6388 : ${AR=ar}
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6396 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6397 # higher priority because thats what people were doing historically (setting
   6398 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6399 # variable obsoleted/removed.
   6400 
   6401 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6402 lt_ar_flags=$AR_FLAGS
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6410 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6418 printf %s "checking for archiver @FILE support... " >&6; }
   6419 if test ${lt_cv_ar_at_file+y}
   6420 then :
   6421   printf %s "(cached) " >&6
   6422 else $as_nop
   6423   lt_cv_ar_at_file=no
   6424    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6425 /* end confdefs.h.  */
   6426 
   6427 int
   6428 main (void)
   6429 {
   6430 
   6431   ;
   6432   return 0;
   6433 }
   6434 _ACEOF
   6435 if ac_fn_c_try_compile "$LINENO"
   6436 then :
   6437   echo conftest.$ac_objext > conftest.lst
   6438       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6439       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6440   (eval $lt_ar_try) 2>&5
   6441   ac_status=$?
   6442   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6443   test $ac_status = 0; }
   6444       if test 0 -eq "$ac_status"; then
   6445 	# Ensure the archiver fails upon bogus file names.
   6446 	rm -f conftest.$ac_objext libconftest.a
   6447 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6448   (eval $lt_ar_try) 2>&5
   6449   ac_status=$?
   6450   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6451   test $ac_status = 0; }
   6452 	if test 0 -ne "$ac_status"; then
   6453           lt_cv_ar_at_file=@
   6454         fi
   6455       fi
   6456       rm -f conftest.* libconftest.a
   6457 
   6458 fi
   6459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6460 
   6461 fi
   6462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6463 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6464 
   6465 if test no = "$lt_cv_ar_at_file"; then
   6466   archiver_list_spec=
   6467 else
   6468   archiver_list_spec=$lt_cv_ar_at_file
   6469 fi
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 if test -n "$ac_tool_prefix"; then
   6478   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6479 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6481 printf %s "checking for $ac_word... " >&6; }
   6482 if test ${ac_cv_prog_STRIP+y}
   6483 then :
   6484   printf %s "(cached) " >&6
   6485 else $as_nop
   6486   if test -n "$STRIP"; then
   6487   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6488 else
   6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6490 for as_dir in $PATH
   6491 do
   6492   IFS=$as_save_IFS
   6493   case $as_dir in #(((
   6494     '') as_dir=./ ;;
   6495     */) ;;
   6496     *) as_dir=$as_dir/ ;;
   6497   esac
   6498     for ac_exec_ext in '' $ac_executable_extensions; do
   6499   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6500     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6501     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6502     break 2
   6503   fi
   6504 done
   6505   done
   6506 IFS=$as_save_IFS
   6507 
   6508 fi
   6509 fi
   6510 STRIP=$ac_cv_prog_STRIP
   6511 if test -n "$STRIP"; then
   6512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6513 printf "%s\n" "$STRIP" >&6; }
   6514 else
   6515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6516 printf "%s\n" "no" >&6; }
   6517 fi
   6518 
   6519 
   6520 fi
   6521 if test -z "$ac_cv_prog_STRIP"; then
   6522   ac_ct_STRIP=$STRIP
   6523   # Extract the first word of "strip", so it can be a program name with args.
   6524 set dummy strip; ac_word=$2
   6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6526 printf %s "checking for $ac_word... " >&6; }
   6527 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6528 then :
   6529   printf %s "(cached) " >&6
   6530 else $as_nop
   6531   if test -n "$ac_ct_STRIP"; then
   6532   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6533 else
   6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6535 for as_dir in $PATH
   6536 do
   6537   IFS=$as_save_IFS
   6538   case $as_dir in #(((
   6539     '') as_dir=./ ;;
   6540     */) ;;
   6541     *) as_dir=$as_dir/ ;;
   6542   esac
   6543     for ac_exec_ext in '' $ac_executable_extensions; do
   6544   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6545     ac_cv_prog_ac_ct_STRIP="strip"
   6546     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6547     break 2
   6548   fi
   6549 done
   6550   done
   6551 IFS=$as_save_IFS
   6552 
   6553 fi
   6554 fi
   6555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6556 if test -n "$ac_ct_STRIP"; then
   6557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6558 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6559 else
   6560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6561 printf "%s\n" "no" >&6; }
   6562 fi
   6563 
   6564   if test "x$ac_ct_STRIP" = x; then
   6565     STRIP=":"
   6566   else
   6567     case $cross_compiling:$ac_tool_warned in
   6568 yes:)
   6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6570 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6571 ac_tool_warned=yes ;;
   6572 esac
   6573     STRIP=$ac_ct_STRIP
   6574   fi
   6575 else
   6576   STRIP="$ac_cv_prog_STRIP"
   6577 fi
   6578 
   6579 test -z "$STRIP" && STRIP=:
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 if test -n "$ac_tool_prefix"; then
   6587   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6588 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6590 printf %s "checking for $ac_word... " >&6; }
   6591 if test ${ac_cv_prog_RANLIB+y}
   6592 then :
   6593   printf %s "(cached) " >&6
   6594 else $as_nop
   6595   if test -n "$RANLIB"; then
   6596   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6597 else
   6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6599 for as_dir in $PATH
   6600 do
   6601   IFS=$as_save_IFS
   6602   case $as_dir in #(((
   6603     '') as_dir=./ ;;
   6604     */) ;;
   6605     *) as_dir=$as_dir/ ;;
   6606   esac
   6607     for ac_exec_ext in '' $ac_executable_extensions; do
   6608   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6609     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6610     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6611     break 2
   6612   fi
   6613 done
   6614   done
   6615 IFS=$as_save_IFS
   6616 
   6617 fi
   6618 fi
   6619 RANLIB=$ac_cv_prog_RANLIB
   6620 if test -n "$RANLIB"; then
   6621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6622 printf "%s\n" "$RANLIB" >&6; }
   6623 else
   6624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6625 printf "%s\n" "no" >&6; }
   6626 fi
   6627 
   6628 
   6629 fi
   6630 if test -z "$ac_cv_prog_RANLIB"; then
   6631   ac_ct_RANLIB=$RANLIB
   6632   # Extract the first word of "ranlib", so it can be a program name with args.
   6633 set dummy ranlib; ac_word=$2
   6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6635 printf %s "checking for $ac_word... " >&6; }
   6636 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6637 then :
   6638   printf %s "(cached) " >&6
   6639 else $as_nop
   6640   if test -n "$ac_ct_RANLIB"; then
   6641   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6642 else
   6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6644 for as_dir in $PATH
   6645 do
   6646   IFS=$as_save_IFS
   6647   case $as_dir in #(((
   6648     '') as_dir=./ ;;
   6649     */) ;;
   6650     *) as_dir=$as_dir/ ;;
   6651   esac
   6652     for ac_exec_ext in '' $ac_executable_extensions; do
   6653   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6654     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6655     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6656     break 2
   6657   fi
   6658 done
   6659   done
   6660 IFS=$as_save_IFS
   6661 
   6662 fi
   6663 fi
   6664 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6665 if test -n "$ac_ct_RANLIB"; then
   6666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6667 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6668 else
   6669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6670 printf "%s\n" "no" >&6; }
   6671 fi
   6672 
   6673   if test "x$ac_ct_RANLIB" = x; then
   6674     RANLIB=":"
   6675   else
   6676     case $cross_compiling:$ac_tool_warned in
   6677 yes:)
   6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6679 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6680 ac_tool_warned=yes ;;
   6681 esac
   6682     RANLIB=$ac_ct_RANLIB
   6683   fi
   6684 else
   6685   RANLIB="$ac_cv_prog_RANLIB"
   6686 fi
   6687 
   6688 test -z "$RANLIB" && RANLIB=:
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 # Determine commands to create old-style static archives.
   6696 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6697 old_postinstall_cmds='chmod 644 $oldlib'
   6698 old_postuninstall_cmds=
   6699 
   6700 if test -n "$RANLIB"; then
   6701   case $host_os in
   6702   bitrig* | openbsd*)
   6703     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6704     ;;
   6705   *)
   6706     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6707     ;;
   6708   esac
   6709   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6710 fi
   6711 
   6712 case $host_os in
   6713   darwin*)
   6714     lock_old_archive_extraction=yes ;;
   6715   *)
   6716     lock_old_archive_extraction=no ;;
   6717 esac
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 # If no C compiler was specified, use CC.
   6758 LTCC=${LTCC-"$CC"}
   6759 
   6760 # If no C compiler flags were specified, use CFLAGS.
   6761 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6762 
   6763 # Allow CC to be a program name with arguments.
   6764 compiler=$CC
   6765 
   6766 
   6767 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6769 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6770 if test ${lt_cv_sys_global_symbol_pipe+y}
   6771 then :
   6772   printf %s "(cached) " >&6
   6773 else $as_nop
   6774 
   6775 # These are sane defaults that work on at least a few old systems.
   6776 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6777 
   6778 # Character class describing NM global symbol codes.
   6779 symcode='[BCDEGRST]'
   6780 
   6781 # Regexp to match symbols that can be accessed directly from C.
   6782 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6783 
   6784 # Define system-specific variables.
   6785 case $host_os in
   6786 aix*)
   6787   symcode='[BCDT]'
   6788   ;;
   6789 cygwin* | mingw* | pw32* | cegcc*)
   6790   symcode='[ABCDGISTW]'
   6791   ;;
   6792 hpux*)
   6793   if test ia64 = "$host_cpu"; then
   6794     symcode='[ABCDEGRST]'
   6795   fi
   6796   ;;
   6797 irix* | nonstopux*)
   6798   symcode='[BCDEGRST]'
   6799   ;;
   6800 osf*)
   6801   symcode='[BCDEGQRST]'
   6802   ;;
   6803 solaris*)
   6804   symcode='[BDRT]'
   6805   ;;
   6806 sco3.2v5*)
   6807   symcode='[DT]'
   6808   ;;
   6809 sysv4.2uw2*)
   6810   symcode='[DT]'
   6811   ;;
   6812 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6813   symcode='[ABDT]'
   6814   ;;
   6815 sysv4)
   6816   symcode='[DFNSTU]'
   6817   ;;
   6818 esac
   6819 
   6820 # If we're using GNU nm, then use its standard symbol codes.
   6821 case `$NM -V 2>&1` in
   6822 *GNU* | *'with BFD'*)
   6823   symcode='[ABCDGIRSTW]' ;;
   6824 esac
   6825 
   6826 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6827   # Gets list of data symbols to import.
   6828   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6829   # Adjust the below global symbol transforms to fixup imported variables.
   6830   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6831   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6832   lt_c_name_lib_hook="\
   6833   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6834   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6835 else
   6836   # Disable hooks by default.
   6837   lt_cv_sys_global_symbol_to_import=
   6838   lt_cdecl_hook=
   6839   lt_c_name_hook=
   6840   lt_c_name_lib_hook=
   6841 fi
   6842 
   6843 # Transform an extracted symbol line into a proper C declaration.
   6844 # Some systems (esp. on ia64) link data and code symbols differently,
   6845 # so use this general approach.
   6846 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6847 $lt_cdecl_hook\
   6848 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6849 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6850 
   6851 # Transform an extracted symbol line into symbol name and symbol address
   6852 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6853 $lt_c_name_hook\
   6854 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6855 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6856 
   6857 # Transform an extracted symbol line into symbol name with lib prefix and
   6858 # symbol address.
   6859 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6860 $lt_c_name_lib_hook\
   6861 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6862 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6863 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6864 
   6865 # Handle CRLF in mingw tool chain
   6866 opt_cr=
   6867 case $build_os in
   6868 mingw*)
   6869   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6870   ;;
   6871 esac
   6872 
   6873 # Try without a prefix underscore, then with it.
   6874 for ac_symprfx in "" "_"; do
   6875 
   6876   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6877   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6878 
   6879   # Write the raw and C identifiers.
   6880   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6881     # Fake it for dumpbin and say T for any non-static function,
   6882     # D for any global variable and I for any imported variable.
   6883     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6884     # which start with @ or ?.
   6885     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6886 "     {last_section=section; section=\$ 3};"\
   6887 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6888 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6889 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6890 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6891 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6892 "     \$ 0!~/External *\|/{next};"\
   6893 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6894 "     {if(hide[section]) next};"\
   6895 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6896 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6897 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6898 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6899 "     ' prfx=^$ac_symprfx"
   6900   else
   6901     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6902   fi
   6903   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6904 
   6905   # Check to see that the pipe works correctly.
   6906   pipe_works=no
   6907 
   6908   rm -f conftest*
   6909   cat > conftest.$ac_ext <<_LT_EOF
   6910 #ifdef __cplusplus
   6911 extern "C" {
   6912 #endif
   6913 char nm_test_var;
   6914 void nm_test_func(void);
   6915 void nm_test_func(void){}
   6916 #ifdef __cplusplus
   6917 }
   6918 #endif
   6919 int main(){nm_test_var='a';nm_test_func();return(0);}
   6920 _LT_EOF
   6921 
   6922   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6923   (eval $ac_compile) 2>&5
   6924   ac_status=$?
   6925   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6926   test $ac_status = 0; }; then
   6927     # Now try to grab the symbols.
   6928     nlist=conftest.nm
   6929     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6930   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6931   ac_status=$?
   6932   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6933   test $ac_status = 0; } && test -s "$nlist"; then
   6934       # Try sorting and uniquifying the output.
   6935       if sort "$nlist" | uniq > "$nlist"T; then
   6936 	mv -f "$nlist"T "$nlist"
   6937       else
   6938 	rm -f "$nlist"T
   6939       fi
   6940 
   6941       # Make sure that we snagged all the symbols we need.
   6942       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6943 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6944 	  cat <<_LT_EOF > conftest.$ac_ext
   6945 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6946 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6947 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6948    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6949 # define LT_DLSYM_CONST
   6950 #elif defined __osf__
   6951 /* This system does not cope well with relocations in const data.  */
   6952 # define LT_DLSYM_CONST
   6953 #else
   6954 # define LT_DLSYM_CONST const
   6955 #endif
   6956 
   6957 #ifdef __cplusplus
   6958 extern "C" {
   6959 #endif
   6960 
   6961 _LT_EOF
   6962 	  # Now generate the symbol file.
   6963 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6964 
   6965 	  cat <<_LT_EOF >> conftest.$ac_ext
   6966 
   6967 /* The mapping between symbol names and symbols.  */
   6968 LT_DLSYM_CONST struct {
   6969   const char *name;
   6970   void       *address;
   6971 }
   6972 lt__PROGRAM__LTX_preloaded_symbols[] =
   6973 {
   6974   { "@PROGRAM@", (void *) 0 },
   6975 _LT_EOF
   6976 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6977 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6978   {0, (void *) 0}
   6979 };
   6980 
   6981 /* This works around a problem in FreeBSD linker */
   6982 #ifdef FREEBSD_WORKAROUND
   6983 static const void *lt_preloaded_setup() {
   6984   return lt__PROGRAM__LTX_preloaded_symbols;
   6985 }
   6986 #endif
   6987 
   6988 #ifdef __cplusplus
   6989 }
   6990 #endif
   6991 _LT_EOF
   6992 	  # Now try linking the two files.
   6993 	  mv conftest.$ac_objext conftstm.$ac_objext
   6994 	  lt_globsym_save_LIBS=$LIBS
   6995 	  lt_globsym_save_CFLAGS=$CFLAGS
   6996 	  LIBS=conftstm.$ac_objext
   6997 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6998 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6999   (eval $ac_link) 2>&5
   7000   ac_status=$?
   7001   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7002   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7003 	    pipe_works=yes
   7004 	  fi
   7005 	  LIBS=$lt_globsym_save_LIBS
   7006 	  CFLAGS=$lt_globsym_save_CFLAGS
   7007 	else
   7008 	  echo "cannot find nm_test_func in $nlist" >&5
   7009 	fi
   7010       else
   7011 	echo "cannot find nm_test_var in $nlist" >&5
   7012       fi
   7013     else
   7014       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7015     fi
   7016   else
   7017     echo "$progname: failed program was:" >&5
   7018     cat conftest.$ac_ext >&5
   7019   fi
   7020   rm -rf conftest* conftst*
   7021 
   7022   # Do not use the global_symbol_pipe unless it works.
   7023   if test yes = "$pipe_works"; then
   7024     break
   7025   else
   7026     lt_cv_sys_global_symbol_pipe=
   7027   fi
   7028 done
   7029 
   7030 fi
   7031 
   7032 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7033   lt_cv_sys_global_symbol_to_cdecl=
   7034 fi
   7035 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7037 printf "%s\n" "failed" >&6; }
   7038 else
   7039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7040 printf "%s\n" "ok" >&6; }
   7041 fi
   7042 
   7043 # Response file support.
   7044 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7045   nm_file_list_spec='@'
   7046 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7047   nm_file_list_spec='@'
   7048 fi
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7087 printf %s "checking for sysroot... " >&6; }
   7088 
   7089 # Check whether --with-sysroot was given.
   7090 if test ${with_sysroot+y}
   7091 then :
   7092   withval=$with_sysroot;
   7093 else $as_nop
   7094   with_sysroot=no
   7095 fi
   7096 
   7097 
   7098 lt_sysroot=
   7099 case $with_sysroot in #(
   7100  yes)
   7101    if test yes = "$GCC"; then
   7102      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7103    fi
   7104    ;; #(
   7105  /*)
   7106    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7107    ;; #(
   7108  no|'')
   7109    ;; #(
   7110  *)
   7111    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7112 printf "%s\n" "$with_sysroot" >&6; }
   7113    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7114    ;;
   7115 esac
   7116 
   7117  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7118 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7125 printf %s "checking for a working dd... " >&6; }
   7126 if test ${ac_cv_path_lt_DD+y}
   7127 then :
   7128   printf %s "(cached) " >&6
   7129 else $as_nop
   7130   printf 0123456789abcdef0123456789abcdef >conftest.i
   7131 cat conftest.i conftest.i >conftest2.i
   7132 : ${lt_DD:=$DD}
   7133 if test -z "$lt_DD"; then
   7134   ac_path_lt_DD_found=false
   7135   # Loop through the user's path and test for each of PROGNAME-LIST
   7136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7137 for as_dir in $PATH
   7138 do
   7139   IFS=$as_save_IFS
   7140   case $as_dir in #(((
   7141     '') as_dir=./ ;;
   7142     */) ;;
   7143     *) as_dir=$as_dir/ ;;
   7144   esac
   7145     for ac_prog in dd
   7146    do
   7147     for ac_exec_ext in '' $ac_executable_extensions; do
   7148       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7149       as_fn_executable_p "$ac_path_lt_DD" || continue
   7150 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7151   cmp -s conftest.i conftest.out \
   7152   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7153 fi
   7154       $ac_path_lt_DD_found && break 3
   7155     done
   7156   done
   7157   done
   7158 IFS=$as_save_IFS
   7159   if test -z "$ac_cv_path_lt_DD"; then
   7160     :
   7161   fi
   7162 else
   7163   ac_cv_path_lt_DD=$lt_DD
   7164 fi
   7165 
   7166 rm -f conftest.i conftest2.i conftest.out
   7167 fi
   7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7169 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7170 
   7171 
   7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7173 printf %s "checking how to truncate binary pipes... " >&6; }
   7174 if test ${lt_cv_truncate_bin+y}
   7175 then :
   7176   printf %s "(cached) " >&6
   7177 else $as_nop
   7178   printf 0123456789abcdef0123456789abcdef >conftest.i
   7179 cat conftest.i conftest.i >conftest2.i
   7180 lt_cv_truncate_bin=
   7181 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7182   cmp -s conftest.i conftest.out \
   7183   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7184 fi
   7185 rm -f conftest.i conftest2.i conftest.out
   7186 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7187 fi
   7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7189 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7198 func_cc_basename ()
   7199 {
   7200     for cc_temp in $*""; do
   7201       case $cc_temp in
   7202         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7203         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7204         \-*) ;;
   7205         *) break;;
   7206       esac
   7207     done
   7208     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7209 }
   7210 
   7211 # Check whether --enable-libtool-lock was given.
   7212 if test ${enable_libtool_lock+y}
   7213 then :
   7214   enableval=$enable_libtool_lock;
   7215 fi
   7216 
   7217 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7218 
   7219 # Some flags need to be propagated to the compiler or linker for good
   7220 # libtool support.
   7221 case $host in
   7222 ia64-*-hpux*)
   7223   # Find out what ABI is being produced by ac_compile, and set mode
   7224   # options accordingly.
   7225   echo 'int i;' > conftest.$ac_ext
   7226   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7227   (eval $ac_compile) 2>&5
   7228   ac_status=$?
   7229   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7230   test $ac_status = 0; }; then
   7231     case `$FILECMD conftest.$ac_objext` in
   7232       *ELF-32*)
   7233 	HPUX_IA64_MODE=32
   7234 	;;
   7235       *ELF-64*)
   7236 	HPUX_IA64_MODE=64
   7237 	;;
   7238     esac
   7239   fi
   7240   rm -rf conftest*
   7241   ;;
   7242 *-*-irix6*)
   7243   # Find out what ABI is being produced by ac_compile, and set linker
   7244   # options accordingly.
   7245   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7246   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7247   (eval $ac_compile) 2>&5
   7248   ac_status=$?
   7249   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7250   test $ac_status = 0; }; then
   7251     if test yes = "$lt_cv_prog_gnu_ld"; then
   7252       case `$FILECMD conftest.$ac_objext` in
   7253 	*32-bit*)
   7254 	  LD="${LD-ld} -melf32bsmip"
   7255 	  ;;
   7256 	*N32*)
   7257 	  LD="${LD-ld} -melf32bmipn32"
   7258 	  ;;
   7259 	*64-bit*)
   7260 	  LD="${LD-ld} -melf64bmip"
   7261 	;;
   7262       esac
   7263     else
   7264       case `$FILECMD conftest.$ac_objext` in
   7265 	*32-bit*)
   7266 	  LD="${LD-ld} -32"
   7267 	  ;;
   7268 	*N32*)
   7269 	  LD="${LD-ld} -n32"
   7270 	  ;;
   7271 	*64-bit*)
   7272 	  LD="${LD-ld} -64"
   7273 	  ;;
   7274       esac
   7275     fi
   7276   fi
   7277   rm -rf conftest*
   7278   ;;
   7279 
   7280 mips64*-*linux*)
   7281   # Find out what ABI is being produced by ac_compile, and set linker
   7282   # options accordingly.
   7283   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7284   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7285   (eval $ac_compile) 2>&5
   7286   ac_status=$?
   7287   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7288   test $ac_status = 0; }; then
   7289     emul=elf
   7290     case `$FILECMD conftest.$ac_objext` in
   7291       *32-bit*)
   7292 	emul="${emul}32"
   7293 	;;
   7294       *64-bit*)
   7295 	emul="${emul}64"
   7296 	;;
   7297     esac
   7298     case `$FILECMD conftest.$ac_objext` in
   7299       *MSB*)
   7300 	emul="${emul}btsmip"
   7301 	;;
   7302       *LSB*)
   7303 	emul="${emul}ltsmip"
   7304 	;;
   7305     esac
   7306     case `$FILECMD conftest.$ac_objext` in
   7307       *N32*)
   7308 	emul="${emul}n32"
   7309 	;;
   7310     esac
   7311     LD="${LD-ld} -m $emul"
   7312   fi
   7313   rm -rf conftest*
   7314   ;;
   7315 
   7316 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7317 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7318   # Find out what ABI is being produced by ac_compile, and set linker
   7319   # options accordingly.  Note that the listed cases only cover the
   7320   # situations where additional linker options are needed (such as when
   7321   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7322   # vice versa); the common cases where no linker options are needed do
   7323   # not appear in the list.
   7324   echo 'int i;' > conftest.$ac_ext
   7325   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7326   (eval $ac_compile) 2>&5
   7327   ac_status=$?
   7328   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7329   test $ac_status = 0; }; then
   7330     case `$FILECMD conftest.o` in
   7331       *32-bit*)
   7332 	case $host in
   7333 	  x86_64-*kfreebsd*-gnu)
   7334 	    LD="${LD-ld} -m elf_i386_fbsd"
   7335 	    ;;
   7336 	  x86_64-*linux*)
   7337 	    case `$FILECMD conftest.o` in
   7338 	      *x86-64*)
   7339 		LD="${LD-ld} -m elf32_x86_64"
   7340 		;;
   7341 	      *)
   7342 		LD="${LD-ld} -m elf_i386"
   7343 		;;
   7344 	    esac
   7345 	    ;;
   7346 	  powerpc64le-*linux*)
   7347 	    LD="${LD-ld} -m elf32lppclinux"
   7348 	    ;;
   7349 	  powerpc64-*linux*)
   7350 	    LD="${LD-ld} -m elf32ppclinux"
   7351 	    ;;
   7352 	  s390x-*linux*)
   7353 	    LD="${LD-ld} -m elf_s390"
   7354 	    ;;
   7355 	  sparc64-*linux*)
   7356 	    LD="${LD-ld} -m elf32_sparc"
   7357 	    ;;
   7358 	esac
   7359 	;;
   7360       *64-bit*)
   7361 	case $host in
   7362 	  x86_64-*kfreebsd*-gnu)
   7363 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7364 	    ;;
   7365 	  x86_64-*linux*)
   7366 	    LD="${LD-ld} -m elf_x86_64"
   7367 	    ;;
   7368 	  powerpcle-*linux*)
   7369 	    LD="${LD-ld} -m elf64lppc"
   7370 	    ;;
   7371 	  powerpc-*linux*)
   7372 	    LD="${LD-ld} -m elf64ppc"
   7373 	    ;;
   7374 	  s390*-*linux*|s390*-*tpf*)
   7375 	    LD="${LD-ld} -m elf64_s390"
   7376 	    ;;
   7377 	  sparc*-*linux*)
   7378 	    LD="${LD-ld} -m elf64_sparc"
   7379 	    ;;
   7380 	esac
   7381 	;;
   7382     esac
   7383   fi
   7384   rm -rf conftest*
   7385   ;;
   7386 
   7387 *-*-sco3.2v5*)
   7388   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7389   SAVE_CFLAGS=$CFLAGS
   7390   CFLAGS="$CFLAGS -belf"
   7391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7392 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7393 if test ${lt_cv_cc_needs_belf+y}
   7394 then :
   7395   printf %s "(cached) " >&6
   7396 else $as_nop
   7397   ac_ext=c
   7398 ac_cpp='$CPP $CPPFLAGS'
   7399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7402 
   7403      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7404 /* end confdefs.h.  */
   7405 
   7406 int
   7407 main (void)
   7408 {
   7409 
   7410   ;
   7411   return 0;
   7412 }
   7413 _ACEOF
   7414 if ac_fn_c_try_link "$LINENO"
   7415 then :
   7416   lt_cv_cc_needs_belf=yes
   7417 else $as_nop
   7418   lt_cv_cc_needs_belf=no
   7419 fi
   7420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7421     conftest$ac_exeext conftest.$ac_ext
   7422      ac_ext=c
   7423 ac_cpp='$CPP $CPPFLAGS'
   7424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7427 
   7428 fi
   7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7430 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7431   if test yes != "$lt_cv_cc_needs_belf"; then
   7432     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7433     CFLAGS=$SAVE_CFLAGS
   7434   fi
   7435   ;;
   7436 *-*solaris*)
   7437   # Find out what ABI is being produced by ac_compile, and set linker
   7438   # options accordingly.
   7439   echo 'int i;' > conftest.$ac_ext
   7440   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7441   (eval $ac_compile) 2>&5
   7442   ac_status=$?
   7443   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7444   test $ac_status = 0; }; then
   7445     case `$FILECMD conftest.o` in
   7446     *64-bit*)
   7447       case $lt_cv_prog_gnu_ld in
   7448       yes*)
   7449         case $host in
   7450         i?86-*-solaris*|x86_64-*-solaris*)
   7451           LD="${LD-ld} -m elf_x86_64"
   7452           ;;
   7453         sparc*-*-solaris*)
   7454           LD="${LD-ld} -m elf64_sparc"
   7455           ;;
   7456         esac
   7457         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7458         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7459           LD=${LD-ld}_sol2
   7460         fi
   7461         ;;
   7462       *)
   7463 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7464 	  LD="${LD-ld} -64"
   7465 	fi
   7466 	;;
   7467       esac
   7468       ;;
   7469     esac
   7470   fi
   7471   rm -rf conftest*
   7472   ;;
   7473 esac
   7474 
   7475 need_locks=$enable_libtool_lock
   7476 
   7477 if test -n "$ac_tool_prefix"; then
   7478   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7479 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7481 printf %s "checking for $ac_word... " >&6; }
   7482 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7483 then :
   7484   printf %s "(cached) " >&6
   7485 else $as_nop
   7486   if test -n "$MANIFEST_TOOL"; then
   7487   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7488 else
   7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7490 for as_dir in $PATH
   7491 do
   7492   IFS=$as_save_IFS
   7493   case $as_dir in #(((
   7494     '') as_dir=./ ;;
   7495     */) ;;
   7496     *) as_dir=$as_dir/ ;;
   7497   esac
   7498     for ac_exec_ext in '' $ac_executable_extensions; do
   7499   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7500     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7501     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7502     break 2
   7503   fi
   7504 done
   7505   done
   7506 IFS=$as_save_IFS
   7507 
   7508 fi
   7509 fi
   7510 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7511 if test -n "$MANIFEST_TOOL"; then
   7512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7513 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7514 else
   7515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7516 printf "%s\n" "no" >&6; }
   7517 fi
   7518 
   7519 
   7520 fi
   7521 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7522   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7523   # Extract the first word of "mt", so it can be a program name with args.
   7524 set dummy mt; ac_word=$2
   7525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7526 printf %s "checking for $ac_word... " >&6; }
   7527 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7528 then :
   7529   printf %s "(cached) " >&6
   7530 else $as_nop
   7531   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7532   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7533 else
   7534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7535 for as_dir in $PATH
   7536 do
   7537   IFS=$as_save_IFS
   7538   case $as_dir in #(((
   7539     '') as_dir=./ ;;
   7540     */) ;;
   7541     *) as_dir=$as_dir/ ;;
   7542   esac
   7543     for ac_exec_ext in '' $ac_executable_extensions; do
   7544   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7545     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7546     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7547     break 2
   7548   fi
   7549 done
   7550   done
   7551 IFS=$as_save_IFS
   7552 
   7553 fi
   7554 fi
   7555 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7556 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7558 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7559 else
   7560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7561 printf "%s\n" "no" >&6; }
   7562 fi
   7563 
   7564   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7565     MANIFEST_TOOL=":"
   7566   else
   7567     case $cross_compiling:$ac_tool_warned in
   7568 yes:)
   7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7570 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7571 ac_tool_warned=yes ;;
   7572 esac
   7573     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7574   fi
   7575 else
   7576   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7577 fi
   7578 
   7579 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7581 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7582 if test ${lt_cv_path_mainfest_tool+y}
   7583 then :
   7584   printf %s "(cached) " >&6
   7585 else $as_nop
   7586   lt_cv_path_mainfest_tool=no
   7587   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7588   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7589   cat conftest.err >&5
   7590   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7591     lt_cv_path_mainfest_tool=yes
   7592   fi
   7593   rm -f conftest*
   7594 fi
   7595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7596 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7597 if test yes != "$lt_cv_path_mainfest_tool"; then
   7598   MANIFEST_TOOL=:
   7599 fi
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606   case $host_os in
   7607     rhapsody* | darwin*)
   7608     if test -n "$ac_tool_prefix"; then
   7609   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7610 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7612 printf %s "checking for $ac_word... " >&6; }
   7613 if test ${ac_cv_prog_DSYMUTIL+y}
   7614 then :
   7615   printf %s "(cached) " >&6
   7616 else $as_nop
   7617   if test -n "$DSYMUTIL"; then
   7618   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7619 else
   7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7621 for as_dir in $PATH
   7622 do
   7623   IFS=$as_save_IFS
   7624   case $as_dir in #(((
   7625     '') as_dir=./ ;;
   7626     */) ;;
   7627     *) as_dir=$as_dir/ ;;
   7628   esac
   7629     for ac_exec_ext in '' $ac_executable_extensions; do
   7630   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7631     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7632     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7633     break 2
   7634   fi
   7635 done
   7636   done
   7637 IFS=$as_save_IFS
   7638 
   7639 fi
   7640 fi
   7641 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7642 if test -n "$DSYMUTIL"; then
   7643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7644 printf "%s\n" "$DSYMUTIL" >&6; }
   7645 else
   7646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7647 printf "%s\n" "no" >&6; }
   7648 fi
   7649 
   7650 
   7651 fi
   7652 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7653   ac_ct_DSYMUTIL=$DSYMUTIL
   7654   # Extract the first word of "dsymutil", so it can be a program name with args.
   7655 set dummy dsymutil; ac_word=$2
   7656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7657 printf %s "checking for $ac_word... " >&6; }
   7658 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7659 then :
   7660   printf %s "(cached) " >&6
   7661 else $as_nop
   7662   if test -n "$ac_ct_DSYMUTIL"; then
   7663   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7664 else
   7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7666 for as_dir in $PATH
   7667 do
   7668   IFS=$as_save_IFS
   7669   case $as_dir in #(((
   7670     '') as_dir=./ ;;
   7671     */) ;;
   7672     *) as_dir=$as_dir/ ;;
   7673   esac
   7674     for ac_exec_ext in '' $ac_executable_extensions; do
   7675   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7676     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7677     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7678     break 2
   7679   fi
   7680 done
   7681   done
   7682 IFS=$as_save_IFS
   7683 
   7684 fi
   7685 fi
   7686 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7687 if test -n "$ac_ct_DSYMUTIL"; then
   7688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7689 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7690 else
   7691   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7692 printf "%s\n" "no" >&6; }
   7693 fi
   7694 
   7695   if test "x$ac_ct_DSYMUTIL" = x; then
   7696     DSYMUTIL=":"
   7697   else
   7698     case $cross_compiling:$ac_tool_warned in
   7699 yes:)
   7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7701 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7702 ac_tool_warned=yes ;;
   7703 esac
   7704     DSYMUTIL=$ac_ct_DSYMUTIL
   7705   fi
   7706 else
   7707   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7708 fi
   7709 
   7710     if test -n "$ac_tool_prefix"; then
   7711   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7712 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7714 printf %s "checking for $ac_word... " >&6; }
   7715 if test ${ac_cv_prog_NMEDIT+y}
   7716 then :
   7717   printf %s "(cached) " >&6
   7718 else $as_nop
   7719   if test -n "$NMEDIT"; then
   7720   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7721 else
   7722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7723 for as_dir in $PATH
   7724 do
   7725   IFS=$as_save_IFS
   7726   case $as_dir in #(((
   7727     '') as_dir=./ ;;
   7728     */) ;;
   7729     *) as_dir=$as_dir/ ;;
   7730   esac
   7731     for ac_exec_ext in '' $ac_executable_extensions; do
   7732   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7733     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7734     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7735     break 2
   7736   fi
   7737 done
   7738   done
   7739 IFS=$as_save_IFS
   7740 
   7741 fi
   7742 fi
   7743 NMEDIT=$ac_cv_prog_NMEDIT
   7744 if test -n "$NMEDIT"; then
   7745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7746 printf "%s\n" "$NMEDIT" >&6; }
   7747 else
   7748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7749 printf "%s\n" "no" >&6; }
   7750 fi
   7751 
   7752 
   7753 fi
   7754 if test -z "$ac_cv_prog_NMEDIT"; then
   7755   ac_ct_NMEDIT=$NMEDIT
   7756   # Extract the first word of "nmedit", so it can be a program name with args.
   7757 set dummy nmedit; ac_word=$2
   7758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7759 printf %s "checking for $ac_word... " >&6; }
   7760 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7761 then :
   7762   printf %s "(cached) " >&6
   7763 else $as_nop
   7764   if test -n "$ac_ct_NMEDIT"; then
   7765   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7766 else
   7767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7768 for as_dir in $PATH
   7769 do
   7770   IFS=$as_save_IFS
   7771   case $as_dir in #(((
   7772     '') as_dir=./ ;;
   7773     */) ;;
   7774     *) as_dir=$as_dir/ ;;
   7775   esac
   7776     for ac_exec_ext in '' $ac_executable_extensions; do
   7777   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7778     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7779     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7780     break 2
   7781   fi
   7782 done
   7783   done
   7784 IFS=$as_save_IFS
   7785 
   7786 fi
   7787 fi
   7788 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7789 if test -n "$ac_ct_NMEDIT"; then
   7790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7791 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7792 else
   7793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7794 printf "%s\n" "no" >&6; }
   7795 fi
   7796 
   7797   if test "x$ac_ct_NMEDIT" = x; then
   7798     NMEDIT=":"
   7799   else
   7800     case $cross_compiling:$ac_tool_warned in
   7801 yes:)
   7802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7803 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7804 ac_tool_warned=yes ;;
   7805 esac
   7806     NMEDIT=$ac_ct_NMEDIT
   7807   fi
   7808 else
   7809   NMEDIT="$ac_cv_prog_NMEDIT"
   7810 fi
   7811 
   7812     if test -n "$ac_tool_prefix"; then
   7813   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7814 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7816 printf %s "checking for $ac_word... " >&6; }
   7817 if test ${ac_cv_prog_LIPO+y}
   7818 then :
   7819   printf %s "(cached) " >&6
   7820 else $as_nop
   7821   if test -n "$LIPO"; then
   7822   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7823 else
   7824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7825 for as_dir in $PATH
   7826 do
   7827   IFS=$as_save_IFS
   7828   case $as_dir in #(((
   7829     '') as_dir=./ ;;
   7830     */) ;;
   7831     *) as_dir=$as_dir/ ;;
   7832   esac
   7833     for ac_exec_ext in '' $ac_executable_extensions; do
   7834   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7835     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7836     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7837     break 2
   7838   fi
   7839 done
   7840   done
   7841 IFS=$as_save_IFS
   7842 
   7843 fi
   7844 fi
   7845 LIPO=$ac_cv_prog_LIPO
   7846 if test -n "$LIPO"; then
   7847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7848 printf "%s\n" "$LIPO" >&6; }
   7849 else
   7850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7851 printf "%s\n" "no" >&6; }
   7852 fi
   7853 
   7854 
   7855 fi
   7856 if test -z "$ac_cv_prog_LIPO"; then
   7857   ac_ct_LIPO=$LIPO
   7858   # Extract the first word of "lipo", so it can be a program name with args.
   7859 set dummy lipo; ac_word=$2
   7860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7861 printf %s "checking for $ac_word... " >&6; }
   7862 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7863 then :
   7864   printf %s "(cached) " >&6
   7865 else $as_nop
   7866   if test -n "$ac_ct_LIPO"; then
   7867   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7868 else
   7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7870 for as_dir in $PATH
   7871 do
   7872   IFS=$as_save_IFS
   7873   case $as_dir in #(((
   7874     '') as_dir=./ ;;
   7875     */) ;;
   7876     *) as_dir=$as_dir/ ;;
   7877   esac
   7878     for ac_exec_ext in '' $ac_executable_extensions; do
   7879   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7880     ac_cv_prog_ac_ct_LIPO="lipo"
   7881     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7882     break 2
   7883   fi
   7884 done
   7885   done
   7886 IFS=$as_save_IFS
   7887 
   7888 fi
   7889 fi
   7890 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7891 if test -n "$ac_ct_LIPO"; then
   7892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7893 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7894 else
   7895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7896 printf "%s\n" "no" >&6; }
   7897 fi
   7898 
   7899   if test "x$ac_ct_LIPO" = x; then
   7900     LIPO=":"
   7901   else
   7902     case $cross_compiling:$ac_tool_warned in
   7903 yes:)
   7904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7905 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7906 ac_tool_warned=yes ;;
   7907 esac
   7908     LIPO=$ac_ct_LIPO
   7909   fi
   7910 else
   7911   LIPO="$ac_cv_prog_LIPO"
   7912 fi
   7913 
   7914     if test -n "$ac_tool_prefix"; then
   7915   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7916 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7918 printf %s "checking for $ac_word... " >&6; }
   7919 if test ${ac_cv_prog_OTOOL+y}
   7920 then :
   7921   printf %s "(cached) " >&6
   7922 else $as_nop
   7923   if test -n "$OTOOL"; then
   7924   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7925 else
   7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7927 for as_dir in $PATH
   7928 do
   7929   IFS=$as_save_IFS
   7930   case $as_dir in #(((
   7931     '') as_dir=./ ;;
   7932     */) ;;
   7933     *) as_dir=$as_dir/ ;;
   7934   esac
   7935     for ac_exec_ext in '' $ac_executable_extensions; do
   7936   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7937     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7938     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7939     break 2
   7940   fi
   7941 done
   7942   done
   7943 IFS=$as_save_IFS
   7944 
   7945 fi
   7946 fi
   7947 OTOOL=$ac_cv_prog_OTOOL
   7948 if test -n "$OTOOL"; then
   7949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7950 printf "%s\n" "$OTOOL" >&6; }
   7951 else
   7952   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7953 printf "%s\n" "no" >&6; }
   7954 fi
   7955 
   7956 
   7957 fi
   7958 if test -z "$ac_cv_prog_OTOOL"; then
   7959   ac_ct_OTOOL=$OTOOL
   7960   # Extract the first word of "otool", so it can be a program name with args.
   7961 set dummy otool; ac_word=$2
   7962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7963 printf %s "checking for $ac_word... " >&6; }
   7964 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7965 then :
   7966   printf %s "(cached) " >&6
   7967 else $as_nop
   7968   if test -n "$ac_ct_OTOOL"; then
   7969   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7970 else
   7971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7972 for as_dir in $PATH
   7973 do
   7974   IFS=$as_save_IFS
   7975   case $as_dir in #(((
   7976     '') as_dir=./ ;;
   7977     */) ;;
   7978     *) as_dir=$as_dir/ ;;
   7979   esac
   7980     for ac_exec_ext in '' $ac_executable_extensions; do
   7981   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7982     ac_cv_prog_ac_ct_OTOOL="otool"
   7983     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7984     break 2
   7985   fi
   7986 done
   7987   done
   7988 IFS=$as_save_IFS
   7989 
   7990 fi
   7991 fi
   7992 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7993 if test -n "$ac_ct_OTOOL"; then
   7994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7995 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   7996 else
   7997   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7998 printf "%s\n" "no" >&6; }
   7999 fi
   8000 
   8001   if test "x$ac_ct_OTOOL" = x; then
   8002     OTOOL=":"
   8003   else
   8004     case $cross_compiling:$ac_tool_warned in
   8005 yes:)
   8006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8007 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8008 ac_tool_warned=yes ;;
   8009 esac
   8010     OTOOL=$ac_ct_OTOOL
   8011   fi
   8012 else
   8013   OTOOL="$ac_cv_prog_OTOOL"
   8014 fi
   8015 
   8016     if test -n "$ac_tool_prefix"; then
   8017   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8018 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8020 printf %s "checking for $ac_word... " >&6; }
   8021 if test ${ac_cv_prog_OTOOL64+y}
   8022 then :
   8023   printf %s "(cached) " >&6
   8024 else $as_nop
   8025   if test -n "$OTOOL64"; then
   8026   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8027 else
   8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8029 for as_dir in $PATH
   8030 do
   8031   IFS=$as_save_IFS
   8032   case $as_dir in #(((
   8033     '') as_dir=./ ;;
   8034     */) ;;
   8035     *) as_dir=$as_dir/ ;;
   8036   esac
   8037     for ac_exec_ext in '' $ac_executable_extensions; do
   8038   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8039     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8040     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8041     break 2
   8042   fi
   8043 done
   8044   done
   8045 IFS=$as_save_IFS
   8046 
   8047 fi
   8048 fi
   8049 OTOOL64=$ac_cv_prog_OTOOL64
   8050 if test -n "$OTOOL64"; then
   8051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8052 printf "%s\n" "$OTOOL64" >&6; }
   8053 else
   8054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8055 printf "%s\n" "no" >&6; }
   8056 fi
   8057 
   8058 
   8059 fi
   8060 if test -z "$ac_cv_prog_OTOOL64"; then
   8061   ac_ct_OTOOL64=$OTOOL64
   8062   # Extract the first word of "otool64", so it can be a program name with args.
   8063 set dummy otool64; ac_word=$2
   8064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8065 printf %s "checking for $ac_word... " >&6; }
   8066 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8067 then :
   8068   printf %s "(cached) " >&6
   8069 else $as_nop
   8070   if test -n "$ac_ct_OTOOL64"; then
   8071   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8072 else
   8073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8074 for as_dir in $PATH
   8075 do
   8076   IFS=$as_save_IFS
   8077   case $as_dir in #(((
   8078     '') as_dir=./ ;;
   8079     */) ;;
   8080     *) as_dir=$as_dir/ ;;
   8081   esac
   8082     for ac_exec_ext in '' $ac_executable_extensions; do
   8083   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8084     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8085     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8086     break 2
   8087   fi
   8088 done
   8089   done
   8090 IFS=$as_save_IFS
   8091 
   8092 fi
   8093 fi
   8094 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8095 if test -n "$ac_ct_OTOOL64"; then
   8096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8097 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8098 else
   8099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8100 printf "%s\n" "no" >&6; }
   8101 fi
   8102 
   8103   if test "x$ac_ct_OTOOL64" = x; then
   8104     OTOOL64=":"
   8105   else
   8106     case $cross_compiling:$ac_tool_warned in
   8107 yes:)
   8108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8109 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8110 ac_tool_warned=yes ;;
   8111 esac
   8112     OTOOL64=$ac_ct_OTOOL64
   8113   fi
   8114 else
   8115   OTOOL64="$ac_cv_prog_OTOOL64"
   8116 fi
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8145 printf %s "checking for -single_module linker flag... " >&6; }
   8146 if test ${lt_cv_apple_cc_single_mod+y}
   8147 then :
   8148   printf %s "(cached) " >&6
   8149 else $as_nop
   8150   lt_cv_apple_cc_single_mod=no
   8151       if test -z "$LT_MULTI_MODULE"; then
   8152 	# By default we will add the -single_module flag. You can override
   8153 	# by either setting the environment variable LT_MULTI_MODULE
   8154 	# non-empty at configure time, or by adding -multi_module to the
   8155 	# link flags.
   8156 	rm -rf libconftest.dylib*
   8157 	echo "int foo(void){return 1;}" > conftest.c
   8158 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8159 -dynamiclib -Wl,-single_module conftest.c" >&5
   8160 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8161 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8162         _lt_result=$?
   8163 	# If there is a non-empty error log, and "single_module"
   8164 	# appears in it, assume the flag caused a linker warning
   8165         if test -s conftest.err && $GREP single_module conftest.err; then
   8166 	  cat conftest.err >&5
   8167 	# Otherwise, if the output was created with a 0 exit code from
   8168 	# the compiler, it worked.
   8169 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8170 	  lt_cv_apple_cc_single_mod=yes
   8171 	else
   8172 	  cat conftest.err >&5
   8173 	fi
   8174 	rm -rf libconftest.dylib*
   8175 	rm -f conftest.*
   8176       fi
   8177 fi
   8178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8179 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8180 
   8181     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8182 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8183 if test ${lt_cv_ld_exported_symbols_list+y}
   8184 then :
   8185   printf %s "(cached) " >&6
   8186 else $as_nop
   8187   lt_cv_ld_exported_symbols_list=no
   8188       save_LDFLAGS=$LDFLAGS
   8189       echo "_main" > conftest.sym
   8190       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8192 /* end confdefs.h.  */
   8193 
   8194 int
   8195 main (void)
   8196 {
   8197 
   8198   ;
   8199   return 0;
   8200 }
   8201 _ACEOF
   8202 if ac_fn_c_try_link "$LINENO"
   8203 then :
   8204   lt_cv_ld_exported_symbols_list=yes
   8205 else $as_nop
   8206   lt_cv_ld_exported_symbols_list=no
   8207 fi
   8208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8209     conftest$ac_exeext conftest.$ac_ext
   8210 	LDFLAGS=$save_LDFLAGS
   8211 
   8212 fi
   8213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8214 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8215 
   8216     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8217 printf %s "checking for -force_load linker flag... " >&6; }
   8218 if test ${lt_cv_ld_force_load+y}
   8219 then :
   8220   printf %s "(cached) " >&6
   8221 else $as_nop
   8222   lt_cv_ld_force_load=no
   8223       cat > conftest.c << _LT_EOF
   8224 int forced_loaded() { return 2;}
   8225 _LT_EOF
   8226       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8227       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8228       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8229       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8230       echo "$RANLIB libconftest.a" >&5
   8231       $RANLIB libconftest.a 2>&5
   8232       cat > conftest.c << _LT_EOF
   8233 int main() { return 0;}
   8234 _LT_EOF
   8235       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8236       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8237       _lt_result=$?
   8238       if test -s conftest.err && $GREP force_load conftest.err; then
   8239 	cat conftest.err >&5
   8240       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8241 	lt_cv_ld_force_load=yes
   8242       else
   8243 	cat conftest.err >&5
   8244       fi
   8245         rm -f conftest.err libconftest.a conftest conftest.c
   8246         rm -rf conftest.dSYM
   8247 
   8248 fi
   8249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8250 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8251     case $host_os in
   8252     rhapsody* | darwin1.[012])
   8253       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8254     darwin1.*)
   8255       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8256     darwin*)
   8257       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8258         10.[012],*|,*powerpc*-darwin[5-8]*)
   8259           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8260         *)
   8261           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8262       esac
   8263     ;;
   8264   esac
   8265     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8266       _lt_dar_single_mod='$single_module'
   8267     fi
   8268     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8269       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8270     else
   8271       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8272     fi
   8273     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8274       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8275     else
   8276       _lt_dsymutil=
   8277     fi
   8278     ;;
   8279   esac
   8280 
   8281 # func_munge_path_list VARIABLE PATH
   8282 # -----------------------------------
   8283 # VARIABLE is name of variable containing _space_ separated list of
   8284 # directories to be munged by the contents of PATH, which is string
   8285 # having a format:
   8286 # "DIR[:DIR]:"
   8287 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8288 # ":DIR[:DIR]"
   8289 #       string "DIR[ DIR]" will be appended to VARIABLE
   8290 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8291 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8292 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8293 # "DIR[:DIR]"
   8294 #       VARIABLE will be replaced by "DIR[ DIR]"
   8295 func_munge_path_list ()
   8296 {
   8297     case x$2 in
   8298     x)
   8299         ;;
   8300     *:)
   8301         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8302         ;;
   8303     x:*)
   8304         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8305         ;;
   8306     *::*)
   8307         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8308         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8309         ;;
   8310     *)
   8311         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8312         ;;
   8313     esac
   8314 }
   8315 
   8316 ac_header= ac_cache=
   8317 for ac_item in $ac_header_c_list
   8318 do
   8319   if test $ac_cache; then
   8320     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8321     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8322       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8323     fi
   8324     ac_header= ac_cache=
   8325   elif test $ac_header; then
   8326     ac_cache=$ac_item
   8327   else
   8328     ac_header=$ac_item
   8329   fi
   8330 done
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8340 then :
   8341 
   8342 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8343 
   8344 fi
   8345 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8346 "
   8347 if test "x$ac_cv_header_dlfcn_h" = xyes
   8348 then :
   8349   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8350 
   8351 fi
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 # Set options
   8358 
   8359 
   8360 
   8361         enable_dlopen=no
   8362 
   8363 
   8364   enable_win32_dll=no
   8365 
   8366 
   8367             # Check whether --enable-shared was given.
   8368 if test ${enable_shared+y}
   8369 then :
   8370   enableval=$enable_shared; p=${PACKAGE-default}
   8371     case $enableval in
   8372     yes) enable_shared=yes ;;
   8373     no) enable_shared=no ;;
   8374     *)
   8375       enable_shared=no
   8376       # Look at the argument we got.  We use all the common list separators.
   8377       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8378       for pkg in $enableval; do
   8379 	IFS=$lt_save_ifs
   8380 	if test "X$pkg" = "X$p"; then
   8381 	  enable_shared=yes
   8382 	fi
   8383       done
   8384       IFS=$lt_save_ifs
   8385       ;;
   8386     esac
   8387 else $as_nop
   8388   enable_shared=yes
   8389 fi
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399   # Check whether --enable-static was given.
   8400 if test ${enable_static+y}
   8401 then :
   8402   enableval=$enable_static; p=${PACKAGE-default}
   8403     case $enableval in
   8404     yes) enable_static=yes ;;
   8405     no) enable_static=no ;;
   8406     *)
   8407      enable_static=no
   8408       # Look at the argument we got.  We use all the common list separators.
   8409       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8410       for pkg in $enableval; do
   8411 	IFS=$lt_save_ifs
   8412 	if test "X$pkg" = "X$p"; then
   8413 	  enable_static=yes
   8414 	fi
   8415       done
   8416       IFS=$lt_save_ifs
   8417       ;;
   8418     esac
   8419 else $as_nop
   8420   enable_static=yes
   8421 fi
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 # Check whether --with-pic was given.
   8433 if test ${with_pic+y}
   8434 then :
   8435   withval=$with_pic; lt_p=${PACKAGE-default}
   8436     case $withval in
   8437     yes|no) pic_mode=$withval ;;
   8438     *)
   8439       pic_mode=default
   8440       # Look at the argument we got.  We use all the common list separators.
   8441       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8442       for lt_pkg in $withval; do
   8443 	IFS=$lt_save_ifs
   8444 	if test "X$lt_pkg" = "X$lt_p"; then
   8445 	  pic_mode=yes
   8446 	fi
   8447       done
   8448       IFS=$lt_save_ifs
   8449       ;;
   8450     esac
   8451 else $as_nop
   8452   pic_mode=default
   8453 fi
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462   # Check whether --enable-fast-install was given.
   8463 if test ${enable_fast_install+y}
   8464 then :
   8465   enableval=$enable_fast_install; p=${PACKAGE-default}
   8466     case $enableval in
   8467     yes) enable_fast_install=yes ;;
   8468     no) enable_fast_install=no ;;
   8469     *)
   8470       enable_fast_install=no
   8471       # Look at the argument we got.  We use all the common list separators.
   8472       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8473       for pkg in $enableval; do
   8474 	IFS=$lt_save_ifs
   8475 	if test "X$pkg" = "X$p"; then
   8476 	  enable_fast_install=yes
   8477 	fi
   8478       done
   8479       IFS=$lt_save_ifs
   8480       ;;
   8481     esac
   8482 else $as_nop
   8483   enable_fast_install=yes
   8484 fi
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493   shared_archive_member_spec=
   8494 case $host,$enable_shared in
   8495 power*-*-aix[5-9]*,yes)
   8496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8497 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8498 
   8499 # Check whether --with-aix-soname was given.
   8500 if test ${with_aix_soname+y}
   8501 then :
   8502   withval=$with_aix_soname; case $withval in
   8503     aix|svr4|both)
   8504       ;;
   8505     *)
   8506       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8507       ;;
   8508     esac
   8509     lt_cv_with_aix_soname=$with_aix_soname
   8510 else $as_nop
   8511   if test ${lt_cv_with_aix_soname+y}
   8512 then :
   8513   printf %s "(cached) " >&6
   8514 else $as_nop
   8515   lt_cv_with_aix_soname=aix
   8516 fi
   8517 
   8518     with_aix_soname=$lt_cv_with_aix_soname
   8519 fi
   8520 
   8521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8522 printf "%s\n" "$with_aix_soname" >&6; }
   8523   if test aix != "$with_aix_soname"; then
   8524     # For the AIX way of multilib, we name the shared archive member
   8525     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8526     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8527     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8528     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8529     if test 64 = "${OBJECT_MODE-32}"; then
   8530       shared_archive_member_spec=shr_64
   8531     else
   8532       shared_archive_member_spec=shr
   8533     fi
   8534   fi
   8535   ;;
   8536 *)
   8537   with_aix_soname=aix
   8538   ;;
   8539 esac
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 # This can be used to rebuild libtool when needed
   8551 LIBTOOL_DEPS=$ltmain
   8552 
   8553 # Always use our own libtool.
   8554 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 test -z "$LN_S" && LN_S="ln -s"
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 if test -n "${ZSH_VERSION+set}"; then
   8601    setopt NO_GLOB_SUBST
   8602 fi
   8603 
   8604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8605 printf %s "checking for objdir... " >&6; }
   8606 if test ${lt_cv_objdir+y}
   8607 then :
   8608   printf %s "(cached) " >&6
   8609 else $as_nop
   8610   rm -f .libs 2>/dev/null
   8611 mkdir .libs 2>/dev/null
   8612 if test -d .libs; then
   8613   lt_cv_objdir=.libs
   8614 else
   8615   # MS-DOS does not allow filenames that begin with a dot.
   8616   lt_cv_objdir=_libs
   8617 fi
   8618 rmdir .libs 2>/dev/null
   8619 fi
   8620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8621 printf "%s\n" "$lt_cv_objdir" >&6; }
   8622 objdir=$lt_cv_objdir
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8629 
   8630 
   8631 
   8632 
   8633 case $host_os in
   8634 aix3*)
   8635   # AIX sometimes has problems with the GCC collect2 program.  For some
   8636   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8637   # vanish in a puff of smoke.
   8638   if test set != "${COLLECT_NAMES+set}"; then
   8639     COLLECT_NAMES=
   8640     export COLLECT_NAMES
   8641   fi
   8642   ;;
   8643 esac
   8644 
   8645 # Global variables:
   8646 ofile=libtool
   8647 can_build_shared=yes
   8648 
   8649 # All known linkers require a '.a' archive for static linking (except MSVC and
   8650 # ICC, which need '.lib').
   8651 libext=a
   8652 
   8653 with_gnu_ld=$lt_cv_prog_gnu_ld
   8654 
   8655 old_CC=$CC
   8656 old_CFLAGS=$CFLAGS
   8657 
   8658 # Set sane defaults for various variables
   8659 test -z "$CC" && CC=cc
   8660 test -z "$LTCC" && LTCC=$CC
   8661 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8662 test -z "$LD" && LD=ld
   8663 test -z "$ac_objext" && ac_objext=o
   8664 
   8665 func_cc_basename $compiler
   8666 cc_basename=$func_cc_basename_result
   8667 
   8668 
   8669 # Only perform the check for file, if the check method requires it
   8670 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8671 case $deplibs_check_method in
   8672 file_magic*)
   8673   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8674     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8675 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8676 if test ${lt_cv_path_MAGIC_CMD+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else $as_nop
   8680   case $MAGIC_CMD in
   8681 [\\/*] |  ?:[\\/]*)
   8682   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8683   ;;
   8684 *)
   8685   lt_save_MAGIC_CMD=$MAGIC_CMD
   8686   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8687   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8688   for ac_dir in $ac_dummy; do
   8689     IFS=$lt_save_ifs
   8690     test -z "$ac_dir" && ac_dir=.
   8691     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8692       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8693       if test -n "$file_magic_test_file"; then
   8694 	case $deplibs_check_method in
   8695 	"file_magic "*)
   8696 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8697 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8698 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8699 	    $EGREP "$file_magic_regex" > /dev/null; then
   8700 	    :
   8701 	  else
   8702 	    cat <<_LT_EOF 1>&2
   8703 
   8704 *** Warning: the command libtool uses to detect shared libraries,
   8705 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8706 *** The result is that libtool may fail to recognize shared libraries
   8707 *** as such.  This will affect the creation of libtool libraries that
   8708 *** depend on shared libraries, but programs linked with such libtool
   8709 *** libraries will work regardless of this problem.  Nevertheless, you
   8710 *** may want to report the problem to your system manager and/or to
   8711 *** bug-libtool@gnu.org
   8712 
   8713 _LT_EOF
   8714 	  fi ;;
   8715 	esac
   8716       fi
   8717       break
   8718     fi
   8719   done
   8720   IFS=$lt_save_ifs
   8721   MAGIC_CMD=$lt_save_MAGIC_CMD
   8722   ;;
   8723 esac
   8724 fi
   8725 
   8726 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8727 if test -n "$MAGIC_CMD"; then
   8728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8729 printf "%s\n" "$MAGIC_CMD" >&6; }
   8730 else
   8731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8732 printf "%s\n" "no" >&6; }
   8733 fi
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8740   if test -n "$ac_tool_prefix"; then
   8741     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8742 printf %s "checking for file... " >&6; }
   8743 if test ${lt_cv_path_MAGIC_CMD+y}
   8744 then :
   8745   printf %s "(cached) " >&6
   8746 else $as_nop
   8747   case $MAGIC_CMD in
   8748 [\\/*] |  ?:[\\/]*)
   8749   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8750   ;;
   8751 *)
   8752   lt_save_MAGIC_CMD=$MAGIC_CMD
   8753   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8754   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8755   for ac_dir in $ac_dummy; do
   8756     IFS=$lt_save_ifs
   8757     test -z "$ac_dir" && ac_dir=.
   8758     if test -f "$ac_dir/file"; then
   8759       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8760       if test -n "$file_magic_test_file"; then
   8761 	case $deplibs_check_method in
   8762 	"file_magic "*)
   8763 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8764 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8765 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8766 	    $EGREP "$file_magic_regex" > /dev/null; then
   8767 	    :
   8768 	  else
   8769 	    cat <<_LT_EOF 1>&2
   8770 
   8771 *** Warning: the command libtool uses to detect shared libraries,
   8772 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8773 *** The result is that libtool may fail to recognize shared libraries
   8774 *** as such.  This will affect the creation of libtool libraries that
   8775 *** depend on shared libraries, but programs linked with such libtool
   8776 *** libraries will work regardless of this problem.  Nevertheless, you
   8777 *** may want to report the problem to your system manager and/or to
   8778 *** bug-libtool@gnu.org
   8779 
   8780 _LT_EOF
   8781 	  fi ;;
   8782 	esac
   8783       fi
   8784       break
   8785     fi
   8786   done
   8787   IFS=$lt_save_ifs
   8788   MAGIC_CMD=$lt_save_MAGIC_CMD
   8789   ;;
   8790 esac
   8791 fi
   8792 
   8793 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8794 if test -n "$MAGIC_CMD"; then
   8795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8796 printf "%s\n" "$MAGIC_CMD" >&6; }
   8797 else
   8798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8799 printf "%s\n" "no" >&6; }
   8800 fi
   8801 
   8802 
   8803   else
   8804     MAGIC_CMD=:
   8805   fi
   8806 fi
   8807 
   8808   fi
   8809   ;;
   8810 esac
   8811 
   8812 # Use C for the default configuration in the libtool script
   8813 
   8814 lt_save_CC=$CC
   8815 ac_ext=c
   8816 ac_cpp='$CPP $CPPFLAGS'
   8817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8820 
   8821 
   8822 # Source file extension for C test sources.
   8823 ac_ext=c
   8824 
   8825 # Object file extension for compiled C test sources.
   8826 objext=o
   8827 objext=$objext
   8828 
   8829 # Code to be used in simple compile tests
   8830 lt_simple_compile_test_code="int some_variable = 0;"
   8831 
   8832 # Code to be used in simple link tests
   8833 lt_simple_link_test_code='int main(){return(0);}'
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 # If no C compiler was specified, use CC.
   8842 LTCC=${LTCC-"$CC"}
   8843 
   8844 # If no C compiler flags were specified, use CFLAGS.
   8845 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8846 
   8847 # Allow CC to be a program name with arguments.
   8848 compiler=$CC
   8849 
   8850 # Save the default compiler, since it gets overwritten when the other
   8851 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8852 compiler_DEFAULT=$CC
   8853 
   8854 # save warnings/boilerplate of simple test code
   8855 ac_outfile=conftest.$ac_objext
   8856 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8857 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8858 _lt_compiler_boilerplate=`cat conftest.err`
   8859 $RM conftest*
   8860 
   8861 ac_outfile=conftest.$ac_objext
   8862 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8863 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8864 _lt_linker_boilerplate=`cat conftest.err`
   8865 $RM -r conftest*
   8866 
   8867 
   8868 if test -n "$compiler"; then
   8869 
   8870 lt_prog_compiler_no_builtin_flag=
   8871 
   8872 if test yes = "$GCC"; then
   8873   case $cc_basename in
   8874   nvcc*)
   8875     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8876   *)
   8877     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8878   esac
   8879 
   8880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8881 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8882 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8883 then :
   8884   printf %s "(cached) " >&6
   8885 else $as_nop
   8886   lt_cv_prog_compiler_rtti_exceptions=no
   8887    ac_outfile=conftest.$ac_objext
   8888    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8889    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8890    # Insert the option either (1) after the last *FLAGS variable, or
   8891    # (2) before a word containing "conftest.", or (3) at the end.
   8892    # Note that $ac_compile itself does not contain backslashes and begins
   8893    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8894    # The option is referenced via a variable to avoid confusing sed.
   8895    lt_compile=`echo "$ac_compile" | $SED \
   8896    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8897    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8898    -e 's:$: $lt_compiler_flag:'`
   8899    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8900    (eval "$lt_compile" 2>conftest.err)
   8901    ac_status=$?
   8902    cat conftest.err >&5
   8903    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8904    if (exit $ac_status) && test -s "$ac_outfile"; then
   8905      # The compiler can only warn and ignore the option if not recognized
   8906      # So say no if there are warnings other than the usual output.
   8907      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8908      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8909      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8910        lt_cv_prog_compiler_rtti_exceptions=yes
   8911      fi
   8912    fi
   8913    $RM conftest*
   8914 
   8915 fi
   8916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8917 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8918 
   8919 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8920     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8921 else
   8922     :
   8923 fi
   8924 
   8925 fi
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932   lt_prog_compiler_wl=
   8933 lt_prog_compiler_pic=
   8934 lt_prog_compiler_static=
   8935 
   8936 
   8937   if test yes = "$GCC"; then
   8938     lt_prog_compiler_wl='-Wl,'
   8939     lt_prog_compiler_static='-static'
   8940 
   8941     case $host_os in
   8942       aix*)
   8943       # All AIX code is PIC.
   8944       if test ia64 = "$host_cpu"; then
   8945 	# AIX 5 now supports IA64 processor
   8946 	lt_prog_compiler_static='-Bstatic'
   8947       fi
   8948       lt_prog_compiler_pic='-fPIC'
   8949       ;;
   8950 
   8951     amigaos*)
   8952       case $host_cpu in
   8953       powerpc)
   8954             # see comment about AmigaOS4 .so support
   8955             lt_prog_compiler_pic='-fPIC'
   8956         ;;
   8957       m68k)
   8958             # FIXME: we need at least 68020 code to build shared libraries, but
   8959             # adding the '-m68020' flag to GCC prevents building anything better,
   8960             # like '-m68040'.
   8961             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8962         ;;
   8963       esac
   8964       ;;
   8965 
   8966     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8967       # PIC is the default for these OSes.
   8968       ;;
   8969 
   8970     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8971       # This hack is so that the source file can tell whether it is being
   8972       # built for inclusion in a dll (and should export symbols for example).
   8973       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8974       # (--disable-auto-import) libraries
   8975       lt_prog_compiler_pic='-DDLL_EXPORT'
   8976       case $host_os in
   8977       os2*)
   8978 	lt_prog_compiler_static='$wl-static'
   8979 	;;
   8980       esac
   8981       ;;
   8982 
   8983     darwin* | rhapsody*)
   8984       # PIC is the default on this platform
   8985       # Common symbols not allowed in MH_DYLIB files
   8986       lt_prog_compiler_pic='-fno-common'
   8987       ;;
   8988 
   8989     haiku*)
   8990       # PIC is the default for Haiku.
   8991       # The "-static" flag exists, but is broken.
   8992       lt_prog_compiler_static=
   8993       ;;
   8994 
   8995     hpux*)
   8996       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8997       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8998       # sets the default TLS model and affects inlining.
   8999       case $host_cpu in
   9000       hppa*64*)
   9001 	# +Z the default
   9002 	;;
   9003       *)
   9004 	lt_prog_compiler_pic='-fPIC'
   9005 	;;
   9006       esac
   9007       ;;
   9008 
   9009     interix[3-9]*)
   9010       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9011       # Instead, we relocate shared libraries at runtime.
   9012       ;;
   9013 
   9014     msdosdjgpp*)
   9015       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9016       # on systems that don't support them.
   9017       lt_prog_compiler_can_build_shared=no
   9018       enable_shared=no
   9019       ;;
   9020 
   9021     *nto* | *qnx*)
   9022       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9023       # it will coredump.
   9024       lt_prog_compiler_pic='-fPIC -shared'
   9025       ;;
   9026 
   9027     sysv4*MP*)
   9028       if test -d /usr/nec; then
   9029 	lt_prog_compiler_pic=-Kconform_pic
   9030       fi
   9031       ;;
   9032 
   9033     *)
   9034       lt_prog_compiler_pic='-fPIC'
   9035       ;;
   9036     esac
   9037 
   9038     case $cc_basename in
   9039     nvcc*) # Cuda Compiler Driver 2.2
   9040       lt_prog_compiler_wl='-Xlinker '
   9041       if test -n "$lt_prog_compiler_pic"; then
   9042         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9043       fi
   9044       ;;
   9045     esac
   9046   else
   9047     # PORTME Check for flag to pass linker flags through the system compiler.
   9048     case $host_os in
   9049     aix*)
   9050       lt_prog_compiler_wl='-Wl,'
   9051       if test ia64 = "$host_cpu"; then
   9052 	# AIX 5 now supports IA64 processor
   9053 	lt_prog_compiler_static='-Bstatic'
   9054       else
   9055 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9056       fi
   9057       ;;
   9058 
   9059     darwin* | rhapsody*)
   9060       # PIC is the default on this platform
   9061       # Common symbols not allowed in MH_DYLIB files
   9062       lt_prog_compiler_pic='-fno-common'
   9063       case $cc_basename in
   9064       nagfor*)
   9065         # NAG Fortran compiler
   9066         lt_prog_compiler_wl='-Wl,-Wl,,'
   9067         lt_prog_compiler_pic='-PIC'
   9068         lt_prog_compiler_static='-Bstatic'
   9069         ;;
   9070       esac
   9071       ;;
   9072 
   9073     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9074       # This hack is so that the source file can tell whether it is being
   9075       # built for inclusion in a dll (and should export symbols for example).
   9076       lt_prog_compiler_pic='-DDLL_EXPORT'
   9077       case $host_os in
   9078       os2*)
   9079 	lt_prog_compiler_static='$wl-static'
   9080 	;;
   9081       esac
   9082       ;;
   9083 
   9084     hpux9* | hpux10* | hpux11*)
   9085       lt_prog_compiler_wl='-Wl,'
   9086       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9087       # not for PA HP-UX.
   9088       case $host_cpu in
   9089       hppa*64*|ia64*)
   9090 	# +Z the default
   9091 	;;
   9092       *)
   9093 	lt_prog_compiler_pic='+Z'
   9094 	;;
   9095       esac
   9096       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9097       lt_prog_compiler_static='$wl-a ${wl}archive'
   9098       ;;
   9099 
   9100     irix5* | irix6* | nonstopux*)
   9101       lt_prog_compiler_wl='-Wl,'
   9102       # PIC (with -KPIC) is the default.
   9103       lt_prog_compiler_static='-non_shared'
   9104       ;;
   9105 
   9106     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9107       case $cc_basename in
   9108       # old Intel for x86_64, which still supported -KPIC.
   9109       ecc*)
   9110 	lt_prog_compiler_wl='-Wl,'
   9111 	lt_prog_compiler_pic='-KPIC'
   9112 	lt_prog_compiler_static='-static'
   9113         ;;
   9114       # icc used to be incompatible with GCC.
   9115       # ICC 10 doesn't accept -KPIC any more.
   9116       icc* | ifort*)
   9117 	lt_prog_compiler_wl='-Wl,'
   9118 	lt_prog_compiler_pic='-fPIC'
   9119 	lt_prog_compiler_static='-static'
   9120         ;;
   9121       # Lahey Fortran 8.1.
   9122       lf95*)
   9123 	lt_prog_compiler_wl='-Wl,'
   9124 	lt_prog_compiler_pic='--shared'
   9125 	lt_prog_compiler_static='--static'
   9126 	;;
   9127       nagfor*)
   9128 	# NAG Fortran compiler
   9129 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9130 	lt_prog_compiler_pic='-PIC'
   9131 	lt_prog_compiler_static='-Bstatic'
   9132 	;;
   9133       tcc*)
   9134 	# Fabrice Bellard et al's Tiny C Compiler
   9135 	lt_prog_compiler_wl='-Wl,'
   9136 	lt_prog_compiler_pic='-fPIC'
   9137 	lt_prog_compiler_static='-static'
   9138 	;;
   9139       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9140         # Portland Group compilers (*not* the Pentium gcc compiler,
   9141 	# which looks to be a dead project)
   9142 	lt_prog_compiler_wl='-Wl,'
   9143 	lt_prog_compiler_pic='-fpic'
   9144 	lt_prog_compiler_static='-Bstatic'
   9145         ;;
   9146       ccc*)
   9147         lt_prog_compiler_wl='-Wl,'
   9148         # All Alpha code is PIC.
   9149         lt_prog_compiler_static='-non_shared'
   9150         ;;
   9151       xl* | bgxl* | bgf* | mpixl*)
   9152 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9153 	lt_prog_compiler_wl='-Wl,'
   9154 	lt_prog_compiler_pic='-qpic'
   9155 	lt_prog_compiler_static='-qstaticlink'
   9156 	;;
   9157       *)
   9158 	case `$CC -V 2>&1 | $SED 5q` in
   9159 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9160 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9161 	  lt_prog_compiler_pic='-KPIC'
   9162 	  lt_prog_compiler_static='-Bstatic'
   9163 	  lt_prog_compiler_wl=''
   9164 	  ;;
   9165 	*Sun\ F* | *Sun*Fortran*)
   9166 	  lt_prog_compiler_pic='-KPIC'
   9167 	  lt_prog_compiler_static='-Bstatic'
   9168 	  lt_prog_compiler_wl='-Qoption ld '
   9169 	  ;;
   9170 	*Sun\ C*)
   9171 	  # Sun C 5.9
   9172 	  lt_prog_compiler_pic='-KPIC'
   9173 	  lt_prog_compiler_static='-Bstatic'
   9174 	  lt_prog_compiler_wl='-Wl,'
   9175 	  ;;
   9176         *Intel*\ [CF]*Compiler*)
   9177 	  lt_prog_compiler_wl='-Wl,'
   9178 	  lt_prog_compiler_pic='-fPIC'
   9179 	  lt_prog_compiler_static='-static'
   9180 	  ;;
   9181 	*Portland\ Group*)
   9182 	  lt_prog_compiler_wl='-Wl,'
   9183 	  lt_prog_compiler_pic='-fpic'
   9184 	  lt_prog_compiler_static='-Bstatic'
   9185 	  ;;
   9186 	esac
   9187 	;;
   9188       esac
   9189       ;;
   9190 
   9191     newsos6)
   9192       lt_prog_compiler_pic='-KPIC'
   9193       lt_prog_compiler_static='-Bstatic'
   9194       ;;
   9195 
   9196     *nto* | *qnx*)
   9197       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9198       # it will coredump.
   9199       lt_prog_compiler_pic='-fPIC -shared'
   9200       ;;
   9201 
   9202     osf3* | osf4* | osf5*)
   9203       lt_prog_compiler_wl='-Wl,'
   9204       # All OSF/1 code is PIC.
   9205       lt_prog_compiler_static='-non_shared'
   9206       ;;
   9207 
   9208     rdos*)
   9209       lt_prog_compiler_static='-non_shared'
   9210       ;;
   9211 
   9212     solaris*)
   9213       lt_prog_compiler_pic='-KPIC'
   9214       lt_prog_compiler_static='-Bstatic'
   9215       case $cc_basename in
   9216       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9217 	lt_prog_compiler_wl='-Qoption ld ';;
   9218       *)
   9219 	lt_prog_compiler_wl='-Wl,';;
   9220       esac
   9221       ;;
   9222 
   9223     sunos4*)
   9224       lt_prog_compiler_wl='-Qoption ld '
   9225       lt_prog_compiler_pic='-PIC'
   9226       lt_prog_compiler_static='-Bstatic'
   9227       ;;
   9228 
   9229     sysv4 | sysv4.2uw2* | sysv4.3*)
   9230       lt_prog_compiler_wl='-Wl,'
   9231       lt_prog_compiler_pic='-KPIC'
   9232       lt_prog_compiler_static='-Bstatic'
   9233       ;;
   9234 
   9235     sysv4*MP*)
   9236       if test -d /usr/nec; then
   9237 	lt_prog_compiler_pic='-Kconform_pic'
   9238 	lt_prog_compiler_static='-Bstatic'
   9239       fi
   9240       ;;
   9241 
   9242     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9243       lt_prog_compiler_wl='-Wl,'
   9244       lt_prog_compiler_pic='-KPIC'
   9245       lt_prog_compiler_static='-Bstatic'
   9246       ;;
   9247 
   9248     unicos*)
   9249       lt_prog_compiler_wl='-Wl,'
   9250       lt_prog_compiler_can_build_shared=no
   9251       ;;
   9252 
   9253     uts4*)
   9254       lt_prog_compiler_pic='-pic'
   9255       lt_prog_compiler_static='-Bstatic'
   9256       ;;
   9257 
   9258     *)
   9259       lt_prog_compiler_can_build_shared=no
   9260       ;;
   9261     esac
   9262   fi
   9263 
   9264 case $host_os in
   9265   # For platforms that do not support PIC, -DPIC is meaningless:
   9266   *djgpp*)
   9267     lt_prog_compiler_pic=
   9268     ;;
   9269   *)
   9270     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9271     ;;
   9272 esac
   9273 
   9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9275 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9276 if test ${lt_cv_prog_compiler_pic+y}
   9277 then :
   9278   printf %s "(cached) " >&6
   9279 else $as_nop
   9280   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9281 fi
   9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9283 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9284 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9285 
   9286 #
   9287 # Check to make sure the PIC flag actually works.
   9288 #
   9289 if test -n "$lt_prog_compiler_pic"; then
   9290   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9291 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9292 if test ${lt_cv_prog_compiler_pic_works+y}
   9293 then :
   9294   printf %s "(cached) " >&6
   9295 else $as_nop
   9296   lt_cv_prog_compiler_pic_works=no
   9297    ac_outfile=conftest.$ac_objext
   9298    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9299    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9300    # Insert the option either (1) after the last *FLAGS variable, or
   9301    # (2) before a word containing "conftest.", or (3) at the end.
   9302    # Note that $ac_compile itself does not contain backslashes and begins
   9303    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9304    # The option is referenced via a variable to avoid confusing sed.
   9305    lt_compile=`echo "$ac_compile" | $SED \
   9306    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9307    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9308    -e 's:$: $lt_compiler_flag:'`
   9309    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9310    (eval "$lt_compile" 2>conftest.err)
   9311    ac_status=$?
   9312    cat conftest.err >&5
   9313    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9314    if (exit $ac_status) && test -s "$ac_outfile"; then
   9315      # The compiler can only warn and ignore the option if not recognized
   9316      # So say no if there are warnings other than the usual output.
   9317      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9318      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9319      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9320        lt_cv_prog_compiler_pic_works=yes
   9321      fi
   9322    fi
   9323    $RM conftest*
   9324 
   9325 fi
   9326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9327 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9328 
   9329 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9330     case $lt_prog_compiler_pic in
   9331      "" | " "*) ;;
   9332      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9333      esac
   9334 else
   9335     lt_prog_compiler_pic=
   9336      lt_prog_compiler_can_build_shared=no
   9337 fi
   9338 
   9339 fi
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 #
   9352 # Check to make sure the static flag actually works.
   9353 #
   9354 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9356 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9357 if test ${lt_cv_prog_compiler_static_works+y}
   9358 then :
   9359   printf %s "(cached) " >&6
   9360 else $as_nop
   9361   lt_cv_prog_compiler_static_works=no
   9362    save_LDFLAGS=$LDFLAGS
   9363    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9364    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9365    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9366      # The linker can only warn and ignore the option if not recognized
   9367      # So say no if there are warnings
   9368      if test -s conftest.err; then
   9369        # Append any errors to the config.log.
   9370        cat conftest.err 1>&5
   9371        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9372        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9373        if diff conftest.exp conftest.er2 >/dev/null; then
   9374          lt_cv_prog_compiler_static_works=yes
   9375        fi
   9376      else
   9377        lt_cv_prog_compiler_static_works=yes
   9378      fi
   9379    fi
   9380    $RM -r conftest*
   9381    LDFLAGS=$save_LDFLAGS
   9382 
   9383 fi
   9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9385 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9386 
   9387 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9388     :
   9389 else
   9390     lt_prog_compiler_static=
   9391 fi
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9400 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9401 if test ${lt_cv_prog_compiler_c_o+y}
   9402 then :
   9403   printf %s "(cached) " >&6
   9404 else $as_nop
   9405   lt_cv_prog_compiler_c_o=no
   9406    $RM -r conftest 2>/dev/null
   9407    mkdir conftest
   9408    cd conftest
   9409    mkdir out
   9410    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9411 
   9412    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9413    # Insert the option either (1) after the last *FLAGS variable, or
   9414    # (2) before a word containing "conftest.", or (3) at the end.
   9415    # Note that $ac_compile itself does not contain backslashes and begins
   9416    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9417    lt_compile=`echo "$ac_compile" | $SED \
   9418    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9419    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9420    -e 's:$: $lt_compiler_flag:'`
   9421    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9422    (eval "$lt_compile" 2>out/conftest.err)
   9423    ac_status=$?
   9424    cat out/conftest.err >&5
   9425    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9426    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9427    then
   9428      # The compiler can only warn and ignore the option if not recognized
   9429      # So say no if there are warnings
   9430      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9431      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9432      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9433        lt_cv_prog_compiler_c_o=yes
   9434      fi
   9435    fi
   9436    chmod u+w . 2>&5
   9437    $RM conftest*
   9438    # SGI C++ compiler will create directory out/ii_files/ for
   9439    # template instantiation
   9440    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9441    $RM out/* && rmdir out
   9442    cd ..
   9443    $RM -r conftest
   9444    $RM conftest*
   9445 
   9446 fi
   9447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9448 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9456 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9457 if test ${lt_cv_prog_compiler_c_o+y}
   9458 then :
   9459   printf %s "(cached) " >&6
   9460 else $as_nop
   9461   lt_cv_prog_compiler_c_o=no
   9462    $RM -r conftest 2>/dev/null
   9463    mkdir conftest
   9464    cd conftest
   9465    mkdir out
   9466    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9467 
   9468    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9469    # Insert the option either (1) after the last *FLAGS variable, or
   9470    # (2) before a word containing "conftest.", or (3) at the end.
   9471    # Note that $ac_compile itself does not contain backslashes and begins
   9472    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9473    lt_compile=`echo "$ac_compile" | $SED \
   9474    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9475    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9476    -e 's:$: $lt_compiler_flag:'`
   9477    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9478    (eval "$lt_compile" 2>out/conftest.err)
   9479    ac_status=$?
   9480    cat out/conftest.err >&5
   9481    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9482    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9483    then
   9484      # The compiler can only warn and ignore the option if not recognized
   9485      # So say no if there are warnings
   9486      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9487      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9488      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9489        lt_cv_prog_compiler_c_o=yes
   9490      fi
   9491    fi
   9492    chmod u+w . 2>&5
   9493    $RM conftest*
   9494    # SGI C++ compiler will create directory out/ii_files/ for
   9495    # template instantiation
   9496    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9497    $RM out/* && rmdir out
   9498    cd ..
   9499    $RM -r conftest
   9500    $RM conftest*
   9501 
   9502 fi
   9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9504 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9505 
   9506 
   9507 
   9508 
   9509 hard_links=nottested
   9510 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9511   # do not overwrite the value of need_locks provided by the user
   9512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9513 printf %s "checking if we can lock with hard links... " >&6; }
   9514   hard_links=yes
   9515   $RM conftest*
   9516   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9517   touch conftest.a
   9518   ln conftest.a conftest.b 2>&5 || hard_links=no
   9519   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9521 printf "%s\n" "$hard_links" >&6; }
   9522   if test no = "$hard_links"; then
   9523     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9524 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9525     need_locks=warn
   9526   fi
   9527 else
   9528   need_locks=no
   9529 fi
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9537 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9538 
   9539   runpath_var=
   9540   allow_undefined_flag=
   9541   always_export_symbols=no
   9542   archive_cmds=
   9543   archive_expsym_cmds=
   9544   compiler_needs_object=no
   9545   enable_shared_with_static_runtimes=no
   9546   export_dynamic_flag_spec=
   9547   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9548   hardcode_automatic=no
   9549   hardcode_direct=no
   9550   hardcode_direct_absolute=no
   9551   hardcode_libdir_flag_spec=
   9552   hardcode_libdir_separator=
   9553   hardcode_minus_L=no
   9554   hardcode_shlibpath_var=unsupported
   9555   inherit_rpath=no
   9556   link_all_deplibs=unknown
   9557   module_cmds=
   9558   module_expsym_cmds=
   9559   old_archive_from_new_cmds=
   9560   old_archive_from_expsyms_cmds=
   9561   thread_safe_flag_spec=
   9562   whole_archive_flag_spec=
   9563   # include_expsyms should be a list of space-separated symbols to be *always*
   9564   # included in the symbol list
   9565   include_expsyms=
   9566   # exclude_expsyms can be an extended regexp of symbols to exclude
   9567   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9568   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9569   # as well as any symbol that contains 'd'.
   9570   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9571   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9572   # platforms (ab)use it in PIC code, but their linkers get confused if
   9573   # the symbol is explicitly referenced.  Since portable code cannot
   9574   # rely on this symbol name, it's probably fine to never include it in
   9575   # preloaded symbol tables.
   9576   # Exclude shared library initialization/finalization symbols.
   9577   extract_expsyms_cmds=
   9578 
   9579   case $host_os in
   9580   cygwin* | mingw* | pw32* | cegcc*)
   9581     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9582     # When not using gcc, we currently assume that we are using
   9583     # Microsoft Visual C++ or Intel C++ Compiler.
   9584     if test yes != "$GCC"; then
   9585       with_gnu_ld=no
   9586     fi
   9587     ;;
   9588   interix*)
   9589     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9590     with_gnu_ld=yes
   9591     ;;
   9592   openbsd* | bitrig*)
   9593     with_gnu_ld=no
   9594     ;;
   9595   esac
   9596 
   9597   ld_shlibs=yes
   9598 
   9599   # On some targets, GNU ld is compatible enough with the native linker
   9600   # that we're better off using the native interface for both.
   9601   lt_use_gnu_ld_interface=no
   9602   if test yes = "$with_gnu_ld"; then
   9603     case $host_os in
   9604       aix*)
   9605 	# The AIX port of GNU ld has always aspired to compatibility
   9606 	# with the native linker.  However, as the warning in the GNU ld
   9607 	# block says, versions before 2.19.5* couldn't really create working
   9608 	# shared libraries, regardless of the interface used.
   9609 	case `$LD -v 2>&1` in
   9610 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9611 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9612 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9613 	  *)
   9614 	    lt_use_gnu_ld_interface=yes
   9615 	    ;;
   9616 	esac
   9617 	;;
   9618       *)
   9619 	lt_use_gnu_ld_interface=yes
   9620 	;;
   9621     esac
   9622   fi
   9623 
   9624   if test yes = "$lt_use_gnu_ld_interface"; then
   9625     # If archive_cmds runs LD, not CC, wlarc should be empty
   9626     wlarc='$wl'
   9627 
   9628     # Set some defaults for GNU ld with shared library support. These
   9629     # are reset later if shared libraries are not supported. Putting them
   9630     # here allows them to be overridden if necessary.
   9631     runpath_var=LD_RUN_PATH
   9632     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9633     export_dynamic_flag_spec='$wl--export-dynamic'
   9634     # ancient GNU ld didn't support --whole-archive et. al.
   9635     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9636       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9637     else
   9638       whole_archive_flag_spec=
   9639     fi
   9640     supports_anon_versioning=no
   9641     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9642       *GNU\ gold*) supports_anon_versioning=yes ;;
   9643       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9644       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9645       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9646       *\ 2.11.*) ;; # other 2.11 versions
   9647       *) supports_anon_versioning=yes ;;
   9648     esac
   9649 
   9650     # See if GNU ld supports shared libraries.
   9651     case $host_os in
   9652     aix[3-9]*)
   9653       # On AIX/PPC, the GNU linker is very broken
   9654       if test ia64 != "$host_cpu"; then
   9655 	ld_shlibs=no
   9656 	cat <<_LT_EOF 1>&2
   9657 
   9658 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9659 *** to be unable to reliably create shared libraries on AIX.
   9660 *** Therefore, libtool is disabling shared libraries support.  If you
   9661 *** really care for shared libraries, you may want to install binutils
   9662 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9663 *** You will then need to restart the configuration process.
   9664 
   9665 _LT_EOF
   9666       fi
   9667       ;;
   9668 
   9669     amigaos*)
   9670       case $host_cpu in
   9671       powerpc)
   9672             # see comment about AmigaOS4 .so support
   9673             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9674             archive_expsym_cmds=''
   9675         ;;
   9676       m68k)
   9677             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)'
   9678             hardcode_libdir_flag_spec='-L$libdir'
   9679             hardcode_minus_L=yes
   9680         ;;
   9681       esac
   9682       ;;
   9683 
   9684     beos*)
   9685       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9686 	allow_undefined_flag=unsupported
   9687 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9688 	# support --undefined.  This deserves some investigation.  FIXME
   9689 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9690       else
   9691 	ld_shlibs=no
   9692       fi
   9693       ;;
   9694 
   9695     cygwin* | mingw* | pw32* | cegcc*)
   9696       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9697       # as there is no search path for DLLs.
   9698       hardcode_libdir_flag_spec='-L$libdir'
   9699       export_dynamic_flag_spec='$wl--export-all-symbols'
   9700       allow_undefined_flag=unsupported
   9701       always_export_symbols=no
   9702       enable_shared_with_static_runtimes=yes
   9703       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'
   9704       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9705 
   9706       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9707         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9708 	# If the export-symbols file already is a .def file, use it as
   9709 	# is; otherwise, prepend EXPORTS...
   9710 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9711           cp $export_symbols $output_objdir/$soname.def;
   9712         else
   9713           echo EXPORTS > $output_objdir/$soname.def;
   9714           cat $export_symbols >> $output_objdir/$soname.def;
   9715         fi~
   9716         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9717       else
   9718 	ld_shlibs=no
   9719       fi
   9720       ;;
   9721 
   9722     haiku*)
   9723       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9724       link_all_deplibs=yes
   9725       ;;
   9726 
   9727     os2*)
   9728       hardcode_libdir_flag_spec='-L$libdir'
   9729       hardcode_minus_L=yes
   9730       allow_undefined_flag=unsupported
   9731       shrext_cmds=.dll
   9732       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9733 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9734 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9735 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9736 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9737 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9738 	emximp -o $lib $output_objdir/$libname.def'
   9739       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9740 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9741 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9742 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9743 	prefix_cmds="$SED"~
   9744 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9745 	  prefix_cmds="$prefix_cmds -e 1d";
   9746 	fi~
   9747 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9748 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9749 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9750 	emximp -o $lib $output_objdir/$libname.def'
   9751       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9752       enable_shared_with_static_runtimes=yes
   9753       file_list_spec='@'
   9754       ;;
   9755 
   9756     interix[3-9]*)
   9757       hardcode_direct=no
   9758       hardcode_shlibpath_var=no
   9759       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9760       export_dynamic_flag_spec='$wl-E'
   9761       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9762       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9763       # default) and relocated if they conflict, which is a slow very memory
   9764       # consuming and fragmenting process.  To avoid this, we pick a random,
   9765       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9766       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9767       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9768       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'
   9769       ;;
   9770 
   9771     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9772       tmp_diet=no
   9773       if test linux-dietlibc = "$host_os"; then
   9774 	case $cc_basename in
   9775 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9776 	esac
   9777       fi
   9778       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9779 	 && test no = "$tmp_diet"
   9780       then
   9781 	tmp_addflag=' $pic_flag'
   9782 	tmp_sharedflag='-shared'
   9783 	case $cc_basename,$host_cpu in
   9784         pgcc*)				# Portland Group C compiler
   9785 	  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'
   9786 	  tmp_addflag=' $pic_flag'
   9787 	  ;;
   9788 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9789 					# Portland Group f77 and f90 compilers
   9790 	  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'
   9791 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9792 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9793 	  tmp_addflag=' -i_dynamic' ;;
   9794 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9795 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9796 	ifc* | ifort*)			# Intel Fortran compiler
   9797 	  tmp_addflag=' -nofor_main' ;;
   9798 	lf95*)				# Lahey Fortran 8.1
   9799 	  whole_archive_flag_spec=
   9800 	  tmp_sharedflag='--shared' ;;
   9801         nagfor*)                        # NAGFOR 5.3
   9802           tmp_sharedflag='-Wl,-shared' ;;
   9803 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9804 	  tmp_sharedflag='-qmkshrobj'
   9805 	  tmp_addflag= ;;
   9806 	nvcc*)	# Cuda Compiler Driver 2.2
   9807 	  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'
   9808 	  compiler_needs_object=yes
   9809 	  ;;
   9810 	esac
   9811 	case `$CC -V 2>&1 | $SED 5q` in
   9812 	*Sun\ C*)			# Sun C 5.9
   9813 	  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'
   9814 	  compiler_needs_object=yes
   9815 	  tmp_sharedflag='-G' ;;
   9816 	*Sun\ F*)			# Sun Fortran 8.3
   9817 	  tmp_sharedflag='-G' ;;
   9818 	esac
   9819 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9820 
   9821         if test yes = "$supports_anon_versioning"; then
   9822           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9823             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9824             echo "local: *; };" >> $output_objdir/$libname.ver~
   9825             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9826         fi
   9827 
   9828 	case $cc_basename in
   9829 	tcc*)
   9830 	  export_dynamic_flag_spec='-rdynamic'
   9831 	  ;;
   9832 	xlf* | bgf* | bgxlf* | mpixlf*)
   9833 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9834 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9835 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9836 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9837 	  if test yes = "$supports_anon_versioning"; then
   9838 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9839               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9840               echo "local: *; };" >> $output_objdir/$libname.ver~
   9841               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9842 	  fi
   9843 	  ;;
   9844 	esac
   9845       else
   9846         ld_shlibs=no
   9847       fi
   9848       ;;
   9849 
   9850     netbsd*)
   9851       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9852 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9853 	wlarc=
   9854       else
   9855 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9856 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9857       fi
   9858       ;;
   9859 
   9860     solaris*)
   9861       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9862 	ld_shlibs=no
   9863 	cat <<_LT_EOF 1>&2
   9864 
   9865 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9866 *** create shared libraries on Solaris systems.  Therefore, libtool
   9867 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9868 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9869 *** your PATH or compiler configuration so that the native linker is
   9870 *** used, and then restart.
   9871 
   9872 _LT_EOF
   9873       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9874 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9875 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9876       else
   9877 	ld_shlibs=no
   9878       fi
   9879       ;;
   9880 
   9881     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9882       case `$LD -v 2>&1` in
   9883         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9884 	ld_shlibs=no
   9885 	cat <<_LT_EOF 1>&2
   9886 
   9887 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9888 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9889 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9890 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9891 *** your PATH or compiler configuration so that the native linker is
   9892 *** used, and then restart.
   9893 
   9894 _LT_EOF
   9895 	;;
   9896 	*)
   9897 	  # For security reasons, it is highly recommended that you always
   9898 	  # use absolute paths for naming shared libraries, and exclude the
   9899 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9900 	  # requires that you compile everything twice, which is a pain.
   9901 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9902 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9903 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9904 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9905 	  else
   9906 	    ld_shlibs=no
   9907 	  fi
   9908 	;;
   9909       esac
   9910       ;;
   9911 
   9912     sunos4*)
   9913       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9914       wlarc=
   9915       hardcode_direct=yes
   9916       hardcode_shlibpath_var=no
   9917       ;;
   9918 
   9919     *)
   9920       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9921 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9922 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9923       else
   9924 	ld_shlibs=no
   9925       fi
   9926       ;;
   9927     esac
   9928 
   9929     if test no = "$ld_shlibs"; then
   9930       runpath_var=
   9931       hardcode_libdir_flag_spec=
   9932       export_dynamic_flag_spec=
   9933       whole_archive_flag_spec=
   9934     fi
   9935   else
   9936     # PORTME fill in a description of your system's linker (not GNU ld)
   9937     case $host_os in
   9938     aix3*)
   9939       allow_undefined_flag=unsupported
   9940       always_export_symbols=yes
   9941       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'
   9942       # Note: this linker hardcodes the directories in LIBPATH if there
   9943       # are no directories specified by -L.
   9944       hardcode_minus_L=yes
   9945       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9946 	# Neither direct hardcoding nor static linking is supported with a
   9947 	# broken collect2.
   9948 	hardcode_direct=unsupported
   9949       fi
   9950       ;;
   9951 
   9952     aix[4-9]*)
   9953       if test ia64 = "$host_cpu"; then
   9954 	# On IA64, the linker does run time linking by default, so we don't
   9955 	# have to do anything special.
   9956 	aix_use_runtimelinking=no
   9957 	exp_sym_flag='-Bexport'
   9958 	no_entry_flag=
   9959       else
   9960 	# If we're using GNU nm, then we don't want the "-C" option.
   9961 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9962 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9963 	# weak defined symbols like other global defined symbols, whereas
   9964 	# GNU nm marks them as "W".
   9965 	# While the 'weak' keyword is ignored in the Export File, we need
   9966 	# it in the Import File for the 'aix-soname' feature, so we have
   9967 	# to replace the "-B" option with "-P" for AIX nm.
   9968 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9969 	  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'
   9970 	else
   9971 	  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'
   9972 	fi
   9973 	aix_use_runtimelinking=no
   9974 
   9975 	# Test if we are trying to use run time linking or normal
   9976 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9977 	# have runtime linking enabled, and use it for executables.
   9978 	# For shared libraries, we enable/disable runtime linking
   9979 	# depending on the kind of the shared library created -
   9980 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9981 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9982 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9983 	#            lib.a           static archive
   9984 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9985 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9986 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9987 	#            lib.a(lib.so.V) shared, rtl:no
   9988 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9989 	#            lib.a           static archive
   9990 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9991 	  for ld_flag in $LDFLAGS; do
   9992 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9993 	    aix_use_runtimelinking=yes
   9994 	    break
   9995 	  fi
   9996 	  done
   9997 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9998 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9999 	    # so we don't have lib.a shared libs to link our executables.
   10000 	    # We have to force runtime linking in this case.
   10001 	    aix_use_runtimelinking=yes
   10002 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10003 	  fi
   10004 	  ;;
   10005 	esac
   10006 
   10007 	exp_sym_flag='-bexport'
   10008 	no_entry_flag='-bnoentry'
   10009       fi
   10010 
   10011       # When large executables or shared objects are built, AIX ld can
   10012       # have problems creating the table of contents.  If linking a library
   10013       # or program results in "error TOC overflow" add -mminimal-toc to
   10014       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10015       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10016 
   10017       archive_cmds=''
   10018       hardcode_direct=yes
   10019       hardcode_direct_absolute=yes
   10020       hardcode_libdir_separator=':'
   10021       link_all_deplibs=yes
   10022       file_list_spec='$wl-f,'
   10023       case $with_aix_soname,$aix_use_runtimelinking in
   10024       aix,*) ;; # traditional, no import file
   10025       svr4,* | *,yes) # use import file
   10026 	# The Import File defines what to hardcode.
   10027 	hardcode_direct=no
   10028 	hardcode_direct_absolute=no
   10029 	;;
   10030       esac
   10031 
   10032       if test yes = "$GCC"; then
   10033 	case $host_os in aix4.[012]|aix4.[012].*)
   10034 	# We only want to do this on AIX 4.2 and lower, the check
   10035 	# below for broken collect2 doesn't work under 4.3+
   10036 	  collect2name=`$CC -print-prog-name=collect2`
   10037 	  if test -f "$collect2name" &&
   10038 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10039 	  then
   10040 	  # We have reworked collect2
   10041 	  :
   10042 	  else
   10043 	  # We have old collect2
   10044 	  hardcode_direct=unsupported
   10045 	  # It fails to find uninstalled libraries when the uninstalled
   10046 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10047 	  # to unsupported forces relinking
   10048 	  hardcode_minus_L=yes
   10049 	  hardcode_libdir_flag_spec='-L$libdir'
   10050 	  hardcode_libdir_separator=
   10051 	  fi
   10052 	  ;;
   10053 	esac
   10054 	shared_flag='-shared'
   10055 	if test yes = "$aix_use_runtimelinking"; then
   10056 	  shared_flag="$shared_flag "'$wl-G'
   10057 	fi
   10058 	# Need to ensure runtime linking is disabled for the traditional
   10059 	# shared library, or the linker may eventually find shared libraries
   10060 	# /with/ Import File - we do not want to mix them.
   10061 	shared_flag_aix='-shared'
   10062 	shared_flag_svr4='-shared $wl-G'
   10063       else
   10064 	# not using gcc
   10065 	if test ia64 = "$host_cpu"; then
   10066 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10067 	# chokes on -Wl,-G. The following line is correct:
   10068 	  shared_flag='-G'
   10069 	else
   10070 	  if test yes = "$aix_use_runtimelinking"; then
   10071 	    shared_flag='$wl-G'
   10072 	  else
   10073 	    shared_flag='$wl-bM:SRE'
   10074 	  fi
   10075 	  shared_flag_aix='$wl-bM:SRE'
   10076 	  shared_flag_svr4='$wl-G'
   10077 	fi
   10078       fi
   10079 
   10080       export_dynamic_flag_spec='$wl-bexpall'
   10081       # It seems that -bexpall does not export symbols beginning with
   10082       # underscore (_), so it is better to generate a list of symbols to export.
   10083       always_export_symbols=yes
   10084       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10085 	# Warning - without using the other runtime loading flags (-brtl),
   10086 	# -berok will link without error, but may produce a broken library.
   10087 	allow_undefined_flag='-berok'
   10088         # Determine the default libpath from the value encoded in an
   10089         # empty executable.
   10090         if test set = "${lt_cv_aix_libpath+set}"; then
   10091   aix_libpath=$lt_cv_aix_libpath
   10092 else
   10093   if test ${lt_cv_aix_libpath_+y}
   10094 then :
   10095   printf %s "(cached) " >&6
   10096 else $as_nop
   10097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10098 /* end confdefs.h.  */
   10099 
   10100 int
   10101 main (void)
   10102 {
   10103 
   10104   ;
   10105   return 0;
   10106 }
   10107 _ACEOF
   10108 if ac_fn_c_try_link "$LINENO"
   10109 then :
   10110 
   10111   lt_aix_libpath_sed='
   10112       /Import File Strings/,/^$/ {
   10113 	  /^0/ {
   10114 	      s/^0  *\([^ ]*\) *$/\1/
   10115 	      p
   10116 	  }
   10117       }'
   10118   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10119   # Check for a 64-bit object if we didn't find anything.
   10120   if test -z "$lt_cv_aix_libpath_"; then
   10121     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10122   fi
   10123 fi
   10124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10125     conftest$ac_exeext conftest.$ac_ext
   10126   if test -z "$lt_cv_aix_libpath_"; then
   10127     lt_cv_aix_libpath_=/usr/lib:/lib
   10128   fi
   10129 
   10130 fi
   10131 
   10132   aix_libpath=$lt_cv_aix_libpath_
   10133 fi
   10134 
   10135         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10136         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
   10137       else
   10138 	if test ia64 = "$host_cpu"; then
   10139 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10140 	  allow_undefined_flag="-z nodefs"
   10141 	  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"
   10142 	else
   10143 	 # Determine the default libpath from the value encoded in an
   10144 	 # empty executable.
   10145 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10146   aix_libpath=$lt_cv_aix_libpath
   10147 else
   10148   if test ${lt_cv_aix_libpath_+y}
   10149 then :
   10150   printf %s "(cached) " >&6
   10151 else $as_nop
   10152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10153 /* end confdefs.h.  */
   10154 
   10155 int
   10156 main (void)
   10157 {
   10158 
   10159   ;
   10160   return 0;
   10161 }
   10162 _ACEOF
   10163 if ac_fn_c_try_link "$LINENO"
   10164 then :
   10165 
   10166   lt_aix_libpath_sed='
   10167       /Import File Strings/,/^$/ {
   10168 	  /^0/ {
   10169 	      s/^0  *\([^ ]*\) *$/\1/
   10170 	      p
   10171 	  }
   10172       }'
   10173   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10174   # Check for a 64-bit object if we didn't find anything.
   10175   if test -z "$lt_cv_aix_libpath_"; then
   10176     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10177   fi
   10178 fi
   10179 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10180     conftest$ac_exeext conftest.$ac_ext
   10181   if test -z "$lt_cv_aix_libpath_"; then
   10182     lt_cv_aix_libpath_=/usr/lib:/lib
   10183   fi
   10184 
   10185 fi
   10186 
   10187   aix_libpath=$lt_cv_aix_libpath_
   10188 fi
   10189 
   10190 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10191 	  # Warning - without using the other run time loading flags,
   10192 	  # -berok will link without error, but may produce a broken library.
   10193 	  no_undefined_flag=' $wl-bernotok'
   10194 	  allow_undefined_flag=' $wl-berok'
   10195 	  if test yes = "$with_gnu_ld"; then
   10196 	    # We only use this code for GNU lds that support --whole-archive.
   10197 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10198 	  else
   10199 	    # Exported symbols can be pulled into shared objects from archives
   10200 	    whole_archive_flag_spec='$convenience'
   10201 	  fi
   10202 	  archive_cmds_need_lc=yes
   10203 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10204 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10205 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10206 	  if test svr4 != "$with_aix_soname"; then
   10207 	    # This is similar to how AIX traditionally builds its shared libraries.
   10208 	    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'
   10209 	  fi
   10210 	  if test aix != "$with_aix_soname"; then
   10211 	    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'
   10212 	  else
   10213 	    # used by -dlpreopen to get the symbols
   10214 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10215 	  fi
   10216 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10217 	fi
   10218       fi
   10219       ;;
   10220 
   10221     amigaos*)
   10222       case $host_cpu in
   10223       powerpc)
   10224             # see comment about AmigaOS4 .so support
   10225             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10226             archive_expsym_cmds=''
   10227         ;;
   10228       m68k)
   10229             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)'
   10230             hardcode_libdir_flag_spec='-L$libdir'
   10231             hardcode_minus_L=yes
   10232         ;;
   10233       esac
   10234       ;;
   10235 
   10236     bsdi[45]*)
   10237       export_dynamic_flag_spec=-rdynamic
   10238       ;;
   10239 
   10240     cygwin* | mingw* | pw32* | cegcc*)
   10241       # When not using gcc, we currently assume that we are using
   10242       # Microsoft Visual C++ or Intel C++ Compiler.
   10243       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10244       # no search path for DLLs.
   10245       case $cc_basename in
   10246       cl* | icl*)
   10247 	# Native MSVC or ICC
   10248 	hardcode_libdir_flag_spec=' '
   10249 	allow_undefined_flag=unsupported
   10250 	always_export_symbols=yes
   10251 	file_list_spec='@'
   10252 	# Tell ltmain to make .lib files, not .a files.
   10253 	libext=lib
   10254 	# Tell ltmain to make .dll files, not .so files.
   10255 	shrext_cmds=.dll
   10256 	# FIXME: Setting linknames here is a bad hack.
   10257 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10258 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10259             cp "$export_symbols" "$output_objdir/$soname.def";
   10260             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10261           else
   10262             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10263           fi~
   10264           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10265           linknames='
   10266 	# The linker will not automatically build a static lib if we build a DLL.
   10267 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10268 	enable_shared_with_static_runtimes=yes
   10269 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10270 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10271 	# Don't use ranlib
   10272 	old_postinstall_cmds='chmod 644 $oldlib'
   10273 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10274           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10275           case $lt_outputfile in
   10276             *.exe|*.EXE) ;;
   10277             *)
   10278               lt_outputfile=$lt_outputfile.exe
   10279               lt_tool_outputfile=$lt_tool_outputfile.exe
   10280               ;;
   10281           esac~
   10282           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10283             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10284             $RM "$lt_outputfile.manifest";
   10285           fi'
   10286 	;;
   10287       *)
   10288 	# Assume MSVC and ICC wrapper
   10289 	hardcode_libdir_flag_spec=' '
   10290 	allow_undefined_flag=unsupported
   10291 	# Tell ltmain to make .lib files, not .a files.
   10292 	libext=lib
   10293 	# Tell ltmain to make .dll files, not .so files.
   10294 	shrext_cmds=.dll
   10295 	# FIXME: Setting linknames here is a bad hack.
   10296 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10297 	# The linker will automatically build a .lib file if we build a DLL.
   10298 	old_archive_from_new_cmds='true'
   10299 	# FIXME: Should let the user specify the lib program.
   10300 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10301 	enable_shared_with_static_runtimes=yes
   10302 	;;
   10303       esac
   10304       ;;
   10305 
   10306     darwin* | rhapsody*)
   10307 
   10308 
   10309   archive_cmds_need_lc=no
   10310   hardcode_direct=no
   10311   hardcode_automatic=yes
   10312   hardcode_shlibpath_var=unsupported
   10313   if test yes = "$lt_cv_ld_force_load"; then
   10314     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\"`'
   10315 
   10316   else
   10317     whole_archive_flag_spec=''
   10318   fi
   10319   link_all_deplibs=yes
   10320   allow_undefined_flag=$_lt_dar_allow_undefined
   10321   case $cc_basename in
   10322      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10323      *) _lt_dar_can_shared=$GCC ;;
   10324   esac
   10325   if test yes = "$_lt_dar_can_shared"; then
   10326     output_verbose_link_cmd=func_echo_all
   10327     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10328     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10329     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"
   10330     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"
   10331 
   10332   else
   10333   ld_shlibs=no
   10334   fi
   10335 
   10336       ;;
   10337 
   10338     dgux*)
   10339       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10340       hardcode_libdir_flag_spec='-L$libdir'
   10341       hardcode_shlibpath_var=no
   10342       ;;
   10343 
   10344     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10345     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10346     # does not break anything, and helps significantly (at the cost of a little
   10347     # extra space).
   10348     freebsd2.2*)
   10349       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10350       hardcode_libdir_flag_spec='-R$libdir'
   10351       hardcode_direct=yes
   10352       hardcode_shlibpath_var=no
   10353       ;;
   10354 
   10355     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10356     freebsd2.*)
   10357       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10358       hardcode_direct=yes
   10359       hardcode_minus_L=yes
   10360       hardcode_shlibpath_var=no
   10361       ;;
   10362 
   10363     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10364     freebsd* | dragonfly* | midnightbsd*)
   10365       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10366       hardcode_libdir_flag_spec='-R$libdir'
   10367       hardcode_direct=yes
   10368       hardcode_shlibpath_var=no
   10369       ;;
   10370 
   10371     hpux9*)
   10372       if test yes = "$GCC"; then
   10373 	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'
   10374       else
   10375 	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'
   10376       fi
   10377       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10378       hardcode_libdir_separator=:
   10379       hardcode_direct=yes
   10380 
   10381       # hardcode_minus_L: Not really in the search PATH,
   10382       # but as the default location of the library.
   10383       hardcode_minus_L=yes
   10384       export_dynamic_flag_spec='$wl-E'
   10385       ;;
   10386 
   10387     hpux10*)
   10388       if test yes,no = "$GCC,$with_gnu_ld"; then
   10389 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10390       else
   10391 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10392       fi
   10393       if test no = "$with_gnu_ld"; then
   10394 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10395 	hardcode_libdir_separator=:
   10396 	hardcode_direct=yes
   10397 	hardcode_direct_absolute=yes
   10398 	export_dynamic_flag_spec='$wl-E'
   10399 	# hardcode_minus_L: Not really in the search PATH,
   10400 	# but as the default location of the library.
   10401 	hardcode_minus_L=yes
   10402       fi
   10403       ;;
   10404 
   10405     hpux11*)
   10406       if test yes,no = "$GCC,$with_gnu_ld"; then
   10407 	case $host_cpu in
   10408 	hppa*64*)
   10409 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10410 	  ;;
   10411 	ia64*)
   10412 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10413 	  ;;
   10414 	*)
   10415 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10416 	  ;;
   10417 	esac
   10418       else
   10419 	case $host_cpu in
   10420 	hppa*64*)
   10421 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10422 	  ;;
   10423 	ia64*)
   10424 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10425 	  ;;
   10426 	*)
   10427 
   10428 	  # Older versions of the 11.00 compiler do not understand -b yet
   10429 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10430 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10431 printf %s "checking if $CC understands -b... " >&6; }
   10432 if test ${lt_cv_prog_compiler__b+y}
   10433 then :
   10434   printf %s "(cached) " >&6
   10435 else $as_nop
   10436   lt_cv_prog_compiler__b=no
   10437    save_LDFLAGS=$LDFLAGS
   10438    LDFLAGS="$LDFLAGS -b"
   10439    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10440    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10441      # The linker can only warn and ignore the option if not recognized
   10442      # So say no if there are warnings
   10443      if test -s conftest.err; then
   10444        # Append any errors to the config.log.
   10445        cat conftest.err 1>&5
   10446        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10447        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10448        if diff conftest.exp conftest.er2 >/dev/null; then
   10449          lt_cv_prog_compiler__b=yes
   10450        fi
   10451      else
   10452        lt_cv_prog_compiler__b=yes
   10453      fi
   10454    fi
   10455    $RM -r conftest*
   10456    LDFLAGS=$save_LDFLAGS
   10457 
   10458 fi
   10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10460 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10461 
   10462 if test yes = "$lt_cv_prog_compiler__b"; then
   10463     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10464 else
   10465     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10466 fi
   10467 
   10468 	  ;;
   10469 	esac
   10470       fi
   10471       if test no = "$with_gnu_ld"; then
   10472 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10473 	hardcode_libdir_separator=:
   10474 
   10475 	case $host_cpu in
   10476 	hppa*64*|ia64*)
   10477 	  hardcode_direct=no
   10478 	  hardcode_shlibpath_var=no
   10479 	  ;;
   10480 	*)
   10481 	  hardcode_direct=yes
   10482 	  hardcode_direct_absolute=yes
   10483 	  export_dynamic_flag_spec='$wl-E'
   10484 
   10485 	  # hardcode_minus_L: Not really in the search PATH,
   10486 	  # but as the default location of the library.
   10487 	  hardcode_minus_L=yes
   10488 	  ;;
   10489 	esac
   10490       fi
   10491       ;;
   10492 
   10493     irix5* | irix6* | nonstopux*)
   10494       if test yes = "$GCC"; then
   10495 	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'
   10496 	# Try to use the -exported_symbol ld option, if it does not
   10497 	# work, assume that -exports_file does not work either and
   10498 	# implicitly export all symbols.
   10499 	# This should be the same for all languages, so no per-tag cache variable.
   10500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10501 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10502 if test ${lt_cv_irix_exported_symbol+y}
   10503 then :
   10504   printf %s "(cached) " >&6
   10505 else $as_nop
   10506   save_LDFLAGS=$LDFLAGS
   10507 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10508 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10509 /* end confdefs.h.  */
   10510 int foo (void) { return 0; }
   10511 _ACEOF
   10512 if ac_fn_c_try_link "$LINENO"
   10513 then :
   10514   lt_cv_irix_exported_symbol=yes
   10515 else $as_nop
   10516   lt_cv_irix_exported_symbol=no
   10517 fi
   10518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10519     conftest$ac_exeext conftest.$ac_ext
   10520            LDFLAGS=$save_LDFLAGS
   10521 fi
   10522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10523 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10524 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10525           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'
   10526 	fi
   10527       else
   10528 	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'
   10529 	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'
   10530       fi
   10531       archive_cmds_need_lc='no'
   10532       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10533       hardcode_libdir_separator=:
   10534       inherit_rpath=yes
   10535       link_all_deplibs=yes
   10536       ;;
   10537 
   10538     linux*)
   10539       case $cc_basename in
   10540       tcc*)
   10541 	# Fabrice Bellard et al's Tiny C Compiler
   10542 	ld_shlibs=yes
   10543 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10544 	;;
   10545       esac
   10546       ;;
   10547 
   10548     netbsd*)
   10549       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10550 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10551       else
   10552 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10553       fi
   10554       hardcode_libdir_flag_spec='-R$libdir'
   10555       hardcode_direct=yes
   10556       hardcode_shlibpath_var=no
   10557       ;;
   10558 
   10559     newsos6)
   10560       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10561       hardcode_direct=yes
   10562       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10563       hardcode_libdir_separator=:
   10564       hardcode_shlibpath_var=no
   10565       ;;
   10566 
   10567     *nto* | *qnx*)
   10568       ;;
   10569 
   10570     openbsd* | bitrig*)
   10571       if test -f /usr/libexec/ld.so; then
   10572 	hardcode_direct=yes
   10573 	hardcode_shlibpath_var=no
   10574 	hardcode_direct_absolute=yes
   10575 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10576 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10577 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10578 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10579 	  export_dynamic_flag_spec='$wl-E'
   10580 	else
   10581 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10582 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10583 	fi
   10584       else
   10585 	ld_shlibs=no
   10586       fi
   10587       ;;
   10588 
   10589     os2*)
   10590       hardcode_libdir_flag_spec='-L$libdir'
   10591       hardcode_minus_L=yes
   10592       allow_undefined_flag=unsupported
   10593       shrext_cmds=.dll
   10594       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10595 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10596 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10597 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10598 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10599 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10600 	emximp -o $lib $output_objdir/$libname.def'
   10601       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10602 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10603 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10604 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10605 	prefix_cmds="$SED"~
   10606 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10607 	  prefix_cmds="$prefix_cmds -e 1d";
   10608 	fi~
   10609 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10610 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10611 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10612 	emximp -o $lib $output_objdir/$libname.def'
   10613       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10614       enable_shared_with_static_runtimes=yes
   10615       file_list_spec='@'
   10616       ;;
   10617 
   10618     osf3*)
   10619       if test yes = "$GCC"; then
   10620 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10621 	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'
   10622       else
   10623 	allow_undefined_flag=' -expect_unresolved \*'
   10624 	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'
   10625       fi
   10626       archive_cmds_need_lc='no'
   10627       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10628       hardcode_libdir_separator=:
   10629       ;;
   10630 
   10631     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10632       if test yes = "$GCC"; then
   10633 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10634 	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'
   10635 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10636       else
   10637 	allow_undefined_flag=' -expect_unresolved \*'
   10638 	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'
   10639 	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~
   10640           $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'
   10641 
   10642 	# Both c and cxx compiler support -rpath directly
   10643 	hardcode_libdir_flag_spec='-rpath $libdir'
   10644       fi
   10645       archive_cmds_need_lc='no'
   10646       hardcode_libdir_separator=:
   10647       ;;
   10648 
   10649     solaris*)
   10650       no_undefined_flag=' -z defs'
   10651       if test yes = "$GCC"; then
   10652 	wlarc='$wl'
   10653 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10654 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10655           $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'
   10656       else
   10657 	case `$CC -V 2>&1` in
   10658 	*"Compilers 5.0"*)
   10659 	  wlarc=''
   10660 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10661 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10662             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10663 	  ;;
   10664 	*)
   10665 	  wlarc='$wl'
   10666 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10667 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10668             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10669 	  ;;
   10670 	esac
   10671       fi
   10672       hardcode_libdir_flag_spec='-R$libdir'
   10673       hardcode_shlibpath_var=no
   10674       case $host_os in
   10675       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10676       *)
   10677 	# The compiler driver will combine and reorder linker options,
   10678 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10679 	# but is careful enough not to reorder.
   10680 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10681 	if test yes = "$GCC"; then
   10682 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10683 	else
   10684 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10685 	fi
   10686 	;;
   10687       esac
   10688       link_all_deplibs=yes
   10689       ;;
   10690 
   10691     sunos4*)
   10692       if test sequent = "$host_vendor"; then
   10693 	# Use $CC to link under sequent, because it throws in some extra .o
   10694 	# files that make .init and .fini sections work.
   10695 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10696       else
   10697 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10698       fi
   10699       hardcode_libdir_flag_spec='-L$libdir'
   10700       hardcode_direct=yes
   10701       hardcode_minus_L=yes
   10702       hardcode_shlibpath_var=no
   10703       ;;
   10704 
   10705     sysv4)
   10706       case $host_vendor in
   10707 	sni)
   10708 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10709 	  hardcode_direct=yes # is this really true???
   10710 	;;
   10711 	siemens)
   10712 	  ## LD is ld it makes a PLAMLIB
   10713 	  ## CC just makes a GrossModule.
   10714 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10715 	  reload_cmds='$CC -r -o $output$reload_objs'
   10716 	  hardcode_direct=no
   10717         ;;
   10718 	motorola)
   10719 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10720 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10721 	;;
   10722       esac
   10723       runpath_var='LD_RUN_PATH'
   10724       hardcode_shlibpath_var=no
   10725       ;;
   10726 
   10727     sysv4.3*)
   10728       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10729       hardcode_shlibpath_var=no
   10730       export_dynamic_flag_spec='-Bexport'
   10731       ;;
   10732 
   10733     sysv4*MP*)
   10734       if test -d /usr/nec; then
   10735 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10736 	hardcode_shlibpath_var=no
   10737 	runpath_var=LD_RUN_PATH
   10738 	hardcode_runpath_var=yes
   10739 	ld_shlibs=yes
   10740       fi
   10741       ;;
   10742 
   10743     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10744       no_undefined_flag='$wl-z,text'
   10745       archive_cmds_need_lc=no
   10746       hardcode_shlibpath_var=no
   10747       runpath_var='LD_RUN_PATH'
   10748 
   10749       if test yes = "$GCC"; then
   10750 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10751 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10752       else
   10753 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10754 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10755       fi
   10756       ;;
   10757 
   10758     sysv5* | sco3.2v5* | sco5v6*)
   10759       # Note: We CANNOT use -z defs as we might desire, because we do not
   10760       # link with -lc, and that would cause any symbols used from libc to
   10761       # always be unresolved, which means just about no library would
   10762       # ever link correctly.  If we're not using GNU ld we use -z text
   10763       # though, which does catch some bad symbols but isn't as heavy-handed
   10764       # as -z defs.
   10765       no_undefined_flag='$wl-z,text'
   10766       allow_undefined_flag='$wl-z,nodefs'
   10767       archive_cmds_need_lc=no
   10768       hardcode_shlibpath_var=no
   10769       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10770       hardcode_libdir_separator=':'
   10771       link_all_deplibs=yes
   10772       export_dynamic_flag_spec='$wl-Bexport'
   10773       runpath_var='LD_RUN_PATH'
   10774 
   10775       if test yes = "$GCC"; then
   10776 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10777 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10778       else
   10779 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10780 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10781       fi
   10782       ;;
   10783 
   10784     uts4*)
   10785       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10786       hardcode_libdir_flag_spec='-L$libdir'
   10787       hardcode_shlibpath_var=no
   10788       ;;
   10789 
   10790     *)
   10791       ld_shlibs=no
   10792       ;;
   10793     esac
   10794 
   10795     if test sni = "$host_vendor"; then
   10796       case $host in
   10797       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10798 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10799 	;;
   10800       esac
   10801     fi
   10802   fi
   10803 
   10804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10805 printf "%s\n" "$ld_shlibs" >&6; }
   10806 test no = "$ld_shlibs" && can_build_shared=no
   10807 
   10808 with_gnu_ld=$with_gnu_ld
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 #
   10825 # Do we need to explicitly link libc?
   10826 #
   10827 case "x$archive_cmds_need_lc" in
   10828 x|xyes)
   10829   # Assume -lc should be added
   10830   archive_cmds_need_lc=yes
   10831 
   10832   if test yes,yes = "$GCC,$enable_shared"; then
   10833     case $archive_cmds in
   10834     *'~'*)
   10835       # FIXME: we may have to deal with multi-command sequences.
   10836       ;;
   10837     '$CC '*)
   10838       # Test whether the compiler implicitly links with -lc since on some
   10839       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10840       # to ld, don't add -lc before -lgcc.
   10841       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10842 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10843 if test ${lt_cv_archive_cmds_need_lc+y}
   10844 then :
   10845   printf %s "(cached) " >&6
   10846 else $as_nop
   10847   $RM conftest*
   10848 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10849 
   10850 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10851   (eval $ac_compile) 2>&5
   10852   ac_status=$?
   10853   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10854   test $ac_status = 0; } 2>conftest.err; then
   10855 	  soname=conftest
   10856 	  lib=conftest
   10857 	  libobjs=conftest.$ac_objext
   10858 	  deplibs=
   10859 	  wl=$lt_prog_compiler_wl
   10860 	  pic_flag=$lt_prog_compiler_pic
   10861 	  compiler_flags=-v
   10862 	  linker_flags=-v
   10863 	  verstring=
   10864 	  output_objdir=.
   10865 	  libname=conftest
   10866 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10867 	  allow_undefined_flag=
   10868 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10869   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10870   ac_status=$?
   10871   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10872   test $ac_status = 0; }
   10873 	  then
   10874 	    lt_cv_archive_cmds_need_lc=no
   10875 	  else
   10876 	    lt_cv_archive_cmds_need_lc=yes
   10877 	  fi
   10878 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10879 	else
   10880 	  cat conftest.err 1>&5
   10881 	fi
   10882 	$RM conftest*
   10883 
   10884 fi
   10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10886 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10887       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10888       ;;
   10889     esac
   10890   fi
   10891   ;;
   10892 esac
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11046 printf %s "checking dynamic linker characteristics... " >&6; }
   11047 
   11048 if test yes = "$GCC"; then
   11049   case $host_os in
   11050     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11051     *) lt_awk_arg='/^libraries:/' ;;
   11052   esac
   11053   case $host_os in
   11054     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11055     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11056   esac
   11057   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11058   case $lt_search_path_spec in
   11059   *\;*)
   11060     # if the path contains ";" then we assume it to be the separator
   11061     # otherwise default to the standard path separator (i.e. ":") - it is
   11062     # assumed that no part of a normal pathname contains ";" but that should
   11063     # okay in the real world where ";" in dirpaths is itself problematic.
   11064     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11065     ;;
   11066   *)
   11067     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11068     ;;
   11069   esac
   11070   # Ok, now we have the path, separated by spaces, we can step through it
   11071   # and add multilib dir if necessary...
   11072   lt_tmp_lt_search_path_spec=
   11073   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11074   # ...but if some path component already ends with the multilib dir we assume
   11075   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11076   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11077   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11078     lt_multi_os_dir=
   11079     ;;
   11080   esac
   11081   for lt_sys_path in $lt_search_path_spec; do
   11082     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11083       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11084     elif test -n "$lt_multi_os_dir"; then
   11085       test -d "$lt_sys_path" && \
   11086 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11087     fi
   11088   done
   11089   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11090 BEGIN {RS = " "; FS = "/|\n";} {
   11091   lt_foo = "";
   11092   lt_count = 0;
   11093   for (lt_i = NF; lt_i > 0; lt_i--) {
   11094     if ($lt_i != "" && $lt_i != ".") {
   11095       if ($lt_i == "..") {
   11096         lt_count++;
   11097       } else {
   11098         if (lt_count == 0) {
   11099           lt_foo = "/" $lt_i lt_foo;
   11100         } else {
   11101           lt_count--;
   11102         }
   11103       }
   11104     }
   11105   }
   11106   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11107   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11108 }'`
   11109   # AWK program above erroneously prepends '/' to C:/dos/paths
   11110   # for these hosts.
   11111   case $host_os in
   11112     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11113       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11114   esac
   11115   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11116 else
   11117   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11118 fi
   11119 library_names_spec=
   11120 libname_spec='lib$name'
   11121 soname_spec=
   11122 shrext_cmds=.so
   11123 postinstall_cmds=
   11124 postuninstall_cmds=
   11125 finish_cmds=
   11126 finish_eval=
   11127 shlibpath_var=
   11128 shlibpath_overrides_runpath=unknown
   11129 version_type=none
   11130 dynamic_linker="$host_os ld.so"
   11131 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11132 need_lib_prefix=unknown
   11133 hardcode_into_libs=no
   11134 
   11135 # when you set need_version to no, make sure it does not cause -set_version
   11136 # flags to be left without arguments
   11137 need_version=unknown
   11138 
   11139 
   11140 
   11141 case $host_os in
   11142 aix3*)
   11143   version_type=linux # correct to gnu/linux during the next big refactor
   11144   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11145   shlibpath_var=LIBPATH
   11146 
   11147   # AIX 3 has no versioning support, so we append a major version to the name.
   11148   soname_spec='$libname$release$shared_ext$major'
   11149   ;;
   11150 
   11151 aix[4-9]*)
   11152   version_type=linux # correct to gnu/linux during the next big refactor
   11153   need_lib_prefix=no
   11154   need_version=no
   11155   hardcode_into_libs=yes
   11156   if test ia64 = "$host_cpu"; then
   11157     # AIX 5 supports IA64
   11158     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11159     shlibpath_var=LD_LIBRARY_PATH
   11160   else
   11161     # With GCC up to 2.95.x, collect2 would create an import file
   11162     # for dependence libraries.  The import file would start with
   11163     # the line '#! .'.  This would cause the generated library to
   11164     # depend on '.', always an invalid library.  This was fixed in
   11165     # development snapshots of GCC prior to 3.0.
   11166     case $host_os in
   11167       aix4 | aix4.[01] | aix4.[01].*)
   11168       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11169 	   echo ' yes '
   11170 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11171 	:
   11172       else
   11173 	can_build_shared=no
   11174       fi
   11175       ;;
   11176     esac
   11177     # Using Import Files as archive members, it is possible to support
   11178     # filename-based versioning of shared library archives on AIX. While
   11179     # this would work for both with and without runtime linking, it will
   11180     # prevent static linking of such archives. So we do filename-based
   11181     # shared library versioning with .so extension only, which is used
   11182     # when both runtime linking and shared linking is enabled.
   11183     # Unfortunately, runtime linking may impact performance, so we do
   11184     # not want this to be the default eventually. Also, we use the
   11185     # versioned .so libs for executables only if there is the -brtl
   11186     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11187     # To allow for filename-based versioning support, we need to create
   11188     # libNAME.so.V as an archive file, containing:
   11189     # *) an Import File, referring to the versioned filename of the
   11190     #    archive as well as the shared archive member, telling the
   11191     #    bitwidth (32 or 64) of that shared object, and providing the
   11192     #    list of exported symbols of that shared object, eventually
   11193     #    decorated with the 'weak' keyword
   11194     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11195     #    it being seen by the linker.
   11196     # At run time we better use the real file rather than another symlink,
   11197     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11198 
   11199     case $with_aix_soname,$aix_use_runtimelinking in
   11200     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11201     # soname into executable. Probably we can add versioning support to
   11202     # collect2, so additional links can be useful in future.
   11203     aix,yes) # traditional libtool
   11204       dynamic_linker='AIX unversionable lib.so'
   11205       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11206       # instead of lib<name>.a to let people know that these are not
   11207       # typical AIX shared libraries.
   11208       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11209       ;;
   11210     aix,no) # traditional AIX only
   11211       dynamic_linker='AIX lib.a(lib.so.V)'
   11212       # We preserve .a as extension for shared libraries through AIX4.2
   11213       # and later when we are not doing run time linking.
   11214       library_names_spec='$libname$release.a $libname.a'
   11215       soname_spec='$libname$release$shared_ext$major'
   11216       ;;
   11217     svr4,*) # full svr4 only
   11218       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11219       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11220       # We do not specify a path in Import Files, so LIBPATH fires.
   11221       shlibpath_overrides_runpath=yes
   11222       ;;
   11223     *,yes) # both, prefer svr4
   11224       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11225       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11226       # unpreferred sharedlib libNAME.a needs extra handling
   11227       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"'
   11228       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"'
   11229       # We do not specify a path in Import Files, so LIBPATH fires.
   11230       shlibpath_overrides_runpath=yes
   11231       ;;
   11232     *,no) # both, prefer aix
   11233       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11234       library_names_spec='$libname$release.a $libname.a'
   11235       soname_spec='$libname$release$shared_ext$major'
   11236       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11237       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)'
   11238       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"'
   11239       ;;
   11240     esac
   11241     shlibpath_var=LIBPATH
   11242   fi
   11243   ;;
   11244 
   11245 amigaos*)
   11246   case $host_cpu in
   11247   powerpc)
   11248     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11249     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11250     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11251     ;;
   11252   m68k)
   11253     library_names_spec='$libname.ixlibrary $libname.a'
   11254     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11255     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'
   11256     ;;
   11257   esac
   11258   ;;
   11259 
   11260 beos*)
   11261   library_names_spec='$libname$shared_ext'
   11262   dynamic_linker="$host_os ld.so"
   11263   shlibpath_var=LIBRARY_PATH
   11264   ;;
   11265 
   11266 bsdi[45]*)
   11267   version_type=linux # correct to gnu/linux during the next big refactor
   11268   need_version=no
   11269   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11270   soname_spec='$libname$release$shared_ext$major'
   11271   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11272   shlibpath_var=LD_LIBRARY_PATH
   11273   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11274   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11275   # the default ld.so.conf also contains /usr/contrib/lib and
   11276   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11277   # libtool to hard-code these into programs
   11278   ;;
   11279 
   11280 cygwin* | mingw* | pw32* | cegcc*)
   11281   version_type=windows
   11282   shrext_cmds=.dll
   11283   need_version=no
   11284   need_lib_prefix=no
   11285 
   11286   case $GCC,$cc_basename in
   11287   yes,*)
   11288     # gcc
   11289     library_names_spec='$libname.dll.a'
   11290     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11291     postinstall_cmds='base_file=`basename \$file`~
   11292       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11293       dldir=$destdir/`dirname \$dlpath`~
   11294       test -d \$dldir || mkdir -p \$dldir~
   11295       $install_prog $dir/$dlname \$dldir/$dlname~
   11296       chmod a+x \$dldir/$dlname~
   11297       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11298         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11299       fi'
   11300     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11301       dlpath=$dir/\$dldll~
   11302        $RM \$dlpath'
   11303     shlibpath_overrides_runpath=yes
   11304 
   11305     case $host_os in
   11306     cygwin*)
   11307       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11308       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11309 
   11310       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11311       ;;
   11312     mingw* | cegcc*)
   11313       # MinGW DLLs use traditional 'lib' prefix
   11314       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11315       ;;
   11316     pw32*)
   11317       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11318       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11319       ;;
   11320     esac
   11321     dynamic_linker='Win32 ld.exe'
   11322     ;;
   11323 
   11324   *,cl* | *,icl*)
   11325     # Native MSVC or ICC
   11326     libname_spec='$name'
   11327     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11328     library_names_spec='$libname.dll.lib'
   11329 
   11330     case $build_os in
   11331     mingw*)
   11332       sys_lib_search_path_spec=
   11333       lt_save_ifs=$IFS
   11334       IFS=';'
   11335       for lt_path in $LIB
   11336       do
   11337         IFS=$lt_save_ifs
   11338         # Let DOS variable expansion print the short 8.3 style file name.
   11339         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11340         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11341       done
   11342       IFS=$lt_save_ifs
   11343       # Convert to MSYS style.
   11344       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11345       ;;
   11346     cygwin*)
   11347       # Convert to unix form, then to dos form, then back to unix form
   11348       # but this time dos style (no spaces!) so that the unix form looks
   11349       # like /cygdrive/c/PROGRA~1:/cygdr...
   11350       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11351       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11352       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11353       ;;
   11354     *)
   11355       sys_lib_search_path_spec=$LIB
   11356       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11357         # It is most probably a Windows format PATH.
   11358         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11359       else
   11360         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11361       fi
   11362       # FIXME: find the short name or the path components, as spaces are
   11363       # common. (e.g. "Program Files" -> "PROGRA~1")
   11364       ;;
   11365     esac
   11366 
   11367     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11368     postinstall_cmds='base_file=`basename \$file`~
   11369       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11370       dldir=$destdir/`dirname \$dlpath`~
   11371       test -d \$dldir || mkdir -p \$dldir~
   11372       $install_prog $dir/$dlname \$dldir/$dlname'
   11373     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11374       dlpath=$dir/\$dldll~
   11375        $RM \$dlpath'
   11376     shlibpath_overrides_runpath=yes
   11377     dynamic_linker='Win32 link.exe'
   11378     ;;
   11379 
   11380   *)
   11381     # Assume MSVC and ICC wrapper
   11382     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11383     dynamic_linker='Win32 ld.exe'
   11384     ;;
   11385   esac
   11386   # FIXME: first we should search . and the directory the executable is in
   11387   shlibpath_var=PATH
   11388   ;;
   11389 
   11390 darwin* | rhapsody*)
   11391   dynamic_linker="$host_os dyld"
   11392   version_type=darwin
   11393   need_lib_prefix=no
   11394   need_version=no
   11395   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11396   soname_spec='$libname$release$major$shared_ext'
   11397   shlibpath_overrides_runpath=yes
   11398   shlibpath_var=DYLD_LIBRARY_PATH
   11399   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11400 
   11401   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11402   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11403   ;;
   11404 
   11405 dgux*)
   11406   version_type=linux # correct to gnu/linux during the next big refactor
   11407   need_lib_prefix=no
   11408   need_version=no
   11409   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11410   soname_spec='$libname$release$shared_ext$major'
   11411   shlibpath_var=LD_LIBRARY_PATH
   11412   ;;
   11413 
   11414 freebsd* | dragonfly* | midnightbsd*)
   11415   # DragonFly does not have aout.  When/if they implement a new
   11416   # versioning mechanism, adjust this.
   11417   if test -x /usr/bin/objformat; then
   11418     objformat=`/usr/bin/objformat`
   11419   else
   11420     case $host_os in
   11421     freebsd[23].*) objformat=aout ;;
   11422     *) objformat=elf ;;
   11423     esac
   11424   fi
   11425   version_type=freebsd-$objformat
   11426   case $version_type in
   11427     freebsd-elf*)
   11428       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11429       soname_spec='$libname$release$shared_ext$major'
   11430       need_version=no
   11431       need_lib_prefix=no
   11432       ;;
   11433     freebsd-*)
   11434       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11435       need_version=yes
   11436       ;;
   11437   esac
   11438   shlibpath_var=LD_LIBRARY_PATH
   11439   case $host_os in
   11440   freebsd2.*)
   11441     shlibpath_overrides_runpath=yes
   11442     ;;
   11443   freebsd3.[01]* | freebsdelf3.[01]*)
   11444     shlibpath_overrides_runpath=yes
   11445     hardcode_into_libs=yes
   11446     ;;
   11447   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11448   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11449     shlibpath_overrides_runpath=no
   11450     hardcode_into_libs=yes
   11451     ;;
   11452   *) # from 4.6 on, and DragonFly
   11453     shlibpath_overrides_runpath=yes
   11454     hardcode_into_libs=yes
   11455     ;;
   11456   esac
   11457   ;;
   11458 
   11459 haiku*)
   11460   version_type=linux # correct to gnu/linux during the next big refactor
   11461   need_lib_prefix=no
   11462   need_version=no
   11463   dynamic_linker="$host_os runtime_loader"
   11464   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11465   soname_spec='$libname$release$shared_ext$major'
   11466   shlibpath_var=LIBRARY_PATH
   11467   shlibpath_overrides_runpath=no
   11468   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11469   hardcode_into_libs=yes
   11470   ;;
   11471 
   11472 hpux9* | hpux10* | hpux11*)
   11473   # Give a soname corresponding to the major version so that dld.sl refuses to
   11474   # link against other versions.
   11475   version_type=sunos
   11476   need_lib_prefix=no
   11477   need_version=no
   11478   case $host_cpu in
   11479   ia64*)
   11480     shrext_cmds='.so'
   11481     hardcode_into_libs=yes
   11482     dynamic_linker="$host_os dld.so"
   11483     shlibpath_var=LD_LIBRARY_PATH
   11484     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11485     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11486     soname_spec='$libname$release$shared_ext$major'
   11487     if test 32 = "$HPUX_IA64_MODE"; then
   11488       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11489       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11490     else
   11491       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11492       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11493     fi
   11494     ;;
   11495   hppa*64*)
   11496     shrext_cmds='.sl'
   11497     hardcode_into_libs=yes
   11498     dynamic_linker="$host_os dld.sl"
   11499     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11500     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11501     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11502     soname_spec='$libname$release$shared_ext$major'
   11503     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11504     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11505     ;;
   11506   *)
   11507     shrext_cmds='.sl'
   11508     dynamic_linker="$host_os dld.sl"
   11509     shlibpath_var=SHLIB_PATH
   11510     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11511     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11512     soname_spec='$libname$release$shared_ext$major'
   11513     ;;
   11514   esac
   11515   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11516   postinstall_cmds='chmod 555 $lib'
   11517   # or fails outright, so override atomically:
   11518   install_override_mode=555
   11519   ;;
   11520 
   11521 interix[3-9]*)
   11522   version_type=linux # correct to gnu/linux during the next big refactor
   11523   need_lib_prefix=no
   11524   need_version=no
   11525   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11526   soname_spec='$libname$release$shared_ext$major'
   11527   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11528   shlibpath_var=LD_LIBRARY_PATH
   11529   shlibpath_overrides_runpath=no
   11530   hardcode_into_libs=yes
   11531   ;;
   11532 
   11533 irix5* | irix6* | nonstopux*)
   11534   case $host_os in
   11535     nonstopux*) version_type=nonstopux ;;
   11536     *)
   11537 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11538 		version_type=linux # correct to gnu/linux during the next big refactor
   11539 	else
   11540 		version_type=irix
   11541 	fi ;;
   11542   esac
   11543   need_lib_prefix=no
   11544   need_version=no
   11545   soname_spec='$libname$release$shared_ext$major'
   11546   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11547   case $host_os in
   11548   irix5* | nonstopux*)
   11549     libsuff= shlibsuff=
   11550     ;;
   11551   *)
   11552     case $LD in # libtool.m4 will add one of these switches to LD
   11553     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11554       libsuff= shlibsuff= libmagic=32-bit;;
   11555     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11556       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11557     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11558       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11559     *) libsuff= shlibsuff= libmagic=never-match;;
   11560     esac
   11561     ;;
   11562   esac
   11563   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11564   shlibpath_overrides_runpath=no
   11565   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11566   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11567   hardcode_into_libs=yes
   11568   ;;
   11569 
   11570 # No shared lib support for Linux oldld, aout, or coff.
   11571 linux*oldld* | linux*aout* | linux*coff*)
   11572   dynamic_linker=no
   11573   ;;
   11574 
   11575 linux*android*)
   11576   version_type=none # Android doesn't support versioned libraries.
   11577   need_lib_prefix=no
   11578   need_version=no
   11579   library_names_spec='$libname$release$shared_ext'
   11580   soname_spec='$libname$release$shared_ext'
   11581   finish_cmds=
   11582   shlibpath_var=LD_LIBRARY_PATH
   11583   shlibpath_overrides_runpath=yes
   11584 
   11585   # This implies no fast_install, which is unacceptable.
   11586   # Some rework will be needed to allow for fast_install
   11587   # before this can be enabled.
   11588   hardcode_into_libs=yes
   11589 
   11590   dynamic_linker='Android linker'
   11591   # Don't embed -rpath directories since the linker doesn't support them.
   11592   hardcode_libdir_flag_spec='-L$libdir'
   11593   ;;
   11594 
   11595 # This must be glibc/ELF.
   11596 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11597   version_type=linux # correct to gnu/linux during the next big refactor
   11598   need_lib_prefix=no
   11599   need_version=no
   11600   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11601   soname_spec='$libname$release$shared_ext$major'
   11602   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11603   shlibpath_var=LD_LIBRARY_PATH
   11604   shlibpath_overrides_runpath=no
   11605 
   11606   # Some binutils ld are patched to set DT_RUNPATH
   11607   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11608 then :
   11609   printf %s "(cached) " >&6
   11610 else $as_nop
   11611   lt_cv_shlibpath_overrides_runpath=no
   11612     save_LDFLAGS=$LDFLAGS
   11613     save_libdir=$libdir
   11614     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11615 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11616     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11617 /* end confdefs.h.  */
   11618 
   11619 int
   11620 main (void)
   11621 {
   11622 
   11623   ;
   11624   return 0;
   11625 }
   11626 _ACEOF
   11627 if ac_fn_c_try_link "$LINENO"
   11628 then :
   11629   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11630 then :
   11631   lt_cv_shlibpath_overrides_runpath=yes
   11632 fi
   11633 fi
   11634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11635     conftest$ac_exeext conftest.$ac_ext
   11636     LDFLAGS=$save_LDFLAGS
   11637     libdir=$save_libdir
   11638 
   11639 fi
   11640 
   11641   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11642 
   11643   # This implies no fast_install, which is unacceptable.
   11644   # Some rework will be needed to allow for fast_install
   11645   # before this can be enabled.
   11646   hardcode_into_libs=yes
   11647 
   11648   # Ideally, we could use ldconfig to report *all* directores which are
   11649   # searched for libraries, however this is still not possible.  Aside from not
   11650   # being certain /sbin/ldconfig is available, command
   11651   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11652   # even though it is searched at run-time.  Try to do the best guess by
   11653   # appending ld.so.conf contents (and includes) to the search path.
   11654   if test -f /etc/ld.so.conf; then
   11655     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' ' '`
   11656     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11657   fi
   11658 
   11659   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11660   # powerpc, because MkLinux only supported shared libraries with the
   11661   # GNU dynamic linker.  Since this was broken with cross compilers,
   11662   # most powerpc-linux boxes support dynamic linking these days and
   11663   # people can always --disable-shared, the test was removed, and we
   11664   # assume the GNU/Linux dynamic linker is in use.
   11665   dynamic_linker='GNU/Linux ld.so'
   11666   ;;
   11667 
   11668 netbsd*)
   11669   version_type=sunos
   11670   need_lib_prefix=no
   11671   need_version=no
   11672   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11673     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11674     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11675     dynamic_linker='NetBSD (a.out) ld.so'
   11676   else
   11677     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11678     soname_spec='$libname$release$shared_ext$major'
   11679     dynamic_linker='NetBSD ld.elf_so'
   11680   fi
   11681   shlibpath_var=LD_LIBRARY_PATH
   11682   shlibpath_overrides_runpath=yes
   11683   hardcode_into_libs=yes
   11684   ;;
   11685 
   11686 newsos6)
   11687   version_type=linux # correct to gnu/linux during the next big refactor
   11688   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11689   shlibpath_var=LD_LIBRARY_PATH
   11690   shlibpath_overrides_runpath=yes
   11691   ;;
   11692 
   11693 *nto* | *qnx*)
   11694   version_type=qnx
   11695   need_lib_prefix=no
   11696   need_version=no
   11697   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11698   soname_spec='$libname$release$shared_ext$major'
   11699   shlibpath_var=LD_LIBRARY_PATH
   11700   shlibpath_overrides_runpath=no
   11701   hardcode_into_libs=yes
   11702   dynamic_linker='ldqnx.so'
   11703   ;;
   11704 
   11705 openbsd* | bitrig*)
   11706   version_type=sunos
   11707   sys_lib_dlsearch_path_spec=/usr/lib
   11708   need_lib_prefix=no
   11709   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11710     need_version=no
   11711   else
   11712     need_version=yes
   11713   fi
   11714   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11715   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11716   shlibpath_var=LD_LIBRARY_PATH
   11717   shlibpath_overrides_runpath=yes
   11718   ;;
   11719 
   11720 os2*)
   11721   libname_spec='$name'
   11722   version_type=windows
   11723   shrext_cmds=.dll
   11724   need_version=no
   11725   need_lib_prefix=no
   11726   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11727   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11728     v=$($ECHO $release$versuffix | tr -d .-);
   11729     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11730     $ECHO $n$v`$shared_ext'
   11731   library_names_spec='${libname}_dll.$libext'
   11732   dynamic_linker='OS/2 ld.exe'
   11733   shlibpath_var=BEGINLIBPATH
   11734   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11735   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11736   postinstall_cmds='base_file=`basename \$file`~
   11737     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11738     dldir=$destdir/`dirname \$dlpath`~
   11739     test -d \$dldir || mkdir -p \$dldir~
   11740     $install_prog $dir/$dlname \$dldir/$dlname~
   11741     chmod a+x \$dldir/$dlname~
   11742     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11743       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11744     fi'
   11745   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11746     dlpath=$dir/\$dldll~
   11747     $RM \$dlpath'
   11748   ;;
   11749 
   11750 osf3* | osf4* | osf5*)
   11751   version_type=osf
   11752   need_lib_prefix=no
   11753   need_version=no
   11754   soname_spec='$libname$release$shared_ext$major'
   11755   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11756   shlibpath_var=LD_LIBRARY_PATH
   11757   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11758   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11759   ;;
   11760 
   11761 rdos*)
   11762   dynamic_linker=no
   11763   ;;
   11764 
   11765 solaris*)
   11766   version_type=linux # correct to gnu/linux during the next big refactor
   11767   need_lib_prefix=no
   11768   need_version=no
   11769   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11770   soname_spec='$libname$release$shared_ext$major'
   11771   shlibpath_var=LD_LIBRARY_PATH
   11772   shlibpath_overrides_runpath=yes
   11773   hardcode_into_libs=yes
   11774   # ldd complains unless libraries are executable
   11775   postinstall_cmds='chmod +x $lib'
   11776   ;;
   11777 
   11778 sunos4*)
   11779   version_type=sunos
   11780   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11781   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11782   shlibpath_var=LD_LIBRARY_PATH
   11783   shlibpath_overrides_runpath=yes
   11784   if test yes = "$with_gnu_ld"; then
   11785     need_lib_prefix=no
   11786   fi
   11787   need_version=yes
   11788   ;;
   11789 
   11790 sysv4 | sysv4.3*)
   11791   version_type=linux # correct to gnu/linux during the next big refactor
   11792   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11793   soname_spec='$libname$release$shared_ext$major'
   11794   shlibpath_var=LD_LIBRARY_PATH
   11795   case $host_vendor in
   11796     sni)
   11797       shlibpath_overrides_runpath=no
   11798       need_lib_prefix=no
   11799       runpath_var=LD_RUN_PATH
   11800       ;;
   11801     siemens)
   11802       need_lib_prefix=no
   11803       ;;
   11804     motorola)
   11805       need_lib_prefix=no
   11806       need_version=no
   11807       shlibpath_overrides_runpath=no
   11808       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11809       ;;
   11810   esac
   11811   ;;
   11812 
   11813 sysv4*MP*)
   11814   if test -d /usr/nec; then
   11815     version_type=linux # correct to gnu/linux during the next big refactor
   11816     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11817     soname_spec='$libname$shared_ext.$major'
   11818     shlibpath_var=LD_LIBRARY_PATH
   11819   fi
   11820   ;;
   11821 
   11822 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11823   version_type=sco
   11824   need_lib_prefix=no
   11825   need_version=no
   11826   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11827   soname_spec='$libname$release$shared_ext$major'
   11828   shlibpath_var=LD_LIBRARY_PATH
   11829   shlibpath_overrides_runpath=yes
   11830   hardcode_into_libs=yes
   11831   if test yes = "$with_gnu_ld"; then
   11832     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11833   else
   11834     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11835     case $host_os in
   11836       sco3.2v5*)
   11837         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11838 	;;
   11839     esac
   11840   fi
   11841   sys_lib_dlsearch_path_spec='/usr/lib'
   11842   ;;
   11843 
   11844 tpf*)
   11845   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11846   version_type=linux # correct to gnu/linux during the next big refactor
   11847   need_lib_prefix=no
   11848   need_version=no
   11849   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11850   shlibpath_var=LD_LIBRARY_PATH
   11851   shlibpath_overrides_runpath=no
   11852   hardcode_into_libs=yes
   11853   ;;
   11854 
   11855 uts4*)
   11856   version_type=linux # correct to gnu/linux during the next big refactor
   11857   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11858   soname_spec='$libname$release$shared_ext$major'
   11859   shlibpath_var=LD_LIBRARY_PATH
   11860   ;;
   11861 
   11862 *)
   11863   dynamic_linker=no
   11864   ;;
   11865 esac
   11866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11867 printf "%s\n" "$dynamic_linker" >&6; }
   11868 test no = "$dynamic_linker" && can_build_shared=no
   11869 
   11870 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11871 if test yes = "$GCC"; then
   11872   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11873 fi
   11874 
   11875 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11876   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11877 fi
   11878 
   11879 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11880   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11881 fi
   11882 
   11883 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11884 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11885 
   11886 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11887 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11888 
   11889 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11890 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11989 printf %s "checking how to hardcode library paths into programs... " >&6; }
   11990 hardcode_action=
   11991 if test -n "$hardcode_libdir_flag_spec" ||
   11992    test -n "$runpath_var" ||
   11993    test yes = "$hardcode_automatic"; then
   11994 
   11995   # We can hardcode non-existent directories.
   11996   if test no != "$hardcode_direct" &&
   11997      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11998      # have to relink, otherwise we might link with an installed library
   11999      # when we should be linking with a yet-to-be-installed one
   12000      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12001      test no != "$hardcode_minus_L"; then
   12002     # Linking always hardcodes the temporary library directory.
   12003     hardcode_action=relink
   12004   else
   12005     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12006     hardcode_action=immediate
   12007   fi
   12008 else
   12009   # We cannot hardcode anything, or else we can only hardcode existing
   12010   # directories.
   12011   hardcode_action=unsupported
   12012 fi
   12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12014 printf "%s\n" "$hardcode_action" >&6; }
   12015 
   12016 if test relink = "$hardcode_action" ||
   12017    test yes = "$inherit_rpath"; then
   12018   # Fast installation is not supported
   12019   enable_fast_install=no
   12020 elif test yes = "$shlibpath_overrides_runpath" ||
   12021      test no = "$enable_shared"; then
   12022   # Fast installation is not necessary
   12023   enable_fast_install=needless
   12024 fi
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031   if test yes != "$enable_dlopen"; then
   12032   enable_dlopen=unknown
   12033   enable_dlopen_self=unknown
   12034   enable_dlopen_self_static=unknown
   12035 else
   12036   lt_cv_dlopen=no
   12037   lt_cv_dlopen_libs=
   12038 
   12039   case $host_os in
   12040   beos*)
   12041     lt_cv_dlopen=load_add_on
   12042     lt_cv_dlopen_libs=
   12043     lt_cv_dlopen_self=yes
   12044     ;;
   12045 
   12046   mingw* | pw32* | cegcc*)
   12047     lt_cv_dlopen=LoadLibrary
   12048     lt_cv_dlopen_libs=
   12049     ;;
   12050 
   12051   cygwin*)
   12052     lt_cv_dlopen=dlopen
   12053     lt_cv_dlopen_libs=
   12054     ;;
   12055 
   12056   darwin*)
   12057     # if libdl is installed we need to link against it
   12058     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12059 printf %s "checking for dlopen in -ldl... " >&6; }
   12060 if test ${ac_cv_lib_dl_dlopen+y}
   12061 then :
   12062   printf %s "(cached) " >&6
   12063 else $as_nop
   12064   ac_check_lib_save_LIBS=$LIBS
   12065 LIBS="-ldl  $LIBS"
   12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12067 /* end confdefs.h.  */
   12068 
   12069 /* Override any GCC internal prototype to avoid an error.
   12070    Use char because int might match the return type of a GCC
   12071    builtin and then its argument prototype would still apply.  */
   12072 char dlopen ();
   12073 int
   12074 main (void)
   12075 {
   12076 return dlopen ();
   12077   ;
   12078   return 0;
   12079 }
   12080 _ACEOF
   12081 if ac_fn_c_try_link "$LINENO"
   12082 then :
   12083   ac_cv_lib_dl_dlopen=yes
   12084 else $as_nop
   12085   ac_cv_lib_dl_dlopen=no
   12086 fi
   12087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12088     conftest$ac_exeext conftest.$ac_ext
   12089 LIBS=$ac_check_lib_save_LIBS
   12090 fi
   12091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12092 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12093 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12094 then :
   12095   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12096 else $as_nop
   12097 
   12098     lt_cv_dlopen=dyld
   12099     lt_cv_dlopen_libs=
   12100     lt_cv_dlopen_self=yes
   12101 
   12102 fi
   12103 
   12104     ;;
   12105 
   12106   tpf*)
   12107     # Don't try to run any link tests for TPF.  We know it's impossible
   12108     # because TPF is a cross-compiler, and we know how we open DSOs.
   12109     lt_cv_dlopen=dlopen
   12110     lt_cv_dlopen_libs=
   12111     lt_cv_dlopen_self=no
   12112     ;;
   12113 
   12114   *)
   12115     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12116 if test "x$ac_cv_func_shl_load" = xyes
   12117 then :
   12118   lt_cv_dlopen=shl_load
   12119 else $as_nop
   12120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12121 printf %s "checking for shl_load in -ldld... " >&6; }
   12122 if test ${ac_cv_lib_dld_shl_load+y}
   12123 then :
   12124   printf %s "(cached) " >&6
   12125 else $as_nop
   12126   ac_check_lib_save_LIBS=$LIBS
   12127 LIBS="-ldld  $LIBS"
   12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12129 /* end confdefs.h.  */
   12130 
   12131 /* Override any GCC internal prototype to avoid an error.
   12132    Use char because int might match the return type of a GCC
   12133    builtin and then its argument prototype would still apply.  */
   12134 char shl_load ();
   12135 int
   12136 main (void)
   12137 {
   12138 return shl_load ();
   12139   ;
   12140   return 0;
   12141 }
   12142 _ACEOF
   12143 if ac_fn_c_try_link "$LINENO"
   12144 then :
   12145   ac_cv_lib_dld_shl_load=yes
   12146 else $as_nop
   12147   ac_cv_lib_dld_shl_load=no
   12148 fi
   12149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12150     conftest$ac_exeext conftest.$ac_ext
   12151 LIBS=$ac_check_lib_save_LIBS
   12152 fi
   12153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12154 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12155 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12156 then :
   12157   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12158 else $as_nop
   12159   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12160 if test "x$ac_cv_func_dlopen" = xyes
   12161 then :
   12162   lt_cv_dlopen=dlopen
   12163 else $as_nop
   12164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12165 printf %s "checking for dlopen in -ldl... " >&6; }
   12166 if test ${ac_cv_lib_dl_dlopen+y}
   12167 then :
   12168   printf %s "(cached) " >&6
   12169 else $as_nop
   12170   ac_check_lib_save_LIBS=$LIBS
   12171 LIBS="-ldl  $LIBS"
   12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12173 /* end confdefs.h.  */
   12174 
   12175 /* Override any GCC internal prototype to avoid an error.
   12176    Use char because int might match the return type of a GCC
   12177    builtin and then its argument prototype would still apply.  */
   12178 char dlopen ();
   12179 int
   12180 main (void)
   12181 {
   12182 return dlopen ();
   12183   ;
   12184   return 0;
   12185 }
   12186 _ACEOF
   12187 if ac_fn_c_try_link "$LINENO"
   12188 then :
   12189   ac_cv_lib_dl_dlopen=yes
   12190 else $as_nop
   12191   ac_cv_lib_dl_dlopen=no
   12192 fi
   12193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12194     conftest$ac_exeext conftest.$ac_ext
   12195 LIBS=$ac_check_lib_save_LIBS
   12196 fi
   12197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12198 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12199 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12200 then :
   12201   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12202 else $as_nop
   12203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12204 printf %s "checking for dlopen in -lsvld... " >&6; }
   12205 if test ${ac_cv_lib_svld_dlopen+y}
   12206 then :
   12207   printf %s "(cached) " >&6
   12208 else $as_nop
   12209   ac_check_lib_save_LIBS=$LIBS
   12210 LIBS="-lsvld  $LIBS"
   12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12212 /* end confdefs.h.  */
   12213 
   12214 /* Override any GCC internal prototype to avoid an error.
   12215    Use char because int might match the return type of a GCC
   12216    builtin and then its argument prototype would still apply.  */
   12217 char dlopen ();
   12218 int
   12219 main (void)
   12220 {
   12221 return dlopen ();
   12222   ;
   12223   return 0;
   12224 }
   12225 _ACEOF
   12226 if ac_fn_c_try_link "$LINENO"
   12227 then :
   12228   ac_cv_lib_svld_dlopen=yes
   12229 else $as_nop
   12230   ac_cv_lib_svld_dlopen=no
   12231 fi
   12232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12233     conftest$ac_exeext conftest.$ac_ext
   12234 LIBS=$ac_check_lib_save_LIBS
   12235 fi
   12236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12237 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12238 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12239 then :
   12240   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12241 else $as_nop
   12242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12243 printf %s "checking for dld_link in -ldld... " >&6; }
   12244 if test ${ac_cv_lib_dld_dld_link+y}
   12245 then :
   12246   printf %s "(cached) " >&6
   12247 else $as_nop
   12248   ac_check_lib_save_LIBS=$LIBS
   12249 LIBS="-ldld  $LIBS"
   12250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12251 /* end confdefs.h.  */
   12252 
   12253 /* Override any GCC internal prototype to avoid an error.
   12254    Use char because int might match the return type of a GCC
   12255    builtin and then its argument prototype would still apply.  */
   12256 char dld_link ();
   12257 int
   12258 main (void)
   12259 {
   12260 return dld_link ();
   12261   ;
   12262   return 0;
   12263 }
   12264 _ACEOF
   12265 if ac_fn_c_try_link "$LINENO"
   12266 then :
   12267   ac_cv_lib_dld_dld_link=yes
   12268 else $as_nop
   12269   ac_cv_lib_dld_dld_link=no
   12270 fi
   12271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12272     conftest$ac_exeext conftest.$ac_ext
   12273 LIBS=$ac_check_lib_save_LIBS
   12274 fi
   12275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12276 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12277 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12278 then :
   12279   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12280 fi
   12281 
   12282 
   12283 fi
   12284 
   12285 
   12286 fi
   12287 
   12288 
   12289 fi
   12290 
   12291 
   12292 fi
   12293 
   12294 
   12295 fi
   12296 
   12297     ;;
   12298   esac
   12299 
   12300   if test no = "$lt_cv_dlopen"; then
   12301     enable_dlopen=no
   12302   else
   12303     enable_dlopen=yes
   12304   fi
   12305 
   12306   case $lt_cv_dlopen in
   12307   dlopen)
   12308     save_CPPFLAGS=$CPPFLAGS
   12309     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12310 
   12311     save_LDFLAGS=$LDFLAGS
   12312     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12313 
   12314     save_LIBS=$LIBS
   12315     LIBS="$lt_cv_dlopen_libs $LIBS"
   12316 
   12317     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12318 printf %s "checking whether a program can dlopen itself... " >&6; }
   12319 if test ${lt_cv_dlopen_self+y}
   12320 then :
   12321   printf %s "(cached) " >&6
   12322 else $as_nop
   12323   	  if test yes = "$cross_compiling"; then :
   12324   lt_cv_dlopen_self=cross
   12325 else
   12326   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12327   lt_status=$lt_dlunknown
   12328   cat > conftest.$ac_ext <<_LT_EOF
   12329 #line $LINENO "configure"
   12330 #include "confdefs.h"
   12331 
   12332 #if HAVE_DLFCN_H
   12333 #include <dlfcn.h>
   12334 #endif
   12335 
   12336 #include <stdio.h>
   12337 
   12338 #ifdef RTLD_GLOBAL
   12339 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12340 #else
   12341 #  ifdef DL_GLOBAL
   12342 #    define LT_DLGLOBAL		DL_GLOBAL
   12343 #  else
   12344 #    define LT_DLGLOBAL		0
   12345 #  endif
   12346 #endif
   12347 
   12348 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12349    find out it does not work in some platform. */
   12350 #ifndef LT_DLLAZY_OR_NOW
   12351 #  ifdef RTLD_LAZY
   12352 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12353 #  else
   12354 #    ifdef DL_LAZY
   12355 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12356 #    else
   12357 #      ifdef RTLD_NOW
   12358 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12359 #      else
   12360 #        ifdef DL_NOW
   12361 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12362 #        else
   12363 #          define LT_DLLAZY_OR_NOW	0
   12364 #        endif
   12365 #      endif
   12366 #    endif
   12367 #  endif
   12368 #endif
   12369 
   12370 /* When -fvisibility=hidden is used, assume the code has been annotated
   12371    correspondingly for the symbols needed.  */
   12372 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12373 int fnord () __attribute__((visibility("default")));
   12374 #endif
   12375 
   12376 int fnord () { return 42; }
   12377 int main ()
   12378 {
   12379   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12380   int status = $lt_dlunknown;
   12381 
   12382   if (self)
   12383     {
   12384       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12385       else
   12386         {
   12387 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12388           else puts (dlerror ());
   12389 	}
   12390       /* dlclose (self); */
   12391     }
   12392   else
   12393     puts (dlerror ());
   12394 
   12395   return status;
   12396 }
   12397 _LT_EOF
   12398   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12399   (eval $ac_link) 2>&5
   12400   ac_status=$?
   12401   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12402   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12403     (./conftest; exit; ) >&5 2>/dev/null
   12404     lt_status=$?
   12405     case x$lt_status in
   12406       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12407       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12408       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12409     esac
   12410   else :
   12411     # compilation failed
   12412     lt_cv_dlopen_self=no
   12413   fi
   12414 fi
   12415 rm -fr conftest*
   12416 
   12417 
   12418 fi
   12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12420 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12421 
   12422     if test yes = "$lt_cv_dlopen_self"; then
   12423       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12424       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12425 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12426 if test ${lt_cv_dlopen_self_static+y}
   12427 then :
   12428   printf %s "(cached) " >&6
   12429 else $as_nop
   12430   	  if test yes = "$cross_compiling"; then :
   12431   lt_cv_dlopen_self_static=cross
   12432 else
   12433   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12434   lt_status=$lt_dlunknown
   12435   cat > conftest.$ac_ext <<_LT_EOF
   12436 #line $LINENO "configure"
   12437 #include "confdefs.h"
   12438 
   12439 #if HAVE_DLFCN_H
   12440 #include <dlfcn.h>
   12441 #endif
   12442 
   12443 #include <stdio.h>
   12444 
   12445 #ifdef RTLD_GLOBAL
   12446 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12447 #else
   12448 #  ifdef DL_GLOBAL
   12449 #    define LT_DLGLOBAL		DL_GLOBAL
   12450 #  else
   12451 #    define LT_DLGLOBAL		0
   12452 #  endif
   12453 #endif
   12454 
   12455 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12456    find out it does not work in some platform. */
   12457 #ifndef LT_DLLAZY_OR_NOW
   12458 #  ifdef RTLD_LAZY
   12459 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12460 #  else
   12461 #    ifdef DL_LAZY
   12462 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12463 #    else
   12464 #      ifdef RTLD_NOW
   12465 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12466 #      else
   12467 #        ifdef DL_NOW
   12468 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12469 #        else
   12470 #          define LT_DLLAZY_OR_NOW	0
   12471 #        endif
   12472 #      endif
   12473 #    endif
   12474 #  endif
   12475 #endif
   12476 
   12477 /* When -fvisibility=hidden is used, assume the code has been annotated
   12478    correspondingly for the symbols needed.  */
   12479 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12480 int fnord () __attribute__((visibility("default")));
   12481 #endif
   12482 
   12483 int fnord () { return 42; }
   12484 int main ()
   12485 {
   12486   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12487   int status = $lt_dlunknown;
   12488 
   12489   if (self)
   12490     {
   12491       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12492       else
   12493         {
   12494 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12495           else puts (dlerror ());
   12496 	}
   12497       /* dlclose (self); */
   12498     }
   12499   else
   12500     puts (dlerror ());
   12501 
   12502   return status;
   12503 }
   12504 _LT_EOF
   12505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12506   (eval $ac_link) 2>&5
   12507   ac_status=$?
   12508   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12509   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12510     (./conftest; exit; ) >&5 2>/dev/null
   12511     lt_status=$?
   12512     case x$lt_status in
   12513       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12514       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12515       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12516     esac
   12517   else :
   12518     # compilation failed
   12519     lt_cv_dlopen_self_static=no
   12520   fi
   12521 fi
   12522 rm -fr conftest*
   12523 
   12524 
   12525 fi
   12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12527 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12528     fi
   12529 
   12530     CPPFLAGS=$save_CPPFLAGS
   12531     LDFLAGS=$save_LDFLAGS
   12532     LIBS=$save_LIBS
   12533     ;;
   12534   esac
   12535 
   12536   case $lt_cv_dlopen_self in
   12537   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12538   *) enable_dlopen_self=unknown ;;
   12539   esac
   12540 
   12541   case $lt_cv_dlopen_self_static in
   12542   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12543   *) enable_dlopen_self_static=unknown ;;
   12544   esac
   12545 fi
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 striplib=
   12564 old_striplib=
   12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12566 printf %s "checking whether stripping libraries is possible... " >&6; }
   12567 if test -z "$STRIP"; then
   12568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12569 printf "%s\n" "no" >&6; }
   12570 else
   12571   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12572     old_striplib="$STRIP --strip-debug"
   12573     striplib="$STRIP --strip-unneeded"
   12574     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12575 printf "%s\n" "yes" >&6; }
   12576   else
   12577     case $host_os in
   12578     darwin*)
   12579       # FIXME - insert some real tests, host_os isn't really good enough
   12580       striplib="$STRIP -x"
   12581       old_striplib="$STRIP -S"
   12582       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12583 printf "%s\n" "yes" >&6; }
   12584       ;;
   12585     freebsd*)
   12586       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12587         old_striplib="$STRIP --strip-debug"
   12588         striplib="$STRIP --strip-unneeded"
   12589         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12590 printf "%s\n" "yes" >&6; }
   12591       else
   12592         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12593 printf "%s\n" "no" >&6; }
   12594       fi
   12595       ;;
   12596     *)
   12597       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12598 printf "%s\n" "no" >&6; }
   12599       ;;
   12600     esac
   12601   fi
   12602 fi
   12603 
   12604 
   12605 
   12606 
   12607 
   12608 
   12609 
   12610 
   12611 
   12612 
   12613 
   12614 
   12615   # Report what library types will actually be built
   12616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12617 printf %s "checking if libtool supports shared libraries... " >&6; }
   12618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12619 printf "%s\n" "$can_build_shared" >&6; }
   12620 
   12621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12622 printf %s "checking whether to build shared libraries... " >&6; }
   12623   test no = "$can_build_shared" && enable_shared=no
   12624 
   12625   # On AIX, shared libraries and static libraries use the same namespace, and
   12626   # are all built from PIC.
   12627   case $host_os in
   12628   aix3*)
   12629     test yes = "$enable_shared" && enable_static=no
   12630     if test -n "$RANLIB"; then
   12631       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12632       postinstall_cmds='$RANLIB $lib'
   12633     fi
   12634     ;;
   12635 
   12636   aix[4-9]*)
   12637     if test ia64 != "$host_cpu"; then
   12638       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12639       yes,aix,yes) ;;			# shared object as lib.so file only
   12640       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12641       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12642       esac
   12643     fi
   12644     ;;
   12645   esac
   12646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12647 printf "%s\n" "$enable_shared" >&6; }
   12648 
   12649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12650 printf %s "checking whether to build static libraries... " >&6; }
   12651   # Make sure either enable_shared or enable_static is yes.
   12652   test yes = "$enable_shared" || enable_static=yes
   12653   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12654 printf "%s\n" "$enable_static" >&6; }
   12655 
   12656 
   12657 
   12658 
   12659 fi
   12660 ac_ext=c
   12661 ac_cpp='$CPP $CPPFLAGS'
   12662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12665 
   12666 CC=$lt_save_CC
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682         ac_config_commands="$ac_config_commands libtool"
   12683 
   12684 
   12685 
   12686 
   12687 # Only expand once:
   12688 
   12689 
   12690 
   12691 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12705 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12706 if test ${ac_cv_c_undeclared_builtin_options+y}
   12707 then :
   12708   printf %s "(cached) " >&6
   12709 else $as_nop
   12710   ac_save_CFLAGS=$CFLAGS
   12711    ac_cv_c_undeclared_builtin_options='cannot detect'
   12712    for ac_arg in '' -fno-builtin; do
   12713      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12714      # This test program should *not* compile successfully.
   12715      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12716 /* end confdefs.h.  */
   12717 
   12718 int
   12719 main (void)
   12720 {
   12721 (void) strchr;
   12722   ;
   12723   return 0;
   12724 }
   12725 _ACEOF
   12726 if ac_fn_c_try_compile "$LINENO"
   12727 then :
   12728 
   12729 else $as_nop
   12730   # This test program should compile successfully.
   12731         # No library function is consistently available on
   12732         # freestanding implementations, so test against a dummy
   12733         # declaration.  Include always-available headers on the
   12734         # off chance that they somehow elicit warnings.
   12735         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12736 /* end confdefs.h.  */
   12737 #include <float.h>
   12738 #include <limits.h>
   12739 #include <stdarg.h>
   12740 #include <stddef.h>
   12741 extern void ac_decl (int, char *);
   12742 
   12743 int
   12744 main (void)
   12745 {
   12746 (void) ac_decl (0, (char *) 0);
   12747   (void) ac_decl;
   12748 
   12749   ;
   12750   return 0;
   12751 }
   12752 _ACEOF
   12753 if ac_fn_c_try_compile "$LINENO"
   12754 then :
   12755   if test x"$ac_arg" = x
   12756 then :
   12757   ac_cv_c_undeclared_builtin_options='none needed'
   12758 else $as_nop
   12759   ac_cv_c_undeclared_builtin_options=$ac_arg
   12760 fi
   12761           break
   12762 fi
   12763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12764 fi
   12765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12766     done
   12767     CFLAGS=$ac_save_CFLAGS
   12768 
   12769 fi
   12770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12771 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12772   case $ac_cv_c_undeclared_builtin_options in #(
   12773   'cannot detect') :
   12774     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12775 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12776 as_fn_error $? "cannot make $CC report undeclared builtins
   12777 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12778   'none needed') :
   12779     ac_c_undeclared_builtin_options='' ;; #(
   12780   *) :
   12781     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12782 esac
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12789 if test "x$ac_cv_have_decl___clang__" = xyes
   12790 then :
   12791   CLANGCC="yes"
   12792 else $as_nop
   12793   CLANGCC="no"
   12794 fi
   12795 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12796 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12797 then :
   12798   INTELCC="yes"
   12799 else $as_nop
   12800   INTELCC="no"
   12801 fi
   12802 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12803 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12804 then :
   12805   SUNCC="yes"
   12806 else $as_nop
   12807   SUNCC="no"
   12808 fi
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12818 	if test -n "$ac_tool_prefix"; then
   12819   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12820 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12822 printf %s "checking for $ac_word... " >&6; }
   12823 if test ${ac_cv_path_PKG_CONFIG+y}
   12824 then :
   12825   printf %s "(cached) " >&6
   12826 else $as_nop
   12827   case $PKG_CONFIG in
   12828   [\\/]* | ?:[\\/]*)
   12829   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12830   ;;
   12831   *)
   12832   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12833 for as_dir in $PATH
   12834 do
   12835   IFS=$as_save_IFS
   12836   case $as_dir in #(((
   12837     '') as_dir=./ ;;
   12838     */) ;;
   12839     *) as_dir=$as_dir/ ;;
   12840   esac
   12841     for ac_exec_ext in '' $ac_executable_extensions; do
   12842   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12843     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12844     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12845     break 2
   12846   fi
   12847 done
   12848   done
   12849 IFS=$as_save_IFS
   12850 
   12851   ;;
   12852 esac
   12853 fi
   12854 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12855 if test -n "$PKG_CONFIG"; then
   12856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12857 printf "%s\n" "$PKG_CONFIG" >&6; }
   12858 else
   12859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12860 printf "%s\n" "no" >&6; }
   12861 fi
   12862 
   12863 
   12864 fi
   12865 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12866   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12867   # Extract the first word of "pkg-config", so it can be a program name with args.
   12868 set dummy pkg-config; ac_word=$2
   12869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12870 printf %s "checking for $ac_word... " >&6; }
   12871 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12872 then :
   12873   printf %s "(cached) " >&6
   12874 else $as_nop
   12875   case $ac_pt_PKG_CONFIG in
   12876   [\\/]* | ?:[\\/]*)
   12877   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12878   ;;
   12879   *)
   12880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12881 for as_dir in $PATH
   12882 do
   12883   IFS=$as_save_IFS
   12884   case $as_dir in #(((
   12885     '') as_dir=./ ;;
   12886     */) ;;
   12887     *) as_dir=$as_dir/ ;;
   12888   esac
   12889     for ac_exec_ext in '' $ac_executable_extensions; do
   12890   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12891     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12892     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12893     break 2
   12894   fi
   12895 done
   12896   done
   12897 IFS=$as_save_IFS
   12898 
   12899   ;;
   12900 esac
   12901 fi
   12902 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12903 if test -n "$ac_pt_PKG_CONFIG"; then
   12904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12905 printf "%s\n" "$ac_pt_PKG_CONFIG" >&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_pt_PKG_CONFIG" = x; then
   12912     PKG_CONFIG=""
   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     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12921   fi
   12922 else
   12923   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12924 fi
   12925 
   12926 fi
   12927 if test -n "$PKG_CONFIG"; then
   12928 	_pkg_min_version=0.9.0
   12929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12930 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12931 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12933 printf "%s\n" "yes" >&6; }
   12934 	else
   12935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12936 printf "%s\n" "no" >&6; }
   12937 		PKG_CONFIG=""
   12938 	fi
   12939 fi
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 # Check whether --enable-selective-werror was given.
   12946 if test ${enable_selective_werror+y}
   12947 then :
   12948   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12949 else $as_nop
   12950   SELECTIVE_WERROR=yes
   12951 fi
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12958 if test "x$SUNCC" = "xyes"; then
   12959     BASE_CFLAGS="-v"
   12960 else
   12961     BASE_CFLAGS=""
   12962 fi
   12963 
   12964 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 xorg_testset_save_CFLAGS="$CFLAGS"
   12979 
   12980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12983 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12984 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12985 then :
   12986   printf %s "(cached) " >&6
   12987 else $as_nop
   12988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12989 /* end confdefs.h.  */
   12990 int i;
   12991 _ACEOF
   12992 if ac_fn_c_try_compile "$LINENO"
   12993 then :
   12994   xorg_cv_cc_flag_unknown_warning_option=yes
   12995 else $as_nop
   12996   xorg_cv_cc_flag_unknown_warning_option=no
   12997 fi
   12998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12999 fi
   13000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13001 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13003 	CFLAGS="$xorg_testset_save_CFLAGS"
   13004 fi
   13005 
   13006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13009 	fi
   13010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13011 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13012 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13013 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13014 then :
   13015   printf %s "(cached) " >&6
   13016 else $as_nop
   13017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13018 /* end confdefs.h.  */
   13019 int i;
   13020 _ACEOF
   13021 if ac_fn_c_try_compile "$LINENO"
   13022 then :
   13023   xorg_cv_cc_flag_unused_command_line_argument=yes
   13024 else $as_nop
   13025   xorg_cv_cc_flag_unused_command_line_argument=no
   13026 fi
   13027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13028 fi
   13029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13030 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13032 	CFLAGS="$xorg_testset_save_CFLAGS"
   13033 fi
   13034 
   13035 found="no"
   13036 
   13037 	if test $found = "no" ; then
   13038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13040 		fi
   13041 
   13042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13044 		fi
   13045 
   13046 		CFLAGS="$CFLAGS -Wall"
   13047 
   13048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13049 printf %s "checking if $CC supports -Wall... " >&6; }
   13050 		cacheid=xorg_cv_cc_flag__Wall
   13051 		if eval test \${$cacheid+y}
   13052 then :
   13053   printf %s "(cached) " >&6
   13054 else $as_nop
   13055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13056 /* end confdefs.h.  */
   13057 int i;
   13058 int
   13059 main (void)
   13060 {
   13061 
   13062   ;
   13063   return 0;
   13064 }
   13065 _ACEOF
   13066 if ac_fn_c_try_link "$LINENO"
   13067 then :
   13068   eval $cacheid=yes
   13069 else $as_nop
   13070   eval $cacheid=no
   13071 fi
   13072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13073     conftest$ac_exeext conftest.$ac_ext
   13074 fi
   13075 
   13076 
   13077 		CFLAGS="$xorg_testset_save_CFLAGS"
   13078 
   13079 		eval supported=\$$cacheid
   13080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13081 printf "%s\n" "$supported" >&6; }
   13082 		if test "$supported" = "yes" ; then
   13083 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13084 			found="yes"
   13085 		fi
   13086 	fi
   13087 
   13088 
   13089 
   13090 
   13091 
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 xorg_testset_save_CFLAGS="$CFLAGS"
   13103 
   13104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13107 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13108 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13109 then :
   13110   printf %s "(cached) " >&6
   13111 else $as_nop
   13112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13113 /* end confdefs.h.  */
   13114 int i;
   13115 _ACEOF
   13116 if ac_fn_c_try_compile "$LINENO"
   13117 then :
   13118   xorg_cv_cc_flag_unknown_warning_option=yes
   13119 else $as_nop
   13120   xorg_cv_cc_flag_unknown_warning_option=no
   13121 fi
   13122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13123 fi
   13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13125 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13127 	CFLAGS="$xorg_testset_save_CFLAGS"
   13128 fi
   13129 
   13130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13133 	fi
   13134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13138 then :
   13139   printf %s "(cached) " >&6
   13140 else $as_nop
   13141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13142 /* end confdefs.h.  */
   13143 int i;
   13144 _ACEOF
   13145 if ac_fn_c_try_compile "$LINENO"
   13146 then :
   13147   xorg_cv_cc_flag_unused_command_line_argument=yes
   13148 else $as_nop
   13149   xorg_cv_cc_flag_unused_command_line_argument=no
   13150 fi
   13151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13152 fi
   13153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13154 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13156 	CFLAGS="$xorg_testset_save_CFLAGS"
   13157 fi
   13158 
   13159 found="no"
   13160 
   13161 	if test $found = "no" ; then
   13162 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13164 		fi
   13165 
   13166 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13168 		fi
   13169 
   13170 		CFLAGS="$CFLAGS -Wpointer-arith"
   13171 
   13172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13173 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13174 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13175 		if eval test \${$cacheid+y}
   13176 then :
   13177   printf %s "(cached) " >&6
   13178 else $as_nop
   13179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13180 /* end confdefs.h.  */
   13181 int i;
   13182 int
   13183 main (void)
   13184 {
   13185 
   13186   ;
   13187   return 0;
   13188 }
   13189 _ACEOF
   13190 if ac_fn_c_try_link "$LINENO"
   13191 then :
   13192   eval $cacheid=yes
   13193 else $as_nop
   13194   eval $cacheid=no
   13195 fi
   13196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13197     conftest$ac_exeext conftest.$ac_ext
   13198 fi
   13199 
   13200 
   13201 		CFLAGS="$xorg_testset_save_CFLAGS"
   13202 
   13203 		eval supported=\$$cacheid
   13204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13205 printf "%s\n" "$supported" >&6; }
   13206 		if test "$supported" = "yes" ; then
   13207 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13208 			found="yes"
   13209 		fi
   13210 	fi
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 xorg_testset_save_CFLAGS="$CFLAGS"
   13227 
   13228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13231 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13232 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13233 then :
   13234   printf %s "(cached) " >&6
   13235 else $as_nop
   13236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13237 /* end confdefs.h.  */
   13238 int i;
   13239 _ACEOF
   13240 if ac_fn_c_try_compile "$LINENO"
   13241 then :
   13242   xorg_cv_cc_flag_unknown_warning_option=yes
   13243 else $as_nop
   13244   xorg_cv_cc_flag_unknown_warning_option=no
   13245 fi
   13246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13247 fi
   13248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13249 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13251 	CFLAGS="$xorg_testset_save_CFLAGS"
   13252 fi
   13253 
   13254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13257 	fi
   13258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13260 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13261 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13262 then :
   13263   printf %s "(cached) " >&6
   13264 else $as_nop
   13265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13266 /* end confdefs.h.  */
   13267 int i;
   13268 _ACEOF
   13269 if ac_fn_c_try_compile "$LINENO"
   13270 then :
   13271   xorg_cv_cc_flag_unused_command_line_argument=yes
   13272 else $as_nop
   13273   xorg_cv_cc_flag_unused_command_line_argument=no
   13274 fi
   13275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13276 fi
   13277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13278 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13279 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13280 	CFLAGS="$xorg_testset_save_CFLAGS"
   13281 fi
   13282 
   13283 found="no"
   13284 
   13285 	if test $found = "no" ; then
   13286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13288 		fi
   13289 
   13290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13292 		fi
   13293 
   13294 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13295 
   13296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13297 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13298 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13299 		if eval test \${$cacheid+y}
   13300 then :
   13301   printf %s "(cached) " >&6
   13302 else $as_nop
   13303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13304 /* end confdefs.h.  */
   13305 int i;
   13306 int
   13307 main (void)
   13308 {
   13309 
   13310   ;
   13311   return 0;
   13312 }
   13313 _ACEOF
   13314 if ac_fn_c_try_link "$LINENO"
   13315 then :
   13316   eval $cacheid=yes
   13317 else $as_nop
   13318   eval $cacheid=no
   13319 fi
   13320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13321     conftest$ac_exeext conftest.$ac_ext
   13322 fi
   13323 
   13324 
   13325 		CFLAGS="$xorg_testset_save_CFLAGS"
   13326 
   13327 		eval supported=\$$cacheid
   13328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13329 printf "%s\n" "$supported" >&6; }
   13330 		if test "$supported" = "yes" ; then
   13331 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13332 			found="yes"
   13333 		fi
   13334 	fi
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 xorg_testset_save_CFLAGS="$CFLAGS"
   13351 
   13352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13355 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13356 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13357 then :
   13358   printf %s "(cached) " >&6
   13359 else $as_nop
   13360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13361 /* end confdefs.h.  */
   13362 int i;
   13363 _ACEOF
   13364 if ac_fn_c_try_compile "$LINENO"
   13365 then :
   13366   xorg_cv_cc_flag_unknown_warning_option=yes
   13367 else $as_nop
   13368   xorg_cv_cc_flag_unknown_warning_option=no
   13369 fi
   13370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13371 fi
   13372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13375 	CFLAGS="$xorg_testset_save_CFLAGS"
   13376 fi
   13377 
   13378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13381 	fi
   13382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13386 then :
   13387   printf %s "(cached) " >&6
   13388 else $as_nop
   13389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13390 /* end confdefs.h.  */
   13391 int i;
   13392 _ACEOF
   13393 if ac_fn_c_try_compile "$LINENO"
   13394 then :
   13395   xorg_cv_cc_flag_unused_command_line_argument=yes
   13396 else $as_nop
   13397   xorg_cv_cc_flag_unused_command_line_argument=no
   13398 fi
   13399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13400 fi
   13401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13402 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13404 	CFLAGS="$xorg_testset_save_CFLAGS"
   13405 fi
   13406 
   13407 found="no"
   13408 
   13409 	if test $found = "no" ; then
   13410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13412 		fi
   13413 
   13414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13416 		fi
   13417 
   13418 		CFLAGS="$CFLAGS -Wformat=2"
   13419 
   13420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13421 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13422 		cacheid=xorg_cv_cc_flag__Wformat_2
   13423 		if eval test \${$cacheid+y}
   13424 then :
   13425   printf %s "(cached) " >&6
   13426 else $as_nop
   13427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13428 /* end confdefs.h.  */
   13429 int i;
   13430 int
   13431 main (void)
   13432 {
   13433 
   13434   ;
   13435   return 0;
   13436 }
   13437 _ACEOF
   13438 if ac_fn_c_try_link "$LINENO"
   13439 then :
   13440   eval $cacheid=yes
   13441 else $as_nop
   13442   eval $cacheid=no
   13443 fi
   13444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13445     conftest$ac_exeext conftest.$ac_ext
   13446 fi
   13447 
   13448 
   13449 		CFLAGS="$xorg_testset_save_CFLAGS"
   13450 
   13451 		eval supported=\$$cacheid
   13452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13453 printf "%s\n" "$supported" >&6; }
   13454 		if test "$supported" = "yes" ; then
   13455 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13456 			found="yes"
   13457 		fi
   13458 	fi
   13459 
   13460 	if test $found = "no" ; then
   13461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13463 		fi
   13464 
   13465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13467 		fi
   13468 
   13469 		CFLAGS="$CFLAGS -Wformat"
   13470 
   13471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13472 printf %s "checking if $CC supports -Wformat... " >&6; }
   13473 		cacheid=xorg_cv_cc_flag__Wformat
   13474 		if eval test \${$cacheid+y}
   13475 then :
   13476   printf %s "(cached) " >&6
   13477 else $as_nop
   13478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13479 /* end confdefs.h.  */
   13480 int i;
   13481 int
   13482 main (void)
   13483 {
   13484 
   13485   ;
   13486   return 0;
   13487 }
   13488 _ACEOF
   13489 if ac_fn_c_try_link "$LINENO"
   13490 then :
   13491   eval $cacheid=yes
   13492 else $as_nop
   13493   eval $cacheid=no
   13494 fi
   13495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13496     conftest$ac_exeext conftest.$ac_ext
   13497 fi
   13498 
   13499 
   13500 		CFLAGS="$xorg_testset_save_CFLAGS"
   13501 
   13502 		eval supported=\$$cacheid
   13503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13504 printf "%s\n" "$supported" >&6; }
   13505 		if test "$supported" = "yes" ; then
   13506 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13507 			found="yes"
   13508 		fi
   13509 	fi
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 xorg_testset_save_CFLAGS="$CFLAGS"
   13528 
   13529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13532 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13533 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13534 then :
   13535   printf %s "(cached) " >&6
   13536 else $as_nop
   13537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13538 /* end confdefs.h.  */
   13539 int i;
   13540 _ACEOF
   13541 if ac_fn_c_try_compile "$LINENO"
   13542 then :
   13543   xorg_cv_cc_flag_unknown_warning_option=yes
   13544 else $as_nop
   13545   xorg_cv_cc_flag_unknown_warning_option=no
   13546 fi
   13547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13548 fi
   13549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13550 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13552 	CFLAGS="$xorg_testset_save_CFLAGS"
   13553 fi
   13554 
   13555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13558 	fi
   13559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13560 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13561 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13562 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13563 then :
   13564   printf %s "(cached) " >&6
   13565 else $as_nop
   13566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13567 /* end confdefs.h.  */
   13568 int i;
   13569 _ACEOF
   13570 if ac_fn_c_try_compile "$LINENO"
   13571 then :
   13572   xorg_cv_cc_flag_unused_command_line_argument=yes
   13573 else $as_nop
   13574   xorg_cv_cc_flag_unused_command_line_argument=no
   13575 fi
   13576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13577 fi
   13578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13579 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13581 	CFLAGS="$xorg_testset_save_CFLAGS"
   13582 fi
   13583 
   13584 found="no"
   13585 
   13586 	if test $found = "no" ; then
   13587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13589 		fi
   13590 
   13591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13593 		fi
   13594 
   13595 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13596 
   13597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13598 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13599 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13600 		if eval test \${$cacheid+y}
   13601 then :
   13602   printf %s "(cached) " >&6
   13603 else $as_nop
   13604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13605 /* end confdefs.h.  */
   13606 int i;
   13607 int
   13608 main (void)
   13609 {
   13610 
   13611   ;
   13612   return 0;
   13613 }
   13614 _ACEOF
   13615 if ac_fn_c_try_link "$LINENO"
   13616 then :
   13617   eval $cacheid=yes
   13618 else $as_nop
   13619   eval $cacheid=no
   13620 fi
   13621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13622     conftest$ac_exeext conftest.$ac_ext
   13623 fi
   13624 
   13625 
   13626 		CFLAGS="$xorg_testset_save_CFLAGS"
   13627 
   13628 		eval supported=\$$cacheid
   13629 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13630 printf "%s\n" "$supported" >&6; }
   13631 		if test "$supported" = "yes" ; then
   13632 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13633 			found="yes"
   13634 		fi
   13635 	fi
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 xorg_testset_save_CFLAGS="$CFLAGS"
   13652 
   13653 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13654 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13656 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13657 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13658 then :
   13659   printf %s "(cached) " >&6
   13660 else $as_nop
   13661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13662 /* end confdefs.h.  */
   13663 int i;
   13664 _ACEOF
   13665 if ac_fn_c_try_compile "$LINENO"
   13666 then :
   13667   xorg_cv_cc_flag_unknown_warning_option=yes
   13668 else $as_nop
   13669   xorg_cv_cc_flag_unknown_warning_option=no
   13670 fi
   13671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13672 fi
   13673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13674 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13676 	CFLAGS="$xorg_testset_save_CFLAGS"
   13677 fi
   13678 
   13679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13682 	fi
   13683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13684 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13685 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13686 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13687 then :
   13688   printf %s "(cached) " >&6
   13689 else $as_nop
   13690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13691 /* end confdefs.h.  */
   13692 int i;
   13693 _ACEOF
   13694 if ac_fn_c_try_compile "$LINENO"
   13695 then :
   13696   xorg_cv_cc_flag_unused_command_line_argument=yes
   13697 else $as_nop
   13698   xorg_cv_cc_flag_unused_command_line_argument=no
   13699 fi
   13700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13701 fi
   13702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13703 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13704 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13705 	CFLAGS="$xorg_testset_save_CFLAGS"
   13706 fi
   13707 
   13708 found="no"
   13709 
   13710 	if test $found = "no" ; then
   13711 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13712 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13713 		fi
   13714 
   13715 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13716 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13717 		fi
   13718 
   13719 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13720 
   13721 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13722 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13723 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13724 		if eval test \${$cacheid+y}
   13725 then :
   13726   printf %s "(cached) " >&6
   13727 else $as_nop
   13728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13729 /* end confdefs.h.  */
   13730 int i;
   13731 int
   13732 main (void)
   13733 {
   13734 
   13735   ;
   13736   return 0;
   13737 }
   13738 _ACEOF
   13739 if ac_fn_c_try_link "$LINENO"
   13740 then :
   13741   eval $cacheid=yes
   13742 else $as_nop
   13743   eval $cacheid=no
   13744 fi
   13745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13746     conftest$ac_exeext conftest.$ac_ext
   13747 fi
   13748 
   13749 
   13750 		CFLAGS="$xorg_testset_save_CFLAGS"
   13751 
   13752 		eval supported=\$$cacheid
   13753 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13754 printf "%s\n" "$supported" >&6; }
   13755 		if test "$supported" = "yes" ; then
   13756 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13757 			found="yes"
   13758 		fi
   13759 	fi
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 xorg_testset_save_CFLAGS="$CFLAGS"
   13776 
   13777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13780 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13781 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13782 then :
   13783   printf %s "(cached) " >&6
   13784 else $as_nop
   13785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13786 /* end confdefs.h.  */
   13787 int i;
   13788 _ACEOF
   13789 if ac_fn_c_try_compile "$LINENO"
   13790 then :
   13791   xorg_cv_cc_flag_unknown_warning_option=yes
   13792 else $as_nop
   13793   xorg_cv_cc_flag_unknown_warning_option=no
   13794 fi
   13795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13796 fi
   13797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13798 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13800 	CFLAGS="$xorg_testset_save_CFLAGS"
   13801 fi
   13802 
   13803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13806 	fi
   13807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13809 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13810 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13811 then :
   13812   printf %s "(cached) " >&6
   13813 else $as_nop
   13814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13815 /* end confdefs.h.  */
   13816 int i;
   13817 _ACEOF
   13818 if ac_fn_c_try_compile "$LINENO"
   13819 then :
   13820   xorg_cv_cc_flag_unused_command_line_argument=yes
   13821 else $as_nop
   13822   xorg_cv_cc_flag_unused_command_line_argument=no
   13823 fi
   13824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13825 fi
   13826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13827 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13829 	CFLAGS="$xorg_testset_save_CFLAGS"
   13830 fi
   13831 
   13832 found="no"
   13833 
   13834 	if test $found = "no" ; then
   13835 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13837 		fi
   13838 
   13839 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13841 		fi
   13842 
   13843 		CFLAGS="$CFLAGS -Wnested-externs"
   13844 
   13845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13846 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13847 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13848 		if eval test \${$cacheid+y}
   13849 then :
   13850   printf %s "(cached) " >&6
   13851 else $as_nop
   13852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13853 /* end confdefs.h.  */
   13854 int i;
   13855 int
   13856 main (void)
   13857 {
   13858 
   13859   ;
   13860   return 0;
   13861 }
   13862 _ACEOF
   13863 if ac_fn_c_try_link "$LINENO"
   13864 then :
   13865   eval $cacheid=yes
   13866 else $as_nop
   13867   eval $cacheid=no
   13868 fi
   13869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13870     conftest$ac_exeext conftest.$ac_ext
   13871 fi
   13872 
   13873 
   13874 		CFLAGS="$xorg_testset_save_CFLAGS"
   13875 
   13876 		eval supported=\$$cacheid
   13877 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13878 printf "%s\n" "$supported" >&6; }
   13879 		if test "$supported" = "yes" ; then
   13880 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13881 			found="yes"
   13882 		fi
   13883 	fi
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 xorg_testset_save_CFLAGS="$CFLAGS"
   13900 
   13901 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13904 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13905 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13906 then :
   13907   printf %s "(cached) " >&6
   13908 else $as_nop
   13909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13910 /* end confdefs.h.  */
   13911 int i;
   13912 _ACEOF
   13913 if ac_fn_c_try_compile "$LINENO"
   13914 then :
   13915   xorg_cv_cc_flag_unknown_warning_option=yes
   13916 else $as_nop
   13917   xorg_cv_cc_flag_unknown_warning_option=no
   13918 fi
   13919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13920 fi
   13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13922 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13924 	CFLAGS="$xorg_testset_save_CFLAGS"
   13925 fi
   13926 
   13927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13930 	fi
   13931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13932 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13933 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13934 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13935 then :
   13936   printf %s "(cached) " >&6
   13937 else $as_nop
   13938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13939 /* end confdefs.h.  */
   13940 int i;
   13941 _ACEOF
   13942 if ac_fn_c_try_compile "$LINENO"
   13943 then :
   13944   xorg_cv_cc_flag_unused_command_line_argument=yes
   13945 else $as_nop
   13946   xorg_cv_cc_flag_unused_command_line_argument=no
   13947 fi
   13948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13949 fi
   13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13951 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13953 	CFLAGS="$xorg_testset_save_CFLAGS"
   13954 fi
   13955 
   13956 found="no"
   13957 
   13958 	if test $found = "no" ; then
   13959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13961 		fi
   13962 
   13963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13965 		fi
   13966 
   13967 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13968 
   13969 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13970 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   13971 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13972 		if eval test \${$cacheid+y}
   13973 then :
   13974   printf %s "(cached) " >&6
   13975 else $as_nop
   13976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13977 /* end confdefs.h.  */
   13978 int i;
   13979 int
   13980 main (void)
   13981 {
   13982 
   13983   ;
   13984   return 0;
   13985 }
   13986 _ACEOF
   13987 if ac_fn_c_try_link "$LINENO"
   13988 then :
   13989   eval $cacheid=yes
   13990 else $as_nop
   13991   eval $cacheid=no
   13992 fi
   13993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13994     conftest$ac_exeext conftest.$ac_ext
   13995 fi
   13996 
   13997 
   13998 		CFLAGS="$xorg_testset_save_CFLAGS"
   13999 
   14000 		eval supported=\$$cacheid
   14001 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14002 printf "%s\n" "$supported" >&6; }
   14003 		if test "$supported" = "yes" ; then
   14004 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14005 			found="yes"
   14006 		fi
   14007 	fi
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 xorg_testset_save_CFLAGS="$CFLAGS"
   14024 
   14025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14028 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14029 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14030 then :
   14031   printf %s "(cached) " >&6
   14032 else $as_nop
   14033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14034 /* end confdefs.h.  */
   14035 int i;
   14036 _ACEOF
   14037 if ac_fn_c_try_compile "$LINENO"
   14038 then :
   14039   xorg_cv_cc_flag_unknown_warning_option=yes
   14040 else $as_nop
   14041   xorg_cv_cc_flag_unknown_warning_option=no
   14042 fi
   14043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14044 fi
   14045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14046 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14048 	CFLAGS="$xorg_testset_save_CFLAGS"
   14049 fi
   14050 
   14051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14054 	fi
   14055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14056 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14057 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14058 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14059 then :
   14060   printf %s "(cached) " >&6
   14061 else $as_nop
   14062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14063 /* end confdefs.h.  */
   14064 int i;
   14065 _ACEOF
   14066 if ac_fn_c_try_compile "$LINENO"
   14067 then :
   14068   xorg_cv_cc_flag_unused_command_line_argument=yes
   14069 else $as_nop
   14070   xorg_cv_cc_flag_unused_command_line_argument=no
   14071 fi
   14072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14073 fi
   14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14075 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14077 	CFLAGS="$xorg_testset_save_CFLAGS"
   14078 fi
   14079 
   14080 found="no"
   14081 
   14082 	if test $found = "no" ; then
   14083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14085 		fi
   14086 
   14087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14089 		fi
   14090 
   14091 		CFLAGS="$CFLAGS -Wold-style-definition"
   14092 
   14093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14094 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14095 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14096 		if eval test \${$cacheid+y}
   14097 then :
   14098   printf %s "(cached) " >&6
   14099 else $as_nop
   14100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14101 /* end confdefs.h.  */
   14102 int i;
   14103 int
   14104 main (void)
   14105 {
   14106 
   14107   ;
   14108   return 0;
   14109 }
   14110 _ACEOF
   14111 if ac_fn_c_try_link "$LINENO"
   14112 then :
   14113   eval $cacheid=yes
   14114 else $as_nop
   14115   eval $cacheid=no
   14116 fi
   14117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14118     conftest$ac_exeext conftest.$ac_ext
   14119 fi
   14120 
   14121 
   14122 		CFLAGS="$xorg_testset_save_CFLAGS"
   14123 
   14124 		eval supported=\$$cacheid
   14125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14126 printf "%s\n" "$supported" >&6; }
   14127 		if test "$supported" = "yes" ; then
   14128 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14129 			found="yes"
   14130 		fi
   14131 	fi
   14132 
   14133 	if test $found = "no" ; then
   14134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14136 		fi
   14137 
   14138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14140 		fi
   14141 
   14142 		CFLAGS="$CFLAGS -fd"
   14143 
   14144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14145 printf %s "checking if $CC supports -fd... " >&6; }
   14146 		cacheid=xorg_cv_cc_flag__fd
   14147 		if eval test \${$cacheid+y}
   14148 then :
   14149   printf %s "(cached) " >&6
   14150 else $as_nop
   14151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14152 /* end confdefs.h.  */
   14153 int i;
   14154 int
   14155 main (void)
   14156 {
   14157 
   14158   ;
   14159   return 0;
   14160 }
   14161 _ACEOF
   14162 if ac_fn_c_try_link "$LINENO"
   14163 then :
   14164   eval $cacheid=yes
   14165 else $as_nop
   14166   eval $cacheid=no
   14167 fi
   14168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14169     conftest$ac_exeext conftest.$ac_ext
   14170 fi
   14171 
   14172 
   14173 		CFLAGS="$xorg_testset_save_CFLAGS"
   14174 
   14175 		eval supported=\$$cacheid
   14176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14177 printf "%s\n" "$supported" >&6; }
   14178 		if test "$supported" = "yes" ; then
   14179 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14180 			found="yes"
   14181 		fi
   14182 	fi
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 xorg_testset_save_CFLAGS="$CFLAGS"
   14199 
   14200 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14201 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14203 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14204 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14205 then :
   14206   printf %s "(cached) " >&6
   14207 else $as_nop
   14208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14209 /* end confdefs.h.  */
   14210 int i;
   14211 _ACEOF
   14212 if ac_fn_c_try_compile "$LINENO"
   14213 then :
   14214   xorg_cv_cc_flag_unknown_warning_option=yes
   14215 else $as_nop
   14216   xorg_cv_cc_flag_unknown_warning_option=no
   14217 fi
   14218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14219 fi
   14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14221 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14223 	CFLAGS="$xorg_testset_save_CFLAGS"
   14224 fi
   14225 
   14226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14229 	fi
   14230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14232 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14233 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14234 then :
   14235   printf %s "(cached) " >&6
   14236 else $as_nop
   14237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14238 /* end confdefs.h.  */
   14239 int i;
   14240 _ACEOF
   14241 if ac_fn_c_try_compile "$LINENO"
   14242 then :
   14243   xorg_cv_cc_flag_unused_command_line_argument=yes
   14244 else $as_nop
   14245   xorg_cv_cc_flag_unused_command_line_argument=no
   14246 fi
   14247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14248 fi
   14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14250 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14252 	CFLAGS="$xorg_testset_save_CFLAGS"
   14253 fi
   14254 
   14255 found="no"
   14256 
   14257 	if test $found = "no" ; then
   14258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14260 		fi
   14261 
   14262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14264 		fi
   14265 
   14266 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14267 
   14268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14269 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14270 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14271 		if eval test \${$cacheid+y}
   14272 then :
   14273   printf %s "(cached) " >&6
   14274 else $as_nop
   14275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14276 /* end confdefs.h.  */
   14277 int i;
   14278 int
   14279 main (void)
   14280 {
   14281 
   14282   ;
   14283   return 0;
   14284 }
   14285 _ACEOF
   14286 if ac_fn_c_try_link "$LINENO"
   14287 then :
   14288   eval $cacheid=yes
   14289 else $as_nop
   14290   eval $cacheid=no
   14291 fi
   14292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14293     conftest$ac_exeext conftest.$ac_ext
   14294 fi
   14295 
   14296 
   14297 		CFLAGS="$xorg_testset_save_CFLAGS"
   14298 
   14299 		eval supported=\$$cacheid
   14300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14301 printf "%s\n" "$supported" >&6; }
   14302 		if test "$supported" = "yes" ; then
   14303 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14304 			found="yes"
   14305 		fi
   14306 	fi
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 # This chunk adds additional warnings that could catch undesired effects.
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 xorg_testset_save_CFLAGS="$CFLAGS"
   14327 
   14328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14331 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14332 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14333 then :
   14334   printf %s "(cached) " >&6
   14335 else $as_nop
   14336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14337 /* end confdefs.h.  */
   14338 int i;
   14339 _ACEOF
   14340 if ac_fn_c_try_compile "$LINENO"
   14341 then :
   14342   xorg_cv_cc_flag_unknown_warning_option=yes
   14343 else $as_nop
   14344   xorg_cv_cc_flag_unknown_warning_option=no
   14345 fi
   14346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14347 fi
   14348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14349 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14351 	CFLAGS="$xorg_testset_save_CFLAGS"
   14352 fi
   14353 
   14354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14357 	fi
   14358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14360 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14361 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14362 then :
   14363   printf %s "(cached) " >&6
   14364 else $as_nop
   14365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14366 /* end confdefs.h.  */
   14367 int i;
   14368 _ACEOF
   14369 if ac_fn_c_try_compile "$LINENO"
   14370 then :
   14371   xorg_cv_cc_flag_unused_command_line_argument=yes
   14372 else $as_nop
   14373   xorg_cv_cc_flag_unused_command_line_argument=no
   14374 fi
   14375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14376 fi
   14377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14378 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14380 	CFLAGS="$xorg_testset_save_CFLAGS"
   14381 fi
   14382 
   14383 found="no"
   14384 
   14385 	if test $found = "no" ; then
   14386 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14388 		fi
   14389 
   14390 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14392 		fi
   14393 
   14394 		CFLAGS="$CFLAGS -Wunused"
   14395 
   14396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14397 printf %s "checking if $CC supports -Wunused... " >&6; }
   14398 		cacheid=xorg_cv_cc_flag__Wunused
   14399 		if eval test \${$cacheid+y}
   14400 then :
   14401   printf %s "(cached) " >&6
   14402 else $as_nop
   14403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14404 /* end confdefs.h.  */
   14405 int i;
   14406 int
   14407 main (void)
   14408 {
   14409 
   14410   ;
   14411   return 0;
   14412 }
   14413 _ACEOF
   14414 if ac_fn_c_try_link "$LINENO"
   14415 then :
   14416   eval $cacheid=yes
   14417 else $as_nop
   14418   eval $cacheid=no
   14419 fi
   14420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14421     conftest$ac_exeext conftest.$ac_ext
   14422 fi
   14423 
   14424 
   14425 		CFLAGS="$xorg_testset_save_CFLAGS"
   14426 
   14427 		eval supported=\$$cacheid
   14428 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14429 printf "%s\n" "$supported" >&6; }
   14430 		if test "$supported" = "yes" ; then
   14431 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14432 			found="yes"
   14433 		fi
   14434 	fi
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 xorg_testset_save_CFLAGS="$CFLAGS"
   14451 
   14452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14455 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14456 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14457 then :
   14458   printf %s "(cached) " >&6
   14459 else $as_nop
   14460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14461 /* end confdefs.h.  */
   14462 int i;
   14463 _ACEOF
   14464 if ac_fn_c_try_compile "$LINENO"
   14465 then :
   14466   xorg_cv_cc_flag_unknown_warning_option=yes
   14467 else $as_nop
   14468   xorg_cv_cc_flag_unknown_warning_option=no
   14469 fi
   14470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14471 fi
   14472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14473 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14474 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14475 	CFLAGS="$xorg_testset_save_CFLAGS"
   14476 fi
   14477 
   14478 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14479 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14480 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14481 	fi
   14482 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14484 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14485 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14486 then :
   14487   printf %s "(cached) " >&6
   14488 else $as_nop
   14489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14490 /* end confdefs.h.  */
   14491 int i;
   14492 _ACEOF
   14493 if ac_fn_c_try_compile "$LINENO"
   14494 then :
   14495   xorg_cv_cc_flag_unused_command_line_argument=yes
   14496 else $as_nop
   14497   xorg_cv_cc_flag_unused_command_line_argument=no
   14498 fi
   14499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14500 fi
   14501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14502 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14504 	CFLAGS="$xorg_testset_save_CFLAGS"
   14505 fi
   14506 
   14507 found="no"
   14508 
   14509 	if test $found = "no" ; then
   14510 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14512 		fi
   14513 
   14514 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14516 		fi
   14517 
   14518 		CFLAGS="$CFLAGS -Wuninitialized"
   14519 
   14520 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14521 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14522 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14523 		if eval test \${$cacheid+y}
   14524 then :
   14525   printf %s "(cached) " >&6
   14526 else $as_nop
   14527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14528 /* end confdefs.h.  */
   14529 int i;
   14530 int
   14531 main (void)
   14532 {
   14533 
   14534   ;
   14535   return 0;
   14536 }
   14537 _ACEOF
   14538 if ac_fn_c_try_link "$LINENO"
   14539 then :
   14540   eval $cacheid=yes
   14541 else $as_nop
   14542   eval $cacheid=no
   14543 fi
   14544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14545     conftest$ac_exeext conftest.$ac_ext
   14546 fi
   14547 
   14548 
   14549 		CFLAGS="$xorg_testset_save_CFLAGS"
   14550 
   14551 		eval supported=\$$cacheid
   14552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14553 printf "%s\n" "$supported" >&6; }
   14554 		if test "$supported" = "yes" ; then
   14555 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14556 			found="yes"
   14557 		fi
   14558 	fi
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 
   14571 
   14572 
   14573 
   14574 xorg_testset_save_CFLAGS="$CFLAGS"
   14575 
   14576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14579 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14580 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14581 then :
   14582   printf %s "(cached) " >&6
   14583 else $as_nop
   14584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14585 /* end confdefs.h.  */
   14586 int i;
   14587 _ACEOF
   14588 if ac_fn_c_try_compile "$LINENO"
   14589 then :
   14590   xorg_cv_cc_flag_unknown_warning_option=yes
   14591 else $as_nop
   14592   xorg_cv_cc_flag_unknown_warning_option=no
   14593 fi
   14594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14595 fi
   14596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14597 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14598 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14599 	CFLAGS="$xorg_testset_save_CFLAGS"
   14600 fi
   14601 
   14602 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14603 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14604 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14605 	fi
   14606 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14608 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14609 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14610 then :
   14611   printf %s "(cached) " >&6
   14612 else $as_nop
   14613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14614 /* end confdefs.h.  */
   14615 int i;
   14616 _ACEOF
   14617 if ac_fn_c_try_compile "$LINENO"
   14618 then :
   14619   xorg_cv_cc_flag_unused_command_line_argument=yes
   14620 else $as_nop
   14621   xorg_cv_cc_flag_unused_command_line_argument=no
   14622 fi
   14623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14624 fi
   14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14626 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14628 	CFLAGS="$xorg_testset_save_CFLAGS"
   14629 fi
   14630 
   14631 found="no"
   14632 
   14633 	if test $found = "no" ; then
   14634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14636 		fi
   14637 
   14638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14640 		fi
   14641 
   14642 		CFLAGS="$CFLAGS -Wshadow"
   14643 
   14644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14645 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14646 		cacheid=xorg_cv_cc_flag__Wshadow
   14647 		if eval test \${$cacheid+y}
   14648 then :
   14649   printf %s "(cached) " >&6
   14650 else $as_nop
   14651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14652 /* end confdefs.h.  */
   14653 int i;
   14654 int
   14655 main (void)
   14656 {
   14657 
   14658   ;
   14659   return 0;
   14660 }
   14661 _ACEOF
   14662 if ac_fn_c_try_link "$LINENO"
   14663 then :
   14664   eval $cacheid=yes
   14665 else $as_nop
   14666   eval $cacheid=no
   14667 fi
   14668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14669     conftest$ac_exeext conftest.$ac_ext
   14670 fi
   14671 
   14672 
   14673 		CFLAGS="$xorg_testset_save_CFLAGS"
   14674 
   14675 		eval supported=\$$cacheid
   14676 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14677 printf "%s\n" "$supported" >&6; }
   14678 		if test "$supported" = "yes" ; then
   14679 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14680 			found="yes"
   14681 		fi
   14682 	fi
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 xorg_testset_save_CFLAGS="$CFLAGS"
   14699 
   14700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14703 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14704 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14705 then :
   14706   printf %s "(cached) " >&6
   14707 else $as_nop
   14708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14709 /* end confdefs.h.  */
   14710 int i;
   14711 _ACEOF
   14712 if ac_fn_c_try_compile "$LINENO"
   14713 then :
   14714   xorg_cv_cc_flag_unknown_warning_option=yes
   14715 else $as_nop
   14716   xorg_cv_cc_flag_unknown_warning_option=no
   14717 fi
   14718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14719 fi
   14720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14721 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14723 	CFLAGS="$xorg_testset_save_CFLAGS"
   14724 fi
   14725 
   14726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14729 	fi
   14730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14732 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14733 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14734 then :
   14735   printf %s "(cached) " >&6
   14736 else $as_nop
   14737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14738 /* end confdefs.h.  */
   14739 int i;
   14740 _ACEOF
   14741 if ac_fn_c_try_compile "$LINENO"
   14742 then :
   14743   xorg_cv_cc_flag_unused_command_line_argument=yes
   14744 else $as_nop
   14745   xorg_cv_cc_flag_unused_command_line_argument=no
   14746 fi
   14747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14748 fi
   14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14750 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14752 	CFLAGS="$xorg_testset_save_CFLAGS"
   14753 fi
   14754 
   14755 found="no"
   14756 
   14757 	if test $found = "no" ; then
   14758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14760 		fi
   14761 
   14762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14764 		fi
   14765 
   14766 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14767 
   14768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14769 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14770 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14771 		if eval test \${$cacheid+y}
   14772 then :
   14773   printf %s "(cached) " >&6
   14774 else $as_nop
   14775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14776 /* end confdefs.h.  */
   14777 int i;
   14778 int
   14779 main (void)
   14780 {
   14781 
   14782   ;
   14783   return 0;
   14784 }
   14785 _ACEOF
   14786 if ac_fn_c_try_link "$LINENO"
   14787 then :
   14788   eval $cacheid=yes
   14789 else $as_nop
   14790   eval $cacheid=no
   14791 fi
   14792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14793     conftest$ac_exeext conftest.$ac_ext
   14794 fi
   14795 
   14796 
   14797 		CFLAGS="$xorg_testset_save_CFLAGS"
   14798 
   14799 		eval supported=\$$cacheid
   14800 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14801 printf "%s\n" "$supported" >&6; }
   14802 		if test "$supported" = "yes" ; then
   14803 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14804 			found="yes"
   14805 		fi
   14806 	fi
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 xorg_testset_save_CFLAGS="$CFLAGS"
   14823 
   14824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14827 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14828 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14829 then :
   14830   printf %s "(cached) " >&6
   14831 else $as_nop
   14832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14833 /* end confdefs.h.  */
   14834 int i;
   14835 _ACEOF
   14836 if ac_fn_c_try_compile "$LINENO"
   14837 then :
   14838   xorg_cv_cc_flag_unknown_warning_option=yes
   14839 else $as_nop
   14840   xorg_cv_cc_flag_unknown_warning_option=no
   14841 fi
   14842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14843 fi
   14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14845 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14847 	CFLAGS="$xorg_testset_save_CFLAGS"
   14848 fi
   14849 
   14850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14853 	fi
   14854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14856 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14857 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14858 then :
   14859   printf %s "(cached) " >&6
   14860 else $as_nop
   14861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14862 /* end confdefs.h.  */
   14863 int i;
   14864 _ACEOF
   14865 if ac_fn_c_try_compile "$LINENO"
   14866 then :
   14867   xorg_cv_cc_flag_unused_command_line_argument=yes
   14868 else $as_nop
   14869   xorg_cv_cc_flag_unused_command_line_argument=no
   14870 fi
   14871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14872 fi
   14873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14874 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14876 	CFLAGS="$xorg_testset_save_CFLAGS"
   14877 fi
   14878 
   14879 found="no"
   14880 
   14881 	if test $found = "no" ; then
   14882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14884 		fi
   14885 
   14886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14888 		fi
   14889 
   14890 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14891 
   14892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14893 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14894 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14895 		if eval test \${$cacheid+y}
   14896 then :
   14897   printf %s "(cached) " >&6
   14898 else $as_nop
   14899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14900 /* end confdefs.h.  */
   14901 int i;
   14902 int
   14903 main (void)
   14904 {
   14905 
   14906   ;
   14907   return 0;
   14908 }
   14909 _ACEOF
   14910 if ac_fn_c_try_link "$LINENO"
   14911 then :
   14912   eval $cacheid=yes
   14913 else $as_nop
   14914   eval $cacheid=no
   14915 fi
   14916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14917     conftest$ac_exeext conftest.$ac_ext
   14918 fi
   14919 
   14920 
   14921 		CFLAGS="$xorg_testset_save_CFLAGS"
   14922 
   14923 		eval supported=\$$cacheid
   14924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14925 printf "%s\n" "$supported" >&6; }
   14926 		if test "$supported" = "yes" ; then
   14927 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14928 			found="yes"
   14929 		fi
   14930 	fi
   14931 
   14932 
   14933 
   14934 
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 xorg_testset_save_CFLAGS="$CFLAGS"
   14947 
   14948 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14949 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14951 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14952 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14953 then :
   14954   printf %s "(cached) " >&6
   14955 else $as_nop
   14956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14957 /* end confdefs.h.  */
   14958 int i;
   14959 _ACEOF
   14960 if ac_fn_c_try_compile "$LINENO"
   14961 then :
   14962   xorg_cv_cc_flag_unknown_warning_option=yes
   14963 else $as_nop
   14964   xorg_cv_cc_flag_unknown_warning_option=no
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14967 fi
   14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14969 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14970 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14971 	CFLAGS="$xorg_testset_save_CFLAGS"
   14972 fi
   14973 
   14974 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14975 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14976 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14977 	fi
   14978 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14980 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14981 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14982 then :
   14983   printf %s "(cached) " >&6
   14984 else $as_nop
   14985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14986 /* end confdefs.h.  */
   14987 int i;
   14988 _ACEOF
   14989 if ac_fn_c_try_compile "$LINENO"
   14990 then :
   14991   xorg_cv_cc_flag_unused_command_line_argument=yes
   14992 else $as_nop
   14993   xorg_cv_cc_flag_unused_command_line_argument=no
   14994 fi
   14995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14996 fi
   14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14998 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15000 	CFLAGS="$xorg_testset_save_CFLAGS"
   15001 fi
   15002 
   15003 found="no"
   15004 
   15005 	if test $found = "no" ; then
   15006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15008 		fi
   15009 
   15010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15012 		fi
   15013 
   15014 		CFLAGS="$CFLAGS -Wredundant-decls"
   15015 
   15016 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15017 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15018 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15019 		if eval test \${$cacheid+y}
   15020 then :
   15021   printf %s "(cached) " >&6
   15022 else $as_nop
   15023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15024 /* end confdefs.h.  */
   15025 int i;
   15026 int
   15027 main (void)
   15028 {
   15029 
   15030   ;
   15031   return 0;
   15032 }
   15033 _ACEOF
   15034 if ac_fn_c_try_link "$LINENO"
   15035 then :
   15036   eval $cacheid=yes
   15037 else $as_nop
   15038   eval $cacheid=no
   15039 fi
   15040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15041     conftest$ac_exeext conftest.$ac_ext
   15042 fi
   15043 
   15044 
   15045 		CFLAGS="$xorg_testset_save_CFLAGS"
   15046 
   15047 		eval supported=\$$cacheid
   15048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15049 printf "%s\n" "$supported" >&6; }
   15050 		if test "$supported" = "yes" ; then
   15051 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15052 			found="yes"
   15053 		fi
   15054 	fi
   15055 
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 xorg_testset_save_CFLAGS="$CFLAGS"
   15071 
   15072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15075 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15076 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15077 then :
   15078   printf %s "(cached) " >&6
   15079 else $as_nop
   15080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15081 /* end confdefs.h.  */
   15082 int i;
   15083 _ACEOF
   15084 if ac_fn_c_try_compile "$LINENO"
   15085 then :
   15086   xorg_cv_cc_flag_unknown_warning_option=yes
   15087 else $as_nop
   15088   xorg_cv_cc_flag_unknown_warning_option=no
   15089 fi
   15090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15091 fi
   15092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15093 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15095 	CFLAGS="$xorg_testset_save_CFLAGS"
   15096 fi
   15097 
   15098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15101 	fi
   15102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15104 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15105 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15106 then :
   15107   printf %s "(cached) " >&6
   15108 else $as_nop
   15109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15110 /* end confdefs.h.  */
   15111 int i;
   15112 _ACEOF
   15113 if ac_fn_c_try_compile "$LINENO"
   15114 then :
   15115   xorg_cv_cc_flag_unused_command_line_argument=yes
   15116 else $as_nop
   15117   xorg_cv_cc_flag_unused_command_line_argument=no
   15118 fi
   15119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15120 fi
   15121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15122 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15124 	CFLAGS="$xorg_testset_save_CFLAGS"
   15125 fi
   15126 
   15127 found="no"
   15128 
   15129 	if test $found = "no" ; then
   15130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15132 		fi
   15133 
   15134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15136 		fi
   15137 
   15138 		CFLAGS="$CFLAGS -Wlogical-op"
   15139 
   15140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15141 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15142 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15143 		if eval test \${$cacheid+y}
   15144 then :
   15145   printf %s "(cached) " >&6
   15146 else $as_nop
   15147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15148 /* end confdefs.h.  */
   15149 int i;
   15150 int
   15151 main (void)
   15152 {
   15153 
   15154   ;
   15155   return 0;
   15156 }
   15157 _ACEOF
   15158 if ac_fn_c_try_link "$LINENO"
   15159 then :
   15160   eval $cacheid=yes
   15161 else $as_nop
   15162   eval $cacheid=no
   15163 fi
   15164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15165     conftest$ac_exeext conftest.$ac_ext
   15166 fi
   15167 
   15168 
   15169 		CFLAGS="$xorg_testset_save_CFLAGS"
   15170 
   15171 		eval supported=\$$cacheid
   15172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15173 printf "%s\n" "$supported" >&6; }
   15174 		if test "$supported" = "yes" ; then
   15175 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15176 			found="yes"
   15177 		fi
   15178 	fi
   15179 
   15180 
   15181 
   15182 # These are currently disabled because they are noisy.  They will be enabled
   15183 # in the future once the codebase is sufficiently modernized to silence
   15184 # them.  For now, I don't want them to drown out the other warnings.
   15185 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15186 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15187 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15188 
   15189 # Turn some warnings into errors, so we don't accidently get successful builds
   15190 # when there are problems that should be fixed.
   15191 
   15192 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 xorg_testset_save_CFLAGS="$CFLAGS"
   15207 
   15208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15213 then :
   15214   printf %s "(cached) " >&6
   15215 else $as_nop
   15216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15217 /* end confdefs.h.  */
   15218 int i;
   15219 _ACEOF
   15220 if ac_fn_c_try_compile "$LINENO"
   15221 then :
   15222   xorg_cv_cc_flag_unknown_warning_option=yes
   15223 else $as_nop
   15224   xorg_cv_cc_flag_unknown_warning_option=no
   15225 fi
   15226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15227 fi
   15228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15231 	CFLAGS="$xorg_testset_save_CFLAGS"
   15232 fi
   15233 
   15234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15237 	fi
   15238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15242 then :
   15243   printf %s "(cached) " >&6
   15244 else $as_nop
   15245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15246 /* end confdefs.h.  */
   15247 int i;
   15248 _ACEOF
   15249 if ac_fn_c_try_compile "$LINENO"
   15250 then :
   15251   xorg_cv_cc_flag_unused_command_line_argument=yes
   15252 else $as_nop
   15253   xorg_cv_cc_flag_unused_command_line_argument=no
   15254 fi
   15255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15256 fi
   15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15258 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15260 	CFLAGS="$xorg_testset_save_CFLAGS"
   15261 fi
   15262 
   15263 found="no"
   15264 
   15265 	if test $found = "no" ; then
   15266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15268 		fi
   15269 
   15270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15272 		fi
   15273 
   15274 		CFLAGS="$CFLAGS -Werror=implicit"
   15275 
   15276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15277 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15278 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15279 		if eval test \${$cacheid+y}
   15280 then :
   15281   printf %s "(cached) " >&6
   15282 else $as_nop
   15283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15284 /* end confdefs.h.  */
   15285 int i;
   15286 int
   15287 main (void)
   15288 {
   15289 
   15290   ;
   15291   return 0;
   15292 }
   15293 _ACEOF
   15294 if ac_fn_c_try_link "$LINENO"
   15295 then :
   15296   eval $cacheid=yes
   15297 else $as_nop
   15298   eval $cacheid=no
   15299 fi
   15300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15301     conftest$ac_exeext conftest.$ac_ext
   15302 fi
   15303 
   15304 
   15305 		CFLAGS="$xorg_testset_save_CFLAGS"
   15306 
   15307 		eval supported=\$$cacheid
   15308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15309 printf "%s\n" "$supported" >&6; }
   15310 		if test "$supported" = "yes" ; then
   15311 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15312 			found="yes"
   15313 		fi
   15314 	fi
   15315 
   15316 	if test $found = "no" ; then
   15317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15319 		fi
   15320 
   15321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15323 		fi
   15324 
   15325 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15326 
   15327 		{ 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
   15328 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15329 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15330 		if eval test \${$cacheid+y}
   15331 then :
   15332   printf %s "(cached) " >&6
   15333 else $as_nop
   15334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15335 /* end confdefs.h.  */
   15336 int i;
   15337 int
   15338 main (void)
   15339 {
   15340 
   15341   ;
   15342   return 0;
   15343 }
   15344 _ACEOF
   15345 if ac_fn_c_try_link "$LINENO"
   15346 then :
   15347   eval $cacheid=yes
   15348 else $as_nop
   15349   eval $cacheid=no
   15350 fi
   15351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15352     conftest$ac_exeext conftest.$ac_ext
   15353 fi
   15354 
   15355 
   15356 		CFLAGS="$xorg_testset_save_CFLAGS"
   15357 
   15358 		eval supported=\$$cacheid
   15359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15360 printf "%s\n" "$supported" >&6; }
   15361 		if test "$supported" = "yes" ; then
   15362 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15363 			found="yes"
   15364 		fi
   15365 	fi
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 xorg_testset_save_CFLAGS="$CFLAGS"
   15382 
   15383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15386 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15387 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15388 then :
   15389   printf %s "(cached) " >&6
   15390 else $as_nop
   15391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15392 /* end confdefs.h.  */
   15393 int i;
   15394 _ACEOF
   15395 if ac_fn_c_try_compile "$LINENO"
   15396 then :
   15397   xorg_cv_cc_flag_unknown_warning_option=yes
   15398 else $as_nop
   15399   xorg_cv_cc_flag_unknown_warning_option=no
   15400 fi
   15401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15402 fi
   15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15404 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15406 	CFLAGS="$xorg_testset_save_CFLAGS"
   15407 fi
   15408 
   15409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15412 	fi
   15413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15415 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15416 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15417 then :
   15418   printf %s "(cached) " >&6
   15419 else $as_nop
   15420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15421 /* end confdefs.h.  */
   15422 int i;
   15423 _ACEOF
   15424 if ac_fn_c_try_compile "$LINENO"
   15425 then :
   15426   xorg_cv_cc_flag_unused_command_line_argument=yes
   15427 else $as_nop
   15428   xorg_cv_cc_flag_unused_command_line_argument=no
   15429 fi
   15430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15431 fi
   15432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15433 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15435 	CFLAGS="$xorg_testset_save_CFLAGS"
   15436 fi
   15437 
   15438 found="no"
   15439 
   15440 	if test $found = "no" ; then
   15441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15443 		fi
   15444 
   15445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15447 		fi
   15448 
   15449 		CFLAGS="$CFLAGS -Werror=nonnull"
   15450 
   15451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15452 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15453 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15454 		if eval test \${$cacheid+y}
   15455 then :
   15456   printf %s "(cached) " >&6
   15457 else $as_nop
   15458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15459 /* end confdefs.h.  */
   15460 int i;
   15461 int
   15462 main (void)
   15463 {
   15464 
   15465   ;
   15466   return 0;
   15467 }
   15468 _ACEOF
   15469 if ac_fn_c_try_link "$LINENO"
   15470 then :
   15471   eval $cacheid=yes
   15472 else $as_nop
   15473   eval $cacheid=no
   15474 fi
   15475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15476     conftest$ac_exeext conftest.$ac_ext
   15477 fi
   15478 
   15479 
   15480 		CFLAGS="$xorg_testset_save_CFLAGS"
   15481 
   15482 		eval supported=\$$cacheid
   15483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15484 printf "%s\n" "$supported" >&6; }
   15485 		if test "$supported" = "yes" ; then
   15486 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15487 			found="yes"
   15488 		fi
   15489 	fi
   15490 
   15491 
   15492 
   15493 
   15494 
   15495 
   15496 
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 xorg_testset_save_CFLAGS="$CFLAGS"
   15506 
   15507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15510 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15511 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15512 then :
   15513   printf %s "(cached) " >&6
   15514 else $as_nop
   15515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15516 /* end confdefs.h.  */
   15517 int i;
   15518 _ACEOF
   15519 if ac_fn_c_try_compile "$LINENO"
   15520 then :
   15521   xorg_cv_cc_flag_unknown_warning_option=yes
   15522 else $as_nop
   15523   xorg_cv_cc_flag_unknown_warning_option=no
   15524 fi
   15525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15526 fi
   15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15528 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15530 	CFLAGS="$xorg_testset_save_CFLAGS"
   15531 fi
   15532 
   15533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15536 	fi
   15537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15539 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15540 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15541 then :
   15542   printf %s "(cached) " >&6
   15543 else $as_nop
   15544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15545 /* end confdefs.h.  */
   15546 int i;
   15547 _ACEOF
   15548 if ac_fn_c_try_compile "$LINENO"
   15549 then :
   15550   xorg_cv_cc_flag_unused_command_line_argument=yes
   15551 else $as_nop
   15552   xorg_cv_cc_flag_unused_command_line_argument=no
   15553 fi
   15554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15555 fi
   15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15557 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15559 	CFLAGS="$xorg_testset_save_CFLAGS"
   15560 fi
   15561 
   15562 found="no"
   15563 
   15564 	if test $found = "no" ; then
   15565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15567 		fi
   15568 
   15569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15571 		fi
   15572 
   15573 		CFLAGS="$CFLAGS -Werror=init-self"
   15574 
   15575 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15576 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15577 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15578 		if eval test \${$cacheid+y}
   15579 then :
   15580   printf %s "(cached) " >&6
   15581 else $as_nop
   15582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15583 /* end confdefs.h.  */
   15584 int i;
   15585 int
   15586 main (void)
   15587 {
   15588 
   15589   ;
   15590   return 0;
   15591 }
   15592 _ACEOF
   15593 if ac_fn_c_try_link "$LINENO"
   15594 then :
   15595   eval $cacheid=yes
   15596 else $as_nop
   15597   eval $cacheid=no
   15598 fi
   15599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15600     conftest$ac_exeext conftest.$ac_ext
   15601 fi
   15602 
   15603 
   15604 		CFLAGS="$xorg_testset_save_CFLAGS"
   15605 
   15606 		eval supported=\$$cacheid
   15607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15608 printf "%s\n" "$supported" >&6; }
   15609 		if test "$supported" = "yes" ; then
   15610 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15611 			found="yes"
   15612 		fi
   15613 	fi
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 xorg_testset_save_CFLAGS="$CFLAGS"
   15630 
   15631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15634 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15635 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15636 then :
   15637   printf %s "(cached) " >&6
   15638 else $as_nop
   15639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15640 /* end confdefs.h.  */
   15641 int i;
   15642 _ACEOF
   15643 if ac_fn_c_try_compile "$LINENO"
   15644 then :
   15645   xorg_cv_cc_flag_unknown_warning_option=yes
   15646 else $as_nop
   15647   xorg_cv_cc_flag_unknown_warning_option=no
   15648 fi
   15649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15650 fi
   15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15652 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15654 	CFLAGS="$xorg_testset_save_CFLAGS"
   15655 fi
   15656 
   15657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15660 	fi
   15661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15662 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15663 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15664 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15665 then :
   15666   printf %s "(cached) " >&6
   15667 else $as_nop
   15668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15669 /* end confdefs.h.  */
   15670 int i;
   15671 _ACEOF
   15672 if ac_fn_c_try_compile "$LINENO"
   15673 then :
   15674   xorg_cv_cc_flag_unused_command_line_argument=yes
   15675 else $as_nop
   15676   xorg_cv_cc_flag_unused_command_line_argument=no
   15677 fi
   15678 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15679 fi
   15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15681 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15683 	CFLAGS="$xorg_testset_save_CFLAGS"
   15684 fi
   15685 
   15686 found="no"
   15687 
   15688 	if test $found = "no" ; then
   15689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15691 		fi
   15692 
   15693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15695 		fi
   15696 
   15697 		CFLAGS="$CFLAGS -Werror=main"
   15698 
   15699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15700 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15701 		cacheid=xorg_cv_cc_flag__Werror_main
   15702 		if eval test \${$cacheid+y}
   15703 then :
   15704   printf %s "(cached) " >&6
   15705 else $as_nop
   15706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15707 /* end confdefs.h.  */
   15708 int i;
   15709 int
   15710 main (void)
   15711 {
   15712 
   15713   ;
   15714   return 0;
   15715 }
   15716 _ACEOF
   15717 if ac_fn_c_try_link "$LINENO"
   15718 then :
   15719   eval $cacheid=yes
   15720 else $as_nop
   15721   eval $cacheid=no
   15722 fi
   15723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15724     conftest$ac_exeext conftest.$ac_ext
   15725 fi
   15726 
   15727 
   15728 		CFLAGS="$xorg_testset_save_CFLAGS"
   15729 
   15730 		eval supported=\$$cacheid
   15731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15732 printf "%s\n" "$supported" >&6; }
   15733 		if test "$supported" = "yes" ; then
   15734 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15735 			found="yes"
   15736 		fi
   15737 	fi
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 xorg_testset_save_CFLAGS="$CFLAGS"
   15754 
   15755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15758 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15759 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15760 then :
   15761   printf %s "(cached) " >&6
   15762 else $as_nop
   15763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15764 /* end confdefs.h.  */
   15765 int i;
   15766 _ACEOF
   15767 if ac_fn_c_try_compile "$LINENO"
   15768 then :
   15769   xorg_cv_cc_flag_unknown_warning_option=yes
   15770 else $as_nop
   15771   xorg_cv_cc_flag_unknown_warning_option=no
   15772 fi
   15773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15774 fi
   15775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15776 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15777 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15778 	CFLAGS="$xorg_testset_save_CFLAGS"
   15779 fi
   15780 
   15781 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15782 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15784 	fi
   15785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15787 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15788 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15789 then :
   15790   printf %s "(cached) " >&6
   15791 else $as_nop
   15792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15793 /* end confdefs.h.  */
   15794 int i;
   15795 _ACEOF
   15796 if ac_fn_c_try_compile "$LINENO"
   15797 then :
   15798   xorg_cv_cc_flag_unused_command_line_argument=yes
   15799 else $as_nop
   15800   xorg_cv_cc_flag_unused_command_line_argument=no
   15801 fi
   15802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15803 fi
   15804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15805 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15807 	CFLAGS="$xorg_testset_save_CFLAGS"
   15808 fi
   15809 
   15810 found="no"
   15811 
   15812 	if test $found = "no" ; then
   15813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15815 		fi
   15816 
   15817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15819 		fi
   15820 
   15821 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15822 
   15823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15824 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15825 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15826 		if eval test \${$cacheid+y}
   15827 then :
   15828   printf %s "(cached) " >&6
   15829 else $as_nop
   15830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15831 /* end confdefs.h.  */
   15832 int i;
   15833 int
   15834 main (void)
   15835 {
   15836 
   15837   ;
   15838   return 0;
   15839 }
   15840 _ACEOF
   15841 if ac_fn_c_try_link "$LINENO"
   15842 then :
   15843   eval $cacheid=yes
   15844 else $as_nop
   15845   eval $cacheid=no
   15846 fi
   15847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15848     conftest$ac_exeext conftest.$ac_ext
   15849 fi
   15850 
   15851 
   15852 		CFLAGS="$xorg_testset_save_CFLAGS"
   15853 
   15854 		eval supported=\$$cacheid
   15855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15856 printf "%s\n" "$supported" >&6; }
   15857 		if test "$supported" = "yes" ; then
   15858 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15859 			found="yes"
   15860 		fi
   15861 	fi
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 xorg_testset_save_CFLAGS="$CFLAGS"
   15878 
   15879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15881 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15882 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15883 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15884 then :
   15885   printf %s "(cached) " >&6
   15886 else $as_nop
   15887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15888 /* end confdefs.h.  */
   15889 int i;
   15890 _ACEOF
   15891 if ac_fn_c_try_compile "$LINENO"
   15892 then :
   15893   xorg_cv_cc_flag_unknown_warning_option=yes
   15894 else $as_nop
   15895   xorg_cv_cc_flag_unknown_warning_option=no
   15896 fi
   15897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15898 fi
   15899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15900 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15902 	CFLAGS="$xorg_testset_save_CFLAGS"
   15903 fi
   15904 
   15905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15908 	fi
   15909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15910 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15911 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15912 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15913 then :
   15914   printf %s "(cached) " >&6
   15915 else $as_nop
   15916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15917 /* end confdefs.h.  */
   15918 int i;
   15919 _ACEOF
   15920 if ac_fn_c_try_compile "$LINENO"
   15921 then :
   15922   xorg_cv_cc_flag_unused_command_line_argument=yes
   15923 else $as_nop
   15924   xorg_cv_cc_flag_unused_command_line_argument=no
   15925 fi
   15926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15927 fi
   15928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15929 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15931 	CFLAGS="$xorg_testset_save_CFLAGS"
   15932 fi
   15933 
   15934 found="no"
   15935 
   15936 	if test $found = "no" ; then
   15937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15939 		fi
   15940 
   15941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15943 		fi
   15944 
   15945 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15946 
   15947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15948 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15949 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15950 		if eval test \${$cacheid+y}
   15951 then :
   15952   printf %s "(cached) " >&6
   15953 else $as_nop
   15954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15955 /* end confdefs.h.  */
   15956 int i;
   15957 int
   15958 main (void)
   15959 {
   15960 
   15961   ;
   15962   return 0;
   15963 }
   15964 _ACEOF
   15965 if ac_fn_c_try_link "$LINENO"
   15966 then :
   15967   eval $cacheid=yes
   15968 else $as_nop
   15969   eval $cacheid=no
   15970 fi
   15971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15972     conftest$ac_exeext conftest.$ac_ext
   15973 fi
   15974 
   15975 
   15976 		CFLAGS="$xorg_testset_save_CFLAGS"
   15977 
   15978 		eval supported=\$$cacheid
   15979 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15980 printf "%s\n" "$supported" >&6; }
   15981 		if test "$supported" = "yes" ; then
   15982 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15983 			found="yes"
   15984 		fi
   15985 	fi
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 xorg_testset_save_CFLAGS="$CFLAGS"
   16002 
   16003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16006 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16007 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16008 then :
   16009   printf %s "(cached) " >&6
   16010 else $as_nop
   16011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16012 /* end confdefs.h.  */
   16013 int i;
   16014 _ACEOF
   16015 if ac_fn_c_try_compile "$LINENO"
   16016 then :
   16017   xorg_cv_cc_flag_unknown_warning_option=yes
   16018 else $as_nop
   16019   xorg_cv_cc_flag_unknown_warning_option=no
   16020 fi
   16021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16022 fi
   16023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16024 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16026 	CFLAGS="$xorg_testset_save_CFLAGS"
   16027 fi
   16028 
   16029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16032 	fi
   16033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16035 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16036 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16037 then :
   16038   printf %s "(cached) " >&6
   16039 else $as_nop
   16040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16041 /* end confdefs.h.  */
   16042 int i;
   16043 _ACEOF
   16044 if ac_fn_c_try_compile "$LINENO"
   16045 then :
   16046   xorg_cv_cc_flag_unused_command_line_argument=yes
   16047 else $as_nop
   16048   xorg_cv_cc_flag_unused_command_line_argument=no
   16049 fi
   16050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16051 fi
   16052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16053 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16055 	CFLAGS="$xorg_testset_save_CFLAGS"
   16056 fi
   16057 
   16058 found="no"
   16059 
   16060 	if test $found = "no" ; then
   16061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16063 		fi
   16064 
   16065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16067 		fi
   16068 
   16069 		CFLAGS="$CFLAGS -Werror=return-type"
   16070 
   16071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16072 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16073 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16074 		if eval test \${$cacheid+y}
   16075 then :
   16076   printf %s "(cached) " >&6
   16077 else $as_nop
   16078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16079 /* end confdefs.h.  */
   16080 int i;
   16081 int
   16082 main (void)
   16083 {
   16084 
   16085   ;
   16086   return 0;
   16087 }
   16088 _ACEOF
   16089 if ac_fn_c_try_link "$LINENO"
   16090 then :
   16091   eval $cacheid=yes
   16092 else $as_nop
   16093   eval $cacheid=no
   16094 fi
   16095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16096     conftest$ac_exeext conftest.$ac_ext
   16097 fi
   16098 
   16099 
   16100 		CFLAGS="$xorg_testset_save_CFLAGS"
   16101 
   16102 		eval supported=\$$cacheid
   16103 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16104 printf "%s\n" "$supported" >&6; }
   16105 		if test "$supported" = "yes" ; then
   16106 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16107 			found="yes"
   16108 		fi
   16109 	fi
   16110 
   16111 	if test $found = "no" ; then
   16112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16114 		fi
   16115 
   16116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16118 		fi
   16119 
   16120 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16121 
   16122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16123 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16124 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16125 		if eval test \${$cacheid+y}
   16126 then :
   16127   printf %s "(cached) " >&6
   16128 else $as_nop
   16129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16130 /* end confdefs.h.  */
   16131 int i;
   16132 int
   16133 main (void)
   16134 {
   16135 
   16136   ;
   16137   return 0;
   16138 }
   16139 _ACEOF
   16140 if ac_fn_c_try_link "$LINENO"
   16141 then :
   16142   eval $cacheid=yes
   16143 else $as_nop
   16144   eval $cacheid=no
   16145 fi
   16146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16147     conftest$ac_exeext conftest.$ac_ext
   16148 fi
   16149 
   16150 
   16151 		CFLAGS="$xorg_testset_save_CFLAGS"
   16152 
   16153 		eval supported=\$$cacheid
   16154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16155 printf "%s\n" "$supported" >&6; }
   16156 		if test "$supported" = "yes" ; then
   16157 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16158 			found="yes"
   16159 		fi
   16160 	fi
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 xorg_testset_save_CFLAGS="$CFLAGS"
   16177 
   16178 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16179 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16181 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16182 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16183 then :
   16184   printf %s "(cached) " >&6
   16185 else $as_nop
   16186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16187 /* end confdefs.h.  */
   16188 int i;
   16189 _ACEOF
   16190 if ac_fn_c_try_compile "$LINENO"
   16191 then :
   16192   xorg_cv_cc_flag_unknown_warning_option=yes
   16193 else $as_nop
   16194   xorg_cv_cc_flag_unknown_warning_option=no
   16195 fi
   16196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16197 fi
   16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16201 	CFLAGS="$xorg_testset_save_CFLAGS"
   16202 fi
   16203 
   16204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16207 	fi
   16208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16212 then :
   16213   printf %s "(cached) " >&6
   16214 else $as_nop
   16215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16216 /* end confdefs.h.  */
   16217 int i;
   16218 _ACEOF
   16219 if ac_fn_c_try_compile "$LINENO"
   16220 then :
   16221   xorg_cv_cc_flag_unused_command_line_argument=yes
   16222 else $as_nop
   16223   xorg_cv_cc_flag_unused_command_line_argument=no
   16224 fi
   16225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16226 fi
   16227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16228 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16230 	CFLAGS="$xorg_testset_save_CFLAGS"
   16231 fi
   16232 
   16233 found="no"
   16234 
   16235 	if test $found = "no" ; then
   16236 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16238 		fi
   16239 
   16240 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16242 		fi
   16243 
   16244 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16245 
   16246 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16247 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16248 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16249 		if eval test \${$cacheid+y}
   16250 then :
   16251   printf %s "(cached) " >&6
   16252 else $as_nop
   16253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16254 /* end confdefs.h.  */
   16255 int i;
   16256 int
   16257 main (void)
   16258 {
   16259 
   16260   ;
   16261   return 0;
   16262 }
   16263 _ACEOF
   16264 if ac_fn_c_try_link "$LINENO"
   16265 then :
   16266   eval $cacheid=yes
   16267 else $as_nop
   16268   eval $cacheid=no
   16269 fi
   16270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16271     conftest$ac_exeext conftest.$ac_ext
   16272 fi
   16273 
   16274 
   16275 		CFLAGS="$xorg_testset_save_CFLAGS"
   16276 
   16277 		eval supported=\$$cacheid
   16278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16279 printf "%s\n" "$supported" >&6; }
   16280 		if test "$supported" = "yes" ; then
   16281 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16282 			found="yes"
   16283 		fi
   16284 	fi
   16285 
   16286 
   16287 
   16288 
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 
   16300 xorg_testset_save_CFLAGS="$CFLAGS"
   16301 
   16302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16305 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16306 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16307 then :
   16308   printf %s "(cached) " >&6
   16309 else $as_nop
   16310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16311 /* end confdefs.h.  */
   16312 int i;
   16313 _ACEOF
   16314 if ac_fn_c_try_compile "$LINENO"
   16315 then :
   16316   xorg_cv_cc_flag_unknown_warning_option=yes
   16317 else $as_nop
   16318   xorg_cv_cc_flag_unknown_warning_option=no
   16319 fi
   16320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16321 fi
   16322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16323 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16325 	CFLAGS="$xorg_testset_save_CFLAGS"
   16326 fi
   16327 
   16328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16331 	fi
   16332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16336 then :
   16337   printf %s "(cached) " >&6
   16338 else $as_nop
   16339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16340 /* end confdefs.h.  */
   16341 int i;
   16342 _ACEOF
   16343 if ac_fn_c_try_compile "$LINENO"
   16344 then :
   16345   xorg_cv_cc_flag_unused_command_line_argument=yes
   16346 else $as_nop
   16347   xorg_cv_cc_flag_unused_command_line_argument=no
   16348 fi
   16349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16350 fi
   16351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16352 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16354 	CFLAGS="$xorg_testset_save_CFLAGS"
   16355 fi
   16356 
   16357 found="no"
   16358 
   16359 	if test $found = "no" ; then
   16360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16362 		fi
   16363 
   16364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16366 		fi
   16367 
   16368 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16369 
   16370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16371 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16372 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16373 		if eval test \${$cacheid+y}
   16374 then :
   16375   printf %s "(cached) " >&6
   16376 else $as_nop
   16377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16378 /* end confdefs.h.  */
   16379 int i;
   16380 int
   16381 main (void)
   16382 {
   16383 
   16384   ;
   16385   return 0;
   16386 }
   16387 _ACEOF
   16388 if ac_fn_c_try_link "$LINENO"
   16389 then :
   16390   eval $cacheid=yes
   16391 else $as_nop
   16392   eval $cacheid=no
   16393 fi
   16394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16395     conftest$ac_exeext conftest.$ac_ext
   16396 fi
   16397 
   16398 
   16399 		CFLAGS="$xorg_testset_save_CFLAGS"
   16400 
   16401 		eval supported=\$$cacheid
   16402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16403 printf "%s\n" "$supported" >&6; }
   16404 		if test "$supported" = "yes" ; then
   16405 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16406 			found="yes"
   16407 		fi
   16408 	fi
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 xorg_testset_save_CFLAGS="$CFLAGS"
   16425 
   16426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16431 then :
   16432   printf %s "(cached) " >&6
   16433 else $as_nop
   16434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16435 /* end confdefs.h.  */
   16436 int i;
   16437 _ACEOF
   16438 if ac_fn_c_try_compile "$LINENO"
   16439 then :
   16440   xorg_cv_cc_flag_unknown_warning_option=yes
   16441 else $as_nop
   16442   xorg_cv_cc_flag_unknown_warning_option=no
   16443 fi
   16444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16445 fi
   16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16449 	CFLAGS="$xorg_testset_save_CFLAGS"
   16450 fi
   16451 
   16452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16455 	fi
   16456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16460 then :
   16461   printf %s "(cached) " >&6
   16462 else $as_nop
   16463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16464 /* end confdefs.h.  */
   16465 int i;
   16466 _ACEOF
   16467 if ac_fn_c_try_compile "$LINENO"
   16468 then :
   16469   xorg_cv_cc_flag_unused_command_line_argument=yes
   16470 else $as_nop
   16471   xorg_cv_cc_flag_unused_command_line_argument=no
   16472 fi
   16473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16474 fi
   16475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16478 	CFLAGS="$xorg_testset_save_CFLAGS"
   16479 fi
   16480 
   16481 found="no"
   16482 
   16483 	if test $found = "no" ; then
   16484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16486 		fi
   16487 
   16488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16490 		fi
   16491 
   16492 		CFLAGS="$CFLAGS -Werror=write-strings"
   16493 
   16494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16495 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16496 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16497 		if eval test \${$cacheid+y}
   16498 then :
   16499   printf %s "(cached) " >&6
   16500 else $as_nop
   16501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16502 /* end confdefs.h.  */
   16503 int i;
   16504 int
   16505 main (void)
   16506 {
   16507 
   16508   ;
   16509   return 0;
   16510 }
   16511 _ACEOF
   16512 if ac_fn_c_try_link "$LINENO"
   16513 then :
   16514   eval $cacheid=yes
   16515 else $as_nop
   16516   eval $cacheid=no
   16517 fi
   16518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16519     conftest$ac_exeext conftest.$ac_ext
   16520 fi
   16521 
   16522 
   16523 		CFLAGS="$xorg_testset_save_CFLAGS"
   16524 
   16525 		eval supported=\$$cacheid
   16526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16527 printf "%s\n" "$supported" >&6; }
   16528 		if test "$supported" = "yes" ; then
   16529 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16530 			found="yes"
   16531 		fi
   16532 	fi
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 xorg_testset_save_CFLAGS="$CFLAGS"
   16549 
   16550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16555 then :
   16556   printf %s "(cached) " >&6
   16557 else $as_nop
   16558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16559 /* end confdefs.h.  */
   16560 int i;
   16561 _ACEOF
   16562 if ac_fn_c_try_compile "$LINENO"
   16563 then :
   16564   xorg_cv_cc_flag_unknown_warning_option=yes
   16565 else $as_nop
   16566   xorg_cv_cc_flag_unknown_warning_option=no
   16567 fi
   16568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16569 fi
   16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16573 	CFLAGS="$xorg_testset_save_CFLAGS"
   16574 fi
   16575 
   16576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16579 	fi
   16580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16584 then :
   16585   printf %s "(cached) " >&6
   16586 else $as_nop
   16587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16588 /* end confdefs.h.  */
   16589 int i;
   16590 _ACEOF
   16591 if ac_fn_c_try_compile "$LINENO"
   16592 then :
   16593   xorg_cv_cc_flag_unused_command_line_argument=yes
   16594 else $as_nop
   16595   xorg_cv_cc_flag_unused_command_line_argument=no
   16596 fi
   16597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16598 fi
   16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16600 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16602 	CFLAGS="$xorg_testset_save_CFLAGS"
   16603 fi
   16604 
   16605 found="no"
   16606 
   16607 	if test $found = "no" ; then
   16608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16610 		fi
   16611 
   16612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16614 		fi
   16615 
   16616 		CFLAGS="$CFLAGS -Werror=address"
   16617 
   16618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16619 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16620 		cacheid=xorg_cv_cc_flag__Werror_address
   16621 		if eval test \${$cacheid+y}
   16622 then :
   16623   printf %s "(cached) " >&6
   16624 else $as_nop
   16625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16626 /* end confdefs.h.  */
   16627 int i;
   16628 int
   16629 main (void)
   16630 {
   16631 
   16632   ;
   16633   return 0;
   16634 }
   16635 _ACEOF
   16636 if ac_fn_c_try_link "$LINENO"
   16637 then :
   16638   eval $cacheid=yes
   16639 else $as_nop
   16640   eval $cacheid=no
   16641 fi
   16642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16643     conftest$ac_exeext conftest.$ac_ext
   16644 fi
   16645 
   16646 
   16647 		CFLAGS="$xorg_testset_save_CFLAGS"
   16648 
   16649 		eval supported=\$$cacheid
   16650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16651 printf "%s\n" "$supported" >&6; }
   16652 		if test "$supported" = "yes" ; then
   16653 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16654 			found="yes"
   16655 		fi
   16656 	fi
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 xorg_testset_save_CFLAGS="$CFLAGS"
   16673 
   16674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16677 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16678 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16679 then :
   16680   printf %s "(cached) " >&6
   16681 else $as_nop
   16682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16683 /* end confdefs.h.  */
   16684 int i;
   16685 _ACEOF
   16686 if ac_fn_c_try_compile "$LINENO"
   16687 then :
   16688   xorg_cv_cc_flag_unknown_warning_option=yes
   16689 else $as_nop
   16690   xorg_cv_cc_flag_unknown_warning_option=no
   16691 fi
   16692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16693 fi
   16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16697 	CFLAGS="$xorg_testset_save_CFLAGS"
   16698 fi
   16699 
   16700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16703 	fi
   16704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16708 then :
   16709   printf %s "(cached) " >&6
   16710 else $as_nop
   16711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16712 /* end confdefs.h.  */
   16713 int i;
   16714 _ACEOF
   16715 if ac_fn_c_try_compile "$LINENO"
   16716 then :
   16717   xorg_cv_cc_flag_unused_command_line_argument=yes
   16718 else $as_nop
   16719   xorg_cv_cc_flag_unused_command_line_argument=no
   16720 fi
   16721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16722 fi
   16723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16724 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16726 	CFLAGS="$xorg_testset_save_CFLAGS"
   16727 fi
   16728 
   16729 found="no"
   16730 
   16731 	if test $found = "no" ; then
   16732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16734 		fi
   16735 
   16736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16738 		fi
   16739 
   16740 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16741 
   16742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16743 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16744 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16745 		if eval test \${$cacheid+y}
   16746 then :
   16747   printf %s "(cached) " >&6
   16748 else $as_nop
   16749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16750 /* end confdefs.h.  */
   16751 int i;
   16752 int
   16753 main (void)
   16754 {
   16755 
   16756   ;
   16757   return 0;
   16758 }
   16759 _ACEOF
   16760 if ac_fn_c_try_link "$LINENO"
   16761 then :
   16762   eval $cacheid=yes
   16763 else $as_nop
   16764   eval $cacheid=no
   16765 fi
   16766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16767     conftest$ac_exeext conftest.$ac_ext
   16768 fi
   16769 
   16770 
   16771 		CFLAGS="$xorg_testset_save_CFLAGS"
   16772 
   16773 		eval supported=\$$cacheid
   16774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16775 printf "%s\n" "$supported" >&6; }
   16776 		if test "$supported" = "yes" ; then
   16777 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16778 			found="yes"
   16779 		fi
   16780 	fi
   16781 
   16782 	if test $found = "no" ; then
   16783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16785 		fi
   16786 
   16787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16789 		fi
   16790 
   16791 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16792 
   16793 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16794 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16795 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16796 		if eval test \${$cacheid+y}
   16797 then :
   16798   printf %s "(cached) " >&6
   16799 else $as_nop
   16800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16801 /* end confdefs.h.  */
   16802 int i;
   16803 int
   16804 main (void)
   16805 {
   16806 
   16807   ;
   16808   return 0;
   16809 }
   16810 _ACEOF
   16811 if ac_fn_c_try_link "$LINENO"
   16812 then :
   16813   eval $cacheid=yes
   16814 else $as_nop
   16815   eval $cacheid=no
   16816 fi
   16817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16818     conftest$ac_exeext conftest.$ac_ext
   16819 fi
   16820 
   16821 
   16822 		CFLAGS="$xorg_testset_save_CFLAGS"
   16823 
   16824 		eval supported=\$$cacheid
   16825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16826 printf "%s\n" "$supported" >&6; }
   16827 		if test "$supported" = "yes" ; then
   16828 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16829 			found="yes"
   16830 		fi
   16831 	fi
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 xorg_testset_save_CFLAGS="$CFLAGS"
   16848 
   16849 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16850 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16852 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16853 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16854 then :
   16855   printf %s "(cached) " >&6
   16856 else $as_nop
   16857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16858 /* end confdefs.h.  */
   16859 int i;
   16860 _ACEOF
   16861 if ac_fn_c_try_compile "$LINENO"
   16862 then :
   16863   xorg_cv_cc_flag_unknown_warning_option=yes
   16864 else $as_nop
   16865   xorg_cv_cc_flag_unknown_warning_option=no
   16866 fi
   16867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16868 fi
   16869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16870 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16872 	CFLAGS="$xorg_testset_save_CFLAGS"
   16873 fi
   16874 
   16875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16878 	fi
   16879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16880 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16881 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16882 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16883 then :
   16884   printf %s "(cached) " >&6
   16885 else $as_nop
   16886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16887 /* end confdefs.h.  */
   16888 int i;
   16889 _ACEOF
   16890 if ac_fn_c_try_compile "$LINENO"
   16891 then :
   16892   xorg_cv_cc_flag_unused_command_line_argument=yes
   16893 else $as_nop
   16894   xorg_cv_cc_flag_unused_command_line_argument=no
   16895 fi
   16896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16897 fi
   16898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16899 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16900 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16901 	CFLAGS="$xorg_testset_save_CFLAGS"
   16902 fi
   16903 
   16904 found="no"
   16905 
   16906 	if test $found = "no" ; then
   16907 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16908 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16909 		fi
   16910 
   16911 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16912 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16913 		fi
   16914 
   16915 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16916 
   16917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16918 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16919 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16920 		if eval test \${$cacheid+y}
   16921 then :
   16922   printf %s "(cached) " >&6
   16923 else $as_nop
   16924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16925 /* end confdefs.h.  */
   16926 int i;
   16927 int
   16928 main (void)
   16929 {
   16930 
   16931   ;
   16932   return 0;
   16933 }
   16934 _ACEOF
   16935 if ac_fn_c_try_link "$LINENO"
   16936 then :
   16937   eval $cacheid=yes
   16938 else $as_nop
   16939   eval $cacheid=no
   16940 fi
   16941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16942     conftest$ac_exeext conftest.$ac_ext
   16943 fi
   16944 
   16945 
   16946 		CFLAGS="$xorg_testset_save_CFLAGS"
   16947 
   16948 		eval supported=\$$cacheid
   16949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16950 printf "%s\n" "$supported" >&6; }
   16951 		if test "$supported" = "yes" ; then
   16952 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16953 			found="yes"
   16954 		fi
   16955 	fi
   16956 
   16957  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16958 else
   16959 { 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
   16960 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;}
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 xorg_testset_save_CFLAGS="$CFLAGS"
   16975 
   16976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16979 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16980 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16981 then :
   16982   printf %s "(cached) " >&6
   16983 else $as_nop
   16984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16985 /* end confdefs.h.  */
   16986 int i;
   16987 _ACEOF
   16988 if ac_fn_c_try_compile "$LINENO"
   16989 then :
   16990   xorg_cv_cc_flag_unknown_warning_option=yes
   16991 else $as_nop
   16992   xorg_cv_cc_flag_unknown_warning_option=no
   16993 fi
   16994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16995 fi
   16996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16997 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16999 	CFLAGS="$xorg_testset_save_CFLAGS"
   17000 fi
   17001 
   17002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17005 	fi
   17006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17008 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17009 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17010 then :
   17011   printf %s "(cached) " >&6
   17012 else $as_nop
   17013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17014 /* end confdefs.h.  */
   17015 int i;
   17016 _ACEOF
   17017 if ac_fn_c_try_compile "$LINENO"
   17018 then :
   17019   xorg_cv_cc_flag_unused_command_line_argument=yes
   17020 else $as_nop
   17021   xorg_cv_cc_flag_unused_command_line_argument=no
   17022 fi
   17023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17024 fi
   17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17026 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17028 	CFLAGS="$xorg_testset_save_CFLAGS"
   17029 fi
   17030 
   17031 found="no"
   17032 
   17033 	if test $found = "no" ; then
   17034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17036 		fi
   17037 
   17038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17040 		fi
   17041 
   17042 		CFLAGS="$CFLAGS -Wimplicit"
   17043 
   17044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17045 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17046 		cacheid=xorg_cv_cc_flag__Wimplicit
   17047 		if eval test \${$cacheid+y}
   17048 then :
   17049   printf %s "(cached) " >&6
   17050 else $as_nop
   17051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17052 /* end confdefs.h.  */
   17053 int i;
   17054 int
   17055 main (void)
   17056 {
   17057 
   17058   ;
   17059   return 0;
   17060 }
   17061 _ACEOF
   17062 if ac_fn_c_try_link "$LINENO"
   17063 then :
   17064   eval $cacheid=yes
   17065 else $as_nop
   17066   eval $cacheid=no
   17067 fi
   17068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17069     conftest$ac_exeext conftest.$ac_ext
   17070 fi
   17071 
   17072 
   17073 		CFLAGS="$xorg_testset_save_CFLAGS"
   17074 
   17075 		eval supported=\$$cacheid
   17076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17077 printf "%s\n" "$supported" >&6; }
   17078 		if test "$supported" = "yes" ; then
   17079 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17080 			found="yes"
   17081 		fi
   17082 	fi
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 xorg_testset_save_CFLAGS="$CFLAGS"
   17099 
   17100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17103 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17104 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17105 then :
   17106   printf %s "(cached) " >&6
   17107 else $as_nop
   17108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17109 /* end confdefs.h.  */
   17110 int i;
   17111 _ACEOF
   17112 if ac_fn_c_try_compile "$LINENO"
   17113 then :
   17114   xorg_cv_cc_flag_unknown_warning_option=yes
   17115 else $as_nop
   17116   xorg_cv_cc_flag_unknown_warning_option=no
   17117 fi
   17118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17119 fi
   17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17121 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17123 	CFLAGS="$xorg_testset_save_CFLAGS"
   17124 fi
   17125 
   17126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17129 	fi
   17130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17132 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17133 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17134 then :
   17135   printf %s "(cached) " >&6
   17136 else $as_nop
   17137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17138 /* end confdefs.h.  */
   17139 int i;
   17140 _ACEOF
   17141 if ac_fn_c_try_compile "$LINENO"
   17142 then :
   17143   xorg_cv_cc_flag_unused_command_line_argument=yes
   17144 else $as_nop
   17145   xorg_cv_cc_flag_unused_command_line_argument=no
   17146 fi
   17147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17148 fi
   17149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17150 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17152 	CFLAGS="$xorg_testset_save_CFLAGS"
   17153 fi
   17154 
   17155 found="no"
   17156 
   17157 	if test $found = "no" ; then
   17158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17160 		fi
   17161 
   17162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17164 		fi
   17165 
   17166 		CFLAGS="$CFLAGS -Wnonnull"
   17167 
   17168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17169 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17170 		cacheid=xorg_cv_cc_flag__Wnonnull
   17171 		if eval test \${$cacheid+y}
   17172 then :
   17173   printf %s "(cached) " >&6
   17174 else $as_nop
   17175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17176 /* end confdefs.h.  */
   17177 int i;
   17178 int
   17179 main (void)
   17180 {
   17181 
   17182   ;
   17183   return 0;
   17184 }
   17185 _ACEOF
   17186 if ac_fn_c_try_link "$LINENO"
   17187 then :
   17188   eval $cacheid=yes
   17189 else $as_nop
   17190   eval $cacheid=no
   17191 fi
   17192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17193     conftest$ac_exeext conftest.$ac_ext
   17194 fi
   17195 
   17196 
   17197 		CFLAGS="$xorg_testset_save_CFLAGS"
   17198 
   17199 		eval supported=\$$cacheid
   17200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17201 printf "%s\n" "$supported" >&6; }
   17202 		if test "$supported" = "yes" ; then
   17203 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17204 			found="yes"
   17205 		fi
   17206 	fi
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 
   17222 xorg_testset_save_CFLAGS="$CFLAGS"
   17223 
   17224 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17225 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17226 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17227 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17228 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17229 then :
   17230   printf %s "(cached) " >&6
   17231 else $as_nop
   17232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17233 /* end confdefs.h.  */
   17234 int i;
   17235 _ACEOF
   17236 if ac_fn_c_try_compile "$LINENO"
   17237 then :
   17238   xorg_cv_cc_flag_unknown_warning_option=yes
   17239 else $as_nop
   17240   xorg_cv_cc_flag_unknown_warning_option=no
   17241 fi
   17242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17243 fi
   17244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17245 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17247 	CFLAGS="$xorg_testset_save_CFLAGS"
   17248 fi
   17249 
   17250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17253 	fi
   17254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17256 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17257 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17258 then :
   17259   printf %s "(cached) " >&6
   17260 else $as_nop
   17261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17262 /* end confdefs.h.  */
   17263 int i;
   17264 _ACEOF
   17265 if ac_fn_c_try_compile "$LINENO"
   17266 then :
   17267   xorg_cv_cc_flag_unused_command_line_argument=yes
   17268 else $as_nop
   17269   xorg_cv_cc_flag_unused_command_line_argument=no
   17270 fi
   17271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17272 fi
   17273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17274 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17276 	CFLAGS="$xorg_testset_save_CFLAGS"
   17277 fi
   17278 
   17279 found="no"
   17280 
   17281 	if test $found = "no" ; then
   17282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17284 		fi
   17285 
   17286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17288 		fi
   17289 
   17290 		CFLAGS="$CFLAGS -Winit-self"
   17291 
   17292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17293 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17294 		cacheid=xorg_cv_cc_flag__Winit_self
   17295 		if eval test \${$cacheid+y}
   17296 then :
   17297   printf %s "(cached) " >&6
   17298 else $as_nop
   17299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17300 /* end confdefs.h.  */
   17301 int i;
   17302 int
   17303 main (void)
   17304 {
   17305 
   17306   ;
   17307   return 0;
   17308 }
   17309 _ACEOF
   17310 if ac_fn_c_try_link "$LINENO"
   17311 then :
   17312   eval $cacheid=yes
   17313 else $as_nop
   17314   eval $cacheid=no
   17315 fi
   17316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17317     conftest$ac_exeext conftest.$ac_ext
   17318 fi
   17319 
   17320 
   17321 		CFLAGS="$xorg_testset_save_CFLAGS"
   17322 
   17323 		eval supported=\$$cacheid
   17324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17325 printf "%s\n" "$supported" >&6; }
   17326 		if test "$supported" = "yes" ; then
   17327 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17328 			found="yes"
   17329 		fi
   17330 	fi
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 xorg_testset_save_CFLAGS="$CFLAGS"
   17347 
   17348 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17349 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17351 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17352 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17353 then :
   17354   printf %s "(cached) " >&6
   17355 else $as_nop
   17356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17357 /* end confdefs.h.  */
   17358 int i;
   17359 _ACEOF
   17360 if ac_fn_c_try_compile "$LINENO"
   17361 then :
   17362   xorg_cv_cc_flag_unknown_warning_option=yes
   17363 else $as_nop
   17364   xorg_cv_cc_flag_unknown_warning_option=no
   17365 fi
   17366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17367 fi
   17368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17369 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17371 	CFLAGS="$xorg_testset_save_CFLAGS"
   17372 fi
   17373 
   17374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17377 	fi
   17378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17379 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17380 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17381 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17382 then :
   17383   printf %s "(cached) " >&6
   17384 else $as_nop
   17385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17386 /* end confdefs.h.  */
   17387 int i;
   17388 _ACEOF
   17389 if ac_fn_c_try_compile "$LINENO"
   17390 then :
   17391   xorg_cv_cc_flag_unused_command_line_argument=yes
   17392 else $as_nop
   17393   xorg_cv_cc_flag_unused_command_line_argument=no
   17394 fi
   17395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17396 fi
   17397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17398 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17400 	CFLAGS="$xorg_testset_save_CFLAGS"
   17401 fi
   17402 
   17403 found="no"
   17404 
   17405 	if test $found = "no" ; then
   17406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17408 		fi
   17409 
   17410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17412 		fi
   17413 
   17414 		CFLAGS="$CFLAGS -Wmain"
   17415 
   17416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17417 printf %s "checking if $CC supports -Wmain... " >&6; }
   17418 		cacheid=xorg_cv_cc_flag__Wmain
   17419 		if eval test \${$cacheid+y}
   17420 then :
   17421   printf %s "(cached) " >&6
   17422 else $as_nop
   17423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17424 /* end confdefs.h.  */
   17425 int i;
   17426 int
   17427 main (void)
   17428 {
   17429 
   17430   ;
   17431   return 0;
   17432 }
   17433 _ACEOF
   17434 if ac_fn_c_try_link "$LINENO"
   17435 then :
   17436   eval $cacheid=yes
   17437 else $as_nop
   17438   eval $cacheid=no
   17439 fi
   17440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17441     conftest$ac_exeext conftest.$ac_ext
   17442 fi
   17443 
   17444 
   17445 		CFLAGS="$xorg_testset_save_CFLAGS"
   17446 
   17447 		eval supported=\$$cacheid
   17448 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17449 printf "%s\n" "$supported" >&6; }
   17450 		if test "$supported" = "yes" ; then
   17451 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17452 			found="yes"
   17453 		fi
   17454 	fi
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 xorg_testset_save_CFLAGS="$CFLAGS"
   17471 
   17472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17475 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17476 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17477 then :
   17478   printf %s "(cached) " >&6
   17479 else $as_nop
   17480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17481 /* end confdefs.h.  */
   17482 int i;
   17483 _ACEOF
   17484 if ac_fn_c_try_compile "$LINENO"
   17485 then :
   17486   xorg_cv_cc_flag_unknown_warning_option=yes
   17487 else $as_nop
   17488   xorg_cv_cc_flag_unknown_warning_option=no
   17489 fi
   17490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17491 fi
   17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17493 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17494 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17495 	CFLAGS="$xorg_testset_save_CFLAGS"
   17496 fi
   17497 
   17498 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17499 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17500 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17501 	fi
   17502 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17504 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17505 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17506 then :
   17507   printf %s "(cached) " >&6
   17508 else $as_nop
   17509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17510 /* end confdefs.h.  */
   17511 int i;
   17512 _ACEOF
   17513 if ac_fn_c_try_compile "$LINENO"
   17514 then :
   17515   xorg_cv_cc_flag_unused_command_line_argument=yes
   17516 else $as_nop
   17517   xorg_cv_cc_flag_unused_command_line_argument=no
   17518 fi
   17519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17520 fi
   17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17522 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17523 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17524 	CFLAGS="$xorg_testset_save_CFLAGS"
   17525 fi
   17526 
   17527 found="no"
   17528 
   17529 	if test $found = "no" ; then
   17530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17532 		fi
   17533 
   17534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17536 		fi
   17537 
   17538 		CFLAGS="$CFLAGS -Wmissing-braces"
   17539 
   17540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17541 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17542 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17543 		if eval test \${$cacheid+y}
   17544 then :
   17545   printf %s "(cached) " >&6
   17546 else $as_nop
   17547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17548 /* end confdefs.h.  */
   17549 int i;
   17550 int
   17551 main (void)
   17552 {
   17553 
   17554   ;
   17555   return 0;
   17556 }
   17557 _ACEOF
   17558 if ac_fn_c_try_link "$LINENO"
   17559 then :
   17560   eval $cacheid=yes
   17561 else $as_nop
   17562   eval $cacheid=no
   17563 fi
   17564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17565     conftest$ac_exeext conftest.$ac_ext
   17566 fi
   17567 
   17568 
   17569 		CFLAGS="$xorg_testset_save_CFLAGS"
   17570 
   17571 		eval supported=\$$cacheid
   17572 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17573 printf "%s\n" "$supported" >&6; }
   17574 		if test "$supported" = "yes" ; then
   17575 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17576 			found="yes"
   17577 		fi
   17578 	fi
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 xorg_testset_save_CFLAGS="$CFLAGS"
   17595 
   17596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17599 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17600 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17601 then :
   17602   printf %s "(cached) " >&6
   17603 else $as_nop
   17604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17605 /* end confdefs.h.  */
   17606 int i;
   17607 _ACEOF
   17608 if ac_fn_c_try_compile "$LINENO"
   17609 then :
   17610   xorg_cv_cc_flag_unknown_warning_option=yes
   17611 else $as_nop
   17612   xorg_cv_cc_flag_unknown_warning_option=no
   17613 fi
   17614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17615 fi
   17616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17617 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17619 	CFLAGS="$xorg_testset_save_CFLAGS"
   17620 fi
   17621 
   17622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17625 	fi
   17626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17628 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17629 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17630 then :
   17631   printf %s "(cached) " >&6
   17632 else $as_nop
   17633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17634 /* end confdefs.h.  */
   17635 int i;
   17636 _ACEOF
   17637 if ac_fn_c_try_compile "$LINENO"
   17638 then :
   17639   xorg_cv_cc_flag_unused_command_line_argument=yes
   17640 else $as_nop
   17641   xorg_cv_cc_flag_unused_command_line_argument=no
   17642 fi
   17643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17644 fi
   17645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17646 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17648 	CFLAGS="$xorg_testset_save_CFLAGS"
   17649 fi
   17650 
   17651 found="no"
   17652 
   17653 	if test $found = "no" ; then
   17654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17656 		fi
   17657 
   17658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17660 		fi
   17661 
   17662 		CFLAGS="$CFLAGS -Wsequence-point"
   17663 
   17664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17665 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17666 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17667 		if eval test \${$cacheid+y}
   17668 then :
   17669   printf %s "(cached) " >&6
   17670 else $as_nop
   17671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17672 /* end confdefs.h.  */
   17673 int i;
   17674 int
   17675 main (void)
   17676 {
   17677 
   17678   ;
   17679   return 0;
   17680 }
   17681 _ACEOF
   17682 if ac_fn_c_try_link "$LINENO"
   17683 then :
   17684   eval $cacheid=yes
   17685 else $as_nop
   17686   eval $cacheid=no
   17687 fi
   17688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17689     conftest$ac_exeext conftest.$ac_ext
   17690 fi
   17691 
   17692 
   17693 		CFLAGS="$xorg_testset_save_CFLAGS"
   17694 
   17695 		eval supported=\$$cacheid
   17696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17697 printf "%s\n" "$supported" >&6; }
   17698 		if test "$supported" = "yes" ; then
   17699 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17700 			found="yes"
   17701 		fi
   17702 	fi
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 xorg_testset_save_CFLAGS="$CFLAGS"
   17719 
   17720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17725 then :
   17726   printf %s "(cached) " >&6
   17727 else $as_nop
   17728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17729 /* end confdefs.h.  */
   17730 int i;
   17731 _ACEOF
   17732 if ac_fn_c_try_compile "$LINENO"
   17733 then :
   17734   xorg_cv_cc_flag_unknown_warning_option=yes
   17735 else $as_nop
   17736   xorg_cv_cc_flag_unknown_warning_option=no
   17737 fi
   17738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17739 fi
   17740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17741 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17743 	CFLAGS="$xorg_testset_save_CFLAGS"
   17744 fi
   17745 
   17746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17749 	fi
   17750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17752 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17753 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17754 then :
   17755   printf %s "(cached) " >&6
   17756 else $as_nop
   17757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17758 /* end confdefs.h.  */
   17759 int i;
   17760 _ACEOF
   17761 if ac_fn_c_try_compile "$LINENO"
   17762 then :
   17763   xorg_cv_cc_flag_unused_command_line_argument=yes
   17764 else $as_nop
   17765   xorg_cv_cc_flag_unused_command_line_argument=no
   17766 fi
   17767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17768 fi
   17769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17770 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17772 	CFLAGS="$xorg_testset_save_CFLAGS"
   17773 fi
   17774 
   17775 found="no"
   17776 
   17777 	if test $found = "no" ; then
   17778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17780 		fi
   17781 
   17782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17784 		fi
   17785 
   17786 		CFLAGS="$CFLAGS -Wreturn-type"
   17787 
   17788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17789 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17790 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17791 		if eval test \${$cacheid+y}
   17792 then :
   17793   printf %s "(cached) " >&6
   17794 else $as_nop
   17795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17796 /* end confdefs.h.  */
   17797 int i;
   17798 int
   17799 main (void)
   17800 {
   17801 
   17802   ;
   17803   return 0;
   17804 }
   17805 _ACEOF
   17806 if ac_fn_c_try_link "$LINENO"
   17807 then :
   17808   eval $cacheid=yes
   17809 else $as_nop
   17810   eval $cacheid=no
   17811 fi
   17812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17813     conftest$ac_exeext conftest.$ac_ext
   17814 fi
   17815 
   17816 
   17817 		CFLAGS="$xorg_testset_save_CFLAGS"
   17818 
   17819 		eval supported=\$$cacheid
   17820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17821 printf "%s\n" "$supported" >&6; }
   17822 		if test "$supported" = "yes" ; then
   17823 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17824 			found="yes"
   17825 		fi
   17826 	fi
   17827 
   17828 
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 xorg_testset_save_CFLAGS="$CFLAGS"
   17843 
   17844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17849 then :
   17850   printf %s "(cached) " >&6
   17851 else $as_nop
   17852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17853 /* end confdefs.h.  */
   17854 int i;
   17855 _ACEOF
   17856 if ac_fn_c_try_compile "$LINENO"
   17857 then :
   17858   xorg_cv_cc_flag_unknown_warning_option=yes
   17859 else $as_nop
   17860   xorg_cv_cc_flag_unknown_warning_option=no
   17861 fi
   17862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17863 fi
   17864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17865 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17867 	CFLAGS="$xorg_testset_save_CFLAGS"
   17868 fi
   17869 
   17870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17873 	fi
   17874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17878 then :
   17879   printf %s "(cached) " >&6
   17880 else $as_nop
   17881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17882 /* end confdefs.h.  */
   17883 int i;
   17884 _ACEOF
   17885 if ac_fn_c_try_compile "$LINENO"
   17886 then :
   17887   xorg_cv_cc_flag_unused_command_line_argument=yes
   17888 else $as_nop
   17889   xorg_cv_cc_flag_unused_command_line_argument=no
   17890 fi
   17891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17892 fi
   17893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17894 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17896 	CFLAGS="$xorg_testset_save_CFLAGS"
   17897 fi
   17898 
   17899 found="no"
   17900 
   17901 	if test $found = "no" ; then
   17902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17904 		fi
   17905 
   17906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17908 		fi
   17909 
   17910 		CFLAGS="$CFLAGS -Wtrigraphs"
   17911 
   17912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17913 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17914 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17915 		if eval test \${$cacheid+y}
   17916 then :
   17917   printf %s "(cached) " >&6
   17918 else $as_nop
   17919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17920 /* end confdefs.h.  */
   17921 int i;
   17922 int
   17923 main (void)
   17924 {
   17925 
   17926   ;
   17927   return 0;
   17928 }
   17929 _ACEOF
   17930 if ac_fn_c_try_link "$LINENO"
   17931 then :
   17932   eval $cacheid=yes
   17933 else $as_nop
   17934   eval $cacheid=no
   17935 fi
   17936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17937     conftest$ac_exeext conftest.$ac_ext
   17938 fi
   17939 
   17940 
   17941 		CFLAGS="$xorg_testset_save_CFLAGS"
   17942 
   17943 		eval supported=\$$cacheid
   17944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17945 printf "%s\n" "$supported" >&6; }
   17946 		if test "$supported" = "yes" ; then
   17947 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17948 			found="yes"
   17949 		fi
   17950 	fi
   17951 
   17952 
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 xorg_testset_save_CFLAGS="$CFLAGS"
   17967 
   17968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17971 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17972 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17973 then :
   17974   printf %s "(cached) " >&6
   17975 else $as_nop
   17976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17977 /* end confdefs.h.  */
   17978 int i;
   17979 _ACEOF
   17980 if ac_fn_c_try_compile "$LINENO"
   17981 then :
   17982   xorg_cv_cc_flag_unknown_warning_option=yes
   17983 else $as_nop
   17984   xorg_cv_cc_flag_unknown_warning_option=no
   17985 fi
   17986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17987 fi
   17988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17991 	CFLAGS="$xorg_testset_save_CFLAGS"
   17992 fi
   17993 
   17994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17997 	fi
   17998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18002 then :
   18003   printf %s "(cached) " >&6
   18004 else $as_nop
   18005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18006 /* end confdefs.h.  */
   18007 int i;
   18008 _ACEOF
   18009 if ac_fn_c_try_compile "$LINENO"
   18010 then :
   18011   xorg_cv_cc_flag_unused_command_line_argument=yes
   18012 else $as_nop
   18013   xorg_cv_cc_flag_unused_command_line_argument=no
   18014 fi
   18015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18016 fi
   18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18018 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18020 	CFLAGS="$xorg_testset_save_CFLAGS"
   18021 fi
   18022 
   18023 found="no"
   18024 
   18025 	if test $found = "no" ; then
   18026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18028 		fi
   18029 
   18030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18032 		fi
   18033 
   18034 		CFLAGS="$CFLAGS -Warray-bounds"
   18035 
   18036 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18037 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18038 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18039 		if eval test \${$cacheid+y}
   18040 then :
   18041   printf %s "(cached) " >&6
   18042 else $as_nop
   18043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18044 /* end confdefs.h.  */
   18045 int i;
   18046 int
   18047 main (void)
   18048 {
   18049 
   18050   ;
   18051   return 0;
   18052 }
   18053 _ACEOF
   18054 if ac_fn_c_try_link "$LINENO"
   18055 then :
   18056   eval $cacheid=yes
   18057 else $as_nop
   18058   eval $cacheid=no
   18059 fi
   18060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18061     conftest$ac_exeext conftest.$ac_ext
   18062 fi
   18063 
   18064 
   18065 		CFLAGS="$xorg_testset_save_CFLAGS"
   18066 
   18067 		eval supported=\$$cacheid
   18068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18069 printf "%s\n" "$supported" >&6; }
   18070 		if test "$supported" = "yes" ; then
   18071 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18072 			found="yes"
   18073 		fi
   18074 	fi
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 xorg_testset_save_CFLAGS="$CFLAGS"
   18091 
   18092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18097 then :
   18098   printf %s "(cached) " >&6
   18099 else $as_nop
   18100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18101 /* end confdefs.h.  */
   18102 int i;
   18103 _ACEOF
   18104 if ac_fn_c_try_compile "$LINENO"
   18105 then :
   18106   xorg_cv_cc_flag_unknown_warning_option=yes
   18107 else $as_nop
   18108   xorg_cv_cc_flag_unknown_warning_option=no
   18109 fi
   18110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18111 fi
   18112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18115 	CFLAGS="$xorg_testset_save_CFLAGS"
   18116 fi
   18117 
   18118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18121 	fi
   18122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18126 then :
   18127   printf %s "(cached) " >&6
   18128 else $as_nop
   18129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18130 /* end confdefs.h.  */
   18131 int i;
   18132 _ACEOF
   18133 if ac_fn_c_try_compile "$LINENO"
   18134 then :
   18135   xorg_cv_cc_flag_unused_command_line_argument=yes
   18136 else $as_nop
   18137   xorg_cv_cc_flag_unused_command_line_argument=no
   18138 fi
   18139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18140 fi
   18141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18144 	CFLAGS="$xorg_testset_save_CFLAGS"
   18145 fi
   18146 
   18147 found="no"
   18148 
   18149 	if test $found = "no" ; then
   18150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18152 		fi
   18153 
   18154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18156 		fi
   18157 
   18158 		CFLAGS="$CFLAGS -Wwrite-strings"
   18159 
   18160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18161 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18162 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18163 		if eval test \${$cacheid+y}
   18164 then :
   18165   printf %s "(cached) " >&6
   18166 else $as_nop
   18167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18168 /* end confdefs.h.  */
   18169 int i;
   18170 int
   18171 main (void)
   18172 {
   18173 
   18174   ;
   18175   return 0;
   18176 }
   18177 _ACEOF
   18178 if ac_fn_c_try_link "$LINENO"
   18179 then :
   18180   eval $cacheid=yes
   18181 else $as_nop
   18182   eval $cacheid=no
   18183 fi
   18184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18185     conftest$ac_exeext conftest.$ac_ext
   18186 fi
   18187 
   18188 
   18189 		CFLAGS="$xorg_testset_save_CFLAGS"
   18190 
   18191 		eval supported=\$$cacheid
   18192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18193 printf "%s\n" "$supported" >&6; }
   18194 		if test "$supported" = "yes" ; then
   18195 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18196 			found="yes"
   18197 		fi
   18198 	fi
   18199 
   18200 
   18201 
   18202 
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 xorg_testset_save_CFLAGS="$CFLAGS"
   18215 
   18216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18219 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18220 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18221 then :
   18222   printf %s "(cached) " >&6
   18223 else $as_nop
   18224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18225 /* end confdefs.h.  */
   18226 int i;
   18227 _ACEOF
   18228 if ac_fn_c_try_compile "$LINENO"
   18229 then :
   18230   xorg_cv_cc_flag_unknown_warning_option=yes
   18231 else $as_nop
   18232   xorg_cv_cc_flag_unknown_warning_option=no
   18233 fi
   18234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18235 fi
   18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18237 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18239 	CFLAGS="$xorg_testset_save_CFLAGS"
   18240 fi
   18241 
   18242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18245 	fi
   18246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18247 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18248 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18249 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18250 then :
   18251   printf %s "(cached) " >&6
   18252 else $as_nop
   18253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18254 /* end confdefs.h.  */
   18255 int i;
   18256 _ACEOF
   18257 if ac_fn_c_try_compile "$LINENO"
   18258 then :
   18259   xorg_cv_cc_flag_unused_command_line_argument=yes
   18260 else $as_nop
   18261   xorg_cv_cc_flag_unused_command_line_argument=no
   18262 fi
   18263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18264 fi
   18265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18266 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18268 	CFLAGS="$xorg_testset_save_CFLAGS"
   18269 fi
   18270 
   18271 found="no"
   18272 
   18273 	if test $found = "no" ; then
   18274 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18276 		fi
   18277 
   18278 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18280 		fi
   18281 
   18282 		CFLAGS="$CFLAGS -Waddress"
   18283 
   18284 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18285 printf %s "checking if $CC supports -Waddress... " >&6; }
   18286 		cacheid=xorg_cv_cc_flag__Waddress
   18287 		if eval test \${$cacheid+y}
   18288 then :
   18289   printf %s "(cached) " >&6
   18290 else $as_nop
   18291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18292 /* end confdefs.h.  */
   18293 int i;
   18294 int
   18295 main (void)
   18296 {
   18297 
   18298   ;
   18299   return 0;
   18300 }
   18301 _ACEOF
   18302 if ac_fn_c_try_link "$LINENO"
   18303 then :
   18304   eval $cacheid=yes
   18305 else $as_nop
   18306   eval $cacheid=no
   18307 fi
   18308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18309     conftest$ac_exeext conftest.$ac_ext
   18310 fi
   18311 
   18312 
   18313 		CFLAGS="$xorg_testset_save_CFLAGS"
   18314 
   18315 		eval supported=\$$cacheid
   18316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18317 printf "%s\n" "$supported" >&6; }
   18318 		if test "$supported" = "yes" ; then
   18319 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18320 			found="yes"
   18321 		fi
   18322 	fi
   18323 
   18324 
   18325 
   18326 
   18327 
   18328 
   18329 
   18330 
   18331 
   18332 
   18333 
   18334 
   18335 
   18336 
   18337 
   18338 xorg_testset_save_CFLAGS="$CFLAGS"
   18339 
   18340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18343 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18344 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18345 then :
   18346   printf %s "(cached) " >&6
   18347 else $as_nop
   18348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18349 /* end confdefs.h.  */
   18350 int i;
   18351 _ACEOF
   18352 if ac_fn_c_try_compile "$LINENO"
   18353 then :
   18354   xorg_cv_cc_flag_unknown_warning_option=yes
   18355 else $as_nop
   18356   xorg_cv_cc_flag_unknown_warning_option=no
   18357 fi
   18358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18359 fi
   18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18361 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18362 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18363 	CFLAGS="$xorg_testset_save_CFLAGS"
   18364 fi
   18365 
   18366 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18367 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18368 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18369 	fi
   18370 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18372 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18373 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18374 then :
   18375   printf %s "(cached) " >&6
   18376 else $as_nop
   18377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18378 /* end confdefs.h.  */
   18379 int i;
   18380 _ACEOF
   18381 if ac_fn_c_try_compile "$LINENO"
   18382 then :
   18383   xorg_cv_cc_flag_unused_command_line_argument=yes
   18384 else $as_nop
   18385   xorg_cv_cc_flag_unused_command_line_argument=no
   18386 fi
   18387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18388 fi
   18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18390 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18391 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18392 	CFLAGS="$xorg_testset_save_CFLAGS"
   18393 fi
   18394 
   18395 found="no"
   18396 
   18397 	if test $found = "no" ; then
   18398 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18399 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18400 		fi
   18401 
   18402 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18403 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18404 		fi
   18405 
   18406 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18407 
   18408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18409 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18410 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18411 		if eval test \${$cacheid+y}
   18412 then :
   18413   printf %s "(cached) " >&6
   18414 else $as_nop
   18415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18416 /* end confdefs.h.  */
   18417 int i;
   18418 int
   18419 main (void)
   18420 {
   18421 
   18422   ;
   18423   return 0;
   18424 }
   18425 _ACEOF
   18426 if ac_fn_c_try_link "$LINENO"
   18427 then :
   18428   eval $cacheid=yes
   18429 else $as_nop
   18430   eval $cacheid=no
   18431 fi
   18432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18433     conftest$ac_exeext conftest.$ac_ext
   18434 fi
   18435 
   18436 
   18437 		CFLAGS="$xorg_testset_save_CFLAGS"
   18438 
   18439 		eval supported=\$$cacheid
   18440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18441 printf "%s\n" "$supported" >&6; }
   18442 		if test "$supported" = "yes" ; then
   18443 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18444 			found="yes"
   18445 		fi
   18446 	fi
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 
   18460 
   18461 
   18462 xorg_testset_save_CFLAGS="$CFLAGS"
   18463 
   18464 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18466 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18467 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18468 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18469 then :
   18470   printf %s "(cached) " >&6
   18471 else $as_nop
   18472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18473 /* end confdefs.h.  */
   18474 int i;
   18475 _ACEOF
   18476 if ac_fn_c_try_compile "$LINENO"
   18477 then :
   18478   xorg_cv_cc_flag_unknown_warning_option=yes
   18479 else $as_nop
   18480   xorg_cv_cc_flag_unknown_warning_option=no
   18481 fi
   18482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18483 fi
   18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18485 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18486 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18487 	CFLAGS="$xorg_testset_save_CFLAGS"
   18488 fi
   18489 
   18490 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18491 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18492 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18493 	fi
   18494 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18495 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18496 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18497 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18498 then :
   18499   printf %s "(cached) " >&6
   18500 else $as_nop
   18501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18502 /* end confdefs.h.  */
   18503 int i;
   18504 _ACEOF
   18505 if ac_fn_c_try_compile "$LINENO"
   18506 then :
   18507   xorg_cv_cc_flag_unused_command_line_argument=yes
   18508 else $as_nop
   18509   xorg_cv_cc_flag_unused_command_line_argument=no
   18510 fi
   18511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18512 fi
   18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18514 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18515 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18516 	CFLAGS="$xorg_testset_save_CFLAGS"
   18517 fi
   18518 
   18519 found="no"
   18520 
   18521 	if test $found = "no" ; then
   18522 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18523 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18524 		fi
   18525 
   18526 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18527 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18528 		fi
   18529 
   18530 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18531 
   18532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18533 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18534 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18535 		if eval test \${$cacheid+y}
   18536 then :
   18537   printf %s "(cached) " >&6
   18538 else $as_nop
   18539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18540 /* end confdefs.h.  */
   18541 int i;
   18542 int
   18543 main (void)
   18544 {
   18545 
   18546   ;
   18547   return 0;
   18548 }
   18549 _ACEOF
   18550 if ac_fn_c_try_link "$LINENO"
   18551 then :
   18552   eval $cacheid=yes
   18553 else $as_nop
   18554   eval $cacheid=no
   18555 fi
   18556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18557     conftest$ac_exeext conftest.$ac_ext
   18558 fi
   18559 
   18560 
   18561 		CFLAGS="$xorg_testset_save_CFLAGS"
   18562 
   18563 		eval supported=\$$cacheid
   18564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18565 printf "%s\n" "$supported" >&6; }
   18566 		if test "$supported" = "yes" ; then
   18567 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18568 			found="yes"
   18569 		fi
   18570 	fi
   18571 
   18572 
   18573 fi
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 		CWARNFLAGS="$BASE_CFLAGS"
   18582 		if  test "x$GCC" = xyes ; then
   18583 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18584 		fi
   18585 
   18586 
   18587 
   18588 
   18589 
   18590 
   18591 
   18592 
   18593 # Check whether --enable-strict-compilation was given.
   18594 if test ${enable_strict_compilation+y}
   18595 then :
   18596   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18597 else $as_nop
   18598   STRICT_COMPILE=no
   18599 fi
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 STRICT_CFLAGS=""
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 xorg_testset_save_CFLAGS="$CFLAGS"
   18621 
   18622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18627 then :
   18628   printf %s "(cached) " >&6
   18629 else $as_nop
   18630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18631 /* end confdefs.h.  */
   18632 int i;
   18633 _ACEOF
   18634 if ac_fn_c_try_compile "$LINENO"
   18635 then :
   18636   xorg_cv_cc_flag_unknown_warning_option=yes
   18637 else $as_nop
   18638   xorg_cv_cc_flag_unknown_warning_option=no
   18639 fi
   18640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18641 fi
   18642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18643 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18645 	CFLAGS="$xorg_testset_save_CFLAGS"
   18646 fi
   18647 
   18648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18651 	fi
   18652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18654 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18655 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18656 then :
   18657   printf %s "(cached) " >&6
   18658 else $as_nop
   18659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18660 /* end confdefs.h.  */
   18661 int i;
   18662 _ACEOF
   18663 if ac_fn_c_try_compile "$LINENO"
   18664 then :
   18665   xorg_cv_cc_flag_unused_command_line_argument=yes
   18666 else $as_nop
   18667   xorg_cv_cc_flag_unused_command_line_argument=no
   18668 fi
   18669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18670 fi
   18671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18672 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18674 	CFLAGS="$xorg_testset_save_CFLAGS"
   18675 fi
   18676 
   18677 found="no"
   18678 
   18679 	if test $found = "no" ; then
   18680 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18682 		fi
   18683 
   18684 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18686 		fi
   18687 
   18688 		CFLAGS="$CFLAGS -pedantic"
   18689 
   18690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18691 printf %s "checking if $CC supports -pedantic... " >&6; }
   18692 		cacheid=xorg_cv_cc_flag__pedantic
   18693 		if eval test \${$cacheid+y}
   18694 then :
   18695   printf %s "(cached) " >&6
   18696 else $as_nop
   18697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18698 /* end confdefs.h.  */
   18699 int i;
   18700 int
   18701 main (void)
   18702 {
   18703 
   18704   ;
   18705   return 0;
   18706 }
   18707 _ACEOF
   18708 if ac_fn_c_try_link "$LINENO"
   18709 then :
   18710   eval $cacheid=yes
   18711 else $as_nop
   18712   eval $cacheid=no
   18713 fi
   18714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18715     conftest$ac_exeext conftest.$ac_ext
   18716 fi
   18717 
   18718 
   18719 		CFLAGS="$xorg_testset_save_CFLAGS"
   18720 
   18721 		eval supported=\$$cacheid
   18722 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18723 printf "%s\n" "$supported" >&6; }
   18724 		if test "$supported" = "yes" ; then
   18725 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18726 			found="yes"
   18727 		fi
   18728 	fi
   18729 
   18730 
   18731 
   18732 
   18733 
   18734 
   18735 
   18736 
   18737 
   18738 
   18739 
   18740 
   18741 
   18742 
   18743 
   18744 xorg_testset_save_CFLAGS="$CFLAGS"
   18745 
   18746 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18749 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18750 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18751 then :
   18752   printf %s "(cached) " >&6
   18753 else $as_nop
   18754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18755 /* end confdefs.h.  */
   18756 int i;
   18757 _ACEOF
   18758 if ac_fn_c_try_compile "$LINENO"
   18759 then :
   18760   xorg_cv_cc_flag_unknown_warning_option=yes
   18761 else $as_nop
   18762   xorg_cv_cc_flag_unknown_warning_option=no
   18763 fi
   18764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18765 fi
   18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18767 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18769 	CFLAGS="$xorg_testset_save_CFLAGS"
   18770 fi
   18771 
   18772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18775 	fi
   18776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18778 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18779 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18780 then :
   18781   printf %s "(cached) " >&6
   18782 else $as_nop
   18783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18784 /* end confdefs.h.  */
   18785 int i;
   18786 _ACEOF
   18787 if ac_fn_c_try_compile "$LINENO"
   18788 then :
   18789   xorg_cv_cc_flag_unused_command_line_argument=yes
   18790 else $as_nop
   18791   xorg_cv_cc_flag_unused_command_line_argument=no
   18792 fi
   18793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18794 fi
   18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18796 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18797 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18798 	CFLAGS="$xorg_testset_save_CFLAGS"
   18799 fi
   18800 
   18801 found="no"
   18802 
   18803 	if test $found = "no" ; then
   18804 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18806 		fi
   18807 
   18808 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18810 		fi
   18811 
   18812 		CFLAGS="$CFLAGS -Werror"
   18813 
   18814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18815 printf %s "checking if $CC supports -Werror... " >&6; }
   18816 		cacheid=xorg_cv_cc_flag__Werror
   18817 		if eval test \${$cacheid+y}
   18818 then :
   18819   printf %s "(cached) " >&6
   18820 else $as_nop
   18821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18822 /* end confdefs.h.  */
   18823 int i;
   18824 int
   18825 main (void)
   18826 {
   18827 
   18828   ;
   18829   return 0;
   18830 }
   18831 _ACEOF
   18832 if ac_fn_c_try_link "$LINENO"
   18833 then :
   18834   eval $cacheid=yes
   18835 else $as_nop
   18836   eval $cacheid=no
   18837 fi
   18838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18839     conftest$ac_exeext conftest.$ac_ext
   18840 fi
   18841 
   18842 
   18843 		CFLAGS="$xorg_testset_save_CFLAGS"
   18844 
   18845 		eval supported=\$$cacheid
   18846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18847 printf "%s\n" "$supported" >&6; }
   18848 		if test "$supported" = "yes" ; then
   18849 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18850 			found="yes"
   18851 		fi
   18852 	fi
   18853 
   18854 	if test $found = "no" ; then
   18855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18857 		fi
   18858 
   18859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18861 		fi
   18862 
   18863 		CFLAGS="$CFLAGS -errwarn"
   18864 
   18865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18866 printf %s "checking if $CC supports -errwarn... " >&6; }
   18867 		cacheid=xorg_cv_cc_flag__errwarn
   18868 		if eval test \${$cacheid+y}
   18869 then :
   18870   printf %s "(cached) " >&6
   18871 else $as_nop
   18872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18873 /* end confdefs.h.  */
   18874 int i;
   18875 int
   18876 main (void)
   18877 {
   18878 
   18879   ;
   18880   return 0;
   18881 }
   18882 _ACEOF
   18883 if ac_fn_c_try_link "$LINENO"
   18884 then :
   18885   eval $cacheid=yes
   18886 else $as_nop
   18887   eval $cacheid=no
   18888 fi
   18889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18890     conftest$ac_exeext conftest.$ac_ext
   18891 fi
   18892 
   18893 
   18894 		CFLAGS="$xorg_testset_save_CFLAGS"
   18895 
   18896 		eval supported=\$$cacheid
   18897 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18898 printf "%s\n" "$supported" >&6; }
   18899 		if test "$supported" = "yes" ; then
   18900 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18901 			found="yes"
   18902 		fi
   18903 	fi
   18904 
   18905 
   18906 
   18907 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18908 # activate it with -Werror, so we add it here explicitly.
   18909 
   18910 
   18911 
   18912 
   18913 
   18914 
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 xorg_testset_save_CFLAGS="$CFLAGS"
   18923 
   18924 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18925 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18927 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18928 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18929 then :
   18930   printf %s "(cached) " >&6
   18931 else $as_nop
   18932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18933 /* end confdefs.h.  */
   18934 int i;
   18935 _ACEOF
   18936 if ac_fn_c_try_compile "$LINENO"
   18937 then :
   18938   xorg_cv_cc_flag_unknown_warning_option=yes
   18939 else $as_nop
   18940   xorg_cv_cc_flag_unknown_warning_option=no
   18941 fi
   18942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18943 fi
   18944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18945 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18947 	CFLAGS="$xorg_testset_save_CFLAGS"
   18948 fi
   18949 
   18950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18953 	fi
   18954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18955 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18956 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18957 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18958 then :
   18959   printf %s "(cached) " >&6
   18960 else $as_nop
   18961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18962 /* end confdefs.h.  */
   18963 int i;
   18964 _ACEOF
   18965 if ac_fn_c_try_compile "$LINENO"
   18966 then :
   18967   xorg_cv_cc_flag_unused_command_line_argument=yes
   18968 else $as_nop
   18969   xorg_cv_cc_flag_unused_command_line_argument=no
   18970 fi
   18971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18972 fi
   18973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18974 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18976 	CFLAGS="$xorg_testset_save_CFLAGS"
   18977 fi
   18978 
   18979 found="no"
   18980 
   18981 	if test $found = "no" ; then
   18982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18984 		fi
   18985 
   18986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18988 		fi
   18989 
   18990 		CFLAGS="$CFLAGS -Werror=attributes"
   18991 
   18992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18993 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   18994 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18995 		if eval test \${$cacheid+y}
   18996 then :
   18997   printf %s "(cached) " >&6
   18998 else $as_nop
   18999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19000 /* end confdefs.h.  */
   19001 int i;
   19002 int
   19003 main (void)
   19004 {
   19005 
   19006   ;
   19007   return 0;
   19008 }
   19009 _ACEOF
   19010 if ac_fn_c_try_link "$LINENO"
   19011 then :
   19012   eval $cacheid=yes
   19013 else $as_nop
   19014   eval $cacheid=no
   19015 fi
   19016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19017     conftest$ac_exeext conftest.$ac_ext
   19018 fi
   19019 
   19020 
   19021 		CFLAGS="$xorg_testset_save_CFLAGS"
   19022 
   19023 		eval supported=\$$cacheid
   19024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19025 printf "%s\n" "$supported" >&6; }
   19026 		if test "$supported" = "yes" ; then
   19027 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19028 			found="yes"
   19029 		fi
   19030 	fi
   19031 
   19032 
   19033 
   19034 if test "x$STRICT_COMPILE" = "xyes"; then
   19035     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19036     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19037 fi
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 cat >>confdefs.h <<_ACEOF
   19045 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19046 _ACEOF
   19047 
   19048 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19049 	if test "x$PVM" = "x"; then
   19050 		PVM="0"
   19051 	fi
   19052 
   19053 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19054 
   19055 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19056 	if test "x$PVP" = "x"; then
   19057 		PVP="0"
   19058 	fi
   19059 
   19060 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19061 
   19062 
   19063 
   19064 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19065 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19066 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19067 touch \$(top_srcdir)/ChangeLog; \
   19068 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19069 
   19070 
   19071 
   19072 
   19073 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19074 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19075 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19076 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19077 touch \$(top_srcdir)/INSTALL; \
   19078 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19079 
   19080 
   19081 
   19082 
   19083 
   19084 
   19085 case $host_os in
   19086     solaris*)
   19087         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19088         # check for a man page file found in later versions that use
   19089         # traditional section numbers instead
   19090         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19091 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19092 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19093 then :
   19094   printf %s "(cached) " >&6
   19095 else $as_nop
   19096   test "$cross_compiling" = yes &&
   19097   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19098 if test -r "/usr/share/man/man7/attributes.7"; then
   19099   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19100 else
   19101   ac_cv_file__usr_share_man_man7_attributes_7=no
   19102 fi
   19103 fi
   19104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19105 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19106 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19107 then :
   19108   SYSV_MAN_SECTIONS=false
   19109 else $as_nop
   19110   SYSV_MAN_SECTIONS=true
   19111 fi
   19112 
   19113         ;;
   19114     *) SYSV_MAN_SECTIONS=false ;;
   19115 esac
   19116 
   19117 if test x$APP_MAN_SUFFIX = x    ; then
   19118     APP_MAN_SUFFIX=1
   19119 fi
   19120 if test x$APP_MAN_DIR = x    ; then
   19121     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19122 fi
   19123 
   19124 if test x$LIB_MAN_SUFFIX = x    ; then
   19125     LIB_MAN_SUFFIX=3
   19126 fi
   19127 if test x$LIB_MAN_DIR = x    ; then
   19128     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19129 fi
   19130 
   19131 if test x$FILE_MAN_SUFFIX = x    ; then
   19132     case $SYSV_MAN_SECTIONS in
   19133 	true)				FILE_MAN_SUFFIX=4  ;;
   19134 	*)				FILE_MAN_SUFFIX=5  ;;
   19135     esac
   19136 fi
   19137 if test x$FILE_MAN_DIR = x    ; then
   19138     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19139 fi
   19140 
   19141 if test x$MISC_MAN_SUFFIX = x    ; then
   19142     case $SYSV_MAN_SECTIONS in
   19143 	true)				MISC_MAN_SUFFIX=5  ;;
   19144 	*)				MISC_MAN_SUFFIX=7  ;;
   19145     esac
   19146 fi
   19147 if test x$MISC_MAN_DIR = x    ; then
   19148     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19149 fi
   19150 
   19151 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19152     case $SYSV_MAN_SECTIONS in
   19153 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19154 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19155     esac
   19156 fi
   19157 if test x$DRIVER_MAN_DIR = x    ; then
   19158     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19159 fi
   19160 
   19161 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19162     case $SYSV_MAN_SECTIONS in
   19163 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19164 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19165     esac
   19166 fi
   19167 if test x$ADMIN_MAN_DIR = x    ; then
   19168     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19169 fi
   19170 
   19171 
   19172 
   19173 
   19174 
   19175 
   19176 
   19177 
   19178 
   19179 
   19180 
   19181 
   19182 
   19183 
   19184 
   19185 XORG_MAN_PAGE="X Version 11"
   19186 
   19187 MAN_SUBSTS="\
   19188 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19189 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19190 	-e 's|__xservername__|Xorg|g' \
   19191 	-e 's|__xconfigfile__|xorg.conf|g' \
   19192 	-e 's|__projectroot__|\$(prefix)|g' \
   19193 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19194 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19195 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19196 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19197 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19198 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19199 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19200 
   19201 
   19202 
   19203 # Check whether --enable-silent-rules was given.
   19204 if test ${enable_silent_rules+y}
   19205 then :
   19206   enableval=$enable_silent_rules;
   19207 fi
   19208 
   19209 case $enable_silent_rules in # (((
   19210   yes) AM_DEFAULT_VERBOSITY=0;;
   19211    no) AM_DEFAULT_VERBOSITY=1;;
   19212     *) AM_DEFAULT_VERBOSITY=0;;
   19213 esac
   19214 am_make=${MAKE-make}
   19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19216 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19217 if test ${am_cv_make_support_nested_variables+y}
   19218 then :
   19219   printf %s "(cached) " >&6
   19220 else $as_nop
   19221   if printf "%s\n" 'TRUE=$(BAR$(V))
   19222 BAR0=false
   19223 BAR1=true
   19224 V=1
   19225 am__doit:
   19226 	@$(TRUE)
   19227 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19228   am_cv_make_support_nested_variables=yes
   19229 else
   19230   am_cv_make_support_nested_variables=no
   19231 fi
   19232 fi
   19233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19234 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19235 if test $am_cv_make_support_nested_variables = yes; then
   19236     AM_V='$(V)'
   19237   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19238 else
   19239   AM_V=$AM_DEFAULT_VERBOSITY
   19240   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19241 fi
   19242 AM_BACKSLASH='\'
   19243 
   19244 
   19245 
   19246 # Check whether --enable-malloc0returnsnull was given.
   19247 if test ${enable_malloc0returnsnull+y}
   19248 then :
   19249   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   19250 else $as_nop
   19251   MALLOC_ZERO_RETURNS_NULL=auto
   19252 fi
   19253 
   19254 
   19255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   19256 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   19257 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   19258 if test ${xorg_cv_malloc0_returns_null+y}
   19259 then :
   19260   printf %s "(cached) " >&6
   19261 else $as_nop
   19262   if test "$cross_compiling" = yes
   19263 then :
   19264   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19265 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19266 as_fn_error $? "cannot run test program while cross compiling
   19267 See \`config.log' for more details" "$LINENO" 5; }
   19268 else $as_nop
   19269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19270 /* end confdefs.h.  */
   19271 
   19272 #include <stdlib.h>
   19273 
   19274 int
   19275 main (void)
   19276 {
   19277 
   19278     char *m0, *r0, *c0, *p;
   19279     m0 = malloc(0);
   19280     p = malloc(10);
   19281     r0 = realloc(p,0);
   19282     c0 = calloc(0,10);
   19283     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   19284 
   19285   ;
   19286   return 0;
   19287 }
   19288 _ACEOF
   19289 if ac_fn_c_try_run "$LINENO"
   19290 then :
   19291   xorg_cv_malloc0_returns_null=yes
   19292 else $as_nop
   19293   xorg_cv_malloc0_returns_null=no
   19294 fi
   19295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   19296   conftest.$ac_objext conftest.beam conftest.$ac_ext
   19297 fi
   19298 
   19299 fi
   19300 
   19301 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   19302 fi
   19303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   19304 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   19305 
   19306 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   19307 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   19308 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   19309 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   19310 else
   19311 	MALLOC_ZERO_CFLAGS=""
   19312 	XMALLOC_ZERO_CFLAGS=""
   19313 	XTMALLOC_ZERO_CFLAGS=""
   19314 fi
   19315 
   19316 
   19317 
   19318 
   19319 
   19320 
   19321 # Obtain compiler/linker options for dependencies
   19322 
   19323 pkg_failed=no
   19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XXF86VM" >&5
   19325 printf %s "checking for XXF86VM... " >&6; }
   19326 
   19327 if test -n "$XXF86VM_CFLAGS"; then
   19328     pkg_cv_XXF86VM_CFLAGS="$XXF86VM_CFLAGS"
   19329  elif test -n "$PKG_CONFIG"; then
   19330     if test -n "$PKG_CONFIG" && \
   19331     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1\""; } >&5
   19332   ($PKG_CONFIG --exists --print-errors "xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1") 2>&5
   19333   ac_status=$?
   19334   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19335   test $ac_status = 0; }; then
   19336   pkg_cv_XXF86VM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1" 2>/dev/null`
   19337 		      test "x$?" != "x0" && pkg_failed=yes
   19338 else
   19339   pkg_failed=yes
   19340 fi
   19341  else
   19342     pkg_failed=untried
   19343 fi
   19344 if test -n "$XXF86VM_LIBS"; then
   19345     pkg_cv_XXF86VM_LIBS="$XXF86VM_LIBS"
   19346  elif test -n "$PKG_CONFIG"; then
   19347     if test -n "$PKG_CONFIG" && \
   19348     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1\""; } >&5
   19349   ($PKG_CONFIG --exists --print-errors "xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1") 2>&5
   19350   ac_status=$?
   19351   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19352   test $ac_status = 0; }; then
   19353   pkg_cv_XXF86VM_LIBS=`$PKG_CONFIG --libs "xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1" 2>/dev/null`
   19354 		      test "x$?" != "x0" && pkg_failed=yes
   19355 else
   19356   pkg_failed=yes
   19357 fi
   19358  else
   19359     pkg_failed=untried
   19360 fi
   19361 
   19362 
   19363 
   19364 if test $pkg_failed = yes; then
   19365    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19366 printf "%s\n" "no" >&6; }
   19367 
   19368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19369         _pkg_short_errors_supported=yes
   19370 else
   19371         _pkg_short_errors_supported=no
   19372 fi
   19373         if test $_pkg_short_errors_supported = yes; then
   19374 	        XXF86VM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1" 2>&1`
   19375         else
   19376 	        XXF86VM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1" 2>&1`
   19377         fi
   19378 	# Put the nasty error message in config.log where it belongs
   19379 	echo "$XXF86VM_PKG_ERRORS" >&5
   19380 
   19381 	as_fn_error $? "Package requirements (xproto x11 >= 1.6 xextproto xext xf86vidmodeproto >= 2.2.99.1) were not met:
   19382 
   19383 $XXF86VM_PKG_ERRORS
   19384 
   19385 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19386 installed software in a non-standard prefix.
   19387 
   19388 Alternatively, you may set the environment variables XXF86VM_CFLAGS
   19389 and XXF86VM_LIBS to avoid the need to call pkg-config.
   19390 See the pkg-config man page for more details." "$LINENO" 5
   19391 elif test $pkg_failed = untried; then
   19392      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19393 printf "%s\n" "no" >&6; }
   19394 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19395 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19396 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19397 is in your PATH or set the PKG_CONFIG environment variable to the full
   19398 path to pkg-config.
   19399 
   19400 Alternatively, you may set the environment variables XXF86VM_CFLAGS
   19401 and XXF86VM_LIBS to avoid the need to call pkg-config.
   19402 See the pkg-config man page for more details.
   19403 
   19404 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19405 See \`config.log' for more details" "$LINENO" 5; }
   19406 else
   19407 	XXF86VM_CFLAGS=$pkg_cv_XXF86VM_CFLAGS
   19408 	XXF86VM_LIBS=$pkg_cv_XXF86VM_LIBS
   19409         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19410 printf "%s\n" "yes" >&6; }
   19411 
   19412 fi
   19413 
   19414 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xxf86vm.pc"
   19415 
   19416 cat >confcache <<\_ACEOF
   19417 # This file is a shell script that caches the results of configure
   19418 # tests run on this system so they can be shared between configure
   19419 # scripts and configure runs, see configure's option --config-cache.
   19420 # It is not useful on other systems.  If it contains results you don't
   19421 # want to keep, you may remove or edit it.
   19422 #
   19423 # config.status only pays attention to the cache file if you give it
   19424 # the --recheck option to rerun configure.
   19425 #
   19426 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19427 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19428 # following values.
   19429 
   19430 _ACEOF
   19431 
   19432 # The following way of writing the cache mishandles newlines in values,
   19433 # but we know of no workaround that is simple, portable, and efficient.
   19434 # So, we kill variables containing newlines.
   19435 # Ultrix sh set writes to stderr and can't be redirected directly,
   19436 # and sets the high bit in the cache file unless we assign to the vars.
   19437 (
   19438   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19439     eval ac_val=\$$ac_var
   19440     case $ac_val in #(
   19441     *${as_nl}*)
   19442       case $ac_var in #(
   19443       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19444 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19445       esac
   19446       case $ac_var in #(
   19447       _ | IFS | as_nl) ;; #(
   19448       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19449       *) { eval $ac_var=; unset $ac_var;} ;;
   19450       esac ;;
   19451     esac
   19452   done
   19453 
   19454   (set) 2>&1 |
   19455     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19456     *${as_nl}ac_space=\ *)
   19457       # `set' does not quote correctly, so add quotes: double-quote
   19458       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19459       sed -n \
   19460 	"s/'/'\\\\''/g;
   19461 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19462       ;; #(
   19463     *)
   19464       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19465       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19466       ;;
   19467     esac |
   19468     sort
   19469 ) |
   19470   sed '
   19471      /^ac_cv_env_/b end
   19472      t clear
   19473      :clear
   19474      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19475      t end
   19476      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19477      :end' >>confcache
   19478 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19479   if test -w "$cache_file"; then
   19480     if test "x$cache_file" != "x/dev/null"; then
   19481       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19482 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19483       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19484 	cat confcache >"$cache_file"
   19485       else
   19486         case $cache_file in #(
   19487         */* | ?:*)
   19488 	  mv -f confcache "$cache_file"$$ &&
   19489 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19490         *)
   19491 	  mv -f confcache "$cache_file" ;;
   19492 	esac
   19493       fi
   19494     fi
   19495   else
   19496     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19497 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19498   fi
   19499 fi
   19500 rm -f confcache
   19501 
   19502 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19503 # Let make expand exec_prefix.
   19504 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19505 
   19506 DEFS=-DHAVE_CONFIG_H
   19507 
   19508 ac_libobjs=
   19509 ac_ltlibobjs=
   19510 U=
   19511 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19512   # 1. Remove the extension, and $U if already installed.
   19513   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19514   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19515   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19516   #    will be set to the directory where LIBOBJS objects are built.
   19517   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19518   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19519 done
   19520 LIBOBJS=$ac_libobjs
   19521 
   19522 LTLIBOBJS=$ac_ltlibobjs
   19523 
   19524 
   19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19526 printf %s "checking that generated files are newer than configure... " >&6; }
   19527    if test -n "$am_sleep_pid"; then
   19528      # Hide warnings about reused PIDs.
   19529      wait $am_sleep_pid 2>/dev/null
   19530    fi
   19531    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19532 printf "%s\n" "done" >&6; }
   19533  if test -n "$EXEEXT"; then
   19534   am__EXEEXT_TRUE=
   19535   am__EXEEXT_FALSE='#'
   19536 else
   19537   am__EXEEXT_TRUE='#'
   19538   am__EXEEXT_FALSE=
   19539 fi
   19540 
   19541 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19542   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19544 fi
   19545 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19546   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19548 fi
   19549 
   19550 : "${CONFIG_STATUS=./config.status}"
   19551 ac_write_fail=0
   19552 ac_clean_files_save=$ac_clean_files
   19553 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19555 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19556 as_write_fail=0
   19557 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19558 #! $SHELL
   19559 # Generated by $as_me.
   19560 # Run this file to recreate the current configuration.
   19561 # Compiler output produced by configure, useful for debugging
   19562 # configure, is in config.log if it exists.
   19563 
   19564 debug=false
   19565 ac_cs_recheck=false
   19566 ac_cs_silent=false
   19567 
   19568 SHELL=\${CONFIG_SHELL-$SHELL}
   19569 export SHELL
   19570 _ASEOF
   19571 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19572 ## -------------------- ##
   19573 ## M4sh Initialization. ##
   19574 ## -------------------- ##
   19575 
   19576 # Be more Bourne compatible
   19577 DUALCASE=1; export DUALCASE # for MKS sh
   19578 as_nop=:
   19579 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19580 then :
   19581   emulate sh
   19582   NULLCMD=:
   19583   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19584   # is contrary to our usage.  Disable this feature.
   19585   alias -g '${1+"$@"}'='"$@"'
   19586   setopt NO_GLOB_SUBST
   19587 else $as_nop
   19588   case `(set -o) 2>/dev/null` in #(
   19589   *posix*) :
   19590     set -o posix ;; #(
   19591   *) :
   19592      ;;
   19593 esac
   19594 fi
   19595 
   19596 
   19597 
   19598 # Reset variables that may have inherited troublesome values from
   19599 # the environment.
   19600 
   19601 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19602 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19603 # side effect of setting IFS to empty, thus disabling word splitting.)
   19604 # Quoting is to prevent editors from complaining about space-tab.
   19605 as_nl='
   19606 '
   19607 export as_nl
   19608 IFS=" ""	$as_nl"
   19609 
   19610 PS1='$ '
   19611 PS2='> '
   19612 PS4='+ '
   19613 
   19614 # Ensure predictable behavior from utilities with locale-dependent output.
   19615 LC_ALL=C
   19616 export LC_ALL
   19617 LANGUAGE=C
   19618 export LANGUAGE
   19619 
   19620 # We cannot yet rely on "unset" to work, but we need these variables
   19621 # to be unset--not just set to an empty or harmless value--now, to
   19622 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19623 # also avoids known problems related to "unset" and subshell syntax
   19624 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19625 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19626 do eval test \${$as_var+y} \
   19627   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19628 done
   19629 
   19630 # Ensure that fds 0, 1, and 2 are open.
   19631 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19632 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19633 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19634 
   19635 # The user is always right.
   19636 if ${PATH_SEPARATOR+false} :; then
   19637   PATH_SEPARATOR=:
   19638   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19639     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19640       PATH_SEPARATOR=';'
   19641   }
   19642 fi
   19643 
   19644 
   19645 # Find who we are.  Look in the path if we contain no directory separator.
   19646 as_myself=
   19647 case $0 in #((
   19648   *[\\/]* ) as_myself=$0 ;;
   19649   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19650 for as_dir in $PATH
   19651 do
   19652   IFS=$as_save_IFS
   19653   case $as_dir in #(((
   19654     '') as_dir=./ ;;
   19655     */) ;;
   19656     *) as_dir=$as_dir/ ;;
   19657   esac
   19658     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19659   done
   19660 IFS=$as_save_IFS
   19661 
   19662      ;;
   19663 esac
   19664 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19665 # in which case we are not to be found in the path.
   19666 if test "x$as_myself" = x; then
   19667   as_myself=$0
   19668 fi
   19669 if test ! -f "$as_myself"; then
   19670   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19671   exit 1
   19672 fi
   19673 
   19674 
   19675 
   19676 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19677 # ----------------------------------------
   19678 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19679 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19680 # script with STATUS, using 1 if that was 0.
   19681 as_fn_error ()
   19682 {
   19683   as_status=$1; test $as_status -eq 0 && as_status=1
   19684   if test "$4"; then
   19685     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19686     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19687   fi
   19688   printf "%s\n" "$as_me: error: $2" >&2
   19689   as_fn_exit $as_status
   19690 } # as_fn_error
   19691 
   19692 
   19693 
   19694 # as_fn_set_status STATUS
   19695 # -----------------------
   19696 # Set $? to STATUS, without forking.
   19697 as_fn_set_status ()
   19698 {
   19699   return $1
   19700 } # as_fn_set_status
   19701 
   19702 # as_fn_exit STATUS
   19703 # -----------------
   19704 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19705 as_fn_exit ()
   19706 {
   19707   set +e
   19708   as_fn_set_status $1
   19709   exit $1
   19710 } # as_fn_exit
   19711 
   19712 # as_fn_unset VAR
   19713 # ---------------
   19714 # Portably unset VAR.
   19715 as_fn_unset ()
   19716 {
   19717   { eval $1=; unset $1;}
   19718 }
   19719 as_unset=as_fn_unset
   19720 
   19721 # as_fn_append VAR VALUE
   19722 # ----------------------
   19723 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19724 # advantage of any shell optimizations that allow amortized linear growth over
   19725 # repeated appends, instead of the typical quadratic growth present in naive
   19726 # implementations.
   19727 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19728 then :
   19729   eval 'as_fn_append ()
   19730   {
   19731     eval $1+=\$2
   19732   }'
   19733 else $as_nop
   19734   as_fn_append ()
   19735   {
   19736     eval $1=\$$1\$2
   19737   }
   19738 fi # as_fn_append
   19739 
   19740 # as_fn_arith ARG...
   19741 # ------------------
   19742 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19743 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19744 # must be portable across $(()) and expr.
   19745 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19746 then :
   19747   eval 'as_fn_arith ()
   19748   {
   19749     as_val=$(( $* ))
   19750   }'
   19751 else $as_nop
   19752   as_fn_arith ()
   19753   {
   19754     as_val=`expr "$@" || test $? -eq 1`
   19755   }
   19756 fi # as_fn_arith
   19757 
   19758 
   19759 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19760    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19761   as_expr=expr
   19762 else
   19763   as_expr=false
   19764 fi
   19765 
   19766 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19767   as_basename=basename
   19768 else
   19769   as_basename=false
   19770 fi
   19771 
   19772 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19773   as_dirname=dirname
   19774 else
   19775   as_dirname=false
   19776 fi
   19777 
   19778 as_me=`$as_basename -- "$0" ||
   19779 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19780 	 X"$0" : 'X\(//\)$' \| \
   19781 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19782 printf "%s\n" X/"$0" |
   19783     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19784 	    s//\1/
   19785 	    q
   19786 	  }
   19787 	  /^X\/\(\/\/\)$/{
   19788 	    s//\1/
   19789 	    q
   19790 	  }
   19791 	  /^X\/\(\/\).*/{
   19792 	    s//\1/
   19793 	    q
   19794 	  }
   19795 	  s/.*/./; q'`
   19796 
   19797 # Avoid depending upon Character Ranges.
   19798 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19799 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19800 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19801 as_cr_digits='0123456789'
   19802 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19803 
   19804 
   19805 # Determine whether it's possible to make 'echo' print without a newline.
   19806 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   19807 # for compatibility with existing Makefiles.
   19808 ECHO_C= ECHO_N= ECHO_T=
   19809 case `echo -n x` in #(((((
   19810 -n*)
   19811   case `echo 'xy\c'` in
   19812   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19813   xy)  ECHO_C='\c';;
   19814   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19815        ECHO_T='	';;
   19816   esac;;
   19817 *)
   19818   ECHO_N='-n';;
   19819 esac
   19820 
   19821 # For backward compatibility with old third-party macros, we provide
   19822 # the shell variables $as_echo and $as_echo_n.  New code should use
   19823 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   19824 as_echo='printf %s\n'
   19825 as_echo_n='printf %s'
   19826 
   19827 rm -f conf$$ conf$$.exe conf$$.file
   19828 if test -d conf$$.dir; then
   19829   rm -f conf$$.dir/conf$$.file
   19830 else
   19831   rm -f conf$$.dir
   19832   mkdir conf$$.dir 2>/dev/null
   19833 fi
   19834 if (echo >conf$$.file) 2>/dev/null; then
   19835   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19836     as_ln_s='ln -s'
   19837     # ... but there are two gotchas:
   19838     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19839     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19840     # In both cases, we have to default to `cp -pR'.
   19841     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19842       as_ln_s='cp -pR'
   19843   elif ln conf$$.file conf$$ 2>/dev/null; then
   19844     as_ln_s=ln
   19845   else
   19846     as_ln_s='cp -pR'
   19847   fi
   19848 else
   19849   as_ln_s='cp -pR'
   19850 fi
   19851 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19852 rmdir conf$$.dir 2>/dev/null
   19853 
   19854 
   19855 # as_fn_mkdir_p
   19856 # -------------
   19857 # Create "$as_dir" as a directory, including parents if necessary.
   19858 as_fn_mkdir_p ()
   19859 {
   19860 
   19861   case $as_dir in #(
   19862   -*) as_dir=./$as_dir;;
   19863   esac
   19864   test -d "$as_dir" || eval $as_mkdir_p || {
   19865     as_dirs=
   19866     while :; do
   19867       case $as_dir in #(
   19868       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19869       *) as_qdir=$as_dir;;
   19870       esac
   19871       as_dirs="'$as_qdir' $as_dirs"
   19872       as_dir=`$as_dirname -- "$as_dir" ||
   19873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19874 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19875 	 X"$as_dir" : 'X\(//\)$' \| \
   19876 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19877 printf "%s\n" X"$as_dir" |
   19878     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19879 	    s//\1/
   19880 	    q
   19881 	  }
   19882 	  /^X\(\/\/\)[^/].*/{
   19883 	    s//\1/
   19884 	    q
   19885 	  }
   19886 	  /^X\(\/\/\)$/{
   19887 	    s//\1/
   19888 	    q
   19889 	  }
   19890 	  /^X\(\/\).*/{
   19891 	    s//\1/
   19892 	    q
   19893 	  }
   19894 	  s/.*/./; q'`
   19895       test -d "$as_dir" && break
   19896     done
   19897     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19898   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19899 
   19900 
   19901 } # as_fn_mkdir_p
   19902 if mkdir -p . 2>/dev/null; then
   19903   as_mkdir_p='mkdir -p "$as_dir"'
   19904 else
   19905   test -d ./-p && rmdir ./-p
   19906   as_mkdir_p=false
   19907 fi
   19908 
   19909 
   19910 # as_fn_executable_p FILE
   19911 # -----------------------
   19912 # Test if FILE is an executable regular file.
   19913 as_fn_executable_p ()
   19914 {
   19915   test -f "$1" && test -x "$1"
   19916 } # as_fn_executable_p
   19917 as_test_x='test -x'
   19918 as_executable_p=as_fn_executable_p
   19919 
   19920 # Sed expression to map a string onto a valid CPP name.
   19921 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19922 
   19923 # Sed expression to map a string onto a valid variable name.
   19924 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19925 
   19926 
   19927 exec 6>&1
   19928 ## ----------------------------------- ##
   19929 ## Main body of $CONFIG_STATUS script. ##
   19930 ## ----------------------------------- ##
   19931 _ASEOF
   19932 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19933 
   19934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19935 # Save the log message, to keep $0 and so on meaningful, and to
   19936 # report actual input values of CONFIG_FILES etc. instead of their
   19937 # values after options handling.
   19938 ac_log="
   19939 This file was extended by libXxf86vm $as_me 1.1.5, which was
   19940 generated by GNU Autoconf 2.71.  Invocation command line was
   19941 
   19942   CONFIG_FILES    = $CONFIG_FILES
   19943   CONFIG_HEADERS  = $CONFIG_HEADERS
   19944   CONFIG_LINKS    = $CONFIG_LINKS
   19945   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19946   $ $0 $@
   19947 
   19948 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19949 "
   19950 
   19951 _ACEOF
   19952 
   19953 case $ac_config_files in *"
   19954 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19955 esac
   19956 
   19957 case $ac_config_headers in *"
   19958 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19959 esac
   19960 
   19961 
   19962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19963 # Files that config.status was made for.
   19964 config_files="$ac_config_files"
   19965 config_headers="$ac_config_headers"
   19966 config_commands="$ac_config_commands"
   19967 
   19968 _ACEOF
   19969 
   19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19971 ac_cs_usage="\
   19972 \`$as_me' instantiates files and other configuration actions
   19973 from templates according to the current configuration.  Unless the files
   19974 and actions are specified as TAGs, all are instantiated by default.
   19975 
   19976 Usage: $0 [OPTION]... [TAG]...
   19977 
   19978   -h, --help       print this help, then exit
   19979   -V, --version    print version number and configuration settings, then exit
   19980       --config     print configuration, then exit
   19981   -q, --quiet, --silent
   19982                    do not print progress messages
   19983   -d, --debug      don't remove temporary files
   19984       --recheck    update $as_me by reconfiguring in the same conditions
   19985       --file=FILE[:TEMPLATE]
   19986                    instantiate the configuration file FILE
   19987       --header=FILE[:TEMPLATE]
   19988                    instantiate the configuration header FILE
   19989 
   19990 Configuration files:
   19991 $config_files
   19992 
   19993 Configuration headers:
   19994 $config_headers
   19995 
   19996 Configuration commands:
   19997 $config_commands
   19998 
   19999 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxxf86vm/-/issues>."
   20000 
   20001 _ACEOF
   20002 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20003 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20005 ac_cs_config='$ac_cs_config_escaped'
   20006 ac_cs_version="\\
   20007 libXxf86vm config.status 1.1.5
   20008 configured by $0, generated by GNU Autoconf 2.71,
   20009   with options \\"\$ac_cs_config\\"
   20010 
   20011 Copyright (C) 2021 Free Software Foundation, Inc.
   20012 This config.status script is free software; the Free Software Foundation
   20013 gives unlimited permission to copy, distribute and modify it."
   20014 
   20015 ac_pwd='$ac_pwd'
   20016 srcdir='$srcdir'
   20017 INSTALL='$INSTALL'
   20018 MKDIR_P='$MKDIR_P'
   20019 AWK='$AWK'
   20020 test -n "\$AWK" || AWK=awk
   20021 _ACEOF
   20022 
   20023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20024 # The default lists apply if the user does not specify any file.
   20025 ac_need_defaults=:
   20026 while test $# != 0
   20027 do
   20028   case $1 in
   20029   --*=?*)
   20030     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20031     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20032     ac_shift=:
   20033     ;;
   20034   --*=)
   20035     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20036     ac_optarg=
   20037     ac_shift=:
   20038     ;;
   20039   *)
   20040     ac_option=$1
   20041     ac_optarg=$2
   20042     ac_shift=shift
   20043     ;;
   20044   esac
   20045 
   20046   case $ac_option in
   20047   # Handling of the options.
   20048   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20049     ac_cs_recheck=: ;;
   20050   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20051     printf "%s\n" "$ac_cs_version"; exit ;;
   20052   --config | --confi | --conf | --con | --co | --c )
   20053     printf "%s\n" "$ac_cs_config"; exit ;;
   20054   --debug | --debu | --deb | --de | --d | -d )
   20055     debug=: ;;
   20056   --file | --fil | --fi | --f )
   20057     $ac_shift
   20058     case $ac_optarg in
   20059     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20060     '') as_fn_error $? "missing file argument" ;;
   20061     esac
   20062     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20063     ac_need_defaults=false;;
   20064   --header | --heade | --head | --hea )
   20065     $ac_shift
   20066     case $ac_optarg in
   20067     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20068     esac
   20069     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20070     ac_need_defaults=false;;
   20071   --he | --h)
   20072     # Conflict between --help and --header
   20073     as_fn_error $? "ambiguous option: \`$1'
   20074 Try \`$0 --help' for more information.";;
   20075   --help | --hel | -h )
   20076     printf "%s\n" "$ac_cs_usage"; exit ;;
   20077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20078   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20079     ac_cs_silent=: ;;
   20080 
   20081   # This is an error.
   20082   -*) as_fn_error $? "unrecognized option: \`$1'
   20083 Try \`$0 --help' for more information." ;;
   20084 
   20085   *) as_fn_append ac_config_targets " $1"
   20086      ac_need_defaults=false ;;
   20087 
   20088   esac
   20089   shift
   20090 done
   20091 
   20092 ac_configure_extra_args=
   20093 
   20094 if $ac_cs_silent; then
   20095   exec 6>/dev/null
   20096   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20097 fi
   20098 
   20099 _ACEOF
   20100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20101 if \$ac_cs_recheck; then
   20102   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20103   shift
   20104   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20105   CONFIG_SHELL='$SHELL'
   20106   export CONFIG_SHELL
   20107   exec "\$@"
   20108 fi
   20109 
   20110 _ACEOF
   20111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20112 exec 5>>config.log
   20113 {
   20114   echo
   20115   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20116 ## Running $as_me. ##
   20117 _ASBOX
   20118   printf "%s\n" "$ac_log"
   20119 } >&5
   20120 
   20121 _ACEOF
   20122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20123 #
   20124 # INIT-COMMANDS
   20125 #
   20126 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20127 
   20128 
   20129 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20130 # if CDPATH is set.
   20131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20132 
   20133 sed_quote_subst='$sed_quote_subst'
   20134 double_quote_subst='$double_quote_subst'
   20135 delay_variable_subst='$delay_variable_subst'
   20136 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20137 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20138 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20139 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20140 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20141 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20142 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20143 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20144 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20145 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20146 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20147 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20148 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20149 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20150 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20151 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20152 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20153 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20154 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20155 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20156 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20157 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20158 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20159 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20160 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20161 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20162 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20163 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20164 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20165 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20166 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20167 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20168 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20169 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20170 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20171 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20172 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20173 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20174 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20175 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20176 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20177 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20178 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20179 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20180 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20181 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20182 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20183 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20184 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20185 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20186 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20187 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20188 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20189 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20190 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20191 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20192 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20193 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20194 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20195 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20196 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"`'
   20197 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20198 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20199 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20200 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20201 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20202 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20203 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20204 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20205 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20206 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20207 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20208 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20209 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20210 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20211 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20212 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20213 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20214 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20215 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20216 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20217 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20218 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20219 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20220 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20221 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20222 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20223 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20224 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20225 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20226 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20227 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20228 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20229 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20230 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20231 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20232 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20233 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20234 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20235 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20236 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20237 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20238 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20239 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20240 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20241 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20242 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20243 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20244 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20245 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20246 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20247 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20248 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20249 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20250 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20251 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20252 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20253 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20254 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20255 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20256 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20257 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20258 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20259 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20260 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20261 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20262 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20263 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20264 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20265 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20266 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20267 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20268 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20269 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20270 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20271 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20272 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20273 
   20274 LTCC='$LTCC'
   20275 LTCFLAGS='$LTCFLAGS'
   20276 compiler='$compiler_DEFAULT'
   20277 
   20278 # A function that is used when there is no print builtin or printf.
   20279 func_fallback_echo ()
   20280 {
   20281   eval 'cat <<_LTECHO_EOF
   20282 \$1
   20283 _LTECHO_EOF'
   20284 }
   20285 
   20286 # Quote evaled strings.
   20287 for var in SHELL \
   20288 ECHO \
   20289 PATH_SEPARATOR \
   20290 SED \
   20291 GREP \
   20292 EGREP \
   20293 FGREP \
   20294 LD \
   20295 NM \
   20296 LN_S \
   20297 lt_SP2NL \
   20298 lt_NL2SP \
   20299 reload_flag \
   20300 FILECMD \
   20301 OBJDUMP \
   20302 deplibs_check_method \
   20303 file_magic_cmd \
   20304 file_magic_glob \
   20305 want_nocaseglob \
   20306 DLLTOOL \
   20307 sharedlib_from_linklib_cmd \
   20308 AR \
   20309 archiver_list_spec \
   20310 STRIP \
   20311 RANLIB \
   20312 CC \
   20313 CFLAGS \
   20314 compiler \
   20315 lt_cv_sys_global_symbol_pipe \
   20316 lt_cv_sys_global_symbol_to_cdecl \
   20317 lt_cv_sys_global_symbol_to_import \
   20318 lt_cv_sys_global_symbol_to_c_name_address \
   20319 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20320 lt_cv_nm_interface \
   20321 nm_file_list_spec \
   20322 lt_cv_truncate_bin \
   20323 lt_prog_compiler_no_builtin_flag \
   20324 lt_prog_compiler_pic \
   20325 lt_prog_compiler_wl \
   20326 lt_prog_compiler_static \
   20327 lt_cv_prog_compiler_c_o \
   20328 need_locks \
   20329 MANIFEST_TOOL \
   20330 DSYMUTIL \
   20331 NMEDIT \
   20332 LIPO \
   20333 OTOOL \
   20334 OTOOL64 \
   20335 shrext_cmds \
   20336 export_dynamic_flag_spec \
   20337 whole_archive_flag_spec \
   20338 compiler_needs_object \
   20339 with_gnu_ld \
   20340 allow_undefined_flag \
   20341 no_undefined_flag \
   20342 hardcode_libdir_flag_spec \
   20343 hardcode_libdir_separator \
   20344 exclude_expsyms \
   20345 include_expsyms \
   20346 file_list_spec \
   20347 variables_saved_for_relink \
   20348 libname_spec \
   20349 library_names_spec \
   20350 soname_spec \
   20351 install_override_mode \
   20352 finish_eval \
   20353 old_striplib \
   20354 striplib; do
   20355     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20356     *[\\\\\\\`\\"\\\$]*)
   20357       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20358       ;;
   20359     *)
   20360       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20361       ;;
   20362     esac
   20363 done
   20364 
   20365 # Double-quote double-evaled strings.
   20366 for var in reload_cmds \
   20367 old_postinstall_cmds \
   20368 old_postuninstall_cmds \
   20369 old_archive_cmds \
   20370 extract_expsyms_cmds \
   20371 old_archive_from_new_cmds \
   20372 old_archive_from_expsyms_cmds \
   20373 archive_cmds \
   20374 archive_expsym_cmds \
   20375 module_cmds \
   20376 module_expsym_cmds \
   20377 export_symbols_cmds \
   20378 prelink_cmds \
   20379 postlink_cmds \
   20380 postinstall_cmds \
   20381 postuninstall_cmds \
   20382 finish_cmds \
   20383 sys_lib_search_path_spec \
   20384 configure_time_dlsearch_path \
   20385 configure_time_lt_sys_library_path; do
   20386     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20387     *[\\\\\\\`\\"\\\$]*)
   20388       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20389       ;;
   20390     *)
   20391       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20392       ;;
   20393     esac
   20394 done
   20395 
   20396 ac_aux_dir='$ac_aux_dir'
   20397 
   20398 # See if we are running on zsh, and set the options that allow our
   20399 # commands through without removal of \ escapes INIT.
   20400 if test -n "\${ZSH_VERSION+set}"; then
   20401    setopt NO_GLOB_SUBST
   20402 fi
   20403 
   20404 
   20405     PACKAGE='$PACKAGE'
   20406     VERSION='$VERSION'
   20407     RM='$RM'
   20408     ofile='$ofile'
   20409 
   20410 
   20411 
   20412 
   20413 _ACEOF
   20414 
   20415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20416 
   20417 # Handling of arguments.
   20418 for ac_config_target in $ac_config_targets
   20419 do
   20420   case $ac_config_target in
   20421     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   20422     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20423     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20424     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20425     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20426     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20427     "xxf86vm.pc") CONFIG_FILES="$CONFIG_FILES xxf86vm.pc" ;;
   20428 
   20429   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20430   esac
   20431 done
   20432 
   20433 
   20434 # If the user did not use the arguments to specify the items to instantiate,
   20435 # then the envvar interface is used.  Set only those that are not.
   20436 # We use the long form for the default assignment because of an extremely
   20437 # bizarre bug on SunOS 4.1.3.
   20438 if $ac_need_defaults; then
   20439   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20440   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20441   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20442 fi
   20443 
   20444 # Have a temporary directory for convenience.  Make it in the build tree
   20445 # simply because there is no reason against having it here, and in addition,
   20446 # creating and moving files from /tmp can sometimes cause problems.
   20447 # Hook for its removal unless debugging.
   20448 # Note that there is a small window in which the directory will not be cleaned:
   20449 # after its creation but before its name has been assigned to `$tmp'.
   20450 $debug ||
   20451 {
   20452   tmp= ac_tmp=
   20453   trap 'exit_status=$?
   20454   : "${ac_tmp:=$tmp}"
   20455   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20456 ' 0
   20457   trap 'as_fn_exit 1' 1 2 13 15
   20458 }
   20459 # Create a (secure) tmp directory for tmp files.
   20460 
   20461 {
   20462   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20463   test -d "$tmp"
   20464 }  ||
   20465 {
   20466   tmp=./conf$$-$RANDOM
   20467   (umask 077 && mkdir "$tmp")
   20468 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20469 ac_tmp=$tmp
   20470 
   20471 # Set up the scripts for CONFIG_FILES section.
   20472 # No need to generate them if there are no CONFIG_FILES.
   20473 # This happens for instance with `./config.status config.h'.
   20474 if test -n "$CONFIG_FILES"; then
   20475 
   20476 
   20477 ac_cr=`echo X | tr X '\015'`
   20478 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20479 # But we know of no other shell where ac_cr would be empty at this
   20480 # point, so we can use a bashism as a fallback.
   20481 if test "x$ac_cr" = x; then
   20482   eval ac_cr=\$\'\\r\'
   20483 fi
   20484 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20485 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20486   ac_cs_awk_cr='\\r'
   20487 else
   20488   ac_cs_awk_cr=$ac_cr
   20489 fi
   20490 
   20491 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20492 _ACEOF
   20493 
   20494 
   20495 {
   20496   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20497   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20498   echo "_ACEOF"
   20499 } >conf$$subs.sh ||
   20500   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20501 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20502 ac_delim='%!_!# '
   20503 for ac_last_try in false false false false false :; do
   20504   . ./conf$$subs.sh ||
   20505     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20506 
   20507   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20508   if test $ac_delim_n = $ac_delim_num; then
   20509     break
   20510   elif $ac_last_try; then
   20511     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20512   else
   20513     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20514   fi
   20515 done
   20516 rm -f conf$$subs.sh
   20517 
   20518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20519 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20520 _ACEOF
   20521 sed -n '
   20522 h
   20523 s/^/S["/; s/!.*/"]=/
   20524 p
   20525 g
   20526 s/^[^!]*!//
   20527 :repl
   20528 t repl
   20529 s/'"$ac_delim"'$//
   20530 t delim
   20531 :nl
   20532 h
   20533 s/\(.\{148\}\)..*/\1/
   20534 t more1
   20535 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20536 p
   20537 n
   20538 b repl
   20539 :more1
   20540 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20541 p
   20542 g
   20543 s/.\{148\}//
   20544 t nl
   20545 :delim
   20546 h
   20547 s/\(.\{148\}\)..*/\1/
   20548 t more2
   20549 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20550 p
   20551 b
   20552 :more2
   20553 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20554 p
   20555 g
   20556 s/.\{148\}//
   20557 t delim
   20558 ' <conf$$subs.awk | sed '
   20559 /^[^""]/{
   20560   N
   20561   s/\n//
   20562 }
   20563 ' >>$CONFIG_STATUS || ac_write_fail=1
   20564 rm -f conf$$subs.awk
   20565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20566 _ACAWK
   20567 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20568   for (key in S) S_is_set[key] = 1
   20569   FS = ""
   20570 
   20571 }
   20572 {
   20573   line = $ 0
   20574   nfields = split(line, field, "@")
   20575   substed = 0
   20576   len = length(field[1])
   20577   for (i = 2; i < nfields; i++) {
   20578     key = field[i]
   20579     keylen = length(key)
   20580     if (S_is_set[key]) {
   20581       value = S[key]
   20582       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20583       len += length(value) + length(field[++i])
   20584       substed = 1
   20585     } else
   20586       len += 1 + keylen
   20587   }
   20588 
   20589   print line
   20590 }
   20591 
   20592 _ACAWK
   20593 _ACEOF
   20594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20595 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20596   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20597 else
   20598   cat
   20599 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20600   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20601 _ACEOF
   20602 
   20603 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20604 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20605 # trailing colons and then remove the whole line if VPATH becomes empty
   20606 # (actually we leave an empty line to preserve line numbers).
   20607 if test "x$srcdir" = x.; then
   20608   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20609 h
   20610 s///
   20611 s/^/:/
   20612 s/[	 ]*$/:/
   20613 s/:\$(srcdir):/:/g
   20614 s/:\${srcdir}:/:/g
   20615 s/:@srcdir@:/:/g
   20616 s/^:*//
   20617 s/:*$//
   20618 x
   20619 s/\(=[	 ]*\).*/\1/
   20620 G
   20621 s/\n//
   20622 s/^[^=]*=[	 ]*$//
   20623 }'
   20624 fi
   20625 
   20626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20627 fi # test -n "$CONFIG_FILES"
   20628 
   20629 # Set up the scripts for CONFIG_HEADERS section.
   20630 # No need to generate them if there are no CONFIG_HEADERS.
   20631 # This happens for instance with `./config.status Makefile'.
   20632 if test -n "$CONFIG_HEADERS"; then
   20633 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20634 BEGIN {
   20635 _ACEOF
   20636 
   20637 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20638 # here-document in config.status, that substitutes the proper values into
   20639 # config.h.in to produce config.h.
   20640 
   20641 # Create a delimiter string that does not exist in confdefs.h, to ease
   20642 # handling of long lines.
   20643 ac_delim='%!_!# '
   20644 for ac_last_try in false false :; do
   20645   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20646   if test -z "$ac_tt"; then
   20647     break
   20648   elif $ac_last_try; then
   20649     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20650   else
   20651     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20652   fi
   20653 done
   20654 
   20655 # For the awk script, D is an array of macro values keyed by name,
   20656 # likewise P contains macro parameters if any.  Preserve backslash
   20657 # newline sequences.
   20658 
   20659 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20660 sed -n '
   20661 s/.\{148\}/&'"$ac_delim"'/g
   20662 t rset
   20663 :rset
   20664 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20665 t def
   20666 d
   20667 :def
   20668 s/\\$//
   20669 t bsnl
   20670 s/["\\]/\\&/g
   20671 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20672 D["\1"]=" \3"/p
   20673 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20674 d
   20675 :bsnl
   20676 s/["\\]/\\&/g
   20677 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20678 D["\1"]=" \3\\\\\\n"\\/p
   20679 t cont
   20680 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20681 t cont
   20682 d
   20683 :cont
   20684 n
   20685 s/.\{148\}/&'"$ac_delim"'/g
   20686 t clear
   20687 :clear
   20688 s/\\$//
   20689 t bsnlc
   20690 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20691 d
   20692 :bsnlc
   20693 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20694 b cont
   20695 ' <confdefs.h | sed '
   20696 s/'"$ac_delim"'/"\\\
   20697 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20698 
   20699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20700   for (key in D) D_is_set[key] = 1
   20701   FS = ""
   20702 }
   20703 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20704   line = \$ 0
   20705   split(line, arg, " ")
   20706   if (arg[1] == "#") {
   20707     defundef = arg[2]
   20708     mac1 = arg[3]
   20709   } else {
   20710     defundef = substr(arg[1], 2)
   20711     mac1 = arg[2]
   20712   }
   20713   split(mac1, mac2, "(") #)
   20714   macro = mac2[1]
   20715   prefix = substr(line, 1, index(line, defundef) - 1)
   20716   if (D_is_set[macro]) {
   20717     # Preserve the white space surrounding the "#".
   20718     print prefix "define", macro P[macro] D[macro]
   20719     next
   20720   } else {
   20721     # Replace #undef with comments.  This is necessary, for example,
   20722     # in the case of _POSIX_SOURCE, which is predefined and required
   20723     # on some systems where configure will not decide to define it.
   20724     if (defundef == "undef") {
   20725       print "/*", prefix defundef, macro, "*/"
   20726       next
   20727     }
   20728   }
   20729 }
   20730 { print }
   20731 _ACAWK
   20732 _ACEOF
   20733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20734   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20735 fi # test -n "$CONFIG_HEADERS"
   20736 
   20737 
   20738 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20739 shift
   20740 for ac_tag
   20741 do
   20742   case $ac_tag in
   20743   :[FHLC]) ac_mode=$ac_tag; continue;;
   20744   esac
   20745   case $ac_mode$ac_tag in
   20746   :[FHL]*:*);;
   20747   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20748   :[FH]-) ac_tag=-:-;;
   20749   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20750   esac
   20751   ac_save_IFS=$IFS
   20752   IFS=:
   20753   set x $ac_tag
   20754   IFS=$ac_save_IFS
   20755   shift
   20756   ac_file=$1
   20757   shift
   20758 
   20759   case $ac_mode in
   20760   :L) ac_source=$1;;
   20761   :[FH])
   20762     ac_file_inputs=
   20763     for ac_f
   20764     do
   20765       case $ac_f in
   20766       -) ac_f="$ac_tmp/stdin";;
   20767       *) # Look for the file first in the build tree, then in the source tree
   20768 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20769 	 # because $ac_f cannot contain `:'.
   20770 	 test -f "$ac_f" ||
   20771 	   case $ac_f in
   20772 	   [\\/$]*) false;;
   20773 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20774 	   esac ||
   20775 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20776       esac
   20777       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20778       as_fn_append ac_file_inputs " '$ac_f'"
   20779     done
   20780 
   20781     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20782     # use $as_me), people would be surprised to read:
   20783     #    /* config.h.  Generated by config.status.  */
   20784     configure_input='Generated from '`
   20785 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20786 	`' by configure.'
   20787     if test x"$ac_file" != x-; then
   20788       configure_input="$ac_file.  $configure_input"
   20789       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20790 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   20791     fi
   20792     # Neutralize special characters interpreted by sed in replacement strings.
   20793     case $configure_input in #(
   20794     *\&* | *\|* | *\\* )
   20795        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   20796        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20797     *) ac_sed_conf_input=$configure_input;;
   20798     esac
   20799 
   20800     case $ac_tag in
   20801     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20802       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20803     esac
   20804     ;;
   20805   esac
   20806 
   20807   ac_dir=`$as_dirname -- "$ac_file" ||
   20808 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20809 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20810 	 X"$ac_file" : 'X\(//\)$' \| \
   20811 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20812 printf "%s\n" X"$ac_file" |
   20813     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20814 	    s//\1/
   20815 	    q
   20816 	  }
   20817 	  /^X\(\/\/\)[^/].*/{
   20818 	    s//\1/
   20819 	    q
   20820 	  }
   20821 	  /^X\(\/\/\)$/{
   20822 	    s//\1/
   20823 	    q
   20824 	  }
   20825 	  /^X\(\/\).*/{
   20826 	    s//\1/
   20827 	    q
   20828 	  }
   20829 	  s/.*/./; q'`
   20830   as_dir="$ac_dir"; as_fn_mkdir_p
   20831   ac_builddir=.
   20832 
   20833 case "$ac_dir" in
   20834 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20835 *)
   20836   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   20837   # A ".." for each directory in $ac_dir_suffix.
   20838   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20839   case $ac_top_builddir_sub in
   20840   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20841   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20842   esac ;;
   20843 esac
   20844 ac_abs_top_builddir=$ac_pwd
   20845 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20846 # for backward compatibility:
   20847 ac_top_builddir=$ac_top_build_prefix
   20848 
   20849 case $srcdir in
   20850   .)  # We are building in place.
   20851     ac_srcdir=.
   20852     ac_top_srcdir=$ac_top_builddir_sub
   20853     ac_abs_top_srcdir=$ac_pwd ;;
   20854   [\\/]* | ?:[\\/]* )  # Absolute name.
   20855     ac_srcdir=$srcdir$ac_dir_suffix;
   20856     ac_top_srcdir=$srcdir
   20857     ac_abs_top_srcdir=$srcdir ;;
   20858   *) # Relative name.
   20859     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20860     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20861     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20862 esac
   20863 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20864 
   20865 
   20866   case $ac_mode in
   20867   :F)
   20868   #
   20869   # CONFIG_FILE
   20870   #
   20871 
   20872   case $INSTALL in
   20873   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20874   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20875   esac
   20876   ac_MKDIR_P=$MKDIR_P
   20877   case $MKDIR_P in
   20878   [\\/$]* | ?:[\\/]* ) ;;
   20879   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20880   esac
   20881 _ACEOF
   20882 
   20883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20884 # If the template does not know about datarootdir, expand it.
   20885 # FIXME: This hack should be removed a few years after 2.60.
   20886 ac_datarootdir_hack=; ac_datarootdir_seen=
   20887 ac_sed_dataroot='
   20888 /datarootdir/ {
   20889   p
   20890   q
   20891 }
   20892 /@datadir@/p
   20893 /@docdir@/p
   20894 /@infodir@/p
   20895 /@localedir@/p
   20896 /@mandir@/p'
   20897 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20898 *datarootdir*) ac_datarootdir_seen=yes;;
   20899 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20901 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20902 _ACEOF
   20903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20904   ac_datarootdir_hack='
   20905   s&@datadir@&$datadir&g
   20906   s&@docdir@&$docdir&g
   20907   s&@infodir@&$infodir&g
   20908   s&@localedir@&$localedir&g
   20909   s&@mandir@&$mandir&g
   20910   s&\\\${datarootdir}&$datarootdir&g' ;;
   20911 esac
   20912 _ACEOF
   20913 
   20914 # Neutralize VPATH when `$srcdir' = `.'.
   20915 # Shell code in configure.ac might set extrasub.
   20916 # FIXME: do we really want to maintain this feature?
   20917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20918 ac_sed_extra="$ac_vpsub
   20919 $extrasub
   20920 _ACEOF
   20921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20922 :t
   20923 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20924 s|@configure_input@|$ac_sed_conf_input|;t t
   20925 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20926 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20927 s&@srcdir@&$ac_srcdir&;t t
   20928 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20929 s&@top_srcdir@&$ac_top_srcdir&;t t
   20930 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20931 s&@builddir@&$ac_builddir&;t t
   20932 s&@abs_builddir@&$ac_abs_builddir&;t t
   20933 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20934 s&@INSTALL@&$ac_INSTALL&;t t
   20935 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20936 $ac_datarootdir_hack
   20937 "
   20938 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20939   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20940 
   20941 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20942   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20943   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20944       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20946 which seems to be undefined.  Please make sure it is defined" >&5
   20947 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20948 which seems to be undefined.  Please make sure it is defined" >&2;}
   20949 
   20950   rm -f "$ac_tmp/stdin"
   20951   case $ac_file in
   20952   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20953   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20954   esac \
   20955   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20956  ;;
   20957   :H)
   20958   #
   20959   # CONFIG_HEADER
   20960   #
   20961   if test x"$ac_file" != x-; then
   20962     {
   20963       printf "%s\n" "/* $configure_input  */" >&1 \
   20964       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20965     } >"$ac_tmp/config.h" \
   20966       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20967     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20968       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20969 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   20970     else
   20971       rm -f "$ac_file"
   20972       mv "$ac_tmp/config.h" "$ac_file" \
   20973 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20974     fi
   20975   else
   20976     printf "%s\n" "/* $configure_input  */" >&1 \
   20977       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20978       || as_fn_error $? "could not create -" "$LINENO" 5
   20979   fi
   20980 # Compute "$ac_file"'s index in $config_headers.
   20981 _am_arg="$ac_file"
   20982 _am_stamp_count=1
   20983 for _am_header in $config_headers :; do
   20984   case $_am_header in
   20985     $_am_arg | $_am_arg:* )
   20986       break ;;
   20987     * )
   20988       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20989   esac
   20990 done
   20991 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20992 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20993 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20994 	 X"$_am_arg" : 'X\(//\)$' \| \
   20995 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20996 printf "%s\n" X"$_am_arg" |
   20997     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20998 	    s//\1/
   20999 	    q
   21000 	  }
   21001 	  /^X\(\/\/\)[^/].*/{
   21002 	    s//\1/
   21003 	    q
   21004 	  }
   21005 	  /^X\(\/\/\)$/{
   21006 	    s//\1/
   21007 	    q
   21008 	  }
   21009 	  /^X\(\/\).*/{
   21010 	    s//\1/
   21011 	    q
   21012 	  }
   21013 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21014  ;;
   21015 
   21016   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21017 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21018  ;;
   21019   esac
   21020 
   21021 
   21022   case $ac_file$ac_mode in
   21023     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21024   # Older Autoconf quotes --file arguments for eval, but not when files
   21025   # are listed without --file.  Let's play safe and only enable the eval
   21026   # if we detect the quoting.
   21027   # TODO: see whether this extra hack can be removed once we start
   21028   # requiring Autoconf 2.70 or later.
   21029   case $CONFIG_FILES in #(
   21030   *\'*) :
   21031     eval set x "$CONFIG_FILES" ;; #(
   21032   *) :
   21033     set x $CONFIG_FILES ;; #(
   21034   *) :
   21035      ;;
   21036 esac
   21037   shift
   21038   # Used to flag and report bootstrapping failures.
   21039   am_rc=0
   21040   for am_mf
   21041   do
   21042     # Strip MF so we end up with the name of the file.
   21043     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21044     # Check whether this is an Automake generated Makefile which includes
   21045     # dependency-tracking related rules and includes.
   21046     # Grep'ing the whole file directly is not great: AIX grep has a line
   21047     # limit of 2048, but all sed's we know have understand at least 4000.
   21048     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21049       || continue
   21050     am_dirpart=`$as_dirname -- "$am_mf" ||
   21051 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21052 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21053 	 X"$am_mf" : 'X\(//\)$' \| \
   21054 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21055 printf "%s\n" X"$am_mf" |
   21056     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21057 	    s//\1/
   21058 	    q
   21059 	  }
   21060 	  /^X\(\/\/\)[^/].*/{
   21061 	    s//\1/
   21062 	    q
   21063 	  }
   21064 	  /^X\(\/\/\)$/{
   21065 	    s//\1/
   21066 	    q
   21067 	  }
   21068 	  /^X\(\/\).*/{
   21069 	    s//\1/
   21070 	    q
   21071 	  }
   21072 	  s/.*/./; q'`
   21073     am_filepart=`$as_basename -- "$am_mf" ||
   21074 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21075 	 X"$am_mf" : 'X\(//\)$' \| \
   21076 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21077 printf "%s\n" X/"$am_mf" |
   21078     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21079 	    s//\1/
   21080 	    q
   21081 	  }
   21082 	  /^X\/\(\/\/\)$/{
   21083 	    s//\1/
   21084 	    q
   21085 	  }
   21086 	  /^X\/\(\/\).*/{
   21087 	    s//\1/
   21088 	    q
   21089 	  }
   21090 	  s/.*/./; q'`
   21091     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21092       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21093         | $MAKE -f - am--depfiles" >&5
   21094    (cd "$am_dirpart" \
   21095       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21096         | $MAKE -f - am--depfiles) >&5 2>&5
   21097    ac_status=$?
   21098    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21099    (exit $ac_status); } || am_rc=$?
   21100   done
   21101   if test $am_rc -ne 0; then
   21102     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21103 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21104 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21105     for automatic dependency tracking.  If GNU make was not used, consider
   21106     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21107     necessary).  You can also try re-running configure with the
   21108     '--disable-dependency-tracking' option to at least be able to build
   21109     the package (albeit without support for automatic dependency tracking).
   21110 See \`config.log' for more details" "$LINENO" 5; }
   21111   fi
   21112   { am_dirpart=; unset am_dirpart;}
   21113   { am_filepart=; unset am_filepart;}
   21114   { am_mf=; unset am_mf;}
   21115   { am_rc=; unset am_rc;}
   21116   rm -f conftest-deps.mk
   21117 }
   21118  ;;
   21119     "libtool":C)
   21120 
   21121     # See if we are running on zsh, and set the options that allow our
   21122     # commands through without removal of \ escapes.
   21123     if test -n "${ZSH_VERSION+set}"; then
   21124       setopt NO_GLOB_SUBST
   21125     fi
   21126 
   21127     cfgfile=${ofile}T
   21128     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21129     $RM "$cfgfile"
   21130 
   21131     cat <<_LT_EOF >> "$cfgfile"
   21132 #! $SHELL
   21133 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21134 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21135 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21136 
   21137 # Provide generalized library-building support services.
   21138 # Written by Gordon Matzigkeit, 1996
   21139 
   21140 # Copyright (C) 2014 Free Software Foundation, Inc.
   21141 # This is free software; see the source for copying conditions.  There is NO
   21142 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21143 
   21144 # GNU Libtool is free software; you can redistribute it and/or modify
   21145 # it under the terms of the GNU General Public License as published by
   21146 # the Free Software Foundation; either version 2 of of the License, or
   21147 # (at your option) any later version.
   21148 #
   21149 # As a special exception to the GNU General Public License, if you
   21150 # distribute this file as part of a program or library that is built
   21151 # using GNU Libtool, you may include this file under the  same
   21152 # distribution terms that you use for the rest of that program.
   21153 #
   21154 # GNU Libtool is distributed in the hope that it will be useful, but
   21155 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21156 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21157 # GNU General Public License for more details.
   21158 #
   21159 # You should have received a copy of the GNU General Public License
   21160 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21161 
   21162 
   21163 # The names of the tagged configurations supported by this script.
   21164 available_tags=''
   21165 
   21166 # Configured defaults for sys_lib_dlsearch_path munging.
   21167 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21168 
   21169 # ### BEGIN LIBTOOL CONFIG
   21170 
   21171 # Which release of libtool.m4 was used?
   21172 macro_version=$macro_version
   21173 macro_revision=$macro_revision
   21174 
   21175 # Whether or not to build shared libraries.
   21176 build_libtool_libs=$enable_shared
   21177 
   21178 # Whether or not to build static libraries.
   21179 build_old_libs=$enable_static
   21180 
   21181 # What type of objects to build.
   21182 pic_mode=$pic_mode
   21183 
   21184 # Whether or not to optimize for fast installation.
   21185 fast_install=$enable_fast_install
   21186 
   21187 # Shared archive member basename,for filename based shared library versioning on AIX.
   21188 shared_archive_member_spec=$shared_archive_member_spec
   21189 
   21190 # Shell to use when invoking shell scripts.
   21191 SHELL=$lt_SHELL
   21192 
   21193 # An echo program that protects backslashes.
   21194 ECHO=$lt_ECHO
   21195 
   21196 # The PATH separator for the build system.
   21197 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21198 
   21199 # The host system.
   21200 host_alias=$host_alias
   21201 host=$host
   21202 host_os=$host_os
   21203 
   21204 # The build system.
   21205 build_alias=$build_alias
   21206 build=$build
   21207 build_os=$build_os
   21208 
   21209 # A sed program that does not truncate output.
   21210 SED=$lt_SED
   21211 
   21212 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21213 Xsed="\$SED -e 1s/^X//"
   21214 
   21215 # A grep program that handles long lines.
   21216 GREP=$lt_GREP
   21217 
   21218 # An ERE matcher.
   21219 EGREP=$lt_EGREP
   21220 
   21221 # A literal string matcher.
   21222 FGREP=$lt_FGREP
   21223 
   21224 # A BSD- or MS-compatible name lister.
   21225 NM=$lt_NM
   21226 
   21227 # Whether we need soft or hard links.
   21228 LN_S=$lt_LN_S
   21229 
   21230 # What is the maximum length of a command?
   21231 max_cmd_len=$max_cmd_len
   21232 
   21233 # Object file suffix (normally "o").
   21234 objext=$ac_objext
   21235 
   21236 # Executable file suffix (normally "").
   21237 exeext=$exeext
   21238 
   21239 # whether the shell understands "unset".
   21240 lt_unset=$lt_unset
   21241 
   21242 # turn spaces into newlines.
   21243 SP2NL=$lt_lt_SP2NL
   21244 
   21245 # turn newlines into spaces.
   21246 NL2SP=$lt_lt_NL2SP
   21247 
   21248 # convert \$build file names to \$host format.
   21249 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21250 
   21251 # convert \$build files to toolchain format.
   21252 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21253 
   21254 # A file(cmd) program that detects file types.
   21255 FILECMD=$lt_FILECMD
   21256 
   21257 # An object symbol dumper.
   21258 OBJDUMP=$lt_OBJDUMP
   21259 
   21260 # Method to check whether dependent libraries are shared objects.
   21261 deplibs_check_method=$lt_deplibs_check_method
   21262 
   21263 # Command to use when deplibs_check_method = "file_magic".
   21264 file_magic_cmd=$lt_file_magic_cmd
   21265 
   21266 # How to find potential files when deplibs_check_method = "file_magic".
   21267 file_magic_glob=$lt_file_magic_glob
   21268 
   21269 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21270 want_nocaseglob=$lt_want_nocaseglob
   21271 
   21272 # DLL creation program.
   21273 DLLTOOL=$lt_DLLTOOL
   21274 
   21275 # Command to associate shared and link libraries.
   21276 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21277 
   21278 # The archiver.
   21279 AR=$lt_AR
   21280 
   21281 # Flags to create an archive (by configure).
   21282 lt_ar_flags=$lt_ar_flags
   21283 
   21284 # Flags to create an archive.
   21285 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21286 
   21287 # How to feed a file listing to the archiver.
   21288 archiver_list_spec=$lt_archiver_list_spec
   21289 
   21290 # A symbol stripping program.
   21291 STRIP=$lt_STRIP
   21292 
   21293 # Commands used to install an old-style archive.
   21294 RANLIB=$lt_RANLIB
   21295 old_postinstall_cmds=$lt_old_postinstall_cmds
   21296 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21297 
   21298 # Whether to use a lock for old archive extraction.
   21299 lock_old_archive_extraction=$lock_old_archive_extraction
   21300 
   21301 # A C compiler.
   21302 LTCC=$lt_CC
   21303 
   21304 # LTCC compiler flags.
   21305 LTCFLAGS=$lt_CFLAGS
   21306 
   21307 # Take the output of nm and produce a listing of raw symbols and C names.
   21308 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21309 
   21310 # Transform the output of nm in a proper C declaration.
   21311 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21312 
   21313 # Transform the output of nm into a list of symbols to manually relocate.
   21314 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21315 
   21316 # Transform the output of nm in a C name address pair.
   21317 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21318 
   21319 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21320 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21321 
   21322 # The name lister interface.
   21323 nm_interface=$lt_lt_cv_nm_interface
   21324 
   21325 # Specify filename containing input files for \$NM.
   21326 nm_file_list_spec=$lt_nm_file_list_spec
   21327 
   21328 # The root where to search for dependent libraries,and where our libraries should be installed.
   21329 lt_sysroot=$lt_sysroot
   21330 
   21331 # Command to truncate a binary pipe.
   21332 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21333 
   21334 # The name of the directory that contains temporary libtool files.
   21335 objdir=$objdir
   21336 
   21337 # Used to examine libraries when file_magic_cmd begins with "file".
   21338 MAGIC_CMD=$MAGIC_CMD
   21339 
   21340 # Must we lock files when doing compilation?
   21341 need_locks=$lt_need_locks
   21342 
   21343 # Manifest tool.
   21344 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21345 
   21346 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21347 DSYMUTIL=$lt_DSYMUTIL
   21348 
   21349 # Tool to change global to local symbols on Mac OS X.
   21350 NMEDIT=$lt_NMEDIT
   21351 
   21352 # Tool to manipulate fat objects and archives on Mac OS X.
   21353 LIPO=$lt_LIPO
   21354 
   21355 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21356 OTOOL=$lt_OTOOL
   21357 
   21358 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21359 OTOOL64=$lt_OTOOL64
   21360 
   21361 # Old archive suffix (normally "a").
   21362 libext=$libext
   21363 
   21364 # Shared library suffix (normally ".so").
   21365 shrext_cmds=$lt_shrext_cmds
   21366 
   21367 # The commands to extract the exported symbol list from a shared archive.
   21368 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21369 
   21370 # Variables whose values should be saved in libtool wrapper scripts and
   21371 # restored at link time.
   21372 variables_saved_for_relink=$lt_variables_saved_for_relink
   21373 
   21374 # Do we need the "lib" prefix for modules?
   21375 need_lib_prefix=$need_lib_prefix
   21376 
   21377 # Do we need a version for libraries?
   21378 need_version=$need_version
   21379 
   21380 # Library versioning type.
   21381 version_type=$version_type
   21382 
   21383 # Shared library runtime path variable.
   21384 runpath_var=$runpath_var
   21385 
   21386 # Shared library path variable.
   21387 shlibpath_var=$shlibpath_var
   21388 
   21389 # Is shlibpath searched before the hard-coded library search path?
   21390 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21391 
   21392 # Format of library name prefix.
   21393 libname_spec=$lt_libname_spec
   21394 
   21395 # List of archive names.  First name is the real one, the rest are links.
   21396 # The last name is the one that the linker finds with -lNAME
   21397 library_names_spec=$lt_library_names_spec
   21398 
   21399 # The coded name of the library, if different from the real name.
   21400 soname_spec=$lt_soname_spec
   21401 
   21402 # Permission mode override for installation of shared libraries.
   21403 install_override_mode=$lt_install_override_mode
   21404 
   21405 # Command to use after installation of a shared archive.
   21406 postinstall_cmds=$lt_postinstall_cmds
   21407 
   21408 # Command to use after uninstallation of a shared archive.
   21409 postuninstall_cmds=$lt_postuninstall_cmds
   21410 
   21411 # Commands used to finish a libtool library installation in a directory.
   21412 finish_cmds=$lt_finish_cmds
   21413 
   21414 # As "finish_cmds", except a single script fragment to be evaled but
   21415 # not shown.
   21416 finish_eval=$lt_finish_eval
   21417 
   21418 # Whether we should hardcode library paths into libraries.
   21419 hardcode_into_libs=$hardcode_into_libs
   21420 
   21421 # Compile-time system search path for libraries.
   21422 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21423 
   21424 # Detected run-time system search path for libraries.
   21425 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21426 
   21427 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21428 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21429 
   21430 # Whether dlopen is supported.
   21431 dlopen_support=$enable_dlopen
   21432 
   21433 # Whether dlopen of programs is supported.
   21434 dlopen_self=$enable_dlopen_self
   21435 
   21436 # Whether dlopen of statically linked programs is supported.
   21437 dlopen_self_static=$enable_dlopen_self_static
   21438 
   21439 # Commands to strip libraries.
   21440 old_striplib=$lt_old_striplib
   21441 striplib=$lt_striplib
   21442 
   21443 
   21444 # The linker used to build libraries.
   21445 LD=$lt_LD
   21446 
   21447 # How to create reloadable object files.
   21448 reload_flag=$lt_reload_flag
   21449 reload_cmds=$lt_reload_cmds
   21450 
   21451 # Commands used to build an old-style archive.
   21452 old_archive_cmds=$lt_old_archive_cmds
   21453 
   21454 # A language specific compiler.
   21455 CC=$lt_compiler
   21456 
   21457 # Is the compiler the GNU compiler?
   21458 with_gcc=$GCC
   21459 
   21460 # Compiler flag to turn off builtin functions.
   21461 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21462 
   21463 # Additional compiler flags for building library objects.
   21464 pic_flag=$lt_lt_prog_compiler_pic
   21465 
   21466 # How to pass a linker flag through the compiler.
   21467 wl=$lt_lt_prog_compiler_wl
   21468 
   21469 # Compiler flag to prevent dynamic linking.
   21470 link_static_flag=$lt_lt_prog_compiler_static
   21471 
   21472 # Does compiler simultaneously support -c and -o options?
   21473 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21474 
   21475 # Whether or not to add -lc for building shared libraries.
   21476 build_libtool_need_lc=$archive_cmds_need_lc
   21477 
   21478 # Whether or not to disallow shared libs when runtime libs are static.
   21479 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21480 
   21481 # Compiler flag to allow reflexive dlopens.
   21482 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21483 
   21484 # Compiler flag to generate shared objects directly from archives.
   21485 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21486 
   21487 # Whether the compiler copes with passing no objects directly.
   21488 compiler_needs_object=$lt_compiler_needs_object
   21489 
   21490 # Create an old-style archive from a shared archive.
   21491 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21492 
   21493 # Create a temporary old-style archive to link instead of a shared archive.
   21494 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21495 
   21496 # Commands used to build a shared archive.
   21497 archive_cmds=$lt_archive_cmds
   21498 archive_expsym_cmds=$lt_archive_expsym_cmds
   21499 
   21500 # Commands used to build a loadable module if different from building
   21501 # a shared archive.
   21502 module_cmds=$lt_module_cmds
   21503 module_expsym_cmds=$lt_module_expsym_cmds
   21504 
   21505 # Whether we are building with GNU ld or not.
   21506 with_gnu_ld=$lt_with_gnu_ld
   21507 
   21508 # Flag that allows shared libraries with undefined symbols to be built.
   21509 allow_undefined_flag=$lt_allow_undefined_flag
   21510 
   21511 # Flag that enforces no undefined symbols.
   21512 no_undefined_flag=$lt_no_undefined_flag
   21513 
   21514 # Flag to hardcode \$libdir into a binary during linking.
   21515 # This must work even if \$libdir does not exist
   21516 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21517 
   21518 # Whether we need a single "-rpath" flag with a separated argument.
   21519 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21520 
   21521 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21522 # DIR into the resulting binary.
   21523 hardcode_direct=$hardcode_direct
   21524 
   21525 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21526 # DIR into the resulting binary and the resulting library dependency is
   21527 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21528 # library is relocated.
   21529 hardcode_direct_absolute=$hardcode_direct_absolute
   21530 
   21531 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21532 # into the resulting binary.
   21533 hardcode_minus_L=$hardcode_minus_L
   21534 
   21535 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21536 # into the resulting binary.
   21537 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21538 
   21539 # Set to "yes" if building a shared library automatically hardcodes DIR
   21540 # into the library and all subsequent libraries and executables linked
   21541 # against it.
   21542 hardcode_automatic=$hardcode_automatic
   21543 
   21544 # Set to yes if linker adds runtime paths of dependent libraries
   21545 # to runtime path list.
   21546 inherit_rpath=$inherit_rpath
   21547 
   21548 # Whether libtool must link a program against all its dependency libraries.
   21549 link_all_deplibs=$link_all_deplibs
   21550 
   21551 # Set to "yes" if exported symbols are required.
   21552 always_export_symbols=$always_export_symbols
   21553 
   21554 # The commands to list exported symbols.
   21555 export_symbols_cmds=$lt_export_symbols_cmds
   21556 
   21557 # Symbols that should not be listed in the preloaded symbols.
   21558 exclude_expsyms=$lt_exclude_expsyms
   21559 
   21560 # Symbols that must always be exported.
   21561 include_expsyms=$lt_include_expsyms
   21562 
   21563 # Commands necessary for linking programs (against libraries) with templates.
   21564 prelink_cmds=$lt_prelink_cmds
   21565 
   21566 # Commands necessary for finishing linking programs.
   21567 postlink_cmds=$lt_postlink_cmds
   21568 
   21569 # Specify filename containing input files.
   21570 file_list_spec=$lt_file_list_spec
   21571 
   21572 # How to hardcode a shared library path into an executable.
   21573 hardcode_action=$hardcode_action
   21574 
   21575 # ### END LIBTOOL CONFIG
   21576 
   21577 _LT_EOF
   21578 
   21579     cat <<'_LT_EOF' >> "$cfgfile"
   21580 
   21581 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21582 
   21583 # func_munge_path_list VARIABLE PATH
   21584 # -----------------------------------
   21585 # VARIABLE is name of variable containing _space_ separated list of
   21586 # directories to be munged by the contents of PATH, which is string
   21587 # having a format:
   21588 # "DIR[:DIR]:"
   21589 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21590 # ":DIR[:DIR]"
   21591 #       string "DIR[ DIR]" will be appended to VARIABLE
   21592 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21593 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21594 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21595 # "DIR[:DIR]"
   21596 #       VARIABLE will be replaced by "DIR[ DIR]"
   21597 func_munge_path_list ()
   21598 {
   21599     case x$2 in
   21600     x)
   21601         ;;
   21602     *:)
   21603         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21604         ;;
   21605     x:*)
   21606         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21607         ;;
   21608     *::*)
   21609         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21610         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21611         ;;
   21612     *)
   21613         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21614         ;;
   21615     esac
   21616 }
   21617 
   21618 
   21619 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21620 func_cc_basename ()
   21621 {
   21622     for cc_temp in $*""; do
   21623       case $cc_temp in
   21624         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21625         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21626         \-*) ;;
   21627         *) break;;
   21628       esac
   21629     done
   21630     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21631 }
   21632 
   21633 
   21634 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21635 
   21636 _LT_EOF
   21637 
   21638   case $host_os in
   21639   aix3*)
   21640     cat <<\_LT_EOF >> "$cfgfile"
   21641 # AIX sometimes has problems with the GCC collect2 program.  For some
   21642 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21643 # vanish in a puff of smoke.
   21644 if test set != "${COLLECT_NAMES+set}"; then
   21645   COLLECT_NAMES=
   21646   export COLLECT_NAMES
   21647 fi
   21648 _LT_EOF
   21649     ;;
   21650   esac
   21651 
   21652 
   21653 
   21654 ltmain=$ac_aux_dir/ltmain.sh
   21655 
   21656 
   21657   # We use sed instead of cat because bash on DJGPP gets confused if
   21658   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21659   # text mode, it properly converts lines to CR/LF.  This bash problem
   21660   # is reportedly fixed, but why not run on old versions too?
   21661   $SED '$q' "$ltmain" >> "$cfgfile" \
   21662      || (rm -f "$cfgfile"; exit 1)
   21663 
   21664    mv -f "$cfgfile" "$ofile" ||
   21665     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21666   chmod +x "$ofile"
   21667 
   21668  ;;
   21669 
   21670   esac
   21671 done # for ac_tag
   21672 
   21673 
   21674 as_fn_exit 0
   21675 _ACEOF
   21676 ac_clean_files=$ac_clean_files_save
   21677 
   21678 test $ac_write_fail = 0 ||
   21679   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21680 
   21681 
   21682 # configure is writing to config.log, and then calls config.status.
   21683 # config.status does its own redirection, appending to config.log.
   21684 # Unfortunately, on DOS this fails, as config.log is still kept open
   21685 # by configure, so config.status won't be able to write to it; its
   21686 # output is simply discarded.  So we exec the FD to /dev/null,
   21687 # effectively closing config.log, so it can be properly (re)opened and
   21688 # appended to by config.status.  When coming back to configure, we
   21689 # need to make the FD available again.
   21690 if test "$no_create" != yes; then
   21691   ac_cs_success=:
   21692   ac_config_status_args=
   21693   test "$silent" = yes &&
   21694     ac_config_status_args="$ac_config_status_args --quiet"
   21695   exec 5>/dev/null
   21696   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21697   exec 5>>config.log
   21698   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21699   # would make configure fail if this is the last instruction.
   21700   $ac_cs_success || as_fn_exit 1
   21701 fi
   21702 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21704 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21705 fi
   21706 
   21707 
   21708