Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXv 1.0.12.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxv/-/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/libxv/-/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='libXv'
    624 PACKAGE_TARNAME='libXv'
    625 PACKAGE_VERSION='1.0.12'
    626 PACKAGE_STRING='libXv 1.0.12'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxv/-/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 MAKE_LINT_LIB_FALSE
    668 MAKE_LINT_LIB_TRUE
    669 LINTLIB
    670 LINT_FALSE
    671 LINT_TRUE
    672 LINT_FLAGS
    673 LINT
    674 XV_LIBS
    675 XV_CFLAGS
    676 XTMALLOC_ZERO_CFLAGS
    677 XMALLOC_ZERO_CFLAGS
    678 MALLOC_ZERO_CFLAGS
    679 MAN_SUBSTS
    680 XORG_MAN_PAGE
    681 ADMIN_MAN_DIR
    682 DRIVER_MAN_DIR
    683 MISC_MAN_DIR
    684 FILE_MAN_DIR
    685 LIB_MAN_DIR
    686 APP_MAN_DIR
    687 ADMIN_MAN_SUFFIX
    688 DRIVER_MAN_SUFFIX
    689 MISC_MAN_SUFFIX
    690 FILE_MAN_SUFFIX
    691 LIB_MAN_SUFFIX
    692 APP_MAN_SUFFIX
    693 INSTALL_CMD
    694 PKG_CONFIG_LIBDIR
    695 PKG_CONFIG_PATH
    696 PKG_CONFIG
    697 CHANGELOG_CMD
    698 STRICT_CFLAGS
    699 CWARNFLAGS
    700 BASE_CFLAGS
    701 LT_SYS_LIBRARY_PATH
    702 OTOOL64
    703 OTOOL
    704 LIPO
    705 NMEDIT
    706 DSYMUTIL
    707 MANIFEST_TOOL
    708 RANLIB
    709 ac_ct_AR
    710 AR
    711 DLLTOOL
    712 OBJDUMP
    713 FILECMD
    714 LN_S
    715 NM
    716 ac_ct_DUMPBIN
    717 DUMPBIN
    718 LD
    719 FGREP
    720 EGREP
    721 GREP
    722 SED
    723 am__fastdepCC_FALSE
    724 am__fastdepCC_TRUE
    725 CCDEPMODE
    726 am__nodep
    727 AMDEPBACKSLASH
    728 AMDEP_FALSE
    729 AMDEP_TRUE
    730 am__include
    731 DEPDIR
    732 OBJEXT
    733 EXEEXT
    734 ac_ct_CC
    735 CPPFLAGS
    736 LDFLAGS
    737 CFLAGS
    738 CC
    739 host_os
    740 host_vendor
    741 host_cpu
    742 host
    743 build_os
    744 build_vendor
    745 build_cpu
    746 build
    747 LIBTOOL
    748 AM_BACKSLASH
    749 AM_DEFAULT_VERBOSITY
    750 AM_DEFAULT_V
    751 AM_V
    752 CSCOPE
    753 ETAGS
    754 CTAGS
    755 am__untar
    756 am__tar
    757 AMTAR
    758 am__leading_dot
    759 SET_MAKE
    760 AWK
    761 mkdir_p
    762 MKDIR_P
    763 INSTALL_STRIP_PROGRAM
    764 STRIP
    765 install_sh
    766 MAKEINFO
    767 AUTOHEADER
    768 AUTOMAKE
    769 AUTOCONF
    770 ACLOCAL
    771 VERSION
    772 PACKAGE
    773 CYGPATH_W
    774 am__isrc
    775 INSTALL_DATA
    776 INSTALL_SCRIPT
    777 INSTALL_PROGRAM
    778 target_alias
    779 host_alias
    780 build_alias
    781 LIBS
    782 ECHO_T
    783 ECHO_N
    784 ECHO_C
    785 DEFS
    786 mandir
    787 localedir
    788 libdir
    789 psdir
    790 pdfdir
    791 dvidir
    792 htmldir
    793 infodir
    794 docdir
    795 oldincludedir
    796 includedir
    797 runstatedir
    798 localstatedir
    799 sharedstatedir
    800 sysconfdir
    801 datadir
    802 datarootdir
    803 libexecdir
    804 sbindir
    805 bindir
    806 program_transform_name
    807 prefix
    808 exec_prefix
    809 PACKAGE_URL
    810 PACKAGE_BUGREPORT
    811 PACKAGE_STRING
    812 PACKAGE_VERSION
    813 PACKAGE_TARNAME
    814 PACKAGE_NAME
    815 PATH_SEPARATOR
    816 SHELL
    817 am__quote'
    818 ac_subst_files=''
    819 ac_user_opts='
    820 enable_option_checking
    821 enable_silent_rules
    822 enable_shared
    823 enable_static
    824 with_pic
    825 enable_fast_install
    826 with_aix_soname
    827 enable_dependency_tracking
    828 with_gnu_ld
    829 with_sysroot
    830 enable_libtool_lock
    831 enable_selective_werror
    832 enable_strict_compilation
    833 enable_malloc0returnsnull
    834 with_lint
    835 enable_lint_library
    836 '
    837       ac_precious_vars='build_alias
    838 host_alias
    839 target_alias
    840 CC
    841 CFLAGS
    842 LDFLAGS
    843 LIBS
    844 CPPFLAGS
    845 LT_SYS_LIBRARY_PATH
    846 PKG_CONFIG
    847 PKG_CONFIG_PATH
    848 PKG_CONFIG_LIBDIR
    849 XV_CFLAGS
    850 XV_LIBS
    851 LINT
    852 LINT_FLAGS'
    853 
    854 
    855 # Initialize some variables set by options.
    856 ac_init_help=
    857 ac_init_version=false
    858 ac_unrecognized_opts=
    859 ac_unrecognized_sep=
    860 # The variables have the same names as the options, with
    861 # dashes changed to underlines.
    862 cache_file=/dev/null
    863 exec_prefix=NONE
    864 no_create=
    865 no_recursion=
    866 prefix=NONE
    867 program_prefix=NONE
    868 program_suffix=NONE
    869 program_transform_name=s,x,x,
    870 silent=
    871 site=
    872 srcdir=
    873 verbose=
    874 x_includes=NONE
    875 x_libraries=NONE
    876 
    877 # Installation directory options.
    878 # These are left unexpanded so users can "make install exec_prefix=/foo"
    879 # and all the variables that are supposed to be based on exec_prefix
    880 # by default will actually change.
    881 # Use braces instead of parens because sh, perl, etc. also accept them.
    882 # (The list follows the same order as the GNU Coding Standards.)
    883 bindir='${exec_prefix}/bin'
    884 sbindir='${exec_prefix}/sbin'
    885 libexecdir='${exec_prefix}/libexec'
    886 datarootdir='${prefix}/share'
    887 datadir='${datarootdir}'
    888 sysconfdir='${prefix}/etc'
    889 sharedstatedir='${prefix}/com'
    890 localstatedir='${prefix}/var'
    891 runstatedir='${localstatedir}/run'
    892 includedir='${prefix}/include'
    893 oldincludedir='/usr/include'
    894 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    895 infodir='${datarootdir}/info'
    896 htmldir='${docdir}'
    897 dvidir='${docdir}'
    898 pdfdir='${docdir}'
    899 psdir='${docdir}'
    900 libdir='${exec_prefix}/lib'
    901 localedir='${datarootdir}/locale'
    902 mandir='${datarootdir}/man'
    903 
    904 ac_prev=
    905 ac_dashdash=
    906 for ac_option
    907 do
    908   # If the previous option needs an argument, assign it.
    909   if test -n "$ac_prev"; then
    910     eval $ac_prev=\$ac_option
    911     ac_prev=
    912     continue
    913   fi
    914 
    915   case $ac_option in
    916   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    917   *=)   ac_optarg= ;;
    918   *)    ac_optarg=yes ;;
    919   esac
    920 
    921   case $ac_dashdash$ac_option in
    922   --)
    923     ac_dashdash=yes ;;
    924 
    925   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    926     ac_prev=bindir ;;
    927   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    928     bindir=$ac_optarg ;;
    929 
    930   -build | --build | --buil | --bui | --bu)
    931     ac_prev=build_alias ;;
    932   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    933     build_alias=$ac_optarg ;;
    934 
    935   -cache-file | --cache-file | --cache-fil | --cache-fi \
    936   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    937     ac_prev=cache_file ;;
    938   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    939   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    940     cache_file=$ac_optarg ;;
    941 
    942   --config-cache | -C)
    943     cache_file=config.cache ;;
    944 
    945   -datadir | --datadir | --datadi | --datad)
    946     ac_prev=datadir ;;
    947   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    948     datadir=$ac_optarg ;;
    949 
    950   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    951   | --dataroo | --dataro | --datar)
    952     ac_prev=datarootdir ;;
    953   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    954   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    955     datarootdir=$ac_optarg ;;
    956 
    957   -disable-* | --disable-*)
    958     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    959     # Reject names that are not valid shell variable names.
    960     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    961       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    962     ac_useropt_orig=$ac_useropt
    963     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    964     case $ac_user_opts in
    965       *"
    966 "enable_$ac_useropt"
    967 "*) ;;
    968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    969 	 ac_unrecognized_sep=', ';;
    970     esac
    971     eval enable_$ac_useropt=no ;;
    972 
    973   -docdir | --docdir | --docdi | --doc | --do)
    974     ac_prev=docdir ;;
    975   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    976     docdir=$ac_optarg ;;
    977 
    978   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    979     ac_prev=dvidir ;;
    980   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    981     dvidir=$ac_optarg ;;
    982 
    983   -enable-* | --enable-*)
    984     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    985     # Reject names that are not valid shell variable names.
    986     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    987       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    988     ac_useropt_orig=$ac_useropt
    989     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    990     case $ac_user_opts in
    991       *"
    992 "enable_$ac_useropt"
    993 "*) ;;
    994       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    995 	 ac_unrecognized_sep=', ';;
    996     esac
    997     eval enable_$ac_useropt=\$ac_optarg ;;
    998 
    999   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1000   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1001   | --exec | --exe | --ex)
   1002     ac_prev=exec_prefix ;;
   1003   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1004   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1005   | --exec=* | --exe=* | --ex=*)
   1006     exec_prefix=$ac_optarg ;;
   1007 
   1008   -gas | --gas | --ga | --g)
   1009     # Obsolete; use --with-gas.
   1010     with_gas=yes ;;
   1011 
   1012   -help | --help | --hel | --he | -h)
   1013     ac_init_help=long ;;
   1014   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1015     ac_init_help=recursive ;;
   1016   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1017     ac_init_help=short ;;
   1018 
   1019   -host | --host | --hos | --ho)
   1020     ac_prev=host_alias ;;
   1021   -host=* | --host=* | --hos=* | --ho=*)
   1022     host_alias=$ac_optarg ;;
   1023 
   1024   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1025     ac_prev=htmldir ;;
   1026   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1027   | --ht=*)
   1028     htmldir=$ac_optarg ;;
   1029 
   1030   -includedir | --includedir | --includedi | --included | --include \
   1031   | --includ | --inclu | --incl | --inc)
   1032     ac_prev=includedir ;;
   1033   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1034   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1035     includedir=$ac_optarg ;;
   1036 
   1037   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1038     ac_prev=infodir ;;
   1039   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1040     infodir=$ac_optarg ;;
   1041 
   1042   -libdir | --libdir | --libdi | --libd)
   1043     ac_prev=libdir ;;
   1044   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1045     libdir=$ac_optarg ;;
   1046 
   1047   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1048   | --libexe | --libex | --libe)
   1049     ac_prev=libexecdir ;;
   1050   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1051   | --libexe=* | --libex=* | --libe=*)
   1052     libexecdir=$ac_optarg ;;
   1053 
   1054   -localedir | --localedir | --localedi | --localed | --locale)
   1055     ac_prev=localedir ;;
   1056   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1057     localedir=$ac_optarg ;;
   1058 
   1059   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1060   | --localstate | --localstat | --localsta | --localst | --locals)
   1061     ac_prev=localstatedir ;;
   1062   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1063   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1064     localstatedir=$ac_optarg ;;
   1065 
   1066   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1067     ac_prev=mandir ;;
   1068   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1069     mandir=$ac_optarg ;;
   1070 
   1071   -nfp | --nfp | --nf)
   1072     # Obsolete; use --without-fp.
   1073     with_fp=no ;;
   1074 
   1075   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1076   | --no-cr | --no-c | -n)
   1077     no_create=yes ;;
   1078 
   1079   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1080   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1081     no_recursion=yes ;;
   1082 
   1083   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1084   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1085   | --oldin | --oldi | --old | --ol | --o)
   1086     ac_prev=oldincludedir ;;
   1087   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1088   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1089   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1090     oldincludedir=$ac_optarg ;;
   1091 
   1092   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1093     ac_prev=prefix ;;
   1094   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1095     prefix=$ac_optarg ;;
   1096 
   1097   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1098   | --program-pre | --program-pr | --program-p)
   1099     ac_prev=program_prefix ;;
   1100   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1101   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1102     program_prefix=$ac_optarg ;;
   1103 
   1104   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1105   | --program-suf | --program-su | --program-s)
   1106     ac_prev=program_suffix ;;
   1107   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1108   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1109     program_suffix=$ac_optarg ;;
   1110 
   1111   -program-transform-name | --program-transform-name \
   1112   | --program-transform-nam | --program-transform-na \
   1113   | --program-transform-n | --program-transform- \
   1114   | --program-transform | --program-transfor \
   1115   | --program-transfo | --program-transf \
   1116   | --program-trans | --program-tran \
   1117   | --progr-tra | --program-tr | --program-t)
   1118     ac_prev=program_transform_name ;;
   1119   -program-transform-name=* | --program-transform-name=* \
   1120   | --program-transform-nam=* | --program-transform-na=* \
   1121   | --program-transform-n=* | --program-transform-=* \
   1122   | --program-transform=* | --program-transfor=* \
   1123   | --program-transfo=* | --program-transf=* \
   1124   | --program-trans=* | --program-tran=* \
   1125   | --progr-tra=* | --program-tr=* | --program-t=*)
   1126     program_transform_name=$ac_optarg ;;
   1127 
   1128   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1129     ac_prev=pdfdir ;;
   1130   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1131     pdfdir=$ac_optarg ;;
   1132 
   1133   -psdir | --psdir | --psdi | --psd | --ps)
   1134     ac_prev=psdir ;;
   1135   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1136     psdir=$ac_optarg ;;
   1137 
   1138   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1139   | -silent | --silent | --silen | --sile | --sil)
   1140     silent=yes ;;
   1141 
   1142   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1143   | --runstate | --runstat | --runsta | --runst | --runs \
   1144   | --run | --ru | --r)
   1145     ac_prev=runstatedir ;;
   1146   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1147   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1148   | --run=* | --ru=* | --r=*)
   1149     runstatedir=$ac_optarg ;;
   1150 
   1151   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1152     ac_prev=sbindir ;;
   1153   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1154   | --sbi=* | --sb=*)
   1155     sbindir=$ac_optarg ;;
   1156 
   1157   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1158   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1159   | --sharedst | --shareds | --shared | --share | --shar \
   1160   | --sha | --sh)
   1161     ac_prev=sharedstatedir ;;
   1162   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1163   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1164   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1165   | --sha=* | --sh=*)
   1166     sharedstatedir=$ac_optarg ;;
   1167 
   1168   -site | --site | --sit)
   1169     ac_prev=site ;;
   1170   -site=* | --site=* | --sit=*)
   1171     site=$ac_optarg ;;
   1172 
   1173   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1174     ac_prev=srcdir ;;
   1175   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1176     srcdir=$ac_optarg ;;
   1177 
   1178   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1179   | --syscon | --sysco | --sysc | --sys | --sy)
   1180     ac_prev=sysconfdir ;;
   1181   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1182   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1183     sysconfdir=$ac_optarg ;;
   1184 
   1185   -target | --target | --targe | --targ | --tar | --ta | --t)
   1186     ac_prev=target_alias ;;
   1187   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1188     target_alias=$ac_optarg ;;
   1189 
   1190   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1191     verbose=yes ;;
   1192 
   1193   -version | --version | --versio | --versi | --vers | -V)
   1194     ac_init_version=: ;;
   1195 
   1196   -with-* | --with-*)
   1197     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1198     # Reject names that are not valid shell variable names.
   1199     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1200       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1201     ac_useropt_orig=$ac_useropt
   1202     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1203     case $ac_user_opts in
   1204       *"
   1205 "with_$ac_useropt"
   1206 "*) ;;
   1207       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1208 	 ac_unrecognized_sep=', ';;
   1209     esac
   1210     eval with_$ac_useropt=\$ac_optarg ;;
   1211 
   1212   -without-* | --without-*)
   1213     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1214     # Reject names that are not valid shell variable names.
   1215     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1216       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1217     ac_useropt_orig=$ac_useropt
   1218     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1219     case $ac_user_opts in
   1220       *"
   1221 "with_$ac_useropt"
   1222 "*) ;;
   1223       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1224 	 ac_unrecognized_sep=', ';;
   1225     esac
   1226     eval with_$ac_useropt=no ;;
   1227 
   1228   --x)
   1229     # Obsolete; use --with-x.
   1230     with_x=yes ;;
   1231 
   1232   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1233   | --x-incl | --x-inc | --x-in | --x-i)
   1234     ac_prev=x_includes ;;
   1235   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1236   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1237     x_includes=$ac_optarg ;;
   1238 
   1239   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1240   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1241     ac_prev=x_libraries ;;
   1242   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1243   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1244     x_libraries=$ac_optarg ;;
   1245 
   1246   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1247 Try \`$0 --help' for more information"
   1248     ;;
   1249 
   1250   *=*)
   1251     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1252     # Reject names that are not valid shell variable names.
   1253     case $ac_envvar in #(
   1254       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1255       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1256     esac
   1257     eval $ac_envvar=\$ac_optarg
   1258     export $ac_envvar ;;
   1259 
   1260   *)
   1261     # FIXME: should be removed in autoconf 3.0.
   1262     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1263     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1264       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1265     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1266     ;;
   1267 
   1268   esac
   1269 done
   1270 
   1271 if test -n "$ac_prev"; then
   1272   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1273   as_fn_error $? "missing argument to $ac_option"
   1274 fi
   1275 
   1276 if test -n "$ac_unrecognized_opts"; then
   1277   case $enable_option_checking in
   1278     no) ;;
   1279     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1280     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1281   esac
   1282 fi
   1283 
   1284 # Check all directory arguments for consistency.
   1285 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1286 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1287 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1288 		libdir localedir mandir runstatedir
   1289 do
   1290   eval ac_val=\$$ac_var
   1291   # Remove trailing slashes.
   1292   case $ac_val in
   1293     */ )
   1294       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1295       eval $ac_var=\$ac_val;;
   1296   esac
   1297   # Be sure to have absolute directory names.
   1298   case $ac_val in
   1299     [\\/$]* | ?:[\\/]* )  continue;;
   1300     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1301   esac
   1302   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1303 done
   1304 
   1305 # There might be people who depend on the old broken behavior: `$host'
   1306 # used to hold the argument of --host etc.
   1307 # FIXME: To remove some day.
   1308 build=$build_alias
   1309 host=$host_alias
   1310 target=$target_alias
   1311 
   1312 # FIXME: To remove some day.
   1313 if test "x$host_alias" != x; then
   1314   if test "x$build_alias" = x; then
   1315     cross_compiling=maybe
   1316   elif test "x$build_alias" != "x$host_alias"; then
   1317     cross_compiling=yes
   1318   fi
   1319 fi
   1320 
   1321 ac_tool_prefix=
   1322 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1323 
   1324 test "$silent" = yes && exec 6>/dev/null
   1325 
   1326 
   1327 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1328 ac_ls_di=`ls -di .` &&
   1329 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1330   as_fn_error $? "working directory cannot be determined"
   1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1332   as_fn_error $? "pwd does not report name of working directory"
   1333 
   1334 
   1335 # Find the source files, if location was not specified.
   1336 if test -z "$srcdir"; then
   1337   ac_srcdir_defaulted=yes
   1338   # Try the directory containing this script, then the parent directory.
   1339   ac_confdir=`$as_dirname -- "$as_myself" ||
   1340 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1341 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1342 	 X"$as_myself" : 'X\(//\)$' \| \
   1343 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1344 printf "%s\n" X"$as_myself" |
   1345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\/\)[^/].*/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  /^X\(\/\/\)$/{
   1354 	    s//\1/
   1355 	    q
   1356 	  }
   1357 	  /^X\(\/\).*/{
   1358 	    s//\1/
   1359 	    q
   1360 	  }
   1361 	  s/.*/./; q'`
   1362   srcdir=$ac_confdir
   1363   if test ! -r "$srcdir/$ac_unique_file"; then
   1364     srcdir=..
   1365   fi
   1366 else
   1367   ac_srcdir_defaulted=no
   1368 fi
   1369 if test ! -r "$srcdir/$ac_unique_file"; then
   1370   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1371   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1372 fi
   1373 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1374 ac_abs_confdir=`(
   1375 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1376 	pwd)`
   1377 # When building in place, set srcdir=.
   1378 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1379   srcdir=.
   1380 fi
   1381 # Remove unnecessary trailing slashes from srcdir.
   1382 # Double slashes in file names in object file debugging info
   1383 # mess up M-x gdb in Emacs.
   1384 case $srcdir in
   1385 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1386 esac
   1387 for ac_var in $ac_precious_vars; do
   1388   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1389   eval ac_env_${ac_var}_value=\$${ac_var}
   1390   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1391   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1392 done
   1393 
   1394 #
   1395 # Report the --help message.
   1396 #
   1397 if test "$ac_init_help" = "long"; then
   1398   # Omit some internal or obsolete options to make the list less imposing.
   1399   # This message is too long to be a string in the A/UX 3.1 sh.
   1400   cat <<_ACEOF
   1401 \`configure' configures libXv 1.0.12 to adapt to many kinds of systems.
   1402 
   1403 Usage: $0 [OPTION]... [VAR=VALUE]...
   1404 
   1405 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1406 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1407 
   1408 Defaults for the options are specified in brackets.
   1409 
   1410 Configuration:
   1411   -h, --help              display this help and exit
   1412       --help=short        display options specific to this package
   1413       --help=recursive    display the short help of all the included packages
   1414   -V, --version           display version information and exit
   1415   -q, --quiet, --silent   do not print \`checking ...' messages
   1416       --cache-file=FILE   cache test results in FILE [disabled]
   1417   -C, --config-cache      alias for \`--cache-file=config.cache'
   1418   -n, --no-create         do not create output files
   1419       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1420 
   1421 Installation directories:
   1422   --prefix=PREFIX         install architecture-independent files in PREFIX
   1423                           [$ac_default_prefix]
   1424   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1425                           [PREFIX]
   1426 
   1427 By default, \`make install' will install all the files in
   1428 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1429 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1430 for instance \`--prefix=\$HOME'.
   1431 
   1432 For better control, use the options below.
   1433 
   1434 Fine tuning of the installation directories:
   1435   --bindir=DIR            user executables [EPREFIX/bin]
   1436   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1437   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1438   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1439   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1440   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1441   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1442   --libdir=DIR            object code libraries [EPREFIX/lib]
   1443   --includedir=DIR        C header files [PREFIX/include]
   1444   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1445   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1446   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1447   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1448   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1449   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1450   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXv]
   1451   --htmldir=DIR           html documentation [DOCDIR]
   1452   --dvidir=DIR            dvi documentation [DOCDIR]
   1453   --pdfdir=DIR            pdf documentation [DOCDIR]
   1454   --psdir=DIR             ps documentation [DOCDIR]
   1455 _ACEOF
   1456 
   1457   cat <<\_ACEOF
   1458 
   1459 Program names:
   1460   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1461   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1462   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1463 
   1464 System types:
   1465   --build=BUILD     configure for building on BUILD [guessed]
   1466   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1467 _ACEOF
   1468 fi
   1469 
   1470 if test -n "$ac_init_help"; then
   1471   case $ac_init_help in
   1472      short | recursive ) echo "Configuration of libXv 1.0.12:";;
   1473    esac
   1474   cat <<\_ACEOF
   1475 
   1476 Optional Features:
   1477   --disable-option-checking  ignore unrecognized --enable/--with options
   1478   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1479   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1480   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1481   --disable-silent-rules  verbose build output (undo: "make V=0")
   1482   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1483   --enable-static[=PKGS]  build static libraries [default=yes]
   1484   --enable-fast-install[=PKGS]
   1485                           optimize for fast installation [default=yes]
   1486   --enable-dependency-tracking
   1487                           do not reject slow dependency extractors
   1488   --disable-dependency-tracking
   1489                           speeds up one-time build
   1490   --disable-libtool-lock  avoid locking (might break parallel builds)
   1491   --disable-selective-werror
   1492                           Turn off selective compiler errors. (default:
   1493                           enabled)
   1494   --enable-strict-compilation
   1495                           Enable all warnings from compiler and make them
   1496                           errors (default: disabled)
   1497   --enable-malloc0returnsnull
   1498                           malloc(0) returns NULL (default: auto)
   1499   --enable-lint-library   Create lint library (default: disabled)
   1500 
   1501 Optional Packages:
   1502   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1503   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1504   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1505                           both]
   1506   --with-aix-soname=aix|svr4|both
   1507                           shared library versioning (aka "SONAME") variant to
   1508                           provide on AIX, [default=aix].
   1509   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1510   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1511                           compiler's sysroot if not specified).
   1512   --with-lint             Use a lint-style source code checker (default:
   1513                           disabled)
   1514 
   1515 Some influential environment variables:
   1516   CC          C compiler command
   1517   CFLAGS      C compiler flags
   1518   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1519               nonstandard directory <lib dir>
   1520   LIBS        libraries to pass to the linker, e.g. -l<library>
   1521   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1522               you have headers in a nonstandard directory <include dir>
   1523   LT_SYS_LIBRARY_PATH
   1524               User-defined run-time library search path.
   1525   PKG_CONFIG  path to pkg-config utility
   1526   PKG_CONFIG_PATH
   1527               directories to add to pkg-config's search path
   1528   PKG_CONFIG_LIBDIR
   1529               path overriding pkg-config's built-in search path
   1530   XV_CFLAGS   C compiler flags for XV, overriding pkg-config
   1531   XV_LIBS     linker flags for XV, overriding pkg-config
   1532   LINT        Path to a lint-style command
   1533   LINT_FLAGS  Flags for the lint-style command
   1534 
   1535 Use these variables to override the choices made by `configure' or to help
   1536 it to find libraries and programs with nonstandard names/locations.
   1537 
   1538 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues>.
   1539 _ACEOF
   1540 ac_status=$?
   1541 fi
   1542 
   1543 if test "$ac_init_help" = "recursive"; then
   1544   # If there are subdirs, report their specific --help.
   1545   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1546     test -d "$ac_dir" ||
   1547       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1548       continue
   1549     ac_builddir=.
   1550 
   1551 case "$ac_dir" in
   1552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1553 *)
   1554   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1555   # A ".." for each directory in $ac_dir_suffix.
   1556   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1557   case $ac_top_builddir_sub in
   1558   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1559   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1560   esac ;;
   1561 esac
   1562 ac_abs_top_builddir=$ac_pwd
   1563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1564 # for backward compatibility:
   1565 ac_top_builddir=$ac_top_build_prefix
   1566 
   1567 case $srcdir in
   1568   .)  # We are building in place.
   1569     ac_srcdir=.
   1570     ac_top_srcdir=$ac_top_builddir_sub
   1571     ac_abs_top_srcdir=$ac_pwd ;;
   1572   [\\/]* | ?:[\\/]* )  # Absolute name.
   1573     ac_srcdir=$srcdir$ac_dir_suffix;
   1574     ac_top_srcdir=$srcdir
   1575     ac_abs_top_srcdir=$srcdir ;;
   1576   *) # Relative name.
   1577     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1578     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1579     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1580 esac
   1581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1582 
   1583     cd "$ac_dir" || { ac_status=$?; continue; }
   1584     # Check for configure.gnu first; this name is used for a wrapper for
   1585     # Metaconfig's "Configure" on case-insensitive file systems.
   1586     if test -f "$ac_srcdir/configure.gnu"; then
   1587       echo &&
   1588       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1589     elif test -f "$ac_srcdir/configure"; then
   1590       echo &&
   1591       $SHELL "$ac_srcdir/configure" --help=recursive
   1592     else
   1593       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1594     fi || ac_status=$?
   1595     cd "$ac_pwd" || { ac_status=$?; break; }
   1596   done
   1597 fi
   1598 
   1599 test -n "$ac_init_help" && exit $ac_status
   1600 if $ac_init_version; then
   1601   cat <<\_ACEOF
   1602 libXv configure 1.0.12
   1603 generated by GNU Autoconf 2.71
   1604 
   1605 Copyright (C) 2021 Free Software Foundation, Inc.
   1606 This configure script is free software; the Free Software Foundation
   1607 gives unlimited permission to copy, distribute and modify it.
   1608 _ACEOF
   1609   exit
   1610 fi
   1611 
   1612 ## ------------------------ ##
   1613 ## Autoconf initialization. ##
   1614 ## ------------------------ ##
   1615 
   1616 # ac_fn_c_try_compile LINENO
   1617 # --------------------------
   1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1619 ac_fn_c_try_compile ()
   1620 {
   1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1622   rm -f conftest.$ac_objext conftest.beam
   1623   if { { ac_try="$ac_compile"
   1624 case "(($ac_try" in
   1625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1626   *) ac_try_echo=$ac_try;;
   1627 esac
   1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1629 printf "%s\n" "$ac_try_echo"; } >&5
   1630   (eval "$ac_compile") 2>conftest.err
   1631   ac_status=$?
   1632   if test -s conftest.err; then
   1633     grep -v '^ *+' conftest.err >conftest.er1
   1634     cat conftest.er1 >&5
   1635     mv -f conftest.er1 conftest.err
   1636   fi
   1637   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1638   test $ac_status = 0; } && {
   1639 	 test -z "$ac_c_werror_flag" ||
   1640 	 test ! -s conftest.err
   1641        } && test -s conftest.$ac_objext
   1642 then :
   1643   ac_retval=0
   1644 else $as_nop
   1645   printf "%s\n" "$as_me: failed program was:" >&5
   1646 sed 's/^/| /' conftest.$ac_ext >&5
   1647 
   1648 	ac_retval=1
   1649 fi
   1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1651   as_fn_set_status $ac_retval
   1652 
   1653 } # ac_fn_c_try_compile
   1654 
   1655 # ac_fn_c_try_link LINENO
   1656 # -----------------------
   1657 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1658 ac_fn_c_try_link ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1662   if { { ac_try="$ac_link"
   1663 case "(($ac_try" in
   1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1665   *) ac_try_echo=$ac_try;;
   1666 esac
   1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1668 printf "%s\n" "$ac_try_echo"; } >&5
   1669   (eval "$ac_link") 2>conftest.err
   1670   ac_status=$?
   1671   if test -s conftest.err; then
   1672     grep -v '^ *+' conftest.err >conftest.er1
   1673     cat conftest.er1 >&5
   1674     mv -f conftest.er1 conftest.err
   1675   fi
   1676   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1677   test $ac_status = 0; } && {
   1678 	 test -z "$ac_c_werror_flag" ||
   1679 	 test ! -s conftest.err
   1680        } && test -s conftest$ac_exeext && {
   1681 	 test "$cross_compiling" = yes ||
   1682 	 test -x conftest$ac_exeext
   1683        }
   1684 then :
   1685   ac_retval=0
   1686 else $as_nop
   1687   printf "%s\n" "$as_me: failed program was:" >&5
   1688 sed 's/^/| /' conftest.$ac_ext >&5
   1689 
   1690 	ac_retval=1
   1691 fi
   1692   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1693   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1694   # interfere with the next link command; also delete a directory that is
   1695   # left behind by Apple's compiler.  We do this before executing the actions.
   1696   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1698   as_fn_set_status $ac_retval
   1699 
   1700 } # ac_fn_c_try_link
   1701 
   1702 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1703 # -------------------------------------------------------
   1704 # Tests whether HEADER exists and can be compiled using the include files in
   1705 # INCLUDES, setting the cache variable VAR accordingly.
   1706 ac_fn_c_check_header_compile ()
   1707 {
   1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1710 printf %s "checking for $2... " >&6; }
   1711 if eval test \${$3+y}
   1712 then :
   1713   printf %s "(cached) " >&6
   1714 else $as_nop
   1715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1716 /* end confdefs.h.  */
   1717 $4
   1718 #include <$2>
   1719 _ACEOF
   1720 if ac_fn_c_try_compile "$LINENO"
   1721 then :
   1722   eval "$3=yes"
   1723 else $as_nop
   1724   eval "$3=no"
   1725 fi
   1726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1727 fi
   1728 eval ac_res=\$$3
   1729 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1730 printf "%s\n" "$ac_res" >&6; }
   1731   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1732 
   1733 } # ac_fn_c_check_header_compile
   1734 
   1735 # ac_fn_c_check_func LINENO FUNC VAR
   1736 # ----------------------------------
   1737 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1738 ac_fn_c_check_func ()
   1739 {
   1740   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1742 printf %s "checking for $2... " >&6; }
   1743 if eval test \${$3+y}
   1744 then :
   1745   printf %s "(cached) " >&6
   1746 else $as_nop
   1747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1748 /* end confdefs.h.  */
   1749 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1751 #define $2 innocuous_$2
   1752 
   1753 /* System header to define __stub macros and hopefully few prototypes,
   1754    which can conflict with char $2 (); below.  */
   1755 
   1756 #include <limits.h>
   1757 #undef $2
   1758 
   1759 /* Override any GCC internal prototype to avoid an error.
   1760    Use char because int might match the return type of a GCC
   1761    builtin and then its argument prototype would still apply.  */
   1762 #ifdef __cplusplus
   1763 extern "C"
   1764 #endif
   1765 char $2 ();
   1766 /* The GNU C library defines this for functions which it implements
   1767     to always fail with ENOSYS.  Some functions are actually named
   1768     something starting with __ and the normal name is an alias.  */
   1769 #if defined __stub_$2 || defined __stub___$2
   1770 choke me
   1771 #endif
   1772 
   1773 int
   1774 main (void)
   1775 {
   1776 return $2 ();
   1777   ;
   1778   return 0;
   1779 }
   1780 _ACEOF
   1781 if ac_fn_c_try_link "$LINENO"
   1782 then :
   1783   eval "$3=yes"
   1784 else $as_nop
   1785   eval "$3=no"
   1786 fi
   1787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1788     conftest$ac_exeext conftest.$ac_ext
   1789 fi
   1790 eval ac_res=\$$3
   1791 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1792 printf "%s\n" "$ac_res" >&6; }
   1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1794 
   1795 } # ac_fn_c_check_func
   1796 
   1797 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1798 # ------------------------------------------------------------------
   1799 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1800 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1801 ac_fn_check_decl ()
   1802 {
   1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1804   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1806 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1807 if eval test \${$3+y}
   1808 then :
   1809   printf %s "(cached) " >&6
   1810 else $as_nop
   1811   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1812   eval ac_save_FLAGS=\$$6
   1813   as_fn_append $6 " $5"
   1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1815 /* end confdefs.h.  */
   1816 $4
   1817 int
   1818 main (void)
   1819 {
   1820 #ifndef $as_decl_name
   1821 #ifdef __cplusplus
   1822   (void) $as_decl_use;
   1823 #else
   1824   (void) $as_decl_name;
   1825 #endif
   1826 #endif
   1827 
   1828   ;
   1829   return 0;
   1830 }
   1831 _ACEOF
   1832 if ac_fn_c_try_compile "$LINENO"
   1833 then :
   1834   eval "$3=yes"
   1835 else $as_nop
   1836   eval "$3=no"
   1837 fi
   1838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1839   eval $6=\$ac_save_FLAGS
   1840 
   1841 fi
   1842 eval ac_res=\$$3
   1843 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1844 printf "%s\n" "$ac_res" >&6; }
   1845   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1846 
   1847 } # ac_fn_check_decl
   1848 
   1849 # ac_fn_c_try_run LINENO
   1850 # ----------------------
   1851 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1852 # executables *can* be run.
   1853 ac_fn_c_try_run ()
   1854 {
   1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1856   if { { ac_try="$ac_link"
   1857 case "(($ac_try" in
   1858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1859   *) ac_try_echo=$ac_try;;
   1860 esac
   1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1862 printf "%s\n" "$ac_try_echo"; } >&5
   1863   (eval "$ac_link") 2>&5
   1864   ac_status=$?
   1865   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1866   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1867   { { case "(($ac_try" in
   1868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1869   *) ac_try_echo=$ac_try;;
   1870 esac
   1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1872 printf "%s\n" "$ac_try_echo"; } >&5
   1873   (eval "$ac_try") 2>&5
   1874   ac_status=$?
   1875   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1876   test $ac_status = 0; }; }
   1877 then :
   1878   ac_retval=0
   1879 else $as_nop
   1880   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1881        printf "%s\n" "$as_me: failed program was:" >&5
   1882 sed 's/^/| /' conftest.$ac_ext >&5
   1883 
   1884        ac_retval=$ac_status
   1885 fi
   1886   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1887   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1888   as_fn_set_status $ac_retval
   1889 
   1890 } # ac_fn_c_try_run
   1891 ac_configure_args_raw=
   1892 for ac_arg
   1893 do
   1894   case $ac_arg in
   1895   *\'*)
   1896     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1897   esac
   1898   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1899 done
   1900 
   1901 case $ac_configure_args_raw in
   1902   *$as_nl*)
   1903     ac_safe_unquote= ;;
   1904   *)
   1905     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1906     ac_unsafe_a="$ac_unsafe_z#~"
   1907     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1908     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1909 esac
   1910 
   1911 cat >config.log <<_ACEOF
   1912 This file contains any messages produced by compilers while
   1913 running configure, to aid debugging if configure makes a mistake.
   1914 
   1915 It was created by libXv $as_me 1.0.12, which was
   1916 generated by GNU Autoconf 2.71.  Invocation command line was
   1917 
   1918   $ $0$ac_configure_args_raw
   1919 
   1920 _ACEOF
   1921 exec 5>>config.log
   1922 {
   1923 cat <<_ASUNAME
   1924 ## --------- ##
   1925 ## Platform. ##
   1926 ## --------- ##
   1927 
   1928 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1929 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1930 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1931 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1932 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1933 
   1934 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1935 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1936 
   1937 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1938 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1939 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1940 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1941 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1942 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1943 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1944 
   1945 _ASUNAME
   1946 
   1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1948 for as_dir in $PATH
   1949 do
   1950   IFS=$as_save_IFS
   1951   case $as_dir in #(((
   1952     '') as_dir=./ ;;
   1953     */) ;;
   1954     *) as_dir=$as_dir/ ;;
   1955   esac
   1956     printf "%s\n" "PATH: $as_dir"
   1957   done
   1958 IFS=$as_save_IFS
   1959 
   1960 } >&5
   1961 
   1962 cat >&5 <<_ACEOF
   1963 
   1964 
   1965 ## ----------- ##
   1966 ## Core tests. ##
   1967 ## ----------- ##
   1968 
   1969 _ACEOF
   1970 
   1971 
   1972 # Keep a trace of the command line.
   1973 # Strip out --no-create and --no-recursion so they do not pile up.
   1974 # Strip out --silent because we don't want to record it for future runs.
   1975 # Also quote any args containing shell meta-characters.
   1976 # Make two passes to allow for proper duplicate-argument suppression.
   1977 ac_configure_args=
   1978 ac_configure_args0=
   1979 ac_configure_args1=
   1980 ac_must_keep_next=false
   1981 for ac_pass in 1 2
   1982 do
   1983   for ac_arg
   1984   do
   1985     case $ac_arg in
   1986     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1987     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1988     | -silent | --silent | --silen | --sile | --sil)
   1989       continue ;;
   1990     *\'*)
   1991       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1992     esac
   1993     case $ac_pass in
   1994     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1995     2)
   1996       as_fn_append ac_configure_args1 " '$ac_arg'"
   1997       if test $ac_must_keep_next = true; then
   1998 	ac_must_keep_next=false # Got value, back to normal.
   1999       else
   2000 	case $ac_arg in
   2001 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2002 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2003 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2004 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2005 	    case "$ac_configure_args0 " in
   2006 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2007 	    esac
   2008 	    ;;
   2009 	  -* ) ac_must_keep_next=true ;;
   2010 	esac
   2011       fi
   2012       as_fn_append ac_configure_args " '$ac_arg'"
   2013       ;;
   2014     esac
   2015   done
   2016 done
   2017 { ac_configure_args0=; unset ac_configure_args0;}
   2018 { ac_configure_args1=; unset ac_configure_args1;}
   2019 
   2020 # When interrupted or exit'd, cleanup temporary files, and complete
   2021 # config.log.  We remove comments because anyway the quotes in there
   2022 # would cause problems or look ugly.
   2023 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2024 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2025 trap 'exit_status=$?
   2026   # Sanitize IFS.
   2027   IFS=" ""	$as_nl"
   2028   # Save into config.log some information that might help in debugging.
   2029   {
   2030     echo
   2031 
   2032     printf "%s\n" "## ---------------- ##
   2033 ## Cache variables. ##
   2034 ## ---------------- ##"
   2035     echo
   2036     # The following way of writing the cache mishandles newlines in values,
   2037 (
   2038   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2039     eval ac_val=\$$ac_var
   2040     case $ac_val in #(
   2041     *${as_nl}*)
   2042       case $ac_var in #(
   2043       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2044 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2045       esac
   2046       case $ac_var in #(
   2047       _ | IFS | as_nl) ;; #(
   2048       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2049       *) { eval $ac_var=; unset $ac_var;} ;;
   2050       esac ;;
   2051     esac
   2052   done
   2053   (set) 2>&1 |
   2054     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2055     *${as_nl}ac_space=\ *)
   2056       sed -n \
   2057 	"s/'\''/'\''\\\\'\'''\''/g;
   2058 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2059       ;; #(
   2060     *)
   2061       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2062       ;;
   2063     esac |
   2064     sort
   2065 )
   2066     echo
   2067 
   2068     printf "%s\n" "## ----------------- ##
   2069 ## Output variables. ##
   2070 ## ----------------- ##"
   2071     echo
   2072     for ac_var in $ac_subst_vars
   2073     do
   2074       eval ac_val=\$$ac_var
   2075       case $ac_val in
   2076       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2077       esac
   2078       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2079     done | sort
   2080     echo
   2081 
   2082     if test -n "$ac_subst_files"; then
   2083       printf "%s\n" "## ------------------- ##
   2084 ## File substitutions. ##
   2085 ## ------------------- ##"
   2086       echo
   2087       for ac_var in $ac_subst_files
   2088       do
   2089 	eval ac_val=\$$ac_var
   2090 	case $ac_val in
   2091 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2092 	esac
   2093 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2094       done | sort
   2095       echo
   2096     fi
   2097 
   2098     if test -s confdefs.h; then
   2099       printf "%s\n" "## ----------- ##
   2100 ## confdefs.h. ##
   2101 ## ----------- ##"
   2102       echo
   2103       cat confdefs.h
   2104       echo
   2105     fi
   2106     test "$ac_signal" != 0 &&
   2107       printf "%s\n" "$as_me: caught signal $ac_signal"
   2108     printf "%s\n" "$as_me: exit $exit_status"
   2109   } >&5
   2110   rm -f core *.core core.conftest.* &&
   2111     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2112     exit $exit_status
   2113 ' 0
   2114 for ac_signal in 1 2 13 15; do
   2115   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2116 done
   2117 ac_signal=0
   2118 
   2119 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2120 rm -f -r conftest* confdefs.h
   2121 
   2122 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2123 
   2124 # Predefined preprocessor variables.
   2125 
   2126 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2127 
   2128 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2129 
   2130 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2131 
   2132 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2133 
   2134 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2135 
   2136 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2137 
   2138 
   2139 # Let the site file select an alternate cache file if it wants to.
   2140 # Prefer an explicitly selected file to automatically selected ones.
   2141 if test -n "$CONFIG_SITE"; then
   2142   ac_site_files="$CONFIG_SITE"
   2143 elif test "x$prefix" != xNONE; then
   2144   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2145 else
   2146   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2147 fi
   2148 
   2149 for ac_site_file in $ac_site_files
   2150 do
   2151   case $ac_site_file in #(
   2152   */*) :
   2153      ;; #(
   2154   *) :
   2155     ac_site_file=./$ac_site_file ;;
   2156 esac
   2157   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2158     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2159 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2160     sed 's/^/| /' "$ac_site_file" >&5
   2161     . "$ac_site_file" \
   2162       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2163 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2164 as_fn_error $? "failed to load site script $ac_site_file
   2165 See \`config.log' for more details" "$LINENO" 5; }
   2166   fi
   2167 done
   2168 
   2169 if test -r "$cache_file"; then
   2170   # Some versions of bash will fail to source /dev/null (special files
   2171   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2172   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2173     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2174 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2175     case $cache_file in
   2176       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2177       *)                      . "./$cache_file";;
   2178     esac
   2179   fi
   2180 else
   2181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2182 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2183   >$cache_file
   2184 fi
   2185 
   2186 # Test code for whether the C compiler supports C89 (global declarations)
   2187 ac_c_conftest_c89_globals='
   2188 /* Does the compiler advertise C89 conformance?
   2189    Do not test the value of __STDC__, because some compilers set it to 0
   2190    while being otherwise adequately conformant. */
   2191 #if !defined __STDC__
   2192 # error "Compiler does not advertise C89 conformance"
   2193 #endif
   2194 
   2195 #include <stddef.h>
   2196 #include <stdarg.h>
   2197 struct stat;
   2198 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2199 struct buf { int x; };
   2200 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2201 static char *e (p, i)
   2202      char **p;
   2203      int i;
   2204 {
   2205   return p[i];
   2206 }
   2207 static char *f (char * (*g) (char **, int), char **p, ...)
   2208 {
   2209   char *s;
   2210   va_list v;
   2211   va_start (v,p);
   2212   s = g (p, va_arg (v,int));
   2213   va_end (v);
   2214   return s;
   2215 }
   2216 
   2217 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2218    function prototypes and stuff, but not \xHH hex character constants.
   2219    These do not provoke an error unfortunately, instead are silently treated
   2220    as an "x".  The following induces an error, until -std is added to get
   2221    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2222    array size at least.  It is necessary to write \x00 == 0 to get something
   2223    that is true only with -std.  */
   2224 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2225 
   2226 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2227    inside strings and character constants.  */
   2228 #define FOO(x) '\''x'\''
   2229 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2230 
   2231 int test (int i, double x);
   2232 struct s1 {int (*f) (int a);};
   2233 struct s2 {int (*f) (double a);};
   2234 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2235                int, int);'
   2236 
   2237 # Test code for whether the C compiler supports C89 (body of main).
   2238 ac_c_conftest_c89_main='
   2239 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2240 '
   2241 
   2242 # Test code for whether the C compiler supports C99 (global declarations)
   2243 ac_c_conftest_c99_globals='
   2244 // Does the compiler advertise C99 conformance?
   2245 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2246 # error "Compiler does not advertise C99 conformance"
   2247 #endif
   2248 
   2249 #include <stdbool.h>
   2250 extern int puts (const char *);
   2251 extern int printf (const char *, ...);
   2252 extern int dprintf (int, const char *, ...);
   2253 extern void *malloc (size_t);
   2254 
   2255 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2256 // dprintf is used instead of fprintf to avoid needing to declare
   2257 // FILE and stderr.
   2258 #define debug(...) dprintf (2, __VA_ARGS__)
   2259 #define showlist(...) puts (#__VA_ARGS__)
   2260 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2261 static void
   2262 test_varargs_macros (void)
   2263 {
   2264   int x = 1234;
   2265   int y = 5678;
   2266   debug ("Flag");
   2267   debug ("X = %d\n", x);
   2268   showlist (The first, second, and third items.);
   2269   report (x>y, "x is %d but y is %d", x, y);
   2270 }
   2271 
   2272 // Check long long types.
   2273 #define BIG64 18446744073709551615ull
   2274 #define BIG32 4294967295ul
   2275 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2276 #if !BIG_OK
   2277   #error "your preprocessor is broken"
   2278 #endif
   2279 #if BIG_OK
   2280 #else
   2281   #error "your preprocessor is broken"
   2282 #endif
   2283 static long long int bignum = -9223372036854775807LL;
   2284 static unsigned long long int ubignum = BIG64;
   2285 
   2286 struct incomplete_array
   2287 {
   2288   int datasize;
   2289   double data[];
   2290 };
   2291 
   2292 struct named_init {
   2293   int number;
   2294   const wchar_t *name;
   2295   double average;
   2296 };
   2297 
   2298 typedef const char *ccp;
   2299 
   2300 static inline int
   2301 test_restrict (ccp restrict text)
   2302 {
   2303   // See if C++-style comments work.
   2304   // Iterate through items via the restricted pointer.
   2305   // Also check for declarations in for loops.
   2306   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2307     continue;
   2308   return 0;
   2309 }
   2310 
   2311 // Check varargs and va_copy.
   2312 static bool
   2313 test_varargs (const char *format, ...)
   2314 {
   2315   va_list args;
   2316   va_start (args, format);
   2317   va_list args_copy;
   2318   va_copy (args_copy, args);
   2319 
   2320   const char *str = "";
   2321   int number = 0;
   2322   float fnumber = 0;
   2323 
   2324   while (*format)
   2325     {
   2326       switch (*format++)
   2327 	{
   2328 	case '\''s'\'': // string
   2329 	  str = va_arg (args_copy, const char *);
   2330 	  break;
   2331 	case '\''d'\'': // int
   2332 	  number = va_arg (args_copy, int);
   2333 	  break;
   2334 	case '\''f'\'': // float
   2335 	  fnumber = va_arg (args_copy, double);
   2336 	  break;
   2337 	default:
   2338 	  break;
   2339 	}
   2340     }
   2341   va_end (args_copy);
   2342   va_end (args);
   2343 
   2344   return *str && number && fnumber;
   2345 }
   2346 '
   2347 
   2348 # Test code for whether the C compiler supports C99 (body of main).
   2349 ac_c_conftest_c99_main='
   2350   // Check bool.
   2351   _Bool success = false;
   2352   success |= (argc != 0);
   2353 
   2354   // Check restrict.
   2355   if (test_restrict ("String literal") == 0)
   2356     success = true;
   2357   char *restrict newvar = "Another string";
   2358 
   2359   // Check varargs.
   2360   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2361   test_varargs_macros ();
   2362 
   2363   // Check flexible array members.
   2364   struct incomplete_array *ia =
   2365     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2366   ia->datasize = 10;
   2367   for (int i = 0; i < ia->datasize; ++i)
   2368     ia->data[i] = i * 1.234;
   2369 
   2370   // Check named initializers.
   2371   struct named_init ni = {
   2372     .number = 34,
   2373     .name = L"Test wide string",
   2374     .average = 543.34343,
   2375   };
   2376 
   2377   ni.number = 58;
   2378 
   2379   int dynamic_array[ni.number];
   2380   dynamic_array[0] = argv[0][0];
   2381   dynamic_array[ni.number - 1] = 543;
   2382 
   2383   // work around unused variable warnings
   2384   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2385 	 || dynamic_array[ni.number - 1] != 543);
   2386 '
   2387 
   2388 # Test code for whether the C compiler supports C11 (global declarations)
   2389 ac_c_conftest_c11_globals='
   2390 // Does the compiler advertise C11 conformance?
   2391 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2392 # error "Compiler does not advertise C11 conformance"
   2393 #endif
   2394 
   2395 // Check _Alignas.
   2396 char _Alignas (double) aligned_as_double;
   2397 char _Alignas (0) no_special_alignment;
   2398 extern char aligned_as_int;
   2399 char _Alignas (0) _Alignas (int) aligned_as_int;
   2400 
   2401 // Check _Alignof.
   2402 enum
   2403 {
   2404   int_alignment = _Alignof (int),
   2405   int_array_alignment = _Alignof (int[100]),
   2406   char_alignment = _Alignof (char)
   2407 };
   2408 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2409 
   2410 // Check _Noreturn.
   2411 int _Noreturn does_not_return (void) { for (;;) continue; }
   2412 
   2413 // Check _Static_assert.
   2414 struct test_static_assert
   2415 {
   2416   int x;
   2417   _Static_assert (sizeof (int) <= sizeof (long int),
   2418                   "_Static_assert does not work in struct");
   2419   long int y;
   2420 };
   2421 
   2422 // Check UTF-8 literals.
   2423 #define u8 syntax error!
   2424 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2425 
   2426 // Check duplicate typedefs.
   2427 typedef long *long_ptr;
   2428 typedef long int *long_ptr;
   2429 typedef long_ptr long_ptr;
   2430 
   2431 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2432 struct anonymous
   2433 {
   2434   union {
   2435     struct { int i; int j; };
   2436     struct { int k; long int l; } w;
   2437   };
   2438   int m;
   2439 } v1;
   2440 '
   2441 
   2442 # Test code for whether the C compiler supports C11 (body of main).
   2443 ac_c_conftest_c11_main='
   2444   _Static_assert ((offsetof (struct anonymous, i)
   2445 		   == offsetof (struct anonymous, w.k)),
   2446 		  "Anonymous union alignment botch");
   2447   v1.i = 2;
   2448   v1.w.k = 5;
   2449   ok |= v1.i != 5;
   2450 '
   2451 
   2452 # Test code for whether the C compiler supports C11 (complete).
   2453 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2454 ${ac_c_conftest_c99_globals}
   2455 ${ac_c_conftest_c11_globals}
   2456 
   2457 int
   2458 main (int argc, char **argv)
   2459 {
   2460   int ok = 0;
   2461   ${ac_c_conftest_c89_main}
   2462   ${ac_c_conftest_c99_main}
   2463   ${ac_c_conftest_c11_main}
   2464   return ok;
   2465 }
   2466 "
   2467 
   2468 # Test code for whether the C compiler supports C99 (complete).
   2469 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2470 ${ac_c_conftest_c99_globals}
   2471 
   2472 int
   2473 main (int argc, char **argv)
   2474 {
   2475   int ok = 0;
   2476   ${ac_c_conftest_c89_main}
   2477   ${ac_c_conftest_c99_main}
   2478   return ok;
   2479 }
   2480 "
   2481 
   2482 # Test code for whether the C compiler supports C89 (complete).
   2483 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2484 
   2485 int
   2486 main (int argc, char **argv)
   2487 {
   2488   int ok = 0;
   2489   ${ac_c_conftest_c89_main}
   2490   return ok;
   2491 }
   2492 "
   2493 
   2494 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2495 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2496 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2497 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2498 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2499 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2500 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2501 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2502 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2503 
   2504 # Auxiliary files required by this configure script.
   2505 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2506 
   2507 # Locations in which to look for auxiliary files.
   2508 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2509 
   2510 # Search for a directory containing all of the required auxiliary files,
   2511 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2512 # If we don't find one directory that contains all the files we need,
   2513 # we report the set of missing files from the *first* directory in
   2514 # $ac_aux_dir_candidates and give up.
   2515 ac_missing_aux_files=""
   2516 ac_first_candidate=:
   2517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2519 as_found=false
   2520 for as_dir in $ac_aux_dir_candidates
   2521 do
   2522   IFS=$as_save_IFS
   2523   case $as_dir in #(((
   2524     '') as_dir=./ ;;
   2525     */) ;;
   2526     *) as_dir=$as_dir/ ;;
   2527   esac
   2528   as_found=:
   2529 
   2530   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2531   ac_aux_dir_found=yes
   2532   ac_install_sh=
   2533   for ac_aux in $ac_aux_files
   2534   do
   2535     # As a special case, if "install-sh" is required, that requirement
   2536     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2537     # and $ac_install_sh is set appropriately for whichever one is found.
   2538     if test x"$ac_aux" = x"install-sh"
   2539     then
   2540       if test -f "${as_dir}install-sh"; then
   2541         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2542         ac_install_sh="${as_dir}install-sh -c"
   2543       elif test -f "${as_dir}install.sh"; then
   2544         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2545         ac_install_sh="${as_dir}install.sh -c"
   2546       elif test -f "${as_dir}shtool"; then
   2547         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2548         ac_install_sh="${as_dir}shtool install -c"
   2549       else
   2550         ac_aux_dir_found=no
   2551         if $ac_first_candidate; then
   2552           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2553         else
   2554           break
   2555         fi
   2556       fi
   2557     else
   2558       if test -f "${as_dir}${ac_aux}"; then
   2559         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2560       else
   2561         ac_aux_dir_found=no
   2562         if $ac_first_candidate; then
   2563           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2564         else
   2565           break
   2566         fi
   2567       fi
   2568     fi
   2569   done
   2570   if test "$ac_aux_dir_found" = yes; then
   2571     ac_aux_dir="$as_dir"
   2572     break
   2573   fi
   2574   ac_first_candidate=false
   2575 
   2576   as_found=false
   2577 done
   2578 IFS=$as_save_IFS
   2579 if $as_found
   2580 then :
   2581 
   2582 else $as_nop
   2583   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2584 fi
   2585 
   2586 
   2587 # These three variables are undocumented and unsupported,
   2588 # and are intended to be withdrawn in a future Autoconf release.
   2589 # They can cause serious problems if a builder's source tree is in a directory
   2590 # whose full name contains unusual characters.
   2591 if test -f "${ac_aux_dir}config.guess"; then
   2592   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2593 fi
   2594 if test -f "${ac_aux_dir}config.sub"; then
   2595   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2596 fi
   2597 if test -f "$ac_aux_dir/configure"; then
   2598   ac_configure="$SHELL ${ac_aux_dir}configure"
   2599 fi
   2600 
   2601 # Check that the precious variables saved in the cache have kept the same
   2602 # value.
   2603 ac_cache_corrupted=false
   2604 for ac_var in $ac_precious_vars; do
   2605   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2606   eval ac_new_set=\$ac_env_${ac_var}_set
   2607   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2608   eval ac_new_val=\$ac_env_${ac_var}_value
   2609   case $ac_old_set,$ac_new_set in
   2610     set,)
   2611       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2612 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2613       ac_cache_corrupted=: ;;
   2614     ,set)
   2615       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2616 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2617       ac_cache_corrupted=: ;;
   2618     ,);;
   2619     *)
   2620       if test "x$ac_old_val" != "x$ac_new_val"; then
   2621 	# differences in whitespace do not lead to failure.
   2622 	ac_old_val_w=`echo x $ac_old_val`
   2623 	ac_new_val_w=`echo x $ac_new_val`
   2624 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2625 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2626 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2627 	  ac_cache_corrupted=:
   2628 	else
   2629 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2630 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2631 	  eval $ac_var=\$ac_old_val
   2632 	fi
   2633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2634 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2635 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2636 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2637       fi;;
   2638   esac
   2639   # Pass precious variables to config.status.
   2640   if test "$ac_new_set" = set; then
   2641     case $ac_new_val in
   2642     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2643     *) ac_arg=$ac_var=$ac_new_val ;;
   2644     esac
   2645     case " $ac_configure_args " in
   2646       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2647       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2648     esac
   2649   fi
   2650 done
   2651 if $ac_cache_corrupted; then
   2652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2653 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2655 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2656   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2657 	    and start over" "$LINENO" 5
   2658 fi
   2659 ## -------------------- ##
   2660 ## Main body of script. ##
   2661 ## -------------------- ##
   2662 
   2663 ac_ext=c
   2664 ac_cpp='$CPP $CPPFLAGS'
   2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2668 
   2669 
   2670 
   2671 ac_config_headers="$ac_config_headers config.h"
   2672 
   2673 
   2674 # Initialize Automake
   2675 am__api_version='1.16'
   2676 
   2677 
   2678 
   2679   # Find a good install program.  We prefer a C program (faster),
   2680 # so one script is as good as another.  But avoid the broken or
   2681 # incompatible versions:
   2682 # SysV /etc/install, /usr/sbin/install
   2683 # SunOS /usr/etc/install
   2684 # IRIX /sbin/install
   2685 # AIX /bin/install
   2686 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2687 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2690 # OS/2's system install, which has a completely different semantic
   2691 # ./install, which can be erroneously created by make from ./install.sh.
   2692 # Reject install programs that cannot install multiple files.
   2693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2694 printf %s "checking for a BSD-compatible install... " >&6; }
   2695 if test -z "$INSTALL"; then
   2696 if test ${ac_cv_path_install+y}
   2697 then :
   2698   printf %s "(cached) " >&6
   2699 else $as_nop
   2700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2701 for as_dir in $PATH
   2702 do
   2703   IFS=$as_save_IFS
   2704   case $as_dir in #(((
   2705     '') as_dir=./ ;;
   2706     */) ;;
   2707     *) as_dir=$as_dir/ ;;
   2708   esac
   2709     # Account for fact that we put trailing slashes in our PATH walk.
   2710 case $as_dir in #((
   2711   ./ | /[cC]/* | \
   2712   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2713   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2714   /usr/ucb/* ) ;;
   2715   *)
   2716     # OSF1 and SCO ODT 3.0 have their own names for install.
   2717     # Don't use installbsd from OSF since it installs stuff as root
   2718     # by default.
   2719     for ac_prog in ginstall scoinst install; do
   2720       for ac_exec_ext in '' $ac_executable_extensions; do
   2721 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2722 	  if test $ac_prog = install &&
   2723 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2724 	    # AIX install.  It has an incompatible calling convention.
   2725 	    :
   2726 	  elif test $ac_prog = install &&
   2727 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2728 	    # program-specific install script used by HP pwplus--don't use.
   2729 	    :
   2730 	  else
   2731 	    rm -rf conftest.one conftest.two conftest.dir
   2732 	    echo one > conftest.one
   2733 	    echo two > conftest.two
   2734 	    mkdir conftest.dir
   2735 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2736 	      test -s conftest.one && test -s conftest.two &&
   2737 	      test -s conftest.dir/conftest.one &&
   2738 	      test -s conftest.dir/conftest.two
   2739 	    then
   2740 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2741 	      break 3
   2742 	    fi
   2743 	  fi
   2744 	fi
   2745       done
   2746     done
   2747     ;;
   2748 esac
   2749 
   2750   done
   2751 IFS=$as_save_IFS
   2752 
   2753 rm -rf conftest.one conftest.two conftest.dir
   2754 
   2755 fi
   2756   if test ${ac_cv_path_install+y}; then
   2757     INSTALL=$ac_cv_path_install
   2758   else
   2759     # As a last resort, use the slow shell script.  Don't cache a
   2760     # value for INSTALL within a source directory, because that will
   2761     # break other packages using the cache if that directory is
   2762     # removed, or if the value is a relative name.
   2763     INSTALL=$ac_install_sh
   2764   fi
   2765 fi
   2766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2767 printf "%s\n" "$INSTALL" >&6; }
   2768 
   2769 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2770 # It thinks the first close brace ends the variable substitution.
   2771 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2772 
   2773 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2774 
   2775 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2776 
   2777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2778 printf %s "checking whether build environment is sane... " >&6; }
   2779 # Reject unsafe characters in $srcdir or the absolute working directory
   2780 # name.  Accept space and tab only in the latter.
   2781 am_lf='
   2782 '
   2783 case `pwd` in
   2784   *[\\\"\#\$\&\'\`$am_lf]*)
   2785     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2786 esac
   2787 case $srcdir in
   2788   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2789     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2790 esac
   2791 
   2792 # Do 'set' in a subshell so we don't clobber the current shell's
   2793 # arguments.  Must try -L first in case configure is actually a
   2794 # symlink; some systems play weird games with the mod time of symlinks
   2795 # (eg FreeBSD returns the mod time of the symlink's containing
   2796 # directory).
   2797 if (
   2798    am_has_slept=no
   2799    for am_try in 1 2; do
   2800      echo "timestamp, slept: $am_has_slept" > conftest.file
   2801      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2802      if test "$*" = "X"; then
   2803 	# -L didn't work.
   2804 	set X `ls -t "$srcdir/configure" conftest.file`
   2805      fi
   2806      if test "$*" != "X $srcdir/configure conftest.file" \
   2807 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2808 
   2809 	# If neither matched, then we have a broken ls.  This can happen
   2810 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2811 	# broken ls alias from the environment.  This has actually
   2812 	# happened.  Such a system could not be considered "sane".
   2813 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2814   alias in your environment" "$LINENO" 5
   2815      fi
   2816      if test "$2" = conftest.file || test $am_try -eq 2; then
   2817        break
   2818      fi
   2819      # Just in case.
   2820      sleep 1
   2821      am_has_slept=yes
   2822    done
   2823    test "$2" = conftest.file
   2824    )
   2825 then
   2826    # Ok.
   2827    :
   2828 else
   2829    as_fn_error $? "newly created file is older than distributed files!
   2830 Check your system clock" "$LINENO" 5
   2831 fi
   2832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2833 printf "%s\n" "yes" >&6; }
   2834 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2835 # generated files are strictly newer.
   2836 am_sleep_pid=
   2837 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2838   ( sleep 1 ) &
   2839   am_sleep_pid=$!
   2840 fi
   2841 
   2842 rm -f conftest.file
   2843 
   2844 test "$program_prefix" != NONE &&
   2845   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2846 # Use a double $ so make ignores it.
   2847 test "$program_suffix" != NONE &&
   2848   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2849 # Double any \ or $.
   2850 # By default was `s,x,x', remove it if useless.
   2851 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2852 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2853 
   2854 
   2855 # Expand $ac_aux_dir to an absolute path.
   2856 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2857 
   2858 
   2859   if test x"${MISSING+set}" != xset; then
   2860   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2861 fi
   2862 # Use eval to expand $SHELL
   2863 if eval "$MISSING --is-lightweight"; then
   2864   am_missing_run="$MISSING "
   2865 else
   2866   am_missing_run=
   2867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2868 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2869 fi
   2870 
   2871 if test x"${install_sh+set}" != xset; then
   2872   case $am_aux_dir in
   2873   *\ * | *\	*)
   2874     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2875   *)
   2876     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2877   esac
   2878 fi
   2879 
   2880 # Installed binaries are usually stripped using 'strip' when the user
   2881 # run "make install-strip".  However 'strip' might not be the right
   2882 # tool to use in cross-compilation environments, therefore Automake
   2883 # will honor the 'STRIP' environment variable to overrule this program.
   2884 if test "$cross_compiling" != no; then
   2885   if test -n "$ac_tool_prefix"; then
   2886   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2887 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2889 printf %s "checking for $ac_word... " >&6; }
   2890 if test ${ac_cv_prog_STRIP+y}
   2891 then :
   2892   printf %s "(cached) " >&6
   2893 else $as_nop
   2894   if test -n "$STRIP"; then
   2895   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2896 else
   2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2898 for as_dir in $PATH
   2899 do
   2900   IFS=$as_save_IFS
   2901   case $as_dir in #(((
   2902     '') as_dir=./ ;;
   2903     */) ;;
   2904     *) as_dir=$as_dir/ ;;
   2905   esac
   2906     for ac_exec_ext in '' $ac_executable_extensions; do
   2907   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2908     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2909     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2910     break 2
   2911   fi
   2912 done
   2913   done
   2914 IFS=$as_save_IFS
   2915 
   2916 fi
   2917 fi
   2918 STRIP=$ac_cv_prog_STRIP
   2919 if test -n "$STRIP"; then
   2920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2921 printf "%s\n" "$STRIP" >&6; }
   2922 else
   2923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2924 printf "%s\n" "no" >&6; }
   2925 fi
   2926 
   2927 
   2928 fi
   2929 if test -z "$ac_cv_prog_STRIP"; then
   2930   ac_ct_STRIP=$STRIP
   2931   # Extract the first word of "strip", so it can be a program name with args.
   2932 set dummy strip; ac_word=$2
   2933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2934 printf %s "checking for $ac_word... " >&6; }
   2935 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2936 then :
   2937   printf %s "(cached) " >&6
   2938 else $as_nop
   2939   if test -n "$ac_ct_STRIP"; then
   2940   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2941 else
   2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2943 for as_dir in $PATH
   2944 do
   2945   IFS=$as_save_IFS
   2946   case $as_dir in #(((
   2947     '') as_dir=./ ;;
   2948     */) ;;
   2949     *) as_dir=$as_dir/ ;;
   2950   esac
   2951     for ac_exec_ext in '' $ac_executable_extensions; do
   2952   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2953     ac_cv_prog_ac_ct_STRIP="strip"
   2954     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2955     break 2
   2956   fi
   2957 done
   2958   done
   2959 IFS=$as_save_IFS
   2960 
   2961 fi
   2962 fi
   2963 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2964 if test -n "$ac_ct_STRIP"; then
   2965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2966 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2967 else
   2968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2969 printf "%s\n" "no" >&6; }
   2970 fi
   2971 
   2972   if test "x$ac_ct_STRIP" = x; then
   2973     STRIP=":"
   2974   else
   2975     case $cross_compiling:$ac_tool_warned in
   2976 yes:)
   2977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2978 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2979 ac_tool_warned=yes ;;
   2980 esac
   2981     STRIP=$ac_ct_STRIP
   2982   fi
   2983 else
   2984   STRIP="$ac_cv_prog_STRIP"
   2985 fi
   2986 
   2987 fi
   2988 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2989 
   2990 
   2991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2992 printf %s "checking for a race-free mkdir -p... " >&6; }
   2993 if test -z "$MKDIR_P"; then
   2994   if test ${ac_cv_path_mkdir+y}
   2995 then :
   2996   printf %s "(cached) " >&6
   2997 else $as_nop
   2998   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2999 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3000 do
   3001   IFS=$as_save_IFS
   3002   case $as_dir in #(((
   3003     '') as_dir=./ ;;
   3004     */) ;;
   3005     *) as_dir=$as_dir/ ;;
   3006   esac
   3007     for ac_prog in mkdir gmkdir; do
   3008 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3009 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3010 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3011 	     'mkdir ('*'coreutils) '* | \
   3012 	     'BusyBox '* | \
   3013 	     'mkdir (fileutils) '4.1*)
   3014 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3015 	       break 3;;
   3016 	   esac
   3017 	 done
   3018        done
   3019   done
   3020 IFS=$as_save_IFS
   3021 
   3022 fi
   3023 
   3024   test -d ./--version && rmdir ./--version
   3025   if test ${ac_cv_path_mkdir+y}; then
   3026     MKDIR_P="$ac_cv_path_mkdir -p"
   3027   else
   3028     # As a last resort, use the slow shell script.  Don't cache a
   3029     # value for MKDIR_P within a source directory, because that will
   3030     # break other packages using the cache if that directory is
   3031     # removed, or if the value is a relative name.
   3032     MKDIR_P="$ac_install_sh -d"
   3033   fi
   3034 fi
   3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3036 printf "%s\n" "$MKDIR_P" >&6; }
   3037 
   3038 for ac_prog in gawk mawk nawk awk
   3039 do
   3040   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3041 set dummy $ac_prog; ac_word=$2
   3042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3043 printf %s "checking for $ac_word... " >&6; }
   3044 if test ${ac_cv_prog_AWK+y}
   3045 then :
   3046   printf %s "(cached) " >&6
   3047 else $as_nop
   3048   if test -n "$AWK"; then
   3049   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3050 else
   3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3052 for as_dir in $PATH
   3053 do
   3054   IFS=$as_save_IFS
   3055   case $as_dir in #(((
   3056     '') as_dir=./ ;;
   3057     */) ;;
   3058     *) as_dir=$as_dir/ ;;
   3059   esac
   3060     for ac_exec_ext in '' $ac_executable_extensions; do
   3061   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3062     ac_cv_prog_AWK="$ac_prog"
   3063     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3064     break 2
   3065   fi
   3066 done
   3067   done
   3068 IFS=$as_save_IFS
   3069 
   3070 fi
   3071 fi
   3072 AWK=$ac_cv_prog_AWK
   3073 if test -n "$AWK"; then
   3074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3075 printf "%s\n" "$AWK" >&6; }
   3076 else
   3077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3078 printf "%s\n" "no" >&6; }
   3079 fi
   3080 
   3081 
   3082   test -n "$AWK" && break
   3083 done
   3084 
   3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3086 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3087 set x ${MAKE-make}
   3088 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3089 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3090 then :
   3091   printf %s "(cached) " >&6
   3092 else $as_nop
   3093   cat >conftest.make <<\_ACEOF
   3094 SHELL = /bin/sh
   3095 all:
   3096 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3097 _ACEOF
   3098 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3099 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3100   *@@@%%%=?*=@@@%%%*)
   3101     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3102   *)
   3103     eval ac_cv_prog_make_${ac_make}_set=no;;
   3104 esac
   3105 rm -f conftest.make
   3106 fi
   3107 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3109 printf "%s\n" "yes" >&6; }
   3110   SET_MAKE=
   3111 else
   3112   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3113 printf "%s\n" "no" >&6; }
   3114   SET_MAKE="MAKE=${MAKE-make}"
   3115 fi
   3116 
   3117 rm -rf .tst 2>/dev/null
   3118 mkdir .tst 2>/dev/null
   3119 if test -d .tst; then
   3120   am__leading_dot=.
   3121 else
   3122   am__leading_dot=_
   3123 fi
   3124 rmdir .tst 2>/dev/null
   3125 
   3126 # Check whether --enable-silent-rules was given.
   3127 if test ${enable_silent_rules+y}
   3128 then :
   3129   enableval=$enable_silent_rules;
   3130 fi
   3131 
   3132 case $enable_silent_rules in # (((
   3133   yes) AM_DEFAULT_VERBOSITY=0;;
   3134    no) AM_DEFAULT_VERBOSITY=1;;
   3135     *) AM_DEFAULT_VERBOSITY=1;;
   3136 esac
   3137 am_make=${MAKE-make}
   3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3139 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3140 if test ${am_cv_make_support_nested_variables+y}
   3141 then :
   3142   printf %s "(cached) " >&6
   3143 else $as_nop
   3144   if printf "%s\n" 'TRUE=$(BAR$(V))
   3145 BAR0=false
   3146 BAR1=true
   3147 V=1
   3148 am__doit:
   3149 	@$(TRUE)
   3150 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3151   am_cv_make_support_nested_variables=yes
   3152 else
   3153   am_cv_make_support_nested_variables=no
   3154 fi
   3155 fi
   3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3157 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3158 if test $am_cv_make_support_nested_variables = yes; then
   3159     AM_V='$(V)'
   3160   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3161 else
   3162   AM_V=$AM_DEFAULT_VERBOSITY
   3163   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3164 fi
   3165 AM_BACKSLASH='\'
   3166 
   3167 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3168   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3169   # is not polluted with repeated "-I."
   3170   am__isrc=' -I$(srcdir)'
   3171   # test to see if srcdir already configured
   3172   if test -f $srcdir/config.status; then
   3173     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3174   fi
   3175 fi
   3176 
   3177 # test whether we have cygpath
   3178 if test -z "$CYGPATH_W"; then
   3179   if (cygpath --version) >/dev/null 2>/dev/null; then
   3180     CYGPATH_W='cygpath -w'
   3181   else
   3182     CYGPATH_W=echo
   3183   fi
   3184 fi
   3185 
   3186 
   3187 # Define the identity of the package.
   3188  PACKAGE='libXv'
   3189  VERSION='1.0.12'
   3190 
   3191 
   3192 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3193 
   3194 
   3195 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3196 
   3197 # Some tools Automake needs.
   3198 
   3199 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3200 
   3201 
   3202 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3203 
   3204 
   3205 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3206 
   3207 
   3208 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3209 
   3210 
   3211 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3212 
   3213 # For better backward compatibility.  To be removed once Automake 1.9.x
   3214 # dies out for good.  For more background, see:
   3215 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3216 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3217 mkdir_p='$(MKDIR_P)'
   3218 
   3219 # We need awk for the "check" target (and possibly the TAP driver).  The
   3220 # system "awk" is bad on some platforms.
   3221 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3222 # in the wild :-(  We should find a proper way to deprecate it ...
   3223 AMTAR='$${TAR-tar}'
   3224 
   3225 
   3226 # We'll loop over all known methods to create a tar archive until one works.
   3227 _am_tools='gnutar  pax cpio none'
   3228 
   3229 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3230 
   3231 
   3232 
   3233 
   3234 
   3235 # Variables for tags utilities; see am/tags.am
   3236 if test -z "$CTAGS"; then
   3237   CTAGS=ctags
   3238 fi
   3239 
   3240 if test -z "$ETAGS"; then
   3241   ETAGS=etags
   3242 fi
   3243 
   3244 if test -z "$CSCOPE"; then
   3245   CSCOPE=cscope
   3246 fi
   3247 
   3248 
   3249 
   3250 # POSIX will say in a future version that running "rm -f" with no argument
   3251 # is OK; and we want to be able to make that assumption in our Makefile
   3252 # recipes.  So use an aggressive probe to check that the usage we want is
   3253 # actually supported "in the wild" to an acceptable degree.
   3254 # See automake bug#10828.
   3255 # To make any issue more visible, cause the running configure to be aborted
   3256 # by default if the 'rm' program in use doesn't match our expectations; the
   3257 # user can still override this though.
   3258 if rm -f && rm -fr && rm -rf; then : OK; else
   3259   cat >&2 <<'END'
   3260 Oops!
   3261 
   3262 Your 'rm' program seems unable to run without file operands specified
   3263 on the command line, even when the '-f' option is present.  This is contrary
   3264 to the behaviour of most rm programs out there, and not conforming with
   3265 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3266 
   3267 Please tell bug-automake@gnu.org about your system, including the value
   3268 of your $PATH and any error possibly output before this message.  This
   3269 can help us improve future automake versions.
   3270 
   3271 END
   3272   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3273     echo 'Configuration will proceed anyway, since you have set the' >&2
   3274     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3275     echo >&2
   3276   else
   3277     cat >&2 <<'END'
   3278 Aborting the configuration process, to ensure you take notice of the issue.
   3279 
   3280 You can download and install GNU coreutils to get an 'rm' implementation
   3281 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3282 
   3283 If you want to complete the configuration process using your problematic
   3284 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3285 to "yes", and re-run configure.
   3286 
   3287 END
   3288     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3289   fi
   3290 fi
   3291 
   3292 
   3293 # Initialize libtool
   3294 case `pwd` in
   3295   *\ * | *\	*)
   3296     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3297 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3298 esac
   3299 
   3300 
   3301 
   3302 macro_version='2.4.7'
   3303 macro_revision='2.4.7'
   3304 
   3305 
   3306 
   3307 
   3308 
   3309 
   3310 
   3311 
   3312 
   3313 
   3314 
   3315 
   3316 
   3317 
   3318 ltmain=$ac_aux_dir/ltmain.sh
   3319 
   3320 
   3321 
   3322   # Make sure we can run config.sub.
   3323 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3324   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3325 
   3326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3327 printf %s "checking build system type... " >&6; }
   3328 if test ${ac_cv_build+y}
   3329 then :
   3330   printf %s "(cached) " >&6
   3331 else $as_nop
   3332   ac_build_alias=$build_alias
   3333 test "x$ac_build_alias" = x &&
   3334   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3335 test "x$ac_build_alias" = x &&
   3336   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3337 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3338   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3339 
   3340 fi
   3341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3342 printf "%s\n" "$ac_cv_build" >&6; }
   3343 case $ac_cv_build in
   3344 *-*-*) ;;
   3345 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3346 esac
   3347 build=$ac_cv_build
   3348 ac_save_IFS=$IFS; IFS='-'
   3349 set x $ac_cv_build
   3350 shift
   3351 build_cpu=$1
   3352 build_vendor=$2
   3353 shift; shift
   3354 # Remember, the first character of IFS is used to create $*,
   3355 # except with old shells:
   3356 build_os=$*
   3357 IFS=$ac_save_IFS
   3358 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3359 
   3360 
   3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3362 printf %s "checking host system type... " >&6; }
   3363 if test ${ac_cv_host+y}
   3364 then :
   3365   printf %s "(cached) " >&6
   3366 else $as_nop
   3367   if test "x$host_alias" = x; then
   3368   ac_cv_host=$ac_cv_build
   3369 else
   3370   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3371     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3372 fi
   3373 
   3374 fi
   3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3376 printf "%s\n" "$ac_cv_host" >&6; }
   3377 case $ac_cv_host in
   3378 *-*-*) ;;
   3379 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3380 esac
   3381 host=$ac_cv_host
   3382 ac_save_IFS=$IFS; IFS='-'
   3383 set x $ac_cv_host
   3384 shift
   3385 host_cpu=$1
   3386 host_vendor=$2
   3387 shift; shift
   3388 # Remember, the first character of IFS is used to create $*,
   3389 # except with old shells:
   3390 host_os=$*
   3391 IFS=$ac_save_IFS
   3392 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3393 
   3394 
   3395 # Backslashify metacharacters that are still active within
   3396 # double-quoted strings.
   3397 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3398 
   3399 # Same as above, but do not quote variable references.
   3400 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3401 
   3402 # Sed substitution to delay expansion of an escaped shell variable in a
   3403 # double_quote_subst'ed string.
   3404 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3405 
   3406 # Sed substitution to delay expansion of an escaped single quote.
   3407 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3408 
   3409 # Sed substitution to avoid accidental globbing in evaled expressions
   3410 no_glob_subst='s/\*/\\\*/g'
   3411 
   3412 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3413 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3414 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3415 
   3416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3417 printf %s "checking how to print strings... " >&6; }
   3418 # Test print first, because it will be a builtin if present.
   3419 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3420    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3421   ECHO='print -r --'
   3422 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3423   ECHO='printf %s\n'
   3424 else
   3425   # Use this function as a fallback that always works.
   3426   func_fallback_echo ()
   3427   {
   3428     eval 'cat <<_LTECHO_EOF
   3429 $1
   3430 _LTECHO_EOF'
   3431   }
   3432   ECHO='func_fallback_echo'
   3433 fi
   3434 
   3435 # func_echo_all arg...
   3436 # Invoke $ECHO with all args, space-separated.
   3437 func_echo_all ()
   3438 {
   3439     $ECHO ""
   3440 }
   3441 
   3442 case $ECHO in
   3443   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3444 printf "%s\n" "printf" >&6; } ;;
   3445   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3446 printf "%s\n" "print -r" >&6; } ;;
   3447   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3448 printf "%s\n" "cat" >&6; } ;;
   3449 esac
   3450 
   3451 
   3452 
   3453 
   3454 
   3455 
   3456 
   3457 
   3458 
   3459 
   3460 
   3461 
   3462 
   3463 
   3464 
   3465 
   3466 
   3467 
   3468 
   3469 
   3470 
   3471 
   3472 
   3473 DEPDIR="${am__leading_dot}deps"
   3474 
   3475 ac_config_commands="$ac_config_commands depfiles"
   3476 
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3478 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3479 cat > confinc.mk << 'END'
   3480 am__doit:
   3481 	@echo this is the am__doit target >confinc.out
   3482 .PHONY: am__doit
   3483 END
   3484 am__include="#"
   3485 am__quote=
   3486 # BSD make does it like this.
   3487 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3488 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3489 echo 'include confinc.mk # ignored' > confmf.GNU
   3490 _am_result=no
   3491 for s in GNU BSD; do
   3492   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3493    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3494    ac_status=$?
   3495    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3496    (exit $ac_status); }
   3497   case $?:`cat confinc.out 2>/dev/null` in #(
   3498   '0:this is the am__doit target') :
   3499     case $s in #(
   3500   BSD) :
   3501     am__include='.include' am__quote='"' ;; #(
   3502   *) :
   3503     am__include='include' am__quote='' ;;
   3504 esac ;; #(
   3505   *) :
   3506      ;;
   3507 esac
   3508   if test "$am__include" != "#"; then
   3509     _am_result="yes ($s style)"
   3510     break
   3511   fi
   3512 done
   3513 rm -f confinc.* confmf.*
   3514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3515 printf "%s\n" "${_am_result}" >&6; }
   3516 
   3517 # Check whether --enable-dependency-tracking was given.
   3518 if test ${enable_dependency_tracking+y}
   3519 then :
   3520   enableval=$enable_dependency_tracking;
   3521 fi
   3522 
   3523 if test "x$enable_dependency_tracking" != xno; then
   3524   am_depcomp="$ac_aux_dir/depcomp"
   3525   AMDEPBACKSLASH='\'
   3526   am__nodep='_no'
   3527 fi
   3528  if test "x$enable_dependency_tracking" != xno; then
   3529   AMDEP_TRUE=
   3530   AMDEP_FALSE='#'
   3531 else
   3532   AMDEP_TRUE='#'
   3533   AMDEP_FALSE=
   3534 fi
   3535 
   3536 
   3537 ac_ext=c
   3538 ac_cpp='$CPP $CPPFLAGS'
   3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3542 if test -n "$ac_tool_prefix"; then
   3543   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3544 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3546 printf %s "checking for $ac_word... " >&6; }
   3547 if test ${ac_cv_prog_CC+y}
   3548 then :
   3549   printf %s "(cached) " >&6
   3550 else $as_nop
   3551   if test -n "$CC"; then
   3552   ac_cv_prog_CC="$CC" # Let the user override the test.
   3553 else
   3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3555 for as_dir in $PATH
   3556 do
   3557   IFS=$as_save_IFS
   3558   case $as_dir in #(((
   3559     '') as_dir=./ ;;
   3560     */) ;;
   3561     *) as_dir=$as_dir/ ;;
   3562   esac
   3563     for ac_exec_ext in '' $ac_executable_extensions; do
   3564   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3565     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3566     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3567     break 2
   3568   fi
   3569 done
   3570   done
   3571 IFS=$as_save_IFS
   3572 
   3573 fi
   3574 fi
   3575 CC=$ac_cv_prog_CC
   3576 if test -n "$CC"; then
   3577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3578 printf "%s\n" "$CC" >&6; }
   3579 else
   3580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3581 printf "%s\n" "no" >&6; }
   3582 fi
   3583 
   3584 
   3585 fi
   3586 if test -z "$ac_cv_prog_CC"; then
   3587   ac_ct_CC=$CC
   3588   # Extract the first word of "gcc", so it can be a program name with args.
   3589 set dummy gcc; ac_word=$2
   3590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3591 printf %s "checking for $ac_word... " >&6; }
   3592 if test ${ac_cv_prog_ac_ct_CC+y}
   3593 then :
   3594   printf %s "(cached) " >&6
   3595 else $as_nop
   3596   if test -n "$ac_ct_CC"; then
   3597   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3598 else
   3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3600 for as_dir in $PATH
   3601 do
   3602   IFS=$as_save_IFS
   3603   case $as_dir in #(((
   3604     '') as_dir=./ ;;
   3605     */) ;;
   3606     *) as_dir=$as_dir/ ;;
   3607   esac
   3608     for ac_exec_ext in '' $ac_executable_extensions; do
   3609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3610     ac_cv_prog_ac_ct_CC="gcc"
   3611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3612     break 2
   3613   fi
   3614 done
   3615   done
   3616 IFS=$as_save_IFS
   3617 
   3618 fi
   3619 fi
   3620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3621 if test -n "$ac_ct_CC"; then
   3622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3623 printf "%s\n" "$ac_ct_CC" >&6; }
   3624 else
   3625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3626 printf "%s\n" "no" >&6; }
   3627 fi
   3628 
   3629   if test "x$ac_ct_CC" = x; then
   3630     CC=""
   3631   else
   3632     case $cross_compiling:$ac_tool_warned in
   3633 yes:)
   3634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3635 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3636 ac_tool_warned=yes ;;
   3637 esac
   3638     CC=$ac_ct_CC
   3639   fi
   3640 else
   3641   CC="$ac_cv_prog_CC"
   3642 fi
   3643 
   3644 if test -z "$CC"; then
   3645           if test -n "$ac_tool_prefix"; then
   3646     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3647 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3649 printf %s "checking for $ac_word... " >&6; }
   3650 if test ${ac_cv_prog_CC+y}
   3651 then :
   3652   printf %s "(cached) " >&6
   3653 else $as_nop
   3654   if test -n "$CC"; then
   3655   ac_cv_prog_CC="$CC" # Let the user override the test.
   3656 else
   3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3658 for as_dir in $PATH
   3659 do
   3660   IFS=$as_save_IFS
   3661   case $as_dir in #(((
   3662     '') as_dir=./ ;;
   3663     */) ;;
   3664     *) as_dir=$as_dir/ ;;
   3665   esac
   3666     for ac_exec_ext in '' $ac_executable_extensions; do
   3667   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3668     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3669     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3670     break 2
   3671   fi
   3672 done
   3673   done
   3674 IFS=$as_save_IFS
   3675 
   3676 fi
   3677 fi
   3678 CC=$ac_cv_prog_CC
   3679 if test -n "$CC"; then
   3680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3681 printf "%s\n" "$CC" >&6; }
   3682 else
   3683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3684 printf "%s\n" "no" >&6; }
   3685 fi
   3686 
   3687 
   3688   fi
   3689 fi
   3690 if test -z "$CC"; then
   3691   # Extract the first word of "cc", so it can be a program name with args.
   3692 set dummy cc; ac_word=$2
   3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3694 printf %s "checking for $ac_word... " >&6; }
   3695 if test ${ac_cv_prog_CC+y}
   3696 then :
   3697   printf %s "(cached) " >&6
   3698 else $as_nop
   3699   if test -n "$CC"; then
   3700   ac_cv_prog_CC="$CC" # Let the user override the test.
   3701 else
   3702   ac_prog_rejected=no
   3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3704 for as_dir in $PATH
   3705 do
   3706   IFS=$as_save_IFS
   3707   case $as_dir in #(((
   3708     '') as_dir=./ ;;
   3709     */) ;;
   3710     *) as_dir=$as_dir/ ;;
   3711   esac
   3712     for ac_exec_ext in '' $ac_executable_extensions; do
   3713   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3714     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3715        ac_prog_rejected=yes
   3716        continue
   3717      fi
   3718     ac_cv_prog_CC="cc"
   3719     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3720     break 2
   3721   fi
   3722 done
   3723   done
   3724 IFS=$as_save_IFS
   3725 
   3726 if test $ac_prog_rejected = yes; then
   3727   # We found a bogon in the path, so make sure we never use it.
   3728   set dummy $ac_cv_prog_CC
   3729   shift
   3730   if test $# != 0; then
   3731     # We chose a different compiler from the bogus one.
   3732     # However, it has the same basename, so the bogon will be chosen
   3733     # first if we set CC to just the basename; use the full file name.
   3734     shift
   3735     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3736   fi
   3737 fi
   3738 fi
   3739 fi
   3740 CC=$ac_cv_prog_CC
   3741 if test -n "$CC"; then
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3743 printf "%s\n" "$CC" >&6; }
   3744 else
   3745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3746 printf "%s\n" "no" >&6; }
   3747 fi
   3748 
   3749 
   3750 fi
   3751 if test -z "$CC"; then
   3752   if test -n "$ac_tool_prefix"; then
   3753   for ac_prog in cl.exe
   3754   do
   3755     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3758 printf %s "checking for $ac_word... " >&6; }
   3759 if test ${ac_cv_prog_CC+y}
   3760 then :
   3761   printf %s "(cached) " >&6
   3762 else $as_nop
   3763   if test -n "$CC"; then
   3764   ac_cv_prog_CC="$CC" # Let the user override the test.
   3765 else
   3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3767 for as_dir in $PATH
   3768 do
   3769   IFS=$as_save_IFS
   3770   case $as_dir in #(((
   3771     '') as_dir=./ ;;
   3772     */) ;;
   3773     *) as_dir=$as_dir/ ;;
   3774   esac
   3775     for ac_exec_ext in '' $ac_executable_extensions; do
   3776   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3777     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3778     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3779     break 2
   3780   fi
   3781 done
   3782   done
   3783 IFS=$as_save_IFS
   3784 
   3785 fi
   3786 fi
   3787 CC=$ac_cv_prog_CC
   3788 if test -n "$CC"; then
   3789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3790 printf "%s\n" "$CC" >&6; }
   3791 else
   3792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3793 printf "%s\n" "no" >&6; }
   3794 fi
   3795 
   3796 
   3797     test -n "$CC" && break
   3798   done
   3799 fi
   3800 if test -z "$CC"; then
   3801   ac_ct_CC=$CC
   3802   for ac_prog in cl.exe
   3803 do
   3804   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3805 set dummy $ac_prog; ac_word=$2
   3806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3807 printf %s "checking for $ac_word... " >&6; }
   3808 if test ${ac_cv_prog_ac_ct_CC+y}
   3809 then :
   3810   printf %s "(cached) " >&6
   3811 else $as_nop
   3812   if test -n "$ac_ct_CC"; then
   3813   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3814 else
   3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3816 for as_dir in $PATH
   3817 do
   3818   IFS=$as_save_IFS
   3819   case $as_dir in #(((
   3820     '') as_dir=./ ;;
   3821     */) ;;
   3822     *) as_dir=$as_dir/ ;;
   3823   esac
   3824     for ac_exec_ext in '' $ac_executable_extensions; do
   3825   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3826     ac_cv_prog_ac_ct_CC="$ac_prog"
   3827     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3828     break 2
   3829   fi
   3830 done
   3831   done
   3832 IFS=$as_save_IFS
   3833 
   3834 fi
   3835 fi
   3836 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3837 if test -n "$ac_ct_CC"; then
   3838   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3839 printf "%s\n" "$ac_ct_CC" >&6; }
   3840 else
   3841   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3842 printf "%s\n" "no" >&6; }
   3843 fi
   3844 
   3845 
   3846   test -n "$ac_ct_CC" && break
   3847 done
   3848 
   3849   if test "x$ac_ct_CC" = x; then
   3850     CC=""
   3851   else
   3852     case $cross_compiling:$ac_tool_warned in
   3853 yes:)
   3854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3855 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3856 ac_tool_warned=yes ;;
   3857 esac
   3858     CC=$ac_ct_CC
   3859   fi
   3860 fi
   3861 
   3862 fi
   3863 if test -z "$CC"; then
   3864   if test -n "$ac_tool_prefix"; then
   3865   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3866 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3868 printf %s "checking for $ac_word... " >&6; }
   3869 if test ${ac_cv_prog_CC+y}
   3870 then :
   3871   printf %s "(cached) " >&6
   3872 else $as_nop
   3873   if test -n "$CC"; then
   3874   ac_cv_prog_CC="$CC" # Let the user override the test.
   3875 else
   3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3877 for as_dir in $PATH
   3878 do
   3879   IFS=$as_save_IFS
   3880   case $as_dir in #(((
   3881     '') as_dir=./ ;;
   3882     */) ;;
   3883     *) as_dir=$as_dir/ ;;
   3884   esac
   3885     for ac_exec_ext in '' $ac_executable_extensions; do
   3886   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3887     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3889     break 2
   3890   fi
   3891 done
   3892   done
   3893 IFS=$as_save_IFS
   3894 
   3895 fi
   3896 fi
   3897 CC=$ac_cv_prog_CC
   3898 if test -n "$CC"; then
   3899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3900 printf "%s\n" "$CC" >&6; }
   3901 else
   3902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3903 printf "%s\n" "no" >&6; }
   3904 fi
   3905 
   3906 
   3907 fi
   3908 if test -z "$ac_cv_prog_CC"; then
   3909   ac_ct_CC=$CC
   3910   # Extract the first word of "clang", so it can be a program name with args.
   3911 set dummy clang; ac_word=$2
   3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3913 printf %s "checking for $ac_word... " >&6; }
   3914 if test ${ac_cv_prog_ac_ct_CC+y}
   3915 then :
   3916   printf %s "(cached) " >&6
   3917 else $as_nop
   3918   if test -n "$ac_ct_CC"; then
   3919   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3920 else
   3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3922 for as_dir in $PATH
   3923 do
   3924   IFS=$as_save_IFS
   3925   case $as_dir in #(((
   3926     '') as_dir=./ ;;
   3927     */) ;;
   3928     *) as_dir=$as_dir/ ;;
   3929   esac
   3930     for ac_exec_ext in '' $ac_executable_extensions; do
   3931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3932     ac_cv_prog_ac_ct_CC="clang"
   3933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3934     break 2
   3935   fi
   3936 done
   3937   done
   3938 IFS=$as_save_IFS
   3939 
   3940 fi
   3941 fi
   3942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3943 if test -n "$ac_ct_CC"; then
   3944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3945 printf "%s\n" "$ac_ct_CC" >&6; }
   3946 else
   3947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3948 printf "%s\n" "no" >&6; }
   3949 fi
   3950 
   3951   if test "x$ac_ct_CC" = x; then
   3952     CC=""
   3953   else
   3954     case $cross_compiling:$ac_tool_warned in
   3955 yes:)
   3956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3957 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3958 ac_tool_warned=yes ;;
   3959 esac
   3960     CC=$ac_ct_CC
   3961   fi
   3962 else
   3963   CC="$ac_cv_prog_CC"
   3964 fi
   3965 
   3966 fi
   3967 
   3968 
   3969 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3970 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3971 as_fn_error $? "no acceptable C compiler found in \$PATH
   3972 See \`config.log' for more details" "$LINENO" 5; }
   3973 
   3974 # Provide some information about the compiler.
   3975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3976 set X $ac_compile
   3977 ac_compiler=$2
   3978 for ac_option in --version -v -V -qversion -version; do
   3979   { { ac_try="$ac_compiler $ac_option >&5"
   3980 case "(($ac_try" in
   3981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3982   *) ac_try_echo=$ac_try;;
   3983 esac
   3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3985 printf "%s\n" "$ac_try_echo"; } >&5
   3986   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3987   ac_status=$?
   3988   if test -s conftest.err; then
   3989     sed '10a\
   3990 ... rest of stderr output deleted ...
   3991          10q' conftest.err >conftest.er1
   3992     cat conftest.er1 >&5
   3993   fi
   3994   rm -f conftest.er1 conftest.err
   3995   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3996   test $ac_status = 0; }
   3997 done
   3998 
   3999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4000 /* end confdefs.h.  */
   4001 
   4002 int
   4003 main (void)
   4004 {
   4005 
   4006   ;
   4007   return 0;
   4008 }
   4009 _ACEOF
   4010 ac_clean_files_save=$ac_clean_files
   4011 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4012 # Try to create an executable without -o first, disregard a.out.
   4013 # It will help us diagnose broken compilers, and finding out an intuition
   4014 # of exeext.
   4015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4016 printf %s "checking whether the C compiler works... " >&6; }
   4017 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4018 
   4019 # The possible output files:
   4020 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4021 
   4022 ac_rmfiles=
   4023 for ac_file in $ac_files
   4024 do
   4025   case $ac_file in
   4026     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4027     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4028   esac
   4029 done
   4030 rm -f $ac_rmfiles
   4031 
   4032 if { { ac_try="$ac_link_default"
   4033 case "(($ac_try" in
   4034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4035   *) ac_try_echo=$ac_try;;
   4036 esac
   4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4038 printf "%s\n" "$ac_try_echo"; } >&5
   4039   (eval "$ac_link_default") 2>&5
   4040   ac_status=$?
   4041   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4042   test $ac_status = 0; }
   4043 then :
   4044   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4045 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4046 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4047 # so that the user can short-circuit this test for compilers unknown to
   4048 # Autoconf.
   4049 for ac_file in $ac_files ''
   4050 do
   4051   test -f "$ac_file" || continue
   4052   case $ac_file in
   4053     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4054 	;;
   4055     [ab].out )
   4056 	# We found the default executable, but exeext='' is most
   4057 	# certainly right.
   4058 	break;;
   4059     *.* )
   4060 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4061 	then :; else
   4062 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4063 	fi
   4064 	# We set ac_cv_exeext here because the later test for it is not
   4065 	# safe: cross compilers may not add the suffix if given an `-o'
   4066 	# argument, so we may need to know it at that point already.
   4067 	# Even if this section looks crufty: it has the advantage of
   4068 	# actually working.
   4069 	break;;
   4070     * )
   4071 	break;;
   4072   esac
   4073 done
   4074 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4075 
   4076 else $as_nop
   4077   ac_file=''
   4078 fi
   4079 if test -z "$ac_file"
   4080 then :
   4081   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4082 printf "%s\n" "no" >&6; }
   4083 printf "%s\n" "$as_me: failed program was:" >&5
   4084 sed 's/^/| /' conftest.$ac_ext >&5
   4085 
   4086 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4087 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4088 as_fn_error 77 "C compiler cannot create executables
   4089 See \`config.log' for more details" "$LINENO" 5; }
   4090 else $as_nop
   4091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4092 printf "%s\n" "yes" >&6; }
   4093 fi
   4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4095 printf %s "checking for C compiler default output file name... " >&6; }
   4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4097 printf "%s\n" "$ac_file" >&6; }
   4098 ac_exeext=$ac_cv_exeext
   4099 
   4100 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4101 ac_clean_files=$ac_clean_files_save
   4102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4103 printf %s "checking for suffix of executables... " >&6; }
   4104 if { { ac_try="$ac_link"
   4105 case "(($ac_try" in
   4106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4107   *) ac_try_echo=$ac_try;;
   4108 esac
   4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4110 printf "%s\n" "$ac_try_echo"; } >&5
   4111   (eval "$ac_link") 2>&5
   4112   ac_status=$?
   4113   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4114   test $ac_status = 0; }
   4115 then :
   4116   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4117 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4118 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4119 # `rm'.
   4120 for ac_file in conftest.exe conftest conftest.*; do
   4121   test -f "$ac_file" || continue
   4122   case $ac_file in
   4123     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4124     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4125 	  break;;
   4126     * ) break;;
   4127   esac
   4128 done
   4129 else $as_nop
   4130   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4131 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4132 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4133 See \`config.log' for more details" "$LINENO" 5; }
   4134 fi
   4135 rm -f conftest conftest$ac_cv_exeext
   4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4137 printf "%s\n" "$ac_cv_exeext" >&6; }
   4138 
   4139 rm -f conftest.$ac_ext
   4140 EXEEXT=$ac_cv_exeext
   4141 ac_exeext=$EXEEXT
   4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4143 /* end confdefs.h.  */
   4144 #include <stdio.h>
   4145 int
   4146 main (void)
   4147 {
   4148 FILE *f = fopen ("conftest.out", "w");
   4149  return ferror (f) || fclose (f) != 0;
   4150 
   4151   ;
   4152   return 0;
   4153 }
   4154 _ACEOF
   4155 ac_clean_files="$ac_clean_files conftest.out"
   4156 # Check that the compiler produces executables we can run.  If not, either
   4157 # the compiler is broken, or we cross compile.
   4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4159 printf %s "checking whether we are cross compiling... " >&6; }
   4160 if test "$cross_compiling" != yes; then
   4161   { { ac_try="$ac_link"
   4162 case "(($ac_try" in
   4163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4164   *) ac_try_echo=$ac_try;;
   4165 esac
   4166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4167 printf "%s\n" "$ac_try_echo"; } >&5
   4168   (eval "$ac_link") 2>&5
   4169   ac_status=$?
   4170   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4171   test $ac_status = 0; }
   4172   if { ac_try='./conftest$ac_cv_exeext'
   4173   { { case "(($ac_try" in
   4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4175   *) ac_try_echo=$ac_try;;
   4176 esac
   4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4178 printf "%s\n" "$ac_try_echo"; } >&5
   4179   (eval "$ac_try") 2>&5
   4180   ac_status=$?
   4181   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4182   test $ac_status = 0; }; }; then
   4183     cross_compiling=no
   4184   else
   4185     if test "$cross_compiling" = maybe; then
   4186 	cross_compiling=yes
   4187     else
   4188 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4189 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4190 as_fn_error 77 "cannot run C compiled programs.
   4191 If you meant to cross compile, use \`--host'.
   4192 See \`config.log' for more details" "$LINENO" 5; }
   4193     fi
   4194   fi
   4195 fi
   4196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4197 printf "%s\n" "$cross_compiling" >&6; }
   4198 
   4199 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4200 ac_clean_files=$ac_clean_files_save
   4201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4202 printf %s "checking for suffix of object files... " >&6; }
   4203 if test ${ac_cv_objext+y}
   4204 then :
   4205   printf %s "(cached) " >&6
   4206 else $as_nop
   4207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4208 /* end confdefs.h.  */
   4209 
   4210 int
   4211 main (void)
   4212 {
   4213 
   4214   ;
   4215   return 0;
   4216 }
   4217 _ACEOF
   4218 rm -f conftest.o conftest.obj
   4219 if { { ac_try="$ac_compile"
   4220 case "(($ac_try" in
   4221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4222   *) ac_try_echo=$ac_try;;
   4223 esac
   4224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4225 printf "%s\n" "$ac_try_echo"; } >&5
   4226   (eval "$ac_compile") 2>&5
   4227   ac_status=$?
   4228   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4229   test $ac_status = 0; }
   4230 then :
   4231   for ac_file in conftest.o conftest.obj conftest.*; do
   4232   test -f "$ac_file" || continue;
   4233   case $ac_file in
   4234     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4235     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4236        break;;
   4237   esac
   4238 done
   4239 else $as_nop
   4240   printf "%s\n" "$as_me: failed program was:" >&5
   4241 sed 's/^/| /' conftest.$ac_ext >&5
   4242 
   4243 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4244 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4245 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4246 See \`config.log' for more details" "$LINENO" 5; }
   4247 fi
   4248 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4249 fi
   4250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4251 printf "%s\n" "$ac_cv_objext" >&6; }
   4252 OBJEXT=$ac_cv_objext
   4253 ac_objext=$OBJEXT
   4254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4255 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4256 if test ${ac_cv_c_compiler_gnu+y}
   4257 then :
   4258   printf %s "(cached) " >&6
   4259 else $as_nop
   4260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4261 /* end confdefs.h.  */
   4262 
   4263 int
   4264 main (void)
   4265 {
   4266 #ifndef __GNUC__
   4267        choke me
   4268 #endif
   4269 
   4270   ;
   4271   return 0;
   4272 }
   4273 _ACEOF
   4274 if ac_fn_c_try_compile "$LINENO"
   4275 then :
   4276   ac_compiler_gnu=yes
   4277 else $as_nop
   4278   ac_compiler_gnu=no
   4279 fi
   4280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4281 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4282 
   4283 fi
   4284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4285 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4287 
   4288 if test $ac_compiler_gnu = yes; then
   4289   GCC=yes
   4290 else
   4291   GCC=
   4292 fi
   4293 ac_test_CFLAGS=${CFLAGS+y}
   4294 ac_save_CFLAGS=$CFLAGS
   4295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4296 printf %s "checking whether $CC accepts -g... " >&6; }
   4297 if test ${ac_cv_prog_cc_g+y}
   4298 then :
   4299   printf %s "(cached) " >&6
   4300 else $as_nop
   4301   ac_save_c_werror_flag=$ac_c_werror_flag
   4302    ac_c_werror_flag=yes
   4303    ac_cv_prog_cc_g=no
   4304    CFLAGS="-g"
   4305    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4306 /* end confdefs.h.  */
   4307 
   4308 int
   4309 main (void)
   4310 {
   4311 
   4312   ;
   4313   return 0;
   4314 }
   4315 _ACEOF
   4316 if ac_fn_c_try_compile "$LINENO"
   4317 then :
   4318   ac_cv_prog_cc_g=yes
   4319 else $as_nop
   4320   CFLAGS=""
   4321       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4322 /* end confdefs.h.  */
   4323 
   4324 int
   4325 main (void)
   4326 {
   4327 
   4328   ;
   4329   return 0;
   4330 }
   4331 _ACEOF
   4332 if ac_fn_c_try_compile "$LINENO"
   4333 then :
   4334 
   4335 else $as_nop
   4336   ac_c_werror_flag=$ac_save_c_werror_flag
   4337 	 CFLAGS="-g"
   4338 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4339 /* end confdefs.h.  */
   4340 
   4341 int
   4342 main (void)
   4343 {
   4344 
   4345   ;
   4346   return 0;
   4347 }
   4348 _ACEOF
   4349 if ac_fn_c_try_compile "$LINENO"
   4350 then :
   4351   ac_cv_prog_cc_g=yes
   4352 fi
   4353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4354 fi
   4355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4356 fi
   4357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4358    ac_c_werror_flag=$ac_save_c_werror_flag
   4359 fi
   4360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4361 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4362 if test $ac_test_CFLAGS; then
   4363   CFLAGS=$ac_save_CFLAGS
   4364 elif test $ac_cv_prog_cc_g = yes; then
   4365   if test "$GCC" = yes; then
   4366     CFLAGS="-g -O2"
   4367   else
   4368     CFLAGS="-g"
   4369   fi
   4370 else
   4371   if test "$GCC" = yes; then
   4372     CFLAGS="-O2"
   4373   else
   4374     CFLAGS=
   4375   fi
   4376 fi
   4377 ac_prog_cc_stdc=no
   4378 if test x$ac_prog_cc_stdc = xno
   4379 then :
   4380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4381 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4382 if test ${ac_cv_prog_cc_c11+y}
   4383 then :
   4384   printf %s "(cached) " >&6
   4385 else $as_nop
   4386   ac_cv_prog_cc_c11=no
   4387 ac_save_CC=$CC
   4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4389 /* end confdefs.h.  */
   4390 $ac_c_conftest_c11_program
   4391 _ACEOF
   4392 for ac_arg in '' -std=gnu11
   4393 do
   4394   CC="$ac_save_CC $ac_arg"
   4395   if ac_fn_c_try_compile "$LINENO"
   4396 then :
   4397   ac_cv_prog_cc_c11=$ac_arg
   4398 fi
   4399 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4400   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4401 done
   4402 rm -f conftest.$ac_ext
   4403 CC=$ac_save_CC
   4404 fi
   4405 
   4406 if test "x$ac_cv_prog_cc_c11" = xno
   4407 then :
   4408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4409 printf "%s\n" "unsupported" >&6; }
   4410 else $as_nop
   4411   if test "x$ac_cv_prog_cc_c11" = x
   4412 then :
   4413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4414 printf "%s\n" "none needed" >&6; }
   4415 else $as_nop
   4416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4417 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4418      CC="$CC $ac_cv_prog_cc_c11"
   4419 fi
   4420   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4421   ac_prog_cc_stdc=c11
   4422 fi
   4423 fi
   4424 if test x$ac_prog_cc_stdc = xno
   4425 then :
   4426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4427 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4428 if test ${ac_cv_prog_cc_c99+y}
   4429 then :
   4430   printf %s "(cached) " >&6
   4431 else $as_nop
   4432   ac_cv_prog_cc_c99=no
   4433 ac_save_CC=$CC
   4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4435 /* end confdefs.h.  */
   4436 $ac_c_conftest_c99_program
   4437 _ACEOF
   4438 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4439 do
   4440   CC="$ac_save_CC $ac_arg"
   4441   if ac_fn_c_try_compile "$LINENO"
   4442 then :
   4443   ac_cv_prog_cc_c99=$ac_arg
   4444 fi
   4445 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4446   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4447 done
   4448 rm -f conftest.$ac_ext
   4449 CC=$ac_save_CC
   4450 fi
   4451 
   4452 if test "x$ac_cv_prog_cc_c99" = xno
   4453 then :
   4454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4455 printf "%s\n" "unsupported" >&6; }
   4456 else $as_nop
   4457   if test "x$ac_cv_prog_cc_c99" = x
   4458 then :
   4459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4460 printf "%s\n" "none needed" >&6; }
   4461 else $as_nop
   4462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4463 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4464      CC="$CC $ac_cv_prog_cc_c99"
   4465 fi
   4466   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4467   ac_prog_cc_stdc=c99
   4468 fi
   4469 fi
   4470 if test x$ac_prog_cc_stdc = xno
   4471 then :
   4472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4473 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4474 if test ${ac_cv_prog_cc_c89+y}
   4475 then :
   4476   printf %s "(cached) " >&6
   4477 else $as_nop
   4478   ac_cv_prog_cc_c89=no
   4479 ac_save_CC=$CC
   4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4481 /* end confdefs.h.  */
   4482 $ac_c_conftest_c89_program
   4483 _ACEOF
   4484 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4485 do
   4486   CC="$ac_save_CC $ac_arg"
   4487   if ac_fn_c_try_compile "$LINENO"
   4488 then :
   4489   ac_cv_prog_cc_c89=$ac_arg
   4490 fi
   4491 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4492   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4493 done
   4494 rm -f conftest.$ac_ext
   4495 CC=$ac_save_CC
   4496 fi
   4497 
   4498 if test "x$ac_cv_prog_cc_c89" = xno
   4499 then :
   4500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4501 printf "%s\n" "unsupported" >&6; }
   4502 else $as_nop
   4503   if test "x$ac_cv_prog_cc_c89" = x
   4504 then :
   4505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4506 printf "%s\n" "none needed" >&6; }
   4507 else $as_nop
   4508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4509 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4510      CC="$CC $ac_cv_prog_cc_c89"
   4511 fi
   4512   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4513   ac_prog_cc_stdc=c89
   4514 fi
   4515 fi
   4516 
   4517 ac_ext=c
   4518 ac_cpp='$CPP $CPPFLAGS'
   4519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4522 
   4523 
   4524   ac_ext=c
   4525 ac_cpp='$CPP $CPPFLAGS'
   4526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4530 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4531 if test ${am_cv_prog_cc_c_o+y}
   4532 then :
   4533   printf %s "(cached) " >&6
   4534 else $as_nop
   4535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4536 /* end confdefs.h.  */
   4537 
   4538 int
   4539 main (void)
   4540 {
   4541 
   4542   ;
   4543   return 0;
   4544 }
   4545 _ACEOF
   4546   # Make sure it works both with $CC and with simple cc.
   4547   # Following AC_PROG_CC_C_O, we do the test twice because some
   4548   # compilers refuse to overwrite an existing .o file with -o,
   4549   # though they will create one.
   4550   am_cv_prog_cc_c_o=yes
   4551   for am_i in 1 2; do
   4552     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4553    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4554    ac_status=$?
   4555    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4556    (exit $ac_status); } \
   4557          && test -f conftest2.$ac_objext; then
   4558       : OK
   4559     else
   4560       am_cv_prog_cc_c_o=no
   4561       break
   4562     fi
   4563   done
   4564   rm -f core conftest*
   4565   unset am_i
   4566 fi
   4567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4568 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4569 if test "$am_cv_prog_cc_c_o" != yes; then
   4570    # Losing compiler, so override with the script.
   4571    # FIXME: It is wrong to rewrite CC.
   4572    # But if we don't then we get into trouble of one sort or another.
   4573    # A longer-term fix would be to have automake use am__CC in this case,
   4574    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4575    CC="$am_aux_dir/compile $CC"
   4576 fi
   4577 ac_ext=c
   4578 ac_cpp='$CPP $CPPFLAGS'
   4579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4582 
   4583 
   4584 depcc="$CC"   am_compiler_list=
   4585 
   4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4587 printf %s "checking dependency style of $depcc... " >&6; }
   4588 if test ${am_cv_CC_dependencies_compiler_type+y}
   4589 then :
   4590   printf %s "(cached) " >&6
   4591 else $as_nop
   4592   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4593   # We make a subdir and do the tests there.  Otherwise we can end up
   4594   # making bogus files that we don't know about and never remove.  For
   4595   # instance it was reported that on HP-UX the gcc test will end up
   4596   # making a dummy file named 'D' -- because '-MD' means "put the output
   4597   # in D".
   4598   rm -rf conftest.dir
   4599   mkdir conftest.dir
   4600   # Copy depcomp to subdir because otherwise we won't find it if we're
   4601   # using a relative directory.
   4602   cp "$am_depcomp" conftest.dir
   4603   cd conftest.dir
   4604   # We will build objects and dependencies in a subdirectory because
   4605   # it helps to detect inapplicable dependency modes.  For instance
   4606   # both Tru64's cc and ICC support -MD to output dependencies as a
   4607   # side effect of compilation, but ICC will put the dependencies in
   4608   # the current directory while Tru64 will put them in the object
   4609   # directory.
   4610   mkdir sub
   4611 
   4612   am_cv_CC_dependencies_compiler_type=none
   4613   if test "$am_compiler_list" = ""; then
   4614      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4615   fi
   4616   am__universal=false
   4617   case " $depcc " in #(
   4618      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4619      esac
   4620 
   4621   for depmode in $am_compiler_list; do
   4622     # Setup a source with many dependencies, because some compilers
   4623     # like to wrap large dependency lists on column 80 (with \), and
   4624     # we should not choose a depcomp mode which is confused by this.
   4625     #
   4626     # We need to recreate these files for each test, as the compiler may
   4627     # overwrite some of them when testing with obscure command lines.
   4628     # This happens at least with the AIX C compiler.
   4629     : > sub/conftest.c
   4630     for i in 1 2 3 4 5 6; do
   4631       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4632       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4633       # Solaris 10 /bin/sh.
   4634       echo '/* dummy */' > sub/conftst$i.h
   4635     done
   4636     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4637 
   4638     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4639     # mode.  It turns out that the SunPro C++ compiler does not properly
   4640     # handle '-M -o', and we need to detect this.  Also, some Intel
   4641     # versions had trouble with output in subdirs.
   4642     am__obj=sub/conftest.${OBJEXT-o}
   4643     am__minus_obj="-o $am__obj"
   4644     case $depmode in
   4645     gcc)
   4646       # This depmode causes a compiler race in universal mode.
   4647       test "$am__universal" = false || continue
   4648       ;;
   4649     nosideeffect)
   4650       # After this tag, mechanisms are not by side-effect, so they'll
   4651       # only be used when explicitly requested.
   4652       if test "x$enable_dependency_tracking" = xyes; then
   4653 	continue
   4654       else
   4655 	break
   4656       fi
   4657       ;;
   4658     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4659       # This compiler won't grok '-c -o', but also, the minuso test has
   4660       # not run yet.  These depmodes are late enough in the game, and
   4661       # so weak that their functioning should not be impacted.
   4662       am__obj=conftest.${OBJEXT-o}
   4663       am__minus_obj=
   4664       ;;
   4665     none) break ;;
   4666     esac
   4667     if depmode=$depmode \
   4668        source=sub/conftest.c object=$am__obj \
   4669        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4670        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4671          >/dev/null 2>conftest.err &&
   4672        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4673        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4674        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4675        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4676       # icc doesn't choke on unknown options, it will just issue warnings
   4677       # or remarks (even with -Werror).  So we grep stderr for any message
   4678       # that says an option was ignored or not supported.
   4679       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4680       #   icc: Command line warning: ignoring option '-M'; no argument required
   4681       # The diagnosis changed in icc 8.0:
   4682       #   icc: Command line remark: option '-MP' not supported
   4683       if (grep 'ignoring option' conftest.err ||
   4684           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4685         am_cv_CC_dependencies_compiler_type=$depmode
   4686         break
   4687       fi
   4688     fi
   4689   done
   4690 
   4691   cd ..
   4692   rm -rf conftest.dir
   4693 else
   4694   am_cv_CC_dependencies_compiler_type=none
   4695 fi
   4696 
   4697 fi
   4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4699 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4700 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4701 
   4702  if
   4703   test "x$enable_dependency_tracking" != xno \
   4704   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4705   am__fastdepCC_TRUE=
   4706   am__fastdepCC_FALSE='#'
   4707 else
   4708   am__fastdepCC_TRUE='#'
   4709   am__fastdepCC_FALSE=
   4710 fi
   4711 
   4712 
   4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4714 printf %s "checking for a sed that does not truncate output... " >&6; }
   4715 if test ${ac_cv_path_SED+y}
   4716 then :
   4717   printf %s "(cached) " >&6
   4718 else $as_nop
   4719             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4720      for ac_i in 1 2 3 4 5 6 7; do
   4721        ac_script="$ac_script$as_nl$ac_script"
   4722      done
   4723      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4724      { ac_script=; unset ac_script;}
   4725      if test -z "$SED"; then
   4726   ac_path_SED_found=false
   4727   # Loop through the user's path and test for each of PROGNAME-LIST
   4728   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4729 for as_dir in $PATH
   4730 do
   4731   IFS=$as_save_IFS
   4732   case $as_dir in #(((
   4733     '') as_dir=./ ;;
   4734     */) ;;
   4735     *) as_dir=$as_dir/ ;;
   4736   esac
   4737     for ac_prog in sed gsed
   4738    do
   4739     for ac_exec_ext in '' $ac_executable_extensions; do
   4740       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4741       as_fn_executable_p "$ac_path_SED" || continue
   4742 # Check for GNU ac_path_SED and select it if it is found.
   4743   # Check for GNU $ac_path_SED
   4744 case `"$ac_path_SED" --version 2>&1` in
   4745 *GNU*)
   4746   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4747 *)
   4748   ac_count=0
   4749   printf %s 0123456789 >"conftest.in"
   4750   while :
   4751   do
   4752     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4753     mv "conftest.tmp" "conftest.in"
   4754     cp "conftest.in" "conftest.nl"
   4755     printf "%s\n" '' >> "conftest.nl"
   4756     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4757     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4758     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4759     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4760       # Best one so far, save it but keep looking for a better one
   4761       ac_cv_path_SED="$ac_path_SED"
   4762       ac_path_SED_max=$ac_count
   4763     fi
   4764     # 10*(2^10) chars as input seems more than enough
   4765     test $ac_count -gt 10 && break
   4766   done
   4767   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4768 esac
   4769 
   4770       $ac_path_SED_found && break 3
   4771     done
   4772   done
   4773   done
   4774 IFS=$as_save_IFS
   4775   if test -z "$ac_cv_path_SED"; then
   4776     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4777   fi
   4778 else
   4779   ac_cv_path_SED=$SED
   4780 fi
   4781 
   4782 fi
   4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4784 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4785  SED="$ac_cv_path_SED"
   4786   rm -f conftest.sed
   4787 
   4788 test -z "$SED" && SED=sed
   4789 Xsed="$SED -e 1s/^X//"
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4802 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4803 if test ${ac_cv_path_GREP+y}
   4804 then :
   4805   printf %s "(cached) " >&6
   4806 else $as_nop
   4807   if test -z "$GREP"; then
   4808   ac_path_GREP_found=false
   4809   # Loop through the user's path and test for each of PROGNAME-LIST
   4810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4811 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4812 do
   4813   IFS=$as_save_IFS
   4814   case $as_dir in #(((
   4815     '') as_dir=./ ;;
   4816     */) ;;
   4817     *) as_dir=$as_dir/ ;;
   4818   esac
   4819     for ac_prog in grep ggrep
   4820    do
   4821     for ac_exec_ext in '' $ac_executable_extensions; do
   4822       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4823       as_fn_executable_p "$ac_path_GREP" || continue
   4824 # Check for GNU ac_path_GREP and select it if it is found.
   4825   # Check for GNU $ac_path_GREP
   4826 case `"$ac_path_GREP" --version 2>&1` in
   4827 *GNU*)
   4828   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4829 *)
   4830   ac_count=0
   4831   printf %s 0123456789 >"conftest.in"
   4832   while :
   4833   do
   4834     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4835     mv "conftest.tmp" "conftest.in"
   4836     cp "conftest.in" "conftest.nl"
   4837     printf "%s\n" 'GREP' >> "conftest.nl"
   4838     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4839     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4840     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4841     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4842       # Best one so far, save it but keep looking for a better one
   4843       ac_cv_path_GREP="$ac_path_GREP"
   4844       ac_path_GREP_max=$ac_count
   4845     fi
   4846     # 10*(2^10) chars as input seems more than enough
   4847     test $ac_count -gt 10 && break
   4848   done
   4849   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4850 esac
   4851 
   4852       $ac_path_GREP_found && break 3
   4853     done
   4854   done
   4855   done
   4856 IFS=$as_save_IFS
   4857   if test -z "$ac_cv_path_GREP"; then
   4858     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4859   fi
   4860 else
   4861   ac_cv_path_GREP=$GREP
   4862 fi
   4863 
   4864 fi
   4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4866 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4867  GREP="$ac_cv_path_GREP"
   4868 
   4869 
   4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4871 printf %s "checking for egrep... " >&6; }
   4872 if test ${ac_cv_path_EGREP+y}
   4873 then :
   4874   printf %s "(cached) " >&6
   4875 else $as_nop
   4876   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4877    then ac_cv_path_EGREP="$GREP -E"
   4878    else
   4879      if test -z "$EGREP"; then
   4880   ac_path_EGREP_found=false
   4881   # Loop through the user's path and test for each of PROGNAME-LIST
   4882   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4883 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4884 do
   4885   IFS=$as_save_IFS
   4886   case $as_dir in #(((
   4887     '') as_dir=./ ;;
   4888     */) ;;
   4889     *) as_dir=$as_dir/ ;;
   4890   esac
   4891     for ac_prog in egrep
   4892    do
   4893     for ac_exec_ext in '' $ac_executable_extensions; do
   4894       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4895       as_fn_executable_p "$ac_path_EGREP" || continue
   4896 # Check for GNU ac_path_EGREP and select it if it is found.
   4897   # Check for GNU $ac_path_EGREP
   4898 case `"$ac_path_EGREP" --version 2>&1` in
   4899 *GNU*)
   4900   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4901 *)
   4902   ac_count=0
   4903   printf %s 0123456789 >"conftest.in"
   4904   while :
   4905   do
   4906     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4907     mv "conftest.tmp" "conftest.in"
   4908     cp "conftest.in" "conftest.nl"
   4909     printf "%s\n" 'EGREP' >> "conftest.nl"
   4910     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4911     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4912     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4913     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4914       # Best one so far, save it but keep looking for a better one
   4915       ac_cv_path_EGREP="$ac_path_EGREP"
   4916       ac_path_EGREP_max=$ac_count
   4917     fi
   4918     # 10*(2^10) chars as input seems more than enough
   4919     test $ac_count -gt 10 && break
   4920   done
   4921   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4922 esac
   4923 
   4924       $ac_path_EGREP_found && break 3
   4925     done
   4926   done
   4927   done
   4928 IFS=$as_save_IFS
   4929   if test -z "$ac_cv_path_EGREP"; then
   4930     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4931   fi
   4932 else
   4933   ac_cv_path_EGREP=$EGREP
   4934 fi
   4935 
   4936    fi
   4937 fi
   4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4939 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4940  EGREP="$ac_cv_path_EGREP"
   4941 
   4942 
   4943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4944 printf %s "checking for fgrep... " >&6; }
   4945 if test ${ac_cv_path_FGREP+y}
   4946 then :
   4947   printf %s "(cached) " >&6
   4948 else $as_nop
   4949   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4950    then ac_cv_path_FGREP="$GREP -F"
   4951    else
   4952      if test -z "$FGREP"; then
   4953   ac_path_FGREP_found=false
   4954   # Loop through the user's path and test for each of PROGNAME-LIST
   4955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4957 do
   4958   IFS=$as_save_IFS
   4959   case $as_dir in #(((
   4960     '') as_dir=./ ;;
   4961     */) ;;
   4962     *) as_dir=$as_dir/ ;;
   4963   esac
   4964     for ac_prog in fgrep
   4965    do
   4966     for ac_exec_ext in '' $ac_executable_extensions; do
   4967       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4968       as_fn_executable_p "$ac_path_FGREP" || continue
   4969 # Check for GNU ac_path_FGREP and select it if it is found.
   4970   # Check for GNU $ac_path_FGREP
   4971 case `"$ac_path_FGREP" --version 2>&1` in
   4972 *GNU*)
   4973   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4974 *)
   4975   ac_count=0
   4976   printf %s 0123456789 >"conftest.in"
   4977   while :
   4978   do
   4979     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4980     mv "conftest.tmp" "conftest.in"
   4981     cp "conftest.in" "conftest.nl"
   4982     printf "%s\n" 'FGREP' >> "conftest.nl"
   4983     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4984     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4985     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4986     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4987       # Best one so far, save it but keep looking for a better one
   4988       ac_cv_path_FGREP="$ac_path_FGREP"
   4989       ac_path_FGREP_max=$ac_count
   4990     fi
   4991     # 10*(2^10) chars as input seems more than enough
   4992     test $ac_count -gt 10 && break
   4993   done
   4994   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4995 esac
   4996 
   4997       $ac_path_FGREP_found && break 3
   4998     done
   4999   done
   5000   done
   5001 IFS=$as_save_IFS
   5002   if test -z "$ac_cv_path_FGREP"; then
   5003     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5004   fi
   5005 else
   5006   ac_cv_path_FGREP=$FGREP
   5007 fi
   5008 
   5009    fi
   5010 fi
   5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5012 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5013  FGREP="$ac_cv_path_FGREP"
   5014 
   5015 
   5016 test -z "$GREP" && GREP=grep
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 # Check whether --with-gnu-ld was given.
   5037 if test ${with_gnu_ld+y}
   5038 then :
   5039   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5040 else $as_nop
   5041   with_gnu_ld=no
   5042 fi
   5043 
   5044 ac_prog=ld
   5045 if test yes = "$GCC"; then
   5046   # Check if gcc -print-prog-name=ld gives a path.
   5047   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5048 printf %s "checking for ld used by $CC... " >&6; }
   5049   case $host in
   5050   *-*-mingw*)
   5051     # gcc leaves a trailing carriage return, which upsets mingw
   5052     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5053   *)
   5054     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5055   esac
   5056   case $ac_prog in
   5057     # Accept absolute paths.
   5058     [\\/]* | ?:[\\/]*)
   5059       re_direlt='/[^/][^/]*/\.\./'
   5060       # Canonicalize the pathname of ld
   5061       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5062       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5063 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5064       done
   5065       test -z "$LD" && LD=$ac_prog
   5066       ;;
   5067   "")
   5068     # If it fails, then pretend we aren't using GCC.
   5069     ac_prog=ld
   5070     ;;
   5071   *)
   5072     # If it is relative, then search for the first ld in PATH.
   5073     with_gnu_ld=unknown
   5074     ;;
   5075   esac
   5076 elif test yes = "$with_gnu_ld"; then
   5077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5078 printf %s "checking for GNU ld... " >&6; }
   5079 else
   5080   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5081 printf %s "checking for non-GNU ld... " >&6; }
   5082 fi
   5083 if test ${lt_cv_path_LD+y}
   5084 then :
   5085   printf %s "(cached) " >&6
   5086 else $as_nop
   5087   if test -z "$LD"; then
   5088   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5089   for ac_dir in $PATH; do
   5090     IFS=$lt_save_ifs
   5091     test -z "$ac_dir" && ac_dir=.
   5092     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5093       lt_cv_path_LD=$ac_dir/$ac_prog
   5094       # Check to see if the program is GNU ld.  I'd rather use --version,
   5095       # but apparently some variants of GNU ld only accept -v.
   5096       # Break only if it was the GNU/non-GNU ld that we prefer.
   5097       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5098       *GNU* | *'with BFD'*)
   5099 	test no != "$with_gnu_ld" && break
   5100 	;;
   5101       *)
   5102 	test yes != "$with_gnu_ld" && break
   5103 	;;
   5104       esac
   5105     fi
   5106   done
   5107   IFS=$lt_save_ifs
   5108 else
   5109   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5110 fi
   5111 fi
   5112 
   5113 LD=$lt_cv_path_LD
   5114 if test -n "$LD"; then
   5115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5116 printf "%s\n" "$LD" >&6; }
   5117 else
   5118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5119 printf "%s\n" "no" >&6; }
   5120 fi
   5121 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5123 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5124 if test ${lt_cv_prog_gnu_ld+y}
   5125 then :
   5126   printf %s "(cached) " >&6
   5127 else $as_nop
   5128   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5129 case `$LD -v 2>&1 </dev/null` in
   5130 *GNU* | *'with BFD'*)
   5131   lt_cv_prog_gnu_ld=yes
   5132   ;;
   5133 *)
   5134   lt_cv_prog_gnu_ld=no
   5135   ;;
   5136 esac
   5137 fi
   5138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5139 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5140 with_gnu_ld=$lt_cv_prog_gnu_ld
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5151 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5152 if test ${lt_cv_path_NM+y}
   5153 then :
   5154   printf %s "(cached) " >&6
   5155 else $as_nop
   5156   if test -n "$NM"; then
   5157   # Let the user override the test.
   5158   lt_cv_path_NM=$NM
   5159 else
   5160   lt_nm_to_check=${ac_tool_prefix}nm
   5161   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5162     lt_nm_to_check="$lt_nm_to_check nm"
   5163   fi
   5164   for lt_tmp_nm in $lt_nm_to_check; do
   5165     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5166     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5167       IFS=$lt_save_ifs
   5168       test -z "$ac_dir" && ac_dir=.
   5169       tmp_nm=$ac_dir/$lt_tmp_nm
   5170       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5171 	# Check to see if the nm accepts a BSD-compat flag.
   5172 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5173 	#   nm: unknown option "B" ignored
   5174 	# Tru64's nm complains that /dev/null is an invalid object file
   5175 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5176 	case $build_os in
   5177 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5178 	*) lt_bad_file=/dev/null ;;
   5179 	esac
   5180 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5181 	*$lt_bad_file* | *'Invalid file or object type'*)
   5182 	  lt_cv_path_NM="$tmp_nm -B"
   5183 	  break 2
   5184 	  ;;
   5185 	*)
   5186 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5187 	  */dev/null*)
   5188 	    lt_cv_path_NM="$tmp_nm -p"
   5189 	    break 2
   5190 	    ;;
   5191 	  *)
   5192 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5193 	    continue # so that we can try to find one that supports BSD flags
   5194 	    ;;
   5195 	  esac
   5196 	  ;;
   5197 	esac
   5198       fi
   5199     done
   5200     IFS=$lt_save_ifs
   5201   done
   5202   : ${lt_cv_path_NM=no}
   5203 fi
   5204 fi
   5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5206 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5207 if test no != "$lt_cv_path_NM"; then
   5208   NM=$lt_cv_path_NM
   5209 else
   5210   # Didn't find any BSD compatible name lister, look for dumpbin.
   5211   if test -n "$DUMPBIN"; then :
   5212     # Let the user override the test.
   5213   else
   5214     if test -n "$ac_tool_prefix"; then
   5215   for ac_prog in dumpbin "link -dump"
   5216   do
   5217     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5220 printf %s "checking for $ac_word... " >&6; }
   5221 if test ${ac_cv_prog_DUMPBIN+y}
   5222 then :
   5223   printf %s "(cached) " >&6
   5224 else $as_nop
   5225   if test -n "$DUMPBIN"; then
   5226   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5227 else
   5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5229 for as_dir in $PATH
   5230 do
   5231   IFS=$as_save_IFS
   5232   case $as_dir in #(((
   5233     '') as_dir=./ ;;
   5234     */) ;;
   5235     *) as_dir=$as_dir/ ;;
   5236   esac
   5237     for ac_exec_ext in '' $ac_executable_extensions; do
   5238   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5239     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5240     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5241     break 2
   5242   fi
   5243 done
   5244   done
   5245 IFS=$as_save_IFS
   5246 
   5247 fi
   5248 fi
   5249 DUMPBIN=$ac_cv_prog_DUMPBIN
   5250 if test -n "$DUMPBIN"; then
   5251   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5252 printf "%s\n" "$DUMPBIN" >&6; }
   5253 else
   5254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5255 printf "%s\n" "no" >&6; }
   5256 fi
   5257 
   5258 
   5259     test -n "$DUMPBIN" && break
   5260   done
   5261 fi
   5262 if test -z "$DUMPBIN"; then
   5263   ac_ct_DUMPBIN=$DUMPBIN
   5264   for ac_prog in dumpbin "link -dump"
   5265 do
   5266   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5267 set dummy $ac_prog; ac_word=$2
   5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5269 printf %s "checking for $ac_word... " >&6; }
   5270 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5271 then :
   5272   printf %s "(cached) " >&6
   5273 else $as_nop
   5274   if test -n "$ac_ct_DUMPBIN"; then
   5275   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5276 else
   5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5278 for as_dir in $PATH
   5279 do
   5280   IFS=$as_save_IFS
   5281   case $as_dir in #(((
   5282     '') as_dir=./ ;;
   5283     */) ;;
   5284     *) as_dir=$as_dir/ ;;
   5285   esac
   5286     for ac_exec_ext in '' $ac_executable_extensions; do
   5287   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5288     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5289     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5290     break 2
   5291   fi
   5292 done
   5293   done
   5294 IFS=$as_save_IFS
   5295 
   5296 fi
   5297 fi
   5298 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5299 if test -n "$ac_ct_DUMPBIN"; then
   5300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5301 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5302 else
   5303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5304 printf "%s\n" "no" >&6; }
   5305 fi
   5306 
   5307 
   5308   test -n "$ac_ct_DUMPBIN" && break
   5309 done
   5310 
   5311   if test "x$ac_ct_DUMPBIN" = x; then
   5312     DUMPBIN=":"
   5313   else
   5314     case $cross_compiling:$ac_tool_warned in
   5315 yes:)
   5316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5317 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5318 ac_tool_warned=yes ;;
   5319 esac
   5320     DUMPBIN=$ac_ct_DUMPBIN
   5321   fi
   5322 fi
   5323 
   5324     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5325     *COFF*)
   5326       DUMPBIN="$DUMPBIN -symbols -headers"
   5327       ;;
   5328     *)
   5329       DUMPBIN=:
   5330       ;;
   5331     esac
   5332   fi
   5333 
   5334   if test : != "$DUMPBIN"; then
   5335     NM=$DUMPBIN
   5336   fi
   5337 fi
   5338 test -z "$NM" && NM=nm
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5346 printf %s "checking the name lister ($NM) interface... " >&6; }
   5347 if test ${lt_cv_nm_interface+y}
   5348 then :
   5349   printf %s "(cached) " >&6
   5350 else $as_nop
   5351   lt_cv_nm_interface="BSD nm"
   5352   echo "int some_variable = 0;" > conftest.$ac_ext
   5353   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5354   (eval "$ac_compile" 2>conftest.err)
   5355   cat conftest.err >&5
   5356   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5357   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5358   cat conftest.err >&5
   5359   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5360   cat conftest.out >&5
   5361   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5362     lt_cv_nm_interface="MS dumpbin"
   5363   fi
   5364   rm -f conftest*
   5365 fi
   5366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5367 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5368 
   5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5370 printf %s "checking whether ln -s works... " >&6; }
   5371 LN_S=$as_ln_s
   5372 if test "$LN_S" = "ln -s"; then
   5373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5374 printf "%s\n" "yes" >&6; }
   5375 else
   5376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5377 printf "%s\n" "no, using $LN_S" >&6; }
   5378 fi
   5379 
   5380 # find the maximum length of command line arguments
   5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5382 printf %s "checking the maximum length of command line arguments... " >&6; }
   5383 if test ${lt_cv_sys_max_cmd_len+y}
   5384 then :
   5385   printf %s "(cached) " >&6
   5386 else $as_nop
   5387     i=0
   5388   teststring=ABCD
   5389 
   5390   case $build_os in
   5391   msdosdjgpp*)
   5392     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5393     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5394     # during glob expansion).  Even if it were fixed, the result of this
   5395     # check would be larger than it should be.
   5396     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5397     ;;
   5398 
   5399   gnu*)
   5400     # Under GNU Hurd, this test is not required because there is
   5401     # no limit to the length of command line arguments.
   5402     # Libtool will interpret -1 as no limit whatsoever
   5403     lt_cv_sys_max_cmd_len=-1;
   5404     ;;
   5405 
   5406   cygwin* | mingw* | cegcc*)
   5407     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5408     # about 5 minutes as the teststring grows exponentially.
   5409     # Worse, since 9x/ME are not pre-emptively multitasking,
   5410     # you end up with a "frozen" computer, even though with patience
   5411     # the test eventually succeeds (with a max line length of 256k).
   5412     # Instead, let's just punt: use the minimum linelength reported by
   5413     # all of the supported platforms: 8192 (on NT/2K/XP).
   5414     lt_cv_sys_max_cmd_len=8192;
   5415     ;;
   5416 
   5417   mint*)
   5418     # On MiNT this can take a long time and run out of memory.
   5419     lt_cv_sys_max_cmd_len=8192;
   5420     ;;
   5421 
   5422   amigaos*)
   5423     # On AmigaOS with pdksh, this test takes hours, literally.
   5424     # So we just punt and use a minimum line length of 8192.
   5425     lt_cv_sys_max_cmd_len=8192;
   5426     ;;
   5427 
   5428   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5429     # This has been around since 386BSD, at least.  Likely further.
   5430     if test -x /sbin/sysctl; then
   5431       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5432     elif test -x /usr/sbin/sysctl; then
   5433       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5434     else
   5435       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5436     fi
   5437     # And add a safety zone
   5438     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5439     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5440     ;;
   5441 
   5442   interix*)
   5443     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5444     lt_cv_sys_max_cmd_len=196608
   5445     ;;
   5446 
   5447   os2*)
   5448     # The test takes a long time on OS/2.
   5449     lt_cv_sys_max_cmd_len=8192
   5450     ;;
   5451 
   5452   osf*)
   5453     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5454     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5455     # nice to cause kernel panics so lets avoid the loop below.
   5456     # First set a reasonable default.
   5457     lt_cv_sys_max_cmd_len=16384
   5458     #
   5459     if test -x /sbin/sysconfig; then
   5460       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5461         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5462       esac
   5463     fi
   5464     ;;
   5465   sco3.2v5*)
   5466     lt_cv_sys_max_cmd_len=102400
   5467     ;;
   5468   sysv5* | sco5v6* | sysv4.2uw2*)
   5469     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5470     if test -n "$kargmax"; then
   5471       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5472     else
   5473       lt_cv_sys_max_cmd_len=32768
   5474     fi
   5475     ;;
   5476   *)
   5477     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5478     if test -n "$lt_cv_sys_max_cmd_len" && \
   5479        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5480       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5481       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5482     else
   5483       # Make teststring a little bigger before we do anything with it.
   5484       # a 1K string should be a reasonable start.
   5485       for i in 1 2 3 4 5 6 7 8; do
   5486         teststring=$teststring$teststring
   5487       done
   5488       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5489       # If test is not a shell built-in, we'll probably end up computing a
   5490       # maximum length that is only half of the actual maximum length, but
   5491       # we can't tell.
   5492       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5493 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5494 	      test 17 != "$i" # 1/2 MB should be enough
   5495       do
   5496         i=`expr $i + 1`
   5497         teststring=$teststring$teststring
   5498       done
   5499       # Only check the string length outside the loop.
   5500       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5501       teststring=
   5502       # Add a significant safety factor because C++ compilers can tack on
   5503       # massive amounts of additional arguments before passing them to the
   5504       # linker.  It appears as though 1/2 is a usable value.
   5505       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5506     fi
   5507     ;;
   5508   esac
   5509 
   5510 fi
   5511 
   5512 if test -n "$lt_cv_sys_max_cmd_len"; then
   5513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5514 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5515 else
   5516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5517 printf "%s\n" "none" >&6; }
   5518 fi
   5519 max_cmd_len=$lt_cv_sys_max_cmd_len
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 : ${CP="cp -f"}
   5527 : ${MV="mv -f"}
   5528 : ${RM="rm -f"}
   5529 
   5530 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5531   lt_unset=unset
   5532 else
   5533   lt_unset=false
   5534 fi
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 # test EBCDIC or ASCII
   5541 case `echo X|tr X '\101'` in
   5542  A) # ASCII based system
   5543     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5544   lt_SP2NL='tr \040 \012'
   5545   lt_NL2SP='tr \015\012 \040\040'
   5546   ;;
   5547  *) # EBCDIC based system
   5548   lt_SP2NL='tr \100 \n'
   5549   lt_NL2SP='tr \r\n \100\100'
   5550   ;;
   5551 esac
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5562 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5563 if test ${lt_cv_to_host_file_cmd+y}
   5564 then :
   5565   printf %s "(cached) " >&6
   5566 else $as_nop
   5567   case $host in
   5568   *-*-mingw* )
   5569     case $build in
   5570       *-*-mingw* ) # actually msys
   5571         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5572         ;;
   5573       *-*-cygwin* )
   5574         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5575         ;;
   5576       * ) # otherwise, assume *nix
   5577         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5578         ;;
   5579     esac
   5580     ;;
   5581   *-*-cygwin* )
   5582     case $build in
   5583       *-*-mingw* ) # actually msys
   5584         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5585         ;;
   5586       *-*-cygwin* )
   5587         lt_cv_to_host_file_cmd=func_convert_file_noop
   5588         ;;
   5589       * ) # otherwise, assume *nix
   5590         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5591         ;;
   5592     esac
   5593     ;;
   5594   * ) # unhandled hosts (and "normal" native builds)
   5595     lt_cv_to_host_file_cmd=func_convert_file_noop
   5596     ;;
   5597 esac
   5598 
   5599 fi
   5600 
   5601 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5603 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5610 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5611 if test ${lt_cv_to_tool_file_cmd+y}
   5612 then :
   5613   printf %s "(cached) " >&6
   5614 else $as_nop
   5615   #assume ordinary cross tools, or native build.
   5616 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5617 case $host in
   5618   *-*-mingw* )
   5619     case $build in
   5620       *-*-mingw* ) # actually msys
   5621         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5622         ;;
   5623     esac
   5624     ;;
   5625 esac
   5626 
   5627 fi
   5628 
   5629 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5631 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5632 
   5633 
   5634 
   5635 
   5636 
   5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5638 printf %s "checking for $LD option to reload object files... " >&6; }
   5639 if test ${lt_cv_ld_reload_flag+y}
   5640 then :
   5641   printf %s "(cached) " >&6
   5642 else $as_nop
   5643   lt_cv_ld_reload_flag='-r'
   5644 fi
   5645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5646 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5647 reload_flag=$lt_cv_ld_reload_flag
   5648 case $reload_flag in
   5649 "" | " "*) ;;
   5650 *) reload_flag=" $reload_flag" ;;
   5651 esac
   5652 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5653 case $host_os in
   5654   cygwin* | mingw* | pw32* | cegcc*)
   5655     if test yes != "$GCC"; then
   5656       reload_cmds=false
   5657     fi
   5658     ;;
   5659   darwin*)
   5660     if test yes = "$GCC"; then
   5661       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5662     else
   5663       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5664     fi
   5665     ;;
   5666 esac
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 if test -n "$ac_tool_prefix"; then
   5677   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5678 set dummy ${ac_tool_prefix}file; ac_word=$2
   5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5680 printf %s "checking for $ac_word... " >&6; }
   5681 if test ${ac_cv_prog_FILECMD+y}
   5682 then :
   5683   printf %s "(cached) " >&6
   5684 else $as_nop
   5685   if test -n "$FILECMD"; then
   5686   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5687 else
   5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5689 for as_dir in $PATH
   5690 do
   5691   IFS=$as_save_IFS
   5692   case $as_dir in #(((
   5693     '') as_dir=./ ;;
   5694     */) ;;
   5695     *) as_dir=$as_dir/ ;;
   5696   esac
   5697     for ac_exec_ext in '' $ac_executable_extensions; do
   5698   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5699     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5700     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5701     break 2
   5702   fi
   5703 done
   5704   done
   5705 IFS=$as_save_IFS
   5706 
   5707 fi
   5708 fi
   5709 FILECMD=$ac_cv_prog_FILECMD
   5710 if test -n "$FILECMD"; then
   5711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5712 printf "%s\n" "$FILECMD" >&6; }
   5713 else
   5714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5715 printf "%s\n" "no" >&6; }
   5716 fi
   5717 
   5718 
   5719 fi
   5720 if test -z "$ac_cv_prog_FILECMD"; then
   5721   ac_ct_FILECMD=$FILECMD
   5722   # Extract the first word of "file", so it can be a program name with args.
   5723 set dummy file; ac_word=$2
   5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5725 printf %s "checking for $ac_word... " >&6; }
   5726 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5727 then :
   5728   printf %s "(cached) " >&6
   5729 else $as_nop
   5730   if test -n "$ac_ct_FILECMD"; then
   5731   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5732 else
   5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5734 for as_dir in $PATH
   5735 do
   5736   IFS=$as_save_IFS
   5737   case $as_dir in #(((
   5738     '') as_dir=./ ;;
   5739     */) ;;
   5740     *) as_dir=$as_dir/ ;;
   5741   esac
   5742     for ac_exec_ext in '' $ac_executable_extensions; do
   5743   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5744     ac_cv_prog_ac_ct_FILECMD="file"
   5745     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5746     break 2
   5747   fi
   5748 done
   5749   done
   5750 IFS=$as_save_IFS
   5751 
   5752 fi
   5753 fi
   5754 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5755 if test -n "$ac_ct_FILECMD"; then
   5756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5757 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5758 else
   5759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5760 printf "%s\n" "no" >&6; }
   5761 fi
   5762 
   5763   if test "x$ac_ct_FILECMD" = x; then
   5764     FILECMD=":"
   5765   else
   5766     case $cross_compiling:$ac_tool_warned in
   5767 yes:)
   5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5769 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5770 ac_tool_warned=yes ;;
   5771 esac
   5772     FILECMD=$ac_ct_FILECMD
   5773   fi
   5774 else
   5775   FILECMD="$ac_cv_prog_FILECMD"
   5776 fi
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 if test -n "$ac_tool_prefix"; then
   5785   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5786 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5788 printf %s "checking for $ac_word... " >&6; }
   5789 if test ${ac_cv_prog_OBJDUMP+y}
   5790 then :
   5791   printf %s "(cached) " >&6
   5792 else $as_nop
   5793   if test -n "$OBJDUMP"; then
   5794   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5795 else
   5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5797 for as_dir in $PATH
   5798 do
   5799   IFS=$as_save_IFS
   5800   case $as_dir in #(((
   5801     '') as_dir=./ ;;
   5802     */) ;;
   5803     *) as_dir=$as_dir/ ;;
   5804   esac
   5805     for ac_exec_ext in '' $ac_executable_extensions; do
   5806   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5807     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5808     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5809     break 2
   5810   fi
   5811 done
   5812   done
   5813 IFS=$as_save_IFS
   5814 
   5815 fi
   5816 fi
   5817 OBJDUMP=$ac_cv_prog_OBJDUMP
   5818 if test -n "$OBJDUMP"; then
   5819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5820 printf "%s\n" "$OBJDUMP" >&6; }
   5821 else
   5822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5823 printf "%s\n" "no" >&6; }
   5824 fi
   5825 
   5826 
   5827 fi
   5828 if test -z "$ac_cv_prog_OBJDUMP"; then
   5829   ac_ct_OBJDUMP=$OBJDUMP
   5830   # Extract the first word of "objdump", so it can be a program name with args.
   5831 set dummy objdump; ac_word=$2
   5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5833 printf %s "checking for $ac_word... " >&6; }
   5834 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5835 then :
   5836   printf %s "(cached) " >&6
   5837 else $as_nop
   5838   if test -n "$ac_ct_OBJDUMP"; then
   5839   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5840 else
   5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5842 for as_dir in $PATH
   5843 do
   5844   IFS=$as_save_IFS
   5845   case $as_dir in #(((
   5846     '') as_dir=./ ;;
   5847     */) ;;
   5848     *) as_dir=$as_dir/ ;;
   5849   esac
   5850     for ac_exec_ext in '' $ac_executable_extensions; do
   5851   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5852     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5853     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5854     break 2
   5855   fi
   5856 done
   5857   done
   5858 IFS=$as_save_IFS
   5859 
   5860 fi
   5861 fi
   5862 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5863 if test -n "$ac_ct_OBJDUMP"; then
   5864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5865 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5866 else
   5867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5868 printf "%s\n" "no" >&6; }
   5869 fi
   5870 
   5871   if test "x$ac_ct_OBJDUMP" = x; then
   5872     OBJDUMP="false"
   5873   else
   5874     case $cross_compiling:$ac_tool_warned in
   5875 yes:)
   5876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5877 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5878 ac_tool_warned=yes ;;
   5879 esac
   5880     OBJDUMP=$ac_ct_OBJDUMP
   5881   fi
   5882 else
   5883   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5884 fi
   5885 
   5886 test -z "$OBJDUMP" && OBJDUMP=objdump
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5897 printf %s "checking how to recognize dependent libraries... " >&6; }
   5898 if test ${lt_cv_deplibs_check_method+y}
   5899 then :
   5900   printf %s "(cached) " >&6
   5901 else $as_nop
   5902   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5903 lt_cv_file_magic_test_file=
   5904 lt_cv_deplibs_check_method='unknown'
   5905 # Need to set the preceding variable on all platforms that support
   5906 # interlibrary dependencies.
   5907 # 'none' -- dependencies not supported.
   5908 # 'unknown' -- same as none, but documents that we really don't know.
   5909 # 'pass_all' -- all dependencies passed with no checks.
   5910 # 'test_compile' -- check by making test program.
   5911 # 'file_magic [[regex]]' -- check by looking for files in library path
   5912 # that responds to the $file_magic_cmd with a given extended regex.
   5913 # If you have 'file' or equivalent on your system and you're not sure
   5914 # whether 'pass_all' will *always* work, you probably want this one.
   5915 
   5916 case $host_os in
   5917 aix[4-9]*)
   5918   lt_cv_deplibs_check_method=pass_all
   5919   ;;
   5920 
   5921 beos*)
   5922   lt_cv_deplibs_check_method=pass_all
   5923   ;;
   5924 
   5925 bsdi[45]*)
   5926   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5927   lt_cv_file_magic_cmd='$FILECMD -L'
   5928   lt_cv_file_magic_test_file=/shlib/libc.so
   5929   ;;
   5930 
   5931 cygwin*)
   5932   # func_win32_libid is a shell function defined in ltmain.sh
   5933   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5934   lt_cv_file_magic_cmd='func_win32_libid'
   5935   ;;
   5936 
   5937 mingw* | pw32*)
   5938   # Base MSYS/MinGW do not provide the 'file' command needed by
   5939   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5940   # unless we find 'file', for example because we are cross-compiling.
   5941   if ( file / ) >/dev/null 2>&1; then
   5942     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5943     lt_cv_file_magic_cmd='func_win32_libid'
   5944   else
   5945     # Keep this pattern in sync with the one in func_win32_libid.
   5946     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5947     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5948   fi
   5949   ;;
   5950 
   5951 cegcc*)
   5952   # use the weaker test based on 'objdump'. See mingw*.
   5953   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5954   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5955   ;;
   5956 
   5957 darwin* | rhapsody*)
   5958   lt_cv_deplibs_check_method=pass_all
   5959   ;;
   5960 
   5961 freebsd* | dragonfly* | midnightbsd*)
   5962   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5963     case $host_cpu in
   5964     i*86 )
   5965       # Not sure whether the presence of OpenBSD here was a mistake.
   5966       # Let's accept both of them until this is cleared up.
   5967       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5968       lt_cv_file_magic_cmd=$FILECMD
   5969       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5970       ;;
   5971     esac
   5972   else
   5973     lt_cv_deplibs_check_method=pass_all
   5974   fi
   5975   ;;
   5976 
   5977 haiku*)
   5978   lt_cv_deplibs_check_method=pass_all
   5979   ;;
   5980 
   5981 hpux10.20* | hpux11*)
   5982   lt_cv_file_magic_cmd=$FILECMD
   5983   case $host_cpu in
   5984   ia64*)
   5985     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5986     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5987     ;;
   5988   hppa*64*)
   5989     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]'
   5990     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5991     ;;
   5992   *)
   5993     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5994     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5995     ;;
   5996   esac
   5997   ;;
   5998 
   5999 interix[3-9]*)
   6000   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6001   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6002   ;;
   6003 
   6004 irix5* | irix6* | nonstopux*)
   6005   case $LD in
   6006   *-32|*"-32 ") libmagic=32-bit;;
   6007   *-n32|*"-n32 ") libmagic=N32;;
   6008   *-64|*"-64 ") libmagic=64-bit;;
   6009   *) libmagic=never-match;;
   6010   esac
   6011   lt_cv_deplibs_check_method=pass_all
   6012   ;;
   6013 
   6014 # This must be glibc/ELF.
   6015 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6016   lt_cv_deplibs_check_method=pass_all
   6017   ;;
   6018 
   6019 netbsd*)
   6020   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6021     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6022   else
   6023     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6024   fi
   6025   ;;
   6026 
   6027 newos6*)
   6028   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6029   lt_cv_file_magic_cmd=$FILECMD
   6030   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6031   ;;
   6032 
   6033 *nto* | *qnx*)
   6034   lt_cv_deplibs_check_method=pass_all
   6035   ;;
   6036 
   6037 openbsd* | bitrig*)
   6038   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6039     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6040   else
   6041     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6042   fi
   6043   ;;
   6044 
   6045 osf3* | osf4* | osf5*)
   6046   lt_cv_deplibs_check_method=pass_all
   6047   ;;
   6048 
   6049 rdos*)
   6050   lt_cv_deplibs_check_method=pass_all
   6051   ;;
   6052 
   6053 solaris*)
   6054   lt_cv_deplibs_check_method=pass_all
   6055   ;;
   6056 
   6057 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6058   lt_cv_deplibs_check_method=pass_all
   6059   ;;
   6060 
   6061 sysv4 | sysv4.3*)
   6062   case $host_vendor in
   6063   motorola)
   6064     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]'
   6065     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6066     ;;
   6067   ncr)
   6068     lt_cv_deplibs_check_method=pass_all
   6069     ;;
   6070   sequent)
   6071     lt_cv_file_magic_cmd='/bin/file'
   6072     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6073     ;;
   6074   sni)
   6075     lt_cv_file_magic_cmd='/bin/file'
   6076     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6077     lt_cv_file_magic_test_file=/lib/libc.so
   6078     ;;
   6079   siemens)
   6080     lt_cv_deplibs_check_method=pass_all
   6081     ;;
   6082   pc)
   6083     lt_cv_deplibs_check_method=pass_all
   6084     ;;
   6085   esac
   6086   ;;
   6087 
   6088 tpf*)
   6089   lt_cv_deplibs_check_method=pass_all
   6090   ;;
   6091 os2*)
   6092   lt_cv_deplibs_check_method=pass_all
   6093   ;;
   6094 esac
   6095 
   6096 fi
   6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6098 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6099 
   6100 file_magic_glob=
   6101 want_nocaseglob=no
   6102 if test "$build" = "$host"; then
   6103   case $host_os in
   6104   mingw* | pw32*)
   6105     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6106       want_nocaseglob=yes
   6107     else
   6108       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6109     fi
   6110     ;;
   6111   esac
   6112 fi
   6113 
   6114 file_magic_cmd=$lt_cv_file_magic_cmd
   6115 deplibs_check_method=$lt_cv_deplibs_check_method
   6116 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 if test -n "$ac_tool_prefix"; then
   6140   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6141 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6143 printf %s "checking for $ac_word... " >&6; }
   6144 if test ${ac_cv_prog_DLLTOOL+y}
   6145 then :
   6146   printf %s "(cached) " >&6
   6147 else $as_nop
   6148   if test -n "$DLLTOOL"; then
   6149   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6150 else
   6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6152 for as_dir in $PATH
   6153 do
   6154   IFS=$as_save_IFS
   6155   case $as_dir in #(((
   6156     '') as_dir=./ ;;
   6157     */) ;;
   6158     *) as_dir=$as_dir/ ;;
   6159   esac
   6160     for ac_exec_ext in '' $ac_executable_extensions; do
   6161   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6162     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6163     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6164     break 2
   6165   fi
   6166 done
   6167   done
   6168 IFS=$as_save_IFS
   6169 
   6170 fi
   6171 fi
   6172 DLLTOOL=$ac_cv_prog_DLLTOOL
   6173 if test -n "$DLLTOOL"; then
   6174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6175 printf "%s\n" "$DLLTOOL" >&6; }
   6176 else
   6177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6178 printf "%s\n" "no" >&6; }
   6179 fi
   6180 
   6181 
   6182 fi
   6183 if test -z "$ac_cv_prog_DLLTOOL"; then
   6184   ac_ct_DLLTOOL=$DLLTOOL
   6185   # Extract the first word of "dlltool", so it can be a program name with args.
   6186 set dummy dlltool; ac_word=$2
   6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6188 printf %s "checking for $ac_word... " >&6; }
   6189 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6190 then :
   6191   printf %s "(cached) " >&6
   6192 else $as_nop
   6193   if test -n "$ac_ct_DLLTOOL"; then
   6194   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6195 else
   6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6197 for as_dir in $PATH
   6198 do
   6199   IFS=$as_save_IFS
   6200   case $as_dir in #(((
   6201     '') as_dir=./ ;;
   6202     */) ;;
   6203     *) as_dir=$as_dir/ ;;
   6204   esac
   6205     for ac_exec_ext in '' $ac_executable_extensions; do
   6206   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6207     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6208     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6209     break 2
   6210   fi
   6211 done
   6212   done
   6213 IFS=$as_save_IFS
   6214 
   6215 fi
   6216 fi
   6217 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6218 if test -n "$ac_ct_DLLTOOL"; then
   6219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6220 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6221 else
   6222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6223 printf "%s\n" "no" >&6; }
   6224 fi
   6225 
   6226   if test "x$ac_ct_DLLTOOL" = x; then
   6227     DLLTOOL="false"
   6228   else
   6229     case $cross_compiling:$ac_tool_warned in
   6230 yes:)
   6231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6232 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6233 ac_tool_warned=yes ;;
   6234 esac
   6235     DLLTOOL=$ac_ct_DLLTOOL
   6236   fi
   6237 else
   6238   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6239 fi
   6240 
   6241 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6253 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6254 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6255 then :
   6256   printf %s "(cached) " >&6
   6257 else $as_nop
   6258   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6259 
   6260 case $host_os in
   6261 cygwin* | mingw* | pw32* | cegcc*)
   6262   # two different shell functions defined in ltmain.sh;
   6263   # decide which one to use based on capabilities of $DLLTOOL
   6264   case `$DLLTOOL --help 2>&1` in
   6265   *--identify-strict*)
   6266     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6267     ;;
   6268   *)
   6269     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6270     ;;
   6271   esac
   6272   ;;
   6273 *)
   6274   # fallback: assume linklib IS sharedlib
   6275   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6276   ;;
   6277 esac
   6278 
   6279 fi
   6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6281 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6282 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6283 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 if test -n "$ac_tool_prefix"; then
   6293   for ac_prog in ar
   6294   do
   6295     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6296 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6298 printf %s "checking for $ac_word... " >&6; }
   6299 if test ${ac_cv_prog_AR+y}
   6300 then :
   6301   printf %s "(cached) " >&6
   6302 else $as_nop
   6303   if test -n "$AR"; then
   6304   ac_cv_prog_AR="$AR" # Let the user override the test.
   6305 else
   6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6307 for as_dir in $PATH
   6308 do
   6309   IFS=$as_save_IFS
   6310   case $as_dir in #(((
   6311     '') as_dir=./ ;;
   6312     */) ;;
   6313     *) as_dir=$as_dir/ ;;
   6314   esac
   6315     for ac_exec_ext in '' $ac_executable_extensions; do
   6316   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6317     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6318     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6319     break 2
   6320   fi
   6321 done
   6322   done
   6323 IFS=$as_save_IFS
   6324 
   6325 fi
   6326 fi
   6327 AR=$ac_cv_prog_AR
   6328 if test -n "$AR"; then
   6329   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6330 printf "%s\n" "$AR" >&6; }
   6331 else
   6332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6333 printf "%s\n" "no" >&6; }
   6334 fi
   6335 
   6336 
   6337     test -n "$AR" && break
   6338   done
   6339 fi
   6340 if test -z "$AR"; then
   6341   ac_ct_AR=$AR
   6342   for ac_prog in ar
   6343 do
   6344   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6345 set dummy $ac_prog; ac_word=$2
   6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6347 printf %s "checking for $ac_word... " >&6; }
   6348 if test ${ac_cv_prog_ac_ct_AR+y}
   6349 then :
   6350   printf %s "(cached) " >&6
   6351 else $as_nop
   6352   if test -n "$ac_ct_AR"; then
   6353   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6354 else
   6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6356 for as_dir in $PATH
   6357 do
   6358   IFS=$as_save_IFS
   6359   case $as_dir in #(((
   6360     '') as_dir=./ ;;
   6361     */) ;;
   6362     *) as_dir=$as_dir/ ;;
   6363   esac
   6364     for ac_exec_ext in '' $ac_executable_extensions; do
   6365   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6366     ac_cv_prog_ac_ct_AR="$ac_prog"
   6367     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6368     break 2
   6369   fi
   6370 done
   6371   done
   6372 IFS=$as_save_IFS
   6373 
   6374 fi
   6375 fi
   6376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6377 if test -n "$ac_ct_AR"; then
   6378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6379 printf "%s\n" "$ac_ct_AR" >&6; }
   6380 else
   6381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6382 printf "%s\n" "no" >&6; }
   6383 fi
   6384 
   6385 
   6386   test -n "$ac_ct_AR" && break
   6387 done
   6388 
   6389   if test "x$ac_ct_AR" = x; then
   6390     AR="false"
   6391   else
   6392     case $cross_compiling:$ac_tool_warned in
   6393 yes:)
   6394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6395 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6396 ac_tool_warned=yes ;;
   6397 esac
   6398     AR=$ac_ct_AR
   6399   fi
   6400 fi
   6401 
   6402 : ${AR=ar}
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6410 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6411 # higher priority because thats what people were doing historically (setting
   6412 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6413 # variable obsoleted/removed.
   6414 
   6415 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6416 lt_ar_flags=$AR_FLAGS
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6424 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6432 printf %s "checking for archiver @FILE support... " >&6; }
   6433 if test ${lt_cv_ar_at_file+y}
   6434 then :
   6435   printf %s "(cached) " >&6
   6436 else $as_nop
   6437   lt_cv_ar_at_file=no
   6438    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6439 /* end confdefs.h.  */
   6440 
   6441 int
   6442 main (void)
   6443 {
   6444 
   6445   ;
   6446   return 0;
   6447 }
   6448 _ACEOF
   6449 if ac_fn_c_try_compile "$LINENO"
   6450 then :
   6451   echo conftest.$ac_objext > conftest.lst
   6452       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6453       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6454   (eval $lt_ar_try) 2>&5
   6455   ac_status=$?
   6456   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6457   test $ac_status = 0; }
   6458       if test 0 -eq "$ac_status"; then
   6459 	# Ensure the archiver fails upon bogus file names.
   6460 	rm -f conftest.$ac_objext libconftest.a
   6461 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6462   (eval $lt_ar_try) 2>&5
   6463   ac_status=$?
   6464   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6465   test $ac_status = 0; }
   6466 	if test 0 -ne "$ac_status"; then
   6467           lt_cv_ar_at_file=@
   6468         fi
   6469       fi
   6470       rm -f conftest.* libconftest.a
   6471 
   6472 fi
   6473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6474 
   6475 fi
   6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6477 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6478 
   6479 if test no = "$lt_cv_ar_at_file"; then
   6480   archiver_list_spec=
   6481 else
   6482   archiver_list_spec=$lt_cv_ar_at_file
   6483 fi
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 if test -n "$ac_tool_prefix"; then
   6492   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6493 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6495 printf %s "checking for $ac_word... " >&6; }
   6496 if test ${ac_cv_prog_STRIP+y}
   6497 then :
   6498   printf %s "(cached) " >&6
   6499 else $as_nop
   6500   if test -n "$STRIP"; then
   6501   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6502 else
   6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6504 for as_dir in $PATH
   6505 do
   6506   IFS=$as_save_IFS
   6507   case $as_dir in #(((
   6508     '') as_dir=./ ;;
   6509     */) ;;
   6510     *) as_dir=$as_dir/ ;;
   6511   esac
   6512     for ac_exec_ext in '' $ac_executable_extensions; do
   6513   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6514     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6515     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6516     break 2
   6517   fi
   6518 done
   6519   done
   6520 IFS=$as_save_IFS
   6521 
   6522 fi
   6523 fi
   6524 STRIP=$ac_cv_prog_STRIP
   6525 if test -n "$STRIP"; then
   6526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6527 printf "%s\n" "$STRIP" >&6; }
   6528 else
   6529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6530 printf "%s\n" "no" >&6; }
   6531 fi
   6532 
   6533 
   6534 fi
   6535 if test -z "$ac_cv_prog_STRIP"; then
   6536   ac_ct_STRIP=$STRIP
   6537   # Extract the first word of "strip", so it can be a program name with args.
   6538 set dummy strip; ac_word=$2
   6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6540 printf %s "checking for $ac_word... " >&6; }
   6541 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6542 then :
   6543   printf %s "(cached) " >&6
   6544 else $as_nop
   6545   if test -n "$ac_ct_STRIP"; then
   6546   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6547 else
   6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6549 for as_dir in $PATH
   6550 do
   6551   IFS=$as_save_IFS
   6552   case $as_dir in #(((
   6553     '') as_dir=./ ;;
   6554     */) ;;
   6555     *) as_dir=$as_dir/ ;;
   6556   esac
   6557     for ac_exec_ext in '' $ac_executable_extensions; do
   6558   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6559     ac_cv_prog_ac_ct_STRIP="strip"
   6560     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6561     break 2
   6562   fi
   6563 done
   6564   done
   6565 IFS=$as_save_IFS
   6566 
   6567 fi
   6568 fi
   6569 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6570 if test -n "$ac_ct_STRIP"; then
   6571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6572 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6573 else
   6574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6575 printf "%s\n" "no" >&6; }
   6576 fi
   6577 
   6578   if test "x$ac_ct_STRIP" = x; then
   6579     STRIP=":"
   6580   else
   6581     case $cross_compiling:$ac_tool_warned in
   6582 yes:)
   6583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6584 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6585 ac_tool_warned=yes ;;
   6586 esac
   6587     STRIP=$ac_ct_STRIP
   6588   fi
   6589 else
   6590   STRIP="$ac_cv_prog_STRIP"
   6591 fi
   6592 
   6593 test -z "$STRIP" && STRIP=:
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 if test -n "$ac_tool_prefix"; then
   6601   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6602 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6604 printf %s "checking for $ac_word... " >&6; }
   6605 if test ${ac_cv_prog_RANLIB+y}
   6606 then :
   6607   printf %s "(cached) " >&6
   6608 else $as_nop
   6609   if test -n "$RANLIB"; then
   6610   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6611 else
   6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6613 for as_dir in $PATH
   6614 do
   6615   IFS=$as_save_IFS
   6616   case $as_dir in #(((
   6617     '') as_dir=./ ;;
   6618     */) ;;
   6619     *) as_dir=$as_dir/ ;;
   6620   esac
   6621     for ac_exec_ext in '' $ac_executable_extensions; do
   6622   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6623     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6624     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6625     break 2
   6626   fi
   6627 done
   6628   done
   6629 IFS=$as_save_IFS
   6630 
   6631 fi
   6632 fi
   6633 RANLIB=$ac_cv_prog_RANLIB
   6634 if test -n "$RANLIB"; then
   6635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6636 printf "%s\n" "$RANLIB" >&6; }
   6637 else
   6638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6639 printf "%s\n" "no" >&6; }
   6640 fi
   6641 
   6642 
   6643 fi
   6644 if test -z "$ac_cv_prog_RANLIB"; then
   6645   ac_ct_RANLIB=$RANLIB
   6646   # Extract the first word of "ranlib", so it can be a program name with args.
   6647 set dummy ranlib; ac_word=$2
   6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6649 printf %s "checking for $ac_word... " >&6; }
   6650 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6651 then :
   6652   printf %s "(cached) " >&6
   6653 else $as_nop
   6654   if test -n "$ac_ct_RANLIB"; then
   6655   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6656 else
   6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6658 for as_dir in $PATH
   6659 do
   6660   IFS=$as_save_IFS
   6661   case $as_dir in #(((
   6662     '') as_dir=./ ;;
   6663     */) ;;
   6664     *) as_dir=$as_dir/ ;;
   6665   esac
   6666     for ac_exec_ext in '' $ac_executable_extensions; do
   6667   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6668     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6669     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6670     break 2
   6671   fi
   6672 done
   6673   done
   6674 IFS=$as_save_IFS
   6675 
   6676 fi
   6677 fi
   6678 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6679 if test -n "$ac_ct_RANLIB"; then
   6680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6681 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6682 else
   6683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6684 printf "%s\n" "no" >&6; }
   6685 fi
   6686 
   6687   if test "x$ac_ct_RANLIB" = x; then
   6688     RANLIB=":"
   6689   else
   6690     case $cross_compiling:$ac_tool_warned in
   6691 yes:)
   6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6694 ac_tool_warned=yes ;;
   6695 esac
   6696     RANLIB=$ac_ct_RANLIB
   6697   fi
   6698 else
   6699   RANLIB="$ac_cv_prog_RANLIB"
   6700 fi
   6701 
   6702 test -z "$RANLIB" && RANLIB=:
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 # Determine commands to create old-style static archives.
   6710 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6711 old_postinstall_cmds='chmod 644 $oldlib'
   6712 old_postuninstall_cmds=
   6713 
   6714 if test -n "$RANLIB"; then
   6715   case $host_os in
   6716   bitrig* | openbsd*)
   6717     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6718     ;;
   6719   *)
   6720     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6721     ;;
   6722   esac
   6723   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6724 fi
   6725 
   6726 case $host_os in
   6727   darwin*)
   6728     lock_old_archive_extraction=yes ;;
   6729   *)
   6730     lock_old_archive_extraction=no ;;
   6731 esac
   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 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 # If no C compiler was specified, use CC.
   6772 LTCC=${LTCC-"$CC"}
   6773 
   6774 # If no C compiler flags were specified, use CFLAGS.
   6775 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6776 
   6777 # Allow CC to be a program name with arguments.
   6778 compiler=$CC
   6779 
   6780 
   6781 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6783 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6784 if test ${lt_cv_sys_global_symbol_pipe+y}
   6785 then :
   6786   printf %s "(cached) " >&6
   6787 else $as_nop
   6788 
   6789 # These are sane defaults that work on at least a few old systems.
   6790 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6791 
   6792 # Character class describing NM global symbol codes.
   6793 symcode='[BCDEGRST]'
   6794 
   6795 # Regexp to match symbols that can be accessed directly from C.
   6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6797 
   6798 # Define system-specific variables.
   6799 case $host_os in
   6800 aix*)
   6801   symcode='[BCDT]'
   6802   ;;
   6803 cygwin* | mingw* | pw32* | cegcc*)
   6804   symcode='[ABCDGISTW]'
   6805   ;;
   6806 hpux*)
   6807   if test ia64 = "$host_cpu"; then
   6808     symcode='[ABCDEGRST]'
   6809   fi
   6810   ;;
   6811 irix* | nonstopux*)
   6812   symcode='[BCDEGRST]'
   6813   ;;
   6814 osf*)
   6815   symcode='[BCDEGQRST]'
   6816   ;;
   6817 solaris*)
   6818   symcode='[BDRT]'
   6819   ;;
   6820 sco3.2v5*)
   6821   symcode='[DT]'
   6822   ;;
   6823 sysv4.2uw2*)
   6824   symcode='[DT]'
   6825   ;;
   6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6827   symcode='[ABDT]'
   6828   ;;
   6829 sysv4)
   6830   symcode='[DFNSTU]'
   6831   ;;
   6832 esac
   6833 
   6834 # If we're using GNU nm, then use its standard symbol codes.
   6835 case `$NM -V 2>&1` in
   6836 *GNU* | *'with BFD'*)
   6837   symcode='[ABCDGIRSTW]' ;;
   6838 esac
   6839 
   6840 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6841   # Gets list of data symbols to import.
   6842   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6843   # Adjust the below global symbol transforms to fixup imported variables.
   6844   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6845   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6846   lt_c_name_lib_hook="\
   6847   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6848   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6849 else
   6850   # Disable hooks by default.
   6851   lt_cv_sys_global_symbol_to_import=
   6852   lt_cdecl_hook=
   6853   lt_c_name_hook=
   6854   lt_c_name_lib_hook=
   6855 fi
   6856 
   6857 # Transform an extracted symbol line into a proper C declaration.
   6858 # Some systems (esp. on ia64) link data and code symbols differently,
   6859 # so use this general approach.
   6860 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6861 $lt_cdecl_hook\
   6862 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6863 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6864 
   6865 # Transform an extracted symbol line into symbol name and symbol address
   6866 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6867 $lt_c_name_hook\
   6868 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6869 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6870 
   6871 # Transform an extracted symbol line into symbol name with lib prefix and
   6872 # symbol address.
   6873 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6874 $lt_c_name_lib_hook\
   6875 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6876 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6877 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6878 
   6879 # Handle CRLF in mingw tool chain
   6880 opt_cr=
   6881 case $build_os in
   6882 mingw*)
   6883   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6884   ;;
   6885 esac
   6886 
   6887 # Try without a prefix underscore, then with it.
   6888 for ac_symprfx in "" "_"; do
   6889 
   6890   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6891   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6892 
   6893   # Write the raw and C identifiers.
   6894   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6895     # Fake it for dumpbin and say T for any non-static function,
   6896     # D for any global variable and I for any imported variable.
   6897     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6898     # which start with @ or ?.
   6899     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6900 "     {last_section=section; section=\$ 3};"\
   6901 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6902 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6903 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6904 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6905 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6906 "     \$ 0!~/External *\|/{next};"\
   6907 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6908 "     {if(hide[section]) next};"\
   6909 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6910 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6911 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6912 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6913 "     ' prfx=^$ac_symprfx"
   6914   else
   6915     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6916   fi
   6917   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6918 
   6919   # Check to see that the pipe works correctly.
   6920   pipe_works=no
   6921 
   6922   rm -f conftest*
   6923   cat > conftest.$ac_ext <<_LT_EOF
   6924 #ifdef __cplusplus
   6925 extern "C" {
   6926 #endif
   6927 char nm_test_var;
   6928 void nm_test_func(void);
   6929 void nm_test_func(void){}
   6930 #ifdef __cplusplus
   6931 }
   6932 #endif
   6933 int main(){nm_test_var='a';nm_test_func();return(0);}
   6934 _LT_EOF
   6935 
   6936   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6937   (eval $ac_compile) 2>&5
   6938   ac_status=$?
   6939   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6940   test $ac_status = 0; }; then
   6941     # Now try to grab the symbols.
   6942     nlist=conftest.nm
   6943     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6944   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6945   ac_status=$?
   6946   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6947   test $ac_status = 0; } && test -s "$nlist"; then
   6948       # Try sorting and uniquifying the output.
   6949       if sort "$nlist" | uniq > "$nlist"T; then
   6950 	mv -f "$nlist"T "$nlist"
   6951       else
   6952 	rm -f "$nlist"T
   6953       fi
   6954 
   6955       # Make sure that we snagged all the symbols we need.
   6956       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6957 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6958 	  cat <<_LT_EOF > conftest.$ac_ext
   6959 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6960 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6961 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6962    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6963 # define LT_DLSYM_CONST
   6964 #elif defined __osf__
   6965 /* This system does not cope well with relocations in const data.  */
   6966 # define LT_DLSYM_CONST
   6967 #else
   6968 # define LT_DLSYM_CONST const
   6969 #endif
   6970 
   6971 #ifdef __cplusplus
   6972 extern "C" {
   6973 #endif
   6974 
   6975 _LT_EOF
   6976 	  # Now generate the symbol file.
   6977 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6978 
   6979 	  cat <<_LT_EOF >> conftest.$ac_ext
   6980 
   6981 /* The mapping between symbol names and symbols.  */
   6982 LT_DLSYM_CONST struct {
   6983   const char *name;
   6984   void       *address;
   6985 }
   6986 lt__PROGRAM__LTX_preloaded_symbols[] =
   6987 {
   6988   { "@PROGRAM@", (void *) 0 },
   6989 _LT_EOF
   6990 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6991 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6992   {0, (void *) 0}
   6993 };
   6994 
   6995 /* This works around a problem in FreeBSD linker */
   6996 #ifdef FREEBSD_WORKAROUND
   6997 static const void *lt_preloaded_setup() {
   6998   return lt__PROGRAM__LTX_preloaded_symbols;
   6999 }
   7000 #endif
   7001 
   7002 #ifdef __cplusplus
   7003 }
   7004 #endif
   7005 _LT_EOF
   7006 	  # Now try linking the two files.
   7007 	  mv conftest.$ac_objext conftstm.$ac_objext
   7008 	  lt_globsym_save_LIBS=$LIBS
   7009 	  lt_globsym_save_CFLAGS=$CFLAGS
   7010 	  LIBS=conftstm.$ac_objext
   7011 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7012 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7013   (eval $ac_link) 2>&5
   7014   ac_status=$?
   7015   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7016   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7017 	    pipe_works=yes
   7018 	  fi
   7019 	  LIBS=$lt_globsym_save_LIBS
   7020 	  CFLAGS=$lt_globsym_save_CFLAGS
   7021 	else
   7022 	  echo "cannot find nm_test_func in $nlist" >&5
   7023 	fi
   7024       else
   7025 	echo "cannot find nm_test_var in $nlist" >&5
   7026       fi
   7027     else
   7028       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7029     fi
   7030   else
   7031     echo "$progname: failed program was:" >&5
   7032     cat conftest.$ac_ext >&5
   7033   fi
   7034   rm -rf conftest* conftst*
   7035 
   7036   # Do not use the global_symbol_pipe unless it works.
   7037   if test yes = "$pipe_works"; then
   7038     break
   7039   else
   7040     lt_cv_sys_global_symbol_pipe=
   7041   fi
   7042 done
   7043 
   7044 fi
   7045 
   7046 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7047   lt_cv_sys_global_symbol_to_cdecl=
   7048 fi
   7049 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7051 printf "%s\n" "failed" >&6; }
   7052 else
   7053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7054 printf "%s\n" "ok" >&6; }
   7055 fi
   7056 
   7057 # Response file support.
   7058 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7059   nm_file_list_spec='@'
   7060 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7061   nm_file_list_spec='@'
   7062 fi
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7101 printf %s "checking for sysroot... " >&6; }
   7102 
   7103 # Check whether --with-sysroot was given.
   7104 if test ${with_sysroot+y}
   7105 then :
   7106   withval=$with_sysroot;
   7107 else $as_nop
   7108   with_sysroot=no
   7109 fi
   7110 
   7111 
   7112 lt_sysroot=
   7113 case $with_sysroot in #(
   7114  yes)
   7115    if test yes = "$GCC"; then
   7116      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7117    fi
   7118    ;; #(
   7119  /*)
   7120    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7121    ;; #(
   7122  no|'')
   7123    ;; #(
   7124  *)
   7125    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7126 printf "%s\n" "$with_sysroot" >&6; }
   7127    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7128    ;;
   7129 esac
   7130 
   7131  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7132 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7139 printf %s "checking for a working dd... " >&6; }
   7140 if test ${ac_cv_path_lt_DD+y}
   7141 then :
   7142   printf %s "(cached) " >&6
   7143 else $as_nop
   7144   printf 0123456789abcdef0123456789abcdef >conftest.i
   7145 cat conftest.i conftest.i >conftest2.i
   7146 : ${lt_DD:=$DD}
   7147 if test -z "$lt_DD"; then
   7148   ac_path_lt_DD_found=false
   7149   # Loop through the user's path and test for each of PROGNAME-LIST
   7150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7151 for as_dir in $PATH
   7152 do
   7153   IFS=$as_save_IFS
   7154   case $as_dir in #(((
   7155     '') as_dir=./ ;;
   7156     */) ;;
   7157     *) as_dir=$as_dir/ ;;
   7158   esac
   7159     for ac_prog in dd
   7160    do
   7161     for ac_exec_ext in '' $ac_executable_extensions; do
   7162       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7163       as_fn_executable_p "$ac_path_lt_DD" || continue
   7164 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7165   cmp -s conftest.i conftest.out \
   7166   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7167 fi
   7168       $ac_path_lt_DD_found && break 3
   7169     done
   7170   done
   7171   done
   7172 IFS=$as_save_IFS
   7173   if test -z "$ac_cv_path_lt_DD"; then
   7174     :
   7175   fi
   7176 else
   7177   ac_cv_path_lt_DD=$lt_DD
   7178 fi
   7179 
   7180 rm -f conftest.i conftest2.i conftest.out
   7181 fi
   7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7183 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7184 
   7185 
   7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7187 printf %s "checking how to truncate binary pipes... " >&6; }
   7188 if test ${lt_cv_truncate_bin+y}
   7189 then :
   7190   printf %s "(cached) " >&6
   7191 else $as_nop
   7192   printf 0123456789abcdef0123456789abcdef >conftest.i
   7193 cat conftest.i conftest.i >conftest2.i
   7194 lt_cv_truncate_bin=
   7195 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7196   cmp -s conftest.i conftest.out \
   7197   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7198 fi
   7199 rm -f conftest.i conftest2.i conftest.out
   7200 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7201 fi
   7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7203 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7212 func_cc_basename ()
   7213 {
   7214     for cc_temp in $*""; do
   7215       case $cc_temp in
   7216         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7217         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7218         \-*) ;;
   7219         *) break;;
   7220       esac
   7221     done
   7222     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7223 }
   7224 
   7225 # Check whether --enable-libtool-lock was given.
   7226 if test ${enable_libtool_lock+y}
   7227 then :
   7228   enableval=$enable_libtool_lock;
   7229 fi
   7230 
   7231 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7232 
   7233 # Some flags need to be propagated to the compiler or linker for good
   7234 # libtool support.
   7235 case $host in
   7236 ia64-*-hpux*)
   7237   # Find out what ABI is being produced by ac_compile, and set mode
   7238   # options accordingly.
   7239   echo 'int i;' > conftest.$ac_ext
   7240   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7241   (eval $ac_compile) 2>&5
   7242   ac_status=$?
   7243   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7244   test $ac_status = 0; }; then
   7245     case `$FILECMD conftest.$ac_objext` in
   7246       *ELF-32*)
   7247 	HPUX_IA64_MODE=32
   7248 	;;
   7249       *ELF-64*)
   7250 	HPUX_IA64_MODE=64
   7251 	;;
   7252     esac
   7253   fi
   7254   rm -rf conftest*
   7255   ;;
   7256 *-*-irix6*)
   7257   # Find out what ABI is being produced by ac_compile, and set linker
   7258   # options accordingly.
   7259   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7260   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7261   (eval $ac_compile) 2>&5
   7262   ac_status=$?
   7263   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7264   test $ac_status = 0; }; then
   7265     if test yes = "$lt_cv_prog_gnu_ld"; then
   7266       case `$FILECMD conftest.$ac_objext` in
   7267 	*32-bit*)
   7268 	  LD="${LD-ld} -melf32bsmip"
   7269 	  ;;
   7270 	*N32*)
   7271 	  LD="${LD-ld} -melf32bmipn32"
   7272 	  ;;
   7273 	*64-bit*)
   7274 	  LD="${LD-ld} -melf64bmip"
   7275 	;;
   7276       esac
   7277     else
   7278       case `$FILECMD conftest.$ac_objext` in
   7279 	*32-bit*)
   7280 	  LD="${LD-ld} -32"
   7281 	  ;;
   7282 	*N32*)
   7283 	  LD="${LD-ld} -n32"
   7284 	  ;;
   7285 	*64-bit*)
   7286 	  LD="${LD-ld} -64"
   7287 	  ;;
   7288       esac
   7289     fi
   7290   fi
   7291   rm -rf conftest*
   7292   ;;
   7293 
   7294 mips64*-*linux*)
   7295   # Find out what ABI is being produced by ac_compile, and set linker
   7296   # options accordingly.
   7297   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7298   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7299   (eval $ac_compile) 2>&5
   7300   ac_status=$?
   7301   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7302   test $ac_status = 0; }; then
   7303     emul=elf
   7304     case `$FILECMD conftest.$ac_objext` in
   7305       *32-bit*)
   7306 	emul="${emul}32"
   7307 	;;
   7308       *64-bit*)
   7309 	emul="${emul}64"
   7310 	;;
   7311     esac
   7312     case `$FILECMD conftest.$ac_objext` in
   7313       *MSB*)
   7314 	emul="${emul}btsmip"
   7315 	;;
   7316       *LSB*)
   7317 	emul="${emul}ltsmip"
   7318 	;;
   7319     esac
   7320     case `$FILECMD conftest.$ac_objext` in
   7321       *N32*)
   7322 	emul="${emul}n32"
   7323 	;;
   7324     esac
   7325     LD="${LD-ld} -m $emul"
   7326   fi
   7327   rm -rf conftest*
   7328   ;;
   7329 
   7330 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7331 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7332   # Find out what ABI is being produced by ac_compile, and set linker
   7333   # options accordingly.  Note that the listed cases only cover the
   7334   # situations where additional linker options are needed (such as when
   7335   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7336   # vice versa); the common cases where no linker options are needed do
   7337   # not appear in the list.
   7338   echo 'int i;' > conftest.$ac_ext
   7339   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7340   (eval $ac_compile) 2>&5
   7341   ac_status=$?
   7342   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7343   test $ac_status = 0; }; then
   7344     case `$FILECMD conftest.o` in
   7345       *32-bit*)
   7346 	case $host in
   7347 	  x86_64-*kfreebsd*-gnu)
   7348 	    LD="${LD-ld} -m elf_i386_fbsd"
   7349 	    ;;
   7350 	  x86_64-*linux*)
   7351 	    case `$FILECMD conftest.o` in
   7352 	      *x86-64*)
   7353 		LD="${LD-ld} -m elf32_x86_64"
   7354 		;;
   7355 	      *)
   7356 		LD="${LD-ld} -m elf_i386"
   7357 		;;
   7358 	    esac
   7359 	    ;;
   7360 	  powerpc64le-*linux*)
   7361 	    LD="${LD-ld} -m elf32lppclinux"
   7362 	    ;;
   7363 	  powerpc64-*linux*)
   7364 	    LD="${LD-ld} -m elf32ppclinux"
   7365 	    ;;
   7366 	  s390x-*linux*)
   7367 	    LD="${LD-ld} -m elf_s390"
   7368 	    ;;
   7369 	  sparc64-*linux*)
   7370 	    LD="${LD-ld} -m elf32_sparc"
   7371 	    ;;
   7372 	esac
   7373 	;;
   7374       *64-bit*)
   7375 	case $host in
   7376 	  x86_64-*kfreebsd*-gnu)
   7377 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7378 	    ;;
   7379 	  x86_64-*linux*)
   7380 	    LD="${LD-ld} -m elf_x86_64"
   7381 	    ;;
   7382 	  powerpcle-*linux*)
   7383 	    LD="${LD-ld} -m elf64lppc"
   7384 	    ;;
   7385 	  powerpc-*linux*)
   7386 	    LD="${LD-ld} -m elf64ppc"
   7387 	    ;;
   7388 	  s390*-*linux*|s390*-*tpf*)
   7389 	    LD="${LD-ld} -m elf64_s390"
   7390 	    ;;
   7391 	  sparc*-*linux*)
   7392 	    LD="${LD-ld} -m elf64_sparc"
   7393 	    ;;
   7394 	esac
   7395 	;;
   7396     esac
   7397   fi
   7398   rm -rf conftest*
   7399   ;;
   7400 
   7401 *-*-sco3.2v5*)
   7402   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7403   SAVE_CFLAGS=$CFLAGS
   7404   CFLAGS="$CFLAGS -belf"
   7405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7406 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7407 if test ${lt_cv_cc_needs_belf+y}
   7408 then :
   7409   printf %s "(cached) " >&6
   7410 else $as_nop
   7411   ac_ext=c
   7412 ac_cpp='$CPP $CPPFLAGS'
   7413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7416 
   7417      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7418 /* end confdefs.h.  */
   7419 
   7420 int
   7421 main (void)
   7422 {
   7423 
   7424   ;
   7425   return 0;
   7426 }
   7427 _ACEOF
   7428 if ac_fn_c_try_link "$LINENO"
   7429 then :
   7430   lt_cv_cc_needs_belf=yes
   7431 else $as_nop
   7432   lt_cv_cc_needs_belf=no
   7433 fi
   7434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7435     conftest$ac_exeext conftest.$ac_ext
   7436      ac_ext=c
   7437 ac_cpp='$CPP $CPPFLAGS'
   7438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7441 
   7442 fi
   7443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7444 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7445   if test yes != "$lt_cv_cc_needs_belf"; then
   7446     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7447     CFLAGS=$SAVE_CFLAGS
   7448   fi
   7449   ;;
   7450 *-*solaris*)
   7451   # Find out what ABI is being produced by ac_compile, and set linker
   7452   # options accordingly.
   7453   echo 'int i;' > conftest.$ac_ext
   7454   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7455   (eval $ac_compile) 2>&5
   7456   ac_status=$?
   7457   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7458   test $ac_status = 0; }; then
   7459     case `$FILECMD conftest.o` in
   7460     *64-bit*)
   7461       case $lt_cv_prog_gnu_ld in
   7462       yes*)
   7463         case $host in
   7464         i?86-*-solaris*|x86_64-*-solaris*)
   7465           LD="${LD-ld} -m elf_x86_64"
   7466           ;;
   7467         sparc*-*-solaris*)
   7468           LD="${LD-ld} -m elf64_sparc"
   7469           ;;
   7470         esac
   7471         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7472         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7473           LD=${LD-ld}_sol2
   7474         fi
   7475         ;;
   7476       *)
   7477 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7478 	  LD="${LD-ld} -64"
   7479 	fi
   7480 	;;
   7481       esac
   7482       ;;
   7483     esac
   7484   fi
   7485   rm -rf conftest*
   7486   ;;
   7487 esac
   7488 
   7489 need_locks=$enable_libtool_lock
   7490 
   7491 if test -n "$ac_tool_prefix"; then
   7492   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7493 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7495 printf %s "checking for $ac_word... " >&6; }
   7496 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7497 then :
   7498   printf %s "(cached) " >&6
   7499 else $as_nop
   7500   if test -n "$MANIFEST_TOOL"; then
   7501   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7502 else
   7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7504 for as_dir in $PATH
   7505 do
   7506   IFS=$as_save_IFS
   7507   case $as_dir in #(((
   7508     '') as_dir=./ ;;
   7509     */) ;;
   7510     *) as_dir=$as_dir/ ;;
   7511   esac
   7512     for ac_exec_ext in '' $ac_executable_extensions; do
   7513   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7514     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7515     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7516     break 2
   7517   fi
   7518 done
   7519   done
   7520 IFS=$as_save_IFS
   7521 
   7522 fi
   7523 fi
   7524 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7525 if test -n "$MANIFEST_TOOL"; then
   7526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7527 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7528 else
   7529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7530 printf "%s\n" "no" >&6; }
   7531 fi
   7532 
   7533 
   7534 fi
   7535 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7536   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7537   # Extract the first word of "mt", so it can be a program name with args.
   7538 set dummy mt; ac_word=$2
   7539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7540 printf %s "checking for $ac_word... " >&6; }
   7541 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7542 then :
   7543   printf %s "(cached) " >&6
   7544 else $as_nop
   7545   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7546   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7547 else
   7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7549 for as_dir in $PATH
   7550 do
   7551   IFS=$as_save_IFS
   7552   case $as_dir in #(((
   7553     '') as_dir=./ ;;
   7554     */) ;;
   7555     *) as_dir=$as_dir/ ;;
   7556   esac
   7557     for ac_exec_ext in '' $ac_executable_extensions; do
   7558   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7559     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7560     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7561     break 2
   7562   fi
   7563 done
   7564   done
   7565 IFS=$as_save_IFS
   7566 
   7567 fi
   7568 fi
   7569 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7570 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7572 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7573 else
   7574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7575 printf "%s\n" "no" >&6; }
   7576 fi
   7577 
   7578   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7579     MANIFEST_TOOL=":"
   7580   else
   7581     case $cross_compiling:$ac_tool_warned in
   7582 yes:)
   7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7584 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7585 ac_tool_warned=yes ;;
   7586 esac
   7587     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7588   fi
   7589 else
   7590   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7591 fi
   7592 
   7593 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7595 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7596 if test ${lt_cv_path_mainfest_tool+y}
   7597 then :
   7598   printf %s "(cached) " >&6
   7599 else $as_nop
   7600   lt_cv_path_mainfest_tool=no
   7601   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7602   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7603   cat conftest.err >&5
   7604   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7605     lt_cv_path_mainfest_tool=yes
   7606   fi
   7607   rm -f conftest*
   7608 fi
   7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7610 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7611 if test yes != "$lt_cv_path_mainfest_tool"; then
   7612   MANIFEST_TOOL=:
   7613 fi
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620   case $host_os in
   7621     rhapsody* | darwin*)
   7622     if test -n "$ac_tool_prefix"; then
   7623   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7624 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7626 printf %s "checking for $ac_word... " >&6; }
   7627 if test ${ac_cv_prog_DSYMUTIL+y}
   7628 then :
   7629   printf %s "(cached) " >&6
   7630 else $as_nop
   7631   if test -n "$DSYMUTIL"; then
   7632   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7633 else
   7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7635 for as_dir in $PATH
   7636 do
   7637   IFS=$as_save_IFS
   7638   case $as_dir in #(((
   7639     '') as_dir=./ ;;
   7640     */) ;;
   7641     *) as_dir=$as_dir/ ;;
   7642   esac
   7643     for ac_exec_ext in '' $ac_executable_extensions; do
   7644   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7645     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7646     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7647     break 2
   7648   fi
   7649 done
   7650   done
   7651 IFS=$as_save_IFS
   7652 
   7653 fi
   7654 fi
   7655 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7656 if test -n "$DSYMUTIL"; then
   7657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7658 printf "%s\n" "$DSYMUTIL" >&6; }
   7659 else
   7660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7661 printf "%s\n" "no" >&6; }
   7662 fi
   7663 
   7664 
   7665 fi
   7666 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7667   ac_ct_DSYMUTIL=$DSYMUTIL
   7668   # Extract the first word of "dsymutil", so it can be a program name with args.
   7669 set dummy dsymutil; ac_word=$2
   7670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7671 printf %s "checking for $ac_word... " >&6; }
   7672 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7673 then :
   7674   printf %s "(cached) " >&6
   7675 else $as_nop
   7676   if test -n "$ac_ct_DSYMUTIL"; then
   7677   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7678 else
   7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7680 for as_dir in $PATH
   7681 do
   7682   IFS=$as_save_IFS
   7683   case $as_dir in #(((
   7684     '') as_dir=./ ;;
   7685     */) ;;
   7686     *) as_dir=$as_dir/ ;;
   7687   esac
   7688     for ac_exec_ext in '' $ac_executable_extensions; do
   7689   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7690     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7691     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7692     break 2
   7693   fi
   7694 done
   7695   done
   7696 IFS=$as_save_IFS
   7697 
   7698 fi
   7699 fi
   7700 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7701 if test -n "$ac_ct_DSYMUTIL"; then
   7702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7703 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7704 else
   7705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7706 printf "%s\n" "no" >&6; }
   7707 fi
   7708 
   7709   if test "x$ac_ct_DSYMUTIL" = x; then
   7710     DSYMUTIL=":"
   7711   else
   7712     case $cross_compiling:$ac_tool_warned in
   7713 yes:)
   7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7716 ac_tool_warned=yes ;;
   7717 esac
   7718     DSYMUTIL=$ac_ct_DSYMUTIL
   7719   fi
   7720 else
   7721   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7722 fi
   7723 
   7724     if test -n "$ac_tool_prefix"; then
   7725   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7726 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7728 printf %s "checking for $ac_word... " >&6; }
   7729 if test ${ac_cv_prog_NMEDIT+y}
   7730 then :
   7731   printf %s "(cached) " >&6
   7732 else $as_nop
   7733   if test -n "$NMEDIT"; then
   7734   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7735 else
   7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7737 for as_dir in $PATH
   7738 do
   7739   IFS=$as_save_IFS
   7740   case $as_dir in #(((
   7741     '') as_dir=./ ;;
   7742     */) ;;
   7743     *) as_dir=$as_dir/ ;;
   7744   esac
   7745     for ac_exec_ext in '' $ac_executable_extensions; do
   7746   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7747     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7749     break 2
   7750   fi
   7751 done
   7752   done
   7753 IFS=$as_save_IFS
   7754 
   7755 fi
   7756 fi
   7757 NMEDIT=$ac_cv_prog_NMEDIT
   7758 if test -n "$NMEDIT"; then
   7759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7760 printf "%s\n" "$NMEDIT" >&6; }
   7761 else
   7762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7763 printf "%s\n" "no" >&6; }
   7764 fi
   7765 
   7766 
   7767 fi
   7768 if test -z "$ac_cv_prog_NMEDIT"; then
   7769   ac_ct_NMEDIT=$NMEDIT
   7770   # Extract the first word of "nmedit", so it can be a program name with args.
   7771 set dummy nmedit; ac_word=$2
   7772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7773 printf %s "checking for $ac_word... " >&6; }
   7774 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7775 then :
   7776   printf %s "(cached) " >&6
   7777 else $as_nop
   7778   if test -n "$ac_ct_NMEDIT"; then
   7779   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7780 else
   7781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7782 for as_dir in $PATH
   7783 do
   7784   IFS=$as_save_IFS
   7785   case $as_dir in #(((
   7786     '') as_dir=./ ;;
   7787     */) ;;
   7788     *) as_dir=$as_dir/ ;;
   7789   esac
   7790     for ac_exec_ext in '' $ac_executable_extensions; do
   7791   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7792     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7793     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7794     break 2
   7795   fi
   7796 done
   7797   done
   7798 IFS=$as_save_IFS
   7799 
   7800 fi
   7801 fi
   7802 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7803 if test -n "$ac_ct_NMEDIT"; then
   7804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7805 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7806 else
   7807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7808 printf "%s\n" "no" >&6; }
   7809 fi
   7810 
   7811   if test "x$ac_ct_NMEDIT" = x; then
   7812     NMEDIT=":"
   7813   else
   7814     case $cross_compiling:$ac_tool_warned in
   7815 yes:)
   7816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7817 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7818 ac_tool_warned=yes ;;
   7819 esac
   7820     NMEDIT=$ac_ct_NMEDIT
   7821   fi
   7822 else
   7823   NMEDIT="$ac_cv_prog_NMEDIT"
   7824 fi
   7825 
   7826     if test -n "$ac_tool_prefix"; then
   7827   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7828 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7830 printf %s "checking for $ac_word... " >&6; }
   7831 if test ${ac_cv_prog_LIPO+y}
   7832 then :
   7833   printf %s "(cached) " >&6
   7834 else $as_nop
   7835   if test -n "$LIPO"; then
   7836   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7837 else
   7838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7839 for as_dir in $PATH
   7840 do
   7841   IFS=$as_save_IFS
   7842   case $as_dir in #(((
   7843     '') as_dir=./ ;;
   7844     */) ;;
   7845     *) as_dir=$as_dir/ ;;
   7846   esac
   7847     for ac_exec_ext in '' $ac_executable_extensions; do
   7848   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7849     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7850     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7851     break 2
   7852   fi
   7853 done
   7854   done
   7855 IFS=$as_save_IFS
   7856 
   7857 fi
   7858 fi
   7859 LIPO=$ac_cv_prog_LIPO
   7860 if test -n "$LIPO"; then
   7861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7862 printf "%s\n" "$LIPO" >&6; }
   7863 else
   7864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7865 printf "%s\n" "no" >&6; }
   7866 fi
   7867 
   7868 
   7869 fi
   7870 if test -z "$ac_cv_prog_LIPO"; then
   7871   ac_ct_LIPO=$LIPO
   7872   # Extract the first word of "lipo", so it can be a program name with args.
   7873 set dummy lipo; ac_word=$2
   7874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7875 printf %s "checking for $ac_word... " >&6; }
   7876 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7877 then :
   7878   printf %s "(cached) " >&6
   7879 else $as_nop
   7880   if test -n "$ac_ct_LIPO"; then
   7881   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7882 else
   7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7884 for as_dir in $PATH
   7885 do
   7886   IFS=$as_save_IFS
   7887   case $as_dir in #(((
   7888     '') as_dir=./ ;;
   7889     */) ;;
   7890     *) as_dir=$as_dir/ ;;
   7891   esac
   7892     for ac_exec_ext in '' $ac_executable_extensions; do
   7893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7894     ac_cv_prog_ac_ct_LIPO="lipo"
   7895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7896     break 2
   7897   fi
   7898 done
   7899   done
   7900 IFS=$as_save_IFS
   7901 
   7902 fi
   7903 fi
   7904 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7905 if test -n "$ac_ct_LIPO"; then
   7906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7907 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7908 else
   7909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7910 printf "%s\n" "no" >&6; }
   7911 fi
   7912 
   7913   if test "x$ac_ct_LIPO" = x; then
   7914     LIPO=":"
   7915   else
   7916     case $cross_compiling:$ac_tool_warned in
   7917 yes:)
   7918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7919 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7920 ac_tool_warned=yes ;;
   7921 esac
   7922     LIPO=$ac_ct_LIPO
   7923   fi
   7924 else
   7925   LIPO="$ac_cv_prog_LIPO"
   7926 fi
   7927 
   7928     if test -n "$ac_tool_prefix"; then
   7929   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7930 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7932 printf %s "checking for $ac_word... " >&6; }
   7933 if test ${ac_cv_prog_OTOOL+y}
   7934 then :
   7935   printf %s "(cached) " >&6
   7936 else $as_nop
   7937   if test -n "$OTOOL"; then
   7938   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7939 else
   7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7941 for as_dir in $PATH
   7942 do
   7943   IFS=$as_save_IFS
   7944   case $as_dir in #(((
   7945     '') as_dir=./ ;;
   7946     */) ;;
   7947     *) as_dir=$as_dir/ ;;
   7948   esac
   7949     for ac_exec_ext in '' $ac_executable_extensions; do
   7950   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7951     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7952     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7953     break 2
   7954   fi
   7955 done
   7956   done
   7957 IFS=$as_save_IFS
   7958 
   7959 fi
   7960 fi
   7961 OTOOL=$ac_cv_prog_OTOOL
   7962 if test -n "$OTOOL"; then
   7963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7964 printf "%s\n" "$OTOOL" >&6; }
   7965 else
   7966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7967 printf "%s\n" "no" >&6; }
   7968 fi
   7969 
   7970 
   7971 fi
   7972 if test -z "$ac_cv_prog_OTOOL"; then
   7973   ac_ct_OTOOL=$OTOOL
   7974   # Extract the first word of "otool", so it can be a program name with args.
   7975 set dummy otool; ac_word=$2
   7976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7977 printf %s "checking for $ac_word... " >&6; }
   7978 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7979 then :
   7980   printf %s "(cached) " >&6
   7981 else $as_nop
   7982   if test -n "$ac_ct_OTOOL"; then
   7983   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7984 else
   7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7986 for as_dir in $PATH
   7987 do
   7988   IFS=$as_save_IFS
   7989   case $as_dir in #(((
   7990     '') as_dir=./ ;;
   7991     */) ;;
   7992     *) as_dir=$as_dir/ ;;
   7993   esac
   7994     for ac_exec_ext in '' $ac_executable_extensions; do
   7995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7996     ac_cv_prog_ac_ct_OTOOL="otool"
   7997     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7998     break 2
   7999   fi
   8000 done
   8001   done
   8002 IFS=$as_save_IFS
   8003 
   8004 fi
   8005 fi
   8006 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8007 if test -n "$ac_ct_OTOOL"; then
   8008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8009 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8010 else
   8011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8012 printf "%s\n" "no" >&6; }
   8013 fi
   8014 
   8015   if test "x$ac_ct_OTOOL" = x; then
   8016     OTOOL=":"
   8017   else
   8018     case $cross_compiling:$ac_tool_warned in
   8019 yes:)
   8020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8022 ac_tool_warned=yes ;;
   8023 esac
   8024     OTOOL=$ac_ct_OTOOL
   8025   fi
   8026 else
   8027   OTOOL="$ac_cv_prog_OTOOL"
   8028 fi
   8029 
   8030     if test -n "$ac_tool_prefix"; then
   8031   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8032 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8034 printf %s "checking for $ac_word... " >&6; }
   8035 if test ${ac_cv_prog_OTOOL64+y}
   8036 then :
   8037   printf %s "(cached) " >&6
   8038 else $as_nop
   8039   if test -n "$OTOOL64"; then
   8040   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8041 else
   8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8043 for as_dir in $PATH
   8044 do
   8045   IFS=$as_save_IFS
   8046   case $as_dir in #(((
   8047     '') as_dir=./ ;;
   8048     */) ;;
   8049     *) as_dir=$as_dir/ ;;
   8050   esac
   8051     for ac_exec_ext in '' $ac_executable_extensions; do
   8052   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8053     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8054     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8055     break 2
   8056   fi
   8057 done
   8058   done
   8059 IFS=$as_save_IFS
   8060 
   8061 fi
   8062 fi
   8063 OTOOL64=$ac_cv_prog_OTOOL64
   8064 if test -n "$OTOOL64"; then
   8065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8066 printf "%s\n" "$OTOOL64" >&6; }
   8067 else
   8068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8069 printf "%s\n" "no" >&6; }
   8070 fi
   8071 
   8072 
   8073 fi
   8074 if test -z "$ac_cv_prog_OTOOL64"; then
   8075   ac_ct_OTOOL64=$OTOOL64
   8076   # Extract the first word of "otool64", so it can be a program name with args.
   8077 set dummy otool64; ac_word=$2
   8078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8079 printf %s "checking for $ac_word... " >&6; }
   8080 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8081 then :
   8082   printf %s "(cached) " >&6
   8083 else $as_nop
   8084   if test -n "$ac_ct_OTOOL64"; then
   8085   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8086 else
   8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8088 for as_dir in $PATH
   8089 do
   8090   IFS=$as_save_IFS
   8091   case $as_dir in #(((
   8092     '') as_dir=./ ;;
   8093     */) ;;
   8094     *) as_dir=$as_dir/ ;;
   8095   esac
   8096     for ac_exec_ext in '' $ac_executable_extensions; do
   8097   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8098     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8099     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8100     break 2
   8101   fi
   8102 done
   8103   done
   8104 IFS=$as_save_IFS
   8105 
   8106 fi
   8107 fi
   8108 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8109 if test -n "$ac_ct_OTOOL64"; then
   8110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8111 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8112 else
   8113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8114 printf "%s\n" "no" >&6; }
   8115 fi
   8116 
   8117   if test "x$ac_ct_OTOOL64" = x; then
   8118     OTOOL64=":"
   8119   else
   8120     case $cross_compiling:$ac_tool_warned in
   8121 yes:)
   8122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8123 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8124 ac_tool_warned=yes ;;
   8125 esac
   8126     OTOOL64=$ac_ct_OTOOL64
   8127   fi
   8128 else
   8129   OTOOL64="$ac_cv_prog_OTOOL64"
   8130 fi
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8159 printf %s "checking for -single_module linker flag... " >&6; }
   8160 if test ${lt_cv_apple_cc_single_mod+y}
   8161 then :
   8162   printf %s "(cached) " >&6
   8163 else $as_nop
   8164   lt_cv_apple_cc_single_mod=no
   8165       if test -z "$LT_MULTI_MODULE"; then
   8166 	# By default we will add the -single_module flag. You can override
   8167 	# by either setting the environment variable LT_MULTI_MODULE
   8168 	# non-empty at configure time, or by adding -multi_module to the
   8169 	# link flags.
   8170 	rm -rf libconftest.dylib*
   8171 	echo "int foo(void){return 1;}" > conftest.c
   8172 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8173 -dynamiclib -Wl,-single_module conftest.c" >&5
   8174 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8175 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8176         _lt_result=$?
   8177 	# If there is a non-empty error log, and "single_module"
   8178 	# appears in it, assume the flag caused a linker warning
   8179         if test -s conftest.err && $GREP single_module conftest.err; then
   8180 	  cat conftest.err >&5
   8181 	# Otherwise, if the output was created with a 0 exit code from
   8182 	# the compiler, it worked.
   8183 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8184 	  lt_cv_apple_cc_single_mod=yes
   8185 	else
   8186 	  cat conftest.err >&5
   8187 	fi
   8188 	rm -rf libconftest.dylib*
   8189 	rm -f conftest.*
   8190       fi
   8191 fi
   8192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8193 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8194 
   8195     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8196 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8197 if test ${lt_cv_ld_exported_symbols_list+y}
   8198 then :
   8199   printf %s "(cached) " >&6
   8200 else $as_nop
   8201   lt_cv_ld_exported_symbols_list=no
   8202       save_LDFLAGS=$LDFLAGS
   8203       echo "_main" > conftest.sym
   8204       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8206 /* end confdefs.h.  */
   8207 
   8208 int
   8209 main (void)
   8210 {
   8211 
   8212   ;
   8213   return 0;
   8214 }
   8215 _ACEOF
   8216 if ac_fn_c_try_link "$LINENO"
   8217 then :
   8218   lt_cv_ld_exported_symbols_list=yes
   8219 else $as_nop
   8220   lt_cv_ld_exported_symbols_list=no
   8221 fi
   8222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8223     conftest$ac_exeext conftest.$ac_ext
   8224 	LDFLAGS=$save_LDFLAGS
   8225 
   8226 fi
   8227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8228 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8229 
   8230     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8231 printf %s "checking for -force_load linker flag... " >&6; }
   8232 if test ${lt_cv_ld_force_load+y}
   8233 then :
   8234   printf %s "(cached) " >&6
   8235 else $as_nop
   8236   lt_cv_ld_force_load=no
   8237       cat > conftest.c << _LT_EOF
   8238 int forced_loaded() { return 2;}
   8239 _LT_EOF
   8240       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8241       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8242       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8243       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8244       echo "$RANLIB libconftest.a" >&5
   8245       $RANLIB libconftest.a 2>&5
   8246       cat > conftest.c << _LT_EOF
   8247 int main() { return 0;}
   8248 _LT_EOF
   8249       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8250       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8251       _lt_result=$?
   8252       if test -s conftest.err && $GREP force_load conftest.err; then
   8253 	cat conftest.err >&5
   8254       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8255 	lt_cv_ld_force_load=yes
   8256       else
   8257 	cat conftest.err >&5
   8258       fi
   8259         rm -f conftest.err libconftest.a conftest conftest.c
   8260         rm -rf conftest.dSYM
   8261 
   8262 fi
   8263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8264 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8265     case $host_os in
   8266     rhapsody* | darwin1.[012])
   8267       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8268     darwin1.*)
   8269       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8270     darwin*)
   8271       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8272         10.[012],*|,*powerpc*-darwin[5-8]*)
   8273           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8274         *)
   8275           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8276       esac
   8277     ;;
   8278   esac
   8279     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8280       _lt_dar_single_mod='$single_module'
   8281     fi
   8282     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8283       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8284     else
   8285       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8286     fi
   8287     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8288       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8289     else
   8290       _lt_dsymutil=
   8291     fi
   8292     ;;
   8293   esac
   8294 
   8295 # func_munge_path_list VARIABLE PATH
   8296 # -----------------------------------
   8297 # VARIABLE is name of variable containing _space_ separated list of
   8298 # directories to be munged by the contents of PATH, which is string
   8299 # having a format:
   8300 # "DIR[:DIR]:"
   8301 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8302 # ":DIR[:DIR]"
   8303 #       string "DIR[ DIR]" will be appended to VARIABLE
   8304 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8305 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8306 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8307 # "DIR[:DIR]"
   8308 #       VARIABLE will be replaced by "DIR[ DIR]"
   8309 func_munge_path_list ()
   8310 {
   8311     case x$2 in
   8312     x)
   8313         ;;
   8314     *:)
   8315         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8316         ;;
   8317     x:*)
   8318         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8319         ;;
   8320     *::*)
   8321         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8322         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8323         ;;
   8324     *)
   8325         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8326         ;;
   8327     esac
   8328 }
   8329 
   8330 ac_header= ac_cache=
   8331 for ac_item in $ac_header_c_list
   8332 do
   8333   if test $ac_cache; then
   8334     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8335     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8336       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8337     fi
   8338     ac_header= ac_cache=
   8339   elif test $ac_header; then
   8340     ac_cache=$ac_item
   8341   else
   8342     ac_header=$ac_item
   8343   fi
   8344 done
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8354 then :
   8355 
   8356 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8357 
   8358 fi
   8359 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8360 "
   8361 if test "x$ac_cv_header_dlfcn_h" = xyes
   8362 then :
   8363   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8364 
   8365 fi
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 # Set options
   8372 
   8373 
   8374 
   8375         enable_dlopen=no
   8376 
   8377 
   8378   enable_win32_dll=no
   8379 
   8380 
   8381             # Check whether --enable-shared was given.
   8382 if test ${enable_shared+y}
   8383 then :
   8384   enableval=$enable_shared; p=${PACKAGE-default}
   8385     case $enableval in
   8386     yes) enable_shared=yes ;;
   8387     no) enable_shared=no ;;
   8388     *)
   8389       enable_shared=no
   8390       # Look at the argument we got.  We use all the common list separators.
   8391       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8392       for pkg in $enableval; do
   8393 	IFS=$lt_save_ifs
   8394 	if test "X$pkg" = "X$p"; then
   8395 	  enable_shared=yes
   8396 	fi
   8397       done
   8398       IFS=$lt_save_ifs
   8399       ;;
   8400     esac
   8401 else $as_nop
   8402   enable_shared=yes
   8403 fi
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413   # Check whether --enable-static was given.
   8414 if test ${enable_static+y}
   8415 then :
   8416   enableval=$enable_static; p=${PACKAGE-default}
   8417     case $enableval in
   8418     yes) enable_static=yes ;;
   8419     no) enable_static=no ;;
   8420     *)
   8421      enable_static=no
   8422       # Look at the argument we got.  We use all the common list separators.
   8423       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8424       for pkg in $enableval; do
   8425 	IFS=$lt_save_ifs
   8426 	if test "X$pkg" = "X$p"; then
   8427 	  enable_static=yes
   8428 	fi
   8429       done
   8430       IFS=$lt_save_ifs
   8431       ;;
   8432     esac
   8433 else $as_nop
   8434   enable_static=yes
   8435 fi
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 # Check whether --with-pic was given.
   8447 if test ${with_pic+y}
   8448 then :
   8449   withval=$with_pic; lt_p=${PACKAGE-default}
   8450     case $withval in
   8451     yes|no) pic_mode=$withval ;;
   8452     *)
   8453       pic_mode=default
   8454       # Look at the argument we got.  We use all the common list separators.
   8455       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8456       for lt_pkg in $withval; do
   8457 	IFS=$lt_save_ifs
   8458 	if test "X$lt_pkg" = "X$lt_p"; then
   8459 	  pic_mode=yes
   8460 	fi
   8461       done
   8462       IFS=$lt_save_ifs
   8463       ;;
   8464     esac
   8465 else $as_nop
   8466   pic_mode=default
   8467 fi
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476   # Check whether --enable-fast-install was given.
   8477 if test ${enable_fast_install+y}
   8478 then :
   8479   enableval=$enable_fast_install; p=${PACKAGE-default}
   8480     case $enableval in
   8481     yes) enable_fast_install=yes ;;
   8482     no) enable_fast_install=no ;;
   8483     *)
   8484       enable_fast_install=no
   8485       # Look at the argument we got.  We use all the common list separators.
   8486       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8487       for pkg in $enableval; do
   8488 	IFS=$lt_save_ifs
   8489 	if test "X$pkg" = "X$p"; then
   8490 	  enable_fast_install=yes
   8491 	fi
   8492       done
   8493       IFS=$lt_save_ifs
   8494       ;;
   8495     esac
   8496 else $as_nop
   8497   enable_fast_install=yes
   8498 fi
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507   shared_archive_member_spec=
   8508 case $host,$enable_shared in
   8509 power*-*-aix[5-9]*,yes)
   8510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8511 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8512 
   8513 # Check whether --with-aix-soname was given.
   8514 if test ${with_aix_soname+y}
   8515 then :
   8516   withval=$with_aix_soname; case $withval in
   8517     aix|svr4|both)
   8518       ;;
   8519     *)
   8520       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8521       ;;
   8522     esac
   8523     lt_cv_with_aix_soname=$with_aix_soname
   8524 else $as_nop
   8525   if test ${lt_cv_with_aix_soname+y}
   8526 then :
   8527   printf %s "(cached) " >&6
   8528 else $as_nop
   8529   lt_cv_with_aix_soname=aix
   8530 fi
   8531 
   8532     with_aix_soname=$lt_cv_with_aix_soname
   8533 fi
   8534 
   8535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8536 printf "%s\n" "$with_aix_soname" >&6; }
   8537   if test aix != "$with_aix_soname"; then
   8538     # For the AIX way of multilib, we name the shared archive member
   8539     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8540     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8541     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8542     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8543     if test 64 = "${OBJECT_MODE-32}"; then
   8544       shared_archive_member_spec=shr_64
   8545     else
   8546       shared_archive_member_spec=shr
   8547     fi
   8548   fi
   8549   ;;
   8550 *)
   8551   with_aix_soname=aix
   8552   ;;
   8553 esac
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 # This can be used to rebuild libtool when needed
   8565 LIBTOOL_DEPS=$ltmain
   8566 
   8567 # Always use our own libtool.
   8568 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 test -z "$LN_S" && LN_S="ln -s"
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 if test -n "${ZSH_VERSION+set}"; then
   8615    setopt NO_GLOB_SUBST
   8616 fi
   8617 
   8618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8619 printf %s "checking for objdir... " >&6; }
   8620 if test ${lt_cv_objdir+y}
   8621 then :
   8622   printf %s "(cached) " >&6
   8623 else $as_nop
   8624   rm -f .libs 2>/dev/null
   8625 mkdir .libs 2>/dev/null
   8626 if test -d .libs; then
   8627   lt_cv_objdir=.libs
   8628 else
   8629   # MS-DOS does not allow filenames that begin with a dot.
   8630   lt_cv_objdir=_libs
   8631 fi
   8632 rmdir .libs 2>/dev/null
   8633 fi
   8634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8635 printf "%s\n" "$lt_cv_objdir" >&6; }
   8636 objdir=$lt_cv_objdir
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8643 
   8644 
   8645 
   8646 
   8647 case $host_os in
   8648 aix3*)
   8649   # AIX sometimes has problems with the GCC collect2 program.  For some
   8650   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8651   # vanish in a puff of smoke.
   8652   if test set != "${COLLECT_NAMES+set}"; then
   8653     COLLECT_NAMES=
   8654     export COLLECT_NAMES
   8655   fi
   8656   ;;
   8657 esac
   8658 
   8659 # Global variables:
   8660 ofile=libtool
   8661 can_build_shared=yes
   8662 
   8663 # All known linkers require a '.a' archive for static linking (except MSVC and
   8664 # ICC, which need '.lib').
   8665 libext=a
   8666 
   8667 with_gnu_ld=$lt_cv_prog_gnu_ld
   8668 
   8669 old_CC=$CC
   8670 old_CFLAGS=$CFLAGS
   8671 
   8672 # Set sane defaults for various variables
   8673 test -z "$CC" && CC=cc
   8674 test -z "$LTCC" && LTCC=$CC
   8675 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8676 test -z "$LD" && LD=ld
   8677 test -z "$ac_objext" && ac_objext=o
   8678 
   8679 func_cc_basename $compiler
   8680 cc_basename=$func_cc_basename_result
   8681 
   8682 
   8683 # Only perform the check for file, if the check method requires it
   8684 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8685 case $deplibs_check_method in
   8686 file_magic*)
   8687   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8688     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8689 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8690 if test ${lt_cv_path_MAGIC_CMD+y}
   8691 then :
   8692   printf %s "(cached) " >&6
   8693 else $as_nop
   8694   case $MAGIC_CMD in
   8695 [\\/*] |  ?:[\\/]*)
   8696   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8697   ;;
   8698 *)
   8699   lt_save_MAGIC_CMD=$MAGIC_CMD
   8700   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8701   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8702   for ac_dir in $ac_dummy; do
   8703     IFS=$lt_save_ifs
   8704     test -z "$ac_dir" && ac_dir=.
   8705     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8706       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8707       if test -n "$file_magic_test_file"; then
   8708 	case $deplibs_check_method in
   8709 	"file_magic "*)
   8710 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8711 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8712 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8713 	    $EGREP "$file_magic_regex" > /dev/null; then
   8714 	    :
   8715 	  else
   8716 	    cat <<_LT_EOF 1>&2
   8717 
   8718 *** Warning: the command libtool uses to detect shared libraries,
   8719 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8720 *** The result is that libtool may fail to recognize shared libraries
   8721 *** as such.  This will affect the creation of libtool libraries that
   8722 *** depend on shared libraries, but programs linked with such libtool
   8723 *** libraries will work regardless of this problem.  Nevertheless, you
   8724 *** may want to report the problem to your system manager and/or to
   8725 *** bug-libtool@gnu.org
   8726 
   8727 _LT_EOF
   8728 	  fi ;;
   8729 	esac
   8730       fi
   8731       break
   8732     fi
   8733   done
   8734   IFS=$lt_save_ifs
   8735   MAGIC_CMD=$lt_save_MAGIC_CMD
   8736   ;;
   8737 esac
   8738 fi
   8739 
   8740 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8741 if test -n "$MAGIC_CMD"; then
   8742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8743 printf "%s\n" "$MAGIC_CMD" >&6; }
   8744 else
   8745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8746 printf "%s\n" "no" >&6; }
   8747 fi
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8754   if test -n "$ac_tool_prefix"; then
   8755     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8756 printf %s "checking for file... " >&6; }
   8757 if test ${lt_cv_path_MAGIC_CMD+y}
   8758 then :
   8759   printf %s "(cached) " >&6
   8760 else $as_nop
   8761   case $MAGIC_CMD in
   8762 [\\/*] |  ?:[\\/]*)
   8763   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8764   ;;
   8765 *)
   8766   lt_save_MAGIC_CMD=$MAGIC_CMD
   8767   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8768   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8769   for ac_dir in $ac_dummy; do
   8770     IFS=$lt_save_ifs
   8771     test -z "$ac_dir" && ac_dir=.
   8772     if test -f "$ac_dir/file"; then
   8773       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8774       if test -n "$file_magic_test_file"; then
   8775 	case $deplibs_check_method in
   8776 	"file_magic "*)
   8777 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8778 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8779 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8780 	    $EGREP "$file_magic_regex" > /dev/null; then
   8781 	    :
   8782 	  else
   8783 	    cat <<_LT_EOF 1>&2
   8784 
   8785 *** Warning: the command libtool uses to detect shared libraries,
   8786 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8787 *** The result is that libtool may fail to recognize shared libraries
   8788 *** as such.  This will affect the creation of libtool libraries that
   8789 *** depend on shared libraries, but programs linked with such libtool
   8790 *** libraries will work regardless of this problem.  Nevertheless, you
   8791 *** may want to report the problem to your system manager and/or to
   8792 *** bug-libtool@gnu.org
   8793 
   8794 _LT_EOF
   8795 	  fi ;;
   8796 	esac
   8797       fi
   8798       break
   8799     fi
   8800   done
   8801   IFS=$lt_save_ifs
   8802   MAGIC_CMD=$lt_save_MAGIC_CMD
   8803   ;;
   8804 esac
   8805 fi
   8806 
   8807 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8808 if test -n "$MAGIC_CMD"; then
   8809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8810 printf "%s\n" "$MAGIC_CMD" >&6; }
   8811 else
   8812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8813 printf "%s\n" "no" >&6; }
   8814 fi
   8815 
   8816 
   8817   else
   8818     MAGIC_CMD=:
   8819   fi
   8820 fi
   8821 
   8822   fi
   8823   ;;
   8824 esac
   8825 
   8826 # Use C for the default configuration in the libtool script
   8827 
   8828 lt_save_CC=$CC
   8829 ac_ext=c
   8830 ac_cpp='$CPP $CPPFLAGS'
   8831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8834 
   8835 
   8836 # Source file extension for C test sources.
   8837 ac_ext=c
   8838 
   8839 # Object file extension for compiled C test sources.
   8840 objext=o
   8841 objext=$objext
   8842 
   8843 # Code to be used in simple compile tests
   8844 lt_simple_compile_test_code="int some_variable = 0;"
   8845 
   8846 # Code to be used in simple link tests
   8847 lt_simple_link_test_code='int main(){return(0);}'
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 # If no C compiler was specified, use CC.
   8856 LTCC=${LTCC-"$CC"}
   8857 
   8858 # If no C compiler flags were specified, use CFLAGS.
   8859 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8860 
   8861 # Allow CC to be a program name with arguments.
   8862 compiler=$CC
   8863 
   8864 # Save the default compiler, since it gets overwritten when the other
   8865 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8866 compiler_DEFAULT=$CC
   8867 
   8868 # save warnings/boilerplate of simple test code
   8869 ac_outfile=conftest.$ac_objext
   8870 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8871 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8872 _lt_compiler_boilerplate=`cat conftest.err`
   8873 $RM conftest*
   8874 
   8875 ac_outfile=conftest.$ac_objext
   8876 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8877 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8878 _lt_linker_boilerplate=`cat conftest.err`
   8879 $RM -r conftest*
   8880 
   8881 
   8882 if test -n "$compiler"; then
   8883 
   8884 lt_prog_compiler_no_builtin_flag=
   8885 
   8886 if test yes = "$GCC"; then
   8887   case $cc_basename in
   8888   nvcc*)
   8889     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8890   *)
   8891     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8892   esac
   8893 
   8894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8895 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8896 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8897 then :
   8898   printf %s "(cached) " >&6
   8899 else $as_nop
   8900   lt_cv_prog_compiler_rtti_exceptions=no
   8901    ac_outfile=conftest.$ac_objext
   8902    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8903    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8904    # Insert the option either (1) after the last *FLAGS variable, or
   8905    # (2) before a word containing "conftest.", or (3) at the end.
   8906    # Note that $ac_compile itself does not contain backslashes and begins
   8907    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8908    # The option is referenced via a variable to avoid confusing sed.
   8909    lt_compile=`echo "$ac_compile" | $SED \
   8910    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8911    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8912    -e 's:$: $lt_compiler_flag:'`
   8913    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8914    (eval "$lt_compile" 2>conftest.err)
   8915    ac_status=$?
   8916    cat conftest.err >&5
   8917    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8918    if (exit $ac_status) && test -s "$ac_outfile"; then
   8919      # The compiler can only warn and ignore the option if not recognized
   8920      # So say no if there are warnings other than the usual output.
   8921      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8922      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8923      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8924        lt_cv_prog_compiler_rtti_exceptions=yes
   8925      fi
   8926    fi
   8927    $RM conftest*
   8928 
   8929 fi
   8930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8931 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8932 
   8933 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8934     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8935 else
   8936     :
   8937 fi
   8938 
   8939 fi
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946   lt_prog_compiler_wl=
   8947 lt_prog_compiler_pic=
   8948 lt_prog_compiler_static=
   8949 
   8950 
   8951   if test yes = "$GCC"; then
   8952     lt_prog_compiler_wl='-Wl,'
   8953     lt_prog_compiler_static='-static'
   8954 
   8955     case $host_os in
   8956       aix*)
   8957       # All AIX code is PIC.
   8958       if test ia64 = "$host_cpu"; then
   8959 	# AIX 5 now supports IA64 processor
   8960 	lt_prog_compiler_static='-Bstatic'
   8961       fi
   8962       lt_prog_compiler_pic='-fPIC'
   8963       ;;
   8964 
   8965     amigaos*)
   8966       case $host_cpu in
   8967       powerpc)
   8968             # see comment about AmigaOS4 .so support
   8969             lt_prog_compiler_pic='-fPIC'
   8970         ;;
   8971       m68k)
   8972             # FIXME: we need at least 68020 code to build shared libraries, but
   8973             # adding the '-m68020' flag to GCC prevents building anything better,
   8974             # like '-m68040'.
   8975             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8976         ;;
   8977       esac
   8978       ;;
   8979 
   8980     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8981       # PIC is the default for these OSes.
   8982       ;;
   8983 
   8984     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8985       # This hack is so that the source file can tell whether it is being
   8986       # built for inclusion in a dll (and should export symbols for example).
   8987       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8988       # (--disable-auto-import) libraries
   8989       lt_prog_compiler_pic='-DDLL_EXPORT'
   8990       case $host_os in
   8991       os2*)
   8992 	lt_prog_compiler_static='$wl-static'
   8993 	;;
   8994       esac
   8995       ;;
   8996 
   8997     darwin* | rhapsody*)
   8998       # PIC is the default on this platform
   8999       # Common symbols not allowed in MH_DYLIB files
   9000       lt_prog_compiler_pic='-fno-common'
   9001       ;;
   9002 
   9003     haiku*)
   9004       # PIC is the default for Haiku.
   9005       # The "-static" flag exists, but is broken.
   9006       lt_prog_compiler_static=
   9007       ;;
   9008 
   9009     hpux*)
   9010       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9011       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9012       # sets the default TLS model and affects inlining.
   9013       case $host_cpu in
   9014       hppa*64*)
   9015 	# +Z the default
   9016 	;;
   9017       *)
   9018 	lt_prog_compiler_pic='-fPIC'
   9019 	;;
   9020       esac
   9021       ;;
   9022 
   9023     interix[3-9]*)
   9024       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9025       # Instead, we relocate shared libraries at runtime.
   9026       ;;
   9027 
   9028     msdosdjgpp*)
   9029       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9030       # on systems that don't support them.
   9031       lt_prog_compiler_can_build_shared=no
   9032       enable_shared=no
   9033       ;;
   9034 
   9035     *nto* | *qnx*)
   9036       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9037       # it will coredump.
   9038       lt_prog_compiler_pic='-fPIC -shared'
   9039       ;;
   9040 
   9041     sysv4*MP*)
   9042       if test -d /usr/nec; then
   9043 	lt_prog_compiler_pic=-Kconform_pic
   9044       fi
   9045       ;;
   9046 
   9047     *)
   9048       lt_prog_compiler_pic='-fPIC'
   9049       ;;
   9050     esac
   9051 
   9052     case $cc_basename in
   9053     nvcc*) # Cuda Compiler Driver 2.2
   9054       lt_prog_compiler_wl='-Xlinker '
   9055       if test -n "$lt_prog_compiler_pic"; then
   9056         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9057       fi
   9058       ;;
   9059     esac
   9060   else
   9061     # PORTME Check for flag to pass linker flags through the system compiler.
   9062     case $host_os in
   9063     aix*)
   9064       lt_prog_compiler_wl='-Wl,'
   9065       if test ia64 = "$host_cpu"; then
   9066 	# AIX 5 now supports IA64 processor
   9067 	lt_prog_compiler_static='-Bstatic'
   9068       else
   9069 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9070       fi
   9071       ;;
   9072 
   9073     darwin* | rhapsody*)
   9074       # PIC is the default on this platform
   9075       # Common symbols not allowed in MH_DYLIB files
   9076       lt_prog_compiler_pic='-fno-common'
   9077       case $cc_basename in
   9078       nagfor*)
   9079         # NAG Fortran compiler
   9080         lt_prog_compiler_wl='-Wl,-Wl,,'
   9081         lt_prog_compiler_pic='-PIC'
   9082         lt_prog_compiler_static='-Bstatic'
   9083         ;;
   9084       esac
   9085       ;;
   9086 
   9087     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9088       # This hack is so that the source file can tell whether it is being
   9089       # built for inclusion in a dll (and should export symbols for example).
   9090       lt_prog_compiler_pic='-DDLL_EXPORT'
   9091       case $host_os in
   9092       os2*)
   9093 	lt_prog_compiler_static='$wl-static'
   9094 	;;
   9095       esac
   9096       ;;
   9097 
   9098     hpux9* | hpux10* | hpux11*)
   9099       lt_prog_compiler_wl='-Wl,'
   9100       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9101       # not for PA HP-UX.
   9102       case $host_cpu in
   9103       hppa*64*|ia64*)
   9104 	# +Z the default
   9105 	;;
   9106       *)
   9107 	lt_prog_compiler_pic='+Z'
   9108 	;;
   9109       esac
   9110       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9111       lt_prog_compiler_static='$wl-a ${wl}archive'
   9112       ;;
   9113 
   9114     irix5* | irix6* | nonstopux*)
   9115       lt_prog_compiler_wl='-Wl,'
   9116       # PIC (with -KPIC) is the default.
   9117       lt_prog_compiler_static='-non_shared'
   9118       ;;
   9119 
   9120     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9121       case $cc_basename in
   9122       # old Intel for x86_64, which still supported -KPIC.
   9123       ecc*)
   9124 	lt_prog_compiler_wl='-Wl,'
   9125 	lt_prog_compiler_pic='-KPIC'
   9126 	lt_prog_compiler_static='-static'
   9127         ;;
   9128       # icc used to be incompatible with GCC.
   9129       # ICC 10 doesn't accept -KPIC any more.
   9130       icc* | ifort*)
   9131 	lt_prog_compiler_wl='-Wl,'
   9132 	lt_prog_compiler_pic='-fPIC'
   9133 	lt_prog_compiler_static='-static'
   9134         ;;
   9135       # Lahey Fortran 8.1.
   9136       lf95*)
   9137 	lt_prog_compiler_wl='-Wl,'
   9138 	lt_prog_compiler_pic='--shared'
   9139 	lt_prog_compiler_static='--static'
   9140 	;;
   9141       nagfor*)
   9142 	# NAG Fortran compiler
   9143 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9144 	lt_prog_compiler_pic='-PIC'
   9145 	lt_prog_compiler_static='-Bstatic'
   9146 	;;
   9147       tcc*)
   9148 	# Fabrice Bellard et al's Tiny C Compiler
   9149 	lt_prog_compiler_wl='-Wl,'
   9150 	lt_prog_compiler_pic='-fPIC'
   9151 	lt_prog_compiler_static='-static'
   9152 	;;
   9153       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9154         # Portland Group compilers (*not* the Pentium gcc compiler,
   9155 	# which looks to be a dead project)
   9156 	lt_prog_compiler_wl='-Wl,'
   9157 	lt_prog_compiler_pic='-fpic'
   9158 	lt_prog_compiler_static='-Bstatic'
   9159         ;;
   9160       ccc*)
   9161         lt_prog_compiler_wl='-Wl,'
   9162         # All Alpha code is PIC.
   9163         lt_prog_compiler_static='-non_shared'
   9164         ;;
   9165       xl* | bgxl* | bgf* | mpixl*)
   9166 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9167 	lt_prog_compiler_wl='-Wl,'
   9168 	lt_prog_compiler_pic='-qpic'
   9169 	lt_prog_compiler_static='-qstaticlink'
   9170 	;;
   9171       *)
   9172 	case `$CC -V 2>&1 | $SED 5q` in
   9173 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9174 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9175 	  lt_prog_compiler_pic='-KPIC'
   9176 	  lt_prog_compiler_static='-Bstatic'
   9177 	  lt_prog_compiler_wl=''
   9178 	  ;;
   9179 	*Sun\ F* | *Sun*Fortran*)
   9180 	  lt_prog_compiler_pic='-KPIC'
   9181 	  lt_prog_compiler_static='-Bstatic'
   9182 	  lt_prog_compiler_wl='-Qoption ld '
   9183 	  ;;
   9184 	*Sun\ C*)
   9185 	  # Sun C 5.9
   9186 	  lt_prog_compiler_pic='-KPIC'
   9187 	  lt_prog_compiler_static='-Bstatic'
   9188 	  lt_prog_compiler_wl='-Wl,'
   9189 	  ;;
   9190         *Intel*\ [CF]*Compiler*)
   9191 	  lt_prog_compiler_wl='-Wl,'
   9192 	  lt_prog_compiler_pic='-fPIC'
   9193 	  lt_prog_compiler_static='-static'
   9194 	  ;;
   9195 	*Portland\ Group*)
   9196 	  lt_prog_compiler_wl='-Wl,'
   9197 	  lt_prog_compiler_pic='-fpic'
   9198 	  lt_prog_compiler_static='-Bstatic'
   9199 	  ;;
   9200 	esac
   9201 	;;
   9202       esac
   9203       ;;
   9204 
   9205     newsos6)
   9206       lt_prog_compiler_pic='-KPIC'
   9207       lt_prog_compiler_static='-Bstatic'
   9208       ;;
   9209 
   9210     *nto* | *qnx*)
   9211       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9212       # it will coredump.
   9213       lt_prog_compiler_pic='-fPIC -shared'
   9214       ;;
   9215 
   9216     osf3* | osf4* | osf5*)
   9217       lt_prog_compiler_wl='-Wl,'
   9218       # All OSF/1 code is PIC.
   9219       lt_prog_compiler_static='-non_shared'
   9220       ;;
   9221 
   9222     rdos*)
   9223       lt_prog_compiler_static='-non_shared'
   9224       ;;
   9225 
   9226     solaris*)
   9227       lt_prog_compiler_pic='-KPIC'
   9228       lt_prog_compiler_static='-Bstatic'
   9229       case $cc_basename in
   9230       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9231 	lt_prog_compiler_wl='-Qoption ld ';;
   9232       *)
   9233 	lt_prog_compiler_wl='-Wl,';;
   9234       esac
   9235       ;;
   9236 
   9237     sunos4*)
   9238       lt_prog_compiler_wl='-Qoption ld '
   9239       lt_prog_compiler_pic='-PIC'
   9240       lt_prog_compiler_static='-Bstatic'
   9241       ;;
   9242 
   9243     sysv4 | sysv4.2uw2* | sysv4.3*)
   9244       lt_prog_compiler_wl='-Wl,'
   9245       lt_prog_compiler_pic='-KPIC'
   9246       lt_prog_compiler_static='-Bstatic'
   9247       ;;
   9248 
   9249     sysv4*MP*)
   9250       if test -d /usr/nec; then
   9251 	lt_prog_compiler_pic='-Kconform_pic'
   9252 	lt_prog_compiler_static='-Bstatic'
   9253       fi
   9254       ;;
   9255 
   9256     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9257       lt_prog_compiler_wl='-Wl,'
   9258       lt_prog_compiler_pic='-KPIC'
   9259       lt_prog_compiler_static='-Bstatic'
   9260       ;;
   9261 
   9262     unicos*)
   9263       lt_prog_compiler_wl='-Wl,'
   9264       lt_prog_compiler_can_build_shared=no
   9265       ;;
   9266 
   9267     uts4*)
   9268       lt_prog_compiler_pic='-pic'
   9269       lt_prog_compiler_static='-Bstatic'
   9270       ;;
   9271 
   9272     *)
   9273       lt_prog_compiler_can_build_shared=no
   9274       ;;
   9275     esac
   9276   fi
   9277 
   9278 case $host_os in
   9279   # For platforms that do not support PIC, -DPIC is meaningless:
   9280   *djgpp*)
   9281     lt_prog_compiler_pic=
   9282     ;;
   9283   *)
   9284     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9285     ;;
   9286 esac
   9287 
   9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9289 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9290 if test ${lt_cv_prog_compiler_pic+y}
   9291 then :
   9292   printf %s "(cached) " >&6
   9293 else $as_nop
   9294   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9295 fi
   9296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9297 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9298 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9299 
   9300 #
   9301 # Check to make sure the PIC flag actually works.
   9302 #
   9303 if test -n "$lt_prog_compiler_pic"; then
   9304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9305 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9306 if test ${lt_cv_prog_compiler_pic_works+y}
   9307 then :
   9308   printf %s "(cached) " >&6
   9309 else $as_nop
   9310   lt_cv_prog_compiler_pic_works=no
   9311    ac_outfile=conftest.$ac_objext
   9312    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9313    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9314    # Insert the option either (1) after the last *FLAGS variable, or
   9315    # (2) before a word containing "conftest.", or (3) at the end.
   9316    # Note that $ac_compile itself does not contain backslashes and begins
   9317    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9318    # The option is referenced via a variable to avoid confusing sed.
   9319    lt_compile=`echo "$ac_compile" | $SED \
   9320    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9321    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9322    -e 's:$: $lt_compiler_flag:'`
   9323    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9324    (eval "$lt_compile" 2>conftest.err)
   9325    ac_status=$?
   9326    cat conftest.err >&5
   9327    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9328    if (exit $ac_status) && test -s "$ac_outfile"; then
   9329      # The compiler can only warn and ignore the option if not recognized
   9330      # So say no if there are warnings other than the usual output.
   9331      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9332      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9333      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9334        lt_cv_prog_compiler_pic_works=yes
   9335      fi
   9336    fi
   9337    $RM conftest*
   9338 
   9339 fi
   9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9341 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9342 
   9343 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9344     case $lt_prog_compiler_pic in
   9345      "" | " "*) ;;
   9346      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9347      esac
   9348 else
   9349     lt_prog_compiler_pic=
   9350      lt_prog_compiler_can_build_shared=no
   9351 fi
   9352 
   9353 fi
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 #
   9366 # Check to make sure the static flag actually works.
   9367 #
   9368 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9370 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9371 if test ${lt_cv_prog_compiler_static_works+y}
   9372 then :
   9373   printf %s "(cached) " >&6
   9374 else $as_nop
   9375   lt_cv_prog_compiler_static_works=no
   9376    save_LDFLAGS=$LDFLAGS
   9377    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9378    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9379    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9380      # The linker can only warn and ignore the option if not recognized
   9381      # So say no if there are warnings
   9382      if test -s conftest.err; then
   9383        # Append any errors to the config.log.
   9384        cat conftest.err 1>&5
   9385        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9386        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9387        if diff conftest.exp conftest.er2 >/dev/null; then
   9388          lt_cv_prog_compiler_static_works=yes
   9389        fi
   9390      else
   9391        lt_cv_prog_compiler_static_works=yes
   9392      fi
   9393    fi
   9394    $RM -r conftest*
   9395    LDFLAGS=$save_LDFLAGS
   9396 
   9397 fi
   9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9399 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9400 
   9401 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9402     :
   9403 else
   9404     lt_prog_compiler_static=
   9405 fi
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9414 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9415 if test ${lt_cv_prog_compiler_c_o+y}
   9416 then :
   9417   printf %s "(cached) " >&6
   9418 else $as_nop
   9419   lt_cv_prog_compiler_c_o=no
   9420    $RM -r conftest 2>/dev/null
   9421    mkdir conftest
   9422    cd conftest
   9423    mkdir out
   9424    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9425 
   9426    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9427    # Insert the option either (1) after the last *FLAGS variable, or
   9428    # (2) before a word containing "conftest.", or (3) at the end.
   9429    # Note that $ac_compile itself does not contain backslashes and begins
   9430    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9431    lt_compile=`echo "$ac_compile" | $SED \
   9432    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9433    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9434    -e 's:$: $lt_compiler_flag:'`
   9435    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9436    (eval "$lt_compile" 2>out/conftest.err)
   9437    ac_status=$?
   9438    cat out/conftest.err >&5
   9439    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9440    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9441    then
   9442      # The compiler can only warn and ignore the option if not recognized
   9443      # So say no if there are warnings
   9444      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9445      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9446      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9447        lt_cv_prog_compiler_c_o=yes
   9448      fi
   9449    fi
   9450    chmod u+w . 2>&5
   9451    $RM conftest*
   9452    # SGI C++ compiler will create directory out/ii_files/ for
   9453    # template instantiation
   9454    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9455    $RM out/* && rmdir out
   9456    cd ..
   9457    $RM -r conftest
   9458    $RM conftest*
   9459 
   9460 fi
   9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9462 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9470 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9471 if test ${lt_cv_prog_compiler_c_o+y}
   9472 then :
   9473   printf %s "(cached) " >&6
   9474 else $as_nop
   9475   lt_cv_prog_compiler_c_o=no
   9476    $RM -r conftest 2>/dev/null
   9477    mkdir conftest
   9478    cd conftest
   9479    mkdir out
   9480    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9481 
   9482    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9483    # Insert the option either (1) after the last *FLAGS variable, or
   9484    # (2) before a word containing "conftest.", or (3) at the end.
   9485    # Note that $ac_compile itself does not contain backslashes and begins
   9486    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9487    lt_compile=`echo "$ac_compile" | $SED \
   9488    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9489    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9490    -e 's:$: $lt_compiler_flag:'`
   9491    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9492    (eval "$lt_compile" 2>out/conftest.err)
   9493    ac_status=$?
   9494    cat out/conftest.err >&5
   9495    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9496    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9497    then
   9498      # The compiler can only warn and ignore the option if not recognized
   9499      # So say no if there are warnings
   9500      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9501      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9502      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9503        lt_cv_prog_compiler_c_o=yes
   9504      fi
   9505    fi
   9506    chmod u+w . 2>&5
   9507    $RM conftest*
   9508    # SGI C++ compiler will create directory out/ii_files/ for
   9509    # template instantiation
   9510    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9511    $RM out/* && rmdir out
   9512    cd ..
   9513    $RM -r conftest
   9514    $RM conftest*
   9515 
   9516 fi
   9517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9518 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9519 
   9520 
   9521 
   9522 
   9523 hard_links=nottested
   9524 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9525   # do not overwrite the value of need_locks provided by the user
   9526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9527 printf %s "checking if we can lock with hard links... " >&6; }
   9528   hard_links=yes
   9529   $RM conftest*
   9530   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9531   touch conftest.a
   9532   ln conftest.a conftest.b 2>&5 || hard_links=no
   9533   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9535 printf "%s\n" "$hard_links" >&6; }
   9536   if test no = "$hard_links"; then
   9537     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9538 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9539     need_locks=warn
   9540   fi
   9541 else
   9542   need_locks=no
   9543 fi
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9551 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9552 
   9553   runpath_var=
   9554   allow_undefined_flag=
   9555   always_export_symbols=no
   9556   archive_cmds=
   9557   archive_expsym_cmds=
   9558   compiler_needs_object=no
   9559   enable_shared_with_static_runtimes=no
   9560   export_dynamic_flag_spec=
   9561   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9562   hardcode_automatic=no
   9563   hardcode_direct=no
   9564   hardcode_direct_absolute=no
   9565   hardcode_libdir_flag_spec=
   9566   hardcode_libdir_separator=
   9567   hardcode_minus_L=no
   9568   hardcode_shlibpath_var=unsupported
   9569   inherit_rpath=no
   9570   link_all_deplibs=unknown
   9571   module_cmds=
   9572   module_expsym_cmds=
   9573   old_archive_from_new_cmds=
   9574   old_archive_from_expsyms_cmds=
   9575   thread_safe_flag_spec=
   9576   whole_archive_flag_spec=
   9577   # include_expsyms should be a list of space-separated symbols to be *always*
   9578   # included in the symbol list
   9579   include_expsyms=
   9580   # exclude_expsyms can be an extended regexp of symbols to exclude
   9581   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9582   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9583   # as well as any symbol that contains 'd'.
   9584   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9585   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9586   # platforms (ab)use it in PIC code, but their linkers get confused if
   9587   # the symbol is explicitly referenced.  Since portable code cannot
   9588   # rely on this symbol name, it's probably fine to never include it in
   9589   # preloaded symbol tables.
   9590   # Exclude shared library initialization/finalization symbols.
   9591   extract_expsyms_cmds=
   9592 
   9593   case $host_os in
   9594   cygwin* | mingw* | pw32* | cegcc*)
   9595     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9596     # When not using gcc, we currently assume that we are using
   9597     # Microsoft Visual C++ or Intel C++ Compiler.
   9598     if test yes != "$GCC"; then
   9599       with_gnu_ld=no
   9600     fi
   9601     ;;
   9602   interix*)
   9603     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9604     with_gnu_ld=yes
   9605     ;;
   9606   openbsd* | bitrig*)
   9607     with_gnu_ld=no
   9608     ;;
   9609   esac
   9610 
   9611   ld_shlibs=yes
   9612 
   9613   # On some targets, GNU ld is compatible enough with the native linker
   9614   # that we're better off using the native interface for both.
   9615   lt_use_gnu_ld_interface=no
   9616   if test yes = "$with_gnu_ld"; then
   9617     case $host_os in
   9618       aix*)
   9619 	# The AIX port of GNU ld has always aspired to compatibility
   9620 	# with the native linker.  However, as the warning in the GNU ld
   9621 	# block says, versions before 2.19.5* couldn't really create working
   9622 	# shared libraries, regardless of the interface used.
   9623 	case `$LD -v 2>&1` in
   9624 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9625 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9626 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9627 	  *)
   9628 	    lt_use_gnu_ld_interface=yes
   9629 	    ;;
   9630 	esac
   9631 	;;
   9632       *)
   9633 	lt_use_gnu_ld_interface=yes
   9634 	;;
   9635     esac
   9636   fi
   9637 
   9638   if test yes = "$lt_use_gnu_ld_interface"; then
   9639     # If archive_cmds runs LD, not CC, wlarc should be empty
   9640     wlarc='$wl'
   9641 
   9642     # Set some defaults for GNU ld with shared library support. These
   9643     # are reset later if shared libraries are not supported. Putting them
   9644     # here allows them to be overridden if necessary.
   9645     runpath_var=LD_RUN_PATH
   9646     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9647     export_dynamic_flag_spec='$wl--export-dynamic'
   9648     # ancient GNU ld didn't support --whole-archive et. al.
   9649     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9650       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9651     else
   9652       whole_archive_flag_spec=
   9653     fi
   9654     supports_anon_versioning=no
   9655     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9656       *GNU\ gold*) supports_anon_versioning=yes ;;
   9657       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9658       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9659       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9660       *\ 2.11.*) ;; # other 2.11 versions
   9661       *) supports_anon_versioning=yes ;;
   9662     esac
   9663 
   9664     # See if GNU ld supports shared libraries.
   9665     case $host_os in
   9666     aix[3-9]*)
   9667       # On AIX/PPC, the GNU linker is very broken
   9668       if test ia64 != "$host_cpu"; then
   9669 	ld_shlibs=no
   9670 	cat <<_LT_EOF 1>&2
   9671 
   9672 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9673 *** to be unable to reliably create shared libraries on AIX.
   9674 *** Therefore, libtool is disabling shared libraries support.  If you
   9675 *** really care for shared libraries, you may want to install binutils
   9676 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9677 *** You will then need to restart the configuration process.
   9678 
   9679 _LT_EOF
   9680       fi
   9681       ;;
   9682 
   9683     amigaos*)
   9684       case $host_cpu in
   9685       powerpc)
   9686             # see comment about AmigaOS4 .so support
   9687             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9688             archive_expsym_cmds=''
   9689         ;;
   9690       m68k)
   9691             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)'
   9692             hardcode_libdir_flag_spec='-L$libdir'
   9693             hardcode_minus_L=yes
   9694         ;;
   9695       esac
   9696       ;;
   9697 
   9698     beos*)
   9699       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9700 	allow_undefined_flag=unsupported
   9701 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9702 	# support --undefined.  This deserves some investigation.  FIXME
   9703 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9704       else
   9705 	ld_shlibs=no
   9706       fi
   9707       ;;
   9708 
   9709     cygwin* | mingw* | pw32* | cegcc*)
   9710       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9711       # as there is no search path for DLLs.
   9712       hardcode_libdir_flag_spec='-L$libdir'
   9713       export_dynamic_flag_spec='$wl--export-all-symbols'
   9714       allow_undefined_flag=unsupported
   9715       always_export_symbols=no
   9716       enable_shared_with_static_runtimes=yes
   9717       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'
   9718       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9719 
   9720       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9721         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9722 	# If the export-symbols file already is a .def file, use it as
   9723 	# is; otherwise, prepend EXPORTS...
   9724 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9725           cp $export_symbols $output_objdir/$soname.def;
   9726         else
   9727           echo EXPORTS > $output_objdir/$soname.def;
   9728           cat $export_symbols >> $output_objdir/$soname.def;
   9729         fi~
   9730         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9731       else
   9732 	ld_shlibs=no
   9733       fi
   9734       ;;
   9735 
   9736     haiku*)
   9737       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9738       link_all_deplibs=yes
   9739       ;;
   9740 
   9741     os2*)
   9742       hardcode_libdir_flag_spec='-L$libdir'
   9743       hardcode_minus_L=yes
   9744       allow_undefined_flag=unsupported
   9745       shrext_cmds=.dll
   9746       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9747 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9748 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9749 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9750 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9751 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9752 	emximp -o $lib $output_objdir/$libname.def'
   9753       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9754 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9755 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9756 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9757 	prefix_cmds="$SED"~
   9758 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9759 	  prefix_cmds="$prefix_cmds -e 1d";
   9760 	fi~
   9761 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9762 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9763 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9764 	emximp -o $lib $output_objdir/$libname.def'
   9765       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9766       enable_shared_with_static_runtimes=yes
   9767       file_list_spec='@'
   9768       ;;
   9769 
   9770     interix[3-9]*)
   9771       hardcode_direct=no
   9772       hardcode_shlibpath_var=no
   9773       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9774       export_dynamic_flag_spec='$wl-E'
   9775       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9776       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9777       # default) and relocated if they conflict, which is a slow very memory
   9778       # consuming and fragmenting process.  To avoid this, we pick a random,
   9779       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9780       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9781       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9782       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'
   9783       ;;
   9784 
   9785     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9786       tmp_diet=no
   9787       if test linux-dietlibc = "$host_os"; then
   9788 	case $cc_basename in
   9789 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9790 	esac
   9791       fi
   9792       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9793 	 && test no = "$tmp_diet"
   9794       then
   9795 	tmp_addflag=' $pic_flag'
   9796 	tmp_sharedflag='-shared'
   9797 	case $cc_basename,$host_cpu in
   9798         pgcc*)				# Portland Group C compiler
   9799 	  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'
   9800 	  tmp_addflag=' $pic_flag'
   9801 	  ;;
   9802 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9803 					# Portland Group f77 and f90 compilers
   9804 	  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'
   9805 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9806 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9807 	  tmp_addflag=' -i_dynamic' ;;
   9808 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9809 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9810 	ifc* | ifort*)			# Intel Fortran compiler
   9811 	  tmp_addflag=' -nofor_main' ;;
   9812 	lf95*)				# Lahey Fortran 8.1
   9813 	  whole_archive_flag_spec=
   9814 	  tmp_sharedflag='--shared' ;;
   9815         nagfor*)                        # NAGFOR 5.3
   9816           tmp_sharedflag='-Wl,-shared' ;;
   9817 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9818 	  tmp_sharedflag='-qmkshrobj'
   9819 	  tmp_addflag= ;;
   9820 	nvcc*)	# Cuda Compiler Driver 2.2
   9821 	  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'
   9822 	  compiler_needs_object=yes
   9823 	  ;;
   9824 	esac
   9825 	case `$CC -V 2>&1 | $SED 5q` in
   9826 	*Sun\ C*)			# Sun C 5.9
   9827 	  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'
   9828 	  compiler_needs_object=yes
   9829 	  tmp_sharedflag='-G' ;;
   9830 	*Sun\ F*)			# Sun Fortran 8.3
   9831 	  tmp_sharedflag='-G' ;;
   9832 	esac
   9833 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9834 
   9835         if test yes = "$supports_anon_versioning"; then
   9836           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9837             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9838             echo "local: *; };" >> $output_objdir/$libname.ver~
   9839             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9840         fi
   9841 
   9842 	case $cc_basename in
   9843 	tcc*)
   9844 	  export_dynamic_flag_spec='-rdynamic'
   9845 	  ;;
   9846 	xlf* | bgf* | bgxlf* | mpixlf*)
   9847 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9848 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9849 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9850 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9851 	  if test yes = "$supports_anon_versioning"; then
   9852 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9853               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9854               echo "local: *; };" >> $output_objdir/$libname.ver~
   9855               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9856 	  fi
   9857 	  ;;
   9858 	esac
   9859       else
   9860         ld_shlibs=no
   9861       fi
   9862       ;;
   9863 
   9864     netbsd*)
   9865       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9866 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9867 	wlarc=
   9868       else
   9869 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9870 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9871       fi
   9872       ;;
   9873 
   9874     solaris*)
   9875       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9876 	ld_shlibs=no
   9877 	cat <<_LT_EOF 1>&2
   9878 
   9879 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9880 *** create shared libraries on Solaris systems.  Therefore, libtool
   9881 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9882 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9883 *** your PATH or compiler configuration so that the native linker is
   9884 *** used, and then restart.
   9885 
   9886 _LT_EOF
   9887       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9888 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9889 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9890       else
   9891 	ld_shlibs=no
   9892       fi
   9893       ;;
   9894 
   9895     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9896       case `$LD -v 2>&1` in
   9897         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9898 	ld_shlibs=no
   9899 	cat <<_LT_EOF 1>&2
   9900 
   9901 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9902 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9903 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9904 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9905 *** your PATH or compiler configuration so that the native linker is
   9906 *** used, and then restart.
   9907 
   9908 _LT_EOF
   9909 	;;
   9910 	*)
   9911 	  # For security reasons, it is highly recommended that you always
   9912 	  # use absolute paths for naming shared libraries, and exclude the
   9913 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9914 	  # requires that you compile everything twice, which is a pain.
   9915 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9916 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9917 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9918 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9919 	  else
   9920 	    ld_shlibs=no
   9921 	  fi
   9922 	;;
   9923       esac
   9924       ;;
   9925 
   9926     sunos4*)
   9927       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9928       wlarc=
   9929       hardcode_direct=yes
   9930       hardcode_shlibpath_var=no
   9931       ;;
   9932 
   9933     *)
   9934       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9935 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9936 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9937       else
   9938 	ld_shlibs=no
   9939       fi
   9940       ;;
   9941     esac
   9942 
   9943     if test no = "$ld_shlibs"; then
   9944       runpath_var=
   9945       hardcode_libdir_flag_spec=
   9946       export_dynamic_flag_spec=
   9947       whole_archive_flag_spec=
   9948     fi
   9949   else
   9950     # PORTME fill in a description of your system's linker (not GNU ld)
   9951     case $host_os in
   9952     aix3*)
   9953       allow_undefined_flag=unsupported
   9954       always_export_symbols=yes
   9955       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'
   9956       # Note: this linker hardcodes the directories in LIBPATH if there
   9957       # are no directories specified by -L.
   9958       hardcode_minus_L=yes
   9959       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9960 	# Neither direct hardcoding nor static linking is supported with a
   9961 	# broken collect2.
   9962 	hardcode_direct=unsupported
   9963       fi
   9964       ;;
   9965 
   9966     aix[4-9]*)
   9967       if test ia64 = "$host_cpu"; then
   9968 	# On IA64, the linker does run time linking by default, so we don't
   9969 	# have to do anything special.
   9970 	aix_use_runtimelinking=no
   9971 	exp_sym_flag='-Bexport'
   9972 	no_entry_flag=
   9973       else
   9974 	# If we're using GNU nm, then we don't want the "-C" option.
   9975 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9976 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9977 	# weak defined symbols like other global defined symbols, whereas
   9978 	# GNU nm marks them as "W".
   9979 	# While the 'weak' keyword is ignored in the Export File, we need
   9980 	# it in the Import File for the 'aix-soname' feature, so we have
   9981 	# to replace the "-B" option with "-P" for AIX nm.
   9982 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9983 	  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'
   9984 	else
   9985 	  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'
   9986 	fi
   9987 	aix_use_runtimelinking=no
   9988 
   9989 	# Test if we are trying to use run time linking or normal
   9990 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9991 	# have runtime linking enabled, and use it for executables.
   9992 	# For shared libraries, we enable/disable runtime linking
   9993 	# depending on the kind of the shared library created -
   9994 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9995 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9996 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9997 	#            lib.a           static archive
   9998 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9999 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10000 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10001 	#            lib.a(lib.so.V) shared, rtl:no
   10002 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10003 	#            lib.a           static archive
   10004 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10005 	  for ld_flag in $LDFLAGS; do
   10006 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10007 	    aix_use_runtimelinking=yes
   10008 	    break
   10009 	  fi
   10010 	  done
   10011 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10012 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10013 	    # so we don't have lib.a shared libs to link our executables.
   10014 	    # We have to force runtime linking in this case.
   10015 	    aix_use_runtimelinking=yes
   10016 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10017 	  fi
   10018 	  ;;
   10019 	esac
   10020 
   10021 	exp_sym_flag='-bexport'
   10022 	no_entry_flag='-bnoentry'
   10023       fi
   10024 
   10025       # When large executables or shared objects are built, AIX ld can
   10026       # have problems creating the table of contents.  If linking a library
   10027       # or program results in "error TOC overflow" add -mminimal-toc to
   10028       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10029       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10030 
   10031       archive_cmds=''
   10032       hardcode_direct=yes
   10033       hardcode_direct_absolute=yes
   10034       hardcode_libdir_separator=':'
   10035       link_all_deplibs=yes
   10036       file_list_spec='$wl-f,'
   10037       case $with_aix_soname,$aix_use_runtimelinking in
   10038       aix,*) ;; # traditional, no import file
   10039       svr4,* | *,yes) # use import file
   10040 	# The Import File defines what to hardcode.
   10041 	hardcode_direct=no
   10042 	hardcode_direct_absolute=no
   10043 	;;
   10044       esac
   10045 
   10046       if test yes = "$GCC"; then
   10047 	case $host_os in aix4.[012]|aix4.[012].*)
   10048 	# We only want to do this on AIX 4.2 and lower, the check
   10049 	# below for broken collect2 doesn't work under 4.3+
   10050 	  collect2name=`$CC -print-prog-name=collect2`
   10051 	  if test -f "$collect2name" &&
   10052 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10053 	  then
   10054 	  # We have reworked collect2
   10055 	  :
   10056 	  else
   10057 	  # We have old collect2
   10058 	  hardcode_direct=unsupported
   10059 	  # It fails to find uninstalled libraries when the uninstalled
   10060 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10061 	  # to unsupported forces relinking
   10062 	  hardcode_minus_L=yes
   10063 	  hardcode_libdir_flag_spec='-L$libdir'
   10064 	  hardcode_libdir_separator=
   10065 	  fi
   10066 	  ;;
   10067 	esac
   10068 	shared_flag='-shared'
   10069 	if test yes = "$aix_use_runtimelinking"; then
   10070 	  shared_flag="$shared_flag "'$wl-G'
   10071 	fi
   10072 	# Need to ensure runtime linking is disabled for the traditional
   10073 	# shared library, or the linker may eventually find shared libraries
   10074 	# /with/ Import File - we do not want to mix them.
   10075 	shared_flag_aix='-shared'
   10076 	shared_flag_svr4='-shared $wl-G'
   10077       else
   10078 	# not using gcc
   10079 	if test ia64 = "$host_cpu"; then
   10080 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10081 	# chokes on -Wl,-G. The following line is correct:
   10082 	  shared_flag='-G'
   10083 	else
   10084 	  if test yes = "$aix_use_runtimelinking"; then
   10085 	    shared_flag='$wl-G'
   10086 	  else
   10087 	    shared_flag='$wl-bM:SRE'
   10088 	  fi
   10089 	  shared_flag_aix='$wl-bM:SRE'
   10090 	  shared_flag_svr4='$wl-G'
   10091 	fi
   10092       fi
   10093 
   10094       export_dynamic_flag_spec='$wl-bexpall'
   10095       # It seems that -bexpall does not export symbols beginning with
   10096       # underscore (_), so it is better to generate a list of symbols to export.
   10097       always_export_symbols=yes
   10098       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10099 	# Warning - without using the other runtime loading flags (-brtl),
   10100 	# -berok will link without error, but may produce a broken library.
   10101 	allow_undefined_flag='-berok'
   10102         # Determine the default libpath from the value encoded in an
   10103         # empty executable.
   10104         if test set = "${lt_cv_aix_libpath+set}"; then
   10105   aix_libpath=$lt_cv_aix_libpath
   10106 else
   10107   if test ${lt_cv_aix_libpath_+y}
   10108 then :
   10109   printf %s "(cached) " >&6
   10110 else $as_nop
   10111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10112 /* end confdefs.h.  */
   10113 
   10114 int
   10115 main (void)
   10116 {
   10117 
   10118   ;
   10119   return 0;
   10120 }
   10121 _ACEOF
   10122 if ac_fn_c_try_link "$LINENO"
   10123 then :
   10124 
   10125   lt_aix_libpath_sed='
   10126       /Import File Strings/,/^$/ {
   10127 	  /^0/ {
   10128 	      s/^0  *\([^ ]*\) *$/\1/
   10129 	      p
   10130 	  }
   10131       }'
   10132   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10133   # Check for a 64-bit object if we didn't find anything.
   10134   if test -z "$lt_cv_aix_libpath_"; then
   10135     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10136   fi
   10137 fi
   10138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10139     conftest$ac_exeext conftest.$ac_ext
   10140   if test -z "$lt_cv_aix_libpath_"; then
   10141     lt_cv_aix_libpath_=/usr/lib:/lib
   10142   fi
   10143 
   10144 fi
   10145 
   10146   aix_libpath=$lt_cv_aix_libpath_
   10147 fi
   10148 
   10149         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10150         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
   10151       else
   10152 	if test ia64 = "$host_cpu"; then
   10153 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10154 	  allow_undefined_flag="-z nodefs"
   10155 	  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"
   10156 	else
   10157 	 # Determine the default libpath from the value encoded in an
   10158 	 # empty executable.
   10159 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10160   aix_libpath=$lt_cv_aix_libpath
   10161 else
   10162   if test ${lt_cv_aix_libpath_+y}
   10163 then :
   10164   printf %s "(cached) " >&6
   10165 else $as_nop
   10166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10167 /* end confdefs.h.  */
   10168 
   10169 int
   10170 main (void)
   10171 {
   10172 
   10173   ;
   10174   return 0;
   10175 }
   10176 _ACEOF
   10177 if ac_fn_c_try_link "$LINENO"
   10178 then :
   10179 
   10180   lt_aix_libpath_sed='
   10181       /Import File Strings/,/^$/ {
   10182 	  /^0/ {
   10183 	      s/^0  *\([^ ]*\) *$/\1/
   10184 	      p
   10185 	  }
   10186       }'
   10187   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10188   # Check for a 64-bit object if we didn't find anything.
   10189   if test -z "$lt_cv_aix_libpath_"; then
   10190     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10191   fi
   10192 fi
   10193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10194     conftest$ac_exeext conftest.$ac_ext
   10195   if test -z "$lt_cv_aix_libpath_"; then
   10196     lt_cv_aix_libpath_=/usr/lib:/lib
   10197   fi
   10198 
   10199 fi
   10200 
   10201   aix_libpath=$lt_cv_aix_libpath_
   10202 fi
   10203 
   10204 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10205 	  # Warning - without using the other run time loading flags,
   10206 	  # -berok will link without error, but may produce a broken library.
   10207 	  no_undefined_flag=' $wl-bernotok'
   10208 	  allow_undefined_flag=' $wl-berok'
   10209 	  if test yes = "$with_gnu_ld"; then
   10210 	    # We only use this code for GNU lds that support --whole-archive.
   10211 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10212 	  else
   10213 	    # Exported symbols can be pulled into shared objects from archives
   10214 	    whole_archive_flag_spec='$convenience'
   10215 	  fi
   10216 	  archive_cmds_need_lc=yes
   10217 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10218 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10219 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10220 	  if test svr4 != "$with_aix_soname"; then
   10221 	    # This is similar to how AIX traditionally builds its shared libraries.
   10222 	    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'
   10223 	  fi
   10224 	  if test aix != "$with_aix_soname"; then
   10225 	    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'
   10226 	  else
   10227 	    # used by -dlpreopen to get the symbols
   10228 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10229 	  fi
   10230 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10231 	fi
   10232       fi
   10233       ;;
   10234 
   10235     amigaos*)
   10236       case $host_cpu in
   10237       powerpc)
   10238             # see comment about AmigaOS4 .so support
   10239             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10240             archive_expsym_cmds=''
   10241         ;;
   10242       m68k)
   10243             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)'
   10244             hardcode_libdir_flag_spec='-L$libdir'
   10245             hardcode_minus_L=yes
   10246         ;;
   10247       esac
   10248       ;;
   10249 
   10250     bsdi[45]*)
   10251       export_dynamic_flag_spec=-rdynamic
   10252       ;;
   10253 
   10254     cygwin* | mingw* | pw32* | cegcc*)
   10255       # When not using gcc, we currently assume that we are using
   10256       # Microsoft Visual C++ or Intel C++ Compiler.
   10257       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10258       # no search path for DLLs.
   10259       case $cc_basename in
   10260       cl* | icl*)
   10261 	# Native MSVC or ICC
   10262 	hardcode_libdir_flag_spec=' '
   10263 	allow_undefined_flag=unsupported
   10264 	always_export_symbols=yes
   10265 	file_list_spec='@'
   10266 	# Tell ltmain to make .lib files, not .a files.
   10267 	libext=lib
   10268 	# Tell ltmain to make .dll files, not .so files.
   10269 	shrext_cmds=.dll
   10270 	# FIXME: Setting linknames here is a bad hack.
   10271 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10272 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10273             cp "$export_symbols" "$output_objdir/$soname.def";
   10274             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10275           else
   10276             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10277           fi~
   10278           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10279           linknames='
   10280 	# The linker will not automatically build a static lib if we build a DLL.
   10281 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10282 	enable_shared_with_static_runtimes=yes
   10283 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10284 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10285 	# Don't use ranlib
   10286 	old_postinstall_cmds='chmod 644 $oldlib'
   10287 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10288           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10289           case $lt_outputfile in
   10290             *.exe|*.EXE) ;;
   10291             *)
   10292               lt_outputfile=$lt_outputfile.exe
   10293               lt_tool_outputfile=$lt_tool_outputfile.exe
   10294               ;;
   10295           esac~
   10296           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10297             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10298             $RM "$lt_outputfile.manifest";
   10299           fi'
   10300 	;;
   10301       *)
   10302 	# Assume MSVC and ICC wrapper
   10303 	hardcode_libdir_flag_spec=' '
   10304 	allow_undefined_flag=unsupported
   10305 	# Tell ltmain to make .lib files, not .a files.
   10306 	libext=lib
   10307 	# Tell ltmain to make .dll files, not .so files.
   10308 	shrext_cmds=.dll
   10309 	# FIXME: Setting linknames here is a bad hack.
   10310 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10311 	# The linker will automatically build a .lib file if we build a DLL.
   10312 	old_archive_from_new_cmds='true'
   10313 	# FIXME: Should let the user specify the lib program.
   10314 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10315 	enable_shared_with_static_runtimes=yes
   10316 	;;
   10317       esac
   10318       ;;
   10319 
   10320     darwin* | rhapsody*)
   10321 
   10322 
   10323   archive_cmds_need_lc=no
   10324   hardcode_direct=no
   10325   hardcode_automatic=yes
   10326   hardcode_shlibpath_var=unsupported
   10327   if test yes = "$lt_cv_ld_force_load"; then
   10328     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\"`'
   10329 
   10330   else
   10331     whole_archive_flag_spec=''
   10332   fi
   10333   link_all_deplibs=yes
   10334   allow_undefined_flag=$_lt_dar_allow_undefined
   10335   case $cc_basename in
   10336      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10337      *) _lt_dar_can_shared=$GCC ;;
   10338   esac
   10339   if test yes = "$_lt_dar_can_shared"; then
   10340     output_verbose_link_cmd=func_echo_all
   10341     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10342     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10343     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"
   10344     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"
   10345 
   10346   else
   10347   ld_shlibs=no
   10348   fi
   10349 
   10350       ;;
   10351 
   10352     dgux*)
   10353       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10354       hardcode_libdir_flag_spec='-L$libdir'
   10355       hardcode_shlibpath_var=no
   10356       ;;
   10357 
   10358     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10359     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10360     # does not break anything, and helps significantly (at the cost of a little
   10361     # extra space).
   10362     freebsd2.2*)
   10363       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10364       hardcode_libdir_flag_spec='-R$libdir'
   10365       hardcode_direct=yes
   10366       hardcode_shlibpath_var=no
   10367       ;;
   10368 
   10369     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10370     freebsd2.*)
   10371       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10372       hardcode_direct=yes
   10373       hardcode_minus_L=yes
   10374       hardcode_shlibpath_var=no
   10375       ;;
   10376 
   10377     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10378     freebsd* | dragonfly* | midnightbsd*)
   10379       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10380       hardcode_libdir_flag_spec='-R$libdir'
   10381       hardcode_direct=yes
   10382       hardcode_shlibpath_var=no
   10383       ;;
   10384 
   10385     hpux9*)
   10386       if test yes = "$GCC"; then
   10387 	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'
   10388       else
   10389 	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'
   10390       fi
   10391       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10392       hardcode_libdir_separator=:
   10393       hardcode_direct=yes
   10394 
   10395       # hardcode_minus_L: Not really in the search PATH,
   10396       # but as the default location of the library.
   10397       hardcode_minus_L=yes
   10398       export_dynamic_flag_spec='$wl-E'
   10399       ;;
   10400 
   10401     hpux10*)
   10402       if test yes,no = "$GCC,$with_gnu_ld"; then
   10403 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10404       else
   10405 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10406       fi
   10407       if test no = "$with_gnu_ld"; then
   10408 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10409 	hardcode_libdir_separator=:
   10410 	hardcode_direct=yes
   10411 	hardcode_direct_absolute=yes
   10412 	export_dynamic_flag_spec='$wl-E'
   10413 	# hardcode_minus_L: Not really in the search PATH,
   10414 	# but as the default location of the library.
   10415 	hardcode_minus_L=yes
   10416       fi
   10417       ;;
   10418 
   10419     hpux11*)
   10420       if test yes,no = "$GCC,$with_gnu_ld"; then
   10421 	case $host_cpu in
   10422 	hppa*64*)
   10423 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10424 	  ;;
   10425 	ia64*)
   10426 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10427 	  ;;
   10428 	*)
   10429 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10430 	  ;;
   10431 	esac
   10432       else
   10433 	case $host_cpu in
   10434 	hppa*64*)
   10435 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10436 	  ;;
   10437 	ia64*)
   10438 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10439 	  ;;
   10440 	*)
   10441 
   10442 	  # Older versions of the 11.00 compiler do not understand -b yet
   10443 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10444 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10445 printf %s "checking if $CC understands -b... " >&6; }
   10446 if test ${lt_cv_prog_compiler__b+y}
   10447 then :
   10448   printf %s "(cached) " >&6
   10449 else $as_nop
   10450   lt_cv_prog_compiler__b=no
   10451    save_LDFLAGS=$LDFLAGS
   10452    LDFLAGS="$LDFLAGS -b"
   10453    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10454    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10455      # The linker can only warn and ignore the option if not recognized
   10456      # So say no if there are warnings
   10457      if test -s conftest.err; then
   10458        # Append any errors to the config.log.
   10459        cat conftest.err 1>&5
   10460        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10461        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10462        if diff conftest.exp conftest.er2 >/dev/null; then
   10463          lt_cv_prog_compiler__b=yes
   10464        fi
   10465      else
   10466        lt_cv_prog_compiler__b=yes
   10467      fi
   10468    fi
   10469    $RM -r conftest*
   10470    LDFLAGS=$save_LDFLAGS
   10471 
   10472 fi
   10473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10474 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10475 
   10476 if test yes = "$lt_cv_prog_compiler__b"; then
   10477     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10478 else
   10479     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10480 fi
   10481 
   10482 	  ;;
   10483 	esac
   10484       fi
   10485       if test no = "$with_gnu_ld"; then
   10486 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10487 	hardcode_libdir_separator=:
   10488 
   10489 	case $host_cpu in
   10490 	hppa*64*|ia64*)
   10491 	  hardcode_direct=no
   10492 	  hardcode_shlibpath_var=no
   10493 	  ;;
   10494 	*)
   10495 	  hardcode_direct=yes
   10496 	  hardcode_direct_absolute=yes
   10497 	  export_dynamic_flag_spec='$wl-E'
   10498 
   10499 	  # hardcode_minus_L: Not really in the search PATH,
   10500 	  # but as the default location of the library.
   10501 	  hardcode_minus_L=yes
   10502 	  ;;
   10503 	esac
   10504       fi
   10505       ;;
   10506 
   10507     irix5* | irix6* | nonstopux*)
   10508       if test yes = "$GCC"; then
   10509 	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'
   10510 	# Try to use the -exported_symbol ld option, if it does not
   10511 	# work, assume that -exports_file does not work either and
   10512 	# implicitly export all symbols.
   10513 	# This should be the same for all languages, so no per-tag cache variable.
   10514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10515 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10516 if test ${lt_cv_irix_exported_symbol+y}
   10517 then :
   10518   printf %s "(cached) " >&6
   10519 else $as_nop
   10520   save_LDFLAGS=$LDFLAGS
   10521 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10522 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10523 /* end confdefs.h.  */
   10524 int foo (void) { return 0; }
   10525 _ACEOF
   10526 if ac_fn_c_try_link "$LINENO"
   10527 then :
   10528   lt_cv_irix_exported_symbol=yes
   10529 else $as_nop
   10530   lt_cv_irix_exported_symbol=no
   10531 fi
   10532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10533     conftest$ac_exeext conftest.$ac_ext
   10534            LDFLAGS=$save_LDFLAGS
   10535 fi
   10536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10537 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10538 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10539           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'
   10540 	fi
   10541       else
   10542 	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'
   10543 	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'
   10544       fi
   10545       archive_cmds_need_lc='no'
   10546       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10547       hardcode_libdir_separator=:
   10548       inherit_rpath=yes
   10549       link_all_deplibs=yes
   10550       ;;
   10551 
   10552     linux*)
   10553       case $cc_basename in
   10554       tcc*)
   10555 	# Fabrice Bellard et al's Tiny C Compiler
   10556 	ld_shlibs=yes
   10557 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10558 	;;
   10559       esac
   10560       ;;
   10561 
   10562     netbsd*)
   10563       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10564 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10565       else
   10566 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10567       fi
   10568       hardcode_libdir_flag_spec='-R$libdir'
   10569       hardcode_direct=yes
   10570       hardcode_shlibpath_var=no
   10571       ;;
   10572 
   10573     newsos6)
   10574       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10575       hardcode_direct=yes
   10576       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10577       hardcode_libdir_separator=:
   10578       hardcode_shlibpath_var=no
   10579       ;;
   10580 
   10581     *nto* | *qnx*)
   10582       ;;
   10583 
   10584     openbsd* | bitrig*)
   10585       if test -f /usr/libexec/ld.so; then
   10586 	hardcode_direct=yes
   10587 	hardcode_shlibpath_var=no
   10588 	hardcode_direct_absolute=yes
   10589 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10590 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10591 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10592 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10593 	  export_dynamic_flag_spec='$wl-E'
   10594 	else
   10595 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10596 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10597 	fi
   10598       else
   10599 	ld_shlibs=no
   10600       fi
   10601       ;;
   10602 
   10603     os2*)
   10604       hardcode_libdir_flag_spec='-L$libdir'
   10605       hardcode_minus_L=yes
   10606       allow_undefined_flag=unsupported
   10607       shrext_cmds=.dll
   10608       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10609 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10610 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10611 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10612 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10613 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10614 	emximp -o $lib $output_objdir/$libname.def'
   10615       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10616 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10617 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10618 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10619 	prefix_cmds="$SED"~
   10620 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10621 	  prefix_cmds="$prefix_cmds -e 1d";
   10622 	fi~
   10623 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10624 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10625 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10626 	emximp -o $lib $output_objdir/$libname.def'
   10627       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10628       enable_shared_with_static_runtimes=yes
   10629       file_list_spec='@'
   10630       ;;
   10631 
   10632     osf3*)
   10633       if test yes = "$GCC"; then
   10634 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10635 	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'
   10636       else
   10637 	allow_undefined_flag=' -expect_unresolved \*'
   10638 	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'
   10639       fi
   10640       archive_cmds_need_lc='no'
   10641       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10642       hardcode_libdir_separator=:
   10643       ;;
   10644 
   10645     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10646       if test yes = "$GCC"; then
   10647 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10648 	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'
   10649 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10650       else
   10651 	allow_undefined_flag=' -expect_unresolved \*'
   10652 	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'
   10653 	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~
   10654           $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'
   10655 
   10656 	# Both c and cxx compiler support -rpath directly
   10657 	hardcode_libdir_flag_spec='-rpath $libdir'
   10658       fi
   10659       archive_cmds_need_lc='no'
   10660       hardcode_libdir_separator=:
   10661       ;;
   10662 
   10663     solaris*)
   10664       no_undefined_flag=' -z defs'
   10665       if test yes = "$GCC"; then
   10666 	wlarc='$wl'
   10667 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10668 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10669           $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'
   10670       else
   10671 	case `$CC -V 2>&1` in
   10672 	*"Compilers 5.0"*)
   10673 	  wlarc=''
   10674 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10675 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10676             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10677 	  ;;
   10678 	*)
   10679 	  wlarc='$wl'
   10680 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10681 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10682             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10683 	  ;;
   10684 	esac
   10685       fi
   10686       hardcode_libdir_flag_spec='-R$libdir'
   10687       hardcode_shlibpath_var=no
   10688       case $host_os in
   10689       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10690       *)
   10691 	# The compiler driver will combine and reorder linker options,
   10692 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10693 	# but is careful enough not to reorder.
   10694 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10695 	if test yes = "$GCC"; then
   10696 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10697 	else
   10698 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10699 	fi
   10700 	;;
   10701       esac
   10702       link_all_deplibs=yes
   10703       ;;
   10704 
   10705     sunos4*)
   10706       if test sequent = "$host_vendor"; then
   10707 	# Use $CC to link under sequent, because it throws in some extra .o
   10708 	# files that make .init and .fini sections work.
   10709 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10710       else
   10711 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10712       fi
   10713       hardcode_libdir_flag_spec='-L$libdir'
   10714       hardcode_direct=yes
   10715       hardcode_minus_L=yes
   10716       hardcode_shlibpath_var=no
   10717       ;;
   10718 
   10719     sysv4)
   10720       case $host_vendor in
   10721 	sni)
   10722 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10723 	  hardcode_direct=yes # is this really true???
   10724 	;;
   10725 	siemens)
   10726 	  ## LD is ld it makes a PLAMLIB
   10727 	  ## CC just makes a GrossModule.
   10728 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10729 	  reload_cmds='$CC -r -o $output$reload_objs'
   10730 	  hardcode_direct=no
   10731         ;;
   10732 	motorola)
   10733 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10734 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10735 	;;
   10736       esac
   10737       runpath_var='LD_RUN_PATH'
   10738       hardcode_shlibpath_var=no
   10739       ;;
   10740 
   10741     sysv4.3*)
   10742       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10743       hardcode_shlibpath_var=no
   10744       export_dynamic_flag_spec='-Bexport'
   10745       ;;
   10746 
   10747     sysv4*MP*)
   10748       if test -d /usr/nec; then
   10749 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10750 	hardcode_shlibpath_var=no
   10751 	runpath_var=LD_RUN_PATH
   10752 	hardcode_runpath_var=yes
   10753 	ld_shlibs=yes
   10754       fi
   10755       ;;
   10756 
   10757     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10758       no_undefined_flag='$wl-z,text'
   10759       archive_cmds_need_lc=no
   10760       hardcode_shlibpath_var=no
   10761       runpath_var='LD_RUN_PATH'
   10762 
   10763       if test yes = "$GCC"; then
   10764 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10765 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10766       else
   10767 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10768 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10769       fi
   10770       ;;
   10771 
   10772     sysv5* | sco3.2v5* | sco5v6*)
   10773       # Note: We CANNOT use -z defs as we might desire, because we do not
   10774       # link with -lc, and that would cause any symbols used from libc to
   10775       # always be unresolved, which means just about no library would
   10776       # ever link correctly.  If we're not using GNU ld we use -z text
   10777       # though, which does catch some bad symbols but isn't as heavy-handed
   10778       # as -z defs.
   10779       no_undefined_flag='$wl-z,text'
   10780       allow_undefined_flag='$wl-z,nodefs'
   10781       archive_cmds_need_lc=no
   10782       hardcode_shlibpath_var=no
   10783       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10784       hardcode_libdir_separator=':'
   10785       link_all_deplibs=yes
   10786       export_dynamic_flag_spec='$wl-Bexport'
   10787       runpath_var='LD_RUN_PATH'
   10788 
   10789       if test yes = "$GCC"; then
   10790 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10791 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10792       else
   10793 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10794 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10795       fi
   10796       ;;
   10797 
   10798     uts4*)
   10799       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10800       hardcode_libdir_flag_spec='-L$libdir'
   10801       hardcode_shlibpath_var=no
   10802       ;;
   10803 
   10804     *)
   10805       ld_shlibs=no
   10806       ;;
   10807     esac
   10808 
   10809     if test sni = "$host_vendor"; then
   10810       case $host in
   10811       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10812 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10813 	;;
   10814       esac
   10815     fi
   10816   fi
   10817 
   10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10819 printf "%s\n" "$ld_shlibs" >&6; }
   10820 test no = "$ld_shlibs" && can_build_shared=no
   10821 
   10822 with_gnu_ld=$with_gnu_ld
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 #
   10839 # Do we need to explicitly link libc?
   10840 #
   10841 case "x$archive_cmds_need_lc" in
   10842 x|xyes)
   10843   # Assume -lc should be added
   10844   archive_cmds_need_lc=yes
   10845 
   10846   if test yes,yes = "$GCC,$enable_shared"; then
   10847     case $archive_cmds in
   10848     *'~'*)
   10849       # FIXME: we may have to deal with multi-command sequences.
   10850       ;;
   10851     '$CC '*)
   10852       # Test whether the compiler implicitly links with -lc since on some
   10853       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10854       # to ld, don't add -lc before -lgcc.
   10855       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10856 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10857 if test ${lt_cv_archive_cmds_need_lc+y}
   10858 then :
   10859   printf %s "(cached) " >&6
   10860 else $as_nop
   10861   $RM conftest*
   10862 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10863 
   10864 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10865   (eval $ac_compile) 2>&5
   10866   ac_status=$?
   10867   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10868   test $ac_status = 0; } 2>conftest.err; then
   10869 	  soname=conftest
   10870 	  lib=conftest
   10871 	  libobjs=conftest.$ac_objext
   10872 	  deplibs=
   10873 	  wl=$lt_prog_compiler_wl
   10874 	  pic_flag=$lt_prog_compiler_pic
   10875 	  compiler_flags=-v
   10876 	  linker_flags=-v
   10877 	  verstring=
   10878 	  output_objdir=.
   10879 	  libname=conftest
   10880 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10881 	  allow_undefined_flag=
   10882 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10883   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10884   ac_status=$?
   10885   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10886   test $ac_status = 0; }
   10887 	  then
   10888 	    lt_cv_archive_cmds_need_lc=no
   10889 	  else
   10890 	    lt_cv_archive_cmds_need_lc=yes
   10891 	  fi
   10892 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10893 	else
   10894 	  cat conftest.err 1>&5
   10895 	fi
   10896 	$RM conftest*
   10897 
   10898 fi
   10899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10900 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10901       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10902       ;;
   10903     esac
   10904   fi
   10905   ;;
   10906 esac
   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 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11060 printf %s "checking dynamic linker characteristics... " >&6; }
   11061 
   11062 if test yes = "$GCC"; then
   11063   case $host_os in
   11064     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11065     *) lt_awk_arg='/^libraries:/' ;;
   11066   esac
   11067   case $host_os in
   11068     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11069     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11070   esac
   11071   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11072   case $lt_search_path_spec in
   11073   *\;*)
   11074     # if the path contains ";" then we assume it to be the separator
   11075     # otherwise default to the standard path separator (i.e. ":") - it is
   11076     # assumed that no part of a normal pathname contains ";" but that should
   11077     # okay in the real world where ";" in dirpaths is itself problematic.
   11078     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11079     ;;
   11080   *)
   11081     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11082     ;;
   11083   esac
   11084   # Ok, now we have the path, separated by spaces, we can step through it
   11085   # and add multilib dir if necessary...
   11086   lt_tmp_lt_search_path_spec=
   11087   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11088   # ...but if some path component already ends with the multilib dir we assume
   11089   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11090   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11091   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11092     lt_multi_os_dir=
   11093     ;;
   11094   esac
   11095   for lt_sys_path in $lt_search_path_spec; do
   11096     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11097       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11098     elif test -n "$lt_multi_os_dir"; then
   11099       test -d "$lt_sys_path" && \
   11100 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11101     fi
   11102   done
   11103   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11104 BEGIN {RS = " "; FS = "/|\n";} {
   11105   lt_foo = "";
   11106   lt_count = 0;
   11107   for (lt_i = NF; lt_i > 0; lt_i--) {
   11108     if ($lt_i != "" && $lt_i != ".") {
   11109       if ($lt_i == "..") {
   11110         lt_count++;
   11111       } else {
   11112         if (lt_count == 0) {
   11113           lt_foo = "/" $lt_i lt_foo;
   11114         } else {
   11115           lt_count--;
   11116         }
   11117       }
   11118     }
   11119   }
   11120   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11121   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11122 }'`
   11123   # AWK program above erroneously prepends '/' to C:/dos/paths
   11124   # for these hosts.
   11125   case $host_os in
   11126     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11127       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11128   esac
   11129   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11130 else
   11131   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11132 fi
   11133 library_names_spec=
   11134 libname_spec='lib$name'
   11135 soname_spec=
   11136 shrext_cmds=.so
   11137 postinstall_cmds=
   11138 postuninstall_cmds=
   11139 finish_cmds=
   11140 finish_eval=
   11141 shlibpath_var=
   11142 shlibpath_overrides_runpath=unknown
   11143 version_type=none
   11144 dynamic_linker="$host_os ld.so"
   11145 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11146 need_lib_prefix=unknown
   11147 hardcode_into_libs=no
   11148 
   11149 # when you set need_version to no, make sure it does not cause -set_version
   11150 # flags to be left without arguments
   11151 need_version=unknown
   11152 
   11153 
   11154 
   11155 case $host_os in
   11156 aix3*)
   11157   version_type=linux # correct to gnu/linux during the next big refactor
   11158   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11159   shlibpath_var=LIBPATH
   11160 
   11161   # AIX 3 has no versioning support, so we append a major version to the name.
   11162   soname_spec='$libname$release$shared_ext$major'
   11163   ;;
   11164 
   11165 aix[4-9]*)
   11166   version_type=linux # correct to gnu/linux during the next big refactor
   11167   need_lib_prefix=no
   11168   need_version=no
   11169   hardcode_into_libs=yes
   11170   if test ia64 = "$host_cpu"; then
   11171     # AIX 5 supports IA64
   11172     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11173     shlibpath_var=LD_LIBRARY_PATH
   11174   else
   11175     # With GCC up to 2.95.x, collect2 would create an import file
   11176     # for dependence libraries.  The import file would start with
   11177     # the line '#! .'.  This would cause the generated library to
   11178     # depend on '.', always an invalid library.  This was fixed in
   11179     # development snapshots of GCC prior to 3.0.
   11180     case $host_os in
   11181       aix4 | aix4.[01] | aix4.[01].*)
   11182       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11183 	   echo ' yes '
   11184 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11185 	:
   11186       else
   11187 	can_build_shared=no
   11188       fi
   11189       ;;
   11190     esac
   11191     # Using Import Files as archive members, it is possible to support
   11192     # filename-based versioning of shared library archives on AIX. While
   11193     # this would work for both with and without runtime linking, it will
   11194     # prevent static linking of such archives. So we do filename-based
   11195     # shared library versioning with .so extension only, which is used
   11196     # when both runtime linking and shared linking is enabled.
   11197     # Unfortunately, runtime linking may impact performance, so we do
   11198     # not want this to be the default eventually. Also, we use the
   11199     # versioned .so libs for executables only if there is the -brtl
   11200     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11201     # To allow for filename-based versioning support, we need to create
   11202     # libNAME.so.V as an archive file, containing:
   11203     # *) an Import File, referring to the versioned filename of the
   11204     #    archive as well as the shared archive member, telling the
   11205     #    bitwidth (32 or 64) of that shared object, and providing the
   11206     #    list of exported symbols of that shared object, eventually
   11207     #    decorated with the 'weak' keyword
   11208     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11209     #    it being seen by the linker.
   11210     # At run time we better use the real file rather than another symlink,
   11211     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11212 
   11213     case $with_aix_soname,$aix_use_runtimelinking in
   11214     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11215     # soname into executable. Probably we can add versioning support to
   11216     # collect2, so additional links can be useful in future.
   11217     aix,yes) # traditional libtool
   11218       dynamic_linker='AIX unversionable lib.so'
   11219       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11220       # instead of lib<name>.a to let people know that these are not
   11221       # typical AIX shared libraries.
   11222       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11223       ;;
   11224     aix,no) # traditional AIX only
   11225       dynamic_linker='AIX lib.a(lib.so.V)'
   11226       # We preserve .a as extension for shared libraries through AIX4.2
   11227       # and later when we are not doing run time linking.
   11228       library_names_spec='$libname$release.a $libname.a'
   11229       soname_spec='$libname$release$shared_ext$major'
   11230       ;;
   11231     svr4,*) # full svr4 only
   11232       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11233       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11234       # We do not specify a path in Import Files, so LIBPATH fires.
   11235       shlibpath_overrides_runpath=yes
   11236       ;;
   11237     *,yes) # both, prefer svr4
   11238       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11239       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11240       # unpreferred sharedlib libNAME.a needs extra handling
   11241       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"'
   11242       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"'
   11243       # We do not specify a path in Import Files, so LIBPATH fires.
   11244       shlibpath_overrides_runpath=yes
   11245       ;;
   11246     *,no) # both, prefer aix
   11247       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11248       library_names_spec='$libname$release.a $libname.a'
   11249       soname_spec='$libname$release$shared_ext$major'
   11250       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11251       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)'
   11252       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"'
   11253       ;;
   11254     esac
   11255     shlibpath_var=LIBPATH
   11256   fi
   11257   ;;
   11258 
   11259 amigaos*)
   11260   case $host_cpu in
   11261   powerpc)
   11262     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11263     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11264     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11265     ;;
   11266   m68k)
   11267     library_names_spec='$libname.ixlibrary $libname.a'
   11268     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11269     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'
   11270     ;;
   11271   esac
   11272   ;;
   11273 
   11274 beos*)
   11275   library_names_spec='$libname$shared_ext'
   11276   dynamic_linker="$host_os ld.so"
   11277   shlibpath_var=LIBRARY_PATH
   11278   ;;
   11279 
   11280 bsdi[45]*)
   11281   version_type=linux # correct to gnu/linux during the next big refactor
   11282   need_version=no
   11283   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11284   soname_spec='$libname$release$shared_ext$major'
   11285   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11286   shlibpath_var=LD_LIBRARY_PATH
   11287   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11288   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11289   # the default ld.so.conf also contains /usr/contrib/lib and
   11290   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11291   # libtool to hard-code these into programs
   11292   ;;
   11293 
   11294 cygwin* | mingw* | pw32* | cegcc*)
   11295   version_type=windows
   11296   shrext_cmds=.dll
   11297   need_version=no
   11298   need_lib_prefix=no
   11299 
   11300   case $GCC,$cc_basename in
   11301   yes,*)
   11302     # gcc
   11303     library_names_spec='$libname.dll.a'
   11304     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11305     postinstall_cmds='base_file=`basename \$file`~
   11306       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11307       dldir=$destdir/`dirname \$dlpath`~
   11308       test -d \$dldir || mkdir -p \$dldir~
   11309       $install_prog $dir/$dlname \$dldir/$dlname~
   11310       chmod a+x \$dldir/$dlname~
   11311       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11312         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11313       fi'
   11314     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11315       dlpath=$dir/\$dldll~
   11316        $RM \$dlpath'
   11317     shlibpath_overrides_runpath=yes
   11318 
   11319     case $host_os in
   11320     cygwin*)
   11321       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11322       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11323 
   11324       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11325       ;;
   11326     mingw* | cegcc*)
   11327       # MinGW DLLs use traditional 'lib' prefix
   11328       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11329       ;;
   11330     pw32*)
   11331       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11332       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11333       ;;
   11334     esac
   11335     dynamic_linker='Win32 ld.exe'
   11336     ;;
   11337 
   11338   *,cl* | *,icl*)
   11339     # Native MSVC or ICC
   11340     libname_spec='$name'
   11341     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11342     library_names_spec='$libname.dll.lib'
   11343 
   11344     case $build_os in
   11345     mingw*)
   11346       sys_lib_search_path_spec=
   11347       lt_save_ifs=$IFS
   11348       IFS=';'
   11349       for lt_path in $LIB
   11350       do
   11351         IFS=$lt_save_ifs
   11352         # Let DOS variable expansion print the short 8.3 style file name.
   11353         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11354         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11355       done
   11356       IFS=$lt_save_ifs
   11357       # Convert to MSYS style.
   11358       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11359       ;;
   11360     cygwin*)
   11361       # Convert to unix form, then to dos form, then back to unix form
   11362       # but this time dos style (no spaces!) so that the unix form looks
   11363       # like /cygdrive/c/PROGRA~1:/cygdr...
   11364       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11365       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11366       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11367       ;;
   11368     *)
   11369       sys_lib_search_path_spec=$LIB
   11370       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11371         # It is most probably a Windows format PATH.
   11372         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11373       else
   11374         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11375       fi
   11376       # FIXME: find the short name or the path components, as spaces are
   11377       # common. (e.g. "Program Files" -> "PROGRA~1")
   11378       ;;
   11379     esac
   11380 
   11381     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11382     postinstall_cmds='base_file=`basename \$file`~
   11383       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11384       dldir=$destdir/`dirname \$dlpath`~
   11385       test -d \$dldir || mkdir -p \$dldir~
   11386       $install_prog $dir/$dlname \$dldir/$dlname'
   11387     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11388       dlpath=$dir/\$dldll~
   11389        $RM \$dlpath'
   11390     shlibpath_overrides_runpath=yes
   11391     dynamic_linker='Win32 link.exe'
   11392     ;;
   11393 
   11394   *)
   11395     # Assume MSVC and ICC wrapper
   11396     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11397     dynamic_linker='Win32 ld.exe'
   11398     ;;
   11399   esac
   11400   # FIXME: first we should search . and the directory the executable is in
   11401   shlibpath_var=PATH
   11402   ;;
   11403 
   11404 darwin* | rhapsody*)
   11405   dynamic_linker="$host_os dyld"
   11406   version_type=darwin
   11407   need_lib_prefix=no
   11408   need_version=no
   11409   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11410   soname_spec='$libname$release$major$shared_ext'
   11411   shlibpath_overrides_runpath=yes
   11412   shlibpath_var=DYLD_LIBRARY_PATH
   11413   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11414 
   11415   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11416   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11417   ;;
   11418 
   11419 dgux*)
   11420   version_type=linux # correct to gnu/linux during the next big refactor
   11421   need_lib_prefix=no
   11422   need_version=no
   11423   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11424   soname_spec='$libname$release$shared_ext$major'
   11425   shlibpath_var=LD_LIBRARY_PATH
   11426   ;;
   11427 
   11428 freebsd* | dragonfly* | midnightbsd*)
   11429   # DragonFly does not have aout.  When/if they implement a new
   11430   # versioning mechanism, adjust this.
   11431   if test -x /usr/bin/objformat; then
   11432     objformat=`/usr/bin/objformat`
   11433   else
   11434     case $host_os in
   11435     freebsd[23].*) objformat=aout ;;
   11436     *) objformat=elf ;;
   11437     esac
   11438   fi
   11439   version_type=freebsd-$objformat
   11440   case $version_type in
   11441     freebsd-elf*)
   11442       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11443       soname_spec='$libname$release$shared_ext$major'
   11444       need_version=no
   11445       need_lib_prefix=no
   11446       ;;
   11447     freebsd-*)
   11448       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11449       need_version=yes
   11450       ;;
   11451   esac
   11452   shlibpath_var=LD_LIBRARY_PATH
   11453   case $host_os in
   11454   freebsd2.*)
   11455     shlibpath_overrides_runpath=yes
   11456     ;;
   11457   freebsd3.[01]* | freebsdelf3.[01]*)
   11458     shlibpath_overrides_runpath=yes
   11459     hardcode_into_libs=yes
   11460     ;;
   11461   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11462   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11463     shlibpath_overrides_runpath=no
   11464     hardcode_into_libs=yes
   11465     ;;
   11466   *) # from 4.6 on, and DragonFly
   11467     shlibpath_overrides_runpath=yes
   11468     hardcode_into_libs=yes
   11469     ;;
   11470   esac
   11471   ;;
   11472 
   11473 haiku*)
   11474   version_type=linux # correct to gnu/linux during the next big refactor
   11475   need_lib_prefix=no
   11476   need_version=no
   11477   dynamic_linker="$host_os runtime_loader"
   11478   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11479   soname_spec='$libname$release$shared_ext$major'
   11480   shlibpath_var=LIBRARY_PATH
   11481   shlibpath_overrides_runpath=no
   11482   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11483   hardcode_into_libs=yes
   11484   ;;
   11485 
   11486 hpux9* | hpux10* | hpux11*)
   11487   # Give a soname corresponding to the major version so that dld.sl refuses to
   11488   # link against other versions.
   11489   version_type=sunos
   11490   need_lib_prefix=no
   11491   need_version=no
   11492   case $host_cpu in
   11493   ia64*)
   11494     shrext_cmds='.so'
   11495     hardcode_into_libs=yes
   11496     dynamic_linker="$host_os dld.so"
   11497     shlibpath_var=LD_LIBRARY_PATH
   11498     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11499     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11500     soname_spec='$libname$release$shared_ext$major'
   11501     if test 32 = "$HPUX_IA64_MODE"; then
   11502       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11503       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11504     else
   11505       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11506       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11507     fi
   11508     ;;
   11509   hppa*64*)
   11510     shrext_cmds='.sl'
   11511     hardcode_into_libs=yes
   11512     dynamic_linker="$host_os dld.sl"
   11513     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11514     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11515     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11516     soname_spec='$libname$release$shared_ext$major'
   11517     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11518     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11519     ;;
   11520   *)
   11521     shrext_cmds='.sl'
   11522     dynamic_linker="$host_os dld.sl"
   11523     shlibpath_var=SHLIB_PATH
   11524     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   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     ;;
   11528   esac
   11529   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11530   postinstall_cmds='chmod 555 $lib'
   11531   # or fails outright, so override atomically:
   11532   install_override_mode=555
   11533   ;;
   11534 
   11535 interix[3-9]*)
   11536   version_type=linux # correct to gnu/linux during the next big refactor
   11537   need_lib_prefix=no
   11538   need_version=no
   11539   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11540   soname_spec='$libname$release$shared_ext$major'
   11541   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11542   shlibpath_var=LD_LIBRARY_PATH
   11543   shlibpath_overrides_runpath=no
   11544   hardcode_into_libs=yes
   11545   ;;
   11546 
   11547 irix5* | irix6* | nonstopux*)
   11548   case $host_os in
   11549     nonstopux*) version_type=nonstopux ;;
   11550     *)
   11551 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11552 		version_type=linux # correct to gnu/linux during the next big refactor
   11553 	else
   11554 		version_type=irix
   11555 	fi ;;
   11556   esac
   11557   need_lib_prefix=no
   11558   need_version=no
   11559   soname_spec='$libname$release$shared_ext$major'
   11560   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11561   case $host_os in
   11562   irix5* | nonstopux*)
   11563     libsuff= shlibsuff=
   11564     ;;
   11565   *)
   11566     case $LD in # libtool.m4 will add one of these switches to LD
   11567     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11568       libsuff= shlibsuff= libmagic=32-bit;;
   11569     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11570       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11571     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11572       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11573     *) libsuff= shlibsuff= libmagic=never-match;;
   11574     esac
   11575     ;;
   11576   esac
   11577   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11578   shlibpath_overrides_runpath=no
   11579   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11580   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11581   hardcode_into_libs=yes
   11582   ;;
   11583 
   11584 # No shared lib support for Linux oldld, aout, or coff.
   11585 linux*oldld* | linux*aout* | linux*coff*)
   11586   dynamic_linker=no
   11587   ;;
   11588 
   11589 linux*android*)
   11590   version_type=none # Android doesn't support versioned libraries.
   11591   need_lib_prefix=no
   11592   need_version=no
   11593   library_names_spec='$libname$release$shared_ext'
   11594   soname_spec='$libname$release$shared_ext'
   11595   finish_cmds=
   11596   shlibpath_var=LD_LIBRARY_PATH
   11597   shlibpath_overrides_runpath=yes
   11598 
   11599   # This implies no fast_install, which is unacceptable.
   11600   # Some rework will be needed to allow for fast_install
   11601   # before this can be enabled.
   11602   hardcode_into_libs=yes
   11603 
   11604   dynamic_linker='Android linker'
   11605   # Don't embed -rpath directories since the linker doesn't support them.
   11606   hardcode_libdir_flag_spec='-L$libdir'
   11607   ;;
   11608 
   11609 # This must be glibc/ELF.
   11610 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11611   version_type=linux # correct to gnu/linux during the next big refactor
   11612   need_lib_prefix=no
   11613   need_version=no
   11614   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11615   soname_spec='$libname$release$shared_ext$major'
   11616   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11617   shlibpath_var=LD_LIBRARY_PATH
   11618   shlibpath_overrides_runpath=no
   11619 
   11620   # Some binutils ld are patched to set DT_RUNPATH
   11621   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11622 then :
   11623   printf %s "(cached) " >&6
   11624 else $as_nop
   11625   lt_cv_shlibpath_overrides_runpath=no
   11626     save_LDFLAGS=$LDFLAGS
   11627     save_libdir=$libdir
   11628     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11629 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11630     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11631 /* end confdefs.h.  */
   11632 
   11633 int
   11634 main (void)
   11635 {
   11636 
   11637   ;
   11638   return 0;
   11639 }
   11640 _ACEOF
   11641 if ac_fn_c_try_link "$LINENO"
   11642 then :
   11643   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11644 then :
   11645   lt_cv_shlibpath_overrides_runpath=yes
   11646 fi
   11647 fi
   11648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11649     conftest$ac_exeext conftest.$ac_ext
   11650     LDFLAGS=$save_LDFLAGS
   11651     libdir=$save_libdir
   11652 
   11653 fi
   11654 
   11655   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11656 
   11657   # This implies no fast_install, which is unacceptable.
   11658   # Some rework will be needed to allow for fast_install
   11659   # before this can be enabled.
   11660   hardcode_into_libs=yes
   11661 
   11662   # Ideally, we could use ldconfig to report *all* directores which are
   11663   # searched for libraries, however this is still not possible.  Aside from not
   11664   # being certain /sbin/ldconfig is available, command
   11665   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11666   # even though it is searched at run-time.  Try to do the best guess by
   11667   # appending ld.so.conf contents (and includes) to the search path.
   11668   if test -f /etc/ld.so.conf; then
   11669     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' ' '`
   11670     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11671   fi
   11672 
   11673   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11674   # powerpc, because MkLinux only supported shared libraries with the
   11675   # GNU dynamic linker.  Since this was broken with cross compilers,
   11676   # most powerpc-linux boxes support dynamic linking these days and
   11677   # people can always --disable-shared, the test was removed, and we
   11678   # assume the GNU/Linux dynamic linker is in use.
   11679   dynamic_linker='GNU/Linux ld.so'
   11680   ;;
   11681 
   11682 netbsd*)
   11683   version_type=sunos
   11684   need_lib_prefix=no
   11685   need_version=no
   11686   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11687     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11688     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11689     dynamic_linker='NetBSD (a.out) ld.so'
   11690   else
   11691     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11692     soname_spec='$libname$release$shared_ext$major'
   11693     dynamic_linker='NetBSD ld.elf_so'
   11694   fi
   11695   shlibpath_var=LD_LIBRARY_PATH
   11696   shlibpath_overrides_runpath=yes
   11697   hardcode_into_libs=yes
   11698   ;;
   11699 
   11700 newsos6)
   11701   version_type=linux # correct to gnu/linux during the next big refactor
   11702   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11703   shlibpath_var=LD_LIBRARY_PATH
   11704   shlibpath_overrides_runpath=yes
   11705   ;;
   11706 
   11707 *nto* | *qnx*)
   11708   version_type=qnx
   11709   need_lib_prefix=no
   11710   need_version=no
   11711   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11712   soname_spec='$libname$release$shared_ext$major'
   11713   shlibpath_var=LD_LIBRARY_PATH
   11714   shlibpath_overrides_runpath=no
   11715   hardcode_into_libs=yes
   11716   dynamic_linker='ldqnx.so'
   11717   ;;
   11718 
   11719 openbsd* | bitrig*)
   11720   version_type=sunos
   11721   sys_lib_dlsearch_path_spec=/usr/lib
   11722   need_lib_prefix=no
   11723   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11724     need_version=no
   11725   else
   11726     need_version=yes
   11727   fi
   11728   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11729   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11730   shlibpath_var=LD_LIBRARY_PATH
   11731   shlibpath_overrides_runpath=yes
   11732   ;;
   11733 
   11734 os2*)
   11735   libname_spec='$name'
   11736   version_type=windows
   11737   shrext_cmds=.dll
   11738   need_version=no
   11739   need_lib_prefix=no
   11740   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11741   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11742     v=$($ECHO $release$versuffix | tr -d .-);
   11743     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11744     $ECHO $n$v`$shared_ext'
   11745   library_names_spec='${libname}_dll.$libext'
   11746   dynamic_linker='OS/2 ld.exe'
   11747   shlibpath_var=BEGINLIBPATH
   11748   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11749   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11750   postinstall_cmds='base_file=`basename \$file`~
   11751     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11752     dldir=$destdir/`dirname \$dlpath`~
   11753     test -d \$dldir || mkdir -p \$dldir~
   11754     $install_prog $dir/$dlname \$dldir/$dlname~
   11755     chmod a+x \$dldir/$dlname~
   11756     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11757       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11758     fi'
   11759   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11760     dlpath=$dir/\$dldll~
   11761     $RM \$dlpath'
   11762   ;;
   11763 
   11764 osf3* | osf4* | osf5*)
   11765   version_type=osf
   11766   need_lib_prefix=no
   11767   need_version=no
   11768   soname_spec='$libname$release$shared_ext$major'
   11769   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11770   shlibpath_var=LD_LIBRARY_PATH
   11771   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11772   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11773   ;;
   11774 
   11775 rdos*)
   11776   dynamic_linker=no
   11777   ;;
   11778 
   11779 solaris*)
   11780   version_type=linux # correct to gnu/linux during the next big refactor
   11781   need_lib_prefix=no
   11782   need_version=no
   11783   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11784   soname_spec='$libname$release$shared_ext$major'
   11785   shlibpath_var=LD_LIBRARY_PATH
   11786   shlibpath_overrides_runpath=yes
   11787   hardcode_into_libs=yes
   11788   # ldd complains unless libraries are executable
   11789   postinstall_cmds='chmod +x $lib'
   11790   ;;
   11791 
   11792 sunos4*)
   11793   version_type=sunos
   11794   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11795   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11796   shlibpath_var=LD_LIBRARY_PATH
   11797   shlibpath_overrides_runpath=yes
   11798   if test yes = "$with_gnu_ld"; then
   11799     need_lib_prefix=no
   11800   fi
   11801   need_version=yes
   11802   ;;
   11803 
   11804 sysv4 | sysv4.3*)
   11805   version_type=linux # correct to gnu/linux during the next big refactor
   11806   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11807   soname_spec='$libname$release$shared_ext$major'
   11808   shlibpath_var=LD_LIBRARY_PATH
   11809   case $host_vendor in
   11810     sni)
   11811       shlibpath_overrides_runpath=no
   11812       need_lib_prefix=no
   11813       runpath_var=LD_RUN_PATH
   11814       ;;
   11815     siemens)
   11816       need_lib_prefix=no
   11817       ;;
   11818     motorola)
   11819       need_lib_prefix=no
   11820       need_version=no
   11821       shlibpath_overrides_runpath=no
   11822       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11823       ;;
   11824   esac
   11825   ;;
   11826 
   11827 sysv4*MP*)
   11828   if test -d /usr/nec; then
   11829     version_type=linux # correct to gnu/linux during the next big refactor
   11830     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11831     soname_spec='$libname$shared_ext.$major'
   11832     shlibpath_var=LD_LIBRARY_PATH
   11833   fi
   11834   ;;
   11835 
   11836 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11837   version_type=sco
   11838   need_lib_prefix=no
   11839   need_version=no
   11840   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11841   soname_spec='$libname$release$shared_ext$major'
   11842   shlibpath_var=LD_LIBRARY_PATH
   11843   shlibpath_overrides_runpath=yes
   11844   hardcode_into_libs=yes
   11845   if test yes = "$with_gnu_ld"; then
   11846     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11847   else
   11848     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11849     case $host_os in
   11850       sco3.2v5*)
   11851         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11852 	;;
   11853     esac
   11854   fi
   11855   sys_lib_dlsearch_path_spec='/usr/lib'
   11856   ;;
   11857 
   11858 tpf*)
   11859   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11860   version_type=linux # correct to gnu/linux during the next big refactor
   11861   need_lib_prefix=no
   11862   need_version=no
   11863   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11864   shlibpath_var=LD_LIBRARY_PATH
   11865   shlibpath_overrides_runpath=no
   11866   hardcode_into_libs=yes
   11867   ;;
   11868 
   11869 uts4*)
   11870   version_type=linux # correct to gnu/linux during the next big refactor
   11871   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11872   soname_spec='$libname$release$shared_ext$major'
   11873   shlibpath_var=LD_LIBRARY_PATH
   11874   ;;
   11875 
   11876 *)
   11877   dynamic_linker=no
   11878   ;;
   11879 esac
   11880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11881 printf "%s\n" "$dynamic_linker" >&6; }
   11882 test no = "$dynamic_linker" && can_build_shared=no
   11883 
   11884 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11885 if test yes = "$GCC"; then
   11886   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11887 fi
   11888 
   11889 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11890   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11891 fi
   11892 
   11893 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11894   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11895 fi
   11896 
   11897 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11898 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11899 
   11900 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11901 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11902 
   11903 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11904 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   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 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12003 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12004 hardcode_action=
   12005 if test -n "$hardcode_libdir_flag_spec" ||
   12006    test -n "$runpath_var" ||
   12007    test yes = "$hardcode_automatic"; then
   12008 
   12009   # We can hardcode non-existent directories.
   12010   if test no != "$hardcode_direct" &&
   12011      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12012      # have to relink, otherwise we might link with an installed library
   12013      # when we should be linking with a yet-to-be-installed one
   12014      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12015      test no != "$hardcode_minus_L"; then
   12016     # Linking always hardcodes the temporary library directory.
   12017     hardcode_action=relink
   12018   else
   12019     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12020     hardcode_action=immediate
   12021   fi
   12022 else
   12023   # We cannot hardcode anything, or else we can only hardcode existing
   12024   # directories.
   12025   hardcode_action=unsupported
   12026 fi
   12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12028 printf "%s\n" "$hardcode_action" >&6; }
   12029 
   12030 if test relink = "$hardcode_action" ||
   12031    test yes = "$inherit_rpath"; then
   12032   # Fast installation is not supported
   12033   enable_fast_install=no
   12034 elif test yes = "$shlibpath_overrides_runpath" ||
   12035      test no = "$enable_shared"; then
   12036   # Fast installation is not necessary
   12037   enable_fast_install=needless
   12038 fi
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045   if test yes != "$enable_dlopen"; then
   12046   enable_dlopen=unknown
   12047   enable_dlopen_self=unknown
   12048   enable_dlopen_self_static=unknown
   12049 else
   12050   lt_cv_dlopen=no
   12051   lt_cv_dlopen_libs=
   12052 
   12053   case $host_os in
   12054   beos*)
   12055     lt_cv_dlopen=load_add_on
   12056     lt_cv_dlopen_libs=
   12057     lt_cv_dlopen_self=yes
   12058     ;;
   12059 
   12060   mingw* | pw32* | cegcc*)
   12061     lt_cv_dlopen=LoadLibrary
   12062     lt_cv_dlopen_libs=
   12063     ;;
   12064 
   12065   cygwin*)
   12066     lt_cv_dlopen=dlopen
   12067     lt_cv_dlopen_libs=
   12068     ;;
   12069 
   12070   darwin*)
   12071     # if libdl is installed we need to link against it
   12072     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12073 printf %s "checking for dlopen in -ldl... " >&6; }
   12074 if test ${ac_cv_lib_dl_dlopen+y}
   12075 then :
   12076   printf %s "(cached) " >&6
   12077 else $as_nop
   12078   ac_check_lib_save_LIBS=$LIBS
   12079 LIBS="-ldl  $LIBS"
   12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12081 /* end confdefs.h.  */
   12082 
   12083 /* Override any GCC internal prototype to avoid an error.
   12084    Use char because int might match the return type of a GCC
   12085    builtin and then its argument prototype would still apply.  */
   12086 char dlopen ();
   12087 int
   12088 main (void)
   12089 {
   12090 return dlopen ();
   12091   ;
   12092   return 0;
   12093 }
   12094 _ACEOF
   12095 if ac_fn_c_try_link "$LINENO"
   12096 then :
   12097   ac_cv_lib_dl_dlopen=yes
   12098 else $as_nop
   12099   ac_cv_lib_dl_dlopen=no
   12100 fi
   12101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12102     conftest$ac_exeext conftest.$ac_ext
   12103 LIBS=$ac_check_lib_save_LIBS
   12104 fi
   12105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12106 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12107 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12108 then :
   12109   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12110 else $as_nop
   12111 
   12112     lt_cv_dlopen=dyld
   12113     lt_cv_dlopen_libs=
   12114     lt_cv_dlopen_self=yes
   12115 
   12116 fi
   12117 
   12118     ;;
   12119 
   12120   tpf*)
   12121     # Don't try to run any link tests for TPF.  We know it's impossible
   12122     # because TPF is a cross-compiler, and we know how we open DSOs.
   12123     lt_cv_dlopen=dlopen
   12124     lt_cv_dlopen_libs=
   12125     lt_cv_dlopen_self=no
   12126     ;;
   12127 
   12128   *)
   12129     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12130 if test "x$ac_cv_func_shl_load" = xyes
   12131 then :
   12132   lt_cv_dlopen=shl_load
   12133 else $as_nop
   12134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12135 printf %s "checking for shl_load in -ldld... " >&6; }
   12136 if test ${ac_cv_lib_dld_shl_load+y}
   12137 then :
   12138   printf %s "(cached) " >&6
   12139 else $as_nop
   12140   ac_check_lib_save_LIBS=$LIBS
   12141 LIBS="-ldld  $LIBS"
   12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12143 /* end confdefs.h.  */
   12144 
   12145 /* Override any GCC internal prototype to avoid an error.
   12146    Use char because int might match the return type of a GCC
   12147    builtin and then its argument prototype would still apply.  */
   12148 char shl_load ();
   12149 int
   12150 main (void)
   12151 {
   12152 return shl_load ();
   12153   ;
   12154   return 0;
   12155 }
   12156 _ACEOF
   12157 if ac_fn_c_try_link "$LINENO"
   12158 then :
   12159   ac_cv_lib_dld_shl_load=yes
   12160 else $as_nop
   12161   ac_cv_lib_dld_shl_load=no
   12162 fi
   12163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12164     conftest$ac_exeext conftest.$ac_ext
   12165 LIBS=$ac_check_lib_save_LIBS
   12166 fi
   12167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12168 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12169 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12170 then :
   12171   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12172 else $as_nop
   12173   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12174 if test "x$ac_cv_func_dlopen" = xyes
   12175 then :
   12176   lt_cv_dlopen=dlopen
   12177 else $as_nop
   12178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12179 printf %s "checking for dlopen in -ldl... " >&6; }
   12180 if test ${ac_cv_lib_dl_dlopen+y}
   12181 then :
   12182   printf %s "(cached) " >&6
   12183 else $as_nop
   12184   ac_check_lib_save_LIBS=$LIBS
   12185 LIBS="-ldl  $LIBS"
   12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12187 /* end confdefs.h.  */
   12188 
   12189 /* Override any GCC internal prototype to avoid an error.
   12190    Use char because int might match the return type of a GCC
   12191    builtin and then its argument prototype would still apply.  */
   12192 char dlopen ();
   12193 int
   12194 main (void)
   12195 {
   12196 return dlopen ();
   12197   ;
   12198   return 0;
   12199 }
   12200 _ACEOF
   12201 if ac_fn_c_try_link "$LINENO"
   12202 then :
   12203   ac_cv_lib_dl_dlopen=yes
   12204 else $as_nop
   12205   ac_cv_lib_dl_dlopen=no
   12206 fi
   12207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12208     conftest$ac_exeext conftest.$ac_ext
   12209 LIBS=$ac_check_lib_save_LIBS
   12210 fi
   12211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12212 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12213 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12214 then :
   12215   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12216 else $as_nop
   12217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12218 printf %s "checking for dlopen in -lsvld... " >&6; }
   12219 if test ${ac_cv_lib_svld_dlopen+y}
   12220 then :
   12221   printf %s "(cached) " >&6
   12222 else $as_nop
   12223   ac_check_lib_save_LIBS=$LIBS
   12224 LIBS="-lsvld  $LIBS"
   12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12226 /* end confdefs.h.  */
   12227 
   12228 /* Override any GCC internal prototype to avoid an error.
   12229    Use char because int might match the return type of a GCC
   12230    builtin and then its argument prototype would still apply.  */
   12231 char dlopen ();
   12232 int
   12233 main (void)
   12234 {
   12235 return dlopen ();
   12236   ;
   12237   return 0;
   12238 }
   12239 _ACEOF
   12240 if ac_fn_c_try_link "$LINENO"
   12241 then :
   12242   ac_cv_lib_svld_dlopen=yes
   12243 else $as_nop
   12244   ac_cv_lib_svld_dlopen=no
   12245 fi
   12246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12247     conftest$ac_exeext conftest.$ac_ext
   12248 LIBS=$ac_check_lib_save_LIBS
   12249 fi
   12250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12251 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12252 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12253 then :
   12254   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12255 else $as_nop
   12256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12257 printf %s "checking for dld_link in -ldld... " >&6; }
   12258 if test ${ac_cv_lib_dld_dld_link+y}
   12259 then :
   12260   printf %s "(cached) " >&6
   12261 else $as_nop
   12262   ac_check_lib_save_LIBS=$LIBS
   12263 LIBS="-ldld  $LIBS"
   12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12265 /* end confdefs.h.  */
   12266 
   12267 /* Override any GCC internal prototype to avoid an error.
   12268    Use char because int might match the return type of a GCC
   12269    builtin and then its argument prototype would still apply.  */
   12270 char dld_link ();
   12271 int
   12272 main (void)
   12273 {
   12274 return dld_link ();
   12275   ;
   12276   return 0;
   12277 }
   12278 _ACEOF
   12279 if ac_fn_c_try_link "$LINENO"
   12280 then :
   12281   ac_cv_lib_dld_dld_link=yes
   12282 else $as_nop
   12283   ac_cv_lib_dld_dld_link=no
   12284 fi
   12285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12286     conftest$ac_exeext conftest.$ac_ext
   12287 LIBS=$ac_check_lib_save_LIBS
   12288 fi
   12289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12290 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12291 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12292 then :
   12293   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12294 fi
   12295 
   12296 
   12297 fi
   12298 
   12299 
   12300 fi
   12301 
   12302 
   12303 fi
   12304 
   12305 
   12306 fi
   12307 
   12308 
   12309 fi
   12310 
   12311     ;;
   12312   esac
   12313 
   12314   if test no = "$lt_cv_dlopen"; then
   12315     enable_dlopen=no
   12316   else
   12317     enable_dlopen=yes
   12318   fi
   12319 
   12320   case $lt_cv_dlopen in
   12321   dlopen)
   12322     save_CPPFLAGS=$CPPFLAGS
   12323     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12324 
   12325     save_LDFLAGS=$LDFLAGS
   12326     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12327 
   12328     save_LIBS=$LIBS
   12329     LIBS="$lt_cv_dlopen_libs $LIBS"
   12330 
   12331     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12332 printf %s "checking whether a program can dlopen itself... " >&6; }
   12333 if test ${lt_cv_dlopen_self+y}
   12334 then :
   12335   printf %s "(cached) " >&6
   12336 else $as_nop
   12337   	  if test yes = "$cross_compiling"; then :
   12338   lt_cv_dlopen_self=cross
   12339 else
   12340   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12341   lt_status=$lt_dlunknown
   12342   cat > conftest.$ac_ext <<_LT_EOF
   12343 #line $LINENO "configure"
   12344 #include "confdefs.h"
   12345 
   12346 #if HAVE_DLFCN_H
   12347 #include <dlfcn.h>
   12348 #endif
   12349 
   12350 #include <stdio.h>
   12351 
   12352 #ifdef RTLD_GLOBAL
   12353 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12354 #else
   12355 #  ifdef DL_GLOBAL
   12356 #    define LT_DLGLOBAL		DL_GLOBAL
   12357 #  else
   12358 #    define LT_DLGLOBAL		0
   12359 #  endif
   12360 #endif
   12361 
   12362 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12363    find out it does not work in some platform. */
   12364 #ifndef LT_DLLAZY_OR_NOW
   12365 #  ifdef RTLD_LAZY
   12366 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12367 #  else
   12368 #    ifdef DL_LAZY
   12369 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12370 #    else
   12371 #      ifdef RTLD_NOW
   12372 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12373 #      else
   12374 #        ifdef DL_NOW
   12375 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12376 #        else
   12377 #          define LT_DLLAZY_OR_NOW	0
   12378 #        endif
   12379 #      endif
   12380 #    endif
   12381 #  endif
   12382 #endif
   12383 
   12384 /* When -fvisibility=hidden is used, assume the code has been annotated
   12385    correspondingly for the symbols needed.  */
   12386 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12387 int fnord () __attribute__((visibility("default")));
   12388 #endif
   12389 
   12390 int fnord () { return 42; }
   12391 int main ()
   12392 {
   12393   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12394   int status = $lt_dlunknown;
   12395 
   12396   if (self)
   12397     {
   12398       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12399       else
   12400         {
   12401 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12402           else puts (dlerror ());
   12403 	}
   12404       /* dlclose (self); */
   12405     }
   12406   else
   12407     puts (dlerror ());
   12408 
   12409   return status;
   12410 }
   12411 _LT_EOF
   12412   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12413   (eval $ac_link) 2>&5
   12414   ac_status=$?
   12415   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12416   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12417     (./conftest; exit; ) >&5 2>/dev/null
   12418     lt_status=$?
   12419     case x$lt_status in
   12420       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12421       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12422       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12423     esac
   12424   else :
   12425     # compilation failed
   12426     lt_cv_dlopen_self=no
   12427   fi
   12428 fi
   12429 rm -fr conftest*
   12430 
   12431 
   12432 fi
   12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12434 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12435 
   12436     if test yes = "$lt_cv_dlopen_self"; then
   12437       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12438       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12439 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12440 if test ${lt_cv_dlopen_self_static+y}
   12441 then :
   12442   printf %s "(cached) " >&6
   12443 else $as_nop
   12444   	  if test yes = "$cross_compiling"; then :
   12445   lt_cv_dlopen_self_static=cross
   12446 else
   12447   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12448   lt_status=$lt_dlunknown
   12449   cat > conftest.$ac_ext <<_LT_EOF
   12450 #line $LINENO "configure"
   12451 #include "confdefs.h"
   12452 
   12453 #if HAVE_DLFCN_H
   12454 #include <dlfcn.h>
   12455 #endif
   12456 
   12457 #include <stdio.h>
   12458 
   12459 #ifdef RTLD_GLOBAL
   12460 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12461 #else
   12462 #  ifdef DL_GLOBAL
   12463 #    define LT_DLGLOBAL		DL_GLOBAL
   12464 #  else
   12465 #    define LT_DLGLOBAL		0
   12466 #  endif
   12467 #endif
   12468 
   12469 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12470    find out it does not work in some platform. */
   12471 #ifndef LT_DLLAZY_OR_NOW
   12472 #  ifdef RTLD_LAZY
   12473 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12474 #  else
   12475 #    ifdef DL_LAZY
   12476 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12477 #    else
   12478 #      ifdef RTLD_NOW
   12479 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12480 #      else
   12481 #        ifdef DL_NOW
   12482 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12483 #        else
   12484 #          define LT_DLLAZY_OR_NOW	0
   12485 #        endif
   12486 #      endif
   12487 #    endif
   12488 #  endif
   12489 #endif
   12490 
   12491 /* When -fvisibility=hidden is used, assume the code has been annotated
   12492    correspondingly for the symbols needed.  */
   12493 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12494 int fnord () __attribute__((visibility("default")));
   12495 #endif
   12496 
   12497 int fnord () { return 42; }
   12498 int main ()
   12499 {
   12500   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12501   int status = $lt_dlunknown;
   12502 
   12503   if (self)
   12504     {
   12505       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12506       else
   12507         {
   12508 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12509           else puts (dlerror ());
   12510 	}
   12511       /* dlclose (self); */
   12512     }
   12513   else
   12514     puts (dlerror ());
   12515 
   12516   return status;
   12517 }
   12518 _LT_EOF
   12519   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12520   (eval $ac_link) 2>&5
   12521   ac_status=$?
   12522   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12523   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12524     (./conftest; exit; ) >&5 2>/dev/null
   12525     lt_status=$?
   12526     case x$lt_status in
   12527       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12528       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12529       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12530     esac
   12531   else :
   12532     # compilation failed
   12533     lt_cv_dlopen_self_static=no
   12534   fi
   12535 fi
   12536 rm -fr conftest*
   12537 
   12538 
   12539 fi
   12540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12541 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12542     fi
   12543 
   12544     CPPFLAGS=$save_CPPFLAGS
   12545     LDFLAGS=$save_LDFLAGS
   12546     LIBS=$save_LIBS
   12547     ;;
   12548   esac
   12549 
   12550   case $lt_cv_dlopen_self in
   12551   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12552   *) enable_dlopen_self=unknown ;;
   12553   esac
   12554 
   12555   case $lt_cv_dlopen_self_static in
   12556   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12557   *) enable_dlopen_self_static=unknown ;;
   12558   esac
   12559 fi
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 striplib=
   12578 old_striplib=
   12579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12580 printf %s "checking whether stripping libraries is possible... " >&6; }
   12581 if test -z "$STRIP"; then
   12582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12583 printf "%s\n" "no" >&6; }
   12584 else
   12585   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12586     old_striplib="$STRIP --strip-debug"
   12587     striplib="$STRIP --strip-unneeded"
   12588     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12589 printf "%s\n" "yes" >&6; }
   12590   else
   12591     case $host_os in
   12592     darwin*)
   12593       # FIXME - insert some real tests, host_os isn't really good enough
   12594       striplib="$STRIP -x"
   12595       old_striplib="$STRIP -S"
   12596       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12597 printf "%s\n" "yes" >&6; }
   12598       ;;
   12599     freebsd*)
   12600       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12601         old_striplib="$STRIP --strip-debug"
   12602         striplib="$STRIP --strip-unneeded"
   12603         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12604 printf "%s\n" "yes" >&6; }
   12605       else
   12606         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12607 printf "%s\n" "no" >&6; }
   12608       fi
   12609       ;;
   12610     *)
   12611       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12612 printf "%s\n" "no" >&6; }
   12613       ;;
   12614     esac
   12615   fi
   12616 fi
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 
   12628 
   12629   # Report what library types will actually be built
   12630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12631 printf %s "checking if libtool supports shared libraries... " >&6; }
   12632   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12633 printf "%s\n" "$can_build_shared" >&6; }
   12634 
   12635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12636 printf %s "checking whether to build shared libraries... " >&6; }
   12637   test no = "$can_build_shared" && enable_shared=no
   12638 
   12639   # On AIX, shared libraries and static libraries use the same namespace, and
   12640   # are all built from PIC.
   12641   case $host_os in
   12642   aix3*)
   12643     test yes = "$enable_shared" && enable_static=no
   12644     if test -n "$RANLIB"; then
   12645       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12646       postinstall_cmds='$RANLIB $lib'
   12647     fi
   12648     ;;
   12649 
   12650   aix[4-9]*)
   12651     if test ia64 != "$host_cpu"; then
   12652       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12653       yes,aix,yes) ;;			# shared object as lib.so file only
   12654       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12655       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12656       esac
   12657     fi
   12658     ;;
   12659   esac
   12660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12661 printf "%s\n" "$enable_shared" >&6; }
   12662 
   12663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12664 printf %s "checking whether to build static libraries... " >&6; }
   12665   # Make sure either enable_shared or enable_static is yes.
   12666   test yes = "$enable_shared" || enable_static=yes
   12667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12668 printf "%s\n" "$enable_static" >&6; }
   12669 
   12670 
   12671 
   12672 
   12673 fi
   12674 ac_ext=c
   12675 ac_cpp='$CPP $CPPFLAGS'
   12676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12679 
   12680 CC=$lt_save_CC
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696         ac_config_commands="$ac_config_commands libtool"
   12697 
   12698 
   12699 
   12700 
   12701 # Only expand once:
   12702 
   12703 
   12704 
   12705 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12719 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12720 if test ${ac_cv_c_undeclared_builtin_options+y}
   12721 then :
   12722   printf %s "(cached) " >&6
   12723 else $as_nop
   12724   ac_save_CFLAGS=$CFLAGS
   12725    ac_cv_c_undeclared_builtin_options='cannot detect'
   12726    for ac_arg in '' -fno-builtin; do
   12727      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12728      # This test program should *not* compile successfully.
   12729      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12730 /* end confdefs.h.  */
   12731 
   12732 int
   12733 main (void)
   12734 {
   12735 (void) strchr;
   12736   ;
   12737   return 0;
   12738 }
   12739 _ACEOF
   12740 if ac_fn_c_try_compile "$LINENO"
   12741 then :
   12742 
   12743 else $as_nop
   12744   # This test program should compile successfully.
   12745         # No library function is consistently available on
   12746         # freestanding implementations, so test against a dummy
   12747         # declaration.  Include always-available headers on the
   12748         # off chance that they somehow elicit warnings.
   12749         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12750 /* end confdefs.h.  */
   12751 #include <float.h>
   12752 #include <limits.h>
   12753 #include <stdarg.h>
   12754 #include <stddef.h>
   12755 extern void ac_decl (int, char *);
   12756 
   12757 int
   12758 main (void)
   12759 {
   12760 (void) ac_decl (0, (char *) 0);
   12761   (void) ac_decl;
   12762 
   12763   ;
   12764   return 0;
   12765 }
   12766 _ACEOF
   12767 if ac_fn_c_try_compile "$LINENO"
   12768 then :
   12769   if test x"$ac_arg" = x
   12770 then :
   12771   ac_cv_c_undeclared_builtin_options='none needed'
   12772 else $as_nop
   12773   ac_cv_c_undeclared_builtin_options=$ac_arg
   12774 fi
   12775           break
   12776 fi
   12777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12778 fi
   12779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12780     done
   12781     CFLAGS=$ac_save_CFLAGS
   12782 
   12783 fi
   12784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12785 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12786   case $ac_cv_c_undeclared_builtin_options in #(
   12787   'cannot detect') :
   12788     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12789 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12790 as_fn_error $? "cannot make $CC report undeclared builtins
   12791 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12792   'none needed') :
   12793     ac_c_undeclared_builtin_options='' ;; #(
   12794   *) :
   12795     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12796 esac
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12803 if test "x$ac_cv_have_decl___clang__" = xyes
   12804 then :
   12805   CLANGCC="yes"
   12806 else $as_nop
   12807   CLANGCC="no"
   12808 fi
   12809 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12810 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12811 then :
   12812   INTELCC="yes"
   12813 else $as_nop
   12814   INTELCC="no"
   12815 fi
   12816 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12817 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12818 then :
   12819   SUNCC="yes"
   12820 else $as_nop
   12821   SUNCC="no"
   12822 fi
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12832 	if test -n "$ac_tool_prefix"; then
   12833   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12834 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12836 printf %s "checking for $ac_word... " >&6; }
   12837 if test ${ac_cv_path_PKG_CONFIG+y}
   12838 then :
   12839   printf %s "(cached) " >&6
   12840 else $as_nop
   12841   case $PKG_CONFIG in
   12842   [\\/]* | ?:[\\/]*)
   12843   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12844   ;;
   12845   *)
   12846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12847 for as_dir in $PATH
   12848 do
   12849   IFS=$as_save_IFS
   12850   case $as_dir in #(((
   12851     '') as_dir=./ ;;
   12852     */) ;;
   12853     *) as_dir=$as_dir/ ;;
   12854   esac
   12855     for ac_exec_ext in '' $ac_executable_extensions; do
   12856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12857     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12858     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12859     break 2
   12860   fi
   12861 done
   12862   done
   12863 IFS=$as_save_IFS
   12864 
   12865   ;;
   12866 esac
   12867 fi
   12868 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12869 if test -n "$PKG_CONFIG"; then
   12870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12871 printf "%s\n" "$PKG_CONFIG" >&6; }
   12872 else
   12873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12874 printf "%s\n" "no" >&6; }
   12875 fi
   12876 
   12877 
   12878 fi
   12879 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12880   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12881   # Extract the first word of "pkg-config", so it can be a program name with args.
   12882 set dummy pkg-config; ac_word=$2
   12883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12884 printf %s "checking for $ac_word... " >&6; }
   12885 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12886 then :
   12887   printf %s "(cached) " >&6
   12888 else $as_nop
   12889   case $ac_pt_PKG_CONFIG in
   12890   [\\/]* | ?:[\\/]*)
   12891   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12892   ;;
   12893   *)
   12894   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12895 for as_dir in $PATH
   12896 do
   12897   IFS=$as_save_IFS
   12898   case $as_dir in #(((
   12899     '') as_dir=./ ;;
   12900     */) ;;
   12901     *) as_dir=$as_dir/ ;;
   12902   esac
   12903     for ac_exec_ext in '' $ac_executable_extensions; do
   12904   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12905     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12906     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12907     break 2
   12908   fi
   12909 done
   12910   done
   12911 IFS=$as_save_IFS
   12912 
   12913   ;;
   12914 esac
   12915 fi
   12916 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12917 if test -n "$ac_pt_PKG_CONFIG"; then
   12918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12919 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12920 else
   12921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12922 printf "%s\n" "no" >&6; }
   12923 fi
   12924 
   12925   if test "x$ac_pt_PKG_CONFIG" = x; then
   12926     PKG_CONFIG=""
   12927   else
   12928     case $cross_compiling:$ac_tool_warned in
   12929 yes:)
   12930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12931 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12932 ac_tool_warned=yes ;;
   12933 esac
   12934     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12935   fi
   12936 else
   12937   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12938 fi
   12939 
   12940 fi
   12941 if test -n "$PKG_CONFIG"; then
   12942 	_pkg_min_version=0.9.0
   12943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12944 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12945 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12946 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12947 printf "%s\n" "yes" >&6; }
   12948 	else
   12949 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12950 printf "%s\n" "no" >&6; }
   12951 		PKG_CONFIG=""
   12952 	fi
   12953 fi
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 # Check whether --enable-selective-werror was given.
   12960 if test ${enable_selective_werror+y}
   12961 then :
   12962   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12963 else $as_nop
   12964   SELECTIVE_WERROR=yes
   12965 fi
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12972 if test "x$SUNCC" = "xyes"; then
   12973     BASE_CFLAGS="-v"
   12974 else
   12975     BASE_CFLAGS=""
   12976 fi
   12977 
   12978 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 xorg_testset_save_CFLAGS="$CFLAGS"
   12993 
   12994 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12995 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12997 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12998 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12999 then :
   13000   printf %s "(cached) " >&6
   13001 else $as_nop
   13002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13003 /* end confdefs.h.  */
   13004 int i;
   13005 _ACEOF
   13006 if ac_fn_c_try_compile "$LINENO"
   13007 then :
   13008   xorg_cv_cc_flag_unknown_warning_option=yes
   13009 else $as_nop
   13010   xorg_cv_cc_flag_unknown_warning_option=no
   13011 fi
   13012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13013 fi
   13014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13015 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13017 	CFLAGS="$xorg_testset_save_CFLAGS"
   13018 fi
   13019 
   13020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13023 	fi
   13024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13026 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13027 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13028 then :
   13029   printf %s "(cached) " >&6
   13030 else $as_nop
   13031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13032 /* end confdefs.h.  */
   13033 int i;
   13034 _ACEOF
   13035 if ac_fn_c_try_compile "$LINENO"
   13036 then :
   13037   xorg_cv_cc_flag_unused_command_line_argument=yes
   13038 else $as_nop
   13039   xorg_cv_cc_flag_unused_command_line_argument=no
   13040 fi
   13041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13042 fi
   13043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13044 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13046 	CFLAGS="$xorg_testset_save_CFLAGS"
   13047 fi
   13048 
   13049 found="no"
   13050 
   13051 	if test $found = "no" ; then
   13052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13054 		fi
   13055 
   13056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13058 		fi
   13059 
   13060 		CFLAGS="$CFLAGS -Wall"
   13061 
   13062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13063 printf %s "checking if $CC supports -Wall... " >&6; }
   13064 		cacheid=xorg_cv_cc_flag__Wall
   13065 		if eval test \${$cacheid+y}
   13066 then :
   13067   printf %s "(cached) " >&6
   13068 else $as_nop
   13069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13070 /* end confdefs.h.  */
   13071 int i;
   13072 int
   13073 main (void)
   13074 {
   13075 
   13076   ;
   13077   return 0;
   13078 }
   13079 _ACEOF
   13080 if ac_fn_c_try_link "$LINENO"
   13081 then :
   13082   eval $cacheid=yes
   13083 else $as_nop
   13084   eval $cacheid=no
   13085 fi
   13086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13087     conftest$ac_exeext conftest.$ac_ext
   13088 fi
   13089 
   13090 
   13091 		CFLAGS="$xorg_testset_save_CFLAGS"
   13092 
   13093 		eval supported=\$$cacheid
   13094 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13095 printf "%s\n" "$supported" >&6; }
   13096 		if test "$supported" = "yes" ; then
   13097 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13098 			found="yes"
   13099 		fi
   13100 	fi
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 xorg_testset_save_CFLAGS="$CFLAGS"
   13117 
   13118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13121 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13122 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13123 then :
   13124   printf %s "(cached) " >&6
   13125 else $as_nop
   13126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13127 /* end confdefs.h.  */
   13128 int i;
   13129 _ACEOF
   13130 if ac_fn_c_try_compile "$LINENO"
   13131 then :
   13132   xorg_cv_cc_flag_unknown_warning_option=yes
   13133 else $as_nop
   13134   xorg_cv_cc_flag_unknown_warning_option=no
   13135 fi
   13136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13137 fi
   13138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13139 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13140 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13141 	CFLAGS="$xorg_testset_save_CFLAGS"
   13142 fi
   13143 
   13144 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13145 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13146 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13147 	fi
   13148 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13150 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13151 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13152 then :
   13153   printf %s "(cached) " >&6
   13154 else $as_nop
   13155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13156 /* end confdefs.h.  */
   13157 int i;
   13158 _ACEOF
   13159 if ac_fn_c_try_compile "$LINENO"
   13160 then :
   13161   xorg_cv_cc_flag_unused_command_line_argument=yes
   13162 else $as_nop
   13163   xorg_cv_cc_flag_unused_command_line_argument=no
   13164 fi
   13165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13166 fi
   13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13168 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13170 	CFLAGS="$xorg_testset_save_CFLAGS"
   13171 fi
   13172 
   13173 found="no"
   13174 
   13175 	if test $found = "no" ; then
   13176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13178 		fi
   13179 
   13180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13182 		fi
   13183 
   13184 		CFLAGS="$CFLAGS -Wpointer-arith"
   13185 
   13186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13187 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13188 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13189 		if eval test \${$cacheid+y}
   13190 then :
   13191   printf %s "(cached) " >&6
   13192 else $as_nop
   13193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13194 /* end confdefs.h.  */
   13195 int i;
   13196 int
   13197 main (void)
   13198 {
   13199 
   13200   ;
   13201   return 0;
   13202 }
   13203 _ACEOF
   13204 if ac_fn_c_try_link "$LINENO"
   13205 then :
   13206   eval $cacheid=yes
   13207 else $as_nop
   13208   eval $cacheid=no
   13209 fi
   13210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13211     conftest$ac_exeext conftest.$ac_ext
   13212 fi
   13213 
   13214 
   13215 		CFLAGS="$xorg_testset_save_CFLAGS"
   13216 
   13217 		eval supported=\$$cacheid
   13218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13219 printf "%s\n" "$supported" >&6; }
   13220 		if test "$supported" = "yes" ; then
   13221 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13222 			found="yes"
   13223 		fi
   13224 	fi
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 xorg_testset_save_CFLAGS="$CFLAGS"
   13241 
   13242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13245 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13246 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13247 then :
   13248   printf %s "(cached) " >&6
   13249 else $as_nop
   13250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13251 /* end confdefs.h.  */
   13252 int i;
   13253 _ACEOF
   13254 if ac_fn_c_try_compile "$LINENO"
   13255 then :
   13256   xorg_cv_cc_flag_unknown_warning_option=yes
   13257 else $as_nop
   13258   xorg_cv_cc_flag_unknown_warning_option=no
   13259 fi
   13260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13261 fi
   13262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13263 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13265 	CFLAGS="$xorg_testset_save_CFLAGS"
   13266 fi
   13267 
   13268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13271 	fi
   13272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13274 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13275 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13276 then :
   13277   printf %s "(cached) " >&6
   13278 else $as_nop
   13279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13280 /* end confdefs.h.  */
   13281 int i;
   13282 _ACEOF
   13283 if ac_fn_c_try_compile "$LINENO"
   13284 then :
   13285   xorg_cv_cc_flag_unused_command_line_argument=yes
   13286 else $as_nop
   13287   xorg_cv_cc_flag_unused_command_line_argument=no
   13288 fi
   13289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13290 fi
   13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13292 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13294 	CFLAGS="$xorg_testset_save_CFLAGS"
   13295 fi
   13296 
   13297 found="no"
   13298 
   13299 	if test $found = "no" ; then
   13300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13302 		fi
   13303 
   13304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13306 		fi
   13307 
   13308 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13309 
   13310 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13311 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13312 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13313 		if eval test \${$cacheid+y}
   13314 then :
   13315   printf %s "(cached) " >&6
   13316 else $as_nop
   13317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13318 /* end confdefs.h.  */
   13319 int i;
   13320 int
   13321 main (void)
   13322 {
   13323 
   13324   ;
   13325   return 0;
   13326 }
   13327 _ACEOF
   13328 if ac_fn_c_try_link "$LINENO"
   13329 then :
   13330   eval $cacheid=yes
   13331 else $as_nop
   13332   eval $cacheid=no
   13333 fi
   13334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13335     conftest$ac_exeext conftest.$ac_ext
   13336 fi
   13337 
   13338 
   13339 		CFLAGS="$xorg_testset_save_CFLAGS"
   13340 
   13341 		eval supported=\$$cacheid
   13342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13343 printf "%s\n" "$supported" >&6; }
   13344 		if test "$supported" = "yes" ; then
   13345 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13346 			found="yes"
   13347 		fi
   13348 	fi
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 xorg_testset_save_CFLAGS="$CFLAGS"
   13365 
   13366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13369 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13370 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13371 then :
   13372   printf %s "(cached) " >&6
   13373 else $as_nop
   13374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13375 /* end confdefs.h.  */
   13376 int i;
   13377 _ACEOF
   13378 if ac_fn_c_try_compile "$LINENO"
   13379 then :
   13380   xorg_cv_cc_flag_unknown_warning_option=yes
   13381 else $as_nop
   13382   xorg_cv_cc_flag_unknown_warning_option=no
   13383 fi
   13384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13385 fi
   13386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13387 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13388 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13389 	CFLAGS="$xorg_testset_save_CFLAGS"
   13390 fi
   13391 
   13392 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13393 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13395 	fi
   13396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13398 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13399 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13400 then :
   13401   printf %s "(cached) " >&6
   13402 else $as_nop
   13403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13404 /* end confdefs.h.  */
   13405 int i;
   13406 _ACEOF
   13407 if ac_fn_c_try_compile "$LINENO"
   13408 then :
   13409   xorg_cv_cc_flag_unused_command_line_argument=yes
   13410 else $as_nop
   13411   xorg_cv_cc_flag_unused_command_line_argument=no
   13412 fi
   13413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13414 fi
   13415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13416 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13418 	CFLAGS="$xorg_testset_save_CFLAGS"
   13419 fi
   13420 
   13421 found="no"
   13422 
   13423 	if test $found = "no" ; then
   13424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13426 		fi
   13427 
   13428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13430 		fi
   13431 
   13432 		CFLAGS="$CFLAGS -Wformat=2"
   13433 
   13434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13435 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13436 		cacheid=xorg_cv_cc_flag__Wformat_2
   13437 		if eval test \${$cacheid+y}
   13438 then :
   13439   printf %s "(cached) " >&6
   13440 else $as_nop
   13441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13442 /* end confdefs.h.  */
   13443 int i;
   13444 int
   13445 main (void)
   13446 {
   13447 
   13448   ;
   13449   return 0;
   13450 }
   13451 _ACEOF
   13452 if ac_fn_c_try_link "$LINENO"
   13453 then :
   13454   eval $cacheid=yes
   13455 else $as_nop
   13456   eval $cacheid=no
   13457 fi
   13458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13459     conftest$ac_exeext conftest.$ac_ext
   13460 fi
   13461 
   13462 
   13463 		CFLAGS="$xorg_testset_save_CFLAGS"
   13464 
   13465 		eval supported=\$$cacheid
   13466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13467 printf "%s\n" "$supported" >&6; }
   13468 		if test "$supported" = "yes" ; then
   13469 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13470 			found="yes"
   13471 		fi
   13472 	fi
   13473 
   13474 	if test $found = "no" ; then
   13475 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13476 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13477 		fi
   13478 
   13479 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13480 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13481 		fi
   13482 
   13483 		CFLAGS="$CFLAGS -Wformat"
   13484 
   13485 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13486 printf %s "checking if $CC supports -Wformat... " >&6; }
   13487 		cacheid=xorg_cv_cc_flag__Wformat
   13488 		if eval test \${$cacheid+y}
   13489 then :
   13490   printf %s "(cached) " >&6
   13491 else $as_nop
   13492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13493 /* end confdefs.h.  */
   13494 int i;
   13495 int
   13496 main (void)
   13497 {
   13498 
   13499   ;
   13500   return 0;
   13501 }
   13502 _ACEOF
   13503 if ac_fn_c_try_link "$LINENO"
   13504 then :
   13505   eval $cacheid=yes
   13506 else $as_nop
   13507   eval $cacheid=no
   13508 fi
   13509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13510     conftest$ac_exeext conftest.$ac_ext
   13511 fi
   13512 
   13513 
   13514 		CFLAGS="$xorg_testset_save_CFLAGS"
   13515 
   13516 		eval supported=\$$cacheid
   13517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13518 printf "%s\n" "$supported" >&6; }
   13519 		if test "$supported" = "yes" ; then
   13520 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13521 			found="yes"
   13522 		fi
   13523 	fi
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 xorg_testset_save_CFLAGS="$CFLAGS"
   13542 
   13543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13545 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13546 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13547 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13548 then :
   13549   printf %s "(cached) " >&6
   13550 else $as_nop
   13551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13552 /* end confdefs.h.  */
   13553 int i;
   13554 _ACEOF
   13555 if ac_fn_c_try_compile "$LINENO"
   13556 then :
   13557   xorg_cv_cc_flag_unknown_warning_option=yes
   13558 else $as_nop
   13559   xorg_cv_cc_flag_unknown_warning_option=no
   13560 fi
   13561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13562 fi
   13563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13564 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13566 	CFLAGS="$xorg_testset_save_CFLAGS"
   13567 fi
   13568 
   13569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13572 	fi
   13573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13575 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13576 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13577 then :
   13578   printf %s "(cached) " >&6
   13579 else $as_nop
   13580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13581 /* end confdefs.h.  */
   13582 int i;
   13583 _ACEOF
   13584 if ac_fn_c_try_compile "$LINENO"
   13585 then :
   13586   xorg_cv_cc_flag_unused_command_line_argument=yes
   13587 else $as_nop
   13588   xorg_cv_cc_flag_unused_command_line_argument=no
   13589 fi
   13590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13591 fi
   13592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13593 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13594 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13595 	CFLAGS="$xorg_testset_save_CFLAGS"
   13596 fi
   13597 
   13598 found="no"
   13599 
   13600 	if test $found = "no" ; then
   13601 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13602 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13603 		fi
   13604 
   13605 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13606 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13607 		fi
   13608 
   13609 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13610 
   13611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13612 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13613 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13614 		if eval test \${$cacheid+y}
   13615 then :
   13616   printf %s "(cached) " >&6
   13617 else $as_nop
   13618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13619 /* end confdefs.h.  */
   13620 int i;
   13621 int
   13622 main (void)
   13623 {
   13624 
   13625   ;
   13626   return 0;
   13627 }
   13628 _ACEOF
   13629 if ac_fn_c_try_link "$LINENO"
   13630 then :
   13631   eval $cacheid=yes
   13632 else $as_nop
   13633   eval $cacheid=no
   13634 fi
   13635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13636     conftest$ac_exeext conftest.$ac_ext
   13637 fi
   13638 
   13639 
   13640 		CFLAGS="$xorg_testset_save_CFLAGS"
   13641 
   13642 		eval supported=\$$cacheid
   13643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13644 printf "%s\n" "$supported" >&6; }
   13645 		if test "$supported" = "yes" ; then
   13646 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13647 			found="yes"
   13648 		fi
   13649 	fi
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 xorg_testset_save_CFLAGS="$CFLAGS"
   13666 
   13667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13669 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13670 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13671 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13672 then :
   13673   printf %s "(cached) " >&6
   13674 else $as_nop
   13675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13676 /* end confdefs.h.  */
   13677 int i;
   13678 _ACEOF
   13679 if ac_fn_c_try_compile "$LINENO"
   13680 then :
   13681   xorg_cv_cc_flag_unknown_warning_option=yes
   13682 else $as_nop
   13683   xorg_cv_cc_flag_unknown_warning_option=no
   13684 fi
   13685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13686 fi
   13687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13688 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13690 	CFLAGS="$xorg_testset_save_CFLAGS"
   13691 fi
   13692 
   13693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13696 	fi
   13697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13699 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13700 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13701 then :
   13702   printf %s "(cached) " >&6
   13703 else $as_nop
   13704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13705 /* end confdefs.h.  */
   13706 int i;
   13707 _ACEOF
   13708 if ac_fn_c_try_compile "$LINENO"
   13709 then :
   13710   xorg_cv_cc_flag_unused_command_line_argument=yes
   13711 else $as_nop
   13712   xorg_cv_cc_flag_unused_command_line_argument=no
   13713 fi
   13714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13715 fi
   13716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13717 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13719 	CFLAGS="$xorg_testset_save_CFLAGS"
   13720 fi
   13721 
   13722 found="no"
   13723 
   13724 	if test $found = "no" ; then
   13725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13727 		fi
   13728 
   13729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13731 		fi
   13732 
   13733 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13734 
   13735 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13736 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13737 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13738 		if eval test \${$cacheid+y}
   13739 then :
   13740   printf %s "(cached) " >&6
   13741 else $as_nop
   13742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13743 /* end confdefs.h.  */
   13744 int i;
   13745 int
   13746 main (void)
   13747 {
   13748 
   13749   ;
   13750   return 0;
   13751 }
   13752 _ACEOF
   13753 if ac_fn_c_try_link "$LINENO"
   13754 then :
   13755   eval $cacheid=yes
   13756 else $as_nop
   13757   eval $cacheid=no
   13758 fi
   13759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13760     conftest$ac_exeext conftest.$ac_ext
   13761 fi
   13762 
   13763 
   13764 		CFLAGS="$xorg_testset_save_CFLAGS"
   13765 
   13766 		eval supported=\$$cacheid
   13767 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13768 printf "%s\n" "$supported" >&6; }
   13769 		if test "$supported" = "yes" ; then
   13770 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13771 			found="yes"
   13772 		fi
   13773 	fi
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 xorg_testset_save_CFLAGS="$CFLAGS"
   13790 
   13791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13794 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13795 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13796 then :
   13797   printf %s "(cached) " >&6
   13798 else $as_nop
   13799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13800 /* end confdefs.h.  */
   13801 int i;
   13802 _ACEOF
   13803 if ac_fn_c_try_compile "$LINENO"
   13804 then :
   13805   xorg_cv_cc_flag_unknown_warning_option=yes
   13806 else $as_nop
   13807   xorg_cv_cc_flag_unknown_warning_option=no
   13808 fi
   13809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13810 fi
   13811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13812 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13814 	CFLAGS="$xorg_testset_save_CFLAGS"
   13815 fi
   13816 
   13817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13820 	fi
   13821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13823 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13824 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13825 then :
   13826   printf %s "(cached) " >&6
   13827 else $as_nop
   13828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13829 /* end confdefs.h.  */
   13830 int i;
   13831 _ACEOF
   13832 if ac_fn_c_try_compile "$LINENO"
   13833 then :
   13834   xorg_cv_cc_flag_unused_command_line_argument=yes
   13835 else $as_nop
   13836   xorg_cv_cc_flag_unused_command_line_argument=no
   13837 fi
   13838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13839 fi
   13840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13841 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13843 	CFLAGS="$xorg_testset_save_CFLAGS"
   13844 fi
   13845 
   13846 found="no"
   13847 
   13848 	if test $found = "no" ; then
   13849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13851 		fi
   13852 
   13853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13855 		fi
   13856 
   13857 		CFLAGS="$CFLAGS -Wnested-externs"
   13858 
   13859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13860 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13861 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13862 		if eval test \${$cacheid+y}
   13863 then :
   13864   printf %s "(cached) " >&6
   13865 else $as_nop
   13866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13867 /* end confdefs.h.  */
   13868 int i;
   13869 int
   13870 main (void)
   13871 {
   13872 
   13873   ;
   13874   return 0;
   13875 }
   13876 _ACEOF
   13877 if ac_fn_c_try_link "$LINENO"
   13878 then :
   13879   eval $cacheid=yes
   13880 else $as_nop
   13881   eval $cacheid=no
   13882 fi
   13883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13884     conftest$ac_exeext conftest.$ac_ext
   13885 fi
   13886 
   13887 
   13888 		CFLAGS="$xorg_testset_save_CFLAGS"
   13889 
   13890 		eval supported=\$$cacheid
   13891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13892 printf "%s\n" "$supported" >&6; }
   13893 		if test "$supported" = "yes" ; then
   13894 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13895 			found="yes"
   13896 		fi
   13897 	fi
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 xorg_testset_save_CFLAGS="$CFLAGS"
   13914 
   13915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13917 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13918 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13919 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13920 then :
   13921   printf %s "(cached) " >&6
   13922 else $as_nop
   13923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13924 /* end confdefs.h.  */
   13925 int i;
   13926 _ACEOF
   13927 if ac_fn_c_try_compile "$LINENO"
   13928 then :
   13929   xorg_cv_cc_flag_unknown_warning_option=yes
   13930 else $as_nop
   13931   xorg_cv_cc_flag_unknown_warning_option=no
   13932 fi
   13933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13934 fi
   13935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13936 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13937 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13938 	CFLAGS="$xorg_testset_save_CFLAGS"
   13939 fi
   13940 
   13941 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13942 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13943 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13944 	fi
   13945 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13946 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13947 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13948 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13949 then :
   13950   printf %s "(cached) " >&6
   13951 else $as_nop
   13952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13953 /* end confdefs.h.  */
   13954 int i;
   13955 _ACEOF
   13956 if ac_fn_c_try_compile "$LINENO"
   13957 then :
   13958   xorg_cv_cc_flag_unused_command_line_argument=yes
   13959 else $as_nop
   13960   xorg_cv_cc_flag_unused_command_line_argument=no
   13961 fi
   13962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13963 fi
   13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13965 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13967 	CFLAGS="$xorg_testset_save_CFLAGS"
   13968 fi
   13969 
   13970 found="no"
   13971 
   13972 	if test $found = "no" ; then
   13973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13975 		fi
   13976 
   13977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13979 		fi
   13980 
   13981 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13982 
   13983 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13984 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   13985 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13986 		if eval test \${$cacheid+y}
   13987 then :
   13988   printf %s "(cached) " >&6
   13989 else $as_nop
   13990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13991 /* end confdefs.h.  */
   13992 int i;
   13993 int
   13994 main (void)
   13995 {
   13996 
   13997   ;
   13998   return 0;
   13999 }
   14000 _ACEOF
   14001 if ac_fn_c_try_link "$LINENO"
   14002 then :
   14003   eval $cacheid=yes
   14004 else $as_nop
   14005   eval $cacheid=no
   14006 fi
   14007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14008     conftest$ac_exeext conftest.$ac_ext
   14009 fi
   14010 
   14011 
   14012 		CFLAGS="$xorg_testset_save_CFLAGS"
   14013 
   14014 		eval supported=\$$cacheid
   14015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14016 printf "%s\n" "$supported" >&6; }
   14017 		if test "$supported" = "yes" ; then
   14018 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14019 			found="yes"
   14020 		fi
   14021 	fi
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 xorg_testset_save_CFLAGS="$CFLAGS"
   14038 
   14039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14041 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14042 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14043 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14044 then :
   14045   printf %s "(cached) " >&6
   14046 else $as_nop
   14047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14048 /* end confdefs.h.  */
   14049 int i;
   14050 _ACEOF
   14051 if ac_fn_c_try_compile "$LINENO"
   14052 then :
   14053   xorg_cv_cc_flag_unknown_warning_option=yes
   14054 else $as_nop
   14055   xorg_cv_cc_flag_unknown_warning_option=no
   14056 fi
   14057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14058 fi
   14059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14060 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14062 	CFLAGS="$xorg_testset_save_CFLAGS"
   14063 fi
   14064 
   14065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14068 	fi
   14069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14070 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14071 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14072 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14073 then :
   14074   printf %s "(cached) " >&6
   14075 else $as_nop
   14076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14077 /* end confdefs.h.  */
   14078 int i;
   14079 _ACEOF
   14080 if ac_fn_c_try_compile "$LINENO"
   14081 then :
   14082   xorg_cv_cc_flag_unused_command_line_argument=yes
   14083 else $as_nop
   14084   xorg_cv_cc_flag_unused_command_line_argument=no
   14085 fi
   14086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14087 fi
   14088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14089 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14091 	CFLAGS="$xorg_testset_save_CFLAGS"
   14092 fi
   14093 
   14094 found="no"
   14095 
   14096 	if test $found = "no" ; then
   14097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14099 		fi
   14100 
   14101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14103 		fi
   14104 
   14105 		CFLAGS="$CFLAGS -Wold-style-definition"
   14106 
   14107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14108 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14109 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14110 		if eval test \${$cacheid+y}
   14111 then :
   14112   printf %s "(cached) " >&6
   14113 else $as_nop
   14114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14115 /* end confdefs.h.  */
   14116 int i;
   14117 int
   14118 main (void)
   14119 {
   14120 
   14121   ;
   14122   return 0;
   14123 }
   14124 _ACEOF
   14125 if ac_fn_c_try_link "$LINENO"
   14126 then :
   14127   eval $cacheid=yes
   14128 else $as_nop
   14129   eval $cacheid=no
   14130 fi
   14131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14132     conftest$ac_exeext conftest.$ac_ext
   14133 fi
   14134 
   14135 
   14136 		CFLAGS="$xorg_testset_save_CFLAGS"
   14137 
   14138 		eval supported=\$$cacheid
   14139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14140 printf "%s\n" "$supported" >&6; }
   14141 		if test "$supported" = "yes" ; then
   14142 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14143 			found="yes"
   14144 		fi
   14145 	fi
   14146 
   14147 	if test $found = "no" ; then
   14148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14150 		fi
   14151 
   14152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14154 		fi
   14155 
   14156 		CFLAGS="$CFLAGS -fd"
   14157 
   14158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14159 printf %s "checking if $CC supports -fd... " >&6; }
   14160 		cacheid=xorg_cv_cc_flag__fd
   14161 		if eval test \${$cacheid+y}
   14162 then :
   14163   printf %s "(cached) " >&6
   14164 else $as_nop
   14165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14166 /* end confdefs.h.  */
   14167 int i;
   14168 int
   14169 main (void)
   14170 {
   14171 
   14172   ;
   14173   return 0;
   14174 }
   14175 _ACEOF
   14176 if ac_fn_c_try_link "$LINENO"
   14177 then :
   14178   eval $cacheid=yes
   14179 else $as_nop
   14180   eval $cacheid=no
   14181 fi
   14182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14183     conftest$ac_exeext conftest.$ac_ext
   14184 fi
   14185 
   14186 
   14187 		CFLAGS="$xorg_testset_save_CFLAGS"
   14188 
   14189 		eval supported=\$$cacheid
   14190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14191 printf "%s\n" "$supported" >&6; }
   14192 		if test "$supported" = "yes" ; then
   14193 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14194 			found="yes"
   14195 		fi
   14196 	fi
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 
   14212 xorg_testset_save_CFLAGS="$CFLAGS"
   14213 
   14214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14216 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14217 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14218 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14219 then :
   14220   printf %s "(cached) " >&6
   14221 else $as_nop
   14222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14223 /* end confdefs.h.  */
   14224 int i;
   14225 _ACEOF
   14226 if ac_fn_c_try_compile "$LINENO"
   14227 then :
   14228   xorg_cv_cc_flag_unknown_warning_option=yes
   14229 else $as_nop
   14230   xorg_cv_cc_flag_unknown_warning_option=no
   14231 fi
   14232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14233 fi
   14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14235 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14236 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14237 	CFLAGS="$xorg_testset_save_CFLAGS"
   14238 fi
   14239 
   14240 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14241 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14243 	fi
   14244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14246 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14247 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14248 then :
   14249   printf %s "(cached) " >&6
   14250 else $as_nop
   14251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14252 /* end confdefs.h.  */
   14253 int i;
   14254 _ACEOF
   14255 if ac_fn_c_try_compile "$LINENO"
   14256 then :
   14257   xorg_cv_cc_flag_unused_command_line_argument=yes
   14258 else $as_nop
   14259   xorg_cv_cc_flag_unused_command_line_argument=no
   14260 fi
   14261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14262 fi
   14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14264 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14265 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14266 	CFLAGS="$xorg_testset_save_CFLAGS"
   14267 fi
   14268 
   14269 found="no"
   14270 
   14271 	if test $found = "no" ; then
   14272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14274 		fi
   14275 
   14276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14278 		fi
   14279 
   14280 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14281 
   14282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14283 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14284 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14285 		if eval test \${$cacheid+y}
   14286 then :
   14287   printf %s "(cached) " >&6
   14288 else $as_nop
   14289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14290 /* end confdefs.h.  */
   14291 int i;
   14292 int
   14293 main (void)
   14294 {
   14295 
   14296   ;
   14297   return 0;
   14298 }
   14299 _ACEOF
   14300 if ac_fn_c_try_link "$LINENO"
   14301 then :
   14302   eval $cacheid=yes
   14303 else $as_nop
   14304   eval $cacheid=no
   14305 fi
   14306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14307     conftest$ac_exeext conftest.$ac_ext
   14308 fi
   14309 
   14310 
   14311 		CFLAGS="$xorg_testset_save_CFLAGS"
   14312 
   14313 		eval supported=\$$cacheid
   14314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14315 printf "%s\n" "$supported" >&6; }
   14316 		if test "$supported" = "yes" ; then
   14317 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14318 			found="yes"
   14319 		fi
   14320 	fi
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 # This chunk adds additional warnings that could catch undesired effects.
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 xorg_testset_save_CFLAGS="$CFLAGS"
   14341 
   14342 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14343 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14344 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14345 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14346 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14347 then :
   14348   printf %s "(cached) " >&6
   14349 else $as_nop
   14350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 _ACEOF
   14354 if ac_fn_c_try_compile "$LINENO"
   14355 then :
   14356   xorg_cv_cc_flag_unknown_warning_option=yes
   14357 else $as_nop
   14358   xorg_cv_cc_flag_unknown_warning_option=no
   14359 fi
   14360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14361 fi
   14362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14363 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14364 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14365 	CFLAGS="$xorg_testset_save_CFLAGS"
   14366 fi
   14367 
   14368 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14369 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14370 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14371 	fi
   14372 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14374 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14375 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14376 then :
   14377   printf %s "(cached) " >&6
   14378 else $as_nop
   14379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14380 /* end confdefs.h.  */
   14381 int i;
   14382 _ACEOF
   14383 if ac_fn_c_try_compile "$LINENO"
   14384 then :
   14385   xorg_cv_cc_flag_unused_command_line_argument=yes
   14386 else $as_nop
   14387   xorg_cv_cc_flag_unused_command_line_argument=no
   14388 fi
   14389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14390 fi
   14391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14392 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14393 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14394 	CFLAGS="$xorg_testset_save_CFLAGS"
   14395 fi
   14396 
   14397 found="no"
   14398 
   14399 	if test $found = "no" ; then
   14400 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14401 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14402 		fi
   14403 
   14404 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14405 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14406 		fi
   14407 
   14408 		CFLAGS="$CFLAGS -Wunused"
   14409 
   14410 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14411 printf %s "checking if $CC supports -Wunused... " >&6; }
   14412 		cacheid=xorg_cv_cc_flag__Wunused
   14413 		if eval test \${$cacheid+y}
   14414 then :
   14415   printf %s "(cached) " >&6
   14416 else $as_nop
   14417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14418 /* end confdefs.h.  */
   14419 int i;
   14420 int
   14421 main (void)
   14422 {
   14423 
   14424   ;
   14425   return 0;
   14426 }
   14427 _ACEOF
   14428 if ac_fn_c_try_link "$LINENO"
   14429 then :
   14430   eval $cacheid=yes
   14431 else $as_nop
   14432   eval $cacheid=no
   14433 fi
   14434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14435     conftest$ac_exeext conftest.$ac_ext
   14436 fi
   14437 
   14438 
   14439 		CFLAGS="$xorg_testset_save_CFLAGS"
   14440 
   14441 		eval supported=\$$cacheid
   14442 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14443 printf "%s\n" "$supported" >&6; }
   14444 		if test "$supported" = "yes" ; then
   14445 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14446 			found="yes"
   14447 		fi
   14448 	fi
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 xorg_testset_save_CFLAGS="$CFLAGS"
   14465 
   14466 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14467 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14468 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14469 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14470 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14471 then :
   14472   printf %s "(cached) " >&6
   14473 else $as_nop
   14474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14475 /* end confdefs.h.  */
   14476 int i;
   14477 _ACEOF
   14478 if ac_fn_c_try_compile "$LINENO"
   14479 then :
   14480   xorg_cv_cc_flag_unknown_warning_option=yes
   14481 else $as_nop
   14482   xorg_cv_cc_flag_unknown_warning_option=no
   14483 fi
   14484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14485 fi
   14486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14487 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14488 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14489 	CFLAGS="$xorg_testset_save_CFLAGS"
   14490 fi
   14491 
   14492 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14493 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14494 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14495 	fi
   14496 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14498 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14499 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14500 then :
   14501   printf %s "(cached) " >&6
   14502 else $as_nop
   14503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14504 /* end confdefs.h.  */
   14505 int i;
   14506 _ACEOF
   14507 if ac_fn_c_try_compile "$LINENO"
   14508 then :
   14509   xorg_cv_cc_flag_unused_command_line_argument=yes
   14510 else $as_nop
   14511   xorg_cv_cc_flag_unused_command_line_argument=no
   14512 fi
   14513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14514 fi
   14515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14516 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14518 	CFLAGS="$xorg_testset_save_CFLAGS"
   14519 fi
   14520 
   14521 found="no"
   14522 
   14523 	if test $found = "no" ; then
   14524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14526 		fi
   14527 
   14528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14530 		fi
   14531 
   14532 		CFLAGS="$CFLAGS -Wuninitialized"
   14533 
   14534 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14535 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14536 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14537 		if eval test \${$cacheid+y}
   14538 then :
   14539   printf %s "(cached) " >&6
   14540 else $as_nop
   14541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14542 /* end confdefs.h.  */
   14543 int i;
   14544 int
   14545 main (void)
   14546 {
   14547 
   14548   ;
   14549   return 0;
   14550 }
   14551 _ACEOF
   14552 if ac_fn_c_try_link "$LINENO"
   14553 then :
   14554   eval $cacheid=yes
   14555 else $as_nop
   14556   eval $cacheid=no
   14557 fi
   14558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14559     conftest$ac_exeext conftest.$ac_ext
   14560 fi
   14561 
   14562 
   14563 		CFLAGS="$xorg_testset_save_CFLAGS"
   14564 
   14565 		eval supported=\$$cacheid
   14566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14567 printf "%s\n" "$supported" >&6; }
   14568 		if test "$supported" = "yes" ; then
   14569 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14570 			found="yes"
   14571 		fi
   14572 	fi
   14573 
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 xorg_testset_save_CFLAGS="$CFLAGS"
   14589 
   14590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14592 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14593 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14594 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14595 then :
   14596   printf %s "(cached) " >&6
   14597 else $as_nop
   14598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14599 /* end confdefs.h.  */
   14600 int i;
   14601 _ACEOF
   14602 if ac_fn_c_try_compile "$LINENO"
   14603 then :
   14604   xorg_cv_cc_flag_unknown_warning_option=yes
   14605 else $as_nop
   14606   xorg_cv_cc_flag_unknown_warning_option=no
   14607 fi
   14608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14609 fi
   14610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14611 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14613 	CFLAGS="$xorg_testset_save_CFLAGS"
   14614 fi
   14615 
   14616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14619 	fi
   14620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14622 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14623 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14624 then :
   14625   printf %s "(cached) " >&6
   14626 else $as_nop
   14627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14628 /* end confdefs.h.  */
   14629 int i;
   14630 _ACEOF
   14631 if ac_fn_c_try_compile "$LINENO"
   14632 then :
   14633   xorg_cv_cc_flag_unused_command_line_argument=yes
   14634 else $as_nop
   14635   xorg_cv_cc_flag_unused_command_line_argument=no
   14636 fi
   14637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14638 fi
   14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14640 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14641 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14642 	CFLAGS="$xorg_testset_save_CFLAGS"
   14643 fi
   14644 
   14645 found="no"
   14646 
   14647 	if test $found = "no" ; then
   14648 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14649 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14650 		fi
   14651 
   14652 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14653 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14654 		fi
   14655 
   14656 		CFLAGS="$CFLAGS -Wshadow"
   14657 
   14658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14659 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14660 		cacheid=xorg_cv_cc_flag__Wshadow
   14661 		if eval test \${$cacheid+y}
   14662 then :
   14663   printf %s "(cached) " >&6
   14664 else $as_nop
   14665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14666 /* end confdefs.h.  */
   14667 int i;
   14668 int
   14669 main (void)
   14670 {
   14671 
   14672   ;
   14673   return 0;
   14674 }
   14675 _ACEOF
   14676 if ac_fn_c_try_link "$LINENO"
   14677 then :
   14678   eval $cacheid=yes
   14679 else $as_nop
   14680   eval $cacheid=no
   14681 fi
   14682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14683     conftest$ac_exeext conftest.$ac_ext
   14684 fi
   14685 
   14686 
   14687 		CFLAGS="$xorg_testset_save_CFLAGS"
   14688 
   14689 		eval supported=\$$cacheid
   14690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14691 printf "%s\n" "$supported" >&6; }
   14692 		if test "$supported" = "yes" ; then
   14693 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14694 			found="yes"
   14695 		fi
   14696 	fi
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 xorg_testset_save_CFLAGS="$CFLAGS"
   14713 
   14714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14716 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14717 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14718 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14719 then :
   14720   printf %s "(cached) " >&6
   14721 else $as_nop
   14722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14723 /* end confdefs.h.  */
   14724 int i;
   14725 _ACEOF
   14726 if ac_fn_c_try_compile "$LINENO"
   14727 then :
   14728   xorg_cv_cc_flag_unknown_warning_option=yes
   14729 else $as_nop
   14730   xorg_cv_cc_flag_unknown_warning_option=no
   14731 fi
   14732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14733 fi
   14734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14735 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14737 	CFLAGS="$xorg_testset_save_CFLAGS"
   14738 fi
   14739 
   14740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14743 	fi
   14744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14746 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14747 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14748 then :
   14749   printf %s "(cached) " >&6
   14750 else $as_nop
   14751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14752 /* end confdefs.h.  */
   14753 int i;
   14754 _ACEOF
   14755 if ac_fn_c_try_compile "$LINENO"
   14756 then :
   14757   xorg_cv_cc_flag_unused_command_line_argument=yes
   14758 else $as_nop
   14759   xorg_cv_cc_flag_unused_command_line_argument=no
   14760 fi
   14761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14762 fi
   14763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14764 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14766 	CFLAGS="$xorg_testset_save_CFLAGS"
   14767 fi
   14768 
   14769 found="no"
   14770 
   14771 	if test $found = "no" ; then
   14772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14774 		fi
   14775 
   14776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14778 		fi
   14779 
   14780 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14781 
   14782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14783 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14784 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14785 		if eval test \${$cacheid+y}
   14786 then :
   14787   printf %s "(cached) " >&6
   14788 else $as_nop
   14789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14790 /* end confdefs.h.  */
   14791 int i;
   14792 int
   14793 main (void)
   14794 {
   14795 
   14796   ;
   14797   return 0;
   14798 }
   14799 _ACEOF
   14800 if ac_fn_c_try_link "$LINENO"
   14801 then :
   14802   eval $cacheid=yes
   14803 else $as_nop
   14804   eval $cacheid=no
   14805 fi
   14806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14807     conftest$ac_exeext conftest.$ac_ext
   14808 fi
   14809 
   14810 
   14811 		CFLAGS="$xorg_testset_save_CFLAGS"
   14812 
   14813 		eval supported=\$$cacheid
   14814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14815 printf "%s\n" "$supported" >&6; }
   14816 		if test "$supported" = "yes" ; then
   14817 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14818 			found="yes"
   14819 		fi
   14820 	fi
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 xorg_testset_save_CFLAGS="$CFLAGS"
   14837 
   14838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14841 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14842 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14843 then :
   14844   printf %s "(cached) " >&6
   14845 else $as_nop
   14846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14847 /* end confdefs.h.  */
   14848 int i;
   14849 _ACEOF
   14850 if ac_fn_c_try_compile "$LINENO"
   14851 then :
   14852   xorg_cv_cc_flag_unknown_warning_option=yes
   14853 else $as_nop
   14854   xorg_cv_cc_flag_unknown_warning_option=no
   14855 fi
   14856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14857 fi
   14858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14859 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14861 	CFLAGS="$xorg_testset_save_CFLAGS"
   14862 fi
   14863 
   14864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14867 	fi
   14868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14870 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14871 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14872 then :
   14873   printf %s "(cached) " >&6
   14874 else $as_nop
   14875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14876 /* end confdefs.h.  */
   14877 int i;
   14878 _ACEOF
   14879 if ac_fn_c_try_compile "$LINENO"
   14880 then :
   14881   xorg_cv_cc_flag_unused_command_line_argument=yes
   14882 else $as_nop
   14883   xorg_cv_cc_flag_unused_command_line_argument=no
   14884 fi
   14885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14886 fi
   14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14888 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14890 	CFLAGS="$xorg_testset_save_CFLAGS"
   14891 fi
   14892 
   14893 found="no"
   14894 
   14895 	if test $found = "no" ; then
   14896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14898 		fi
   14899 
   14900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14902 		fi
   14903 
   14904 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14905 
   14906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14907 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14908 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14909 		if eval test \${$cacheid+y}
   14910 then :
   14911   printf %s "(cached) " >&6
   14912 else $as_nop
   14913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14914 /* end confdefs.h.  */
   14915 int i;
   14916 int
   14917 main (void)
   14918 {
   14919 
   14920   ;
   14921   return 0;
   14922 }
   14923 _ACEOF
   14924 if ac_fn_c_try_link "$LINENO"
   14925 then :
   14926   eval $cacheid=yes
   14927 else $as_nop
   14928   eval $cacheid=no
   14929 fi
   14930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14931     conftest$ac_exeext conftest.$ac_ext
   14932 fi
   14933 
   14934 
   14935 		CFLAGS="$xorg_testset_save_CFLAGS"
   14936 
   14937 		eval supported=\$$cacheid
   14938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14939 printf "%s\n" "$supported" >&6; }
   14940 		if test "$supported" = "yes" ; then
   14941 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14942 			found="yes"
   14943 		fi
   14944 	fi
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 xorg_testset_save_CFLAGS="$CFLAGS"
   14961 
   14962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14965 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14966 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14967 then :
   14968   printf %s "(cached) " >&6
   14969 else $as_nop
   14970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14971 /* end confdefs.h.  */
   14972 int i;
   14973 _ACEOF
   14974 if ac_fn_c_try_compile "$LINENO"
   14975 then :
   14976   xorg_cv_cc_flag_unknown_warning_option=yes
   14977 else $as_nop
   14978   xorg_cv_cc_flag_unknown_warning_option=no
   14979 fi
   14980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14981 fi
   14982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14983 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14984 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14985 	CFLAGS="$xorg_testset_save_CFLAGS"
   14986 fi
   14987 
   14988 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14989 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14990 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14991 	fi
   14992 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14994 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14995 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14996 then :
   14997   printf %s "(cached) " >&6
   14998 else $as_nop
   14999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15000 /* end confdefs.h.  */
   15001 int i;
   15002 _ACEOF
   15003 if ac_fn_c_try_compile "$LINENO"
   15004 then :
   15005   xorg_cv_cc_flag_unused_command_line_argument=yes
   15006 else $as_nop
   15007   xorg_cv_cc_flag_unused_command_line_argument=no
   15008 fi
   15009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15010 fi
   15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15014 	CFLAGS="$xorg_testset_save_CFLAGS"
   15015 fi
   15016 
   15017 found="no"
   15018 
   15019 	if test $found = "no" ; then
   15020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15022 		fi
   15023 
   15024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15026 		fi
   15027 
   15028 		CFLAGS="$CFLAGS -Wredundant-decls"
   15029 
   15030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15031 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15032 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15033 		if eval test \${$cacheid+y}
   15034 then :
   15035   printf %s "(cached) " >&6
   15036 else $as_nop
   15037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15038 /* end confdefs.h.  */
   15039 int i;
   15040 int
   15041 main (void)
   15042 {
   15043 
   15044   ;
   15045   return 0;
   15046 }
   15047 _ACEOF
   15048 if ac_fn_c_try_link "$LINENO"
   15049 then :
   15050   eval $cacheid=yes
   15051 else $as_nop
   15052   eval $cacheid=no
   15053 fi
   15054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15055     conftest$ac_exeext conftest.$ac_ext
   15056 fi
   15057 
   15058 
   15059 		CFLAGS="$xorg_testset_save_CFLAGS"
   15060 
   15061 		eval supported=\$$cacheid
   15062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15063 printf "%s\n" "$supported" >&6; }
   15064 		if test "$supported" = "yes" ; then
   15065 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15066 			found="yes"
   15067 		fi
   15068 	fi
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 
   15082 
   15083 
   15084 xorg_testset_save_CFLAGS="$CFLAGS"
   15085 
   15086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15088 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15089 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15090 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15091 then :
   15092   printf %s "(cached) " >&6
   15093 else $as_nop
   15094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15095 /* end confdefs.h.  */
   15096 int i;
   15097 _ACEOF
   15098 if ac_fn_c_try_compile "$LINENO"
   15099 then :
   15100   xorg_cv_cc_flag_unknown_warning_option=yes
   15101 else $as_nop
   15102   xorg_cv_cc_flag_unknown_warning_option=no
   15103 fi
   15104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15105 fi
   15106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15107 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15109 	CFLAGS="$xorg_testset_save_CFLAGS"
   15110 fi
   15111 
   15112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15115 	fi
   15116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15118 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15119 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15120 then :
   15121   printf %s "(cached) " >&6
   15122 else $as_nop
   15123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15124 /* end confdefs.h.  */
   15125 int i;
   15126 _ACEOF
   15127 if ac_fn_c_try_compile "$LINENO"
   15128 then :
   15129   xorg_cv_cc_flag_unused_command_line_argument=yes
   15130 else $as_nop
   15131   xorg_cv_cc_flag_unused_command_line_argument=no
   15132 fi
   15133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15134 fi
   15135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15136 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15138 	CFLAGS="$xorg_testset_save_CFLAGS"
   15139 fi
   15140 
   15141 found="no"
   15142 
   15143 	if test $found = "no" ; then
   15144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15146 		fi
   15147 
   15148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15150 		fi
   15151 
   15152 		CFLAGS="$CFLAGS -Wlogical-op"
   15153 
   15154 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15155 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15156 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15157 		if eval test \${$cacheid+y}
   15158 then :
   15159   printf %s "(cached) " >&6
   15160 else $as_nop
   15161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15162 /* end confdefs.h.  */
   15163 int i;
   15164 int
   15165 main (void)
   15166 {
   15167 
   15168   ;
   15169   return 0;
   15170 }
   15171 _ACEOF
   15172 if ac_fn_c_try_link "$LINENO"
   15173 then :
   15174   eval $cacheid=yes
   15175 else $as_nop
   15176   eval $cacheid=no
   15177 fi
   15178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15179     conftest$ac_exeext conftest.$ac_ext
   15180 fi
   15181 
   15182 
   15183 		CFLAGS="$xorg_testset_save_CFLAGS"
   15184 
   15185 		eval supported=\$$cacheid
   15186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15187 printf "%s\n" "$supported" >&6; }
   15188 		if test "$supported" = "yes" ; then
   15189 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15190 			found="yes"
   15191 		fi
   15192 	fi
   15193 
   15194 
   15195 
   15196 # These are currently disabled because they are noisy.  They will be enabled
   15197 # in the future once the codebase is sufficiently modernized to silence
   15198 # them.  For now, I don't want them to drown out the other warnings.
   15199 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15200 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15201 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15202 
   15203 # Turn some warnings into errors, so we don't accidently get successful builds
   15204 # when there are problems that should be fixed.
   15205 
   15206 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 xorg_testset_save_CFLAGS="$CFLAGS"
   15221 
   15222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15225 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15226 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15227 then :
   15228   printf %s "(cached) " >&6
   15229 else $as_nop
   15230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15231 /* end confdefs.h.  */
   15232 int i;
   15233 _ACEOF
   15234 if ac_fn_c_try_compile "$LINENO"
   15235 then :
   15236   xorg_cv_cc_flag_unknown_warning_option=yes
   15237 else $as_nop
   15238   xorg_cv_cc_flag_unknown_warning_option=no
   15239 fi
   15240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15241 fi
   15242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15243 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15245 	CFLAGS="$xorg_testset_save_CFLAGS"
   15246 fi
   15247 
   15248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15251 	fi
   15252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15254 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15255 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15256 then :
   15257   printf %s "(cached) " >&6
   15258 else $as_nop
   15259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15260 /* end confdefs.h.  */
   15261 int i;
   15262 _ACEOF
   15263 if ac_fn_c_try_compile "$LINENO"
   15264 then :
   15265   xorg_cv_cc_flag_unused_command_line_argument=yes
   15266 else $as_nop
   15267   xorg_cv_cc_flag_unused_command_line_argument=no
   15268 fi
   15269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15270 fi
   15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15272 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15274 	CFLAGS="$xorg_testset_save_CFLAGS"
   15275 fi
   15276 
   15277 found="no"
   15278 
   15279 	if test $found = "no" ; then
   15280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15282 		fi
   15283 
   15284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15286 		fi
   15287 
   15288 		CFLAGS="$CFLAGS -Werror=implicit"
   15289 
   15290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15291 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15292 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15293 		if eval test \${$cacheid+y}
   15294 then :
   15295   printf %s "(cached) " >&6
   15296 else $as_nop
   15297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15298 /* end confdefs.h.  */
   15299 int i;
   15300 int
   15301 main (void)
   15302 {
   15303 
   15304   ;
   15305   return 0;
   15306 }
   15307 _ACEOF
   15308 if ac_fn_c_try_link "$LINENO"
   15309 then :
   15310   eval $cacheid=yes
   15311 else $as_nop
   15312   eval $cacheid=no
   15313 fi
   15314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15315     conftest$ac_exeext conftest.$ac_ext
   15316 fi
   15317 
   15318 
   15319 		CFLAGS="$xorg_testset_save_CFLAGS"
   15320 
   15321 		eval supported=\$$cacheid
   15322 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15323 printf "%s\n" "$supported" >&6; }
   15324 		if test "$supported" = "yes" ; then
   15325 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15326 			found="yes"
   15327 		fi
   15328 	fi
   15329 
   15330 	if test $found = "no" ; then
   15331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15333 		fi
   15334 
   15335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15337 		fi
   15338 
   15339 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15340 
   15341 		{ 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
   15342 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15343 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15344 		if eval test \${$cacheid+y}
   15345 then :
   15346   printf %s "(cached) " >&6
   15347 else $as_nop
   15348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15349 /* end confdefs.h.  */
   15350 int i;
   15351 int
   15352 main (void)
   15353 {
   15354 
   15355   ;
   15356   return 0;
   15357 }
   15358 _ACEOF
   15359 if ac_fn_c_try_link "$LINENO"
   15360 then :
   15361   eval $cacheid=yes
   15362 else $as_nop
   15363   eval $cacheid=no
   15364 fi
   15365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15366     conftest$ac_exeext conftest.$ac_ext
   15367 fi
   15368 
   15369 
   15370 		CFLAGS="$xorg_testset_save_CFLAGS"
   15371 
   15372 		eval supported=\$$cacheid
   15373 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15374 printf "%s\n" "$supported" >&6; }
   15375 		if test "$supported" = "yes" ; then
   15376 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15377 			found="yes"
   15378 		fi
   15379 	fi
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 xorg_testset_save_CFLAGS="$CFLAGS"
   15396 
   15397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15400 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15401 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15402 then :
   15403   printf %s "(cached) " >&6
   15404 else $as_nop
   15405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15406 /* end confdefs.h.  */
   15407 int i;
   15408 _ACEOF
   15409 if ac_fn_c_try_compile "$LINENO"
   15410 then :
   15411   xorg_cv_cc_flag_unknown_warning_option=yes
   15412 else $as_nop
   15413   xorg_cv_cc_flag_unknown_warning_option=no
   15414 fi
   15415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15416 fi
   15417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15420 	CFLAGS="$xorg_testset_save_CFLAGS"
   15421 fi
   15422 
   15423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15426 	fi
   15427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15431 then :
   15432   printf %s "(cached) " >&6
   15433 else $as_nop
   15434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15435 /* end confdefs.h.  */
   15436 int i;
   15437 _ACEOF
   15438 if ac_fn_c_try_compile "$LINENO"
   15439 then :
   15440   xorg_cv_cc_flag_unused_command_line_argument=yes
   15441 else $as_nop
   15442   xorg_cv_cc_flag_unused_command_line_argument=no
   15443 fi
   15444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15445 fi
   15446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15447 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15449 	CFLAGS="$xorg_testset_save_CFLAGS"
   15450 fi
   15451 
   15452 found="no"
   15453 
   15454 	if test $found = "no" ; then
   15455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15457 		fi
   15458 
   15459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15461 		fi
   15462 
   15463 		CFLAGS="$CFLAGS -Werror=nonnull"
   15464 
   15465 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15466 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15467 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15468 		if eval test \${$cacheid+y}
   15469 then :
   15470   printf %s "(cached) " >&6
   15471 else $as_nop
   15472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15473 /* end confdefs.h.  */
   15474 int i;
   15475 int
   15476 main (void)
   15477 {
   15478 
   15479   ;
   15480   return 0;
   15481 }
   15482 _ACEOF
   15483 if ac_fn_c_try_link "$LINENO"
   15484 then :
   15485   eval $cacheid=yes
   15486 else $as_nop
   15487   eval $cacheid=no
   15488 fi
   15489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15490     conftest$ac_exeext conftest.$ac_ext
   15491 fi
   15492 
   15493 
   15494 		CFLAGS="$xorg_testset_save_CFLAGS"
   15495 
   15496 		eval supported=\$$cacheid
   15497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15498 printf "%s\n" "$supported" >&6; }
   15499 		if test "$supported" = "yes" ; then
   15500 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15501 			found="yes"
   15502 		fi
   15503 	fi
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 xorg_testset_save_CFLAGS="$CFLAGS"
   15520 
   15521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15526 then :
   15527   printf %s "(cached) " >&6
   15528 else $as_nop
   15529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15530 /* end confdefs.h.  */
   15531 int i;
   15532 _ACEOF
   15533 if ac_fn_c_try_compile "$LINENO"
   15534 then :
   15535   xorg_cv_cc_flag_unknown_warning_option=yes
   15536 else $as_nop
   15537   xorg_cv_cc_flag_unknown_warning_option=no
   15538 fi
   15539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15540 fi
   15541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15542 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15544 	CFLAGS="$xorg_testset_save_CFLAGS"
   15545 fi
   15546 
   15547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15550 	fi
   15551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15553 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15554 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15555 then :
   15556   printf %s "(cached) " >&6
   15557 else $as_nop
   15558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15559 /* end confdefs.h.  */
   15560 int i;
   15561 _ACEOF
   15562 if ac_fn_c_try_compile "$LINENO"
   15563 then :
   15564   xorg_cv_cc_flag_unused_command_line_argument=yes
   15565 else $as_nop
   15566   xorg_cv_cc_flag_unused_command_line_argument=no
   15567 fi
   15568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15569 fi
   15570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15571 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15573 	CFLAGS="$xorg_testset_save_CFLAGS"
   15574 fi
   15575 
   15576 found="no"
   15577 
   15578 	if test $found = "no" ; then
   15579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15581 		fi
   15582 
   15583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15585 		fi
   15586 
   15587 		CFLAGS="$CFLAGS -Werror=init-self"
   15588 
   15589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15590 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15591 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15592 		if eval test \${$cacheid+y}
   15593 then :
   15594   printf %s "(cached) " >&6
   15595 else $as_nop
   15596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15597 /* end confdefs.h.  */
   15598 int i;
   15599 int
   15600 main (void)
   15601 {
   15602 
   15603   ;
   15604   return 0;
   15605 }
   15606 _ACEOF
   15607 if ac_fn_c_try_link "$LINENO"
   15608 then :
   15609   eval $cacheid=yes
   15610 else $as_nop
   15611   eval $cacheid=no
   15612 fi
   15613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15614     conftest$ac_exeext conftest.$ac_ext
   15615 fi
   15616 
   15617 
   15618 		CFLAGS="$xorg_testset_save_CFLAGS"
   15619 
   15620 		eval supported=\$$cacheid
   15621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15622 printf "%s\n" "$supported" >&6; }
   15623 		if test "$supported" = "yes" ; then
   15624 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15625 			found="yes"
   15626 		fi
   15627 	fi
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 xorg_testset_save_CFLAGS="$CFLAGS"
   15644 
   15645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15650 then :
   15651   printf %s "(cached) " >&6
   15652 else $as_nop
   15653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15654 /* end confdefs.h.  */
   15655 int i;
   15656 _ACEOF
   15657 if ac_fn_c_try_compile "$LINENO"
   15658 then :
   15659   xorg_cv_cc_flag_unknown_warning_option=yes
   15660 else $as_nop
   15661   xorg_cv_cc_flag_unknown_warning_option=no
   15662 fi
   15663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15664 fi
   15665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15666 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15668 	CFLAGS="$xorg_testset_save_CFLAGS"
   15669 fi
   15670 
   15671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15674 	fi
   15675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15677 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15678 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15679 then :
   15680   printf %s "(cached) " >&6
   15681 else $as_nop
   15682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15683 /* end confdefs.h.  */
   15684 int i;
   15685 _ACEOF
   15686 if ac_fn_c_try_compile "$LINENO"
   15687 then :
   15688   xorg_cv_cc_flag_unused_command_line_argument=yes
   15689 else $as_nop
   15690   xorg_cv_cc_flag_unused_command_line_argument=no
   15691 fi
   15692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15693 fi
   15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15695 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15697 	CFLAGS="$xorg_testset_save_CFLAGS"
   15698 fi
   15699 
   15700 found="no"
   15701 
   15702 	if test $found = "no" ; then
   15703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15705 		fi
   15706 
   15707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15709 		fi
   15710 
   15711 		CFLAGS="$CFLAGS -Werror=main"
   15712 
   15713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15714 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15715 		cacheid=xorg_cv_cc_flag__Werror_main
   15716 		if eval test \${$cacheid+y}
   15717 then :
   15718   printf %s "(cached) " >&6
   15719 else $as_nop
   15720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15721 /* end confdefs.h.  */
   15722 int i;
   15723 int
   15724 main (void)
   15725 {
   15726 
   15727   ;
   15728   return 0;
   15729 }
   15730 _ACEOF
   15731 if ac_fn_c_try_link "$LINENO"
   15732 then :
   15733   eval $cacheid=yes
   15734 else $as_nop
   15735   eval $cacheid=no
   15736 fi
   15737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15738     conftest$ac_exeext conftest.$ac_ext
   15739 fi
   15740 
   15741 
   15742 		CFLAGS="$xorg_testset_save_CFLAGS"
   15743 
   15744 		eval supported=\$$cacheid
   15745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15746 printf "%s\n" "$supported" >&6; }
   15747 		if test "$supported" = "yes" ; then
   15748 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15749 			found="yes"
   15750 		fi
   15751 	fi
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 xorg_testset_save_CFLAGS="$CFLAGS"
   15768 
   15769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15771 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15772 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15773 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15774 then :
   15775   printf %s "(cached) " >&6
   15776 else $as_nop
   15777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15778 /* end confdefs.h.  */
   15779 int i;
   15780 _ACEOF
   15781 if ac_fn_c_try_compile "$LINENO"
   15782 then :
   15783   xorg_cv_cc_flag_unknown_warning_option=yes
   15784 else $as_nop
   15785   xorg_cv_cc_flag_unknown_warning_option=no
   15786 fi
   15787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15788 fi
   15789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15790 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15791 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15792 	CFLAGS="$xorg_testset_save_CFLAGS"
   15793 fi
   15794 
   15795 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15796 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15797 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15798 	fi
   15799 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15801 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15802 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15803 then :
   15804   printf %s "(cached) " >&6
   15805 else $as_nop
   15806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15807 /* end confdefs.h.  */
   15808 int i;
   15809 _ACEOF
   15810 if ac_fn_c_try_compile "$LINENO"
   15811 then :
   15812   xorg_cv_cc_flag_unused_command_line_argument=yes
   15813 else $as_nop
   15814   xorg_cv_cc_flag_unused_command_line_argument=no
   15815 fi
   15816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15817 fi
   15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15819 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15821 	CFLAGS="$xorg_testset_save_CFLAGS"
   15822 fi
   15823 
   15824 found="no"
   15825 
   15826 	if test $found = "no" ; then
   15827 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15829 		fi
   15830 
   15831 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15833 		fi
   15834 
   15835 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15836 
   15837 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15838 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15839 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15840 		if eval test \${$cacheid+y}
   15841 then :
   15842   printf %s "(cached) " >&6
   15843 else $as_nop
   15844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15845 /* end confdefs.h.  */
   15846 int i;
   15847 int
   15848 main (void)
   15849 {
   15850 
   15851   ;
   15852   return 0;
   15853 }
   15854 _ACEOF
   15855 if ac_fn_c_try_link "$LINENO"
   15856 then :
   15857   eval $cacheid=yes
   15858 else $as_nop
   15859   eval $cacheid=no
   15860 fi
   15861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15862     conftest$ac_exeext conftest.$ac_ext
   15863 fi
   15864 
   15865 
   15866 		CFLAGS="$xorg_testset_save_CFLAGS"
   15867 
   15868 		eval supported=\$$cacheid
   15869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15870 printf "%s\n" "$supported" >&6; }
   15871 		if test "$supported" = "yes" ; then
   15872 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15873 			found="yes"
   15874 		fi
   15875 	fi
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 
   15890 
   15891 xorg_testset_save_CFLAGS="$CFLAGS"
   15892 
   15893 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15894 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15895 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15896 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15897 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15898 then :
   15899   printf %s "(cached) " >&6
   15900 else $as_nop
   15901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15902 /* end confdefs.h.  */
   15903 int i;
   15904 _ACEOF
   15905 if ac_fn_c_try_compile "$LINENO"
   15906 then :
   15907   xorg_cv_cc_flag_unknown_warning_option=yes
   15908 else $as_nop
   15909   xorg_cv_cc_flag_unknown_warning_option=no
   15910 fi
   15911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15912 fi
   15913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15914 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15916 	CFLAGS="$xorg_testset_save_CFLAGS"
   15917 fi
   15918 
   15919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15922 	fi
   15923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15925 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15926 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15927 then :
   15928   printf %s "(cached) " >&6
   15929 else $as_nop
   15930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15931 /* end confdefs.h.  */
   15932 int i;
   15933 _ACEOF
   15934 if ac_fn_c_try_compile "$LINENO"
   15935 then :
   15936   xorg_cv_cc_flag_unused_command_line_argument=yes
   15937 else $as_nop
   15938   xorg_cv_cc_flag_unused_command_line_argument=no
   15939 fi
   15940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15941 fi
   15942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15943 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15944 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15945 	CFLAGS="$xorg_testset_save_CFLAGS"
   15946 fi
   15947 
   15948 found="no"
   15949 
   15950 	if test $found = "no" ; then
   15951 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15953 		fi
   15954 
   15955 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15957 		fi
   15958 
   15959 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15960 
   15961 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15962 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15963 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15964 		if eval test \${$cacheid+y}
   15965 then :
   15966   printf %s "(cached) " >&6
   15967 else $as_nop
   15968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15969 /* end confdefs.h.  */
   15970 int i;
   15971 int
   15972 main (void)
   15973 {
   15974 
   15975   ;
   15976   return 0;
   15977 }
   15978 _ACEOF
   15979 if ac_fn_c_try_link "$LINENO"
   15980 then :
   15981   eval $cacheid=yes
   15982 else $as_nop
   15983   eval $cacheid=no
   15984 fi
   15985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15986     conftest$ac_exeext conftest.$ac_ext
   15987 fi
   15988 
   15989 
   15990 		CFLAGS="$xorg_testset_save_CFLAGS"
   15991 
   15992 		eval supported=\$$cacheid
   15993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15994 printf "%s\n" "$supported" >&6; }
   15995 		if test "$supported" = "yes" ; then
   15996 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15997 			found="yes"
   15998 		fi
   15999 	fi
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 xorg_testset_save_CFLAGS="$CFLAGS"
   16016 
   16017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16019 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16020 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16021 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16022 then :
   16023   printf %s "(cached) " >&6
   16024 else $as_nop
   16025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16026 /* end confdefs.h.  */
   16027 int i;
   16028 _ACEOF
   16029 if ac_fn_c_try_compile "$LINENO"
   16030 then :
   16031   xorg_cv_cc_flag_unknown_warning_option=yes
   16032 else $as_nop
   16033   xorg_cv_cc_flag_unknown_warning_option=no
   16034 fi
   16035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16036 fi
   16037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16038 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16039 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16040 	CFLAGS="$xorg_testset_save_CFLAGS"
   16041 fi
   16042 
   16043 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16044 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16045 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16046 	fi
   16047 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16049 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16050 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16051 then :
   16052   printf %s "(cached) " >&6
   16053 else $as_nop
   16054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16055 /* end confdefs.h.  */
   16056 int i;
   16057 _ACEOF
   16058 if ac_fn_c_try_compile "$LINENO"
   16059 then :
   16060   xorg_cv_cc_flag_unused_command_line_argument=yes
   16061 else $as_nop
   16062   xorg_cv_cc_flag_unused_command_line_argument=no
   16063 fi
   16064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16065 fi
   16066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16067 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16069 	CFLAGS="$xorg_testset_save_CFLAGS"
   16070 fi
   16071 
   16072 found="no"
   16073 
   16074 	if test $found = "no" ; then
   16075 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16077 		fi
   16078 
   16079 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16081 		fi
   16082 
   16083 		CFLAGS="$CFLAGS -Werror=return-type"
   16084 
   16085 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16086 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16087 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16088 		if eval test \${$cacheid+y}
   16089 then :
   16090   printf %s "(cached) " >&6
   16091 else $as_nop
   16092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16093 /* end confdefs.h.  */
   16094 int i;
   16095 int
   16096 main (void)
   16097 {
   16098 
   16099   ;
   16100   return 0;
   16101 }
   16102 _ACEOF
   16103 if ac_fn_c_try_link "$LINENO"
   16104 then :
   16105   eval $cacheid=yes
   16106 else $as_nop
   16107   eval $cacheid=no
   16108 fi
   16109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16110     conftest$ac_exeext conftest.$ac_ext
   16111 fi
   16112 
   16113 
   16114 		CFLAGS="$xorg_testset_save_CFLAGS"
   16115 
   16116 		eval supported=\$$cacheid
   16117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16118 printf "%s\n" "$supported" >&6; }
   16119 		if test "$supported" = "yes" ; then
   16120 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16121 			found="yes"
   16122 		fi
   16123 	fi
   16124 
   16125 	if test $found = "no" ; then
   16126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16128 		fi
   16129 
   16130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16132 		fi
   16133 
   16134 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16135 
   16136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16137 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16138 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16139 		if eval test \${$cacheid+y}
   16140 then :
   16141   printf %s "(cached) " >&6
   16142 else $as_nop
   16143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16144 /* end confdefs.h.  */
   16145 int i;
   16146 int
   16147 main (void)
   16148 {
   16149 
   16150   ;
   16151   return 0;
   16152 }
   16153 _ACEOF
   16154 if ac_fn_c_try_link "$LINENO"
   16155 then :
   16156   eval $cacheid=yes
   16157 else $as_nop
   16158   eval $cacheid=no
   16159 fi
   16160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16161     conftest$ac_exeext conftest.$ac_ext
   16162 fi
   16163 
   16164 
   16165 		CFLAGS="$xorg_testset_save_CFLAGS"
   16166 
   16167 		eval supported=\$$cacheid
   16168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16169 printf "%s\n" "$supported" >&6; }
   16170 		if test "$supported" = "yes" ; then
   16171 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16172 			found="yes"
   16173 		fi
   16174 	fi
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 xorg_testset_save_CFLAGS="$CFLAGS"
   16191 
   16192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16195 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16196 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16197 then :
   16198   printf %s "(cached) " >&6
   16199 else $as_nop
   16200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16201 /* end confdefs.h.  */
   16202 int i;
   16203 _ACEOF
   16204 if ac_fn_c_try_compile "$LINENO"
   16205 then :
   16206   xorg_cv_cc_flag_unknown_warning_option=yes
   16207 else $as_nop
   16208   xorg_cv_cc_flag_unknown_warning_option=no
   16209 fi
   16210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16211 fi
   16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16213 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16215 	CFLAGS="$xorg_testset_save_CFLAGS"
   16216 fi
   16217 
   16218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16221 	fi
   16222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16224 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16225 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16226 then :
   16227   printf %s "(cached) " >&6
   16228 else $as_nop
   16229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16230 /* end confdefs.h.  */
   16231 int i;
   16232 _ACEOF
   16233 if ac_fn_c_try_compile "$LINENO"
   16234 then :
   16235   xorg_cv_cc_flag_unused_command_line_argument=yes
   16236 else $as_nop
   16237   xorg_cv_cc_flag_unused_command_line_argument=no
   16238 fi
   16239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16240 fi
   16241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16242 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16243 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16244 	CFLAGS="$xorg_testset_save_CFLAGS"
   16245 fi
   16246 
   16247 found="no"
   16248 
   16249 	if test $found = "no" ; then
   16250 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16251 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16252 		fi
   16253 
   16254 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16255 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16256 		fi
   16257 
   16258 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16259 
   16260 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16261 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16262 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16263 		if eval test \${$cacheid+y}
   16264 then :
   16265   printf %s "(cached) " >&6
   16266 else $as_nop
   16267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16268 /* end confdefs.h.  */
   16269 int i;
   16270 int
   16271 main (void)
   16272 {
   16273 
   16274   ;
   16275   return 0;
   16276 }
   16277 _ACEOF
   16278 if ac_fn_c_try_link "$LINENO"
   16279 then :
   16280   eval $cacheid=yes
   16281 else $as_nop
   16282   eval $cacheid=no
   16283 fi
   16284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16285     conftest$ac_exeext conftest.$ac_ext
   16286 fi
   16287 
   16288 
   16289 		CFLAGS="$xorg_testset_save_CFLAGS"
   16290 
   16291 		eval supported=\$$cacheid
   16292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16293 printf "%s\n" "$supported" >&6; }
   16294 		if test "$supported" = "yes" ; then
   16295 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16296 			found="yes"
   16297 		fi
   16298 	fi
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 xorg_testset_save_CFLAGS="$CFLAGS"
   16315 
   16316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16319 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16320 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16321 then :
   16322   printf %s "(cached) " >&6
   16323 else $as_nop
   16324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16325 /* end confdefs.h.  */
   16326 int i;
   16327 _ACEOF
   16328 if ac_fn_c_try_compile "$LINENO"
   16329 then :
   16330   xorg_cv_cc_flag_unknown_warning_option=yes
   16331 else $as_nop
   16332   xorg_cv_cc_flag_unknown_warning_option=no
   16333 fi
   16334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16335 fi
   16336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16337 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16338 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16339 	CFLAGS="$xorg_testset_save_CFLAGS"
   16340 fi
   16341 
   16342 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16343 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16344 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16345 	fi
   16346 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16348 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16349 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16350 then :
   16351   printf %s "(cached) " >&6
   16352 else $as_nop
   16353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16354 /* end confdefs.h.  */
   16355 int i;
   16356 _ACEOF
   16357 if ac_fn_c_try_compile "$LINENO"
   16358 then :
   16359   xorg_cv_cc_flag_unused_command_line_argument=yes
   16360 else $as_nop
   16361   xorg_cv_cc_flag_unused_command_line_argument=no
   16362 fi
   16363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16364 fi
   16365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16366 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16368 	CFLAGS="$xorg_testset_save_CFLAGS"
   16369 fi
   16370 
   16371 found="no"
   16372 
   16373 	if test $found = "no" ; then
   16374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16376 		fi
   16377 
   16378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16380 		fi
   16381 
   16382 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16383 
   16384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16385 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16386 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16387 		if eval test \${$cacheid+y}
   16388 then :
   16389   printf %s "(cached) " >&6
   16390 else $as_nop
   16391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16392 /* end confdefs.h.  */
   16393 int i;
   16394 int
   16395 main (void)
   16396 {
   16397 
   16398   ;
   16399   return 0;
   16400 }
   16401 _ACEOF
   16402 if ac_fn_c_try_link "$LINENO"
   16403 then :
   16404   eval $cacheid=yes
   16405 else $as_nop
   16406   eval $cacheid=no
   16407 fi
   16408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16409     conftest$ac_exeext conftest.$ac_ext
   16410 fi
   16411 
   16412 
   16413 		CFLAGS="$xorg_testset_save_CFLAGS"
   16414 
   16415 		eval supported=\$$cacheid
   16416 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16417 printf "%s\n" "$supported" >&6; }
   16418 		if test "$supported" = "yes" ; then
   16419 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16420 			found="yes"
   16421 		fi
   16422 	fi
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 xorg_testset_save_CFLAGS="$CFLAGS"
   16439 
   16440 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16441 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16443 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16444 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16445 then :
   16446   printf %s "(cached) " >&6
   16447 else $as_nop
   16448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16449 /* end confdefs.h.  */
   16450 int i;
   16451 _ACEOF
   16452 if ac_fn_c_try_compile "$LINENO"
   16453 then :
   16454   xorg_cv_cc_flag_unknown_warning_option=yes
   16455 else $as_nop
   16456   xorg_cv_cc_flag_unknown_warning_option=no
   16457 fi
   16458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16459 fi
   16460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16461 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16463 	CFLAGS="$xorg_testset_save_CFLAGS"
   16464 fi
   16465 
   16466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16469 	fi
   16470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16472 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16473 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16474 then :
   16475   printf %s "(cached) " >&6
   16476 else $as_nop
   16477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16478 /* end confdefs.h.  */
   16479 int i;
   16480 _ACEOF
   16481 if ac_fn_c_try_compile "$LINENO"
   16482 then :
   16483   xorg_cv_cc_flag_unused_command_line_argument=yes
   16484 else $as_nop
   16485   xorg_cv_cc_flag_unused_command_line_argument=no
   16486 fi
   16487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16488 fi
   16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16490 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16492 	CFLAGS="$xorg_testset_save_CFLAGS"
   16493 fi
   16494 
   16495 found="no"
   16496 
   16497 	if test $found = "no" ; then
   16498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16500 		fi
   16501 
   16502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16504 		fi
   16505 
   16506 		CFLAGS="$CFLAGS -Werror=write-strings"
   16507 
   16508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16509 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16510 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16511 		if eval test \${$cacheid+y}
   16512 then :
   16513   printf %s "(cached) " >&6
   16514 else $as_nop
   16515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16516 /* end confdefs.h.  */
   16517 int i;
   16518 int
   16519 main (void)
   16520 {
   16521 
   16522   ;
   16523   return 0;
   16524 }
   16525 _ACEOF
   16526 if ac_fn_c_try_link "$LINENO"
   16527 then :
   16528   eval $cacheid=yes
   16529 else $as_nop
   16530   eval $cacheid=no
   16531 fi
   16532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16533     conftest$ac_exeext conftest.$ac_ext
   16534 fi
   16535 
   16536 
   16537 		CFLAGS="$xorg_testset_save_CFLAGS"
   16538 
   16539 		eval supported=\$$cacheid
   16540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16541 printf "%s\n" "$supported" >&6; }
   16542 		if test "$supported" = "yes" ; then
   16543 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16544 			found="yes"
   16545 		fi
   16546 	fi
   16547 
   16548 
   16549 
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 xorg_testset_save_CFLAGS="$CFLAGS"
   16563 
   16564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16567 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16568 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16569 then :
   16570   printf %s "(cached) " >&6
   16571 else $as_nop
   16572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16573 /* end confdefs.h.  */
   16574 int i;
   16575 _ACEOF
   16576 if ac_fn_c_try_compile "$LINENO"
   16577 then :
   16578   xorg_cv_cc_flag_unknown_warning_option=yes
   16579 else $as_nop
   16580   xorg_cv_cc_flag_unknown_warning_option=no
   16581 fi
   16582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16583 fi
   16584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16585 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16587 	CFLAGS="$xorg_testset_save_CFLAGS"
   16588 fi
   16589 
   16590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16593 	fi
   16594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16596 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16597 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16598 then :
   16599   printf %s "(cached) " >&6
   16600 else $as_nop
   16601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16602 /* end confdefs.h.  */
   16603 int i;
   16604 _ACEOF
   16605 if ac_fn_c_try_compile "$LINENO"
   16606 then :
   16607   xorg_cv_cc_flag_unused_command_line_argument=yes
   16608 else $as_nop
   16609   xorg_cv_cc_flag_unused_command_line_argument=no
   16610 fi
   16611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16612 fi
   16613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16614 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16616 	CFLAGS="$xorg_testset_save_CFLAGS"
   16617 fi
   16618 
   16619 found="no"
   16620 
   16621 	if test $found = "no" ; then
   16622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16624 		fi
   16625 
   16626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16628 		fi
   16629 
   16630 		CFLAGS="$CFLAGS -Werror=address"
   16631 
   16632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16633 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16634 		cacheid=xorg_cv_cc_flag__Werror_address
   16635 		if eval test \${$cacheid+y}
   16636 then :
   16637   printf %s "(cached) " >&6
   16638 else $as_nop
   16639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16640 /* end confdefs.h.  */
   16641 int i;
   16642 int
   16643 main (void)
   16644 {
   16645 
   16646   ;
   16647   return 0;
   16648 }
   16649 _ACEOF
   16650 if ac_fn_c_try_link "$LINENO"
   16651 then :
   16652   eval $cacheid=yes
   16653 else $as_nop
   16654   eval $cacheid=no
   16655 fi
   16656 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16657     conftest$ac_exeext conftest.$ac_ext
   16658 fi
   16659 
   16660 
   16661 		CFLAGS="$xorg_testset_save_CFLAGS"
   16662 
   16663 		eval supported=\$$cacheid
   16664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16665 printf "%s\n" "$supported" >&6; }
   16666 		if test "$supported" = "yes" ; then
   16667 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16668 			found="yes"
   16669 		fi
   16670 	fi
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 xorg_testset_save_CFLAGS="$CFLAGS"
   16687 
   16688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16690 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16691 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16692 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16693 then :
   16694   printf %s "(cached) " >&6
   16695 else $as_nop
   16696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16697 /* end confdefs.h.  */
   16698 int i;
   16699 _ACEOF
   16700 if ac_fn_c_try_compile "$LINENO"
   16701 then :
   16702   xorg_cv_cc_flag_unknown_warning_option=yes
   16703 else $as_nop
   16704   xorg_cv_cc_flag_unknown_warning_option=no
   16705 fi
   16706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16707 fi
   16708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16709 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16710 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16711 	CFLAGS="$xorg_testset_save_CFLAGS"
   16712 fi
   16713 
   16714 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16715 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16716 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16717 	fi
   16718 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16720 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16721 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16722 then :
   16723   printf %s "(cached) " >&6
   16724 else $as_nop
   16725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16726 /* end confdefs.h.  */
   16727 int i;
   16728 _ACEOF
   16729 if ac_fn_c_try_compile "$LINENO"
   16730 then :
   16731   xorg_cv_cc_flag_unused_command_line_argument=yes
   16732 else $as_nop
   16733   xorg_cv_cc_flag_unused_command_line_argument=no
   16734 fi
   16735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16736 fi
   16737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16738 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16740 	CFLAGS="$xorg_testset_save_CFLAGS"
   16741 fi
   16742 
   16743 found="no"
   16744 
   16745 	if test $found = "no" ; then
   16746 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16748 		fi
   16749 
   16750 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16752 		fi
   16753 
   16754 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16755 
   16756 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16757 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16758 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16759 		if eval test \${$cacheid+y}
   16760 then :
   16761   printf %s "(cached) " >&6
   16762 else $as_nop
   16763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16764 /* end confdefs.h.  */
   16765 int i;
   16766 int
   16767 main (void)
   16768 {
   16769 
   16770   ;
   16771   return 0;
   16772 }
   16773 _ACEOF
   16774 if ac_fn_c_try_link "$LINENO"
   16775 then :
   16776   eval $cacheid=yes
   16777 else $as_nop
   16778   eval $cacheid=no
   16779 fi
   16780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16781     conftest$ac_exeext conftest.$ac_ext
   16782 fi
   16783 
   16784 
   16785 		CFLAGS="$xorg_testset_save_CFLAGS"
   16786 
   16787 		eval supported=\$$cacheid
   16788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16789 printf "%s\n" "$supported" >&6; }
   16790 		if test "$supported" = "yes" ; then
   16791 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16792 			found="yes"
   16793 		fi
   16794 	fi
   16795 
   16796 	if test $found = "no" ; then
   16797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16799 		fi
   16800 
   16801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16803 		fi
   16804 
   16805 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16806 
   16807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16808 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16809 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16810 		if eval test \${$cacheid+y}
   16811 then :
   16812   printf %s "(cached) " >&6
   16813 else $as_nop
   16814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16815 /* end confdefs.h.  */
   16816 int i;
   16817 int
   16818 main (void)
   16819 {
   16820 
   16821   ;
   16822   return 0;
   16823 }
   16824 _ACEOF
   16825 if ac_fn_c_try_link "$LINENO"
   16826 then :
   16827   eval $cacheid=yes
   16828 else $as_nop
   16829   eval $cacheid=no
   16830 fi
   16831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16832     conftest$ac_exeext conftest.$ac_ext
   16833 fi
   16834 
   16835 
   16836 		CFLAGS="$xorg_testset_save_CFLAGS"
   16837 
   16838 		eval supported=\$$cacheid
   16839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16840 printf "%s\n" "$supported" >&6; }
   16841 		if test "$supported" = "yes" ; then
   16842 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16843 			found="yes"
   16844 		fi
   16845 	fi
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 xorg_testset_save_CFLAGS="$CFLAGS"
   16862 
   16863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16868 then :
   16869   printf %s "(cached) " >&6
   16870 else $as_nop
   16871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16872 /* end confdefs.h.  */
   16873 int i;
   16874 _ACEOF
   16875 if ac_fn_c_try_compile "$LINENO"
   16876 then :
   16877   xorg_cv_cc_flag_unknown_warning_option=yes
   16878 else $as_nop
   16879   xorg_cv_cc_flag_unknown_warning_option=no
   16880 fi
   16881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16882 fi
   16883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16884 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16886 	CFLAGS="$xorg_testset_save_CFLAGS"
   16887 fi
   16888 
   16889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16892 	fi
   16893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16895 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16896 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16897 then :
   16898   printf %s "(cached) " >&6
   16899 else $as_nop
   16900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16901 /* end confdefs.h.  */
   16902 int i;
   16903 _ACEOF
   16904 if ac_fn_c_try_compile "$LINENO"
   16905 then :
   16906   xorg_cv_cc_flag_unused_command_line_argument=yes
   16907 else $as_nop
   16908   xorg_cv_cc_flag_unused_command_line_argument=no
   16909 fi
   16910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16911 fi
   16912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16913 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16915 	CFLAGS="$xorg_testset_save_CFLAGS"
   16916 fi
   16917 
   16918 found="no"
   16919 
   16920 	if test $found = "no" ; then
   16921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16923 		fi
   16924 
   16925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16927 		fi
   16928 
   16929 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16930 
   16931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16932 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16933 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16934 		if eval test \${$cacheid+y}
   16935 then :
   16936   printf %s "(cached) " >&6
   16937 else $as_nop
   16938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16939 /* end confdefs.h.  */
   16940 int i;
   16941 int
   16942 main (void)
   16943 {
   16944 
   16945   ;
   16946   return 0;
   16947 }
   16948 _ACEOF
   16949 if ac_fn_c_try_link "$LINENO"
   16950 then :
   16951   eval $cacheid=yes
   16952 else $as_nop
   16953   eval $cacheid=no
   16954 fi
   16955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16956     conftest$ac_exeext conftest.$ac_ext
   16957 fi
   16958 
   16959 
   16960 		CFLAGS="$xorg_testset_save_CFLAGS"
   16961 
   16962 		eval supported=\$$cacheid
   16963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16964 printf "%s\n" "$supported" >&6; }
   16965 		if test "$supported" = "yes" ; then
   16966 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16967 			found="yes"
   16968 		fi
   16969 	fi
   16970 
   16971  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16972 else
   16973 { 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
   16974 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;}
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 xorg_testset_save_CFLAGS="$CFLAGS"
   16989 
   16990 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16991 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16992 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16993 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16994 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16995 then :
   16996   printf %s "(cached) " >&6
   16997 else $as_nop
   16998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16999 /* end confdefs.h.  */
   17000 int i;
   17001 _ACEOF
   17002 if ac_fn_c_try_compile "$LINENO"
   17003 then :
   17004   xorg_cv_cc_flag_unknown_warning_option=yes
   17005 else $as_nop
   17006   xorg_cv_cc_flag_unknown_warning_option=no
   17007 fi
   17008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17009 fi
   17010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17011 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17013 	CFLAGS="$xorg_testset_save_CFLAGS"
   17014 fi
   17015 
   17016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17019 	fi
   17020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17022 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17023 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17024 then :
   17025   printf %s "(cached) " >&6
   17026 else $as_nop
   17027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17028 /* end confdefs.h.  */
   17029 int i;
   17030 _ACEOF
   17031 if ac_fn_c_try_compile "$LINENO"
   17032 then :
   17033   xorg_cv_cc_flag_unused_command_line_argument=yes
   17034 else $as_nop
   17035   xorg_cv_cc_flag_unused_command_line_argument=no
   17036 fi
   17037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17038 fi
   17039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17040 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17041 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17042 	CFLAGS="$xorg_testset_save_CFLAGS"
   17043 fi
   17044 
   17045 found="no"
   17046 
   17047 	if test $found = "no" ; then
   17048 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17049 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17050 		fi
   17051 
   17052 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17053 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17054 		fi
   17055 
   17056 		CFLAGS="$CFLAGS -Wimplicit"
   17057 
   17058 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17059 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17060 		cacheid=xorg_cv_cc_flag__Wimplicit
   17061 		if eval test \${$cacheid+y}
   17062 then :
   17063   printf %s "(cached) " >&6
   17064 else $as_nop
   17065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17066 /* end confdefs.h.  */
   17067 int i;
   17068 int
   17069 main (void)
   17070 {
   17071 
   17072   ;
   17073   return 0;
   17074 }
   17075 _ACEOF
   17076 if ac_fn_c_try_link "$LINENO"
   17077 then :
   17078   eval $cacheid=yes
   17079 else $as_nop
   17080   eval $cacheid=no
   17081 fi
   17082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17083     conftest$ac_exeext conftest.$ac_ext
   17084 fi
   17085 
   17086 
   17087 		CFLAGS="$xorg_testset_save_CFLAGS"
   17088 
   17089 		eval supported=\$$cacheid
   17090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17091 printf "%s\n" "$supported" >&6; }
   17092 		if test "$supported" = "yes" ; then
   17093 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17094 			found="yes"
   17095 		fi
   17096 	fi
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 xorg_testset_save_CFLAGS="$CFLAGS"
   17113 
   17114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17116 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17117 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17118 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17119 then :
   17120   printf %s "(cached) " >&6
   17121 else $as_nop
   17122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17123 /* end confdefs.h.  */
   17124 int i;
   17125 _ACEOF
   17126 if ac_fn_c_try_compile "$LINENO"
   17127 then :
   17128   xorg_cv_cc_flag_unknown_warning_option=yes
   17129 else $as_nop
   17130   xorg_cv_cc_flag_unknown_warning_option=no
   17131 fi
   17132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17133 fi
   17134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17135 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17137 	CFLAGS="$xorg_testset_save_CFLAGS"
   17138 fi
   17139 
   17140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17143 	fi
   17144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17145 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17146 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17147 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17148 then :
   17149   printf %s "(cached) " >&6
   17150 else $as_nop
   17151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17152 /* end confdefs.h.  */
   17153 int i;
   17154 _ACEOF
   17155 if ac_fn_c_try_compile "$LINENO"
   17156 then :
   17157   xorg_cv_cc_flag_unused_command_line_argument=yes
   17158 else $as_nop
   17159   xorg_cv_cc_flag_unused_command_line_argument=no
   17160 fi
   17161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17162 fi
   17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17164 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17166 	CFLAGS="$xorg_testset_save_CFLAGS"
   17167 fi
   17168 
   17169 found="no"
   17170 
   17171 	if test $found = "no" ; then
   17172 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17174 		fi
   17175 
   17176 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17178 		fi
   17179 
   17180 		CFLAGS="$CFLAGS -Wnonnull"
   17181 
   17182 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17183 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17184 		cacheid=xorg_cv_cc_flag__Wnonnull
   17185 		if eval test \${$cacheid+y}
   17186 then :
   17187   printf %s "(cached) " >&6
   17188 else $as_nop
   17189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17190 /* end confdefs.h.  */
   17191 int i;
   17192 int
   17193 main (void)
   17194 {
   17195 
   17196   ;
   17197   return 0;
   17198 }
   17199 _ACEOF
   17200 if ac_fn_c_try_link "$LINENO"
   17201 then :
   17202   eval $cacheid=yes
   17203 else $as_nop
   17204   eval $cacheid=no
   17205 fi
   17206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17207     conftest$ac_exeext conftest.$ac_ext
   17208 fi
   17209 
   17210 
   17211 		CFLAGS="$xorg_testset_save_CFLAGS"
   17212 
   17213 		eval supported=\$$cacheid
   17214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17215 printf "%s\n" "$supported" >&6; }
   17216 		if test "$supported" = "yes" ; then
   17217 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17218 			found="yes"
   17219 		fi
   17220 	fi
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 xorg_testset_save_CFLAGS="$CFLAGS"
   17237 
   17238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17240 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17241 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17242 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17243 then :
   17244   printf %s "(cached) " >&6
   17245 else $as_nop
   17246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17247 /* end confdefs.h.  */
   17248 int i;
   17249 _ACEOF
   17250 if ac_fn_c_try_compile "$LINENO"
   17251 then :
   17252   xorg_cv_cc_flag_unknown_warning_option=yes
   17253 else $as_nop
   17254   xorg_cv_cc_flag_unknown_warning_option=no
   17255 fi
   17256 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17257 fi
   17258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17259 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17261 	CFLAGS="$xorg_testset_save_CFLAGS"
   17262 fi
   17263 
   17264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17267 	fi
   17268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17270 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17271 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17272 then :
   17273   printf %s "(cached) " >&6
   17274 else $as_nop
   17275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17276 /* end confdefs.h.  */
   17277 int i;
   17278 _ACEOF
   17279 if ac_fn_c_try_compile "$LINENO"
   17280 then :
   17281   xorg_cv_cc_flag_unused_command_line_argument=yes
   17282 else $as_nop
   17283   xorg_cv_cc_flag_unused_command_line_argument=no
   17284 fi
   17285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17286 fi
   17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17288 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17290 	CFLAGS="$xorg_testset_save_CFLAGS"
   17291 fi
   17292 
   17293 found="no"
   17294 
   17295 	if test $found = "no" ; then
   17296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17298 		fi
   17299 
   17300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17302 		fi
   17303 
   17304 		CFLAGS="$CFLAGS -Winit-self"
   17305 
   17306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17307 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17308 		cacheid=xorg_cv_cc_flag__Winit_self
   17309 		if eval test \${$cacheid+y}
   17310 then :
   17311   printf %s "(cached) " >&6
   17312 else $as_nop
   17313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17314 /* end confdefs.h.  */
   17315 int i;
   17316 int
   17317 main (void)
   17318 {
   17319 
   17320   ;
   17321   return 0;
   17322 }
   17323 _ACEOF
   17324 if ac_fn_c_try_link "$LINENO"
   17325 then :
   17326   eval $cacheid=yes
   17327 else $as_nop
   17328   eval $cacheid=no
   17329 fi
   17330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17331     conftest$ac_exeext conftest.$ac_ext
   17332 fi
   17333 
   17334 
   17335 		CFLAGS="$xorg_testset_save_CFLAGS"
   17336 
   17337 		eval supported=\$$cacheid
   17338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17339 printf "%s\n" "$supported" >&6; }
   17340 		if test "$supported" = "yes" ; then
   17341 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17342 			found="yes"
   17343 		fi
   17344 	fi
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 xorg_testset_save_CFLAGS="$CFLAGS"
   17361 
   17362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17364 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17365 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17366 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17367 then :
   17368   printf %s "(cached) " >&6
   17369 else $as_nop
   17370   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17371 /* end confdefs.h.  */
   17372 int i;
   17373 _ACEOF
   17374 if ac_fn_c_try_compile "$LINENO"
   17375 then :
   17376   xorg_cv_cc_flag_unknown_warning_option=yes
   17377 else $as_nop
   17378   xorg_cv_cc_flag_unknown_warning_option=no
   17379 fi
   17380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17381 fi
   17382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17383 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17385 	CFLAGS="$xorg_testset_save_CFLAGS"
   17386 fi
   17387 
   17388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17391 	fi
   17392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17394 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17395 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17396 then :
   17397   printf %s "(cached) " >&6
   17398 else $as_nop
   17399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17400 /* end confdefs.h.  */
   17401 int i;
   17402 _ACEOF
   17403 if ac_fn_c_try_compile "$LINENO"
   17404 then :
   17405   xorg_cv_cc_flag_unused_command_line_argument=yes
   17406 else $as_nop
   17407   xorg_cv_cc_flag_unused_command_line_argument=no
   17408 fi
   17409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17410 fi
   17411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17412 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17414 	CFLAGS="$xorg_testset_save_CFLAGS"
   17415 fi
   17416 
   17417 found="no"
   17418 
   17419 	if test $found = "no" ; then
   17420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17422 		fi
   17423 
   17424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17426 		fi
   17427 
   17428 		CFLAGS="$CFLAGS -Wmain"
   17429 
   17430 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17431 printf %s "checking if $CC supports -Wmain... " >&6; }
   17432 		cacheid=xorg_cv_cc_flag__Wmain
   17433 		if eval test \${$cacheid+y}
   17434 then :
   17435   printf %s "(cached) " >&6
   17436 else $as_nop
   17437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17438 /* end confdefs.h.  */
   17439 int i;
   17440 int
   17441 main (void)
   17442 {
   17443 
   17444   ;
   17445   return 0;
   17446 }
   17447 _ACEOF
   17448 if ac_fn_c_try_link "$LINENO"
   17449 then :
   17450   eval $cacheid=yes
   17451 else $as_nop
   17452   eval $cacheid=no
   17453 fi
   17454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17455     conftest$ac_exeext conftest.$ac_ext
   17456 fi
   17457 
   17458 
   17459 		CFLAGS="$xorg_testset_save_CFLAGS"
   17460 
   17461 		eval supported=\$$cacheid
   17462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17463 printf "%s\n" "$supported" >&6; }
   17464 		if test "$supported" = "yes" ; then
   17465 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17466 			found="yes"
   17467 		fi
   17468 	fi
   17469 
   17470 
   17471 
   17472 
   17473 
   17474 
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 xorg_testset_save_CFLAGS="$CFLAGS"
   17485 
   17486 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17488 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17489 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17490 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17491 then :
   17492   printf %s "(cached) " >&6
   17493 else $as_nop
   17494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17495 /* end confdefs.h.  */
   17496 int i;
   17497 _ACEOF
   17498 if ac_fn_c_try_compile "$LINENO"
   17499 then :
   17500   xorg_cv_cc_flag_unknown_warning_option=yes
   17501 else $as_nop
   17502   xorg_cv_cc_flag_unknown_warning_option=no
   17503 fi
   17504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17505 fi
   17506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17507 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17508 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17509 	CFLAGS="$xorg_testset_save_CFLAGS"
   17510 fi
   17511 
   17512 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17513 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17514 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17515 	fi
   17516 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17518 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17519 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17520 then :
   17521   printf %s "(cached) " >&6
   17522 else $as_nop
   17523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17524 /* end confdefs.h.  */
   17525 int i;
   17526 _ACEOF
   17527 if ac_fn_c_try_compile "$LINENO"
   17528 then :
   17529   xorg_cv_cc_flag_unused_command_line_argument=yes
   17530 else $as_nop
   17531   xorg_cv_cc_flag_unused_command_line_argument=no
   17532 fi
   17533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17534 fi
   17535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17536 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17538 	CFLAGS="$xorg_testset_save_CFLAGS"
   17539 fi
   17540 
   17541 found="no"
   17542 
   17543 	if test $found = "no" ; then
   17544 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17546 		fi
   17547 
   17548 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17550 		fi
   17551 
   17552 		CFLAGS="$CFLAGS -Wmissing-braces"
   17553 
   17554 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17555 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17556 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17557 		if eval test \${$cacheid+y}
   17558 then :
   17559   printf %s "(cached) " >&6
   17560 else $as_nop
   17561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17562 /* end confdefs.h.  */
   17563 int i;
   17564 int
   17565 main (void)
   17566 {
   17567 
   17568   ;
   17569   return 0;
   17570 }
   17571 _ACEOF
   17572 if ac_fn_c_try_link "$LINENO"
   17573 then :
   17574   eval $cacheid=yes
   17575 else $as_nop
   17576   eval $cacheid=no
   17577 fi
   17578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17579     conftest$ac_exeext conftest.$ac_ext
   17580 fi
   17581 
   17582 
   17583 		CFLAGS="$xorg_testset_save_CFLAGS"
   17584 
   17585 		eval supported=\$$cacheid
   17586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17587 printf "%s\n" "$supported" >&6; }
   17588 		if test "$supported" = "yes" ; then
   17589 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17590 			found="yes"
   17591 		fi
   17592 	fi
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 xorg_testset_save_CFLAGS="$CFLAGS"
   17609 
   17610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17615 then :
   17616   printf %s "(cached) " >&6
   17617 else $as_nop
   17618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17619 /* end confdefs.h.  */
   17620 int i;
   17621 _ACEOF
   17622 if ac_fn_c_try_compile "$LINENO"
   17623 then :
   17624   xorg_cv_cc_flag_unknown_warning_option=yes
   17625 else $as_nop
   17626   xorg_cv_cc_flag_unknown_warning_option=no
   17627 fi
   17628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17629 fi
   17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17631 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17632 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17633 	CFLAGS="$xorg_testset_save_CFLAGS"
   17634 fi
   17635 
   17636 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17637 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17639 	fi
   17640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17641 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17642 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17643 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17644 then :
   17645   printf %s "(cached) " >&6
   17646 else $as_nop
   17647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17648 /* end confdefs.h.  */
   17649 int i;
   17650 _ACEOF
   17651 if ac_fn_c_try_compile "$LINENO"
   17652 then :
   17653   xorg_cv_cc_flag_unused_command_line_argument=yes
   17654 else $as_nop
   17655   xorg_cv_cc_flag_unused_command_line_argument=no
   17656 fi
   17657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17658 fi
   17659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17660 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17661 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17662 	CFLAGS="$xorg_testset_save_CFLAGS"
   17663 fi
   17664 
   17665 found="no"
   17666 
   17667 	if test $found = "no" ; then
   17668 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17669 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17670 		fi
   17671 
   17672 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17673 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17674 		fi
   17675 
   17676 		CFLAGS="$CFLAGS -Wsequence-point"
   17677 
   17678 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17679 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17680 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17681 		if eval test \${$cacheid+y}
   17682 then :
   17683   printf %s "(cached) " >&6
   17684 else $as_nop
   17685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17686 /* end confdefs.h.  */
   17687 int i;
   17688 int
   17689 main (void)
   17690 {
   17691 
   17692   ;
   17693   return 0;
   17694 }
   17695 _ACEOF
   17696 if ac_fn_c_try_link "$LINENO"
   17697 then :
   17698   eval $cacheid=yes
   17699 else $as_nop
   17700   eval $cacheid=no
   17701 fi
   17702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17703     conftest$ac_exeext conftest.$ac_ext
   17704 fi
   17705 
   17706 
   17707 		CFLAGS="$xorg_testset_save_CFLAGS"
   17708 
   17709 		eval supported=\$$cacheid
   17710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17711 printf "%s\n" "$supported" >&6; }
   17712 		if test "$supported" = "yes" ; then
   17713 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17714 			found="yes"
   17715 		fi
   17716 	fi
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 xorg_testset_save_CFLAGS="$CFLAGS"
   17733 
   17734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17736 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17737 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17738 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17739 then :
   17740   printf %s "(cached) " >&6
   17741 else $as_nop
   17742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17743 /* end confdefs.h.  */
   17744 int i;
   17745 _ACEOF
   17746 if ac_fn_c_try_compile "$LINENO"
   17747 then :
   17748   xorg_cv_cc_flag_unknown_warning_option=yes
   17749 else $as_nop
   17750   xorg_cv_cc_flag_unknown_warning_option=no
   17751 fi
   17752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17753 fi
   17754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17755 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17757 	CFLAGS="$xorg_testset_save_CFLAGS"
   17758 fi
   17759 
   17760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17763 	fi
   17764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17765 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17766 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17767 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17768 then :
   17769   printf %s "(cached) " >&6
   17770 else $as_nop
   17771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17772 /* end confdefs.h.  */
   17773 int i;
   17774 _ACEOF
   17775 if ac_fn_c_try_compile "$LINENO"
   17776 then :
   17777   xorg_cv_cc_flag_unused_command_line_argument=yes
   17778 else $as_nop
   17779   xorg_cv_cc_flag_unused_command_line_argument=no
   17780 fi
   17781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17782 fi
   17783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17784 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17786 	CFLAGS="$xorg_testset_save_CFLAGS"
   17787 fi
   17788 
   17789 found="no"
   17790 
   17791 	if test $found = "no" ; then
   17792 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17794 		fi
   17795 
   17796 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17798 		fi
   17799 
   17800 		CFLAGS="$CFLAGS -Wreturn-type"
   17801 
   17802 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17803 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17804 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17805 		if eval test \${$cacheid+y}
   17806 then :
   17807   printf %s "(cached) " >&6
   17808 else $as_nop
   17809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17810 /* end confdefs.h.  */
   17811 int i;
   17812 int
   17813 main (void)
   17814 {
   17815 
   17816   ;
   17817   return 0;
   17818 }
   17819 _ACEOF
   17820 if ac_fn_c_try_link "$LINENO"
   17821 then :
   17822   eval $cacheid=yes
   17823 else $as_nop
   17824   eval $cacheid=no
   17825 fi
   17826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17827     conftest$ac_exeext conftest.$ac_ext
   17828 fi
   17829 
   17830 
   17831 		CFLAGS="$xorg_testset_save_CFLAGS"
   17832 
   17833 		eval supported=\$$cacheid
   17834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17835 printf "%s\n" "$supported" >&6; }
   17836 		if test "$supported" = "yes" ; then
   17837 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17838 			found="yes"
   17839 		fi
   17840 	fi
   17841 
   17842 
   17843 
   17844 
   17845 
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 xorg_testset_save_CFLAGS="$CFLAGS"
   17857 
   17858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17860 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17861 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17862 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17863 then :
   17864   printf %s "(cached) " >&6
   17865 else $as_nop
   17866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17867 /* end confdefs.h.  */
   17868 int i;
   17869 _ACEOF
   17870 if ac_fn_c_try_compile "$LINENO"
   17871 then :
   17872   xorg_cv_cc_flag_unknown_warning_option=yes
   17873 else $as_nop
   17874   xorg_cv_cc_flag_unknown_warning_option=no
   17875 fi
   17876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17877 fi
   17878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17879 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17881 	CFLAGS="$xorg_testset_save_CFLAGS"
   17882 fi
   17883 
   17884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17887 	fi
   17888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17889 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17890 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17891 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17892 then :
   17893   printf %s "(cached) " >&6
   17894 else $as_nop
   17895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17896 /* end confdefs.h.  */
   17897 int i;
   17898 _ACEOF
   17899 if ac_fn_c_try_compile "$LINENO"
   17900 then :
   17901   xorg_cv_cc_flag_unused_command_line_argument=yes
   17902 else $as_nop
   17903   xorg_cv_cc_flag_unused_command_line_argument=no
   17904 fi
   17905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17906 fi
   17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17908 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17910 	CFLAGS="$xorg_testset_save_CFLAGS"
   17911 fi
   17912 
   17913 found="no"
   17914 
   17915 	if test $found = "no" ; then
   17916 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17918 		fi
   17919 
   17920 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17922 		fi
   17923 
   17924 		CFLAGS="$CFLAGS -Wtrigraphs"
   17925 
   17926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17927 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17928 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17929 		if eval test \${$cacheid+y}
   17930 then :
   17931   printf %s "(cached) " >&6
   17932 else $as_nop
   17933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17934 /* end confdefs.h.  */
   17935 int i;
   17936 int
   17937 main (void)
   17938 {
   17939 
   17940   ;
   17941   return 0;
   17942 }
   17943 _ACEOF
   17944 if ac_fn_c_try_link "$LINENO"
   17945 then :
   17946   eval $cacheid=yes
   17947 else $as_nop
   17948   eval $cacheid=no
   17949 fi
   17950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17951     conftest$ac_exeext conftest.$ac_ext
   17952 fi
   17953 
   17954 
   17955 		CFLAGS="$xorg_testset_save_CFLAGS"
   17956 
   17957 		eval supported=\$$cacheid
   17958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17959 printf "%s\n" "$supported" >&6; }
   17960 		if test "$supported" = "yes" ; then
   17961 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17962 			found="yes"
   17963 		fi
   17964 	fi
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 xorg_testset_save_CFLAGS="$CFLAGS"
   17981 
   17982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17983 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17984 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17985 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17986 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17987 then :
   17988   printf %s "(cached) " >&6
   17989 else $as_nop
   17990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17991 /* end confdefs.h.  */
   17992 int i;
   17993 _ACEOF
   17994 if ac_fn_c_try_compile "$LINENO"
   17995 then :
   17996   xorg_cv_cc_flag_unknown_warning_option=yes
   17997 else $as_nop
   17998   xorg_cv_cc_flag_unknown_warning_option=no
   17999 fi
   18000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18001 fi
   18002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18003 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18004 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18005 	CFLAGS="$xorg_testset_save_CFLAGS"
   18006 fi
   18007 
   18008 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18009 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18011 	fi
   18012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18013 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18014 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18015 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18016 then :
   18017   printf %s "(cached) " >&6
   18018 else $as_nop
   18019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18020 /* end confdefs.h.  */
   18021 int i;
   18022 _ACEOF
   18023 if ac_fn_c_try_compile "$LINENO"
   18024 then :
   18025   xorg_cv_cc_flag_unused_command_line_argument=yes
   18026 else $as_nop
   18027   xorg_cv_cc_flag_unused_command_line_argument=no
   18028 fi
   18029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18030 fi
   18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18032 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18034 	CFLAGS="$xorg_testset_save_CFLAGS"
   18035 fi
   18036 
   18037 found="no"
   18038 
   18039 	if test $found = "no" ; then
   18040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18042 		fi
   18043 
   18044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18046 		fi
   18047 
   18048 		CFLAGS="$CFLAGS -Warray-bounds"
   18049 
   18050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18051 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18052 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18053 		if eval test \${$cacheid+y}
   18054 then :
   18055   printf %s "(cached) " >&6
   18056 else $as_nop
   18057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18058 /* end confdefs.h.  */
   18059 int i;
   18060 int
   18061 main (void)
   18062 {
   18063 
   18064   ;
   18065   return 0;
   18066 }
   18067 _ACEOF
   18068 if ac_fn_c_try_link "$LINENO"
   18069 then :
   18070   eval $cacheid=yes
   18071 else $as_nop
   18072   eval $cacheid=no
   18073 fi
   18074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18075     conftest$ac_exeext conftest.$ac_ext
   18076 fi
   18077 
   18078 
   18079 		CFLAGS="$xorg_testset_save_CFLAGS"
   18080 
   18081 		eval supported=\$$cacheid
   18082 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18083 printf "%s\n" "$supported" >&6; }
   18084 		if test "$supported" = "yes" ; then
   18085 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18086 			found="yes"
   18087 		fi
   18088 	fi
   18089 
   18090 
   18091 
   18092 
   18093 
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 xorg_testset_save_CFLAGS="$CFLAGS"
   18105 
   18106 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18107 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18108 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18109 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18110 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18111 then :
   18112   printf %s "(cached) " >&6
   18113 else $as_nop
   18114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18115 /* end confdefs.h.  */
   18116 int i;
   18117 _ACEOF
   18118 if ac_fn_c_try_compile "$LINENO"
   18119 then :
   18120   xorg_cv_cc_flag_unknown_warning_option=yes
   18121 else $as_nop
   18122   xorg_cv_cc_flag_unknown_warning_option=no
   18123 fi
   18124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18125 fi
   18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18127 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18128 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18129 	CFLAGS="$xorg_testset_save_CFLAGS"
   18130 fi
   18131 
   18132 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18133 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18134 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18135 	fi
   18136 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18138 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18139 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18140 then :
   18141   printf %s "(cached) " >&6
   18142 else $as_nop
   18143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18144 /* end confdefs.h.  */
   18145 int i;
   18146 _ACEOF
   18147 if ac_fn_c_try_compile "$LINENO"
   18148 then :
   18149   xorg_cv_cc_flag_unused_command_line_argument=yes
   18150 else $as_nop
   18151   xorg_cv_cc_flag_unused_command_line_argument=no
   18152 fi
   18153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18154 fi
   18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18156 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18158 	CFLAGS="$xorg_testset_save_CFLAGS"
   18159 fi
   18160 
   18161 found="no"
   18162 
   18163 	if test $found = "no" ; then
   18164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18166 		fi
   18167 
   18168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18170 		fi
   18171 
   18172 		CFLAGS="$CFLAGS -Wwrite-strings"
   18173 
   18174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18175 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18176 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18177 		if eval test \${$cacheid+y}
   18178 then :
   18179   printf %s "(cached) " >&6
   18180 else $as_nop
   18181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18182 /* end confdefs.h.  */
   18183 int i;
   18184 int
   18185 main (void)
   18186 {
   18187 
   18188   ;
   18189   return 0;
   18190 }
   18191 _ACEOF
   18192 if ac_fn_c_try_link "$LINENO"
   18193 then :
   18194   eval $cacheid=yes
   18195 else $as_nop
   18196   eval $cacheid=no
   18197 fi
   18198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18199     conftest$ac_exeext conftest.$ac_ext
   18200 fi
   18201 
   18202 
   18203 		CFLAGS="$xorg_testset_save_CFLAGS"
   18204 
   18205 		eval supported=\$$cacheid
   18206 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18207 printf "%s\n" "$supported" >&6; }
   18208 		if test "$supported" = "yes" ; then
   18209 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18210 			found="yes"
   18211 		fi
   18212 	fi
   18213 
   18214 
   18215 
   18216 
   18217 
   18218 
   18219 
   18220 
   18221 
   18222 
   18223 
   18224 
   18225 
   18226 
   18227 
   18228 xorg_testset_save_CFLAGS="$CFLAGS"
   18229 
   18230 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18231 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18232 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18233 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18234 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18235 then :
   18236   printf %s "(cached) " >&6
   18237 else $as_nop
   18238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18239 /* end confdefs.h.  */
   18240 int i;
   18241 _ACEOF
   18242 if ac_fn_c_try_compile "$LINENO"
   18243 then :
   18244   xorg_cv_cc_flag_unknown_warning_option=yes
   18245 else $as_nop
   18246   xorg_cv_cc_flag_unknown_warning_option=no
   18247 fi
   18248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18249 fi
   18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18251 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18253 	CFLAGS="$xorg_testset_save_CFLAGS"
   18254 fi
   18255 
   18256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18259 	fi
   18260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18261 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18262 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18263 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18264 then :
   18265   printf %s "(cached) " >&6
   18266 else $as_nop
   18267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18268 /* end confdefs.h.  */
   18269 int i;
   18270 _ACEOF
   18271 if ac_fn_c_try_compile "$LINENO"
   18272 then :
   18273   xorg_cv_cc_flag_unused_command_line_argument=yes
   18274 else $as_nop
   18275   xorg_cv_cc_flag_unused_command_line_argument=no
   18276 fi
   18277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18278 fi
   18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18280 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18282 	CFLAGS="$xorg_testset_save_CFLAGS"
   18283 fi
   18284 
   18285 found="no"
   18286 
   18287 	if test $found = "no" ; then
   18288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18290 		fi
   18291 
   18292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18294 		fi
   18295 
   18296 		CFLAGS="$CFLAGS -Waddress"
   18297 
   18298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18299 printf %s "checking if $CC supports -Waddress... " >&6; }
   18300 		cacheid=xorg_cv_cc_flag__Waddress
   18301 		if eval test \${$cacheid+y}
   18302 then :
   18303   printf %s "(cached) " >&6
   18304 else $as_nop
   18305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18306 /* end confdefs.h.  */
   18307 int i;
   18308 int
   18309 main (void)
   18310 {
   18311 
   18312   ;
   18313   return 0;
   18314 }
   18315 _ACEOF
   18316 if ac_fn_c_try_link "$LINENO"
   18317 then :
   18318   eval $cacheid=yes
   18319 else $as_nop
   18320   eval $cacheid=no
   18321 fi
   18322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18323     conftest$ac_exeext conftest.$ac_ext
   18324 fi
   18325 
   18326 
   18327 		CFLAGS="$xorg_testset_save_CFLAGS"
   18328 
   18329 		eval supported=\$$cacheid
   18330 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18331 printf "%s\n" "$supported" >&6; }
   18332 		if test "$supported" = "yes" ; then
   18333 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18334 			found="yes"
   18335 		fi
   18336 	fi
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 xorg_testset_save_CFLAGS="$CFLAGS"
   18353 
   18354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18356 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18357 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18358 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18359 then :
   18360   printf %s "(cached) " >&6
   18361 else $as_nop
   18362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18363 /* end confdefs.h.  */
   18364 int i;
   18365 _ACEOF
   18366 if ac_fn_c_try_compile "$LINENO"
   18367 then :
   18368   xorg_cv_cc_flag_unknown_warning_option=yes
   18369 else $as_nop
   18370   xorg_cv_cc_flag_unknown_warning_option=no
   18371 fi
   18372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18373 fi
   18374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18375 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18377 	CFLAGS="$xorg_testset_save_CFLAGS"
   18378 fi
   18379 
   18380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18383 	fi
   18384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18386 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18387 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18388 then :
   18389   printf %s "(cached) " >&6
   18390 else $as_nop
   18391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18392 /* end confdefs.h.  */
   18393 int i;
   18394 _ACEOF
   18395 if ac_fn_c_try_compile "$LINENO"
   18396 then :
   18397   xorg_cv_cc_flag_unused_command_line_argument=yes
   18398 else $as_nop
   18399   xorg_cv_cc_flag_unused_command_line_argument=no
   18400 fi
   18401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18402 fi
   18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18406 	CFLAGS="$xorg_testset_save_CFLAGS"
   18407 fi
   18408 
   18409 found="no"
   18410 
   18411 	if test $found = "no" ; then
   18412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18414 		fi
   18415 
   18416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18418 		fi
   18419 
   18420 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18421 
   18422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18423 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18424 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18425 		if eval test \${$cacheid+y}
   18426 then :
   18427   printf %s "(cached) " >&6
   18428 else $as_nop
   18429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18430 /* end confdefs.h.  */
   18431 int i;
   18432 int
   18433 main (void)
   18434 {
   18435 
   18436   ;
   18437   return 0;
   18438 }
   18439 _ACEOF
   18440 if ac_fn_c_try_link "$LINENO"
   18441 then :
   18442   eval $cacheid=yes
   18443 else $as_nop
   18444   eval $cacheid=no
   18445 fi
   18446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18447     conftest$ac_exeext conftest.$ac_ext
   18448 fi
   18449 
   18450 
   18451 		CFLAGS="$xorg_testset_save_CFLAGS"
   18452 
   18453 		eval supported=\$$cacheid
   18454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18455 printf "%s\n" "$supported" >&6; }
   18456 		if test "$supported" = "yes" ; then
   18457 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18458 			found="yes"
   18459 		fi
   18460 	fi
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 xorg_testset_save_CFLAGS="$CFLAGS"
   18477 
   18478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18481 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18482 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18483 then :
   18484   printf %s "(cached) " >&6
   18485 else $as_nop
   18486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18487 /* end confdefs.h.  */
   18488 int i;
   18489 _ACEOF
   18490 if ac_fn_c_try_compile "$LINENO"
   18491 then :
   18492   xorg_cv_cc_flag_unknown_warning_option=yes
   18493 else $as_nop
   18494   xorg_cv_cc_flag_unknown_warning_option=no
   18495 fi
   18496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18497 fi
   18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18499 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18501 	CFLAGS="$xorg_testset_save_CFLAGS"
   18502 fi
   18503 
   18504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18507 	fi
   18508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18510 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18511 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18512 then :
   18513   printf %s "(cached) " >&6
   18514 else $as_nop
   18515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18516 /* end confdefs.h.  */
   18517 int i;
   18518 _ACEOF
   18519 if ac_fn_c_try_compile "$LINENO"
   18520 then :
   18521   xorg_cv_cc_flag_unused_command_line_argument=yes
   18522 else $as_nop
   18523   xorg_cv_cc_flag_unused_command_line_argument=no
   18524 fi
   18525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18526 fi
   18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18528 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18530 	CFLAGS="$xorg_testset_save_CFLAGS"
   18531 fi
   18532 
   18533 found="no"
   18534 
   18535 	if test $found = "no" ; then
   18536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18538 		fi
   18539 
   18540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18542 		fi
   18543 
   18544 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18545 
   18546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18547 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18548 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18549 		if eval test \${$cacheid+y}
   18550 then :
   18551   printf %s "(cached) " >&6
   18552 else $as_nop
   18553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18554 /* end confdefs.h.  */
   18555 int i;
   18556 int
   18557 main (void)
   18558 {
   18559 
   18560   ;
   18561   return 0;
   18562 }
   18563 _ACEOF
   18564 if ac_fn_c_try_link "$LINENO"
   18565 then :
   18566   eval $cacheid=yes
   18567 else $as_nop
   18568   eval $cacheid=no
   18569 fi
   18570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18571     conftest$ac_exeext conftest.$ac_ext
   18572 fi
   18573 
   18574 
   18575 		CFLAGS="$xorg_testset_save_CFLAGS"
   18576 
   18577 		eval supported=\$$cacheid
   18578 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18579 printf "%s\n" "$supported" >&6; }
   18580 		if test "$supported" = "yes" ; then
   18581 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18582 			found="yes"
   18583 		fi
   18584 	fi
   18585 
   18586 
   18587 fi
   18588 
   18589 
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 		CWARNFLAGS="$BASE_CFLAGS"
   18596 		if  test "x$GCC" = xyes ; then
   18597 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18598 		fi
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 # Check whether --enable-strict-compilation was given.
   18608 if test ${enable_strict_compilation+y}
   18609 then :
   18610   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18611 else $as_nop
   18612   STRICT_COMPILE=no
   18613 fi
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 STRICT_CFLAGS=""
   18621 
   18622 
   18623 
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 xorg_testset_save_CFLAGS="$CFLAGS"
   18635 
   18636 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18637 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18638 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18639 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18640 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18641 then :
   18642   printf %s "(cached) " >&6
   18643 else $as_nop
   18644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18645 /* end confdefs.h.  */
   18646 int i;
   18647 _ACEOF
   18648 if ac_fn_c_try_compile "$LINENO"
   18649 then :
   18650   xorg_cv_cc_flag_unknown_warning_option=yes
   18651 else $as_nop
   18652   xorg_cv_cc_flag_unknown_warning_option=no
   18653 fi
   18654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18655 fi
   18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18657 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18659 	CFLAGS="$xorg_testset_save_CFLAGS"
   18660 fi
   18661 
   18662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18665 	fi
   18666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18668 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18669 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18670 then :
   18671   printf %s "(cached) " >&6
   18672 else $as_nop
   18673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18674 /* end confdefs.h.  */
   18675 int i;
   18676 _ACEOF
   18677 if ac_fn_c_try_compile "$LINENO"
   18678 then :
   18679   xorg_cv_cc_flag_unused_command_line_argument=yes
   18680 else $as_nop
   18681   xorg_cv_cc_flag_unused_command_line_argument=no
   18682 fi
   18683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18684 fi
   18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18686 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18687 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18688 	CFLAGS="$xorg_testset_save_CFLAGS"
   18689 fi
   18690 
   18691 found="no"
   18692 
   18693 	if test $found = "no" ; then
   18694 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18695 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18696 		fi
   18697 
   18698 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18699 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18700 		fi
   18701 
   18702 		CFLAGS="$CFLAGS -pedantic"
   18703 
   18704 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18705 printf %s "checking if $CC supports -pedantic... " >&6; }
   18706 		cacheid=xorg_cv_cc_flag__pedantic
   18707 		if eval test \${$cacheid+y}
   18708 then :
   18709   printf %s "(cached) " >&6
   18710 else $as_nop
   18711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18712 /* end confdefs.h.  */
   18713 int i;
   18714 int
   18715 main (void)
   18716 {
   18717 
   18718   ;
   18719   return 0;
   18720 }
   18721 _ACEOF
   18722 if ac_fn_c_try_link "$LINENO"
   18723 then :
   18724   eval $cacheid=yes
   18725 else $as_nop
   18726   eval $cacheid=no
   18727 fi
   18728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18729     conftest$ac_exeext conftest.$ac_ext
   18730 fi
   18731 
   18732 
   18733 		CFLAGS="$xorg_testset_save_CFLAGS"
   18734 
   18735 		eval supported=\$$cacheid
   18736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18737 printf "%s\n" "$supported" >&6; }
   18738 		if test "$supported" = "yes" ; then
   18739 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18740 			found="yes"
   18741 		fi
   18742 	fi
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755 
   18756 
   18757 
   18758 xorg_testset_save_CFLAGS="$CFLAGS"
   18759 
   18760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18762 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18763 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18764 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18765 then :
   18766   printf %s "(cached) " >&6
   18767 else $as_nop
   18768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18769 /* end confdefs.h.  */
   18770 int i;
   18771 _ACEOF
   18772 if ac_fn_c_try_compile "$LINENO"
   18773 then :
   18774   xorg_cv_cc_flag_unknown_warning_option=yes
   18775 else $as_nop
   18776   xorg_cv_cc_flag_unknown_warning_option=no
   18777 fi
   18778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18779 fi
   18780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18781 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18783 	CFLAGS="$xorg_testset_save_CFLAGS"
   18784 fi
   18785 
   18786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18789 	fi
   18790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18792 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18793 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18794 then :
   18795   printf %s "(cached) " >&6
   18796 else $as_nop
   18797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18798 /* end confdefs.h.  */
   18799 int i;
   18800 _ACEOF
   18801 if ac_fn_c_try_compile "$LINENO"
   18802 then :
   18803   xorg_cv_cc_flag_unused_command_line_argument=yes
   18804 else $as_nop
   18805   xorg_cv_cc_flag_unused_command_line_argument=no
   18806 fi
   18807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18808 fi
   18809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18810 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18812 	CFLAGS="$xorg_testset_save_CFLAGS"
   18813 fi
   18814 
   18815 found="no"
   18816 
   18817 	if test $found = "no" ; then
   18818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18820 		fi
   18821 
   18822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18824 		fi
   18825 
   18826 		CFLAGS="$CFLAGS -Werror"
   18827 
   18828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18829 printf %s "checking if $CC supports -Werror... " >&6; }
   18830 		cacheid=xorg_cv_cc_flag__Werror
   18831 		if eval test \${$cacheid+y}
   18832 then :
   18833   printf %s "(cached) " >&6
   18834 else $as_nop
   18835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18836 /* end confdefs.h.  */
   18837 int i;
   18838 int
   18839 main (void)
   18840 {
   18841 
   18842   ;
   18843   return 0;
   18844 }
   18845 _ACEOF
   18846 if ac_fn_c_try_link "$LINENO"
   18847 then :
   18848   eval $cacheid=yes
   18849 else $as_nop
   18850   eval $cacheid=no
   18851 fi
   18852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18853     conftest$ac_exeext conftest.$ac_ext
   18854 fi
   18855 
   18856 
   18857 		CFLAGS="$xorg_testset_save_CFLAGS"
   18858 
   18859 		eval supported=\$$cacheid
   18860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18861 printf "%s\n" "$supported" >&6; }
   18862 		if test "$supported" = "yes" ; then
   18863 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18864 			found="yes"
   18865 		fi
   18866 	fi
   18867 
   18868 	if test $found = "no" ; then
   18869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18871 		fi
   18872 
   18873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18875 		fi
   18876 
   18877 		CFLAGS="$CFLAGS -errwarn"
   18878 
   18879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18880 printf %s "checking if $CC supports -errwarn... " >&6; }
   18881 		cacheid=xorg_cv_cc_flag__errwarn
   18882 		if eval test \${$cacheid+y}
   18883 then :
   18884   printf %s "(cached) " >&6
   18885 else $as_nop
   18886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18887 /* end confdefs.h.  */
   18888 int i;
   18889 int
   18890 main (void)
   18891 {
   18892 
   18893   ;
   18894   return 0;
   18895 }
   18896 _ACEOF
   18897 if ac_fn_c_try_link "$LINENO"
   18898 then :
   18899   eval $cacheid=yes
   18900 else $as_nop
   18901   eval $cacheid=no
   18902 fi
   18903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18904     conftest$ac_exeext conftest.$ac_ext
   18905 fi
   18906 
   18907 
   18908 		CFLAGS="$xorg_testset_save_CFLAGS"
   18909 
   18910 		eval supported=\$$cacheid
   18911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18912 printf "%s\n" "$supported" >&6; }
   18913 		if test "$supported" = "yes" ; then
   18914 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18915 			found="yes"
   18916 		fi
   18917 	fi
   18918 
   18919 
   18920 
   18921 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18922 # activate it with -Werror, so we add it here explicitly.
   18923 
   18924 
   18925 
   18926 
   18927 
   18928 
   18929 
   18930 
   18931 
   18932 
   18933 
   18934 
   18935 
   18936 xorg_testset_save_CFLAGS="$CFLAGS"
   18937 
   18938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18940 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18941 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18942 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18943 then :
   18944   printf %s "(cached) " >&6
   18945 else $as_nop
   18946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18947 /* end confdefs.h.  */
   18948 int i;
   18949 _ACEOF
   18950 if ac_fn_c_try_compile "$LINENO"
   18951 then :
   18952   xorg_cv_cc_flag_unknown_warning_option=yes
   18953 else $as_nop
   18954   xorg_cv_cc_flag_unknown_warning_option=no
   18955 fi
   18956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18957 fi
   18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18959 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18961 	CFLAGS="$xorg_testset_save_CFLAGS"
   18962 fi
   18963 
   18964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18967 	fi
   18968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18970 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18971 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18972 then :
   18973   printf %s "(cached) " >&6
   18974 else $as_nop
   18975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18976 /* end confdefs.h.  */
   18977 int i;
   18978 _ACEOF
   18979 if ac_fn_c_try_compile "$LINENO"
   18980 then :
   18981   xorg_cv_cc_flag_unused_command_line_argument=yes
   18982 else $as_nop
   18983   xorg_cv_cc_flag_unused_command_line_argument=no
   18984 fi
   18985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18986 fi
   18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18988 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18990 	CFLAGS="$xorg_testset_save_CFLAGS"
   18991 fi
   18992 
   18993 found="no"
   18994 
   18995 	if test $found = "no" ; then
   18996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18998 		fi
   18999 
   19000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19002 		fi
   19003 
   19004 		CFLAGS="$CFLAGS -Werror=attributes"
   19005 
   19006 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19007 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19008 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19009 		if eval test \${$cacheid+y}
   19010 then :
   19011   printf %s "(cached) " >&6
   19012 else $as_nop
   19013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19014 /* end confdefs.h.  */
   19015 int i;
   19016 int
   19017 main (void)
   19018 {
   19019 
   19020   ;
   19021   return 0;
   19022 }
   19023 _ACEOF
   19024 if ac_fn_c_try_link "$LINENO"
   19025 then :
   19026   eval $cacheid=yes
   19027 else $as_nop
   19028   eval $cacheid=no
   19029 fi
   19030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19031     conftest$ac_exeext conftest.$ac_ext
   19032 fi
   19033 
   19034 
   19035 		CFLAGS="$xorg_testset_save_CFLAGS"
   19036 
   19037 		eval supported=\$$cacheid
   19038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19039 printf "%s\n" "$supported" >&6; }
   19040 		if test "$supported" = "yes" ; then
   19041 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19042 			found="yes"
   19043 		fi
   19044 	fi
   19045 
   19046 
   19047 
   19048 if test "x$STRICT_COMPILE" = "xyes"; then
   19049     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19050     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19051 fi
   19052 
   19053 
   19054 
   19055 
   19056 
   19057 
   19058 cat >>confdefs.h <<_ACEOF
   19059 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19060 _ACEOF
   19061 
   19062 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19063 	if test "x$PVM" = "x"; then
   19064 		PVM="0"
   19065 	fi
   19066 
   19067 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19068 
   19069 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19070 	if test "x$PVP" = "x"; then
   19071 		PVP="0"
   19072 	fi
   19073 
   19074 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19075 
   19076 
   19077 
   19078 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19079 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19080 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19081 touch \$(top_srcdir)/ChangeLog; \
   19082 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19083 
   19084 
   19085 
   19086 
   19087 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19088 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19089 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19090 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19091 touch \$(top_srcdir)/INSTALL; \
   19092 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19093 
   19094 
   19095 
   19096 
   19097 
   19098 
   19099 case $host_os in
   19100     solaris*)
   19101         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19102         # check for a man page file found in later versions that use
   19103         # traditional section numbers instead
   19104         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19105 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19106 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19107 then :
   19108   printf %s "(cached) " >&6
   19109 else $as_nop
   19110   test "$cross_compiling" = yes &&
   19111   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19112 if test -r "/usr/share/man/man7/attributes.7"; then
   19113   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19114 else
   19115   ac_cv_file__usr_share_man_man7_attributes_7=no
   19116 fi
   19117 fi
   19118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19119 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19120 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19121 then :
   19122   SYSV_MAN_SECTIONS=false
   19123 else $as_nop
   19124   SYSV_MAN_SECTIONS=true
   19125 fi
   19126 
   19127         ;;
   19128     *) SYSV_MAN_SECTIONS=false ;;
   19129 esac
   19130 
   19131 if test x$APP_MAN_SUFFIX = x    ; then
   19132     APP_MAN_SUFFIX=1
   19133 fi
   19134 if test x$APP_MAN_DIR = x    ; then
   19135     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19136 fi
   19137 
   19138 if test x$LIB_MAN_SUFFIX = x    ; then
   19139     LIB_MAN_SUFFIX=3
   19140 fi
   19141 if test x$LIB_MAN_DIR = x    ; then
   19142     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19143 fi
   19144 
   19145 if test x$FILE_MAN_SUFFIX = x    ; then
   19146     case $SYSV_MAN_SECTIONS in
   19147 	true)				FILE_MAN_SUFFIX=4  ;;
   19148 	*)				FILE_MAN_SUFFIX=5  ;;
   19149     esac
   19150 fi
   19151 if test x$FILE_MAN_DIR = x    ; then
   19152     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19153 fi
   19154 
   19155 if test x$MISC_MAN_SUFFIX = x    ; then
   19156     case $SYSV_MAN_SECTIONS in
   19157 	true)				MISC_MAN_SUFFIX=5  ;;
   19158 	*)				MISC_MAN_SUFFIX=7  ;;
   19159     esac
   19160 fi
   19161 if test x$MISC_MAN_DIR = x    ; then
   19162     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19163 fi
   19164 
   19165 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19166     case $SYSV_MAN_SECTIONS in
   19167 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19168 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19169     esac
   19170 fi
   19171 if test x$DRIVER_MAN_DIR = x    ; then
   19172     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19173 fi
   19174 
   19175 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19176     case $SYSV_MAN_SECTIONS in
   19177 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19178 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19179     esac
   19180 fi
   19181 if test x$ADMIN_MAN_DIR = x    ; then
   19182     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19183 fi
   19184 
   19185 
   19186 
   19187 
   19188 
   19189 
   19190 
   19191 
   19192 
   19193 
   19194 
   19195 
   19196 
   19197 
   19198 
   19199 XORG_MAN_PAGE="X Version 11"
   19200 
   19201 MAN_SUBSTS="\
   19202 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19203 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19204 	-e 's|__xservername__|Xorg|g' \
   19205 	-e 's|__xconfigfile__|xorg.conf|g' \
   19206 	-e 's|__projectroot__|\$(prefix)|g' \
   19207 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19208 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19209 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19210 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19211 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19212 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19213 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19214 
   19215 
   19216 
   19217 # Check whether --enable-silent-rules was given.
   19218 if test ${enable_silent_rules+y}
   19219 then :
   19220   enableval=$enable_silent_rules;
   19221 fi
   19222 
   19223 case $enable_silent_rules in # (((
   19224   yes) AM_DEFAULT_VERBOSITY=0;;
   19225    no) AM_DEFAULT_VERBOSITY=1;;
   19226     *) AM_DEFAULT_VERBOSITY=0;;
   19227 esac
   19228 am_make=${MAKE-make}
   19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19230 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19231 if test ${am_cv_make_support_nested_variables+y}
   19232 then :
   19233   printf %s "(cached) " >&6
   19234 else $as_nop
   19235   if printf "%s\n" 'TRUE=$(BAR$(V))
   19236 BAR0=false
   19237 BAR1=true
   19238 V=1
   19239 am__doit:
   19240 	@$(TRUE)
   19241 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19242   am_cv_make_support_nested_variables=yes
   19243 else
   19244   am_cv_make_support_nested_variables=no
   19245 fi
   19246 fi
   19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19248 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19249 if test $am_cv_make_support_nested_variables = yes; then
   19250     AM_V='$(V)'
   19251   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19252 else
   19253   AM_V=$AM_DEFAULT_VERBOSITY
   19254   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19255 fi
   19256 AM_BACKSLASH='\'
   19257 
   19258 
   19259 
   19260 # Check whether --enable-malloc0returnsnull was given.
   19261 if test ${enable_malloc0returnsnull+y}
   19262 then :
   19263   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   19264 else $as_nop
   19265   MALLOC_ZERO_RETURNS_NULL=auto
   19266 fi
   19267 
   19268 
   19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   19270 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   19271 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   19272 if test ${xorg_cv_malloc0_returns_null+y}
   19273 then :
   19274   printf %s "(cached) " >&6
   19275 else $as_nop
   19276   if test "$cross_compiling" = yes
   19277 then :
   19278   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19279 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19280 as_fn_error $? "cannot run test program while cross compiling
   19281 See \`config.log' for more details" "$LINENO" 5; }
   19282 else $as_nop
   19283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19284 /* end confdefs.h.  */
   19285 
   19286 #include <stdlib.h>
   19287 
   19288 int
   19289 main (void)
   19290 {
   19291 
   19292     char *m0, *r0, *c0, *p;
   19293     m0 = malloc(0);
   19294     p = malloc(10);
   19295     r0 = realloc(p,0);
   19296     c0 = calloc(0,10);
   19297     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   19298 
   19299   ;
   19300   return 0;
   19301 }
   19302 _ACEOF
   19303 if ac_fn_c_try_run "$LINENO"
   19304 then :
   19305   xorg_cv_malloc0_returns_null=yes
   19306 else $as_nop
   19307   xorg_cv_malloc0_returns_null=no
   19308 fi
   19309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   19310   conftest.$ac_objext conftest.beam conftest.$ac_ext
   19311 fi
   19312 
   19313 fi
   19314 
   19315 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   19316 fi
   19317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   19318 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   19319 
   19320 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   19321 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   19322 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   19323 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   19324 else
   19325 	MALLOC_ZERO_CFLAGS=""
   19326 	XMALLOC_ZERO_CFLAGS=""
   19327 	XTMALLOC_ZERO_CFLAGS=""
   19328 fi
   19329 
   19330 
   19331 
   19332 
   19333 
   19334 
   19335 # Obtain compiler/linker options for dependencies
   19336 
   19337 pkg_failed=no
   19338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XV" >&5
   19339 printf %s "checking for XV... " >&6; }
   19340 
   19341 if test -n "$XV_CFLAGS"; then
   19342     pkg_cv_XV_CFLAGS="$XV_CFLAGS"
   19343  elif test -n "$PKG_CONFIG"; then
   19344     if test -n "$PKG_CONFIG" && \
   19345     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xextproto videoproto\""; } >&5
   19346   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xextproto videoproto") 2>&5
   19347   ac_status=$?
   19348   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19349   test $ac_status = 0; }; then
   19350   pkg_cv_XV_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 xext xextproto videoproto" 2>/dev/null`
   19351 		      test "x$?" != "x0" && pkg_failed=yes
   19352 else
   19353   pkg_failed=yes
   19354 fi
   19355  else
   19356     pkg_failed=untried
   19357 fi
   19358 if test -n "$XV_LIBS"; then
   19359     pkg_cv_XV_LIBS="$XV_LIBS"
   19360  elif test -n "$PKG_CONFIG"; then
   19361     if test -n "$PKG_CONFIG" && \
   19362     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xextproto videoproto\""; } >&5
   19363   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xextproto videoproto") 2>&5
   19364   ac_status=$?
   19365   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19366   test $ac_status = 0; }; then
   19367   pkg_cv_XV_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 xext xextproto videoproto" 2>/dev/null`
   19368 		      test "x$?" != "x0" && pkg_failed=yes
   19369 else
   19370   pkg_failed=yes
   19371 fi
   19372  else
   19373     pkg_failed=untried
   19374 fi
   19375 
   19376 
   19377 
   19378 if test $pkg_failed = yes; then
   19379    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19380 printf "%s\n" "no" >&6; }
   19381 
   19382 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19383         _pkg_short_errors_supported=yes
   19384 else
   19385         _pkg_short_errors_supported=no
   19386 fi
   19387         if test $_pkg_short_errors_supported = yes; then
   19388 	        XV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 xext xextproto videoproto" 2>&1`
   19389         else
   19390 	        XV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 xext xextproto videoproto" 2>&1`
   19391         fi
   19392 	# Put the nasty error message in config.log where it belongs
   19393 	echo "$XV_PKG_ERRORS" >&5
   19394 
   19395 	as_fn_error $? "Package requirements (x11 >= 1.6 xext xextproto videoproto) were not met:
   19396 
   19397 $XV_PKG_ERRORS
   19398 
   19399 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19400 installed software in a non-standard prefix.
   19401 
   19402 Alternatively, you may set the environment variables XV_CFLAGS
   19403 and XV_LIBS to avoid the need to call pkg-config.
   19404 See the pkg-config man page for more details." "$LINENO" 5
   19405 elif test $pkg_failed = untried; then
   19406      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19407 printf "%s\n" "no" >&6; }
   19408 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19409 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19410 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19411 is in your PATH or set the PKG_CONFIG environment variable to the full
   19412 path to pkg-config.
   19413 
   19414 Alternatively, you may set the environment variables XV_CFLAGS
   19415 and XV_LIBS to avoid the need to call pkg-config.
   19416 See the pkg-config man page for more details.
   19417 
   19418 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19419 See \`config.log' for more details" "$LINENO" 5; }
   19420 else
   19421 	XV_CFLAGS=$pkg_cv_XV_CFLAGS
   19422 	XV_LIBS=$pkg_cv_XV_LIBS
   19423         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19424 printf "%s\n" "yes" >&6; }
   19425 
   19426 fi
   19427 
   19428 # Allow checking code with lint, sparse, etc.
   19429 
   19430 
   19431 
   19432 
   19433 
   19434 # Check whether --with-lint was given.
   19435 if test ${with_lint+y}
   19436 then :
   19437   withval=$with_lint; use_lint=$withval
   19438 else $as_nop
   19439   use_lint=no
   19440 fi
   19441 
   19442 
   19443 # Obtain platform specific info like program name and options
   19444 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19445 case $host_os in
   19446   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19447 	lint_name=splint
   19448 	lint_options="-badflag"
   19449 	;;
   19450   *freebsd* | *netbsd*)
   19451 	lint_name=lint
   19452 	lint_options="-u -b"
   19453 	;;
   19454   *solaris*)
   19455 	lint_name=lint
   19456 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19457 	;;
   19458 esac
   19459 
   19460 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19461 if test "x$use_lint" = x"yes" ; then
   19462    # Extract the first word of "$lint_name", so it can be a program name with args.
   19463 set dummy $lint_name; ac_word=$2
   19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19465 printf %s "checking for $ac_word... " >&6; }
   19466 if test ${ac_cv_path_LINT+y}
   19467 then :
   19468   printf %s "(cached) " >&6
   19469 else $as_nop
   19470   case $LINT in
   19471   [\\/]* | ?:[\\/]*)
   19472   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19473   ;;
   19474   *)
   19475   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19476 for as_dir in $PATH
   19477 do
   19478   IFS=$as_save_IFS
   19479   case $as_dir in #(((
   19480     '') as_dir=./ ;;
   19481     */) ;;
   19482     *) as_dir=$as_dir/ ;;
   19483   esac
   19484     for ac_exec_ext in '' $ac_executable_extensions; do
   19485   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19486     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   19487     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19488     break 2
   19489   fi
   19490 done
   19491   done
   19492 IFS=$as_save_IFS
   19493 
   19494   ;;
   19495 esac
   19496 fi
   19497 LINT=$ac_cv_path_LINT
   19498 if test -n "$LINT"; then
   19499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19500 printf "%s\n" "$LINT" >&6; }
   19501 else
   19502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19503 printf "%s\n" "no" >&6; }
   19504 fi
   19505 
   19506 
   19507    if test "x$LINT" = "x"; then
   19508         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19509    fi
   19510 elif test "x$use_lint" = x"no" ; then
   19511    if test "x$LINT" != "x"; then
   19512       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19513 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19514    fi
   19515 else
   19516    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   19517 fi
   19518 
   19519 # User supplied flags override default flags
   19520 if test "x$LINT_FLAGS" != "x"; then
   19521    lint_options=$LINT_FLAGS
   19522 fi
   19523 
   19524 LINT_FLAGS=$lint_options
   19525 
   19526  if test "x$LINT" != x; then
   19527   LINT_TRUE=
   19528   LINT_FALSE='#'
   19529 else
   19530   LINT_TRUE='#'
   19531   LINT_FALSE=
   19532 fi
   19533 
   19534 
   19535 
   19536 
   19537 
   19538 # Check whether --enable-lint-library was given.
   19539 if test ${enable_lint_library+y}
   19540 then :
   19541   enableval=$enable_lint_library; make_lint_lib=$enableval
   19542 else $as_nop
   19543   make_lint_lib=no
   19544 fi
   19545 
   19546 
   19547 if test "x$make_lint_lib" = x"yes" ; then
   19548    LINTLIB=llib-lXv.ln
   19549    if test "x$LINT" = "x"; then
   19550         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   19551    fi
   19552 elif test "x$make_lint_lib" != x"no" ; then
   19553    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   19554 fi
   19555 
   19556 
   19557  if test x$make_lint_lib != xno; then
   19558   MAKE_LINT_LIB_TRUE=
   19559   MAKE_LINT_LIB_FALSE='#'
   19560 else
   19561   MAKE_LINT_LIB_TRUE='#'
   19562   MAKE_LINT_LIB_FALSE=
   19563 fi
   19564 
   19565 
   19566 
   19567 
   19568 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile man/Makefile xv.pc"
   19569 
   19570 cat >confcache <<\_ACEOF
   19571 # This file is a shell script that caches the results of configure
   19572 # tests run on this system so they can be shared between configure
   19573 # scripts and configure runs, see configure's option --config-cache.
   19574 # It is not useful on other systems.  If it contains results you don't
   19575 # want to keep, you may remove or edit it.
   19576 #
   19577 # config.status only pays attention to the cache file if you give it
   19578 # the --recheck option to rerun configure.
   19579 #
   19580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19582 # following values.
   19583 
   19584 _ACEOF
   19585 
   19586 # The following way of writing the cache mishandles newlines in values,
   19587 # but we know of no workaround that is simple, portable, and efficient.
   19588 # So, we kill variables containing newlines.
   19589 # Ultrix sh set writes to stderr and can't be redirected directly,
   19590 # and sets the high bit in the cache file unless we assign to the vars.
   19591 (
   19592   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19593     eval ac_val=\$$ac_var
   19594     case $ac_val in #(
   19595     *${as_nl}*)
   19596       case $ac_var in #(
   19597       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19598 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19599       esac
   19600       case $ac_var in #(
   19601       _ | IFS | as_nl) ;; #(
   19602       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19603       *) { eval $ac_var=; unset $ac_var;} ;;
   19604       esac ;;
   19605     esac
   19606   done
   19607 
   19608   (set) 2>&1 |
   19609     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19610     *${as_nl}ac_space=\ *)
   19611       # `set' does not quote correctly, so add quotes: double-quote
   19612       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19613       sed -n \
   19614 	"s/'/'\\\\''/g;
   19615 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19616       ;; #(
   19617     *)
   19618       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19619       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19620       ;;
   19621     esac |
   19622     sort
   19623 ) |
   19624   sed '
   19625      /^ac_cv_env_/b end
   19626      t clear
   19627      :clear
   19628      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19629      t end
   19630      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19631      :end' >>confcache
   19632 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19633   if test -w "$cache_file"; then
   19634     if test "x$cache_file" != "x/dev/null"; then
   19635       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19636 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19637       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19638 	cat confcache >"$cache_file"
   19639       else
   19640         case $cache_file in #(
   19641         */* | ?:*)
   19642 	  mv -f confcache "$cache_file"$$ &&
   19643 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19644         *)
   19645 	  mv -f confcache "$cache_file" ;;
   19646 	esac
   19647       fi
   19648     fi
   19649   else
   19650     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19651 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19652   fi
   19653 fi
   19654 rm -f confcache
   19655 
   19656 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19657 # Let make expand exec_prefix.
   19658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19659 
   19660 DEFS=-DHAVE_CONFIG_H
   19661 
   19662 ac_libobjs=
   19663 ac_ltlibobjs=
   19664 U=
   19665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19666   # 1. Remove the extension, and $U if already installed.
   19667   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19668   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19669   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19670   #    will be set to the directory where LIBOBJS objects are built.
   19671   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19672   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19673 done
   19674 LIBOBJS=$ac_libobjs
   19675 
   19676 LTLIBOBJS=$ac_ltlibobjs
   19677 
   19678 
   19679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19680 printf %s "checking that generated files are newer than configure... " >&6; }
   19681    if test -n "$am_sleep_pid"; then
   19682      # Hide warnings about reused PIDs.
   19683      wait $am_sleep_pid 2>/dev/null
   19684    fi
   19685    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19686 printf "%s\n" "done" >&6; }
   19687  if test -n "$EXEEXT"; then
   19688   am__EXEEXT_TRUE=
   19689   am__EXEEXT_FALSE='#'
   19690 else
   19691   am__EXEEXT_TRUE='#'
   19692   am__EXEEXT_FALSE=
   19693 fi
   19694 
   19695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19696   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19698 fi
   19699 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19700   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19702 fi
   19703 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   19704   as_fn_error $? "conditional \"LINT\" was never defined.
   19705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19706 fi
   19707 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   19708   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   19709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19710 fi
   19711 
   19712 : "${CONFIG_STATUS=./config.status}"
   19713 ac_write_fail=0
   19714 ac_clean_files_save=$ac_clean_files
   19715 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19717 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19718 as_write_fail=0
   19719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19720 #! $SHELL
   19721 # Generated by $as_me.
   19722 # Run this file to recreate the current configuration.
   19723 # Compiler output produced by configure, useful for debugging
   19724 # configure, is in config.log if it exists.
   19725 
   19726 debug=false
   19727 ac_cs_recheck=false
   19728 ac_cs_silent=false
   19729 
   19730 SHELL=\${CONFIG_SHELL-$SHELL}
   19731 export SHELL
   19732 _ASEOF
   19733 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19734 ## -------------------- ##
   19735 ## M4sh Initialization. ##
   19736 ## -------------------- ##
   19737 
   19738 # Be more Bourne compatible
   19739 DUALCASE=1; export DUALCASE # for MKS sh
   19740 as_nop=:
   19741 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19742 then :
   19743   emulate sh
   19744   NULLCMD=:
   19745   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19746   # is contrary to our usage.  Disable this feature.
   19747   alias -g '${1+"$@"}'='"$@"'
   19748   setopt NO_GLOB_SUBST
   19749 else $as_nop
   19750   case `(set -o) 2>/dev/null` in #(
   19751   *posix*) :
   19752     set -o posix ;; #(
   19753   *) :
   19754      ;;
   19755 esac
   19756 fi
   19757 
   19758 
   19759 
   19760 # Reset variables that may have inherited troublesome values from
   19761 # the environment.
   19762 
   19763 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19764 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19765 # side effect of setting IFS to empty, thus disabling word splitting.)
   19766 # Quoting is to prevent editors from complaining about space-tab.
   19767 as_nl='
   19768 '
   19769 export as_nl
   19770 IFS=" ""	$as_nl"
   19771 
   19772 PS1='$ '
   19773 PS2='> '
   19774 PS4='+ '
   19775 
   19776 # Ensure predictable behavior from utilities with locale-dependent output.
   19777 LC_ALL=C
   19778 export LC_ALL
   19779 LANGUAGE=C
   19780 export LANGUAGE
   19781 
   19782 # We cannot yet rely on "unset" to work, but we need these variables
   19783 # to be unset--not just set to an empty or harmless value--now, to
   19784 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19785 # also avoids known problems related to "unset" and subshell syntax
   19786 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19787 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19788 do eval test \${$as_var+y} \
   19789   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19790 done
   19791 
   19792 # Ensure that fds 0, 1, and 2 are open.
   19793 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19794 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19795 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19796 
   19797 # The user is always right.
   19798 if ${PATH_SEPARATOR+false} :; then
   19799   PATH_SEPARATOR=:
   19800   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19801     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19802       PATH_SEPARATOR=';'
   19803   }
   19804 fi
   19805 
   19806 
   19807 # Find who we are.  Look in the path if we contain no directory separator.
   19808 as_myself=
   19809 case $0 in #((
   19810   *[\\/]* ) as_myself=$0 ;;
   19811   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19812 for as_dir in $PATH
   19813 do
   19814   IFS=$as_save_IFS
   19815   case $as_dir in #(((
   19816     '') as_dir=./ ;;
   19817     */) ;;
   19818     *) as_dir=$as_dir/ ;;
   19819   esac
   19820     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19821   done
   19822 IFS=$as_save_IFS
   19823 
   19824      ;;
   19825 esac
   19826 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19827 # in which case we are not to be found in the path.
   19828 if test "x$as_myself" = x; then
   19829   as_myself=$0
   19830 fi
   19831 if test ! -f "$as_myself"; then
   19832   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19833   exit 1
   19834 fi
   19835 
   19836 
   19837 
   19838 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19839 # ----------------------------------------
   19840 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19841 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19842 # script with STATUS, using 1 if that was 0.
   19843 as_fn_error ()
   19844 {
   19845   as_status=$1; test $as_status -eq 0 && as_status=1
   19846   if test "$4"; then
   19847     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19848     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19849   fi
   19850   printf "%s\n" "$as_me: error: $2" >&2
   19851   as_fn_exit $as_status
   19852 } # as_fn_error
   19853 
   19854 
   19855 
   19856 # as_fn_set_status STATUS
   19857 # -----------------------
   19858 # Set $? to STATUS, without forking.
   19859 as_fn_set_status ()
   19860 {
   19861   return $1
   19862 } # as_fn_set_status
   19863 
   19864 # as_fn_exit STATUS
   19865 # -----------------
   19866 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19867 as_fn_exit ()
   19868 {
   19869   set +e
   19870   as_fn_set_status $1
   19871   exit $1
   19872 } # as_fn_exit
   19873 
   19874 # as_fn_unset VAR
   19875 # ---------------
   19876 # Portably unset VAR.
   19877 as_fn_unset ()
   19878 {
   19879   { eval $1=; unset $1;}
   19880 }
   19881 as_unset=as_fn_unset
   19882 
   19883 # as_fn_append VAR VALUE
   19884 # ----------------------
   19885 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19886 # advantage of any shell optimizations that allow amortized linear growth over
   19887 # repeated appends, instead of the typical quadratic growth present in naive
   19888 # implementations.
   19889 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19890 then :
   19891   eval 'as_fn_append ()
   19892   {
   19893     eval $1+=\$2
   19894   }'
   19895 else $as_nop
   19896   as_fn_append ()
   19897   {
   19898     eval $1=\$$1\$2
   19899   }
   19900 fi # as_fn_append
   19901 
   19902 # as_fn_arith ARG...
   19903 # ------------------
   19904 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19905 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19906 # must be portable across $(()) and expr.
   19907 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19908 then :
   19909   eval 'as_fn_arith ()
   19910   {
   19911     as_val=$(( $* ))
   19912   }'
   19913 else $as_nop
   19914   as_fn_arith ()
   19915   {
   19916     as_val=`expr "$@" || test $? -eq 1`
   19917   }
   19918 fi # as_fn_arith
   19919 
   19920 
   19921 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19922    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19923   as_expr=expr
   19924 else
   19925   as_expr=false
   19926 fi
   19927 
   19928 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19929   as_basename=basename
   19930 else
   19931   as_basename=false
   19932 fi
   19933 
   19934 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19935   as_dirname=dirname
   19936 else
   19937   as_dirname=false
   19938 fi
   19939 
   19940 as_me=`$as_basename -- "$0" ||
   19941 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19942 	 X"$0" : 'X\(//\)$' \| \
   19943 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19944 printf "%s\n" X/"$0" |
   19945     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19946 	    s//\1/
   19947 	    q
   19948 	  }
   19949 	  /^X\/\(\/\/\)$/{
   19950 	    s//\1/
   19951 	    q
   19952 	  }
   19953 	  /^X\/\(\/\).*/{
   19954 	    s//\1/
   19955 	    q
   19956 	  }
   19957 	  s/.*/./; q'`
   19958 
   19959 # Avoid depending upon Character Ranges.
   19960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19963 as_cr_digits='0123456789'
   19964 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19965 
   19966 
   19967 # Determine whether it's possible to make 'echo' print without a newline.
   19968 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   19969 # for compatibility with existing Makefiles.
   19970 ECHO_C= ECHO_N= ECHO_T=
   19971 case `echo -n x` in #(((((
   19972 -n*)
   19973   case `echo 'xy\c'` in
   19974   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19975   xy)  ECHO_C='\c';;
   19976   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19977        ECHO_T='	';;
   19978   esac;;
   19979 *)
   19980   ECHO_N='-n';;
   19981 esac
   19982 
   19983 # For backward compatibility with old third-party macros, we provide
   19984 # the shell variables $as_echo and $as_echo_n.  New code should use
   19985 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   19986 as_echo='printf %s\n'
   19987 as_echo_n='printf %s'
   19988 
   19989 rm -f conf$$ conf$$.exe conf$$.file
   19990 if test -d conf$$.dir; then
   19991   rm -f conf$$.dir/conf$$.file
   19992 else
   19993   rm -f conf$$.dir
   19994   mkdir conf$$.dir 2>/dev/null
   19995 fi
   19996 if (echo >conf$$.file) 2>/dev/null; then
   19997   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19998     as_ln_s='ln -s'
   19999     # ... but there are two gotchas:
   20000     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20001     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20002     # In both cases, we have to default to `cp -pR'.
   20003     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20004       as_ln_s='cp -pR'
   20005   elif ln conf$$.file conf$$ 2>/dev/null; then
   20006     as_ln_s=ln
   20007   else
   20008     as_ln_s='cp -pR'
   20009   fi
   20010 else
   20011   as_ln_s='cp -pR'
   20012 fi
   20013 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20014 rmdir conf$$.dir 2>/dev/null
   20015 
   20016 
   20017 # as_fn_mkdir_p
   20018 # -------------
   20019 # Create "$as_dir" as a directory, including parents if necessary.
   20020 as_fn_mkdir_p ()
   20021 {
   20022 
   20023   case $as_dir in #(
   20024   -*) as_dir=./$as_dir;;
   20025   esac
   20026   test -d "$as_dir" || eval $as_mkdir_p || {
   20027     as_dirs=
   20028     while :; do
   20029       case $as_dir in #(
   20030       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20031       *) as_qdir=$as_dir;;
   20032       esac
   20033       as_dirs="'$as_qdir' $as_dirs"
   20034       as_dir=`$as_dirname -- "$as_dir" ||
   20035 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20036 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20037 	 X"$as_dir" : 'X\(//\)$' \| \
   20038 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20039 printf "%s\n" X"$as_dir" |
   20040     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20041 	    s//\1/
   20042 	    q
   20043 	  }
   20044 	  /^X\(\/\/\)[^/].*/{
   20045 	    s//\1/
   20046 	    q
   20047 	  }
   20048 	  /^X\(\/\/\)$/{
   20049 	    s//\1/
   20050 	    q
   20051 	  }
   20052 	  /^X\(\/\).*/{
   20053 	    s//\1/
   20054 	    q
   20055 	  }
   20056 	  s/.*/./; q'`
   20057       test -d "$as_dir" && break
   20058     done
   20059     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20060   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20061 
   20062 
   20063 } # as_fn_mkdir_p
   20064 if mkdir -p . 2>/dev/null; then
   20065   as_mkdir_p='mkdir -p "$as_dir"'
   20066 else
   20067   test -d ./-p && rmdir ./-p
   20068   as_mkdir_p=false
   20069 fi
   20070 
   20071 
   20072 # as_fn_executable_p FILE
   20073 # -----------------------
   20074 # Test if FILE is an executable regular file.
   20075 as_fn_executable_p ()
   20076 {
   20077   test -f "$1" && test -x "$1"
   20078 } # as_fn_executable_p
   20079 as_test_x='test -x'
   20080 as_executable_p=as_fn_executable_p
   20081 
   20082 # Sed expression to map a string onto a valid CPP name.
   20083 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20084 
   20085 # Sed expression to map a string onto a valid variable name.
   20086 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20087 
   20088 
   20089 exec 6>&1
   20090 ## ----------------------------------- ##
   20091 ## Main body of $CONFIG_STATUS script. ##
   20092 ## ----------------------------------- ##
   20093 _ASEOF
   20094 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20095 
   20096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20097 # Save the log message, to keep $0 and so on meaningful, and to
   20098 # report actual input values of CONFIG_FILES etc. instead of their
   20099 # values after options handling.
   20100 ac_log="
   20101 This file was extended by libXv $as_me 1.0.12, which was
   20102 generated by GNU Autoconf 2.71.  Invocation command line was
   20103 
   20104   CONFIG_FILES    = $CONFIG_FILES
   20105   CONFIG_HEADERS  = $CONFIG_HEADERS
   20106   CONFIG_LINKS    = $CONFIG_LINKS
   20107   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20108   $ $0 $@
   20109 
   20110 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20111 "
   20112 
   20113 _ACEOF
   20114 
   20115 case $ac_config_files in *"
   20116 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20117 esac
   20118 
   20119 case $ac_config_headers in *"
   20120 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20121 esac
   20122 
   20123 
   20124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20125 # Files that config.status was made for.
   20126 config_files="$ac_config_files"
   20127 config_headers="$ac_config_headers"
   20128 config_commands="$ac_config_commands"
   20129 
   20130 _ACEOF
   20131 
   20132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20133 ac_cs_usage="\
   20134 \`$as_me' instantiates files and other configuration actions
   20135 from templates according to the current configuration.  Unless the files
   20136 and actions are specified as TAGs, all are instantiated by default.
   20137 
   20138 Usage: $0 [OPTION]... [TAG]...
   20139 
   20140   -h, --help       print this help, then exit
   20141   -V, --version    print version number and configuration settings, then exit
   20142       --config     print configuration, then exit
   20143   -q, --quiet, --silent
   20144                    do not print progress messages
   20145   -d, --debug      don't remove temporary files
   20146       --recheck    update $as_me by reconfiguring in the same conditions
   20147       --file=FILE[:TEMPLATE]
   20148                    instantiate the configuration file FILE
   20149       --header=FILE[:TEMPLATE]
   20150                    instantiate the configuration header FILE
   20151 
   20152 Configuration files:
   20153 $config_files
   20154 
   20155 Configuration headers:
   20156 $config_headers
   20157 
   20158 Configuration commands:
   20159 $config_commands
   20160 
   20161 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxv/-/issues>."
   20162 
   20163 _ACEOF
   20164 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20165 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20167 ac_cs_config='$ac_cs_config_escaped'
   20168 ac_cs_version="\\
   20169 libXv config.status 1.0.12
   20170 configured by $0, generated by GNU Autoconf 2.71,
   20171   with options \\"\$ac_cs_config\\"
   20172 
   20173 Copyright (C) 2021 Free Software Foundation, Inc.
   20174 This config.status script is free software; the Free Software Foundation
   20175 gives unlimited permission to copy, distribute and modify it."
   20176 
   20177 ac_pwd='$ac_pwd'
   20178 srcdir='$srcdir'
   20179 INSTALL='$INSTALL'
   20180 MKDIR_P='$MKDIR_P'
   20181 AWK='$AWK'
   20182 test -n "\$AWK" || AWK=awk
   20183 _ACEOF
   20184 
   20185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20186 # The default lists apply if the user does not specify any file.
   20187 ac_need_defaults=:
   20188 while test $# != 0
   20189 do
   20190   case $1 in
   20191   --*=?*)
   20192     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20193     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20194     ac_shift=:
   20195     ;;
   20196   --*=)
   20197     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20198     ac_optarg=
   20199     ac_shift=:
   20200     ;;
   20201   *)
   20202     ac_option=$1
   20203     ac_optarg=$2
   20204     ac_shift=shift
   20205     ;;
   20206   esac
   20207 
   20208   case $ac_option in
   20209   # Handling of the options.
   20210   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20211     ac_cs_recheck=: ;;
   20212   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20213     printf "%s\n" "$ac_cs_version"; exit ;;
   20214   --config | --confi | --conf | --con | --co | --c )
   20215     printf "%s\n" "$ac_cs_config"; exit ;;
   20216   --debug | --debu | --deb | --de | --d | -d )
   20217     debug=: ;;
   20218   --file | --fil | --fi | --f )
   20219     $ac_shift
   20220     case $ac_optarg in
   20221     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20222     '') as_fn_error $? "missing file argument" ;;
   20223     esac
   20224     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20225     ac_need_defaults=false;;
   20226   --header | --heade | --head | --hea )
   20227     $ac_shift
   20228     case $ac_optarg in
   20229     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20230     esac
   20231     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20232     ac_need_defaults=false;;
   20233   --he | --h)
   20234     # Conflict between --help and --header
   20235     as_fn_error $? "ambiguous option: \`$1'
   20236 Try \`$0 --help' for more information.";;
   20237   --help | --hel | -h )
   20238     printf "%s\n" "$ac_cs_usage"; exit ;;
   20239   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20240   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20241     ac_cs_silent=: ;;
   20242 
   20243   # This is an error.
   20244   -*) as_fn_error $? "unrecognized option: \`$1'
   20245 Try \`$0 --help' for more information." ;;
   20246 
   20247   *) as_fn_append ac_config_targets " $1"
   20248      ac_need_defaults=false ;;
   20249 
   20250   esac
   20251   shift
   20252 done
   20253 
   20254 ac_configure_extra_args=
   20255 
   20256 if $ac_cs_silent; then
   20257   exec 6>/dev/null
   20258   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20259 fi
   20260 
   20261 _ACEOF
   20262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20263 if \$ac_cs_recheck; then
   20264   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20265   shift
   20266   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20267   CONFIG_SHELL='$SHELL'
   20268   export CONFIG_SHELL
   20269   exec "\$@"
   20270 fi
   20271 
   20272 _ACEOF
   20273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20274 exec 5>>config.log
   20275 {
   20276   echo
   20277   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20278 ## Running $as_me. ##
   20279 _ASBOX
   20280   printf "%s\n" "$ac_log"
   20281 } >&5
   20282 
   20283 _ACEOF
   20284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20285 #
   20286 # INIT-COMMANDS
   20287 #
   20288 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20289 
   20290 
   20291 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20292 # if CDPATH is set.
   20293 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20294 
   20295 sed_quote_subst='$sed_quote_subst'
   20296 double_quote_subst='$double_quote_subst'
   20297 delay_variable_subst='$delay_variable_subst'
   20298 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20299 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20300 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20301 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20302 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20303 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20304 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20305 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20306 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20307 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20308 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20309 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20310 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20311 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20312 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20313 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20314 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20315 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20316 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20317 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20318 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20319 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20320 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20321 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20322 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20323 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20324 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20325 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20326 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20327 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20328 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20329 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20330 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20331 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20332 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20333 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20334 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20335 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20336 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20337 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20338 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20339 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20340 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20341 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20342 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20343 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20344 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20345 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20346 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20347 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20348 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20349 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20350 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20351 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20352 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20353 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20354 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20355 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20356 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20357 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20358 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"`'
   20359 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20360 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20361 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20362 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20363 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20364 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20365 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20366 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20367 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20368 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20369 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20370 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20371 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20372 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20373 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20374 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20375 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20376 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20377 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20378 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20379 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20380 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20381 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20382 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20383 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20384 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20385 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20386 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20387 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20388 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20389 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20390 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20391 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20392 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20393 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20394 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20395 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20396 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20397 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20398 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20399 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20400 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20401 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20402 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20403 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20404 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20405 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20406 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20407 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20408 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20409 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20410 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20411 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20412 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20413 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20414 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20415 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20416 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20417 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20418 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20419 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20420 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20421 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20422 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20423 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20424 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20425 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20426 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20427 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20428 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20429 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20430 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20431 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20432 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20433 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20434 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20435 
   20436 LTCC='$LTCC'
   20437 LTCFLAGS='$LTCFLAGS'
   20438 compiler='$compiler_DEFAULT'
   20439 
   20440 # A function that is used when there is no print builtin or printf.
   20441 func_fallback_echo ()
   20442 {
   20443   eval 'cat <<_LTECHO_EOF
   20444 \$1
   20445 _LTECHO_EOF'
   20446 }
   20447 
   20448 # Quote evaled strings.
   20449 for var in SHELL \
   20450 ECHO \
   20451 PATH_SEPARATOR \
   20452 SED \
   20453 GREP \
   20454 EGREP \
   20455 FGREP \
   20456 LD \
   20457 NM \
   20458 LN_S \
   20459 lt_SP2NL \
   20460 lt_NL2SP \
   20461 reload_flag \
   20462 FILECMD \
   20463 OBJDUMP \
   20464 deplibs_check_method \
   20465 file_magic_cmd \
   20466 file_magic_glob \
   20467 want_nocaseglob \
   20468 DLLTOOL \
   20469 sharedlib_from_linklib_cmd \
   20470 AR \
   20471 archiver_list_spec \
   20472 STRIP \
   20473 RANLIB \
   20474 CC \
   20475 CFLAGS \
   20476 compiler \
   20477 lt_cv_sys_global_symbol_pipe \
   20478 lt_cv_sys_global_symbol_to_cdecl \
   20479 lt_cv_sys_global_symbol_to_import \
   20480 lt_cv_sys_global_symbol_to_c_name_address \
   20481 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20482 lt_cv_nm_interface \
   20483 nm_file_list_spec \
   20484 lt_cv_truncate_bin \
   20485 lt_prog_compiler_no_builtin_flag \
   20486 lt_prog_compiler_pic \
   20487 lt_prog_compiler_wl \
   20488 lt_prog_compiler_static \
   20489 lt_cv_prog_compiler_c_o \
   20490 need_locks \
   20491 MANIFEST_TOOL \
   20492 DSYMUTIL \
   20493 NMEDIT \
   20494 LIPO \
   20495 OTOOL \
   20496 OTOOL64 \
   20497 shrext_cmds \
   20498 export_dynamic_flag_spec \
   20499 whole_archive_flag_spec \
   20500 compiler_needs_object \
   20501 with_gnu_ld \
   20502 allow_undefined_flag \
   20503 no_undefined_flag \
   20504 hardcode_libdir_flag_spec \
   20505 hardcode_libdir_separator \
   20506 exclude_expsyms \
   20507 include_expsyms \
   20508 file_list_spec \
   20509 variables_saved_for_relink \
   20510 libname_spec \
   20511 library_names_spec \
   20512 soname_spec \
   20513 install_override_mode \
   20514 finish_eval \
   20515 old_striplib \
   20516 striplib; do
   20517     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20518     *[\\\\\\\`\\"\\\$]*)
   20519       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20520       ;;
   20521     *)
   20522       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20523       ;;
   20524     esac
   20525 done
   20526 
   20527 # Double-quote double-evaled strings.
   20528 for var in reload_cmds \
   20529 old_postinstall_cmds \
   20530 old_postuninstall_cmds \
   20531 old_archive_cmds \
   20532 extract_expsyms_cmds \
   20533 old_archive_from_new_cmds \
   20534 old_archive_from_expsyms_cmds \
   20535 archive_cmds \
   20536 archive_expsym_cmds \
   20537 module_cmds \
   20538 module_expsym_cmds \
   20539 export_symbols_cmds \
   20540 prelink_cmds \
   20541 postlink_cmds \
   20542 postinstall_cmds \
   20543 postuninstall_cmds \
   20544 finish_cmds \
   20545 sys_lib_search_path_spec \
   20546 configure_time_dlsearch_path \
   20547 configure_time_lt_sys_library_path; do
   20548     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20549     *[\\\\\\\`\\"\\\$]*)
   20550       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20551       ;;
   20552     *)
   20553       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20554       ;;
   20555     esac
   20556 done
   20557 
   20558 ac_aux_dir='$ac_aux_dir'
   20559 
   20560 # See if we are running on zsh, and set the options that allow our
   20561 # commands through without removal of \ escapes INIT.
   20562 if test -n "\${ZSH_VERSION+set}"; then
   20563    setopt NO_GLOB_SUBST
   20564 fi
   20565 
   20566 
   20567     PACKAGE='$PACKAGE'
   20568     VERSION='$VERSION'
   20569     RM='$RM'
   20570     ofile='$ofile'
   20571 
   20572 
   20573 
   20574 
   20575 _ACEOF
   20576 
   20577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20578 
   20579 # Handling of arguments.
   20580 for ac_config_target in $ac_config_targets
   20581 do
   20582   case $ac_config_target in
   20583     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20584     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20585     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20586     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20587     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   20588     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   20589     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   20590     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20591     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20592     "xv.pc") CONFIG_FILES="$CONFIG_FILES xv.pc" ;;
   20593 
   20594   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20595   esac
   20596 done
   20597 
   20598 
   20599 # If the user did not use the arguments to specify the items to instantiate,
   20600 # then the envvar interface is used.  Set only those that are not.
   20601 # We use the long form for the default assignment because of an extremely
   20602 # bizarre bug on SunOS 4.1.3.
   20603 if $ac_need_defaults; then
   20604   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20605   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20606   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20607 fi
   20608 
   20609 # Have a temporary directory for convenience.  Make it in the build tree
   20610 # simply because there is no reason against having it here, and in addition,
   20611 # creating and moving files from /tmp can sometimes cause problems.
   20612 # Hook for its removal unless debugging.
   20613 # Note that there is a small window in which the directory will not be cleaned:
   20614 # after its creation but before its name has been assigned to `$tmp'.
   20615 $debug ||
   20616 {
   20617   tmp= ac_tmp=
   20618   trap 'exit_status=$?
   20619   : "${ac_tmp:=$tmp}"
   20620   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20621 ' 0
   20622   trap 'as_fn_exit 1' 1 2 13 15
   20623 }
   20624 # Create a (secure) tmp directory for tmp files.
   20625 
   20626 {
   20627   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20628   test -d "$tmp"
   20629 }  ||
   20630 {
   20631   tmp=./conf$$-$RANDOM
   20632   (umask 077 && mkdir "$tmp")
   20633 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20634 ac_tmp=$tmp
   20635 
   20636 # Set up the scripts for CONFIG_FILES section.
   20637 # No need to generate them if there are no CONFIG_FILES.
   20638 # This happens for instance with `./config.status config.h'.
   20639 if test -n "$CONFIG_FILES"; then
   20640 
   20641 
   20642 ac_cr=`echo X | tr X '\015'`
   20643 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20644 # But we know of no other shell where ac_cr would be empty at this
   20645 # point, so we can use a bashism as a fallback.
   20646 if test "x$ac_cr" = x; then
   20647   eval ac_cr=\$\'\\r\'
   20648 fi
   20649 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20650 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20651   ac_cs_awk_cr='\\r'
   20652 else
   20653   ac_cs_awk_cr=$ac_cr
   20654 fi
   20655 
   20656 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20657 _ACEOF
   20658 
   20659 
   20660 {
   20661   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20662   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20663   echo "_ACEOF"
   20664 } >conf$$subs.sh ||
   20665   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20666 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20667 ac_delim='%!_!# '
   20668 for ac_last_try in false false false false false :; do
   20669   . ./conf$$subs.sh ||
   20670     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20671 
   20672   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20673   if test $ac_delim_n = $ac_delim_num; then
   20674     break
   20675   elif $ac_last_try; then
   20676     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20677   else
   20678     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20679   fi
   20680 done
   20681 rm -f conf$$subs.sh
   20682 
   20683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20684 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20685 _ACEOF
   20686 sed -n '
   20687 h
   20688 s/^/S["/; s/!.*/"]=/
   20689 p
   20690 g
   20691 s/^[^!]*!//
   20692 :repl
   20693 t repl
   20694 s/'"$ac_delim"'$//
   20695 t delim
   20696 :nl
   20697 h
   20698 s/\(.\{148\}\)..*/\1/
   20699 t more1
   20700 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20701 p
   20702 n
   20703 b repl
   20704 :more1
   20705 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20706 p
   20707 g
   20708 s/.\{148\}//
   20709 t nl
   20710 :delim
   20711 h
   20712 s/\(.\{148\}\)..*/\1/
   20713 t more2
   20714 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20715 p
   20716 b
   20717 :more2
   20718 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20719 p
   20720 g
   20721 s/.\{148\}//
   20722 t delim
   20723 ' <conf$$subs.awk | sed '
   20724 /^[^""]/{
   20725   N
   20726   s/\n//
   20727 }
   20728 ' >>$CONFIG_STATUS || ac_write_fail=1
   20729 rm -f conf$$subs.awk
   20730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20731 _ACAWK
   20732 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20733   for (key in S) S_is_set[key] = 1
   20734   FS = ""
   20735 
   20736 }
   20737 {
   20738   line = $ 0
   20739   nfields = split(line, field, "@")
   20740   substed = 0
   20741   len = length(field[1])
   20742   for (i = 2; i < nfields; i++) {
   20743     key = field[i]
   20744     keylen = length(key)
   20745     if (S_is_set[key]) {
   20746       value = S[key]
   20747       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20748       len += length(value) + length(field[++i])
   20749       substed = 1
   20750     } else
   20751       len += 1 + keylen
   20752   }
   20753 
   20754   print line
   20755 }
   20756 
   20757 _ACAWK
   20758 _ACEOF
   20759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20760 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20761   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20762 else
   20763   cat
   20764 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20765   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20766 _ACEOF
   20767 
   20768 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20769 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20770 # trailing colons and then remove the whole line if VPATH becomes empty
   20771 # (actually we leave an empty line to preserve line numbers).
   20772 if test "x$srcdir" = x.; then
   20773   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20774 h
   20775 s///
   20776 s/^/:/
   20777 s/[	 ]*$/:/
   20778 s/:\$(srcdir):/:/g
   20779 s/:\${srcdir}:/:/g
   20780 s/:@srcdir@:/:/g
   20781 s/^:*//
   20782 s/:*$//
   20783 x
   20784 s/\(=[	 ]*\).*/\1/
   20785 G
   20786 s/\n//
   20787 s/^[^=]*=[	 ]*$//
   20788 }'
   20789 fi
   20790 
   20791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20792 fi # test -n "$CONFIG_FILES"
   20793 
   20794 # Set up the scripts for CONFIG_HEADERS section.
   20795 # No need to generate them if there are no CONFIG_HEADERS.
   20796 # This happens for instance with `./config.status Makefile'.
   20797 if test -n "$CONFIG_HEADERS"; then
   20798 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20799 BEGIN {
   20800 _ACEOF
   20801 
   20802 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20803 # here-document in config.status, that substitutes the proper values into
   20804 # config.h.in to produce config.h.
   20805 
   20806 # Create a delimiter string that does not exist in confdefs.h, to ease
   20807 # handling of long lines.
   20808 ac_delim='%!_!# '
   20809 for ac_last_try in false false :; do
   20810   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20811   if test -z "$ac_tt"; then
   20812     break
   20813   elif $ac_last_try; then
   20814     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20815   else
   20816     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20817   fi
   20818 done
   20819 
   20820 # For the awk script, D is an array of macro values keyed by name,
   20821 # likewise P contains macro parameters if any.  Preserve backslash
   20822 # newline sequences.
   20823 
   20824 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20825 sed -n '
   20826 s/.\{148\}/&'"$ac_delim"'/g
   20827 t rset
   20828 :rset
   20829 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20830 t def
   20831 d
   20832 :def
   20833 s/\\$//
   20834 t bsnl
   20835 s/["\\]/\\&/g
   20836 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20837 D["\1"]=" \3"/p
   20838 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20839 d
   20840 :bsnl
   20841 s/["\\]/\\&/g
   20842 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20843 D["\1"]=" \3\\\\\\n"\\/p
   20844 t cont
   20845 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20846 t cont
   20847 d
   20848 :cont
   20849 n
   20850 s/.\{148\}/&'"$ac_delim"'/g
   20851 t clear
   20852 :clear
   20853 s/\\$//
   20854 t bsnlc
   20855 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20856 d
   20857 :bsnlc
   20858 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20859 b cont
   20860 ' <confdefs.h | sed '
   20861 s/'"$ac_delim"'/"\\\
   20862 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20863 
   20864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20865   for (key in D) D_is_set[key] = 1
   20866   FS = ""
   20867 }
   20868 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20869   line = \$ 0
   20870   split(line, arg, " ")
   20871   if (arg[1] == "#") {
   20872     defundef = arg[2]
   20873     mac1 = arg[3]
   20874   } else {
   20875     defundef = substr(arg[1], 2)
   20876     mac1 = arg[2]
   20877   }
   20878   split(mac1, mac2, "(") #)
   20879   macro = mac2[1]
   20880   prefix = substr(line, 1, index(line, defundef) - 1)
   20881   if (D_is_set[macro]) {
   20882     # Preserve the white space surrounding the "#".
   20883     print prefix "define", macro P[macro] D[macro]
   20884     next
   20885   } else {
   20886     # Replace #undef with comments.  This is necessary, for example,
   20887     # in the case of _POSIX_SOURCE, which is predefined and required
   20888     # on some systems where configure will not decide to define it.
   20889     if (defundef == "undef") {
   20890       print "/*", prefix defundef, macro, "*/"
   20891       next
   20892     }
   20893   }
   20894 }
   20895 { print }
   20896 _ACAWK
   20897 _ACEOF
   20898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20899   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20900 fi # test -n "$CONFIG_HEADERS"
   20901 
   20902 
   20903 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20904 shift
   20905 for ac_tag
   20906 do
   20907   case $ac_tag in
   20908   :[FHLC]) ac_mode=$ac_tag; continue;;
   20909   esac
   20910   case $ac_mode$ac_tag in
   20911   :[FHL]*:*);;
   20912   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20913   :[FH]-) ac_tag=-:-;;
   20914   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20915   esac
   20916   ac_save_IFS=$IFS
   20917   IFS=:
   20918   set x $ac_tag
   20919   IFS=$ac_save_IFS
   20920   shift
   20921   ac_file=$1
   20922   shift
   20923 
   20924   case $ac_mode in
   20925   :L) ac_source=$1;;
   20926   :[FH])
   20927     ac_file_inputs=
   20928     for ac_f
   20929     do
   20930       case $ac_f in
   20931       -) ac_f="$ac_tmp/stdin";;
   20932       *) # Look for the file first in the build tree, then in the source tree
   20933 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20934 	 # because $ac_f cannot contain `:'.
   20935 	 test -f "$ac_f" ||
   20936 	   case $ac_f in
   20937 	   [\\/$]*) false;;
   20938 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20939 	   esac ||
   20940 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20941       esac
   20942       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20943       as_fn_append ac_file_inputs " '$ac_f'"
   20944     done
   20945 
   20946     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20947     # use $as_me), people would be surprised to read:
   20948     #    /* config.h.  Generated by config.status.  */
   20949     configure_input='Generated from '`
   20950 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20951 	`' by configure.'
   20952     if test x"$ac_file" != x-; then
   20953       configure_input="$ac_file.  $configure_input"
   20954       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20955 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   20956     fi
   20957     # Neutralize special characters interpreted by sed in replacement strings.
   20958     case $configure_input in #(
   20959     *\&* | *\|* | *\\* )
   20960        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   20961        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20962     *) ac_sed_conf_input=$configure_input;;
   20963     esac
   20964 
   20965     case $ac_tag in
   20966     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20967       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20968     esac
   20969     ;;
   20970   esac
   20971 
   20972   ac_dir=`$as_dirname -- "$ac_file" ||
   20973 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20974 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20975 	 X"$ac_file" : 'X\(//\)$' \| \
   20976 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20977 printf "%s\n" X"$ac_file" |
   20978     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20979 	    s//\1/
   20980 	    q
   20981 	  }
   20982 	  /^X\(\/\/\)[^/].*/{
   20983 	    s//\1/
   20984 	    q
   20985 	  }
   20986 	  /^X\(\/\/\)$/{
   20987 	    s//\1/
   20988 	    q
   20989 	  }
   20990 	  /^X\(\/\).*/{
   20991 	    s//\1/
   20992 	    q
   20993 	  }
   20994 	  s/.*/./; q'`
   20995   as_dir="$ac_dir"; as_fn_mkdir_p
   20996   ac_builddir=.
   20997 
   20998 case "$ac_dir" in
   20999 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21000 *)
   21001   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21002   # A ".." for each directory in $ac_dir_suffix.
   21003   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21004   case $ac_top_builddir_sub in
   21005   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21006   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21007   esac ;;
   21008 esac
   21009 ac_abs_top_builddir=$ac_pwd
   21010 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21011 # for backward compatibility:
   21012 ac_top_builddir=$ac_top_build_prefix
   21013 
   21014 case $srcdir in
   21015   .)  # We are building in place.
   21016     ac_srcdir=.
   21017     ac_top_srcdir=$ac_top_builddir_sub
   21018     ac_abs_top_srcdir=$ac_pwd ;;
   21019   [\\/]* | ?:[\\/]* )  # Absolute name.
   21020     ac_srcdir=$srcdir$ac_dir_suffix;
   21021     ac_top_srcdir=$srcdir
   21022     ac_abs_top_srcdir=$srcdir ;;
   21023   *) # Relative name.
   21024     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21025     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21026     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21027 esac
   21028 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21029 
   21030 
   21031   case $ac_mode in
   21032   :F)
   21033   #
   21034   # CONFIG_FILE
   21035   #
   21036 
   21037   case $INSTALL in
   21038   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21039   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21040   esac
   21041   ac_MKDIR_P=$MKDIR_P
   21042   case $MKDIR_P in
   21043   [\\/$]* | ?:[\\/]* ) ;;
   21044   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21045   esac
   21046 _ACEOF
   21047 
   21048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21049 # If the template does not know about datarootdir, expand it.
   21050 # FIXME: This hack should be removed a few years after 2.60.
   21051 ac_datarootdir_hack=; ac_datarootdir_seen=
   21052 ac_sed_dataroot='
   21053 /datarootdir/ {
   21054   p
   21055   q
   21056 }
   21057 /@datadir@/p
   21058 /@docdir@/p
   21059 /@infodir@/p
   21060 /@localedir@/p
   21061 /@mandir@/p'
   21062 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21063 *datarootdir*) ac_datarootdir_seen=yes;;
   21064 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21066 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21067 _ACEOF
   21068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21069   ac_datarootdir_hack='
   21070   s&@datadir@&$datadir&g
   21071   s&@docdir@&$docdir&g
   21072   s&@infodir@&$infodir&g
   21073   s&@localedir@&$localedir&g
   21074   s&@mandir@&$mandir&g
   21075   s&\\\${datarootdir}&$datarootdir&g' ;;
   21076 esac
   21077 _ACEOF
   21078 
   21079 # Neutralize VPATH when `$srcdir' = `.'.
   21080 # Shell code in configure.ac might set extrasub.
   21081 # FIXME: do we really want to maintain this feature?
   21082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21083 ac_sed_extra="$ac_vpsub
   21084 $extrasub
   21085 _ACEOF
   21086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21087 :t
   21088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21089 s|@configure_input@|$ac_sed_conf_input|;t t
   21090 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21091 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21092 s&@srcdir@&$ac_srcdir&;t t
   21093 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21094 s&@top_srcdir@&$ac_top_srcdir&;t t
   21095 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21096 s&@builddir@&$ac_builddir&;t t
   21097 s&@abs_builddir@&$ac_abs_builddir&;t t
   21098 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21099 s&@INSTALL@&$ac_INSTALL&;t t
   21100 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21101 $ac_datarootdir_hack
   21102 "
   21103 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21104   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21105 
   21106 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21107   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21108   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21109       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21111 which seems to be undefined.  Please make sure it is defined" >&5
   21112 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21113 which seems to be undefined.  Please make sure it is defined" >&2;}
   21114 
   21115   rm -f "$ac_tmp/stdin"
   21116   case $ac_file in
   21117   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21118   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21119   esac \
   21120   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21121  ;;
   21122   :H)
   21123   #
   21124   # CONFIG_HEADER
   21125   #
   21126   if test x"$ac_file" != x-; then
   21127     {
   21128       printf "%s\n" "/* $configure_input  */" >&1 \
   21129       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21130     } >"$ac_tmp/config.h" \
   21131       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21132     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21133       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21134 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21135     else
   21136       rm -f "$ac_file"
   21137       mv "$ac_tmp/config.h" "$ac_file" \
   21138 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21139     fi
   21140   else
   21141     printf "%s\n" "/* $configure_input  */" >&1 \
   21142       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21143       || as_fn_error $? "could not create -" "$LINENO" 5
   21144   fi
   21145 # Compute "$ac_file"'s index in $config_headers.
   21146 _am_arg="$ac_file"
   21147 _am_stamp_count=1
   21148 for _am_header in $config_headers :; do
   21149   case $_am_header in
   21150     $_am_arg | $_am_arg:* )
   21151       break ;;
   21152     * )
   21153       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21154   esac
   21155 done
   21156 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21157 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21158 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21159 	 X"$_am_arg" : 'X\(//\)$' \| \
   21160 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21161 printf "%s\n" X"$_am_arg" |
   21162     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21163 	    s//\1/
   21164 	    q
   21165 	  }
   21166 	  /^X\(\/\/\)[^/].*/{
   21167 	    s//\1/
   21168 	    q
   21169 	  }
   21170 	  /^X\(\/\/\)$/{
   21171 	    s//\1/
   21172 	    q
   21173 	  }
   21174 	  /^X\(\/\).*/{
   21175 	    s//\1/
   21176 	    q
   21177 	  }
   21178 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21179  ;;
   21180 
   21181   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21182 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21183  ;;
   21184   esac
   21185 
   21186 
   21187   case $ac_file$ac_mode in
   21188     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21189   # Older Autoconf quotes --file arguments for eval, but not when files
   21190   # are listed without --file.  Let's play safe and only enable the eval
   21191   # if we detect the quoting.
   21192   # TODO: see whether this extra hack can be removed once we start
   21193   # requiring Autoconf 2.70 or later.
   21194   case $CONFIG_FILES in #(
   21195   *\'*) :
   21196     eval set x "$CONFIG_FILES" ;; #(
   21197   *) :
   21198     set x $CONFIG_FILES ;; #(
   21199   *) :
   21200      ;;
   21201 esac
   21202   shift
   21203   # Used to flag and report bootstrapping failures.
   21204   am_rc=0
   21205   for am_mf
   21206   do
   21207     # Strip MF so we end up with the name of the file.
   21208     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21209     # Check whether this is an Automake generated Makefile which includes
   21210     # dependency-tracking related rules and includes.
   21211     # Grep'ing the whole file directly is not great: AIX grep has a line
   21212     # limit of 2048, but all sed's we know have understand at least 4000.
   21213     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21214       || continue
   21215     am_dirpart=`$as_dirname -- "$am_mf" ||
   21216 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21217 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21218 	 X"$am_mf" : 'X\(//\)$' \| \
   21219 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21220 printf "%s\n" X"$am_mf" |
   21221     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21222 	    s//\1/
   21223 	    q
   21224 	  }
   21225 	  /^X\(\/\/\)[^/].*/{
   21226 	    s//\1/
   21227 	    q
   21228 	  }
   21229 	  /^X\(\/\/\)$/{
   21230 	    s//\1/
   21231 	    q
   21232 	  }
   21233 	  /^X\(\/\).*/{
   21234 	    s//\1/
   21235 	    q
   21236 	  }
   21237 	  s/.*/./; q'`
   21238     am_filepart=`$as_basename -- "$am_mf" ||
   21239 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21240 	 X"$am_mf" : 'X\(//\)$' \| \
   21241 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21242 printf "%s\n" X/"$am_mf" |
   21243     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21244 	    s//\1/
   21245 	    q
   21246 	  }
   21247 	  /^X\/\(\/\/\)$/{
   21248 	    s//\1/
   21249 	    q
   21250 	  }
   21251 	  /^X\/\(\/\).*/{
   21252 	    s//\1/
   21253 	    q
   21254 	  }
   21255 	  s/.*/./; q'`
   21256     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21257       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21258         | $MAKE -f - am--depfiles" >&5
   21259    (cd "$am_dirpart" \
   21260       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21261         | $MAKE -f - am--depfiles) >&5 2>&5
   21262    ac_status=$?
   21263    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21264    (exit $ac_status); } || am_rc=$?
   21265   done
   21266   if test $am_rc -ne 0; then
   21267     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21268 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21269 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21270     for automatic dependency tracking.  If GNU make was not used, consider
   21271     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21272     necessary).  You can also try re-running configure with the
   21273     '--disable-dependency-tracking' option to at least be able to build
   21274     the package (albeit without support for automatic dependency tracking).
   21275 See \`config.log' for more details" "$LINENO" 5; }
   21276   fi
   21277   { am_dirpart=; unset am_dirpart;}
   21278   { am_filepart=; unset am_filepart;}
   21279   { am_mf=; unset am_mf;}
   21280   { am_rc=; unset am_rc;}
   21281   rm -f conftest-deps.mk
   21282 }
   21283  ;;
   21284     "libtool":C)
   21285 
   21286     # See if we are running on zsh, and set the options that allow our
   21287     # commands through without removal of \ escapes.
   21288     if test -n "${ZSH_VERSION+set}"; then
   21289       setopt NO_GLOB_SUBST
   21290     fi
   21291 
   21292     cfgfile=${ofile}T
   21293     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21294     $RM "$cfgfile"
   21295 
   21296     cat <<_LT_EOF >> "$cfgfile"
   21297 #! $SHELL
   21298 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21299 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21300 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21301 
   21302 # Provide generalized library-building support services.
   21303 # Written by Gordon Matzigkeit, 1996
   21304 
   21305 # Copyright (C) 2014 Free Software Foundation, Inc.
   21306 # This is free software; see the source for copying conditions.  There is NO
   21307 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21308 
   21309 # GNU Libtool is free software; you can redistribute it and/or modify
   21310 # it under the terms of the GNU General Public License as published by
   21311 # the Free Software Foundation; either version 2 of of the License, or
   21312 # (at your option) any later version.
   21313 #
   21314 # As a special exception to the GNU General Public License, if you
   21315 # distribute this file as part of a program or library that is built
   21316 # using GNU Libtool, you may include this file under the  same
   21317 # distribution terms that you use for the rest of that program.
   21318 #
   21319 # GNU Libtool is distributed in the hope that it will be useful, but
   21320 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21321 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21322 # GNU General Public License for more details.
   21323 #
   21324 # You should have received a copy of the GNU General Public License
   21325 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21326 
   21327 
   21328 # The names of the tagged configurations supported by this script.
   21329 available_tags=''
   21330 
   21331 # Configured defaults for sys_lib_dlsearch_path munging.
   21332 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21333 
   21334 # ### BEGIN LIBTOOL CONFIG
   21335 
   21336 # Which release of libtool.m4 was used?
   21337 macro_version=$macro_version
   21338 macro_revision=$macro_revision
   21339 
   21340 # Whether or not to build shared libraries.
   21341 build_libtool_libs=$enable_shared
   21342 
   21343 # Whether or not to build static libraries.
   21344 build_old_libs=$enable_static
   21345 
   21346 # What type of objects to build.
   21347 pic_mode=$pic_mode
   21348 
   21349 # Whether or not to optimize for fast installation.
   21350 fast_install=$enable_fast_install
   21351 
   21352 # Shared archive member basename,for filename based shared library versioning on AIX.
   21353 shared_archive_member_spec=$shared_archive_member_spec
   21354 
   21355 # Shell to use when invoking shell scripts.
   21356 SHELL=$lt_SHELL
   21357 
   21358 # An echo program that protects backslashes.
   21359 ECHO=$lt_ECHO
   21360 
   21361 # The PATH separator for the build system.
   21362 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21363 
   21364 # The host system.
   21365 host_alias=$host_alias
   21366 host=$host
   21367 host_os=$host_os
   21368 
   21369 # The build system.
   21370 build_alias=$build_alias
   21371 build=$build
   21372 build_os=$build_os
   21373 
   21374 # A sed program that does not truncate output.
   21375 SED=$lt_SED
   21376 
   21377 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21378 Xsed="\$SED -e 1s/^X//"
   21379 
   21380 # A grep program that handles long lines.
   21381 GREP=$lt_GREP
   21382 
   21383 # An ERE matcher.
   21384 EGREP=$lt_EGREP
   21385 
   21386 # A literal string matcher.
   21387 FGREP=$lt_FGREP
   21388 
   21389 # A BSD- or MS-compatible name lister.
   21390 NM=$lt_NM
   21391 
   21392 # Whether we need soft or hard links.
   21393 LN_S=$lt_LN_S
   21394 
   21395 # What is the maximum length of a command?
   21396 max_cmd_len=$max_cmd_len
   21397 
   21398 # Object file suffix (normally "o").
   21399 objext=$ac_objext
   21400 
   21401 # Executable file suffix (normally "").
   21402 exeext=$exeext
   21403 
   21404 # whether the shell understands "unset".
   21405 lt_unset=$lt_unset
   21406 
   21407 # turn spaces into newlines.
   21408 SP2NL=$lt_lt_SP2NL
   21409 
   21410 # turn newlines into spaces.
   21411 NL2SP=$lt_lt_NL2SP
   21412 
   21413 # convert \$build file names to \$host format.
   21414 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21415 
   21416 # convert \$build files to toolchain format.
   21417 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21418 
   21419 # A file(cmd) program that detects file types.
   21420 FILECMD=$lt_FILECMD
   21421 
   21422 # An object symbol dumper.
   21423 OBJDUMP=$lt_OBJDUMP
   21424 
   21425 # Method to check whether dependent libraries are shared objects.
   21426 deplibs_check_method=$lt_deplibs_check_method
   21427 
   21428 # Command to use when deplibs_check_method = "file_magic".
   21429 file_magic_cmd=$lt_file_magic_cmd
   21430 
   21431 # How to find potential files when deplibs_check_method = "file_magic".
   21432 file_magic_glob=$lt_file_magic_glob
   21433 
   21434 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21435 want_nocaseglob=$lt_want_nocaseglob
   21436 
   21437 # DLL creation program.
   21438 DLLTOOL=$lt_DLLTOOL
   21439 
   21440 # Command to associate shared and link libraries.
   21441 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21442 
   21443 # The archiver.
   21444 AR=$lt_AR
   21445 
   21446 # Flags to create an archive (by configure).
   21447 lt_ar_flags=$lt_ar_flags
   21448 
   21449 # Flags to create an archive.
   21450 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21451 
   21452 # How to feed a file listing to the archiver.
   21453 archiver_list_spec=$lt_archiver_list_spec
   21454 
   21455 # A symbol stripping program.
   21456 STRIP=$lt_STRIP
   21457 
   21458 # Commands used to install an old-style archive.
   21459 RANLIB=$lt_RANLIB
   21460 old_postinstall_cmds=$lt_old_postinstall_cmds
   21461 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21462 
   21463 # Whether to use a lock for old archive extraction.
   21464 lock_old_archive_extraction=$lock_old_archive_extraction
   21465 
   21466 # A C compiler.
   21467 LTCC=$lt_CC
   21468 
   21469 # LTCC compiler flags.
   21470 LTCFLAGS=$lt_CFLAGS
   21471 
   21472 # Take the output of nm and produce a listing of raw symbols and C names.
   21473 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21474 
   21475 # Transform the output of nm in a proper C declaration.
   21476 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21477 
   21478 # Transform the output of nm into a list of symbols to manually relocate.
   21479 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21480 
   21481 # Transform the output of nm in a C name address pair.
   21482 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21483 
   21484 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21485 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21486 
   21487 # The name lister interface.
   21488 nm_interface=$lt_lt_cv_nm_interface
   21489 
   21490 # Specify filename containing input files for \$NM.
   21491 nm_file_list_spec=$lt_nm_file_list_spec
   21492 
   21493 # The root where to search for dependent libraries,and where our libraries should be installed.
   21494 lt_sysroot=$lt_sysroot
   21495 
   21496 # Command to truncate a binary pipe.
   21497 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21498 
   21499 # The name of the directory that contains temporary libtool files.
   21500 objdir=$objdir
   21501 
   21502 # Used to examine libraries when file_magic_cmd begins with "file".
   21503 MAGIC_CMD=$MAGIC_CMD
   21504 
   21505 # Must we lock files when doing compilation?
   21506 need_locks=$lt_need_locks
   21507 
   21508 # Manifest tool.
   21509 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21510 
   21511 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21512 DSYMUTIL=$lt_DSYMUTIL
   21513 
   21514 # Tool to change global to local symbols on Mac OS X.
   21515 NMEDIT=$lt_NMEDIT
   21516 
   21517 # Tool to manipulate fat objects and archives on Mac OS X.
   21518 LIPO=$lt_LIPO
   21519 
   21520 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21521 OTOOL=$lt_OTOOL
   21522 
   21523 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21524 OTOOL64=$lt_OTOOL64
   21525 
   21526 # Old archive suffix (normally "a").
   21527 libext=$libext
   21528 
   21529 # Shared library suffix (normally ".so").
   21530 shrext_cmds=$lt_shrext_cmds
   21531 
   21532 # The commands to extract the exported symbol list from a shared archive.
   21533 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21534 
   21535 # Variables whose values should be saved in libtool wrapper scripts and
   21536 # restored at link time.
   21537 variables_saved_for_relink=$lt_variables_saved_for_relink
   21538 
   21539 # Do we need the "lib" prefix for modules?
   21540 need_lib_prefix=$need_lib_prefix
   21541 
   21542 # Do we need a version for libraries?
   21543 need_version=$need_version
   21544 
   21545 # Library versioning type.
   21546 version_type=$version_type
   21547 
   21548 # Shared library runtime path variable.
   21549 runpath_var=$runpath_var
   21550 
   21551 # Shared library path variable.
   21552 shlibpath_var=$shlibpath_var
   21553 
   21554 # Is shlibpath searched before the hard-coded library search path?
   21555 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21556 
   21557 # Format of library name prefix.
   21558 libname_spec=$lt_libname_spec
   21559 
   21560 # List of archive names.  First name is the real one, the rest are links.
   21561 # The last name is the one that the linker finds with -lNAME
   21562 library_names_spec=$lt_library_names_spec
   21563 
   21564 # The coded name of the library, if different from the real name.
   21565 soname_spec=$lt_soname_spec
   21566 
   21567 # Permission mode override for installation of shared libraries.
   21568 install_override_mode=$lt_install_override_mode
   21569 
   21570 # Command to use after installation of a shared archive.
   21571 postinstall_cmds=$lt_postinstall_cmds
   21572 
   21573 # Command to use after uninstallation of a shared archive.
   21574 postuninstall_cmds=$lt_postuninstall_cmds
   21575 
   21576 # Commands used to finish a libtool library installation in a directory.
   21577 finish_cmds=$lt_finish_cmds
   21578 
   21579 # As "finish_cmds", except a single script fragment to be evaled but
   21580 # not shown.
   21581 finish_eval=$lt_finish_eval
   21582 
   21583 # Whether we should hardcode library paths into libraries.
   21584 hardcode_into_libs=$hardcode_into_libs
   21585 
   21586 # Compile-time system search path for libraries.
   21587 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21588 
   21589 # Detected run-time system search path for libraries.
   21590 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21591 
   21592 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21593 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21594 
   21595 # Whether dlopen is supported.
   21596 dlopen_support=$enable_dlopen
   21597 
   21598 # Whether dlopen of programs is supported.
   21599 dlopen_self=$enable_dlopen_self
   21600 
   21601 # Whether dlopen of statically linked programs is supported.
   21602 dlopen_self_static=$enable_dlopen_self_static
   21603 
   21604 # Commands to strip libraries.
   21605 old_striplib=$lt_old_striplib
   21606 striplib=$lt_striplib
   21607 
   21608 
   21609 # The linker used to build libraries.
   21610 LD=$lt_LD
   21611 
   21612 # How to create reloadable object files.
   21613 reload_flag=$lt_reload_flag
   21614 reload_cmds=$lt_reload_cmds
   21615 
   21616 # Commands used to build an old-style archive.
   21617 old_archive_cmds=$lt_old_archive_cmds
   21618 
   21619 # A language specific compiler.
   21620 CC=$lt_compiler
   21621 
   21622 # Is the compiler the GNU compiler?
   21623 with_gcc=$GCC
   21624 
   21625 # Compiler flag to turn off builtin functions.
   21626 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21627 
   21628 # Additional compiler flags for building library objects.
   21629 pic_flag=$lt_lt_prog_compiler_pic
   21630 
   21631 # How to pass a linker flag through the compiler.
   21632 wl=$lt_lt_prog_compiler_wl
   21633 
   21634 # Compiler flag to prevent dynamic linking.
   21635 link_static_flag=$lt_lt_prog_compiler_static
   21636 
   21637 # Does compiler simultaneously support -c and -o options?
   21638 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21639 
   21640 # Whether or not to add -lc for building shared libraries.
   21641 build_libtool_need_lc=$archive_cmds_need_lc
   21642 
   21643 # Whether or not to disallow shared libs when runtime libs are static.
   21644 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21645 
   21646 # Compiler flag to allow reflexive dlopens.
   21647 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21648 
   21649 # Compiler flag to generate shared objects directly from archives.
   21650 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21651 
   21652 # Whether the compiler copes with passing no objects directly.
   21653 compiler_needs_object=$lt_compiler_needs_object
   21654 
   21655 # Create an old-style archive from a shared archive.
   21656 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21657 
   21658 # Create a temporary old-style archive to link instead of a shared archive.
   21659 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21660 
   21661 # Commands used to build a shared archive.
   21662 archive_cmds=$lt_archive_cmds
   21663 archive_expsym_cmds=$lt_archive_expsym_cmds
   21664 
   21665 # Commands used to build a loadable module if different from building
   21666 # a shared archive.
   21667 module_cmds=$lt_module_cmds
   21668 module_expsym_cmds=$lt_module_expsym_cmds
   21669 
   21670 # Whether we are building with GNU ld or not.
   21671 with_gnu_ld=$lt_with_gnu_ld
   21672 
   21673 # Flag that allows shared libraries with undefined symbols to be built.
   21674 allow_undefined_flag=$lt_allow_undefined_flag
   21675 
   21676 # Flag that enforces no undefined symbols.
   21677 no_undefined_flag=$lt_no_undefined_flag
   21678 
   21679 # Flag to hardcode \$libdir into a binary during linking.
   21680 # This must work even if \$libdir does not exist
   21681 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21682 
   21683 # Whether we need a single "-rpath" flag with a separated argument.
   21684 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21685 
   21686 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21687 # DIR into the resulting binary.
   21688 hardcode_direct=$hardcode_direct
   21689 
   21690 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21691 # DIR into the resulting binary and the resulting library dependency is
   21692 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21693 # library is relocated.
   21694 hardcode_direct_absolute=$hardcode_direct_absolute
   21695 
   21696 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21697 # into the resulting binary.
   21698 hardcode_minus_L=$hardcode_minus_L
   21699 
   21700 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21701 # into the resulting binary.
   21702 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21703 
   21704 # Set to "yes" if building a shared library automatically hardcodes DIR
   21705 # into the library and all subsequent libraries and executables linked
   21706 # against it.
   21707 hardcode_automatic=$hardcode_automatic
   21708 
   21709 # Set to yes if linker adds runtime paths of dependent libraries
   21710 # to runtime path list.
   21711 inherit_rpath=$inherit_rpath
   21712 
   21713 # Whether libtool must link a program against all its dependency libraries.
   21714 link_all_deplibs=$link_all_deplibs
   21715 
   21716 # Set to "yes" if exported symbols are required.
   21717 always_export_symbols=$always_export_symbols
   21718 
   21719 # The commands to list exported symbols.
   21720 export_symbols_cmds=$lt_export_symbols_cmds
   21721 
   21722 # Symbols that should not be listed in the preloaded symbols.
   21723 exclude_expsyms=$lt_exclude_expsyms
   21724 
   21725 # Symbols that must always be exported.
   21726 include_expsyms=$lt_include_expsyms
   21727 
   21728 # Commands necessary for linking programs (against libraries) with templates.
   21729 prelink_cmds=$lt_prelink_cmds
   21730 
   21731 # Commands necessary for finishing linking programs.
   21732 postlink_cmds=$lt_postlink_cmds
   21733 
   21734 # Specify filename containing input files.
   21735 file_list_spec=$lt_file_list_spec
   21736 
   21737 # How to hardcode a shared library path into an executable.
   21738 hardcode_action=$hardcode_action
   21739 
   21740 # ### END LIBTOOL CONFIG
   21741 
   21742 _LT_EOF
   21743 
   21744     cat <<'_LT_EOF' >> "$cfgfile"
   21745 
   21746 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21747 
   21748 # func_munge_path_list VARIABLE PATH
   21749 # -----------------------------------
   21750 # VARIABLE is name of variable containing _space_ separated list of
   21751 # directories to be munged by the contents of PATH, which is string
   21752 # having a format:
   21753 # "DIR[:DIR]:"
   21754 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21755 # ":DIR[:DIR]"
   21756 #       string "DIR[ DIR]" will be appended to VARIABLE
   21757 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21758 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21759 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21760 # "DIR[:DIR]"
   21761 #       VARIABLE will be replaced by "DIR[ DIR]"
   21762 func_munge_path_list ()
   21763 {
   21764     case x$2 in
   21765     x)
   21766         ;;
   21767     *:)
   21768         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21769         ;;
   21770     x:*)
   21771         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21772         ;;
   21773     *::*)
   21774         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21775         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21776         ;;
   21777     *)
   21778         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21779         ;;
   21780     esac
   21781 }
   21782 
   21783 
   21784 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21785 func_cc_basename ()
   21786 {
   21787     for cc_temp in $*""; do
   21788       case $cc_temp in
   21789         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21790         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21791         \-*) ;;
   21792         *) break;;
   21793       esac
   21794     done
   21795     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21796 }
   21797 
   21798 
   21799 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21800 
   21801 _LT_EOF
   21802 
   21803   case $host_os in
   21804   aix3*)
   21805     cat <<\_LT_EOF >> "$cfgfile"
   21806 # AIX sometimes has problems with the GCC collect2 program.  For some
   21807 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21808 # vanish in a puff of smoke.
   21809 if test set != "${COLLECT_NAMES+set}"; then
   21810   COLLECT_NAMES=
   21811   export COLLECT_NAMES
   21812 fi
   21813 _LT_EOF
   21814     ;;
   21815   esac
   21816 
   21817 
   21818 
   21819 ltmain=$ac_aux_dir/ltmain.sh
   21820 
   21821 
   21822   # We use sed instead of cat because bash on DJGPP gets confused if
   21823   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21824   # text mode, it properly converts lines to CR/LF.  This bash problem
   21825   # is reportedly fixed, but why not run on old versions too?
   21826   $SED '$q' "$ltmain" >> "$cfgfile" \
   21827      || (rm -f "$cfgfile"; exit 1)
   21828 
   21829    mv -f "$cfgfile" "$ofile" ||
   21830     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21831   chmod +x "$ofile"
   21832 
   21833  ;;
   21834 
   21835   esac
   21836 done # for ac_tag
   21837 
   21838 
   21839 as_fn_exit 0
   21840 _ACEOF
   21841 ac_clean_files=$ac_clean_files_save
   21842 
   21843 test $ac_write_fail = 0 ||
   21844   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21845 
   21846 
   21847 # configure is writing to config.log, and then calls config.status.
   21848 # config.status does its own redirection, appending to config.log.
   21849 # Unfortunately, on DOS this fails, as config.log is still kept open
   21850 # by configure, so config.status won't be able to write to it; its
   21851 # output is simply discarded.  So we exec the FD to /dev/null,
   21852 # effectively closing config.log, so it can be properly (re)opened and
   21853 # appended to by config.status.  When coming back to configure, we
   21854 # need to make the FD available again.
   21855 if test "$no_create" != yes; then
   21856   ac_cs_success=:
   21857   ac_config_status_args=
   21858   test "$silent" = yes &&
   21859     ac_config_status_args="$ac_config_status_args --quiet"
   21860   exec 5>/dev/null
   21861   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21862   exec 5>>config.log
   21863   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21864   # would make configure fail if this is the last instruction.
   21865   $ac_cs_success || as_fn_exit 1
   21866 fi
   21867 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21869 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21870 fi
   21871 
   21872 
   21873