Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXvMC 1.0.13.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXvMC/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/libXvMC/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='libXvMC'
    624 PACKAGE_TARNAME='libXvMC'
    625 PACKAGE_VERSION='1.0.13'
    626 PACKAGE_STRING='libXvMC 1.0.13'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXvMC/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 LINT_FALSE
    668 LINT_TRUE
    669 LINT_FLAGS
    670 LINT
    671 DLOPEN_LIBS
    672 XVMC_LIBS
    673 XVMC_CFLAGS
    674 XTMALLOC_ZERO_CFLAGS
    675 XMALLOC_ZERO_CFLAGS
    676 MALLOC_ZERO_CFLAGS
    677 MAN_SUBSTS
    678 XORG_MAN_PAGE
    679 ADMIN_MAN_DIR
    680 DRIVER_MAN_DIR
    681 MISC_MAN_DIR
    682 FILE_MAN_DIR
    683 LIB_MAN_DIR
    684 APP_MAN_DIR
    685 ADMIN_MAN_SUFFIX
    686 DRIVER_MAN_SUFFIX
    687 MISC_MAN_SUFFIX
    688 FILE_MAN_SUFFIX
    689 LIB_MAN_SUFFIX
    690 APP_MAN_SUFFIX
    691 INSTALL_CMD
    692 PKG_CONFIG_LIBDIR
    693 PKG_CONFIG_PATH
    694 PKG_CONFIG
    695 CHANGELOG_CMD
    696 STRICT_CFLAGS
    697 CWARNFLAGS
    698 BASE_CFLAGS
    699 LT_SYS_LIBRARY_PATH
    700 OTOOL64
    701 OTOOL
    702 LIPO
    703 NMEDIT
    704 DSYMUTIL
    705 MANIFEST_TOOL
    706 RANLIB
    707 ac_ct_AR
    708 AR
    709 DLLTOOL
    710 OBJDUMP
    711 LN_S
    712 NM
    713 ac_ct_DUMPBIN
    714 DUMPBIN
    715 LD
    716 FGREP
    717 EGREP
    718 GREP
    719 SED
    720 am__fastdepCC_FALSE
    721 am__fastdepCC_TRUE
    722 CCDEPMODE
    723 am__nodep
    724 AMDEPBACKSLASH
    725 AMDEP_FALSE
    726 AMDEP_TRUE
    727 am__include
    728 DEPDIR
    729 OBJEXT
    730 EXEEXT
    731 ac_ct_CC
    732 CPPFLAGS
    733 LDFLAGS
    734 CFLAGS
    735 CC
    736 host_os
    737 host_vendor
    738 host_cpu
    739 host
    740 build_os
    741 build_vendor
    742 build_cpu
    743 build
    744 LIBTOOL
    745 AM_BACKSLASH
    746 AM_DEFAULT_VERBOSITY
    747 AM_DEFAULT_V
    748 AM_V
    749 CSCOPE
    750 ETAGS
    751 CTAGS
    752 am__untar
    753 am__tar
    754 AMTAR
    755 am__leading_dot
    756 SET_MAKE
    757 AWK
    758 mkdir_p
    759 MKDIR_P
    760 INSTALL_STRIP_PROGRAM
    761 STRIP
    762 install_sh
    763 MAKEINFO
    764 AUTOHEADER
    765 AUTOMAKE
    766 AUTOCONF
    767 ACLOCAL
    768 VERSION
    769 PACKAGE
    770 CYGPATH_W
    771 am__isrc
    772 INSTALL_DATA
    773 INSTALL_SCRIPT
    774 INSTALL_PROGRAM
    775 target_alias
    776 host_alias
    777 build_alias
    778 LIBS
    779 ECHO_T
    780 ECHO_N
    781 ECHO_C
    782 DEFS
    783 mandir
    784 localedir
    785 libdir
    786 psdir
    787 pdfdir
    788 dvidir
    789 htmldir
    790 infodir
    791 docdir
    792 oldincludedir
    793 includedir
    794 runstatedir
    795 localstatedir
    796 sharedstatedir
    797 sysconfdir
    798 datadir
    799 datarootdir
    800 libexecdir
    801 sbindir
    802 bindir
    803 program_transform_name
    804 prefix
    805 exec_prefix
    806 PACKAGE_URL
    807 PACKAGE_BUGREPORT
    808 PACKAGE_STRING
    809 PACKAGE_VERSION
    810 PACKAGE_TARNAME
    811 PACKAGE_NAME
    812 PATH_SEPARATOR
    813 SHELL
    814 am__quote'
    815 ac_subst_files=''
    816 ac_user_opts='
    817 enable_option_checking
    818 enable_silent_rules
    819 enable_shared
    820 enable_static
    821 with_pic
    822 enable_fast_install
    823 with_aix_soname
    824 enable_dependency_tracking
    825 with_gnu_ld
    826 with_sysroot
    827 enable_libtool_lock
    828 enable_selective_werror
    829 enable_strict_compilation
    830 enable_malloc0returnsnull
    831 with_lint
    832 '
    833       ac_precious_vars='build_alias
    834 host_alias
    835 target_alias
    836 CC
    837 CFLAGS
    838 LDFLAGS
    839 LIBS
    840 CPPFLAGS
    841 LT_SYS_LIBRARY_PATH
    842 PKG_CONFIG
    843 PKG_CONFIG_PATH
    844 PKG_CONFIG_LIBDIR
    845 XVMC_CFLAGS
    846 XVMC_LIBS
    847 LINT
    848 LINT_FLAGS'
    849 
    850 
    851 # Initialize some variables set by options.
    852 ac_init_help=
    853 ac_init_version=false
    854 ac_unrecognized_opts=
    855 ac_unrecognized_sep=
    856 # The variables have the same names as the options, with
    857 # dashes changed to underlines.
    858 cache_file=/dev/null
    859 exec_prefix=NONE
    860 no_create=
    861 no_recursion=
    862 prefix=NONE
    863 program_prefix=NONE
    864 program_suffix=NONE
    865 program_transform_name=s,x,x,
    866 silent=
    867 site=
    868 srcdir=
    869 verbose=
    870 x_includes=NONE
    871 x_libraries=NONE
    872 
    873 # Installation directory options.
    874 # These are left unexpanded so users can "make install exec_prefix=/foo"
    875 # and all the variables that are supposed to be based on exec_prefix
    876 # by default will actually change.
    877 # Use braces instead of parens because sh, perl, etc. also accept them.
    878 # (The list follows the same order as the GNU Coding Standards.)
    879 bindir='${exec_prefix}/bin'
    880 sbindir='${exec_prefix}/sbin'
    881 libexecdir='${exec_prefix}/libexec'
    882 datarootdir='${prefix}/share'
    883 datadir='${datarootdir}'
    884 sysconfdir='${prefix}/etc'
    885 sharedstatedir='${prefix}/com'
    886 localstatedir='${prefix}/var'
    887 runstatedir='${localstatedir}/run'
    888 includedir='${prefix}/include'
    889 oldincludedir='/usr/include'
    890 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    891 infodir='${datarootdir}/info'
    892 htmldir='${docdir}'
    893 dvidir='${docdir}'
    894 pdfdir='${docdir}'
    895 psdir='${docdir}'
    896 libdir='${exec_prefix}/lib'
    897 localedir='${datarootdir}/locale'
    898 mandir='${datarootdir}/man'
    899 
    900 ac_prev=
    901 ac_dashdash=
    902 for ac_option
    903 do
    904   # If the previous option needs an argument, assign it.
    905   if test -n "$ac_prev"; then
    906     eval $ac_prev=\$ac_option
    907     ac_prev=
    908     continue
    909   fi
    910 
    911   case $ac_option in
    912   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    913   *=)   ac_optarg= ;;
    914   *)    ac_optarg=yes ;;
    915   esac
    916 
    917   case $ac_dashdash$ac_option in
    918   --)
    919     ac_dashdash=yes ;;
    920 
    921   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    922     ac_prev=bindir ;;
    923   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    924     bindir=$ac_optarg ;;
    925 
    926   -build | --build | --buil | --bui | --bu)
    927     ac_prev=build_alias ;;
    928   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    929     build_alias=$ac_optarg ;;
    930 
    931   -cache-file | --cache-file | --cache-fil | --cache-fi \
    932   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    933     ac_prev=cache_file ;;
    934   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    935   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    936     cache_file=$ac_optarg ;;
    937 
    938   --config-cache | -C)
    939     cache_file=config.cache ;;
    940 
    941   -datadir | --datadir | --datadi | --datad)
    942     ac_prev=datadir ;;
    943   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    944     datadir=$ac_optarg ;;
    945 
    946   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    947   | --dataroo | --dataro | --datar)
    948     ac_prev=datarootdir ;;
    949   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    950   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    951     datarootdir=$ac_optarg ;;
    952 
    953   -disable-* | --disable-*)
    954     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    955     # Reject names that are not valid shell variable names.
    956     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    957       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    958     ac_useropt_orig=$ac_useropt
    959     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    960     case $ac_user_opts in
    961       *"
    962 "enable_$ac_useropt"
    963 "*) ;;
    964       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    965 	 ac_unrecognized_sep=', ';;
    966     esac
    967     eval enable_$ac_useropt=no ;;
    968 
    969   -docdir | --docdir | --docdi | --doc | --do)
    970     ac_prev=docdir ;;
    971   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    972     docdir=$ac_optarg ;;
    973 
    974   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    975     ac_prev=dvidir ;;
    976   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    977     dvidir=$ac_optarg ;;
    978 
    979   -enable-* | --enable-*)
    980     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    981     # Reject names that are not valid shell variable names.
    982     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    983       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    984     ac_useropt_orig=$ac_useropt
    985     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    986     case $ac_user_opts in
    987       *"
    988 "enable_$ac_useropt"
    989 "*) ;;
    990       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    991 	 ac_unrecognized_sep=', ';;
    992     esac
    993     eval enable_$ac_useropt=\$ac_optarg ;;
    994 
    995   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    996   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    997   | --exec | --exe | --ex)
    998     ac_prev=exec_prefix ;;
    999   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1000   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1001   | --exec=* | --exe=* | --ex=*)
   1002     exec_prefix=$ac_optarg ;;
   1003 
   1004   -gas | --gas | --ga | --g)
   1005     # Obsolete; use --with-gas.
   1006     with_gas=yes ;;
   1007 
   1008   -help | --help | --hel | --he | -h)
   1009     ac_init_help=long ;;
   1010   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1011     ac_init_help=recursive ;;
   1012   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1013     ac_init_help=short ;;
   1014 
   1015   -host | --host | --hos | --ho)
   1016     ac_prev=host_alias ;;
   1017   -host=* | --host=* | --hos=* | --ho=*)
   1018     host_alias=$ac_optarg ;;
   1019 
   1020   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1021     ac_prev=htmldir ;;
   1022   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1023   | --ht=*)
   1024     htmldir=$ac_optarg ;;
   1025 
   1026   -includedir | --includedir | --includedi | --included | --include \
   1027   | --includ | --inclu | --incl | --inc)
   1028     ac_prev=includedir ;;
   1029   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1030   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1031     includedir=$ac_optarg ;;
   1032 
   1033   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1034     ac_prev=infodir ;;
   1035   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1036     infodir=$ac_optarg ;;
   1037 
   1038   -libdir | --libdir | --libdi | --libd)
   1039     ac_prev=libdir ;;
   1040   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1041     libdir=$ac_optarg ;;
   1042 
   1043   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1044   | --libexe | --libex | --libe)
   1045     ac_prev=libexecdir ;;
   1046   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1047   | --libexe=* | --libex=* | --libe=*)
   1048     libexecdir=$ac_optarg ;;
   1049 
   1050   -localedir | --localedir | --localedi | --localed | --locale)
   1051     ac_prev=localedir ;;
   1052   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1053     localedir=$ac_optarg ;;
   1054 
   1055   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1056   | --localstate | --localstat | --localsta | --localst | --locals)
   1057     ac_prev=localstatedir ;;
   1058   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1059   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1060     localstatedir=$ac_optarg ;;
   1061 
   1062   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1063     ac_prev=mandir ;;
   1064   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1065     mandir=$ac_optarg ;;
   1066 
   1067   -nfp | --nfp | --nf)
   1068     # Obsolete; use --without-fp.
   1069     with_fp=no ;;
   1070 
   1071   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1072   | --no-cr | --no-c | -n)
   1073     no_create=yes ;;
   1074 
   1075   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1076   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1077     no_recursion=yes ;;
   1078 
   1079   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1080   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1081   | --oldin | --oldi | --old | --ol | --o)
   1082     ac_prev=oldincludedir ;;
   1083   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1084   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1085   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1086     oldincludedir=$ac_optarg ;;
   1087 
   1088   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1089     ac_prev=prefix ;;
   1090   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1091     prefix=$ac_optarg ;;
   1092 
   1093   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1094   | --program-pre | --program-pr | --program-p)
   1095     ac_prev=program_prefix ;;
   1096   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1097   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1098     program_prefix=$ac_optarg ;;
   1099 
   1100   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1101   | --program-suf | --program-su | --program-s)
   1102     ac_prev=program_suffix ;;
   1103   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1104   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1105     program_suffix=$ac_optarg ;;
   1106 
   1107   -program-transform-name | --program-transform-name \
   1108   | --program-transform-nam | --program-transform-na \
   1109   | --program-transform-n | --program-transform- \
   1110   | --program-transform | --program-transfor \
   1111   | --program-transfo | --program-transf \
   1112   | --program-trans | --program-tran \
   1113   | --progr-tra | --program-tr | --program-t)
   1114     ac_prev=program_transform_name ;;
   1115   -program-transform-name=* | --program-transform-name=* \
   1116   | --program-transform-nam=* | --program-transform-na=* \
   1117   | --program-transform-n=* | --program-transform-=* \
   1118   | --program-transform=* | --program-transfor=* \
   1119   | --program-transfo=* | --program-transf=* \
   1120   | --program-trans=* | --program-tran=* \
   1121   | --progr-tra=* | --program-tr=* | --program-t=*)
   1122     program_transform_name=$ac_optarg ;;
   1123 
   1124   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1125     ac_prev=pdfdir ;;
   1126   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1127     pdfdir=$ac_optarg ;;
   1128 
   1129   -psdir | --psdir | --psdi | --psd | --ps)
   1130     ac_prev=psdir ;;
   1131   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1132     psdir=$ac_optarg ;;
   1133 
   1134   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1135   | -silent | --silent | --silen | --sile | --sil)
   1136     silent=yes ;;
   1137 
   1138   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1139   | --runstate | --runstat | --runsta | --runst | --runs \
   1140   | --run | --ru | --r)
   1141     ac_prev=runstatedir ;;
   1142   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1143   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1144   | --run=* | --ru=* | --r=*)
   1145     runstatedir=$ac_optarg ;;
   1146 
   1147   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1148     ac_prev=sbindir ;;
   1149   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1150   | --sbi=* | --sb=*)
   1151     sbindir=$ac_optarg ;;
   1152 
   1153   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1154   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1155   | --sharedst | --shareds | --shared | --share | --shar \
   1156   | --sha | --sh)
   1157     ac_prev=sharedstatedir ;;
   1158   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1159   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1160   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1161   | --sha=* | --sh=*)
   1162     sharedstatedir=$ac_optarg ;;
   1163 
   1164   -site | --site | --sit)
   1165     ac_prev=site ;;
   1166   -site=* | --site=* | --sit=*)
   1167     site=$ac_optarg ;;
   1168 
   1169   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1170     ac_prev=srcdir ;;
   1171   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1172     srcdir=$ac_optarg ;;
   1173 
   1174   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1175   | --syscon | --sysco | --sysc | --sys | --sy)
   1176     ac_prev=sysconfdir ;;
   1177   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1178   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1179     sysconfdir=$ac_optarg ;;
   1180 
   1181   -target | --target | --targe | --targ | --tar | --ta | --t)
   1182     ac_prev=target_alias ;;
   1183   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1184     target_alias=$ac_optarg ;;
   1185 
   1186   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1187     verbose=yes ;;
   1188 
   1189   -version | --version | --versio | --versi | --vers | -V)
   1190     ac_init_version=: ;;
   1191 
   1192   -with-* | --with-*)
   1193     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1194     # Reject names that are not valid shell variable names.
   1195     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1196       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1197     ac_useropt_orig=$ac_useropt
   1198     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1199     case $ac_user_opts in
   1200       *"
   1201 "with_$ac_useropt"
   1202 "*) ;;
   1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1204 	 ac_unrecognized_sep=', ';;
   1205     esac
   1206     eval with_$ac_useropt=\$ac_optarg ;;
   1207 
   1208   -without-* | --without-*)
   1209     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1210     # Reject names that are not valid shell variable names.
   1211     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1212       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1213     ac_useropt_orig=$ac_useropt
   1214     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1215     case $ac_user_opts in
   1216       *"
   1217 "with_$ac_useropt"
   1218 "*) ;;
   1219       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1220 	 ac_unrecognized_sep=', ';;
   1221     esac
   1222     eval with_$ac_useropt=no ;;
   1223 
   1224   --x)
   1225     # Obsolete; use --with-x.
   1226     with_x=yes ;;
   1227 
   1228   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1229   | --x-incl | --x-inc | --x-in | --x-i)
   1230     ac_prev=x_includes ;;
   1231   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1232   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1233     x_includes=$ac_optarg ;;
   1234 
   1235   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1236   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1237     ac_prev=x_libraries ;;
   1238   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1239   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1240     x_libraries=$ac_optarg ;;
   1241 
   1242   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1243 Try \`$0 --help' for more information"
   1244     ;;
   1245 
   1246   *=*)
   1247     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1248     # Reject names that are not valid shell variable names.
   1249     case $ac_envvar in #(
   1250       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1251       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1252     esac
   1253     eval $ac_envvar=\$ac_optarg
   1254     export $ac_envvar ;;
   1255 
   1256   *)
   1257     # FIXME: should be removed in autoconf 3.0.
   1258     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1259     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1260       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1261     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1262     ;;
   1263 
   1264   esac
   1265 done
   1266 
   1267 if test -n "$ac_prev"; then
   1268   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1269   as_fn_error $? "missing argument to $ac_option"
   1270 fi
   1271 
   1272 if test -n "$ac_unrecognized_opts"; then
   1273   case $enable_option_checking in
   1274     no) ;;
   1275     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1276     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1277   esac
   1278 fi
   1279 
   1280 # Check all directory arguments for consistency.
   1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1284 		libdir localedir mandir runstatedir
   1285 do
   1286   eval ac_val=\$$ac_var
   1287   # Remove trailing slashes.
   1288   case $ac_val in
   1289     */ )
   1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1291       eval $ac_var=\$ac_val;;
   1292   esac
   1293   # Be sure to have absolute directory names.
   1294   case $ac_val in
   1295     [\\/$]* | ?:[\\/]* )  continue;;
   1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1297   esac
   1298   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1299 done
   1300 
   1301 # There might be people who depend on the old broken behavior: `$host'
   1302 # used to hold the argument of --host etc.
   1303 # FIXME: To remove some day.
   1304 build=$build_alias
   1305 host=$host_alias
   1306 target=$target_alias
   1307 
   1308 # FIXME: To remove some day.
   1309 if test "x$host_alias" != x; then
   1310   if test "x$build_alias" = x; then
   1311     cross_compiling=maybe
   1312   elif test "x$build_alias" != "x$host_alias"; then
   1313     cross_compiling=yes
   1314   fi
   1315 fi
   1316 
   1317 ac_tool_prefix=
   1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1319 
   1320 test "$silent" = yes && exec 6>/dev/null
   1321 
   1322 
   1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1324 ac_ls_di=`ls -di .` &&
   1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1326   as_fn_error $? "working directory cannot be determined"
   1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1328   as_fn_error $? "pwd does not report name of working directory"
   1329 
   1330 
   1331 # Find the source files, if location was not specified.
   1332 if test -z "$srcdir"; then
   1333   ac_srcdir_defaulted=yes
   1334   # Try the directory containing this script, then the parent directory.
   1335   ac_confdir=`$as_dirname -- "$as_myself" ||
   1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1337 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1338 	 X"$as_myself" : 'X\(//\)$' \| \
   1339 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1340 printf "%s\n" X"$as_myself" |
   1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)[^/].*/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\/\)$/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  /^X\(\/\).*/{
   1354 	    s//\1/
   1355 	    q
   1356 	  }
   1357 	  s/.*/./; q'`
   1358   srcdir=$ac_confdir
   1359   if test ! -r "$srcdir/$ac_unique_file"; then
   1360     srcdir=..
   1361   fi
   1362 else
   1363   ac_srcdir_defaulted=no
   1364 fi
   1365 if test ! -r "$srcdir/$ac_unique_file"; then
   1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1367   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1368 fi
   1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1370 ac_abs_confdir=`(
   1371 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1372 	pwd)`
   1373 # When building in place, set srcdir=.
   1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1375   srcdir=.
   1376 fi
   1377 # Remove unnecessary trailing slashes from srcdir.
   1378 # Double slashes in file names in object file debugging info
   1379 # mess up M-x gdb in Emacs.
   1380 case $srcdir in
   1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1382 esac
   1383 for ac_var in $ac_precious_vars; do
   1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1385   eval ac_env_${ac_var}_value=\$${ac_var}
   1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1388 done
   1389 
   1390 #
   1391 # Report the --help message.
   1392 #
   1393 if test "$ac_init_help" = "long"; then
   1394   # Omit some internal or obsolete options to make the list less imposing.
   1395   # This message is too long to be a string in the A/UX 3.1 sh.
   1396   cat <<_ACEOF
   1397 \`configure' configures libXvMC 1.0.13 to adapt to many kinds of systems.
   1398 
   1399 Usage: $0 [OPTION]... [VAR=VALUE]...
   1400 
   1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1403 
   1404 Defaults for the options are specified in brackets.
   1405 
   1406 Configuration:
   1407   -h, --help              display this help and exit
   1408       --help=short        display options specific to this package
   1409       --help=recursive    display the short help of all the included packages
   1410   -V, --version           display version information and exit
   1411   -q, --quiet, --silent   do not print \`checking ...' messages
   1412       --cache-file=FILE   cache test results in FILE [disabled]
   1413   -C, --config-cache      alias for \`--cache-file=config.cache'
   1414   -n, --no-create         do not create output files
   1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1416 
   1417 Installation directories:
   1418   --prefix=PREFIX         install architecture-independent files in PREFIX
   1419                           [$ac_default_prefix]
   1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1421                           [PREFIX]
   1422 
   1423 By default, \`make install' will install all the files in
   1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1426 for instance \`--prefix=\$HOME'.
   1427 
   1428 For better control, use the options below.
   1429 
   1430 Fine tuning of the installation directories:
   1431   --bindir=DIR            user executables [EPREFIX/bin]
   1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1437   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1438   --libdir=DIR            object code libraries [EPREFIX/lib]
   1439   --includedir=DIR        C header files [PREFIX/include]
   1440   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1441   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1442   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1443   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1444   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1445   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1446   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXvMC]
   1447   --htmldir=DIR           html documentation [DOCDIR]
   1448   --dvidir=DIR            dvi documentation [DOCDIR]
   1449   --pdfdir=DIR            pdf documentation [DOCDIR]
   1450   --psdir=DIR             ps documentation [DOCDIR]
   1451 _ACEOF
   1452 
   1453   cat <<\_ACEOF
   1454 
   1455 Program names:
   1456   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1457   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1458   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1459 
   1460 System types:
   1461   --build=BUILD     configure for building on BUILD [guessed]
   1462   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1463 _ACEOF
   1464 fi
   1465 
   1466 if test -n "$ac_init_help"; then
   1467   case $ac_init_help in
   1468      short | recursive ) echo "Configuration of libXvMC 1.0.13:";;
   1469    esac
   1470   cat <<\_ACEOF
   1471 
   1472 Optional Features:
   1473   --disable-option-checking  ignore unrecognized --enable/--with options
   1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1476   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1477   --disable-silent-rules  verbose build output (undo: "make V=0")
   1478   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1479   --enable-static[=PKGS]  build static libraries [default=yes]
   1480   --enable-fast-install[=PKGS]
   1481                           optimize for fast installation [default=yes]
   1482   --enable-dependency-tracking
   1483                           do not reject slow dependency extractors
   1484   --disable-dependency-tracking
   1485                           speeds up one-time build
   1486   --disable-libtool-lock  avoid locking (might break parallel builds)
   1487   --disable-selective-werror
   1488                           Turn off selective compiler errors. (default:
   1489                           enabled)
   1490   --enable-strict-compilation
   1491                           Enable all warnings from compiler and make them
   1492                           errors (default: disabled)
   1493   --enable-malloc0returnsnull
   1494                           malloc(0) returns NULL (default: auto)
   1495 
   1496 Optional Packages:
   1497   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1498   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1499   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1500                           both]
   1501   --with-aix-soname=aix|svr4|both
   1502                           shared library versioning (aka "SONAME") variant to
   1503                           provide on AIX, [default=aix].
   1504   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1505   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1506                           compiler's sysroot if not specified).
   1507   --with-lint             Use a lint-style source code checker (default:
   1508                           disabled)
   1509 
   1510 Some influential environment variables:
   1511   CC          C compiler command
   1512   CFLAGS      C compiler flags
   1513   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1514               nonstandard directory <lib dir>
   1515   LIBS        libraries to pass to the linker, e.g. -l<library>
   1516   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1517               you have headers in a nonstandard directory <include dir>
   1518   LT_SYS_LIBRARY_PATH
   1519               User-defined run-time library search path.
   1520   PKG_CONFIG  path to pkg-config utility
   1521   PKG_CONFIG_PATH
   1522               directories to add to pkg-config's search path
   1523   PKG_CONFIG_LIBDIR
   1524               path overriding pkg-config's built-in search path
   1525   XVMC_CFLAGS C compiler flags for XVMC, overriding pkg-config
   1526   XVMC_LIBS   linker flags for XVMC, overriding pkg-config
   1527   LINT        Path to a lint-style command
   1528   LINT_FLAGS  Flags for the lint-style command
   1529 
   1530 Use these variables to override the choices made by `configure' or to help
   1531 it to find libraries and programs with nonstandard names/locations.
   1532 
   1533 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXvMC/issues>.
   1534 _ACEOF
   1535 ac_status=$?
   1536 fi
   1537 
   1538 if test "$ac_init_help" = "recursive"; then
   1539   # If there are subdirs, report their specific --help.
   1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1541     test -d "$ac_dir" ||
   1542       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1543       continue
   1544     ac_builddir=.
   1545 
   1546 case "$ac_dir" in
   1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1548 *)
   1549   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1550   # A ".." for each directory in $ac_dir_suffix.
   1551   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1552   case $ac_top_builddir_sub in
   1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1555   esac ;;
   1556 esac
   1557 ac_abs_top_builddir=$ac_pwd
   1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1559 # for backward compatibility:
   1560 ac_top_builddir=$ac_top_build_prefix
   1561 
   1562 case $srcdir in
   1563   .)  # We are building in place.
   1564     ac_srcdir=.
   1565     ac_top_srcdir=$ac_top_builddir_sub
   1566     ac_abs_top_srcdir=$ac_pwd ;;
   1567   [\\/]* | ?:[\\/]* )  # Absolute name.
   1568     ac_srcdir=$srcdir$ac_dir_suffix;
   1569     ac_top_srcdir=$srcdir
   1570     ac_abs_top_srcdir=$srcdir ;;
   1571   *) # Relative name.
   1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1575 esac
   1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1577 
   1578     cd "$ac_dir" || { ac_status=$?; continue; }
   1579     # Check for configure.gnu first; this name is used for a wrapper for
   1580     # Metaconfig's "Configure" on case-insensitive file systems.
   1581     if test -f "$ac_srcdir/configure.gnu"; then
   1582       echo &&
   1583       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1584     elif test -f "$ac_srcdir/configure"; then
   1585       echo &&
   1586       $SHELL "$ac_srcdir/configure" --help=recursive
   1587     else
   1588       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1589     fi || ac_status=$?
   1590     cd "$ac_pwd" || { ac_status=$?; break; }
   1591   done
   1592 fi
   1593 
   1594 test -n "$ac_init_help" && exit $ac_status
   1595 if $ac_init_version; then
   1596   cat <<\_ACEOF
   1597 libXvMC configure 1.0.13
   1598 generated by GNU Autoconf 2.71
   1599 
   1600 Copyright (C) 2021 Free Software Foundation, Inc.
   1601 This configure script is free software; the Free Software Foundation
   1602 gives unlimited permission to copy, distribute and modify it.
   1603 _ACEOF
   1604   exit
   1605 fi
   1606 
   1607 ## ------------------------ ##
   1608 ## Autoconf initialization. ##
   1609 ## ------------------------ ##
   1610 
   1611 # ac_fn_c_try_compile LINENO
   1612 # --------------------------
   1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1614 ac_fn_c_try_compile ()
   1615 {
   1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1617   rm -f conftest.$ac_objext conftest.beam
   1618   if { { ac_try="$ac_compile"
   1619 case "(($ac_try" in
   1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1621   *) ac_try_echo=$ac_try;;
   1622 esac
   1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1624 printf "%s\n" "$ac_try_echo"; } >&5
   1625   (eval "$ac_compile") 2>conftest.err
   1626   ac_status=$?
   1627   if test -s conftest.err; then
   1628     grep -v '^ *+' conftest.err >conftest.er1
   1629     cat conftest.er1 >&5
   1630     mv -f conftest.er1 conftest.err
   1631   fi
   1632   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; } && {
   1634 	 test -z "$ac_c_werror_flag" ||
   1635 	 test ! -s conftest.err
   1636        } && test -s conftest.$ac_objext
   1637 then :
   1638   ac_retval=0
   1639 else $as_nop
   1640   printf "%s\n" "$as_me: failed program was:" >&5
   1641 sed 's/^/| /' conftest.$ac_ext >&5
   1642 
   1643 	ac_retval=1
   1644 fi
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646   as_fn_set_status $ac_retval
   1647 
   1648 } # ac_fn_c_try_compile
   1649 
   1650 # ac_fn_c_try_link LINENO
   1651 # -----------------------
   1652 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1653 ac_fn_c_try_link ()
   1654 {
   1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1656   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1657   if { { ac_try="$ac_link"
   1658 case "(($ac_try" in
   1659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1660   *) ac_try_echo=$ac_try;;
   1661 esac
   1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1663 printf "%s\n" "$ac_try_echo"; } >&5
   1664   (eval "$ac_link") 2>conftest.err
   1665   ac_status=$?
   1666   if test -s conftest.err; then
   1667     grep -v '^ *+' conftest.err >conftest.er1
   1668     cat conftest.er1 >&5
   1669     mv -f conftest.er1 conftest.err
   1670   fi
   1671   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1672   test $ac_status = 0; } && {
   1673 	 test -z "$ac_c_werror_flag" ||
   1674 	 test ! -s conftest.err
   1675        } && test -s conftest$ac_exeext && {
   1676 	 test "$cross_compiling" = yes ||
   1677 	 test -x conftest$ac_exeext
   1678        }
   1679 then :
   1680   ac_retval=0
   1681 else $as_nop
   1682   printf "%s\n" "$as_me: failed program was:" >&5
   1683 sed 's/^/| /' conftest.$ac_ext >&5
   1684 
   1685 	ac_retval=1
   1686 fi
   1687   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1688   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1689   # interfere with the next link command; also delete a directory that is
   1690   # left behind by Apple's compiler.  We do this before executing the actions.
   1691   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1693   as_fn_set_status $ac_retval
   1694 
   1695 } # ac_fn_c_try_link
   1696 
   1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1698 # -------------------------------------------------------
   1699 # Tests whether HEADER exists and can be compiled using the include files in
   1700 # INCLUDES, setting the cache variable VAR accordingly.
   1701 ac_fn_c_check_header_compile ()
   1702 {
   1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1705 printf %s "checking for $2... " >&6; }
   1706 if eval test \${$3+y}
   1707 then :
   1708   printf %s "(cached) " >&6
   1709 else $as_nop
   1710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1711 /* end confdefs.h.  */
   1712 $4
   1713 #include <$2>
   1714 _ACEOF
   1715 if ac_fn_c_try_compile "$LINENO"
   1716 then :
   1717   eval "$3=yes"
   1718 else $as_nop
   1719   eval "$3=no"
   1720 fi
   1721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1722 fi
   1723 eval ac_res=\$$3
   1724 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1725 printf "%s\n" "$ac_res" >&6; }
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727 
   1728 } # ac_fn_c_check_header_compile
   1729 
   1730 # ac_fn_c_check_func LINENO FUNC VAR
   1731 # ----------------------------------
   1732 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1733 ac_fn_c_check_func ()
   1734 {
   1735   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1737 printf %s "checking for $2... " >&6; }
   1738 if eval test \${$3+y}
   1739 then :
   1740   printf %s "(cached) " >&6
   1741 else $as_nop
   1742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1743 /* end confdefs.h.  */
   1744 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1746 #define $2 innocuous_$2
   1747 
   1748 /* System header to define __stub macros and hopefully few prototypes,
   1749    which can conflict with char $2 (); below.  */
   1750 
   1751 #include <limits.h>
   1752 #undef $2
   1753 
   1754 /* Override any GCC internal prototype to avoid an error.
   1755    Use char because int might match the return type of a GCC
   1756    builtin and then its argument prototype would still apply.  */
   1757 #ifdef __cplusplus
   1758 extern "C"
   1759 #endif
   1760 char $2 ();
   1761 /* The GNU C library defines this for functions which it implements
   1762     to always fail with ENOSYS.  Some functions are actually named
   1763     something starting with __ and the normal name is an alias.  */
   1764 #if defined __stub_$2 || defined __stub___$2
   1765 choke me
   1766 #endif
   1767 
   1768 int
   1769 main (void)
   1770 {
   1771 return $2 ();
   1772   ;
   1773   return 0;
   1774 }
   1775 _ACEOF
   1776 if ac_fn_c_try_link "$LINENO"
   1777 then :
   1778   eval "$3=yes"
   1779 else $as_nop
   1780   eval "$3=no"
   1781 fi
   1782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1783     conftest$ac_exeext conftest.$ac_ext
   1784 fi
   1785 eval ac_res=\$$3
   1786 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1787 printf "%s\n" "$ac_res" >&6; }
   1788   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1789 
   1790 } # ac_fn_c_check_func
   1791 
   1792 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1793 # ------------------------------------------------------------------
   1794 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1795 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1796 ac_fn_check_decl ()
   1797 {
   1798   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1799   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1801 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1802 if eval test \${$3+y}
   1803 then :
   1804   printf %s "(cached) " >&6
   1805 else $as_nop
   1806   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1807   eval ac_save_FLAGS=\$$6
   1808   as_fn_append $6 " $5"
   1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1810 /* end confdefs.h.  */
   1811 $4
   1812 int
   1813 main (void)
   1814 {
   1815 #ifndef $as_decl_name
   1816 #ifdef __cplusplus
   1817   (void) $as_decl_use;
   1818 #else
   1819   (void) $as_decl_name;
   1820 #endif
   1821 #endif
   1822 
   1823   ;
   1824   return 0;
   1825 }
   1826 _ACEOF
   1827 if ac_fn_c_try_compile "$LINENO"
   1828 then :
   1829   eval "$3=yes"
   1830 else $as_nop
   1831   eval "$3=no"
   1832 fi
   1833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1834   eval $6=\$ac_save_FLAGS
   1835 
   1836 fi
   1837 eval ac_res=\$$3
   1838 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1839 printf "%s\n" "$ac_res" >&6; }
   1840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1841 
   1842 } # ac_fn_check_decl
   1843 
   1844 # ac_fn_c_try_run LINENO
   1845 # ----------------------
   1846 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1847 # executables *can* be run.
   1848 ac_fn_c_try_run ()
   1849 {
   1850   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1851   if { { ac_try="$ac_link"
   1852 case "(($ac_try" in
   1853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1854   *) ac_try_echo=$ac_try;;
   1855 esac
   1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1857 printf "%s\n" "$ac_try_echo"; } >&5
   1858   (eval "$ac_link") 2>&5
   1859   ac_status=$?
   1860   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1861   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1862   { { case "(($ac_try" in
   1863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1864   *) ac_try_echo=$ac_try;;
   1865 esac
   1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1867 printf "%s\n" "$ac_try_echo"; } >&5
   1868   (eval "$ac_try") 2>&5
   1869   ac_status=$?
   1870   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1871   test $ac_status = 0; }; }
   1872 then :
   1873   ac_retval=0
   1874 else $as_nop
   1875   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1876        printf "%s\n" "$as_me: failed program was:" >&5
   1877 sed 's/^/| /' conftest.$ac_ext >&5
   1878 
   1879        ac_retval=$ac_status
   1880 fi
   1881   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1883   as_fn_set_status $ac_retval
   1884 
   1885 } # ac_fn_c_try_run
   1886 ac_configure_args_raw=
   1887 for ac_arg
   1888 do
   1889   case $ac_arg in
   1890   *\'*)
   1891     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1892   esac
   1893   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1894 done
   1895 
   1896 case $ac_configure_args_raw in
   1897   *$as_nl*)
   1898     ac_safe_unquote= ;;
   1899   *)
   1900     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1901     ac_unsafe_a="$ac_unsafe_z#~"
   1902     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1903     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1904 esac
   1905 
   1906 cat >config.log <<_ACEOF
   1907 This file contains any messages produced by compilers while
   1908 running configure, to aid debugging if configure makes a mistake.
   1909 
   1910 It was created by libXvMC $as_me 1.0.13, which was
   1911 generated by GNU Autoconf 2.71.  Invocation command line was
   1912 
   1913   $ $0$ac_configure_args_raw
   1914 
   1915 _ACEOF
   1916 exec 5>>config.log
   1917 {
   1918 cat <<_ASUNAME
   1919 ## --------- ##
   1920 ## Platform. ##
   1921 ## --------- ##
   1922 
   1923 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1924 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1925 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1926 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1927 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1928 
   1929 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1930 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1931 
   1932 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1933 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1934 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1935 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1936 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1937 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1938 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1939 
   1940 _ASUNAME
   1941 
   1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1943 for as_dir in $PATH
   1944 do
   1945   IFS=$as_save_IFS
   1946   case $as_dir in #(((
   1947     '') as_dir=./ ;;
   1948     */) ;;
   1949     *) as_dir=$as_dir/ ;;
   1950   esac
   1951     printf "%s\n" "PATH: $as_dir"
   1952   done
   1953 IFS=$as_save_IFS
   1954 
   1955 } >&5
   1956 
   1957 cat >&5 <<_ACEOF
   1958 
   1959 
   1960 ## ----------- ##
   1961 ## Core tests. ##
   1962 ## ----------- ##
   1963 
   1964 _ACEOF
   1965 
   1966 
   1967 # Keep a trace of the command line.
   1968 # Strip out --no-create and --no-recursion so they do not pile up.
   1969 # Strip out --silent because we don't want to record it for future runs.
   1970 # Also quote any args containing shell meta-characters.
   1971 # Make two passes to allow for proper duplicate-argument suppression.
   1972 ac_configure_args=
   1973 ac_configure_args0=
   1974 ac_configure_args1=
   1975 ac_must_keep_next=false
   1976 for ac_pass in 1 2
   1977 do
   1978   for ac_arg
   1979   do
   1980     case $ac_arg in
   1981     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1982     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1983     | -silent | --silent | --silen | --sile | --sil)
   1984       continue ;;
   1985     *\'*)
   1986       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1987     esac
   1988     case $ac_pass in
   1989     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1990     2)
   1991       as_fn_append ac_configure_args1 " '$ac_arg'"
   1992       if test $ac_must_keep_next = true; then
   1993 	ac_must_keep_next=false # Got value, back to normal.
   1994       else
   1995 	case $ac_arg in
   1996 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1997 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1998 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1999 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2000 	    case "$ac_configure_args0 " in
   2001 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2002 	    esac
   2003 	    ;;
   2004 	  -* ) ac_must_keep_next=true ;;
   2005 	esac
   2006       fi
   2007       as_fn_append ac_configure_args " '$ac_arg'"
   2008       ;;
   2009     esac
   2010   done
   2011 done
   2012 { ac_configure_args0=; unset ac_configure_args0;}
   2013 { ac_configure_args1=; unset ac_configure_args1;}
   2014 
   2015 # When interrupted or exit'd, cleanup temporary files, and complete
   2016 # config.log.  We remove comments because anyway the quotes in there
   2017 # would cause problems or look ugly.
   2018 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2019 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2020 trap 'exit_status=$?
   2021   # Sanitize IFS.
   2022   IFS=" ""	$as_nl"
   2023   # Save into config.log some information that might help in debugging.
   2024   {
   2025     echo
   2026 
   2027     printf "%s\n" "## ---------------- ##
   2028 ## Cache variables. ##
   2029 ## ---------------- ##"
   2030     echo
   2031     # The following way of writing the cache mishandles newlines in values,
   2032 (
   2033   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2034     eval ac_val=\$$ac_var
   2035     case $ac_val in #(
   2036     *${as_nl}*)
   2037       case $ac_var in #(
   2038       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2039 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2040       esac
   2041       case $ac_var in #(
   2042       _ | IFS | as_nl) ;; #(
   2043       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2044       *) { eval $ac_var=; unset $ac_var;} ;;
   2045       esac ;;
   2046     esac
   2047   done
   2048   (set) 2>&1 |
   2049     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2050     *${as_nl}ac_space=\ *)
   2051       sed -n \
   2052 	"s/'\''/'\''\\\\'\'''\''/g;
   2053 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2054       ;; #(
   2055     *)
   2056       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2057       ;;
   2058     esac |
   2059     sort
   2060 )
   2061     echo
   2062 
   2063     printf "%s\n" "## ----------------- ##
   2064 ## Output variables. ##
   2065 ## ----------------- ##"
   2066     echo
   2067     for ac_var in $ac_subst_vars
   2068     do
   2069       eval ac_val=\$$ac_var
   2070       case $ac_val in
   2071       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2072       esac
   2073       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2074     done | sort
   2075     echo
   2076 
   2077     if test -n "$ac_subst_files"; then
   2078       printf "%s\n" "## ------------------- ##
   2079 ## File substitutions. ##
   2080 ## ------------------- ##"
   2081       echo
   2082       for ac_var in $ac_subst_files
   2083       do
   2084 	eval ac_val=\$$ac_var
   2085 	case $ac_val in
   2086 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2087 	esac
   2088 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2089       done | sort
   2090       echo
   2091     fi
   2092 
   2093     if test -s confdefs.h; then
   2094       printf "%s\n" "## ----------- ##
   2095 ## confdefs.h. ##
   2096 ## ----------- ##"
   2097       echo
   2098       cat confdefs.h
   2099       echo
   2100     fi
   2101     test "$ac_signal" != 0 &&
   2102       printf "%s\n" "$as_me: caught signal $ac_signal"
   2103     printf "%s\n" "$as_me: exit $exit_status"
   2104   } >&5
   2105   rm -f core *.core core.conftest.* &&
   2106     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2107     exit $exit_status
   2108 ' 0
   2109 for ac_signal in 1 2 13 15; do
   2110   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2111 done
   2112 ac_signal=0
   2113 
   2114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2115 rm -f -r conftest* confdefs.h
   2116 
   2117 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2118 
   2119 # Predefined preprocessor variables.
   2120 
   2121 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2122 
   2123 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2124 
   2125 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2126 
   2127 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2128 
   2129 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2130 
   2131 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2132 
   2133 
   2134 # Let the site file select an alternate cache file if it wants to.
   2135 # Prefer an explicitly selected file to automatically selected ones.
   2136 if test -n "$CONFIG_SITE"; then
   2137   ac_site_files="$CONFIG_SITE"
   2138 elif test "x$prefix" != xNONE; then
   2139   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2140 else
   2141   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2142 fi
   2143 
   2144 for ac_site_file in $ac_site_files
   2145 do
   2146   case $ac_site_file in #(
   2147   */*) :
   2148      ;; #(
   2149   *) :
   2150     ac_site_file=./$ac_site_file ;;
   2151 esac
   2152   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2153     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2154 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2155     sed 's/^/| /' "$ac_site_file" >&5
   2156     . "$ac_site_file" \
   2157       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2158 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2159 as_fn_error $? "failed to load site script $ac_site_file
   2160 See \`config.log' for more details" "$LINENO" 5; }
   2161   fi
   2162 done
   2163 
   2164 if test -r "$cache_file"; then
   2165   # Some versions of bash will fail to source /dev/null (special files
   2166   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2167   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2168     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2169 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2170     case $cache_file in
   2171       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2172       *)                      . "./$cache_file";;
   2173     esac
   2174   fi
   2175 else
   2176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2177 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2178   >$cache_file
   2179 fi
   2180 
   2181 # Test code for whether the C compiler supports C89 (global declarations)
   2182 ac_c_conftest_c89_globals='
   2183 /* Does the compiler advertise C89 conformance?
   2184    Do not test the value of __STDC__, because some compilers set it to 0
   2185    while being otherwise adequately conformant. */
   2186 #if !defined __STDC__
   2187 # error "Compiler does not advertise C89 conformance"
   2188 #endif
   2189 
   2190 #include <stddef.h>
   2191 #include <stdarg.h>
   2192 struct stat;
   2193 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2194 struct buf { int x; };
   2195 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2196 static char *e (p, i)
   2197      char **p;
   2198      int i;
   2199 {
   2200   return p[i];
   2201 }
   2202 static char *f (char * (*g) (char **, int), char **p, ...)
   2203 {
   2204   char *s;
   2205   va_list v;
   2206   va_start (v,p);
   2207   s = g (p, va_arg (v,int));
   2208   va_end (v);
   2209   return s;
   2210 }
   2211 
   2212 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2213    function prototypes and stuff, but not \xHH hex character constants.
   2214    These do not provoke an error unfortunately, instead are silently treated
   2215    as an "x".  The following induces an error, until -std is added to get
   2216    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2217    array size at least.  It is necessary to write \x00 == 0 to get something
   2218    that is true only with -std.  */
   2219 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2220 
   2221 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2222    inside strings and character constants.  */
   2223 #define FOO(x) '\''x'\''
   2224 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2225 
   2226 int test (int i, double x);
   2227 struct s1 {int (*f) (int a);};
   2228 struct s2 {int (*f) (double a);};
   2229 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2230                int, int);'
   2231 
   2232 # Test code for whether the C compiler supports C89 (body of main).
   2233 ac_c_conftest_c89_main='
   2234 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2235 '
   2236 
   2237 # Test code for whether the C compiler supports C99 (global declarations)
   2238 ac_c_conftest_c99_globals='
   2239 // Does the compiler advertise C99 conformance?
   2240 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2241 # error "Compiler does not advertise C99 conformance"
   2242 #endif
   2243 
   2244 #include <stdbool.h>
   2245 extern int puts (const char *);
   2246 extern int printf (const char *, ...);
   2247 extern int dprintf (int, const char *, ...);
   2248 extern void *malloc (size_t);
   2249 
   2250 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2251 // dprintf is used instead of fprintf to avoid needing to declare
   2252 // FILE and stderr.
   2253 #define debug(...) dprintf (2, __VA_ARGS__)
   2254 #define showlist(...) puts (#__VA_ARGS__)
   2255 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2256 static void
   2257 test_varargs_macros (void)
   2258 {
   2259   int x = 1234;
   2260   int y = 5678;
   2261   debug ("Flag");
   2262   debug ("X = %d\n", x);
   2263   showlist (The first, second, and third items.);
   2264   report (x>y, "x is %d but y is %d", x, y);
   2265 }
   2266 
   2267 // Check long long types.
   2268 #define BIG64 18446744073709551615ull
   2269 #define BIG32 4294967295ul
   2270 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2271 #if !BIG_OK
   2272   #error "your preprocessor is broken"
   2273 #endif
   2274 #if BIG_OK
   2275 #else
   2276   #error "your preprocessor is broken"
   2277 #endif
   2278 static long long int bignum = -9223372036854775807LL;
   2279 static unsigned long long int ubignum = BIG64;
   2280 
   2281 struct incomplete_array
   2282 {
   2283   int datasize;
   2284   double data[];
   2285 };
   2286 
   2287 struct named_init {
   2288   int number;
   2289   const wchar_t *name;
   2290   double average;
   2291 };
   2292 
   2293 typedef const char *ccp;
   2294 
   2295 static inline int
   2296 test_restrict (ccp restrict text)
   2297 {
   2298   // See if C++-style comments work.
   2299   // Iterate through items via the restricted pointer.
   2300   // Also check for declarations in for loops.
   2301   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2302     continue;
   2303   return 0;
   2304 }
   2305 
   2306 // Check varargs and va_copy.
   2307 static bool
   2308 test_varargs (const char *format, ...)
   2309 {
   2310   va_list args;
   2311   va_start (args, format);
   2312   va_list args_copy;
   2313   va_copy (args_copy, args);
   2314 
   2315   const char *str = "";
   2316   int number = 0;
   2317   float fnumber = 0;
   2318 
   2319   while (*format)
   2320     {
   2321       switch (*format++)
   2322 	{
   2323 	case '\''s'\'': // string
   2324 	  str = va_arg (args_copy, const char *);
   2325 	  break;
   2326 	case '\''d'\'': // int
   2327 	  number = va_arg (args_copy, int);
   2328 	  break;
   2329 	case '\''f'\'': // float
   2330 	  fnumber = va_arg (args_copy, double);
   2331 	  break;
   2332 	default:
   2333 	  break;
   2334 	}
   2335     }
   2336   va_end (args_copy);
   2337   va_end (args);
   2338 
   2339   return *str && number && fnumber;
   2340 }
   2341 '
   2342 
   2343 # Test code for whether the C compiler supports C99 (body of main).
   2344 ac_c_conftest_c99_main='
   2345   // Check bool.
   2346   _Bool success = false;
   2347   success |= (argc != 0);
   2348 
   2349   // Check restrict.
   2350   if (test_restrict ("String literal") == 0)
   2351     success = true;
   2352   char *restrict newvar = "Another string";
   2353 
   2354   // Check varargs.
   2355   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2356   test_varargs_macros ();
   2357 
   2358   // Check flexible array members.
   2359   struct incomplete_array *ia =
   2360     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2361   ia->datasize = 10;
   2362   for (int i = 0; i < ia->datasize; ++i)
   2363     ia->data[i] = i * 1.234;
   2364 
   2365   // Check named initializers.
   2366   struct named_init ni = {
   2367     .number = 34,
   2368     .name = L"Test wide string",
   2369     .average = 543.34343,
   2370   };
   2371 
   2372   ni.number = 58;
   2373 
   2374   int dynamic_array[ni.number];
   2375   dynamic_array[0] = argv[0][0];
   2376   dynamic_array[ni.number - 1] = 543;
   2377 
   2378   // work around unused variable warnings
   2379   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2380 	 || dynamic_array[ni.number - 1] != 543);
   2381 '
   2382 
   2383 # Test code for whether the C compiler supports C11 (global declarations)
   2384 ac_c_conftest_c11_globals='
   2385 // Does the compiler advertise C11 conformance?
   2386 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2387 # error "Compiler does not advertise C11 conformance"
   2388 #endif
   2389 
   2390 // Check _Alignas.
   2391 char _Alignas (double) aligned_as_double;
   2392 char _Alignas (0) no_special_alignment;
   2393 extern char aligned_as_int;
   2394 char _Alignas (0) _Alignas (int) aligned_as_int;
   2395 
   2396 // Check _Alignof.
   2397 enum
   2398 {
   2399   int_alignment = _Alignof (int),
   2400   int_array_alignment = _Alignof (int[100]),
   2401   char_alignment = _Alignof (char)
   2402 };
   2403 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2404 
   2405 // Check _Noreturn.
   2406 int _Noreturn does_not_return (void) { for (;;) continue; }
   2407 
   2408 // Check _Static_assert.
   2409 struct test_static_assert
   2410 {
   2411   int x;
   2412   _Static_assert (sizeof (int) <= sizeof (long int),
   2413                   "_Static_assert does not work in struct");
   2414   long int y;
   2415 };
   2416 
   2417 // Check UTF-8 literals.
   2418 #define u8 syntax error!
   2419 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2420 
   2421 // Check duplicate typedefs.
   2422 typedef long *long_ptr;
   2423 typedef long int *long_ptr;
   2424 typedef long_ptr long_ptr;
   2425 
   2426 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2427 struct anonymous
   2428 {
   2429   union {
   2430     struct { int i; int j; };
   2431     struct { int k; long int l; } w;
   2432   };
   2433   int m;
   2434 } v1;
   2435 '
   2436 
   2437 # Test code for whether the C compiler supports C11 (body of main).
   2438 ac_c_conftest_c11_main='
   2439   _Static_assert ((offsetof (struct anonymous, i)
   2440 		   == offsetof (struct anonymous, w.k)),
   2441 		  "Anonymous union alignment botch");
   2442   v1.i = 2;
   2443   v1.w.k = 5;
   2444   ok |= v1.i != 5;
   2445 '
   2446 
   2447 # Test code for whether the C compiler supports C11 (complete).
   2448 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2449 ${ac_c_conftest_c99_globals}
   2450 ${ac_c_conftest_c11_globals}
   2451 
   2452 int
   2453 main (int argc, char **argv)
   2454 {
   2455   int ok = 0;
   2456   ${ac_c_conftest_c89_main}
   2457   ${ac_c_conftest_c99_main}
   2458   ${ac_c_conftest_c11_main}
   2459   return ok;
   2460 }
   2461 "
   2462 
   2463 # Test code for whether the C compiler supports C99 (complete).
   2464 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2465 ${ac_c_conftest_c99_globals}
   2466 
   2467 int
   2468 main (int argc, char **argv)
   2469 {
   2470   int ok = 0;
   2471   ${ac_c_conftest_c89_main}
   2472   ${ac_c_conftest_c99_main}
   2473   return ok;
   2474 }
   2475 "
   2476 
   2477 # Test code for whether the C compiler supports C89 (complete).
   2478 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2479 
   2480 int
   2481 main (int argc, char **argv)
   2482 {
   2483   int ok = 0;
   2484   ${ac_c_conftest_c89_main}
   2485   return ok;
   2486 }
   2487 "
   2488 
   2489 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2490 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2491 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2492 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2493 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2494 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2495 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2496 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2497 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2498 
   2499 # Auxiliary files required by this configure script.
   2500 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2501 
   2502 # Locations in which to look for auxiliary files.
   2503 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2504 
   2505 # Search for a directory containing all of the required auxiliary files,
   2506 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2507 # If we don't find one directory that contains all the files we need,
   2508 # we report the set of missing files from the *first* directory in
   2509 # $ac_aux_dir_candidates and give up.
   2510 ac_missing_aux_files=""
   2511 ac_first_candidate=:
   2512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2514 as_found=false
   2515 for as_dir in $ac_aux_dir_candidates
   2516 do
   2517   IFS=$as_save_IFS
   2518   case $as_dir in #(((
   2519     '') as_dir=./ ;;
   2520     */) ;;
   2521     *) as_dir=$as_dir/ ;;
   2522   esac
   2523   as_found=:
   2524 
   2525   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2526   ac_aux_dir_found=yes
   2527   ac_install_sh=
   2528   for ac_aux in $ac_aux_files
   2529   do
   2530     # As a special case, if "install-sh" is required, that requirement
   2531     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2532     # and $ac_install_sh is set appropriately for whichever one is found.
   2533     if test x"$ac_aux" = x"install-sh"
   2534     then
   2535       if test -f "${as_dir}install-sh"; then
   2536         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2537         ac_install_sh="${as_dir}install-sh -c"
   2538       elif test -f "${as_dir}install.sh"; then
   2539         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2540         ac_install_sh="${as_dir}install.sh -c"
   2541       elif test -f "${as_dir}shtool"; then
   2542         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2543         ac_install_sh="${as_dir}shtool install -c"
   2544       else
   2545         ac_aux_dir_found=no
   2546         if $ac_first_candidate; then
   2547           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2548         else
   2549           break
   2550         fi
   2551       fi
   2552     else
   2553       if test -f "${as_dir}${ac_aux}"; then
   2554         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2555       else
   2556         ac_aux_dir_found=no
   2557         if $ac_first_candidate; then
   2558           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2559         else
   2560           break
   2561         fi
   2562       fi
   2563     fi
   2564   done
   2565   if test "$ac_aux_dir_found" = yes; then
   2566     ac_aux_dir="$as_dir"
   2567     break
   2568   fi
   2569   ac_first_candidate=false
   2570 
   2571   as_found=false
   2572 done
   2573 IFS=$as_save_IFS
   2574 if $as_found
   2575 then :
   2576 
   2577 else $as_nop
   2578   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2579 fi
   2580 
   2581 
   2582 # These three variables are undocumented and unsupported,
   2583 # and are intended to be withdrawn in a future Autoconf release.
   2584 # They can cause serious problems if a builder's source tree is in a directory
   2585 # whose full name contains unusual characters.
   2586 if test -f "${ac_aux_dir}config.guess"; then
   2587   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2588 fi
   2589 if test -f "${ac_aux_dir}config.sub"; then
   2590   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2591 fi
   2592 if test -f "$ac_aux_dir/configure"; then
   2593   ac_configure="$SHELL ${ac_aux_dir}configure"
   2594 fi
   2595 
   2596 # Check that the precious variables saved in the cache have kept the same
   2597 # value.
   2598 ac_cache_corrupted=false
   2599 for ac_var in $ac_precious_vars; do
   2600   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2601   eval ac_new_set=\$ac_env_${ac_var}_set
   2602   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2603   eval ac_new_val=\$ac_env_${ac_var}_value
   2604   case $ac_old_set,$ac_new_set in
   2605     set,)
   2606       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2607 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2608       ac_cache_corrupted=: ;;
   2609     ,set)
   2610       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2611 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2612       ac_cache_corrupted=: ;;
   2613     ,);;
   2614     *)
   2615       if test "x$ac_old_val" != "x$ac_new_val"; then
   2616 	# differences in whitespace do not lead to failure.
   2617 	ac_old_val_w=`echo x $ac_old_val`
   2618 	ac_new_val_w=`echo x $ac_new_val`
   2619 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2620 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2621 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2622 	  ac_cache_corrupted=:
   2623 	else
   2624 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2625 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2626 	  eval $ac_var=\$ac_old_val
   2627 	fi
   2628 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2629 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2631 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2632       fi;;
   2633   esac
   2634   # Pass precious variables to config.status.
   2635   if test "$ac_new_set" = set; then
   2636     case $ac_new_val in
   2637     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2638     *) ac_arg=$ac_var=$ac_new_val ;;
   2639     esac
   2640     case " $ac_configure_args " in
   2641       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2642       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2643     esac
   2644   fi
   2645 done
   2646 if $ac_cache_corrupted; then
   2647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2648 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2650 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2651   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2652 	    and start over" "$LINENO" 5
   2653 fi
   2654 ## -------------------- ##
   2655 ## Main body of script. ##
   2656 ## -------------------- ##
   2657 
   2658 ac_ext=c
   2659 ac_cpp='$CPP $CPPFLAGS'
   2660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2663 
   2664 
   2665 
   2666 ac_config_headers="$ac_config_headers config.h"
   2667 
   2668 
   2669 # Initialize Automake
   2670 am__api_version='1.16'
   2671 
   2672 
   2673 
   2674   # Find a good install program.  We prefer a C program (faster),
   2675 # so one script is as good as another.  But avoid the broken or
   2676 # incompatible versions:
   2677 # SysV /etc/install, /usr/sbin/install
   2678 # SunOS /usr/etc/install
   2679 # IRIX /sbin/install
   2680 # AIX /bin/install
   2681 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2682 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2683 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2684 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2685 # OS/2's system install, which has a completely different semantic
   2686 # ./install, which can be erroneously created by make from ./install.sh.
   2687 # Reject install programs that cannot install multiple files.
   2688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2689 printf %s "checking for a BSD-compatible install... " >&6; }
   2690 if test -z "$INSTALL"; then
   2691 if test ${ac_cv_path_install+y}
   2692 then :
   2693   printf %s "(cached) " >&6
   2694 else $as_nop
   2695   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2696 for as_dir in $PATH
   2697 do
   2698   IFS=$as_save_IFS
   2699   case $as_dir in #(((
   2700     '') as_dir=./ ;;
   2701     */) ;;
   2702     *) as_dir=$as_dir/ ;;
   2703   esac
   2704     # Account for fact that we put trailing slashes in our PATH walk.
   2705 case $as_dir in #((
   2706   ./ | /[cC]/* | \
   2707   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2708   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2709   /usr/ucb/* ) ;;
   2710   *)
   2711     # OSF1 and SCO ODT 3.0 have their own names for install.
   2712     # Don't use installbsd from OSF since it installs stuff as root
   2713     # by default.
   2714     for ac_prog in ginstall scoinst install; do
   2715       for ac_exec_ext in '' $ac_executable_extensions; do
   2716 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2717 	  if test $ac_prog = install &&
   2718 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2719 	    # AIX install.  It has an incompatible calling convention.
   2720 	    :
   2721 	  elif test $ac_prog = install &&
   2722 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2723 	    # program-specific install script used by HP pwplus--don't use.
   2724 	    :
   2725 	  else
   2726 	    rm -rf conftest.one conftest.two conftest.dir
   2727 	    echo one > conftest.one
   2728 	    echo two > conftest.two
   2729 	    mkdir conftest.dir
   2730 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2731 	      test -s conftest.one && test -s conftest.two &&
   2732 	      test -s conftest.dir/conftest.one &&
   2733 	      test -s conftest.dir/conftest.two
   2734 	    then
   2735 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2736 	      break 3
   2737 	    fi
   2738 	  fi
   2739 	fi
   2740       done
   2741     done
   2742     ;;
   2743 esac
   2744 
   2745   done
   2746 IFS=$as_save_IFS
   2747 
   2748 rm -rf conftest.one conftest.two conftest.dir
   2749 
   2750 fi
   2751   if test ${ac_cv_path_install+y}; then
   2752     INSTALL=$ac_cv_path_install
   2753   else
   2754     # As a last resort, use the slow shell script.  Don't cache a
   2755     # value for INSTALL within a source directory, because that will
   2756     # break other packages using the cache if that directory is
   2757     # removed, or if the value is a relative name.
   2758     INSTALL=$ac_install_sh
   2759   fi
   2760 fi
   2761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2762 printf "%s\n" "$INSTALL" >&6; }
   2763 
   2764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2765 # It thinks the first close brace ends the variable substitution.
   2766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2767 
   2768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2769 
   2770 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2771 
   2772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2773 printf %s "checking whether build environment is sane... " >&6; }
   2774 # Reject unsafe characters in $srcdir or the absolute working directory
   2775 # name.  Accept space and tab only in the latter.
   2776 am_lf='
   2777 '
   2778 case `pwd` in
   2779   *[\\\"\#\$\&\'\`$am_lf]*)
   2780     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2781 esac
   2782 case $srcdir in
   2783   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2784     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2785 esac
   2786 
   2787 # Do 'set' in a subshell so we don't clobber the current shell's
   2788 # arguments.  Must try -L first in case configure is actually a
   2789 # symlink; some systems play weird games with the mod time of symlinks
   2790 # (eg FreeBSD returns the mod time of the symlink's containing
   2791 # directory).
   2792 if (
   2793    am_has_slept=no
   2794    for am_try in 1 2; do
   2795      echo "timestamp, slept: $am_has_slept" > conftest.file
   2796      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2797      if test "$*" = "X"; then
   2798 	# -L didn't work.
   2799 	set X `ls -t "$srcdir/configure" conftest.file`
   2800      fi
   2801      if test "$*" != "X $srcdir/configure conftest.file" \
   2802 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2803 
   2804 	# If neither matched, then we have a broken ls.  This can happen
   2805 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2806 	# broken ls alias from the environment.  This has actually
   2807 	# happened.  Such a system could not be considered "sane".
   2808 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2809   alias in your environment" "$LINENO" 5
   2810      fi
   2811      if test "$2" = conftest.file || test $am_try -eq 2; then
   2812        break
   2813      fi
   2814      # Just in case.
   2815      sleep 1
   2816      am_has_slept=yes
   2817    done
   2818    test "$2" = conftest.file
   2819    )
   2820 then
   2821    # Ok.
   2822    :
   2823 else
   2824    as_fn_error $? "newly created file is older than distributed files!
   2825 Check your system clock" "$LINENO" 5
   2826 fi
   2827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2828 printf "%s\n" "yes" >&6; }
   2829 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2830 # generated files are strictly newer.
   2831 am_sleep_pid=
   2832 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2833   ( sleep 1 ) &
   2834   am_sleep_pid=$!
   2835 fi
   2836 
   2837 rm -f conftest.file
   2838 
   2839 test "$program_prefix" != NONE &&
   2840   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2841 # Use a double $ so make ignores it.
   2842 test "$program_suffix" != NONE &&
   2843   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2844 # Double any \ or $.
   2845 # By default was `s,x,x', remove it if useless.
   2846 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2847 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2848 
   2849 
   2850 # Expand $ac_aux_dir to an absolute path.
   2851 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2852 
   2853 
   2854   if test x"${MISSING+set}" != xset; then
   2855   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2856 fi
   2857 # Use eval to expand $SHELL
   2858 if eval "$MISSING --is-lightweight"; then
   2859   am_missing_run="$MISSING "
   2860 else
   2861   am_missing_run=
   2862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2863 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2864 fi
   2865 
   2866 if test x"${install_sh+set}" != xset; then
   2867   case $am_aux_dir in
   2868   *\ * | *\	*)
   2869     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2870   *)
   2871     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2872   esac
   2873 fi
   2874 
   2875 # Installed binaries are usually stripped using 'strip' when the user
   2876 # run "make install-strip".  However 'strip' might not be the right
   2877 # tool to use in cross-compilation environments, therefore Automake
   2878 # will honor the 'STRIP' environment variable to overrule this program.
   2879 if test "$cross_compiling" != no; then
   2880   if test -n "$ac_tool_prefix"; then
   2881   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2882 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2884 printf %s "checking for $ac_word... " >&6; }
   2885 if test ${ac_cv_prog_STRIP+y}
   2886 then :
   2887   printf %s "(cached) " >&6
   2888 else $as_nop
   2889   if test -n "$STRIP"; then
   2890   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2891 else
   2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2893 for as_dir in $PATH
   2894 do
   2895   IFS=$as_save_IFS
   2896   case $as_dir in #(((
   2897     '') as_dir=./ ;;
   2898     */) ;;
   2899     *) as_dir=$as_dir/ ;;
   2900   esac
   2901     for ac_exec_ext in '' $ac_executable_extensions; do
   2902   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2903     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2904     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2905     break 2
   2906   fi
   2907 done
   2908   done
   2909 IFS=$as_save_IFS
   2910 
   2911 fi
   2912 fi
   2913 STRIP=$ac_cv_prog_STRIP
   2914 if test -n "$STRIP"; then
   2915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2916 printf "%s\n" "$STRIP" >&6; }
   2917 else
   2918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2919 printf "%s\n" "no" >&6; }
   2920 fi
   2921 
   2922 
   2923 fi
   2924 if test -z "$ac_cv_prog_STRIP"; then
   2925   ac_ct_STRIP=$STRIP
   2926   # Extract the first word of "strip", so it can be a program name with args.
   2927 set dummy strip; ac_word=$2
   2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2929 printf %s "checking for $ac_word... " >&6; }
   2930 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2931 then :
   2932   printf %s "(cached) " >&6
   2933 else $as_nop
   2934   if test -n "$ac_ct_STRIP"; then
   2935   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2936 else
   2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2938 for as_dir in $PATH
   2939 do
   2940   IFS=$as_save_IFS
   2941   case $as_dir in #(((
   2942     '') as_dir=./ ;;
   2943     */) ;;
   2944     *) as_dir=$as_dir/ ;;
   2945   esac
   2946     for ac_exec_ext in '' $ac_executable_extensions; do
   2947   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2948     ac_cv_prog_ac_ct_STRIP="strip"
   2949     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2950     break 2
   2951   fi
   2952 done
   2953   done
   2954 IFS=$as_save_IFS
   2955 
   2956 fi
   2957 fi
   2958 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2959 if test -n "$ac_ct_STRIP"; then
   2960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2961 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2962 else
   2963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2964 printf "%s\n" "no" >&6; }
   2965 fi
   2966 
   2967   if test "x$ac_ct_STRIP" = x; then
   2968     STRIP=":"
   2969   else
   2970     case $cross_compiling:$ac_tool_warned in
   2971 yes:)
   2972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2973 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2974 ac_tool_warned=yes ;;
   2975 esac
   2976     STRIP=$ac_ct_STRIP
   2977   fi
   2978 else
   2979   STRIP="$ac_cv_prog_STRIP"
   2980 fi
   2981 
   2982 fi
   2983 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2984 
   2985 
   2986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2987 printf %s "checking for a race-free mkdir -p... " >&6; }
   2988 if test -z "$MKDIR_P"; then
   2989   if test ${ac_cv_path_mkdir+y}
   2990 then :
   2991   printf %s "(cached) " >&6
   2992 else $as_nop
   2993   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2994 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2995 do
   2996   IFS=$as_save_IFS
   2997   case $as_dir in #(((
   2998     '') as_dir=./ ;;
   2999     */) ;;
   3000     *) as_dir=$as_dir/ ;;
   3001   esac
   3002     for ac_prog in mkdir gmkdir; do
   3003 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3004 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3005 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3006 	     'mkdir ('*'coreutils) '* | \
   3007 	     'BusyBox '* | \
   3008 	     'mkdir (fileutils) '4.1*)
   3009 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3010 	       break 3;;
   3011 	   esac
   3012 	 done
   3013        done
   3014   done
   3015 IFS=$as_save_IFS
   3016 
   3017 fi
   3018 
   3019   test -d ./--version && rmdir ./--version
   3020   if test ${ac_cv_path_mkdir+y}; then
   3021     MKDIR_P="$ac_cv_path_mkdir -p"
   3022   else
   3023     # As a last resort, use the slow shell script.  Don't cache a
   3024     # value for MKDIR_P within a source directory, because that will
   3025     # break other packages using the cache if that directory is
   3026     # removed, or if the value is a relative name.
   3027     MKDIR_P="$ac_install_sh -d"
   3028   fi
   3029 fi
   3030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3031 printf "%s\n" "$MKDIR_P" >&6; }
   3032 
   3033 for ac_prog in gawk mawk nawk awk
   3034 do
   3035   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3036 set dummy $ac_prog; ac_word=$2
   3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3038 printf %s "checking for $ac_word... " >&6; }
   3039 if test ${ac_cv_prog_AWK+y}
   3040 then :
   3041   printf %s "(cached) " >&6
   3042 else $as_nop
   3043   if test -n "$AWK"; then
   3044   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3045 else
   3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3047 for as_dir in $PATH
   3048 do
   3049   IFS=$as_save_IFS
   3050   case $as_dir in #(((
   3051     '') as_dir=./ ;;
   3052     */) ;;
   3053     *) as_dir=$as_dir/ ;;
   3054   esac
   3055     for ac_exec_ext in '' $ac_executable_extensions; do
   3056   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3057     ac_cv_prog_AWK="$ac_prog"
   3058     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3059     break 2
   3060   fi
   3061 done
   3062   done
   3063 IFS=$as_save_IFS
   3064 
   3065 fi
   3066 fi
   3067 AWK=$ac_cv_prog_AWK
   3068 if test -n "$AWK"; then
   3069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3070 printf "%s\n" "$AWK" >&6; }
   3071 else
   3072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3073 printf "%s\n" "no" >&6; }
   3074 fi
   3075 
   3076 
   3077   test -n "$AWK" && break
   3078 done
   3079 
   3080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3081 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3082 set x ${MAKE-make}
   3083 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3084 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3085 then :
   3086   printf %s "(cached) " >&6
   3087 else $as_nop
   3088   cat >conftest.make <<\_ACEOF
   3089 SHELL = /bin/sh
   3090 all:
   3091 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3092 _ACEOF
   3093 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3094 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3095   *@@@%%%=?*=@@@%%%*)
   3096     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3097   *)
   3098     eval ac_cv_prog_make_${ac_make}_set=no;;
   3099 esac
   3100 rm -f conftest.make
   3101 fi
   3102 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3104 printf "%s\n" "yes" >&6; }
   3105   SET_MAKE=
   3106 else
   3107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3108 printf "%s\n" "no" >&6; }
   3109   SET_MAKE="MAKE=${MAKE-make}"
   3110 fi
   3111 
   3112 rm -rf .tst 2>/dev/null
   3113 mkdir .tst 2>/dev/null
   3114 if test -d .tst; then
   3115   am__leading_dot=.
   3116 else
   3117   am__leading_dot=_
   3118 fi
   3119 rmdir .tst 2>/dev/null
   3120 
   3121 # Check whether --enable-silent-rules was given.
   3122 if test ${enable_silent_rules+y}
   3123 then :
   3124   enableval=$enable_silent_rules;
   3125 fi
   3126 
   3127 case $enable_silent_rules in # (((
   3128   yes) AM_DEFAULT_VERBOSITY=0;;
   3129    no) AM_DEFAULT_VERBOSITY=1;;
   3130     *) AM_DEFAULT_VERBOSITY=1;;
   3131 esac
   3132 am_make=${MAKE-make}
   3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3134 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3135 if test ${am_cv_make_support_nested_variables+y}
   3136 then :
   3137   printf %s "(cached) " >&6
   3138 else $as_nop
   3139   if printf "%s\n" 'TRUE=$(BAR$(V))
   3140 BAR0=false
   3141 BAR1=true
   3142 V=1
   3143 am__doit:
   3144 	@$(TRUE)
   3145 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3146   am_cv_make_support_nested_variables=yes
   3147 else
   3148   am_cv_make_support_nested_variables=no
   3149 fi
   3150 fi
   3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3152 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3153 if test $am_cv_make_support_nested_variables = yes; then
   3154     AM_V='$(V)'
   3155   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3156 else
   3157   AM_V=$AM_DEFAULT_VERBOSITY
   3158   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3159 fi
   3160 AM_BACKSLASH='\'
   3161 
   3162 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3163   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3164   # is not polluted with repeated "-I."
   3165   am__isrc=' -I$(srcdir)'
   3166   # test to see if srcdir already configured
   3167   if test -f $srcdir/config.status; then
   3168     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3169   fi
   3170 fi
   3171 
   3172 # test whether we have cygpath
   3173 if test -z "$CYGPATH_W"; then
   3174   if (cygpath --version) >/dev/null 2>/dev/null; then
   3175     CYGPATH_W='cygpath -w'
   3176   else
   3177     CYGPATH_W=echo
   3178   fi
   3179 fi
   3180 
   3181 
   3182 # Define the identity of the package.
   3183  PACKAGE='libXvMC'
   3184  VERSION='1.0.13'
   3185 
   3186 
   3187 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3188 
   3189 
   3190 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3191 
   3192 # Some tools Automake needs.
   3193 
   3194 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3195 
   3196 
   3197 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3198 
   3199 
   3200 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3201 
   3202 
   3203 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3204 
   3205 
   3206 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3207 
   3208 # For better backward compatibility.  To be removed once Automake 1.9.x
   3209 # dies out for good.  For more background, see:
   3210 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3211 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3212 mkdir_p='$(MKDIR_P)'
   3213 
   3214 # We need awk for the "check" target (and possibly the TAP driver).  The
   3215 # system "awk" is bad on some platforms.
   3216 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3217 # in the wild :-(  We should find a proper way to deprecate it ...
   3218 AMTAR='$${TAR-tar}'
   3219 
   3220 
   3221 # We'll loop over all known methods to create a tar archive until one works.
   3222 _am_tools='gnutar  pax cpio none'
   3223 
   3224 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3225 
   3226 
   3227 
   3228 
   3229 
   3230 # Variables for tags utilities; see am/tags.am
   3231 if test -z "$CTAGS"; then
   3232   CTAGS=ctags
   3233 fi
   3234 
   3235 if test -z "$ETAGS"; then
   3236   ETAGS=etags
   3237 fi
   3238 
   3239 if test -z "$CSCOPE"; then
   3240   CSCOPE=cscope
   3241 fi
   3242 
   3243 
   3244 
   3245 # POSIX will say in a future version that running "rm -f" with no argument
   3246 # is OK; and we want to be able to make that assumption in our Makefile
   3247 # recipes.  So use an aggressive probe to check that the usage we want is
   3248 # actually supported "in the wild" to an acceptable degree.
   3249 # See automake bug#10828.
   3250 # To make any issue more visible, cause the running configure to be aborted
   3251 # by default if the 'rm' program in use doesn't match our expectations; the
   3252 # user can still override this though.
   3253 if rm -f && rm -fr && rm -rf; then : OK; else
   3254   cat >&2 <<'END'
   3255 Oops!
   3256 
   3257 Your 'rm' program seems unable to run without file operands specified
   3258 on the command line, even when the '-f' option is present.  This is contrary
   3259 to the behaviour of most rm programs out there, and not conforming with
   3260 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3261 
   3262 Please tell bug-automake@gnu.org about your system, including the value
   3263 of your $PATH and any error possibly output before this message.  This
   3264 can help us improve future automake versions.
   3265 
   3266 END
   3267   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3268     echo 'Configuration will proceed anyway, since you have set the' >&2
   3269     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3270     echo >&2
   3271   else
   3272     cat >&2 <<'END'
   3273 Aborting the configuration process, to ensure you take notice of the issue.
   3274 
   3275 You can download and install GNU coreutils to get an 'rm' implementation
   3276 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3277 
   3278 If you want to complete the configuration process using your problematic
   3279 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3280 to "yes", and re-run configure.
   3281 
   3282 END
   3283     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3284   fi
   3285 fi
   3286 
   3287 
   3288 # Initialize libtool
   3289 case `pwd` in
   3290   *\ * | *\	*)
   3291     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3292 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3293 esac
   3294 
   3295 
   3296 
   3297 macro_version='2.4.6'
   3298 macro_revision='2.4.6'
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 
   3305 
   3306 
   3307 
   3308 
   3309 
   3310 
   3311 
   3312 
   3313 ltmain=$ac_aux_dir/ltmain.sh
   3314 
   3315 
   3316 
   3317   # Make sure we can run config.sub.
   3318 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3319   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3320 
   3321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3322 printf %s "checking build system type... " >&6; }
   3323 if test ${ac_cv_build+y}
   3324 then :
   3325   printf %s "(cached) " >&6
   3326 else $as_nop
   3327   ac_build_alias=$build_alias
   3328 test "x$ac_build_alias" = x &&
   3329   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3330 test "x$ac_build_alias" = x &&
   3331   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3332 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3333   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3334 
   3335 fi
   3336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3337 printf "%s\n" "$ac_cv_build" >&6; }
   3338 case $ac_cv_build in
   3339 *-*-*) ;;
   3340 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3341 esac
   3342 build=$ac_cv_build
   3343 ac_save_IFS=$IFS; IFS='-'
   3344 set x $ac_cv_build
   3345 shift
   3346 build_cpu=$1
   3347 build_vendor=$2
   3348 shift; shift
   3349 # Remember, the first character of IFS is used to create $*,
   3350 # except with old shells:
   3351 build_os=$*
   3352 IFS=$ac_save_IFS
   3353 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3354 
   3355 
   3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3357 printf %s "checking host system type... " >&6; }
   3358 if test ${ac_cv_host+y}
   3359 then :
   3360   printf %s "(cached) " >&6
   3361 else $as_nop
   3362   if test "x$host_alias" = x; then
   3363   ac_cv_host=$ac_cv_build
   3364 else
   3365   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3366     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3367 fi
   3368 
   3369 fi
   3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3371 printf "%s\n" "$ac_cv_host" >&6; }
   3372 case $ac_cv_host in
   3373 *-*-*) ;;
   3374 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3375 esac
   3376 host=$ac_cv_host
   3377 ac_save_IFS=$IFS; IFS='-'
   3378 set x $ac_cv_host
   3379 shift
   3380 host_cpu=$1
   3381 host_vendor=$2
   3382 shift; shift
   3383 # Remember, the first character of IFS is used to create $*,
   3384 # except with old shells:
   3385 host_os=$*
   3386 IFS=$ac_save_IFS
   3387 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3388 
   3389 
   3390 # Backslashify metacharacters that are still active within
   3391 # double-quoted strings.
   3392 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3393 
   3394 # Same as above, but do not quote variable references.
   3395 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3396 
   3397 # Sed substitution to delay expansion of an escaped shell variable in a
   3398 # double_quote_subst'ed string.
   3399 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3400 
   3401 # Sed substitution to delay expansion of an escaped single quote.
   3402 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3403 
   3404 # Sed substitution to avoid accidental globbing in evaled expressions
   3405 no_glob_subst='s/\*/\\\*/g'
   3406 
   3407 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3408 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3409 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3410 
   3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3412 printf %s "checking how to print strings... " >&6; }
   3413 # Test print first, because it will be a builtin if present.
   3414 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3415    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3416   ECHO='print -r --'
   3417 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3418   ECHO='printf %s\n'
   3419 else
   3420   # Use this function as a fallback that always works.
   3421   func_fallback_echo ()
   3422   {
   3423     eval 'cat <<_LTECHO_EOF
   3424 $1
   3425 _LTECHO_EOF'
   3426   }
   3427   ECHO='func_fallback_echo'
   3428 fi
   3429 
   3430 # func_echo_all arg...
   3431 # Invoke $ECHO with all args, space-separated.
   3432 func_echo_all ()
   3433 {
   3434     $ECHO ""
   3435 }
   3436 
   3437 case $ECHO in
   3438   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3439 printf "%s\n" "printf" >&6; } ;;
   3440   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3441 printf "%s\n" "print -r" >&6; } ;;
   3442   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3443 printf "%s\n" "cat" >&6; } ;;
   3444 esac
   3445 
   3446 
   3447 
   3448 
   3449 
   3450 
   3451 
   3452 
   3453 
   3454 
   3455 
   3456 
   3457 
   3458 
   3459 
   3460 
   3461 
   3462 
   3463 
   3464 
   3465 
   3466 
   3467 
   3468 DEPDIR="${am__leading_dot}deps"
   3469 
   3470 ac_config_commands="$ac_config_commands depfiles"
   3471 
   3472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3473 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3474 cat > confinc.mk << 'END'
   3475 am__doit:
   3476 	@echo this is the am__doit target >confinc.out
   3477 .PHONY: am__doit
   3478 END
   3479 am__include="#"
   3480 am__quote=
   3481 # BSD make does it like this.
   3482 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3483 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3484 echo 'include confinc.mk # ignored' > confmf.GNU
   3485 _am_result=no
   3486 for s in GNU BSD; do
   3487   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3488    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3489    ac_status=$?
   3490    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3491    (exit $ac_status); }
   3492   case $?:`cat confinc.out 2>/dev/null` in #(
   3493   '0:this is the am__doit target') :
   3494     case $s in #(
   3495   BSD) :
   3496     am__include='.include' am__quote='"' ;; #(
   3497   *) :
   3498     am__include='include' am__quote='' ;;
   3499 esac ;; #(
   3500   *) :
   3501      ;;
   3502 esac
   3503   if test "$am__include" != "#"; then
   3504     _am_result="yes ($s style)"
   3505     break
   3506   fi
   3507 done
   3508 rm -f confinc.* confmf.*
   3509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3510 printf "%s\n" "${_am_result}" >&6; }
   3511 
   3512 # Check whether --enable-dependency-tracking was given.
   3513 if test ${enable_dependency_tracking+y}
   3514 then :
   3515   enableval=$enable_dependency_tracking;
   3516 fi
   3517 
   3518 if test "x$enable_dependency_tracking" != xno; then
   3519   am_depcomp="$ac_aux_dir/depcomp"
   3520   AMDEPBACKSLASH='\'
   3521   am__nodep='_no'
   3522 fi
   3523  if test "x$enable_dependency_tracking" != xno; then
   3524   AMDEP_TRUE=
   3525   AMDEP_FALSE='#'
   3526 else
   3527   AMDEP_TRUE='#'
   3528   AMDEP_FALSE=
   3529 fi
   3530 
   3531 
   3532 ac_ext=c
   3533 ac_cpp='$CPP $CPPFLAGS'
   3534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3537 if test -n "$ac_tool_prefix"; then
   3538   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3539 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3541 printf %s "checking for $ac_word... " >&6; }
   3542 if test ${ac_cv_prog_CC+y}
   3543 then :
   3544   printf %s "(cached) " >&6
   3545 else $as_nop
   3546   if test -n "$CC"; then
   3547   ac_cv_prog_CC="$CC" # Let the user override the test.
   3548 else
   3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3550 for as_dir in $PATH
   3551 do
   3552   IFS=$as_save_IFS
   3553   case $as_dir in #(((
   3554     '') as_dir=./ ;;
   3555     */) ;;
   3556     *) as_dir=$as_dir/ ;;
   3557   esac
   3558     for ac_exec_ext in '' $ac_executable_extensions; do
   3559   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3560     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3561     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3562     break 2
   3563   fi
   3564 done
   3565   done
   3566 IFS=$as_save_IFS
   3567 
   3568 fi
   3569 fi
   3570 CC=$ac_cv_prog_CC
   3571 if test -n "$CC"; then
   3572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3573 printf "%s\n" "$CC" >&6; }
   3574 else
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3576 printf "%s\n" "no" >&6; }
   3577 fi
   3578 
   3579 
   3580 fi
   3581 if test -z "$ac_cv_prog_CC"; then
   3582   ac_ct_CC=$CC
   3583   # Extract the first word of "gcc", so it can be a program name with args.
   3584 set dummy gcc; ac_word=$2
   3585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3586 printf %s "checking for $ac_word... " >&6; }
   3587 if test ${ac_cv_prog_ac_ct_CC+y}
   3588 then :
   3589   printf %s "(cached) " >&6
   3590 else $as_nop
   3591   if test -n "$ac_ct_CC"; then
   3592   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3593 else
   3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3595 for as_dir in $PATH
   3596 do
   3597   IFS=$as_save_IFS
   3598   case $as_dir in #(((
   3599     '') as_dir=./ ;;
   3600     */) ;;
   3601     *) as_dir=$as_dir/ ;;
   3602   esac
   3603     for ac_exec_ext in '' $ac_executable_extensions; do
   3604   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3605     ac_cv_prog_ac_ct_CC="gcc"
   3606     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3607     break 2
   3608   fi
   3609 done
   3610   done
   3611 IFS=$as_save_IFS
   3612 
   3613 fi
   3614 fi
   3615 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3616 if test -n "$ac_ct_CC"; then
   3617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3618 printf "%s\n" "$ac_ct_CC" >&6; }
   3619 else
   3620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3621 printf "%s\n" "no" >&6; }
   3622 fi
   3623 
   3624   if test "x$ac_ct_CC" = x; then
   3625     CC=""
   3626   else
   3627     case $cross_compiling:$ac_tool_warned in
   3628 yes:)
   3629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3630 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3631 ac_tool_warned=yes ;;
   3632 esac
   3633     CC=$ac_ct_CC
   3634   fi
   3635 else
   3636   CC="$ac_cv_prog_CC"
   3637 fi
   3638 
   3639 if test -z "$CC"; then
   3640           if test -n "$ac_tool_prefix"; then
   3641     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3642 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3644 printf %s "checking for $ac_word... " >&6; }
   3645 if test ${ac_cv_prog_CC+y}
   3646 then :
   3647   printf %s "(cached) " >&6
   3648 else $as_nop
   3649   if test -n "$CC"; then
   3650   ac_cv_prog_CC="$CC" # Let the user override the test.
   3651 else
   3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3653 for as_dir in $PATH
   3654 do
   3655   IFS=$as_save_IFS
   3656   case $as_dir in #(((
   3657     '') as_dir=./ ;;
   3658     */) ;;
   3659     *) as_dir=$as_dir/ ;;
   3660   esac
   3661     for ac_exec_ext in '' $ac_executable_extensions; do
   3662   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3663     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3664     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3665     break 2
   3666   fi
   3667 done
   3668   done
   3669 IFS=$as_save_IFS
   3670 
   3671 fi
   3672 fi
   3673 CC=$ac_cv_prog_CC
   3674 if test -n "$CC"; then
   3675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3676 printf "%s\n" "$CC" >&6; }
   3677 else
   3678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3679 printf "%s\n" "no" >&6; }
   3680 fi
   3681 
   3682 
   3683   fi
   3684 fi
   3685 if test -z "$CC"; then
   3686   # Extract the first word of "cc", so it can be a program name with args.
   3687 set dummy cc; ac_word=$2
   3688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3689 printf %s "checking for $ac_word... " >&6; }
   3690 if test ${ac_cv_prog_CC+y}
   3691 then :
   3692   printf %s "(cached) " >&6
   3693 else $as_nop
   3694   if test -n "$CC"; then
   3695   ac_cv_prog_CC="$CC" # Let the user override the test.
   3696 else
   3697   ac_prog_rejected=no
   3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3699 for as_dir in $PATH
   3700 do
   3701   IFS=$as_save_IFS
   3702   case $as_dir in #(((
   3703     '') as_dir=./ ;;
   3704     */) ;;
   3705     *) as_dir=$as_dir/ ;;
   3706   esac
   3707     for ac_exec_ext in '' $ac_executable_extensions; do
   3708   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3709     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3710        ac_prog_rejected=yes
   3711        continue
   3712      fi
   3713     ac_cv_prog_CC="cc"
   3714     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3715     break 2
   3716   fi
   3717 done
   3718   done
   3719 IFS=$as_save_IFS
   3720 
   3721 if test $ac_prog_rejected = yes; then
   3722   # We found a bogon in the path, so make sure we never use it.
   3723   set dummy $ac_cv_prog_CC
   3724   shift
   3725   if test $# != 0; then
   3726     # We chose a different compiler from the bogus one.
   3727     # However, it has the same basename, so the bogon will be chosen
   3728     # first if we set CC to just the basename; use the full file name.
   3729     shift
   3730     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3731   fi
   3732 fi
   3733 fi
   3734 fi
   3735 CC=$ac_cv_prog_CC
   3736 if test -n "$CC"; then
   3737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3738 printf "%s\n" "$CC" >&6; }
   3739 else
   3740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3741 printf "%s\n" "no" >&6; }
   3742 fi
   3743 
   3744 
   3745 fi
   3746 if test -z "$CC"; then
   3747   if test -n "$ac_tool_prefix"; then
   3748   for ac_prog in cl.exe
   3749   do
   3750     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3753 printf %s "checking for $ac_word... " >&6; }
   3754 if test ${ac_cv_prog_CC+y}
   3755 then :
   3756   printf %s "(cached) " >&6
   3757 else $as_nop
   3758   if test -n "$CC"; then
   3759   ac_cv_prog_CC="$CC" # Let the user override the test.
   3760 else
   3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3762 for as_dir in $PATH
   3763 do
   3764   IFS=$as_save_IFS
   3765   case $as_dir in #(((
   3766     '') as_dir=./ ;;
   3767     */) ;;
   3768     *) as_dir=$as_dir/ ;;
   3769   esac
   3770     for ac_exec_ext in '' $ac_executable_extensions; do
   3771   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3772     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3773     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3774     break 2
   3775   fi
   3776 done
   3777   done
   3778 IFS=$as_save_IFS
   3779 
   3780 fi
   3781 fi
   3782 CC=$ac_cv_prog_CC
   3783 if test -n "$CC"; then
   3784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3785 printf "%s\n" "$CC" >&6; }
   3786 else
   3787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3788 printf "%s\n" "no" >&6; }
   3789 fi
   3790 
   3791 
   3792     test -n "$CC" && break
   3793   done
   3794 fi
   3795 if test -z "$CC"; then
   3796   ac_ct_CC=$CC
   3797   for ac_prog in cl.exe
   3798 do
   3799   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3800 set dummy $ac_prog; ac_word=$2
   3801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3802 printf %s "checking for $ac_word... " >&6; }
   3803 if test ${ac_cv_prog_ac_ct_CC+y}
   3804 then :
   3805   printf %s "(cached) " >&6
   3806 else $as_nop
   3807   if test -n "$ac_ct_CC"; then
   3808   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3809 else
   3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3811 for as_dir in $PATH
   3812 do
   3813   IFS=$as_save_IFS
   3814   case $as_dir in #(((
   3815     '') as_dir=./ ;;
   3816     */) ;;
   3817     *) as_dir=$as_dir/ ;;
   3818   esac
   3819     for ac_exec_ext in '' $ac_executable_extensions; do
   3820   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3821     ac_cv_prog_ac_ct_CC="$ac_prog"
   3822     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3823     break 2
   3824   fi
   3825 done
   3826   done
   3827 IFS=$as_save_IFS
   3828 
   3829 fi
   3830 fi
   3831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3832 if test -n "$ac_ct_CC"; then
   3833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3834 printf "%s\n" "$ac_ct_CC" >&6; }
   3835 else
   3836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3837 printf "%s\n" "no" >&6; }
   3838 fi
   3839 
   3840 
   3841   test -n "$ac_ct_CC" && break
   3842 done
   3843 
   3844   if test "x$ac_ct_CC" = x; then
   3845     CC=""
   3846   else
   3847     case $cross_compiling:$ac_tool_warned in
   3848 yes:)
   3849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3850 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3851 ac_tool_warned=yes ;;
   3852 esac
   3853     CC=$ac_ct_CC
   3854   fi
   3855 fi
   3856 
   3857 fi
   3858 if test -z "$CC"; then
   3859   if test -n "$ac_tool_prefix"; then
   3860   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3861 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3863 printf %s "checking for $ac_word... " >&6; }
   3864 if test ${ac_cv_prog_CC+y}
   3865 then :
   3866   printf %s "(cached) " >&6
   3867 else $as_nop
   3868   if test -n "$CC"; then
   3869   ac_cv_prog_CC="$CC" # Let the user override the test.
   3870 else
   3871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3872 for as_dir in $PATH
   3873 do
   3874   IFS=$as_save_IFS
   3875   case $as_dir in #(((
   3876     '') as_dir=./ ;;
   3877     */) ;;
   3878     *) as_dir=$as_dir/ ;;
   3879   esac
   3880     for ac_exec_ext in '' $ac_executable_extensions; do
   3881   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3882     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3883     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3884     break 2
   3885   fi
   3886 done
   3887   done
   3888 IFS=$as_save_IFS
   3889 
   3890 fi
   3891 fi
   3892 CC=$ac_cv_prog_CC
   3893 if test -n "$CC"; then
   3894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3895 printf "%s\n" "$CC" >&6; }
   3896 else
   3897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3898 printf "%s\n" "no" >&6; }
   3899 fi
   3900 
   3901 
   3902 fi
   3903 if test -z "$ac_cv_prog_CC"; then
   3904   ac_ct_CC=$CC
   3905   # Extract the first word of "clang", so it can be a program name with args.
   3906 set dummy clang; ac_word=$2
   3907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3908 printf %s "checking for $ac_word... " >&6; }
   3909 if test ${ac_cv_prog_ac_ct_CC+y}
   3910 then :
   3911   printf %s "(cached) " >&6
   3912 else $as_nop
   3913   if test -n "$ac_ct_CC"; then
   3914   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3915 else
   3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3917 for as_dir in $PATH
   3918 do
   3919   IFS=$as_save_IFS
   3920   case $as_dir in #(((
   3921     '') as_dir=./ ;;
   3922     */) ;;
   3923     *) as_dir=$as_dir/ ;;
   3924   esac
   3925     for ac_exec_ext in '' $ac_executable_extensions; do
   3926   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3927     ac_cv_prog_ac_ct_CC="clang"
   3928     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3929     break 2
   3930   fi
   3931 done
   3932   done
   3933 IFS=$as_save_IFS
   3934 
   3935 fi
   3936 fi
   3937 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3938 if test -n "$ac_ct_CC"; then
   3939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3940 printf "%s\n" "$ac_ct_CC" >&6; }
   3941 else
   3942   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3943 printf "%s\n" "no" >&6; }
   3944 fi
   3945 
   3946   if test "x$ac_ct_CC" = x; then
   3947     CC=""
   3948   else
   3949     case $cross_compiling:$ac_tool_warned in
   3950 yes:)
   3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3953 ac_tool_warned=yes ;;
   3954 esac
   3955     CC=$ac_ct_CC
   3956   fi
   3957 else
   3958   CC="$ac_cv_prog_CC"
   3959 fi
   3960 
   3961 fi
   3962 
   3963 
   3964 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3965 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3966 as_fn_error $? "no acceptable C compiler found in \$PATH
   3967 See \`config.log' for more details" "$LINENO" 5; }
   3968 
   3969 # Provide some information about the compiler.
   3970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3971 set X $ac_compile
   3972 ac_compiler=$2
   3973 for ac_option in --version -v -V -qversion -version; do
   3974   { { ac_try="$ac_compiler $ac_option >&5"
   3975 case "(($ac_try" in
   3976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3977   *) ac_try_echo=$ac_try;;
   3978 esac
   3979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3980 printf "%s\n" "$ac_try_echo"; } >&5
   3981   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3982   ac_status=$?
   3983   if test -s conftest.err; then
   3984     sed '10a\
   3985 ... rest of stderr output deleted ...
   3986          10q' conftest.err >conftest.er1
   3987     cat conftest.er1 >&5
   3988   fi
   3989   rm -f conftest.er1 conftest.err
   3990   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3991   test $ac_status = 0; }
   3992 done
   3993 
   3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 
   3997 int
   3998 main (void)
   3999 {
   4000 
   4001   ;
   4002   return 0;
   4003 }
   4004 _ACEOF
   4005 ac_clean_files_save=$ac_clean_files
   4006 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4007 # Try to create an executable without -o first, disregard a.out.
   4008 # It will help us diagnose broken compilers, and finding out an intuition
   4009 # of exeext.
   4010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4011 printf %s "checking whether the C compiler works... " >&6; }
   4012 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4013 
   4014 # The possible output files:
   4015 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4016 
   4017 ac_rmfiles=
   4018 for ac_file in $ac_files
   4019 do
   4020   case $ac_file in
   4021     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4022     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4023   esac
   4024 done
   4025 rm -f $ac_rmfiles
   4026 
   4027 if { { ac_try="$ac_link_default"
   4028 case "(($ac_try" in
   4029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4030   *) ac_try_echo=$ac_try;;
   4031 esac
   4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4033 printf "%s\n" "$ac_try_echo"; } >&5
   4034   (eval "$ac_link_default") 2>&5
   4035   ac_status=$?
   4036   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4037   test $ac_status = 0; }
   4038 then :
   4039   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4040 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4041 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4042 # so that the user can short-circuit this test for compilers unknown to
   4043 # Autoconf.
   4044 for ac_file in $ac_files ''
   4045 do
   4046   test -f "$ac_file" || continue
   4047   case $ac_file in
   4048     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4049 	;;
   4050     [ab].out )
   4051 	# We found the default executable, but exeext='' is most
   4052 	# certainly right.
   4053 	break;;
   4054     *.* )
   4055 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4056 	then :; else
   4057 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4058 	fi
   4059 	# We set ac_cv_exeext here because the later test for it is not
   4060 	# safe: cross compilers may not add the suffix if given an `-o'
   4061 	# argument, so we may need to know it at that point already.
   4062 	# Even if this section looks crufty: it has the advantage of
   4063 	# actually working.
   4064 	break;;
   4065     * )
   4066 	break;;
   4067   esac
   4068 done
   4069 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4070 
   4071 else $as_nop
   4072   ac_file=''
   4073 fi
   4074 if test -z "$ac_file"
   4075 then :
   4076   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4077 printf "%s\n" "no" >&6; }
   4078 printf "%s\n" "$as_me: failed program was:" >&5
   4079 sed 's/^/| /' conftest.$ac_ext >&5
   4080 
   4081 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4082 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4083 as_fn_error 77 "C compiler cannot create executables
   4084 See \`config.log' for more details" "$LINENO" 5; }
   4085 else $as_nop
   4086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4087 printf "%s\n" "yes" >&6; }
   4088 fi
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4090 printf %s "checking for C compiler default output file name... " >&6; }
   4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4092 printf "%s\n" "$ac_file" >&6; }
   4093 ac_exeext=$ac_cv_exeext
   4094 
   4095 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4096 ac_clean_files=$ac_clean_files_save
   4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4098 printf %s "checking for suffix of executables... " >&6; }
   4099 if { { ac_try="$ac_link"
   4100 case "(($ac_try" in
   4101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4102   *) ac_try_echo=$ac_try;;
   4103 esac
   4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4105 printf "%s\n" "$ac_try_echo"; } >&5
   4106   (eval "$ac_link") 2>&5
   4107   ac_status=$?
   4108   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4109   test $ac_status = 0; }
   4110 then :
   4111   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4112 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4113 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4114 # `rm'.
   4115 for ac_file in conftest.exe conftest conftest.*; do
   4116   test -f "$ac_file" || continue
   4117   case $ac_file in
   4118     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4119     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4120 	  break;;
   4121     * ) break;;
   4122   esac
   4123 done
   4124 else $as_nop
   4125   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4126 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4127 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4128 See \`config.log' for more details" "$LINENO" 5; }
   4129 fi
   4130 rm -f conftest conftest$ac_cv_exeext
   4131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4132 printf "%s\n" "$ac_cv_exeext" >&6; }
   4133 
   4134 rm -f conftest.$ac_ext
   4135 EXEEXT=$ac_cv_exeext
   4136 ac_exeext=$EXEEXT
   4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4138 /* end confdefs.h.  */
   4139 #include <stdio.h>
   4140 int
   4141 main (void)
   4142 {
   4143 FILE *f = fopen ("conftest.out", "w");
   4144  return ferror (f) || fclose (f) != 0;
   4145 
   4146   ;
   4147   return 0;
   4148 }
   4149 _ACEOF
   4150 ac_clean_files="$ac_clean_files conftest.out"
   4151 # Check that the compiler produces executables we can run.  If not, either
   4152 # the compiler is broken, or we cross compile.
   4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4154 printf %s "checking whether we are cross compiling... " >&6; }
   4155 if test "$cross_compiling" != yes; then
   4156   { { ac_try="$ac_link"
   4157 case "(($ac_try" in
   4158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4159   *) ac_try_echo=$ac_try;;
   4160 esac
   4161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4162 printf "%s\n" "$ac_try_echo"; } >&5
   4163   (eval "$ac_link") 2>&5
   4164   ac_status=$?
   4165   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4166   test $ac_status = 0; }
   4167   if { ac_try='./conftest$ac_cv_exeext'
   4168   { { case "(($ac_try" in
   4169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4170   *) ac_try_echo=$ac_try;;
   4171 esac
   4172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4173 printf "%s\n" "$ac_try_echo"; } >&5
   4174   (eval "$ac_try") 2>&5
   4175   ac_status=$?
   4176   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4177   test $ac_status = 0; }; }; then
   4178     cross_compiling=no
   4179   else
   4180     if test "$cross_compiling" = maybe; then
   4181 	cross_compiling=yes
   4182     else
   4183 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4184 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4185 as_fn_error 77 "cannot run C compiled programs.
   4186 If you meant to cross compile, use \`--host'.
   4187 See \`config.log' for more details" "$LINENO" 5; }
   4188     fi
   4189   fi
   4190 fi
   4191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4192 printf "%s\n" "$cross_compiling" >&6; }
   4193 
   4194 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4195 ac_clean_files=$ac_clean_files_save
   4196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4197 printf %s "checking for suffix of object files... " >&6; }
   4198 if test ${ac_cv_objext+y}
   4199 then :
   4200   printf %s "(cached) " >&6
   4201 else $as_nop
   4202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4203 /* end confdefs.h.  */
   4204 
   4205 int
   4206 main (void)
   4207 {
   4208 
   4209   ;
   4210   return 0;
   4211 }
   4212 _ACEOF
   4213 rm -f conftest.o conftest.obj
   4214 if { { ac_try="$ac_compile"
   4215 case "(($ac_try" in
   4216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4217   *) ac_try_echo=$ac_try;;
   4218 esac
   4219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4220 printf "%s\n" "$ac_try_echo"; } >&5
   4221   (eval "$ac_compile") 2>&5
   4222   ac_status=$?
   4223   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4224   test $ac_status = 0; }
   4225 then :
   4226   for ac_file in conftest.o conftest.obj conftest.*; do
   4227   test -f "$ac_file" || continue;
   4228   case $ac_file in
   4229     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4230     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4231        break;;
   4232   esac
   4233 done
   4234 else $as_nop
   4235   printf "%s\n" "$as_me: failed program was:" >&5
   4236 sed 's/^/| /' conftest.$ac_ext >&5
   4237 
   4238 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4239 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4240 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4241 See \`config.log' for more details" "$LINENO" 5; }
   4242 fi
   4243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4244 fi
   4245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4246 printf "%s\n" "$ac_cv_objext" >&6; }
   4247 OBJEXT=$ac_cv_objext
   4248 ac_objext=$OBJEXT
   4249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4250 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4251 if test ${ac_cv_c_compiler_gnu+y}
   4252 then :
   4253   printf %s "(cached) " >&6
   4254 else $as_nop
   4255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4256 /* end confdefs.h.  */
   4257 
   4258 int
   4259 main (void)
   4260 {
   4261 #ifndef __GNUC__
   4262        choke me
   4263 #endif
   4264 
   4265   ;
   4266   return 0;
   4267 }
   4268 _ACEOF
   4269 if ac_fn_c_try_compile "$LINENO"
   4270 then :
   4271   ac_compiler_gnu=yes
   4272 else $as_nop
   4273   ac_compiler_gnu=no
   4274 fi
   4275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4277 
   4278 fi
   4279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4280 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4282 
   4283 if test $ac_compiler_gnu = yes; then
   4284   GCC=yes
   4285 else
   4286   GCC=
   4287 fi
   4288 ac_test_CFLAGS=${CFLAGS+y}
   4289 ac_save_CFLAGS=$CFLAGS
   4290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4291 printf %s "checking whether $CC accepts -g... " >&6; }
   4292 if test ${ac_cv_prog_cc_g+y}
   4293 then :
   4294   printf %s "(cached) " >&6
   4295 else $as_nop
   4296   ac_save_c_werror_flag=$ac_c_werror_flag
   4297    ac_c_werror_flag=yes
   4298    ac_cv_prog_cc_g=no
   4299    CFLAGS="-g"
   4300    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4301 /* end confdefs.h.  */
   4302 
   4303 int
   4304 main (void)
   4305 {
   4306 
   4307   ;
   4308   return 0;
   4309 }
   4310 _ACEOF
   4311 if ac_fn_c_try_compile "$LINENO"
   4312 then :
   4313   ac_cv_prog_cc_g=yes
   4314 else $as_nop
   4315   CFLAGS=""
   4316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4317 /* end confdefs.h.  */
   4318 
   4319 int
   4320 main (void)
   4321 {
   4322 
   4323   ;
   4324   return 0;
   4325 }
   4326 _ACEOF
   4327 if ac_fn_c_try_compile "$LINENO"
   4328 then :
   4329 
   4330 else $as_nop
   4331   ac_c_werror_flag=$ac_save_c_werror_flag
   4332 	 CFLAGS="-g"
   4333 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4334 /* end confdefs.h.  */
   4335 
   4336 int
   4337 main (void)
   4338 {
   4339 
   4340   ;
   4341   return 0;
   4342 }
   4343 _ACEOF
   4344 if ac_fn_c_try_compile "$LINENO"
   4345 then :
   4346   ac_cv_prog_cc_g=yes
   4347 fi
   4348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4349 fi
   4350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4351 fi
   4352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4353    ac_c_werror_flag=$ac_save_c_werror_flag
   4354 fi
   4355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4356 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4357 if test $ac_test_CFLAGS; then
   4358   CFLAGS=$ac_save_CFLAGS
   4359 elif test $ac_cv_prog_cc_g = yes; then
   4360   if test "$GCC" = yes; then
   4361     CFLAGS="-g -O2"
   4362   else
   4363     CFLAGS="-g"
   4364   fi
   4365 else
   4366   if test "$GCC" = yes; then
   4367     CFLAGS="-O2"
   4368   else
   4369     CFLAGS=
   4370   fi
   4371 fi
   4372 ac_prog_cc_stdc=no
   4373 if test x$ac_prog_cc_stdc = xno
   4374 then :
   4375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4376 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4377 if test ${ac_cv_prog_cc_c11+y}
   4378 then :
   4379   printf %s "(cached) " >&6
   4380 else $as_nop
   4381   ac_cv_prog_cc_c11=no
   4382 ac_save_CC=$CC
   4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4384 /* end confdefs.h.  */
   4385 $ac_c_conftest_c11_program
   4386 _ACEOF
   4387 for ac_arg in '' -std=gnu11
   4388 do
   4389   CC="$ac_save_CC $ac_arg"
   4390   if ac_fn_c_try_compile "$LINENO"
   4391 then :
   4392   ac_cv_prog_cc_c11=$ac_arg
   4393 fi
   4394 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4395   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4396 done
   4397 rm -f conftest.$ac_ext
   4398 CC=$ac_save_CC
   4399 fi
   4400 
   4401 if test "x$ac_cv_prog_cc_c11" = xno
   4402 then :
   4403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4404 printf "%s\n" "unsupported" >&6; }
   4405 else $as_nop
   4406   if test "x$ac_cv_prog_cc_c11" = x
   4407 then :
   4408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4409 printf "%s\n" "none needed" >&6; }
   4410 else $as_nop
   4411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4412 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4413      CC="$CC $ac_cv_prog_cc_c11"
   4414 fi
   4415   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4416   ac_prog_cc_stdc=c11
   4417 fi
   4418 fi
   4419 if test x$ac_prog_cc_stdc = xno
   4420 then :
   4421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4422 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4423 if test ${ac_cv_prog_cc_c99+y}
   4424 then :
   4425   printf %s "(cached) " >&6
   4426 else $as_nop
   4427   ac_cv_prog_cc_c99=no
   4428 ac_save_CC=$CC
   4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4430 /* end confdefs.h.  */
   4431 $ac_c_conftest_c99_program
   4432 _ACEOF
   4433 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4434 do
   4435   CC="$ac_save_CC $ac_arg"
   4436   if ac_fn_c_try_compile "$LINENO"
   4437 then :
   4438   ac_cv_prog_cc_c99=$ac_arg
   4439 fi
   4440 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4441   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4442 done
   4443 rm -f conftest.$ac_ext
   4444 CC=$ac_save_CC
   4445 fi
   4446 
   4447 if test "x$ac_cv_prog_cc_c99" = xno
   4448 then :
   4449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4450 printf "%s\n" "unsupported" >&6; }
   4451 else $as_nop
   4452   if test "x$ac_cv_prog_cc_c99" = x
   4453 then :
   4454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4455 printf "%s\n" "none needed" >&6; }
   4456 else $as_nop
   4457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4458 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4459      CC="$CC $ac_cv_prog_cc_c99"
   4460 fi
   4461   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4462   ac_prog_cc_stdc=c99
   4463 fi
   4464 fi
   4465 if test x$ac_prog_cc_stdc = xno
   4466 then :
   4467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4468 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4469 if test ${ac_cv_prog_cc_c89+y}
   4470 then :
   4471   printf %s "(cached) " >&6
   4472 else $as_nop
   4473   ac_cv_prog_cc_c89=no
   4474 ac_save_CC=$CC
   4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4476 /* end confdefs.h.  */
   4477 $ac_c_conftest_c89_program
   4478 _ACEOF
   4479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4480 do
   4481   CC="$ac_save_CC $ac_arg"
   4482   if ac_fn_c_try_compile "$LINENO"
   4483 then :
   4484   ac_cv_prog_cc_c89=$ac_arg
   4485 fi
   4486 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4487   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4488 done
   4489 rm -f conftest.$ac_ext
   4490 CC=$ac_save_CC
   4491 fi
   4492 
   4493 if test "x$ac_cv_prog_cc_c89" = xno
   4494 then :
   4495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4496 printf "%s\n" "unsupported" >&6; }
   4497 else $as_nop
   4498   if test "x$ac_cv_prog_cc_c89" = x
   4499 then :
   4500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4501 printf "%s\n" "none needed" >&6; }
   4502 else $as_nop
   4503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4504 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4505      CC="$CC $ac_cv_prog_cc_c89"
   4506 fi
   4507   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4508   ac_prog_cc_stdc=c89
   4509 fi
   4510 fi
   4511 
   4512 ac_ext=c
   4513 ac_cpp='$CPP $CPPFLAGS'
   4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4517 
   4518 
   4519   ac_ext=c
   4520 ac_cpp='$CPP $CPPFLAGS'
   4521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4525 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4526 if test ${am_cv_prog_cc_c_o+y}
   4527 then :
   4528   printf %s "(cached) " >&6
   4529 else $as_nop
   4530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4531 /* end confdefs.h.  */
   4532 
   4533 int
   4534 main (void)
   4535 {
   4536 
   4537   ;
   4538   return 0;
   4539 }
   4540 _ACEOF
   4541   # Make sure it works both with $CC and with simple cc.
   4542   # Following AC_PROG_CC_C_O, we do the test twice because some
   4543   # compilers refuse to overwrite an existing .o file with -o,
   4544   # though they will create one.
   4545   am_cv_prog_cc_c_o=yes
   4546   for am_i in 1 2; do
   4547     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4548    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4549    ac_status=$?
   4550    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4551    (exit $ac_status); } \
   4552          && test -f conftest2.$ac_objext; then
   4553       : OK
   4554     else
   4555       am_cv_prog_cc_c_o=no
   4556       break
   4557     fi
   4558   done
   4559   rm -f core conftest*
   4560   unset am_i
   4561 fi
   4562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4563 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4564 if test "$am_cv_prog_cc_c_o" != yes; then
   4565    # Losing compiler, so override with the script.
   4566    # FIXME: It is wrong to rewrite CC.
   4567    # But if we don't then we get into trouble of one sort or another.
   4568    # A longer-term fix would be to have automake use am__CC in this case,
   4569    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4570    CC="$am_aux_dir/compile $CC"
   4571 fi
   4572 ac_ext=c
   4573 ac_cpp='$CPP $CPPFLAGS'
   4574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4577 
   4578 
   4579 depcc="$CC"   am_compiler_list=
   4580 
   4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4582 printf %s "checking dependency style of $depcc... " >&6; }
   4583 if test ${am_cv_CC_dependencies_compiler_type+y}
   4584 then :
   4585   printf %s "(cached) " >&6
   4586 else $as_nop
   4587   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4588   # We make a subdir and do the tests there.  Otherwise we can end up
   4589   # making bogus files that we don't know about and never remove.  For
   4590   # instance it was reported that on HP-UX the gcc test will end up
   4591   # making a dummy file named 'D' -- because '-MD' means "put the output
   4592   # in D".
   4593   rm -rf conftest.dir
   4594   mkdir conftest.dir
   4595   # Copy depcomp to subdir because otherwise we won't find it if we're
   4596   # using a relative directory.
   4597   cp "$am_depcomp" conftest.dir
   4598   cd conftest.dir
   4599   # We will build objects and dependencies in a subdirectory because
   4600   # it helps to detect inapplicable dependency modes.  For instance
   4601   # both Tru64's cc and ICC support -MD to output dependencies as a
   4602   # side effect of compilation, but ICC will put the dependencies in
   4603   # the current directory while Tru64 will put them in the object
   4604   # directory.
   4605   mkdir sub
   4606 
   4607   am_cv_CC_dependencies_compiler_type=none
   4608   if test "$am_compiler_list" = ""; then
   4609      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4610   fi
   4611   am__universal=false
   4612   case " $depcc " in #(
   4613      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4614      esac
   4615 
   4616   for depmode in $am_compiler_list; do
   4617     # Setup a source with many dependencies, because some compilers
   4618     # like to wrap large dependency lists on column 80 (with \), and
   4619     # we should not choose a depcomp mode which is confused by this.
   4620     #
   4621     # We need to recreate these files for each test, as the compiler may
   4622     # overwrite some of them when testing with obscure command lines.
   4623     # This happens at least with the AIX C compiler.
   4624     : > sub/conftest.c
   4625     for i in 1 2 3 4 5 6; do
   4626       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4627       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4628       # Solaris 10 /bin/sh.
   4629       echo '/* dummy */' > sub/conftst$i.h
   4630     done
   4631     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4632 
   4633     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4634     # mode.  It turns out that the SunPro C++ compiler does not properly
   4635     # handle '-M -o', and we need to detect this.  Also, some Intel
   4636     # versions had trouble with output in subdirs.
   4637     am__obj=sub/conftest.${OBJEXT-o}
   4638     am__minus_obj="-o $am__obj"
   4639     case $depmode in
   4640     gcc)
   4641       # This depmode causes a compiler race in universal mode.
   4642       test "$am__universal" = false || continue
   4643       ;;
   4644     nosideeffect)
   4645       # After this tag, mechanisms are not by side-effect, so they'll
   4646       # only be used when explicitly requested.
   4647       if test "x$enable_dependency_tracking" = xyes; then
   4648 	continue
   4649       else
   4650 	break
   4651       fi
   4652       ;;
   4653     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4654       # This compiler won't grok '-c -o', but also, the minuso test has
   4655       # not run yet.  These depmodes are late enough in the game, and
   4656       # so weak that their functioning should not be impacted.
   4657       am__obj=conftest.${OBJEXT-o}
   4658       am__minus_obj=
   4659       ;;
   4660     none) break ;;
   4661     esac
   4662     if depmode=$depmode \
   4663        source=sub/conftest.c object=$am__obj \
   4664        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4665        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4666          >/dev/null 2>conftest.err &&
   4667        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4668        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4669        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4670        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4671       # icc doesn't choke on unknown options, it will just issue warnings
   4672       # or remarks (even with -Werror).  So we grep stderr for any message
   4673       # that says an option was ignored or not supported.
   4674       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4675       #   icc: Command line warning: ignoring option '-M'; no argument required
   4676       # The diagnosis changed in icc 8.0:
   4677       #   icc: Command line remark: option '-MP' not supported
   4678       if (grep 'ignoring option' conftest.err ||
   4679           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4680         am_cv_CC_dependencies_compiler_type=$depmode
   4681         break
   4682       fi
   4683     fi
   4684   done
   4685 
   4686   cd ..
   4687   rm -rf conftest.dir
   4688 else
   4689   am_cv_CC_dependencies_compiler_type=none
   4690 fi
   4691 
   4692 fi
   4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4694 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4695 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4696 
   4697  if
   4698   test "x$enable_dependency_tracking" != xno \
   4699   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4700   am__fastdepCC_TRUE=
   4701   am__fastdepCC_FALSE='#'
   4702 else
   4703   am__fastdepCC_TRUE='#'
   4704   am__fastdepCC_FALSE=
   4705 fi
   4706 
   4707 
   4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4709 printf %s "checking for a sed that does not truncate output... " >&6; }
   4710 if test ${ac_cv_path_SED+y}
   4711 then :
   4712   printf %s "(cached) " >&6
   4713 else $as_nop
   4714             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4715      for ac_i in 1 2 3 4 5 6 7; do
   4716        ac_script="$ac_script$as_nl$ac_script"
   4717      done
   4718      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4719      { ac_script=; unset ac_script;}
   4720      if test -z "$SED"; then
   4721   ac_path_SED_found=false
   4722   # Loop through the user's path and test for each of PROGNAME-LIST
   4723   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4724 for as_dir in $PATH
   4725 do
   4726   IFS=$as_save_IFS
   4727   case $as_dir in #(((
   4728     '') as_dir=./ ;;
   4729     */) ;;
   4730     *) as_dir=$as_dir/ ;;
   4731   esac
   4732     for ac_prog in sed gsed
   4733    do
   4734     for ac_exec_ext in '' $ac_executable_extensions; do
   4735       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4736       as_fn_executable_p "$ac_path_SED" || continue
   4737 # Check for GNU ac_path_SED and select it if it is found.
   4738   # Check for GNU $ac_path_SED
   4739 case `"$ac_path_SED" --version 2>&1` in
   4740 *GNU*)
   4741   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4742 *)
   4743   ac_count=0
   4744   printf %s 0123456789 >"conftest.in"
   4745   while :
   4746   do
   4747     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4748     mv "conftest.tmp" "conftest.in"
   4749     cp "conftest.in" "conftest.nl"
   4750     printf "%s\n" '' >> "conftest.nl"
   4751     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4752     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4753     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4754     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4755       # Best one so far, save it but keep looking for a better one
   4756       ac_cv_path_SED="$ac_path_SED"
   4757       ac_path_SED_max=$ac_count
   4758     fi
   4759     # 10*(2^10) chars as input seems more than enough
   4760     test $ac_count -gt 10 && break
   4761   done
   4762   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4763 esac
   4764 
   4765       $ac_path_SED_found && break 3
   4766     done
   4767   done
   4768   done
   4769 IFS=$as_save_IFS
   4770   if test -z "$ac_cv_path_SED"; then
   4771     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4772   fi
   4773 else
   4774   ac_cv_path_SED=$SED
   4775 fi
   4776 
   4777 fi
   4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4779 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4780  SED="$ac_cv_path_SED"
   4781   rm -f conftest.sed
   4782 
   4783 test -z "$SED" && SED=sed
   4784 Xsed="$SED -e 1s/^X//"
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 
   4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4797 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4798 if test ${ac_cv_path_GREP+y}
   4799 then :
   4800   printf %s "(cached) " >&6
   4801 else $as_nop
   4802   if test -z "$GREP"; then
   4803   ac_path_GREP_found=false
   4804   # Loop through the user's path and test for each of PROGNAME-LIST
   4805   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4807 do
   4808   IFS=$as_save_IFS
   4809   case $as_dir in #(((
   4810     '') as_dir=./ ;;
   4811     */) ;;
   4812     *) as_dir=$as_dir/ ;;
   4813   esac
   4814     for ac_prog in grep ggrep
   4815    do
   4816     for ac_exec_ext in '' $ac_executable_extensions; do
   4817       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4818       as_fn_executable_p "$ac_path_GREP" || continue
   4819 # Check for GNU ac_path_GREP and select it if it is found.
   4820   # Check for GNU $ac_path_GREP
   4821 case `"$ac_path_GREP" --version 2>&1` in
   4822 *GNU*)
   4823   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4824 *)
   4825   ac_count=0
   4826   printf %s 0123456789 >"conftest.in"
   4827   while :
   4828   do
   4829     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4830     mv "conftest.tmp" "conftest.in"
   4831     cp "conftest.in" "conftest.nl"
   4832     printf "%s\n" 'GREP' >> "conftest.nl"
   4833     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4834     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4835     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4836     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4837       # Best one so far, save it but keep looking for a better one
   4838       ac_cv_path_GREP="$ac_path_GREP"
   4839       ac_path_GREP_max=$ac_count
   4840     fi
   4841     # 10*(2^10) chars as input seems more than enough
   4842     test $ac_count -gt 10 && break
   4843   done
   4844   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4845 esac
   4846 
   4847       $ac_path_GREP_found && break 3
   4848     done
   4849   done
   4850   done
   4851 IFS=$as_save_IFS
   4852   if test -z "$ac_cv_path_GREP"; then
   4853     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4854   fi
   4855 else
   4856   ac_cv_path_GREP=$GREP
   4857 fi
   4858 
   4859 fi
   4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4861 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4862  GREP="$ac_cv_path_GREP"
   4863 
   4864 
   4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4866 printf %s "checking for egrep... " >&6; }
   4867 if test ${ac_cv_path_EGREP+y}
   4868 then :
   4869   printf %s "(cached) " >&6
   4870 else $as_nop
   4871   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4872    then ac_cv_path_EGREP="$GREP -E"
   4873    else
   4874      if test -z "$EGREP"; then
   4875   ac_path_EGREP_found=false
   4876   # Loop through the user's path and test for each of PROGNAME-LIST
   4877   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4879 do
   4880   IFS=$as_save_IFS
   4881   case $as_dir in #(((
   4882     '') as_dir=./ ;;
   4883     */) ;;
   4884     *) as_dir=$as_dir/ ;;
   4885   esac
   4886     for ac_prog in egrep
   4887    do
   4888     for ac_exec_ext in '' $ac_executable_extensions; do
   4889       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4890       as_fn_executable_p "$ac_path_EGREP" || continue
   4891 # Check for GNU ac_path_EGREP and select it if it is found.
   4892   # Check for GNU $ac_path_EGREP
   4893 case `"$ac_path_EGREP" --version 2>&1` in
   4894 *GNU*)
   4895   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4896 *)
   4897   ac_count=0
   4898   printf %s 0123456789 >"conftest.in"
   4899   while :
   4900   do
   4901     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4902     mv "conftest.tmp" "conftest.in"
   4903     cp "conftest.in" "conftest.nl"
   4904     printf "%s\n" 'EGREP' >> "conftest.nl"
   4905     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4906     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4907     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4908     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4909       # Best one so far, save it but keep looking for a better one
   4910       ac_cv_path_EGREP="$ac_path_EGREP"
   4911       ac_path_EGREP_max=$ac_count
   4912     fi
   4913     # 10*(2^10) chars as input seems more than enough
   4914     test $ac_count -gt 10 && break
   4915   done
   4916   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4917 esac
   4918 
   4919       $ac_path_EGREP_found && break 3
   4920     done
   4921   done
   4922   done
   4923 IFS=$as_save_IFS
   4924   if test -z "$ac_cv_path_EGREP"; then
   4925     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4926   fi
   4927 else
   4928   ac_cv_path_EGREP=$EGREP
   4929 fi
   4930 
   4931    fi
   4932 fi
   4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4934 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4935  EGREP="$ac_cv_path_EGREP"
   4936 
   4937 
   4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4939 printf %s "checking for fgrep... " >&6; }
   4940 if test ${ac_cv_path_FGREP+y}
   4941 then :
   4942   printf %s "(cached) " >&6
   4943 else $as_nop
   4944   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4945    then ac_cv_path_FGREP="$GREP -F"
   4946    else
   4947      if test -z "$FGREP"; then
   4948   ac_path_FGREP_found=false
   4949   # Loop through the user's path and test for each of PROGNAME-LIST
   4950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4951 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4952 do
   4953   IFS=$as_save_IFS
   4954   case $as_dir in #(((
   4955     '') as_dir=./ ;;
   4956     */) ;;
   4957     *) as_dir=$as_dir/ ;;
   4958   esac
   4959     for ac_prog in fgrep
   4960    do
   4961     for ac_exec_ext in '' $ac_executable_extensions; do
   4962       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4963       as_fn_executable_p "$ac_path_FGREP" || continue
   4964 # Check for GNU ac_path_FGREP and select it if it is found.
   4965   # Check for GNU $ac_path_FGREP
   4966 case `"$ac_path_FGREP" --version 2>&1` in
   4967 *GNU*)
   4968   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4969 *)
   4970   ac_count=0
   4971   printf %s 0123456789 >"conftest.in"
   4972   while :
   4973   do
   4974     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4975     mv "conftest.tmp" "conftest.in"
   4976     cp "conftest.in" "conftest.nl"
   4977     printf "%s\n" 'FGREP' >> "conftest.nl"
   4978     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4979     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4980     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4981     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4982       # Best one so far, save it but keep looking for a better one
   4983       ac_cv_path_FGREP="$ac_path_FGREP"
   4984       ac_path_FGREP_max=$ac_count
   4985     fi
   4986     # 10*(2^10) chars as input seems more than enough
   4987     test $ac_count -gt 10 && break
   4988   done
   4989   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4990 esac
   4991 
   4992       $ac_path_FGREP_found && break 3
   4993     done
   4994   done
   4995   done
   4996 IFS=$as_save_IFS
   4997   if test -z "$ac_cv_path_FGREP"; then
   4998     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4999   fi
   5000 else
   5001   ac_cv_path_FGREP=$FGREP
   5002 fi
   5003 
   5004    fi
   5005 fi
   5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5007 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5008  FGREP="$ac_cv_path_FGREP"
   5009 
   5010 
   5011 test -z "$GREP" && GREP=grep
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 # Check whether --with-gnu-ld was given.
   5032 if test ${with_gnu_ld+y}
   5033 then :
   5034   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5035 else $as_nop
   5036   with_gnu_ld=no
   5037 fi
   5038 
   5039 ac_prog=ld
   5040 if test yes = "$GCC"; then
   5041   # Check if gcc -print-prog-name=ld gives a path.
   5042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5043 printf %s "checking for ld used by $CC... " >&6; }
   5044   case $host in
   5045   *-*-mingw*)
   5046     # gcc leaves a trailing carriage return, which upsets mingw
   5047     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5048   *)
   5049     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5050   esac
   5051   case $ac_prog in
   5052     # Accept absolute paths.
   5053     [\\/]* | ?:[\\/]*)
   5054       re_direlt='/[^/][^/]*/\.\./'
   5055       # Canonicalize the pathname of ld
   5056       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5057       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5058 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5059       done
   5060       test -z "$LD" && LD=$ac_prog
   5061       ;;
   5062   "")
   5063     # If it fails, then pretend we aren't using GCC.
   5064     ac_prog=ld
   5065     ;;
   5066   *)
   5067     # If it is relative, then search for the first ld in PATH.
   5068     with_gnu_ld=unknown
   5069     ;;
   5070   esac
   5071 elif test yes = "$with_gnu_ld"; then
   5072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5073 printf %s "checking for GNU ld... " >&6; }
   5074 else
   5075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5076 printf %s "checking for non-GNU ld... " >&6; }
   5077 fi
   5078 if test ${lt_cv_path_LD+y}
   5079 then :
   5080   printf %s "(cached) " >&6
   5081 else $as_nop
   5082   if test -z "$LD"; then
   5083   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5084   for ac_dir in $PATH; do
   5085     IFS=$lt_save_ifs
   5086     test -z "$ac_dir" && ac_dir=.
   5087     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5088       lt_cv_path_LD=$ac_dir/$ac_prog
   5089       # Check to see if the program is GNU ld.  I'd rather use --version,
   5090       # but apparently some variants of GNU ld only accept -v.
   5091       # Break only if it was the GNU/non-GNU ld that we prefer.
   5092       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5093       *GNU* | *'with BFD'*)
   5094 	test no != "$with_gnu_ld" && break
   5095 	;;
   5096       *)
   5097 	test yes != "$with_gnu_ld" && break
   5098 	;;
   5099       esac
   5100     fi
   5101   done
   5102   IFS=$lt_save_ifs
   5103 else
   5104   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5105 fi
   5106 fi
   5107 
   5108 LD=$lt_cv_path_LD
   5109 if test -n "$LD"; then
   5110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5111 printf "%s\n" "$LD" >&6; }
   5112 else
   5113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5114 printf "%s\n" "no" >&6; }
   5115 fi
   5116 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5118 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5119 if test ${lt_cv_prog_gnu_ld+y}
   5120 then :
   5121   printf %s "(cached) " >&6
   5122 else $as_nop
   5123   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5124 case `$LD -v 2>&1 </dev/null` in
   5125 *GNU* | *'with BFD'*)
   5126   lt_cv_prog_gnu_ld=yes
   5127   ;;
   5128 *)
   5129   lt_cv_prog_gnu_ld=no
   5130   ;;
   5131 esac
   5132 fi
   5133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5134 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5135 with_gnu_ld=$lt_cv_prog_gnu_ld
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5146 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5147 if test ${lt_cv_path_NM+y}
   5148 then :
   5149   printf %s "(cached) " >&6
   5150 else $as_nop
   5151   if test -n "$NM"; then
   5152   # Let the user override the test.
   5153   lt_cv_path_NM=$NM
   5154 else
   5155   lt_nm_to_check=${ac_tool_prefix}nm
   5156   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5157     lt_nm_to_check="$lt_nm_to_check nm"
   5158   fi
   5159   for lt_tmp_nm in $lt_nm_to_check; do
   5160     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5161     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5162       IFS=$lt_save_ifs
   5163       test -z "$ac_dir" && ac_dir=.
   5164       tmp_nm=$ac_dir/$lt_tmp_nm
   5165       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5166 	# Check to see if the nm accepts a BSD-compat flag.
   5167 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5168 	#   nm: unknown option "B" ignored
   5169 	# Tru64's nm complains that /dev/null is an invalid object file
   5170 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5171 	case $build_os in
   5172 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5173 	*) lt_bad_file=/dev/null ;;
   5174 	esac
   5175 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5176 	*$lt_bad_file* | *'Invalid file or object type'*)
   5177 	  lt_cv_path_NM="$tmp_nm -B"
   5178 	  break 2
   5179 	  ;;
   5180 	*)
   5181 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5182 	  */dev/null*)
   5183 	    lt_cv_path_NM="$tmp_nm -p"
   5184 	    break 2
   5185 	    ;;
   5186 	  *)
   5187 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5188 	    continue # so that we can try to find one that supports BSD flags
   5189 	    ;;
   5190 	  esac
   5191 	  ;;
   5192 	esac
   5193       fi
   5194     done
   5195     IFS=$lt_save_ifs
   5196   done
   5197   : ${lt_cv_path_NM=no}
   5198 fi
   5199 fi
   5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5201 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5202 if test no != "$lt_cv_path_NM"; then
   5203   NM=$lt_cv_path_NM
   5204 else
   5205   # Didn't find any BSD compatible name lister, look for dumpbin.
   5206   if test -n "$DUMPBIN"; then :
   5207     # Let the user override the test.
   5208   else
   5209     if test -n "$ac_tool_prefix"; then
   5210   for ac_prog in dumpbin "link -dump"
   5211   do
   5212     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5215 printf %s "checking for $ac_word... " >&6; }
   5216 if test ${ac_cv_prog_DUMPBIN+y}
   5217 then :
   5218   printf %s "(cached) " >&6
   5219 else $as_nop
   5220   if test -n "$DUMPBIN"; then
   5221   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5222 else
   5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5224 for as_dir in $PATH
   5225 do
   5226   IFS=$as_save_IFS
   5227   case $as_dir in #(((
   5228     '') as_dir=./ ;;
   5229     */) ;;
   5230     *) as_dir=$as_dir/ ;;
   5231   esac
   5232     for ac_exec_ext in '' $ac_executable_extensions; do
   5233   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5234     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5235     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5236     break 2
   5237   fi
   5238 done
   5239   done
   5240 IFS=$as_save_IFS
   5241 
   5242 fi
   5243 fi
   5244 DUMPBIN=$ac_cv_prog_DUMPBIN
   5245 if test -n "$DUMPBIN"; then
   5246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5247 printf "%s\n" "$DUMPBIN" >&6; }
   5248 else
   5249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5250 printf "%s\n" "no" >&6; }
   5251 fi
   5252 
   5253 
   5254     test -n "$DUMPBIN" && break
   5255   done
   5256 fi
   5257 if test -z "$DUMPBIN"; then
   5258   ac_ct_DUMPBIN=$DUMPBIN
   5259   for ac_prog in dumpbin "link -dump"
   5260 do
   5261   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5262 set dummy $ac_prog; ac_word=$2
   5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5264 printf %s "checking for $ac_word... " >&6; }
   5265 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5266 then :
   5267   printf %s "(cached) " >&6
   5268 else $as_nop
   5269   if test -n "$ac_ct_DUMPBIN"; then
   5270   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5271 else
   5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5273 for as_dir in $PATH
   5274 do
   5275   IFS=$as_save_IFS
   5276   case $as_dir in #(((
   5277     '') as_dir=./ ;;
   5278     */) ;;
   5279     *) as_dir=$as_dir/ ;;
   5280   esac
   5281     for ac_exec_ext in '' $ac_executable_extensions; do
   5282   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5283     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5284     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5285     break 2
   5286   fi
   5287 done
   5288   done
   5289 IFS=$as_save_IFS
   5290 
   5291 fi
   5292 fi
   5293 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5294 if test -n "$ac_ct_DUMPBIN"; then
   5295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5296 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5297 else
   5298   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5299 printf "%s\n" "no" >&6; }
   5300 fi
   5301 
   5302 
   5303   test -n "$ac_ct_DUMPBIN" && break
   5304 done
   5305 
   5306   if test "x$ac_ct_DUMPBIN" = x; then
   5307     DUMPBIN=":"
   5308   else
   5309     case $cross_compiling:$ac_tool_warned in
   5310 yes:)
   5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5312 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5313 ac_tool_warned=yes ;;
   5314 esac
   5315     DUMPBIN=$ac_ct_DUMPBIN
   5316   fi
   5317 fi
   5318 
   5319     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5320     *COFF*)
   5321       DUMPBIN="$DUMPBIN -symbols -headers"
   5322       ;;
   5323     *)
   5324       DUMPBIN=:
   5325       ;;
   5326     esac
   5327   fi
   5328 
   5329   if test : != "$DUMPBIN"; then
   5330     NM=$DUMPBIN
   5331   fi
   5332 fi
   5333 test -z "$NM" && NM=nm
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5341 printf %s "checking the name lister ($NM) interface... " >&6; }
   5342 if test ${lt_cv_nm_interface+y}
   5343 then :
   5344   printf %s "(cached) " >&6
   5345 else $as_nop
   5346   lt_cv_nm_interface="BSD nm"
   5347   echo "int some_variable = 0;" > conftest.$ac_ext
   5348   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5349   (eval "$ac_compile" 2>conftest.err)
   5350   cat conftest.err >&5
   5351   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5352   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5353   cat conftest.err >&5
   5354   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5355   cat conftest.out >&5
   5356   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5357     lt_cv_nm_interface="MS dumpbin"
   5358   fi
   5359   rm -f conftest*
   5360 fi
   5361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5362 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5363 
   5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5365 printf %s "checking whether ln -s works... " >&6; }
   5366 LN_S=$as_ln_s
   5367 if test "$LN_S" = "ln -s"; then
   5368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5369 printf "%s\n" "yes" >&6; }
   5370 else
   5371   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5372 printf "%s\n" "no, using $LN_S" >&6; }
   5373 fi
   5374 
   5375 # find the maximum length of command line arguments
   5376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5377 printf %s "checking the maximum length of command line arguments... " >&6; }
   5378 if test ${lt_cv_sys_max_cmd_len+y}
   5379 then :
   5380   printf %s "(cached) " >&6
   5381 else $as_nop
   5382     i=0
   5383   teststring=ABCD
   5384 
   5385   case $build_os in
   5386   msdosdjgpp*)
   5387     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5388     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5389     # during glob expansion).  Even if it were fixed, the result of this
   5390     # check would be larger than it should be.
   5391     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5392     ;;
   5393 
   5394   gnu*)
   5395     # Under GNU Hurd, this test is not required because there is
   5396     # no limit to the length of command line arguments.
   5397     # Libtool will interpret -1 as no limit whatsoever
   5398     lt_cv_sys_max_cmd_len=-1;
   5399     ;;
   5400 
   5401   cygwin* | mingw* | cegcc*)
   5402     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5403     # about 5 minutes as the teststring grows exponentially.
   5404     # Worse, since 9x/ME are not pre-emptively multitasking,
   5405     # you end up with a "frozen" computer, even though with patience
   5406     # the test eventually succeeds (with a max line length of 256k).
   5407     # Instead, let's just punt: use the minimum linelength reported by
   5408     # all of the supported platforms: 8192 (on NT/2K/XP).
   5409     lt_cv_sys_max_cmd_len=8192;
   5410     ;;
   5411 
   5412   mint*)
   5413     # On MiNT this can take a long time and run out of memory.
   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* | 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}objdump", so it can be a program name with args.
   5678 set dummy ${ac_tool_prefix}objdump; 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_OBJDUMP+y}
   5682 then :
   5683   printf %s "(cached) " >&6
   5684 else $as_nop
   5685   if test -n "$OBJDUMP"; then
   5686   ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ac_tool_prefix}objdump"
   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 OBJDUMP=$ac_cv_prog_OBJDUMP
   5710 if test -n "$OBJDUMP"; then
   5711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5712 printf "%s\n" "$OBJDUMP" >&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_OBJDUMP"; then
   5721   ac_ct_OBJDUMP=$OBJDUMP
   5722   # Extract the first word of "objdump", so it can be a program name with args.
   5723 set dummy objdump; 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_OBJDUMP+y}
   5727 then :
   5728   printf %s "(cached) " >&6
   5729 else $as_nop
   5730   if test -n "$ac_ct_OBJDUMP"; then
   5731   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # 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_OBJDUMP="objdump"
   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_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5755 if test -n "$ac_ct_OBJDUMP"; then
   5756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5757 printf "%s\n" "$ac_ct_OBJDUMP" >&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_OBJDUMP" = x; then
   5764     OBJDUMP="false"
   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     OBJDUMP=$ac_ct_OBJDUMP
   5773   fi
   5774 else
   5775   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5776 fi
   5777 
   5778 test -z "$OBJDUMP" && OBJDUMP=objdump
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5789 printf %s "checking how to recognize dependent libraries... " >&6; }
   5790 if test ${lt_cv_deplibs_check_method+y}
   5791 then :
   5792   printf %s "(cached) " >&6
   5793 else $as_nop
   5794   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5795 lt_cv_file_magic_test_file=
   5796 lt_cv_deplibs_check_method='unknown'
   5797 # Need to set the preceding variable on all platforms that support
   5798 # interlibrary dependencies.
   5799 # 'none' -- dependencies not supported.
   5800 # 'unknown' -- same as none, but documents that we really don't know.
   5801 # 'pass_all' -- all dependencies passed with no checks.
   5802 # 'test_compile' -- check by making test program.
   5803 # 'file_magic [[regex]]' -- check by looking for files in library path
   5804 # that responds to the $file_magic_cmd with a given extended regex.
   5805 # If you have 'file' or equivalent on your system and you're not sure
   5806 # whether 'pass_all' will *always* work, you probably want this one.
   5807 
   5808 case $host_os in
   5809 aix[4-9]*)
   5810   lt_cv_deplibs_check_method=pass_all
   5811   ;;
   5812 
   5813 beos*)
   5814   lt_cv_deplibs_check_method=pass_all
   5815   ;;
   5816 
   5817 bsdi[45]*)
   5818   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5819   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5820   lt_cv_file_magic_test_file=/shlib/libc.so
   5821   ;;
   5822 
   5823 cygwin*)
   5824   # func_win32_libid is a shell function defined in ltmain.sh
   5825   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5826   lt_cv_file_magic_cmd='func_win32_libid'
   5827   ;;
   5828 
   5829 mingw* | pw32*)
   5830   # Base MSYS/MinGW do not provide the 'file' command needed by
   5831   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5832   # unless we find 'file', for example because we are cross-compiling.
   5833   if ( file / ) >/dev/null 2>&1; then
   5834     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5835     lt_cv_file_magic_cmd='func_win32_libid'
   5836   else
   5837     # Keep this pattern in sync with the one in func_win32_libid.
   5838     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5839     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5840   fi
   5841   ;;
   5842 
   5843 cegcc*)
   5844   # use the weaker test based on 'objdump'. See mingw*.
   5845   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5846   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5847   ;;
   5848 
   5849 darwin* | rhapsody*)
   5850   lt_cv_deplibs_check_method=pass_all
   5851   ;;
   5852 
   5853 freebsd* | dragonfly*)
   5854   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5855     case $host_cpu in
   5856     i*86 )
   5857       # Not sure whether the presence of OpenBSD here was a mistake.
   5858       # Let's accept both of them until this is cleared up.
   5859       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5860       lt_cv_file_magic_cmd=/usr/bin/file
   5861       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5862       ;;
   5863     esac
   5864   else
   5865     lt_cv_deplibs_check_method=pass_all
   5866   fi
   5867   ;;
   5868 
   5869 haiku*)
   5870   lt_cv_deplibs_check_method=pass_all
   5871   ;;
   5872 
   5873 hpux10.20* | hpux11*)
   5874   lt_cv_file_magic_cmd=/usr/bin/file
   5875   case $host_cpu in
   5876   ia64*)
   5877     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5878     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5879     ;;
   5880   hppa*64*)
   5881     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]'
   5882     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5883     ;;
   5884   *)
   5885     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5886     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5887     ;;
   5888   esac
   5889   ;;
   5890 
   5891 interix[3-9]*)
   5892   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5893   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5894   ;;
   5895 
   5896 irix5* | irix6* | nonstopux*)
   5897   case $LD in
   5898   *-32|*"-32 ") libmagic=32-bit;;
   5899   *-n32|*"-n32 ") libmagic=N32;;
   5900   *-64|*"-64 ") libmagic=64-bit;;
   5901   *) libmagic=never-match;;
   5902   esac
   5903   lt_cv_deplibs_check_method=pass_all
   5904   ;;
   5905 
   5906 # This must be glibc/ELF.
   5907 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5908   lt_cv_deplibs_check_method=pass_all
   5909   ;;
   5910 
   5911 netbsd*)
   5912   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5913     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5914   else
   5915     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5916   fi
   5917   ;;
   5918 
   5919 newos6*)
   5920   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5921   lt_cv_file_magic_cmd=/usr/bin/file
   5922   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5923   ;;
   5924 
   5925 *nto* | *qnx*)
   5926   lt_cv_deplibs_check_method=pass_all
   5927   ;;
   5928 
   5929 openbsd* | bitrig*)
   5930   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5931     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5932   else
   5933     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5934   fi
   5935   ;;
   5936 
   5937 osf3* | osf4* | osf5*)
   5938   lt_cv_deplibs_check_method=pass_all
   5939   ;;
   5940 
   5941 rdos*)
   5942   lt_cv_deplibs_check_method=pass_all
   5943   ;;
   5944 
   5945 solaris*)
   5946   lt_cv_deplibs_check_method=pass_all
   5947   ;;
   5948 
   5949 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5950   lt_cv_deplibs_check_method=pass_all
   5951   ;;
   5952 
   5953 sysv4 | sysv4.3*)
   5954   case $host_vendor in
   5955   motorola)
   5956     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]'
   5957     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5958     ;;
   5959   ncr)
   5960     lt_cv_deplibs_check_method=pass_all
   5961     ;;
   5962   sequent)
   5963     lt_cv_file_magic_cmd='/bin/file'
   5964     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5965     ;;
   5966   sni)
   5967     lt_cv_file_magic_cmd='/bin/file'
   5968     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5969     lt_cv_file_magic_test_file=/lib/libc.so
   5970     ;;
   5971   siemens)
   5972     lt_cv_deplibs_check_method=pass_all
   5973     ;;
   5974   pc)
   5975     lt_cv_deplibs_check_method=pass_all
   5976     ;;
   5977   esac
   5978   ;;
   5979 
   5980 tpf*)
   5981   lt_cv_deplibs_check_method=pass_all
   5982   ;;
   5983 os2*)
   5984   lt_cv_deplibs_check_method=pass_all
   5985   ;;
   5986 esac
   5987 
   5988 fi
   5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5990 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   5991 
   5992 file_magic_glob=
   5993 want_nocaseglob=no
   5994 if test "$build" = "$host"; then
   5995   case $host_os in
   5996   mingw* | pw32*)
   5997     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5998       want_nocaseglob=yes
   5999     else
   6000       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6001     fi
   6002     ;;
   6003   esac
   6004 fi
   6005 
   6006 file_magic_cmd=$lt_cv_file_magic_cmd
   6007 deplibs_check_method=$lt_cv_deplibs_check_method
   6008 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 if test -n "$ac_tool_prefix"; then
   6032   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6033 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6035 printf %s "checking for $ac_word... " >&6; }
   6036 if test ${ac_cv_prog_DLLTOOL+y}
   6037 then :
   6038   printf %s "(cached) " >&6
   6039 else $as_nop
   6040   if test -n "$DLLTOOL"; then
   6041   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6042 else
   6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6044 for as_dir in $PATH
   6045 do
   6046   IFS=$as_save_IFS
   6047   case $as_dir in #(((
   6048     '') as_dir=./ ;;
   6049     */) ;;
   6050     *) as_dir=$as_dir/ ;;
   6051   esac
   6052     for ac_exec_ext in '' $ac_executable_extensions; do
   6053   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6054     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6055     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6056     break 2
   6057   fi
   6058 done
   6059   done
   6060 IFS=$as_save_IFS
   6061 
   6062 fi
   6063 fi
   6064 DLLTOOL=$ac_cv_prog_DLLTOOL
   6065 if test -n "$DLLTOOL"; then
   6066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6067 printf "%s\n" "$DLLTOOL" >&6; }
   6068 else
   6069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6070 printf "%s\n" "no" >&6; }
   6071 fi
   6072 
   6073 
   6074 fi
   6075 if test -z "$ac_cv_prog_DLLTOOL"; then
   6076   ac_ct_DLLTOOL=$DLLTOOL
   6077   # Extract the first word of "dlltool", so it can be a program name with args.
   6078 set dummy dlltool; ac_word=$2
   6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6080 printf %s "checking for $ac_word... " >&6; }
   6081 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6082 then :
   6083   printf %s "(cached) " >&6
   6084 else $as_nop
   6085   if test -n "$ac_ct_DLLTOOL"; then
   6086   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6087 else
   6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6089 for as_dir in $PATH
   6090 do
   6091   IFS=$as_save_IFS
   6092   case $as_dir in #(((
   6093     '') as_dir=./ ;;
   6094     */) ;;
   6095     *) as_dir=$as_dir/ ;;
   6096   esac
   6097     for ac_exec_ext in '' $ac_executable_extensions; do
   6098   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6099     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6100     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6101     break 2
   6102   fi
   6103 done
   6104   done
   6105 IFS=$as_save_IFS
   6106 
   6107 fi
   6108 fi
   6109 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6110 if test -n "$ac_ct_DLLTOOL"; then
   6111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6112 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6113 else
   6114   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6115 printf "%s\n" "no" >&6; }
   6116 fi
   6117 
   6118   if test "x$ac_ct_DLLTOOL" = x; then
   6119     DLLTOOL="false"
   6120   else
   6121     case $cross_compiling:$ac_tool_warned in
   6122 yes:)
   6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6124 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6125 ac_tool_warned=yes ;;
   6126 esac
   6127     DLLTOOL=$ac_ct_DLLTOOL
   6128   fi
   6129 else
   6130   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6131 fi
   6132 
   6133 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6145 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6146 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6147 then :
   6148   printf %s "(cached) " >&6
   6149 else $as_nop
   6150   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6151 
   6152 case $host_os in
   6153 cygwin* | mingw* | pw32* | cegcc*)
   6154   # two different shell functions defined in ltmain.sh;
   6155   # decide which one to use based on capabilities of $DLLTOOL
   6156   case `$DLLTOOL --help 2>&1` in
   6157   *--identify-strict*)
   6158     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6159     ;;
   6160   *)
   6161     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6162     ;;
   6163   esac
   6164   ;;
   6165 *)
   6166   # fallback: assume linklib IS sharedlib
   6167   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6168   ;;
   6169 esac
   6170 
   6171 fi
   6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6173 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6174 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6175 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 if test -n "$ac_tool_prefix"; then
   6185   for ac_prog in ar
   6186   do
   6187     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6190 printf %s "checking for $ac_word... " >&6; }
   6191 if test ${ac_cv_prog_AR+y}
   6192 then :
   6193   printf %s "(cached) " >&6
   6194 else $as_nop
   6195   if test -n "$AR"; then
   6196   ac_cv_prog_AR="$AR" # Let the user override the test.
   6197 else
   6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6199 for as_dir in $PATH
   6200 do
   6201   IFS=$as_save_IFS
   6202   case $as_dir in #(((
   6203     '') as_dir=./ ;;
   6204     */) ;;
   6205     *) as_dir=$as_dir/ ;;
   6206   esac
   6207     for ac_exec_ext in '' $ac_executable_extensions; do
   6208   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6209     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6210     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6211     break 2
   6212   fi
   6213 done
   6214   done
   6215 IFS=$as_save_IFS
   6216 
   6217 fi
   6218 fi
   6219 AR=$ac_cv_prog_AR
   6220 if test -n "$AR"; then
   6221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6222 printf "%s\n" "$AR" >&6; }
   6223 else
   6224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6225 printf "%s\n" "no" >&6; }
   6226 fi
   6227 
   6228 
   6229     test -n "$AR" && break
   6230   done
   6231 fi
   6232 if test -z "$AR"; then
   6233   ac_ct_AR=$AR
   6234   for ac_prog in ar
   6235 do
   6236   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6237 set dummy $ac_prog; ac_word=$2
   6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6239 printf %s "checking for $ac_word... " >&6; }
   6240 if test ${ac_cv_prog_ac_ct_AR+y}
   6241 then :
   6242   printf %s "(cached) " >&6
   6243 else $as_nop
   6244   if test -n "$ac_ct_AR"; then
   6245   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6246 else
   6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6248 for as_dir in $PATH
   6249 do
   6250   IFS=$as_save_IFS
   6251   case $as_dir in #(((
   6252     '') as_dir=./ ;;
   6253     */) ;;
   6254     *) as_dir=$as_dir/ ;;
   6255   esac
   6256     for ac_exec_ext in '' $ac_executable_extensions; do
   6257   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6258     ac_cv_prog_ac_ct_AR="$ac_prog"
   6259     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6260     break 2
   6261   fi
   6262 done
   6263   done
   6264 IFS=$as_save_IFS
   6265 
   6266 fi
   6267 fi
   6268 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6269 if test -n "$ac_ct_AR"; then
   6270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6271 printf "%s\n" "$ac_ct_AR" >&6; }
   6272 else
   6273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6274 printf "%s\n" "no" >&6; }
   6275 fi
   6276 
   6277 
   6278   test -n "$ac_ct_AR" && break
   6279 done
   6280 
   6281   if test "x$ac_ct_AR" = x; then
   6282     AR="false"
   6283   else
   6284     case $cross_compiling:$ac_tool_warned in
   6285 yes:)
   6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6287 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6288 ac_tool_warned=yes ;;
   6289 esac
   6290     AR=$ac_ct_AR
   6291   fi
   6292 fi
   6293 
   6294 : ${AR=ar}
   6295 : ${AR_FLAGS=cru}
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6308 printf %s "checking for archiver @FILE support... " >&6; }
   6309 if test ${lt_cv_ar_at_file+y}
   6310 then :
   6311   printf %s "(cached) " >&6
   6312 else $as_nop
   6313   lt_cv_ar_at_file=no
   6314    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6315 /* end confdefs.h.  */
   6316 
   6317 int
   6318 main (void)
   6319 {
   6320 
   6321   ;
   6322   return 0;
   6323 }
   6324 _ACEOF
   6325 if ac_fn_c_try_compile "$LINENO"
   6326 then :
   6327   echo conftest.$ac_objext > conftest.lst
   6328       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6329       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6330   (eval $lt_ar_try) 2>&5
   6331   ac_status=$?
   6332   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6333   test $ac_status = 0; }
   6334       if test 0 -eq "$ac_status"; then
   6335 	# Ensure the archiver fails upon bogus file names.
   6336 	rm -f conftest.$ac_objext libconftest.a
   6337 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6338   (eval $lt_ar_try) 2>&5
   6339   ac_status=$?
   6340   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6341   test $ac_status = 0; }
   6342 	if test 0 -ne "$ac_status"; then
   6343           lt_cv_ar_at_file=@
   6344         fi
   6345       fi
   6346       rm -f conftest.* libconftest.a
   6347 
   6348 fi
   6349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6350 
   6351 fi
   6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6353 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6354 
   6355 if test no = "$lt_cv_ar_at_file"; then
   6356   archiver_list_spec=
   6357 else
   6358   archiver_list_spec=$lt_cv_ar_at_file
   6359 fi
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 if test -n "$ac_tool_prefix"; then
   6368   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6369 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6371 printf %s "checking for $ac_word... " >&6; }
   6372 if test ${ac_cv_prog_STRIP+y}
   6373 then :
   6374   printf %s "(cached) " >&6
   6375 else $as_nop
   6376   if test -n "$STRIP"; then
   6377   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6378 else
   6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6380 for as_dir in $PATH
   6381 do
   6382   IFS=$as_save_IFS
   6383   case $as_dir in #(((
   6384     '') as_dir=./ ;;
   6385     */) ;;
   6386     *) as_dir=$as_dir/ ;;
   6387   esac
   6388     for ac_exec_ext in '' $ac_executable_extensions; do
   6389   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6390     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6391     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6392     break 2
   6393   fi
   6394 done
   6395   done
   6396 IFS=$as_save_IFS
   6397 
   6398 fi
   6399 fi
   6400 STRIP=$ac_cv_prog_STRIP
   6401 if test -n "$STRIP"; then
   6402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6403 printf "%s\n" "$STRIP" >&6; }
   6404 else
   6405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6406 printf "%s\n" "no" >&6; }
   6407 fi
   6408 
   6409 
   6410 fi
   6411 if test -z "$ac_cv_prog_STRIP"; then
   6412   ac_ct_STRIP=$STRIP
   6413   # Extract the first word of "strip", so it can be a program name with args.
   6414 set dummy strip; ac_word=$2
   6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6416 printf %s "checking for $ac_word... " >&6; }
   6417 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6418 then :
   6419   printf %s "(cached) " >&6
   6420 else $as_nop
   6421   if test -n "$ac_ct_STRIP"; then
   6422   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6423 else
   6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6425 for as_dir in $PATH
   6426 do
   6427   IFS=$as_save_IFS
   6428   case $as_dir in #(((
   6429     '') as_dir=./ ;;
   6430     */) ;;
   6431     *) as_dir=$as_dir/ ;;
   6432   esac
   6433     for ac_exec_ext in '' $ac_executable_extensions; do
   6434   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6435     ac_cv_prog_ac_ct_STRIP="strip"
   6436     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6437     break 2
   6438   fi
   6439 done
   6440   done
   6441 IFS=$as_save_IFS
   6442 
   6443 fi
   6444 fi
   6445 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6446 if test -n "$ac_ct_STRIP"; then
   6447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6448 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6449 else
   6450   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6451 printf "%s\n" "no" >&6; }
   6452 fi
   6453 
   6454   if test "x$ac_ct_STRIP" = x; then
   6455     STRIP=":"
   6456   else
   6457     case $cross_compiling:$ac_tool_warned in
   6458 yes:)
   6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6460 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6461 ac_tool_warned=yes ;;
   6462 esac
   6463     STRIP=$ac_ct_STRIP
   6464   fi
   6465 else
   6466   STRIP="$ac_cv_prog_STRIP"
   6467 fi
   6468 
   6469 test -z "$STRIP" && STRIP=:
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 if test -n "$ac_tool_prefix"; then
   6477   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6478 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6480 printf %s "checking for $ac_word... " >&6; }
   6481 if test ${ac_cv_prog_RANLIB+y}
   6482 then :
   6483   printf %s "(cached) " >&6
   6484 else $as_nop
   6485   if test -n "$RANLIB"; then
   6486   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6487 else
   6488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6489 for as_dir in $PATH
   6490 do
   6491   IFS=$as_save_IFS
   6492   case $as_dir in #(((
   6493     '') as_dir=./ ;;
   6494     */) ;;
   6495     *) as_dir=$as_dir/ ;;
   6496   esac
   6497     for ac_exec_ext in '' $ac_executable_extensions; do
   6498   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6499     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6500     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6501     break 2
   6502   fi
   6503 done
   6504   done
   6505 IFS=$as_save_IFS
   6506 
   6507 fi
   6508 fi
   6509 RANLIB=$ac_cv_prog_RANLIB
   6510 if test -n "$RANLIB"; then
   6511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6512 printf "%s\n" "$RANLIB" >&6; }
   6513 else
   6514   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6515 printf "%s\n" "no" >&6; }
   6516 fi
   6517 
   6518 
   6519 fi
   6520 if test -z "$ac_cv_prog_RANLIB"; then
   6521   ac_ct_RANLIB=$RANLIB
   6522   # Extract the first word of "ranlib", so it can be a program name with args.
   6523 set dummy ranlib; ac_word=$2
   6524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6525 printf %s "checking for $ac_word... " >&6; }
   6526 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6527 then :
   6528   printf %s "(cached) " >&6
   6529 else $as_nop
   6530   if test -n "$ac_ct_RANLIB"; then
   6531   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6532 else
   6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6534 for as_dir in $PATH
   6535 do
   6536   IFS=$as_save_IFS
   6537   case $as_dir in #(((
   6538     '') as_dir=./ ;;
   6539     */) ;;
   6540     *) as_dir=$as_dir/ ;;
   6541   esac
   6542     for ac_exec_ext in '' $ac_executable_extensions; do
   6543   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6544     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6545     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6546     break 2
   6547   fi
   6548 done
   6549   done
   6550 IFS=$as_save_IFS
   6551 
   6552 fi
   6553 fi
   6554 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6555 if test -n "$ac_ct_RANLIB"; then
   6556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6557 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6558 else
   6559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6560 printf "%s\n" "no" >&6; }
   6561 fi
   6562 
   6563   if test "x$ac_ct_RANLIB" = x; then
   6564     RANLIB=":"
   6565   else
   6566     case $cross_compiling:$ac_tool_warned in
   6567 yes:)
   6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6569 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6570 ac_tool_warned=yes ;;
   6571 esac
   6572     RANLIB=$ac_ct_RANLIB
   6573   fi
   6574 else
   6575   RANLIB="$ac_cv_prog_RANLIB"
   6576 fi
   6577 
   6578 test -z "$RANLIB" && RANLIB=:
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 # Determine commands to create old-style static archives.
   6586 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6587 old_postinstall_cmds='chmod 644 $oldlib'
   6588 old_postuninstall_cmds=
   6589 
   6590 if test -n "$RANLIB"; then
   6591   case $host_os in
   6592   bitrig* | openbsd*)
   6593     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6594     ;;
   6595   *)
   6596     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6597     ;;
   6598   esac
   6599   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6600 fi
   6601 
   6602 case $host_os in
   6603   darwin*)
   6604     lock_old_archive_extraction=yes ;;
   6605   *)
   6606     lock_old_archive_extraction=no ;;
   6607 esac
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 # If no C compiler was specified, use CC.
   6648 LTCC=${LTCC-"$CC"}
   6649 
   6650 # If no C compiler flags were specified, use CFLAGS.
   6651 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6652 
   6653 # Allow CC to be a program name with arguments.
   6654 compiler=$CC
   6655 
   6656 
   6657 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6659 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6660 if test ${lt_cv_sys_global_symbol_pipe+y}
   6661 then :
   6662   printf %s "(cached) " >&6
   6663 else $as_nop
   6664 
   6665 # These are sane defaults that work on at least a few old systems.
   6666 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6667 
   6668 # Character class describing NM global symbol codes.
   6669 symcode='[BCDEGRST]'
   6670 
   6671 # Regexp to match symbols that can be accessed directly from C.
   6672 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6673 
   6674 # Define system-specific variables.
   6675 case $host_os in
   6676 aix*)
   6677   symcode='[BCDT]'
   6678   ;;
   6679 cygwin* | mingw* | pw32* | cegcc*)
   6680   symcode='[ABCDGISTW]'
   6681   ;;
   6682 hpux*)
   6683   if test ia64 = "$host_cpu"; then
   6684     symcode='[ABCDEGRST]'
   6685   fi
   6686   ;;
   6687 irix* | nonstopux*)
   6688   symcode='[BCDEGRST]'
   6689   ;;
   6690 osf*)
   6691   symcode='[BCDEGQRST]'
   6692   ;;
   6693 solaris*)
   6694   symcode='[BDRT]'
   6695   ;;
   6696 sco3.2v5*)
   6697   symcode='[DT]'
   6698   ;;
   6699 sysv4.2uw2*)
   6700   symcode='[DT]'
   6701   ;;
   6702 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6703   symcode='[ABDT]'
   6704   ;;
   6705 sysv4)
   6706   symcode='[DFNSTU]'
   6707   ;;
   6708 esac
   6709 
   6710 # If we're using GNU nm, then use its standard symbol codes.
   6711 case `$NM -V 2>&1` in
   6712 *GNU* | *'with BFD'*)
   6713   symcode='[ABCDGIRSTW]' ;;
   6714 esac
   6715 
   6716 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6717   # Gets list of data symbols to import.
   6718   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6719   # Adjust the below global symbol transforms to fixup imported variables.
   6720   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6721   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6722   lt_c_name_lib_hook="\
   6723   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6724   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6725 else
   6726   # Disable hooks by default.
   6727   lt_cv_sys_global_symbol_to_import=
   6728   lt_cdecl_hook=
   6729   lt_c_name_hook=
   6730   lt_c_name_lib_hook=
   6731 fi
   6732 
   6733 # Transform an extracted symbol line into a proper C declaration.
   6734 # Some systems (esp. on ia64) link data and code symbols differently,
   6735 # so use this general approach.
   6736 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6737 $lt_cdecl_hook\
   6738 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6739 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6740 
   6741 # Transform an extracted symbol line into symbol name and symbol address
   6742 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6743 $lt_c_name_hook\
   6744 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6745 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6746 
   6747 # Transform an extracted symbol line into symbol name with lib prefix and
   6748 # symbol address.
   6749 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6750 $lt_c_name_lib_hook\
   6751 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6752 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6753 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6754 
   6755 # Handle CRLF in mingw tool chain
   6756 opt_cr=
   6757 case $build_os in
   6758 mingw*)
   6759   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6760   ;;
   6761 esac
   6762 
   6763 # Try without a prefix underscore, then with it.
   6764 for ac_symprfx in "" "_"; do
   6765 
   6766   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6767   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6768 
   6769   # Write the raw and C identifiers.
   6770   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6771     # Fake it for dumpbin and say T for any non-static function,
   6772     # D for any global variable and I for any imported variable.
   6773     # Also find C++ and __fastcall symbols from MSVC++,
   6774     # which start with @ or ?.
   6775     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6776 "     {last_section=section; section=\$ 3};"\
   6777 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6778 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6779 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6780 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6781 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6782 "     \$ 0!~/External *\|/{next};"\
   6783 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6784 "     {if(hide[section]) next};"\
   6785 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6786 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6787 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6788 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6789 "     ' prfx=^$ac_symprfx"
   6790   else
   6791     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6792   fi
   6793   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6794 
   6795   # Check to see that the pipe works correctly.
   6796   pipe_works=no
   6797 
   6798   rm -f conftest*
   6799   cat > conftest.$ac_ext <<_LT_EOF
   6800 #ifdef __cplusplus
   6801 extern "C" {
   6802 #endif
   6803 char nm_test_var;
   6804 void nm_test_func(void);
   6805 void nm_test_func(void){}
   6806 #ifdef __cplusplus
   6807 }
   6808 #endif
   6809 int main(){nm_test_var='a';nm_test_func();return(0);}
   6810 _LT_EOF
   6811 
   6812   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6813   (eval $ac_compile) 2>&5
   6814   ac_status=$?
   6815   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6816   test $ac_status = 0; }; then
   6817     # Now try to grab the symbols.
   6818     nlist=conftest.nm
   6819     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6820   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6821   ac_status=$?
   6822   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6823   test $ac_status = 0; } && test -s "$nlist"; then
   6824       # Try sorting and uniquifying the output.
   6825       if sort "$nlist" | uniq > "$nlist"T; then
   6826 	mv -f "$nlist"T "$nlist"
   6827       else
   6828 	rm -f "$nlist"T
   6829       fi
   6830 
   6831       # Make sure that we snagged all the symbols we need.
   6832       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6833 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6834 	  cat <<_LT_EOF > conftest.$ac_ext
   6835 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6836 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6837 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6838    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6839 # define LT_DLSYM_CONST
   6840 #elif defined __osf__
   6841 /* This system does not cope well with relocations in const data.  */
   6842 # define LT_DLSYM_CONST
   6843 #else
   6844 # define LT_DLSYM_CONST const
   6845 #endif
   6846 
   6847 #ifdef __cplusplus
   6848 extern "C" {
   6849 #endif
   6850 
   6851 _LT_EOF
   6852 	  # Now generate the symbol file.
   6853 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6854 
   6855 	  cat <<_LT_EOF >> conftest.$ac_ext
   6856 
   6857 /* The mapping between symbol names and symbols.  */
   6858 LT_DLSYM_CONST struct {
   6859   const char *name;
   6860   void       *address;
   6861 }
   6862 lt__PROGRAM__LTX_preloaded_symbols[] =
   6863 {
   6864   { "@PROGRAM@", (void *) 0 },
   6865 _LT_EOF
   6866 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6867 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6868   {0, (void *) 0}
   6869 };
   6870 
   6871 /* This works around a problem in FreeBSD linker */
   6872 #ifdef FREEBSD_WORKAROUND
   6873 static const void *lt_preloaded_setup() {
   6874   return lt__PROGRAM__LTX_preloaded_symbols;
   6875 }
   6876 #endif
   6877 
   6878 #ifdef __cplusplus
   6879 }
   6880 #endif
   6881 _LT_EOF
   6882 	  # Now try linking the two files.
   6883 	  mv conftest.$ac_objext conftstm.$ac_objext
   6884 	  lt_globsym_save_LIBS=$LIBS
   6885 	  lt_globsym_save_CFLAGS=$CFLAGS
   6886 	  LIBS=conftstm.$ac_objext
   6887 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6888 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6889   (eval $ac_link) 2>&5
   6890   ac_status=$?
   6891   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6892   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6893 	    pipe_works=yes
   6894 	  fi
   6895 	  LIBS=$lt_globsym_save_LIBS
   6896 	  CFLAGS=$lt_globsym_save_CFLAGS
   6897 	else
   6898 	  echo "cannot find nm_test_func in $nlist" >&5
   6899 	fi
   6900       else
   6901 	echo "cannot find nm_test_var in $nlist" >&5
   6902       fi
   6903     else
   6904       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6905     fi
   6906   else
   6907     echo "$progname: failed program was:" >&5
   6908     cat conftest.$ac_ext >&5
   6909   fi
   6910   rm -rf conftest* conftst*
   6911 
   6912   # Do not use the global_symbol_pipe unless it works.
   6913   if test yes = "$pipe_works"; then
   6914     break
   6915   else
   6916     lt_cv_sys_global_symbol_pipe=
   6917   fi
   6918 done
   6919 
   6920 fi
   6921 
   6922 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6923   lt_cv_sys_global_symbol_to_cdecl=
   6924 fi
   6925 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6927 printf "%s\n" "failed" >&6; }
   6928 else
   6929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6930 printf "%s\n" "ok" >&6; }
   6931 fi
   6932 
   6933 # Response file support.
   6934 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6935   nm_file_list_spec='@'
   6936 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6937   nm_file_list_spec='@'
   6938 fi
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6977 printf %s "checking for sysroot... " >&6; }
   6978 
   6979 # Check whether --with-sysroot was given.
   6980 if test ${with_sysroot+y}
   6981 then :
   6982   withval=$with_sysroot;
   6983 else $as_nop
   6984   with_sysroot=no
   6985 fi
   6986 
   6987 
   6988 lt_sysroot=
   6989 case $with_sysroot in #(
   6990  yes)
   6991    if test yes = "$GCC"; then
   6992      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6993    fi
   6994    ;; #(
   6995  /*)
   6996    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6997    ;; #(
   6998  no|'')
   6999    ;; #(
   7000  *)
   7001    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7002 printf "%s\n" "$with_sysroot" >&6; }
   7003    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7004    ;;
   7005 esac
   7006 
   7007  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7008 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7015 printf %s "checking for a working dd... " >&6; }
   7016 if test ${ac_cv_path_lt_DD+y}
   7017 then :
   7018   printf %s "(cached) " >&6
   7019 else $as_nop
   7020   printf 0123456789abcdef0123456789abcdef >conftest.i
   7021 cat conftest.i conftest.i >conftest2.i
   7022 : ${lt_DD:=$DD}
   7023 if test -z "$lt_DD"; then
   7024   ac_path_lt_DD_found=false
   7025   # Loop through the user's path and test for each of PROGNAME-LIST
   7026   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7027 for as_dir in $PATH
   7028 do
   7029   IFS=$as_save_IFS
   7030   case $as_dir in #(((
   7031     '') as_dir=./ ;;
   7032     */) ;;
   7033     *) as_dir=$as_dir/ ;;
   7034   esac
   7035     for ac_prog in dd
   7036    do
   7037     for ac_exec_ext in '' $ac_executable_extensions; do
   7038       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7039       as_fn_executable_p "$ac_path_lt_DD" || continue
   7040 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7041   cmp -s conftest.i conftest.out \
   7042   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7043 fi
   7044       $ac_path_lt_DD_found && break 3
   7045     done
   7046   done
   7047   done
   7048 IFS=$as_save_IFS
   7049   if test -z "$ac_cv_path_lt_DD"; then
   7050     :
   7051   fi
   7052 else
   7053   ac_cv_path_lt_DD=$lt_DD
   7054 fi
   7055 
   7056 rm -f conftest.i conftest2.i conftest.out
   7057 fi
   7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7059 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7060 
   7061 
   7062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7063 printf %s "checking how to truncate binary pipes... " >&6; }
   7064 if test ${lt_cv_truncate_bin+y}
   7065 then :
   7066   printf %s "(cached) " >&6
   7067 else $as_nop
   7068   printf 0123456789abcdef0123456789abcdef >conftest.i
   7069 cat conftest.i conftest.i >conftest2.i
   7070 lt_cv_truncate_bin=
   7071 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7072   cmp -s conftest.i conftest.out \
   7073   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7074 fi
   7075 rm -f conftest.i conftest2.i conftest.out
   7076 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7077 fi
   7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7079 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7088 func_cc_basename ()
   7089 {
   7090     for cc_temp in $*""; do
   7091       case $cc_temp in
   7092         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7093         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7094         \-*) ;;
   7095         *) break;;
   7096       esac
   7097     done
   7098     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7099 }
   7100 
   7101 # Check whether --enable-libtool-lock was given.
   7102 if test ${enable_libtool_lock+y}
   7103 then :
   7104   enableval=$enable_libtool_lock;
   7105 fi
   7106 
   7107 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7108 
   7109 # Some flags need to be propagated to the compiler or linker for good
   7110 # libtool support.
   7111 case $host in
   7112 ia64-*-hpux*)
   7113   # Find out what ABI is being produced by ac_compile, and set mode
   7114   # options accordingly.
   7115   echo 'int i;' > conftest.$ac_ext
   7116   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7117   (eval $ac_compile) 2>&5
   7118   ac_status=$?
   7119   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7120   test $ac_status = 0; }; then
   7121     case `/usr/bin/file conftest.$ac_objext` in
   7122       *ELF-32*)
   7123 	HPUX_IA64_MODE=32
   7124 	;;
   7125       *ELF-64*)
   7126 	HPUX_IA64_MODE=64
   7127 	;;
   7128     esac
   7129   fi
   7130   rm -rf conftest*
   7131   ;;
   7132 *-*-irix6*)
   7133   # Find out what ABI is being produced by ac_compile, and set linker
   7134   # options accordingly.
   7135   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7136   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7137   (eval $ac_compile) 2>&5
   7138   ac_status=$?
   7139   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7140   test $ac_status = 0; }; then
   7141     if test yes = "$lt_cv_prog_gnu_ld"; then
   7142       case `/usr/bin/file conftest.$ac_objext` in
   7143 	*32-bit*)
   7144 	  LD="${LD-ld} -melf32bsmip"
   7145 	  ;;
   7146 	*N32*)
   7147 	  LD="${LD-ld} -melf32bmipn32"
   7148 	  ;;
   7149 	*64-bit*)
   7150 	  LD="${LD-ld} -melf64bmip"
   7151 	;;
   7152       esac
   7153     else
   7154       case `/usr/bin/file conftest.$ac_objext` in
   7155 	*32-bit*)
   7156 	  LD="${LD-ld} -32"
   7157 	  ;;
   7158 	*N32*)
   7159 	  LD="${LD-ld} -n32"
   7160 	  ;;
   7161 	*64-bit*)
   7162 	  LD="${LD-ld} -64"
   7163 	  ;;
   7164       esac
   7165     fi
   7166   fi
   7167   rm -rf conftest*
   7168   ;;
   7169 
   7170 mips64*-*linux*)
   7171   # Find out what ABI is being produced by ac_compile, and set linker
   7172   # options accordingly.
   7173   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7174   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7175   (eval $ac_compile) 2>&5
   7176   ac_status=$?
   7177   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7178   test $ac_status = 0; }; then
   7179     emul=elf
   7180     case `/usr/bin/file conftest.$ac_objext` in
   7181       *32-bit*)
   7182 	emul="${emul}32"
   7183 	;;
   7184       *64-bit*)
   7185 	emul="${emul}64"
   7186 	;;
   7187     esac
   7188     case `/usr/bin/file conftest.$ac_objext` in
   7189       *MSB*)
   7190 	emul="${emul}btsmip"
   7191 	;;
   7192       *LSB*)
   7193 	emul="${emul}ltsmip"
   7194 	;;
   7195     esac
   7196     case `/usr/bin/file conftest.$ac_objext` in
   7197       *N32*)
   7198 	emul="${emul}n32"
   7199 	;;
   7200     esac
   7201     LD="${LD-ld} -m $emul"
   7202   fi
   7203   rm -rf conftest*
   7204   ;;
   7205 
   7206 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7207 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7208   # Find out what ABI is being produced by ac_compile, and set linker
   7209   # options accordingly.  Note that the listed cases only cover the
   7210   # situations where additional linker options are needed (such as when
   7211   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7212   # vice versa); the common cases where no linker options are needed do
   7213   # not appear in the list.
   7214   echo 'int i;' > conftest.$ac_ext
   7215   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7216   (eval $ac_compile) 2>&5
   7217   ac_status=$?
   7218   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7219   test $ac_status = 0; }; then
   7220     case `/usr/bin/file conftest.o` in
   7221       *32-bit*)
   7222 	case $host in
   7223 	  x86_64-*kfreebsd*-gnu)
   7224 	    LD="${LD-ld} -m elf_i386_fbsd"
   7225 	    ;;
   7226 	  x86_64-*linux*)
   7227 	    case `/usr/bin/file conftest.o` in
   7228 	      *x86-64*)
   7229 		LD="${LD-ld} -m elf32_x86_64"
   7230 		;;
   7231 	      *)
   7232 		LD="${LD-ld} -m elf_i386"
   7233 		;;
   7234 	    esac
   7235 	    ;;
   7236 	  powerpc64le-*linux*)
   7237 	    LD="${LD-ld} -m elf32lppclinux"
   7238 	    ;;
   7239 	  powerpc64-*linux*)
   7240 	    LD="${LD-ld} -m elf32ppclinux"
   7241 	    ;;
   7242 	  s390x-*linux*)
   7243 	    LD="${LD-ld} -m elf_s390"
   7244 	    ;;
   7245 	  sparc64-*linux*)
   7246 	    LD="${LD-ld} -m elf32_sparc"
   7247 	    ;;
   7248 	esac
   7249 	;;
   7250       *64-bit*)
   7251 	case $host in
   7252 	  x86_64-*kfreebsd*-gnu)
   7253 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7254 	    ;;
   7255 	  x86_64-*linux*)
   7256 	    LD="${LD-ld} -m elf_x86_64"
   7257 	    ;;
   7258 	  powerpcle-*linux*|powerpc64le-*linux*)
   7259 	    LD="${LD-ld} -m elf64lppc"
   7260 	    ;;
   7261 	  powerpc-*linux*|powerpc64-*linux*)
   7262 	    LD="${LD-ld} -m elf64ppc"
   7263 	    ;;
   7264 	  s390*-*linux*|s390*-*tpf*)
   7265 	    LD="${LD-ld} -m elf64_s390"
   7266 	    ;;
   7267 	  sparc*-*linux*)
   7268 	    LD="${LD-ld} -m elf64_sparc"
   7269 	    ;;
   7270 	esac
   7271 	;;
   7272     esac
   7273   fi
   7274   rm -rf conftest*
   7275   ;;
   7276 
   7277 *-*-sco3.2v5*)
   7278   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7279   SAVE_CFLAGS=$CFLAGS
   7280   CFLAGS="$CFLAGS -belf"
   7281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7282 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7283 if test ${lt_cv_cc_needs_belf+y}
   7284 then :
   7285   printf %s "(cached) " >&6
   7286 else $as_nop
   7287   ac_ext=c
   7288 ac_cpp='$CPP $CPPFLAGS'
   7289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7292 
   7293      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7294 /* end confdefs.h.  */
   7295 
   7296 int
   7297 main (void)
   7298 {
   7299 
   7300   ;
   7301   return 0;
   7302 }
   7303 _ACEOF
   7304 if ac_fn_c_try_link "$LINENO"
   7305 then :
   7306   lt_cv_cc_needs_belf=yes
   7307 else $as_nop
   7308   lt_cv_cc_needs_belf=no
   7309 fi
   7310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7311     conftest$ac_exeext conftest.$ac_ext
   7312      ac_ext=c
   7313 ac_cpp='$CPP $CPPFLAGS'
   7314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7317 
   7318 fi
   7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7320 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7321   if test yes != "$lt_cv_cc_needs_belf"; then
   7322     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7323     CFLAGS=$SAVE_CFLAGS
   7324   fi
   7325   ;;
   7326 *-*solaris*)
   7327   # Find out what ABI is being produced by ac_compile, and set linker
   7328   # options accordingly.
   7329   echo 'int i;' > conftest.$ac_ext
   7330   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7331   (eval $ac_compile) 2>&5
   7332   ac_status=$?
   7333   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7334   test $ac_status = 0; }; then
   7335     case `/usr/bin/file conftest.o` in
   7336     *64-bit*)
   7337       case $lt_cv_prog_gnu_ld in
   7338       yes*)
   7339         case $host in
   7340         i?86-*-solaris*|x86_64-*-solaris*)
   7341           LD="${LD-ld} -m elf_x86_64"
   7342           ;;
   7343         sparc*-*-solaris*)
   7344           LD="${LD-ld} -m elf64_sparc"
   7345           ;;
   7346         esac
   7347         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7348         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7349           LD=${LD-ld}_sol2
   7350         fi
   7351         ;;
   7352       *)
   7353 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7354 	  LD="${LD-ld} -64"
   7355 	fi
   7356 	;;
   7357       esac
   7358       ;;
   7359     esac
   7360   fi
   7361   rm -rf conftest*
   7362   ;;
   7363 esac
   7364 
   7365 need_locks=$enable_libtool_lock
   7366 
   7367 if test -n "$ac_tool_prefix"; then
   7368   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7369 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7371 printf %s "checking for $ac_word... " >&6; }
   7372 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7373 then :
   7374   printf %s "(cached) " >&6
   7375 else $as_nop
   7376   if test -n "$MANIFEST_TOOL"; then
   7377   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7378 else
   7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7380 for as_dir in $PATH
   7381 do
   7382   IFS=$as_save_IFS
   7383   case $as_dir in #(((
   7384     '') as_dir=./ ;;
   7385     */) ;;
   7386     *) as_dir=$as_dir/ ;;
   7387   esac
   7388     for ac_exec_ext in '' $ac_executable_extensions; do
   7389   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7390     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7391     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7392     break 2
   7393   fi
   7394 done
   7395   done
   7396 IFS=$as_save_IFS
   7397 
   7398 fi
   7399 fi
   7400 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7401 if test -n "$MANIFEST_TOOL"; then
   7402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7403 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7404 else
   7405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7406 printf "%s\n" "no" >&6; }
   7407 fi
   7408 
   7409 
   7410 fi
   7411 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7412   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7413   # Extract the first word of "mt", so it can be a program name with args.
   7414 set dummy mt; ac_word=$2
   7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7416 printf %s "checking for $ac_word... " >&6; }
   7417 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7418 then :
   7419   printf %s "(cached) " >&6
   7420 else $as_nop
   7421   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7422   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7423 else
   7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7425 for as_dir in $PATH
   7426 do
   7427   IFS=$as_save_IFS
   7428   case $as_dir in #(((
   7429     '') as_dir=./ ;;
   7430     */) ;;
   7431     *) as_dir=$as_dir/ ;;
   7432   esac
   7433     for ac_exec_ext in '' $ac_executable_extensions; do
   7434   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7435     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7436     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7437     break 2
   7438   fi
   7439 done
   7440   done
   7441 IFS=$as_save_IFS
   7442 
   7443 fi
   7444 fi
   7445 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7446 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7448 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7449 else
   7450   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7451 printf "%s\n" "no" >&6; }
   7452 fi
   7453 
   7454   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7455     MANIFEST_TOOL=":"
   7456   else
   7457     case $cross_compiling:$ac_tool_warned in
   7458 yes:)
   7459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7460 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7461 ac_tool_warned=yes ;;
   7462 esac
   7463     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7464   fi
   7465 else
   7466   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7467 fi
   7468 
   7469 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7471 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7472 if test ${lt_cv_path_mainfest_tool+y}
   7473 then :
   7474   printf %s "(cached) " >&6
   7475 else $as_nop
   7476   lt_cv_path_mainfest_tool=no
   7477   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7478   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7479   cat conftest.err >&5
   7480   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7481     lt_cv_path_mainfest_tool=yes
   7482   fi
   7483   rm -f conftest*
   7484 fi
   7485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7486 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7487 if test yes != "$lt_cv_path_mainfest_tool"; then
   7488   MANIFEST_TOOL=:
   7489 fi
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496   case $host_os in
   7497     rhapsody* | darwin*)
   7498     if test -n "$ac_tool_prefix"; then
   7499   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7500 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7502 printf %s "checking for $ac_word... " >&6; }
   7503 if test ${ac_cv_prog_DSYMUTIL+y}
   7504 then :
   7505   printf %s "(cached) " >&6
   7506 else $as_nop
   7507   if test -n "$DSYMUTIL"; then
   7508   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7509 else
   7510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7511 for as_dir in $PATH
   7512 do
   7513   IFS=$as_save_IFS
   7514   case $as_dir in #(((
   7515     '') as_dir=./ ;;
   7516     */) ;;
   7517     *) as_dir=$as_dir/ ;;
   7518   esac
   7519     for ac_exec_ext in '' $ac_executable_extensions; do
   7520   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7521     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7522     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7523     break 2
   7524   fi
   7525 done
   7526   done
   7527 IFS=$as_save_IFS
   7528 
   7529 fi
   7530 fi
   7531 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7532 if test -n "$DSYMUTIL"; then
   7533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7534 printf "%s\n" "$DSYMUTIL" >&6; }
   7535 else
   7536   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7537 printf "%s\n" "no" >&6; }
   7538 fi
   7539 
   7540 
   7541 fi
   7542 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7543   ac_ct_DSYMUTIL=$DSYMUTIL
   7544   # Extract the first word of "dsymutil", so it can be a program name with args.
   7545 set dummy dsymutil; ac_word=$2
   7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7547 printf %s "checking for $ac_word... " >&6; }
   7548 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7549 then :
   7550   printf %s "(cached) " >&6
   7551 else $as_nop
   7552   if test -n "$ac_ct_DSYMUTIL"; then
   7553   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7554 else
   7555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7556 for as_dir in $PATH
   7557 do
   7558   IFS=$as_save_IFS
   7559   case $as_dir in #(((
   7560     '') as_dir=./ ;;
   7561     */) ;;
   7562     *) as_dir=$as_dir/ ;;
   7563   esac
   7564     for ac_exec_ext in '' $ac_executable_extensions; do
   7565   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7566     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7567     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7568     break 2
   7569   fi
   7570 done
   7571   done
   7572 IFS=$as_save_IFS
   7573 
   7574 fi
   7575 fi
   7576 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7577 if test -n "$ac_ct_DSYMUTIL"; then
   7578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7579 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7580 else
   7581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7582 printf "%s\n" "no" >&6; }
   7583 fi
   7584 
   7585   if test "x$ac_ct_DSYMUTIL" = x; then
   7586     DSYMUTIL=":"
   7587   else
   7588     case $cross_compiling:$ac_tool_warned in
   7589 yes:)
   7590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7591 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7592 ac_tool_warned=yes ;;
   7593 esac
   7594     DSYMUTIL=$ac_ct_DSYMUTIL
   7595   fi
   7596 else
   7597   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7598 fi
   7599 
   7600     if test -n "$ac_tool_prefix"; then
   7601   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7602 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7604 printf %s "checking for $ac_word... " >&6; }
   7605 if test ${ac_cv_prog_NMEDIT+y}
   7606 then :
   7607   printf %s "(cached) " >&6
   7608 else $as_nop
   7609   if test -n "$NMEDIT"; then
   7610   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7611 else
   7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7613 for as_dir in $PATH
   7614 do
   7615   IFS=$as_save_IFS
   7616   case $as_dir in #(((
   7617     '') as_dir=./ ;;
   7618     */) ;;
   7619     *) as_dir=$as_dir/ ;;
   7620   esac
   7621     for ac_exec_ext in '' $ac_executable_extensions; do
   7622   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7623     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7624     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7625     break 2
   7626   fi
   7627 done
   7628   done
   7629 IFS=$as_save_IFS
   7630 
   7631 fi
   7632 fi
   7633 NMEDIT=$ac_cv_prog_NMEDIT
   7634 if test -n "$NMEDIT"; then
   7635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7636 printf "%s\n" "$NMEDIT" >&6; }
   7637 else
   7638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7639 printf "%s\n" "no" >&6; }
   7640 fi
   7641 
   7642 
   7643 fi
   7644 if test -z "$ac_cv_prog_NMEDIT"; then
   7645   ac_ct_NMEDIT=$NMEDIT
   7646   # Extract the first word of "nmedit", so it can be a program name with args.
   7647 set dummy nmedit; ac_word=$2
   7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7649 printf %s "checking for $ac_word... " >&6; }
   7650 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7651 then :
   7652   printf %s "(cached) " >&6
   7653 else $as_nop
   7654   if test -n "$ac_ct_NMEDIT"; then
   7655   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7656 else
   7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7658 for as_dir in $PATH
   7659 do
   7660   IFS=$as_save_IFS
   7661   case $as_dir in #(((
   7662     '') as_dir=./ ;;
   7663     */) ;;
   7664     *) as_dir=$as_dir/ ;;
   7665   esac
   7666     for ac_exec_ext in '' $ac_executable_extensions; do
   7667   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7668     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7669     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7670     break 2
   7671   fi
   7672 done
   7673   done
   7674 IFS=$as_save_IFS
   7675 
   7676 fi
   7677 fi
   7678 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7679 if test -n "$ac_ct_NMEDIT"; then
   7680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7681 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7682 else
   7683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7684 printf "%s\n" "no" >&6; }
   7685 fi
   7686 
   7687   if test "x$ac_ct_NMEDIT" = x; then
   7688     NMEDIT=":"
   7689   else
   7690     case $cross_compiling:$ac_tool_warned in
   7691 yes:)
   7692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7694 ac_tool_warned=yes ;;
   7695 esac
   7696     NMEDIT=$ac_ct_NMEDIT
   7697   fi
   7698 else
   7699   NMEDIT="$ac_cv_prog_NMEDIT"
   7700 fi
   7701 
   7702     if test -n "$ac_tool_prefix"; then
   7703   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7704 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7706 printf %s "checking for $ac_word... " >&6; }
   7707 if test ${ac_cv_prog_LIPO+y}
   7708 then :
   7709   printf %s "(cached) " >&6
   7710 else $as_nop
   7711   if test -n "$LIPO"; then
   7712   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7713 else
   7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7715 for as_dir in $PATH
   7716 do
   7717   IFS=$as_save_IFS
   7718   case $as_dir in #(((
   7719     '') as_dir=./ ;;
   7720     */) ;;
   7721     *) as_dir=$as_dir/ ;;
   7722   esac
   7723     for ac_exec_ext in '' $ac_executable_extensions; do
   7724   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7725     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7726     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7727     break 2
   7728   fi
   7729 done
   7730   done
   7731 IFS=$as_save_IFS
   7732 
   7733 fi
   7734 fi
   7735 LIPO=$ac_cv_prog_LIPO
   7736 if test -n "$LIPO"; then
   7737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7738 printf "%s\n" "$LIPO" >&6; }
   7739 else
   7740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7741 printf "%s\n" "no" >&6; }
   7742 fi
   7743 
   7744 
   7745 fi
   7746 if test -z "$ac_cv_prog_LIPO"; then
   7747   ac_ct_LIPO=$LIPO
   7748   # Extract the first word of "lipo", so it can be a program name with args.
   7749 set dummy lipo; ac_word=$2
   7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7751 printf %s "checking for $ac_word... " >&6; }
   7752 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7753 then :
   7754   printf %s "(cached) " >&6
   7755 else $as_nop
   7756   if test -n "$ac_ct_LIPO"; then
   7757   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7758 else
   7759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7760 for as_dir in $PATH
   7761 do
   7762   IFS=$as_save_IFS
   7763   case $as_dir in #(((
   7764     '') as_dir=./ ;;
   7765     */) ;;
   7766     *) as_dir=$as_dir/ ;;
   7767   esac
   7768     for ac_exec_ext in '' $ac_executable_extensions; do
   7769   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7770     ac_cv_prog_ac_ct_LIPO="lipo"
   7771     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7772     break 2
   7773   fi
   7774 done
   7775   done
   7776 IFS=$as_save_IFS
   7777 
   7778 fi
   7779 fi
   7780 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7781 if test -n "$ac_ct_LIPO"; then
   7782   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7783 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7784 else
   7785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7786 printf "%s\n" "no" >&6; }
   7787 fi
   7788 
   7789   if test "x$ac_ct_LIPO" = x; then
   7790     LIPO=":"
   7791   else
   7792     case $cross_compiling:$ac_tool_warned in
   7793 yes:)
   7794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7795 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7796 ac_tool_warned=yes ;;
   7797 esac
   7798     LIPO=$ac_ct_LIPO
   7799   fi
   7800 else
   7801   LIPO="$ac_cv_prog_LIPO"
   7802 fi
   7803 
   7804     if test -n "$ac_tool_prefix"; then
   7805   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7806 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7808 printf %s "checking for $ac_word... " >&6; }
   7809 if test ${ac_cv_prog_OTOOL+y}
   7810 then :
   7811   printf %s "(cached) " >&6
   7812 else $as_nop
   7813   if test -n "$OTOOL"; then
   7814   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7815 else
   7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7817 for as_dir in $PATH
   7818 do
   7819   IFS=$as_save_IFS
   7820   case $as_dir in #(((
   7821     '') as_dir=./ ;;
   7822     */) ;;
   7823     *) as_dir=$as_dir/ ;;
   7824   esac
   7825     for ac_exec_ext in '' $ac_executable_extensions; do
   7826   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7827     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7828     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7829     break 2
   7830   fi
   7831 done
   7832   done
   7833 IFS=$as_save_IFS
   7834 
   7835 fi
   7836 fi
   7837 OTOOL=$ac_cv_prog_OTOOL
   7838 if test -n "$OTOOL"; then
   7839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7840 printf "%s\n" "$OTOOL" >&6; }
   7841 else
   7842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7843 printf "%s\n" "no" >&6; }
   7844 fi
   7845 
   7846 
   7847 fi
   7848 if test -z "$ac_cv_prog_OTOOL"; then
   7849   ac_ct_OTOOL=$OTOOL
   7850   # Extract the first word of "otool", so it can be a program name with args.
   7851 set dummy otool; ac_word=$2
   7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7853 printf %s "checking for $ac_word... " >&6; }
   7854 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7855 then :
   7856   printf %s "(cached) " >&6
   7857 else $as_nop
   7858   if test -n "$ac_ct_OTOOL"; then
   7859   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7860 else
   7861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7862 for as_dir in $PATH
   7863 do
   7864   IFS=$as_save_IFS
   7865   case $as_dir in #(((
   7866     '') as_dir=./ ;;
   7867     */) ;;
   7868     *) as_dir=$as_dir/ ;;
   7869   esac
   7870     for ac_exec_ext in '' $ac_executable_extensions; do
   7871   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7872     ac_cv_prog_ac_ct_OTOOL="otool"
   7873     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7874     break 2
   7875   fi
   7876 done
   7877   done
   7878 IFS=$as_save_IFS
   7879 
   7880 fi
   7881 fi
   7882 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7883 if test -n "$ac_ct_OTOOL"; then
   7884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7885 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   7886 else
   7887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7888 printf "%s\n" "no" >&6; }
   7889 fi
   7890 
   7891   if test "x$ac_ct_OTOOL" = x; then
   7892     OTOOL=":"
   7893   else
   7894     case $cross_compiling:$ac_tool_warned in
   7895 yes:)
   7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7897 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7898 ac_tool_warned=yes ;;
   7899 esac
   7900     OTOOL=$ac_ct_OTOOL
   7901   fi
   7902 else
   7903   OTOOL="$ac_cv_prog_OTOOL"
   7904 fi
   7905 
   7906     if test -n "$ac_tool_prefix"; then
   7907   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7908 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7910 printf %s "checking for $ac_word... " >&6; }
   7911 if test ${ac_cv_prog_OTOOL64+y}
   7912 then :
   7913   printf %s "(cached) " >&6
   7914 else $as_nop
   7915   if test -n "$OTOOL64"; then
   7916   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7917 else
   7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7919 for as_dir in $PATH
   7920 do
   7921   IFS=$as_save_IFS
   7922   case $as_dir in #(((
   7923     '') as_dir=./ ;;
   7924     */) ;;
   7925     *) as_dir=$as_dir/ ;;
   7926   esac
   7927     for ac_exec_ext in '' $ac_executable_extensions; do
   7928   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7929     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7930     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7931     break 2
   7932   fi
   7933 done
   7934   done
   7935 IFS=$as_save_IFS
   7936 
   7937 fi
   7938 fi
   7939 OTOOL64=$ac_cv_prog_OTOOL64
   7940 if test -n "$OTOOL64"; then
   7941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7942 printf "%s\n" "$OTOOL64" >&6; }
   7943 else
   7944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7945 printf "%s\n" "no" >&6; }
   7946 fi
   7947 
   7948 
   7949 fi
   7950 if test -z "$ac_cv_prog_OTOOL64"; then
   7951   ac_ct_OTOOL64=$OTOOL64
   7952   # Extract the first word of "otool64", so it can be a program name with args.
   7953 set dummy otool64; ac_word=$2
   7954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7955 printf %s "checking for $ac_word... " >&6; }
   7956 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   7957 then :
   7958   printf %s "(cached) " >&6
   7959 else $as_nop
   7960   if test -n "$ac_ct_OTOOL64"; then
   7961   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7962 else
   7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7964 for as_dir in $PATH
   7965 do
   7966   IFS=$as_save_IFS
   7967   case $as_dir in #(((
   7968     '') as_dir=./ ;;
   7969     */) ;;
   7970     *) as_dir=$as_dir/ ;;
   7971   esac
   7972     for ac_exec_ext in '' $ac_executable_extensions; do
   7973   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7974     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7975     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7976     break 2
   7977   fi
   7978 done
   7979   done
   7980 IFS=$as_save_IFS
   7981 
   7982 fi
   7983 fi
   7984 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7985 if test -n "$ac_ct_OTOOL64"; then
   7986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7987 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   7988 else
   7989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7990 printf "%s\n" "no" >&6; }
   7991 fi
   7992 
   7993   if test "x$ac_ct_OTOOL64" = x; then
   7994     OTOOL64=":"
   7995   else
   7996     case $cross_compiling:$ac_tool_warned in
   7997 yes:)
   7998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7999 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8000 ac_tool_warned=yes ;;
   8001 esac
   8002     OTOOL64=$ac_ct_OTOOL64
   8003   fi
   8004 else
   8005   OTOOL64="$ac_cv_prog_OTOOL64"
   8006 fi
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8035 printf %s "checking for -single_module linker flag... " >&6; }
   8036 if test ${lt_cv_apple_cc_single_mod+y}
   8037 then :
   8038   printf %s "(cached) " >&6
   8039 else $as_nop
   8040   lt_cv_apple_cc_single_mod=no
   8041       if test -z "$LT_MULTI_MODULE"; then
   8042 	# By default we will add the -single_module flag. You can override
   8043 	# by either setting the environment variable LT_MULTI_MODULE
   8044 	# non-empty at configure time, or by adding -multi_module to the
   8045 	# link flags.
   8046 	rm -rf libconftest.dylib*
   8047 	echo "int foo(void){return 1;}" > conftest.c
   8048 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8049 -dynamiclib -Wl,-single_module conftest.c" >&5
   8050 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8051 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8052         _lt_result=$?
   8053 	# If there is a non-empty error log, and "single_module"
   8054 	# appears in it, assume the flag caused a linker warning
   8055         if test -s conftest.err && $GREP single_module conftest.err; then
   8056 	  cat conftest.err >&5
   8057 	# Otherwise, if the output was created with a 0 exit code from
   8058 	# the compiler, it worked.
   8059 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8060 	  lt_cv_apple_cc_single_mod=yes
   8061 	else
   8062 	  cat conftest.err >&5
   8063 	fi
   8064 	rm -rf libconftest.dylib*
   8065 	rm -f conftest.*
   8066       fi
   8067 fi
   8068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8069 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8070 
   8071     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8072 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8073 if test ${lt_cv_ld_exported_symbols_list+y}
   8074 then :
   8075   printf %s "(cached) " >&6
   8076 else $as_nop
   8077   lt_cv_ld_exported_symbols_list=no
   8078       save_LDFLAGS=$LDFLAGS
   8079       echo "_main" > conftest.sym
   8080       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8082 /* end confdefs.h.  */
   8083 
   8084 int
   8085 main (void)
   8086 {
   8087 
   8088   ;
   8089   return 0;
   8090 }
   8091 _ACEOF
   8092 if ac_fn_c_try_link "$LINENO"
   8093 then :
   8094   lt_cv_ld_exported_symbols_list=yes
   8095 else $as_nop
   8096   lt_cv_ld_exported_symbols_list=no
   8097 fi
   8098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8099     conftest$ac_exeext conftest.$ac_ext
   8100 	LDFLAGS=$save_LDFLAGS
   8101 
   8102 fi
   8103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8104 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8105 
   8106     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8107 printf %s "checking for -force_load linker flag... " >&6; }
   8108 if test ${lt_cv_ld_force_load+y}
   8109 then :
   8110   printf %s "(cached) " >&6
   8111 else $as_nop
   8112   lt_cv_ld_force_load=no
   8113       cat > conftest.c << _LT_EOF
   8114 int forced_loaded() { return 2;}
   8115 _LT_EOF
   8116       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8117       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8118       echo "$AR cru libconftest.a conftest.o" >&5
   8119       $AR cru libconftest.a conftest.o 2>&5
   8120       echo "$RANLIB libconftest.a" >&5
   8121       $RANLIB libconftest.a 2>&5
   8122       cat > conftest.c << _LT_EOF
   8123 int main() { return 0;}
   8124 _LT_EOF
   8125       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8126       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8127       _lt_result=$?
   8128       if test -s conftest.err && $GREP force_load conftest.err; then
   8129 	cat conftest.err >&5
   8130       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8131 	lt_cv_ld_force_load=yes
   8132       else
   8133 	cat conftest.err >&5
   8134       fi
   8135         rm -f conftest.err libconftest.a conftest conftest.c
   8136         rm -rf conftest.dSYM
   8137 
   8138 fi
   8139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8140 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8141     case $host_os in
   8142     rhapsody* | darwin1.[012])
   8143       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8144     darwin1.*)
   8145       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8146     darwin*) # darwin 5.x on
   8147       # if running on 10.5 or later, the deployment target defaults
   8148       # to the OS version, if on x86, and 10.4, the deployment
   8149       # target defaults to 10.4. Don't you love it?
   8150       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8151 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8152 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8153 	10.[012][,.]*)
   8154 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8155 	10.*|11.*)
   8156 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8157       esac
   8158     ;;
   8159   esac
   8160     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8161       _lt_dar_single_mod='$single_module'
   8162     fi
   8163     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8164       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8165     else
   8166       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8167     fi
   8168     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8169       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8170     else
   8171       _lt_dsymutil=
   8172     fi
   8173     ;;
   8174   esac
   8175 
   8176 # func_munge_path_list VARIABLE PATH
   8177 # -----------------------------------
   8178 # VARIABLE is name of variable containing _space_ separated list of
   8179 # directories to be munged by the contents of PATH, which is string
   8180 # having a format:
   8181 # "DIR[:DIR]:"
   8182 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8183 # ":DIR[:DIR]"
   8184 #       string "DIR[ DIR]" will be appended to VARIABLE
   8185 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8186 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8187 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8188 # "DIR[:DIR]"
   8189 #       VARIABLE will be replaced by "DIR[ DIR]"
   8190 func_munge_path_list ()
   8191 {
   8192     case x$2 in
   8193     x)
   8194         ;;
   8195     *:)
   8196         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8197         ;;
   8198     x:*)
   8199         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8200         ;;
   8201     *::*)
   8202         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8203         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8204         ;;
   8205     *)
   8206         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8207         ;;
   8208     esac
   8209 }
   8210 
   8211 ac_header= ac_cache=
   8212 for ac_item in $ac_header_c_list
   8213 do
   8214   if test $ac_cache; then
   8215     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8216     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8217       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8218     fi
   8219     ac_header= ac_cache=
   8220   elif test $ac_header; then
   8221     ac_cache=$ac_item
   8222   else
   8223     ac_header=$ac_item
   8224   fi
   8225 done
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8235 then :
   8236 
   8237 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8238 
   8239 fi
   8240 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8241 "
   8242 if test "x$ac_cv_header_dlfcn_h" = xyes
   8243 then :
   8244   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8245 
   8246 fi
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 # Set options
   8253 
   8254 
   8255 
   8256         enable_dlopen=no
   8257 
   8258 
   8259   enable_win32_dll=no
   8260 
   8261 
   8262             # Check whether --enable-shared was given.
   8263 if test ${enable_shared+y}
   8264 then :
   8265   enableval=$enable_shared; p=${PACKAGE-default}
   8266     case $enableval in
   8267     yes) enable_shared=yes ;;
   8268     no) enable_shared=no ;;
   8269     *)
   8270       enable_shared=no
   8271       # Look at the argument we got.  We use all the common list separators.
   8272       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8273       for pkg in $enableval; do
   8274 	IFS=$lt_save_ifs
   8275 	if test "X$pkg" = "X$p"; then
   8276 	  enable_shared=yes
   8277 	fi
   8278       done
   8279       IFS=$lt_save_ifs
   8280       ;;
   8281     esac
   8282 else $as_nop
   8283   enable_shared=yes
   8284 fi
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294   # Check whether --enable-static was given.
   8295 if test ${enable_static+y}
   8296 then :
   8297   enableval=$enable_static; p=${PACKAGE-default}
   8298     case $enableval in
   8299     yes) enable_static=yes ;;
   8300     no) enable_static=no ;;
   8301     *)
   8302      enable_static=no
   8303       # Look at the argument we got.  We use all the common list separators.
   8304       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8305       for pkg in $enableval; do
   8306 	IFS=$lt_save_ifs
   8307 	if test "X$pkg" = "X$p"; then
   8308 	  enable_static=yes
   8309 	fi
   8310       done
   8311       IFS=$lt_save_ifs
   8312       ;;
   8313     esac
   8314 else $as_nop
   8315   enable_static=yes
   8316 fi
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 # Check whether --with-pic was given.
   8328 if test ${with_pic+y}
   8329 then :
   8330   withval=$with_pic; lt_p=${PACKAGE-default}
   8331     case $withval in
   8332     yes|no) pic_mode=$withval ;;
   8333     *)
   8334       pic_mode=default
   8335       # Look at the argument we got.  We use all the common list separators.
   8336       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8337       for lt_pkg in $withval; do
   8338 	IFS=$lt_save_ifs
   8339 	if test "X$lt_pkg" = "X$lt_p"; then
   8340 	  pic_mode=yes
   8341 	fi
   8342       done
   8343       IFS=$lt_save_ifs
   8344       ;;
   8345     esac
   8346 else $as_nop
   8347   pic_mode=default
   8348 fi
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357   # Check whether --enable-fast-install was given.
   8358 if test ${enable_fast_install+y}
   8359 then :
   8360   enableval=$enable_fast_install; p=${PACKAGE-default}
   8361     case $enableval in
   8362     yes) enable_fast_install=yes ;;
   8363     no) enable_fast_install=no ;;
   8364     *)
   8365       enable_fast_install=no
   8366       # Look at the argument we got.  We use all the common list separators.
   8367       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8368       for pkg in $enableval; do
   8369 	IFS=$lt_save_ifs
   8370 	if test "X$pkg" = "X$p"; then
   8371 	  enable_fast_install=yes
   8372 	fi
   8373       done
   8374       IFS=$lt_save_ifs
   8375       ;;
   8376     esac
   8377 else $as_nop
   8378   enable_fast_install=yes
   8379 fi
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388   shared_archive_member_spec=
   8389 case $host,$enable_shared in
   8390 power*-*-aix[5-9]*,yes)
   8391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8392 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8393 
   8394 # Check whether --with-aix-soname was given.
   8395 if test ${with_aix_soname+y}
   8396 then :
   8397   withval=$with_aix_soname; case $withval in
   8398     aix|svr4|both)
   8399       ;;
   8400     *)
   8401       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8402       ;;
   8403     esac
   8404     lt_cv_with_aix_soname=$with_aix_soname
   8405 else $as_nop
   8406   if test ${lt_cv_with_aix_soname+y}
   8407 then :
   8408   printf %s "(cached) " >&6
   8409 else $as_nop
   8410   lt_cv_with_aix_soname=aix
   8411 fi
   8412 
   8413     with_aix_soname=$lt_cv_with_aix_soname
   8414 fi
   8415 
   8416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8417 printf "%s\n" "$with_aix_soname" >&6; }
   8418   if test aix != "$with_aix_soname"; then
   8419     # For the AIX way of multilib, we name the shared archive member
   8420     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8421     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8422     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8423     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8424     if test 64 = "${OBJECT_MODE-32}"; then
   8425       shared_archive_member_spec=shr_64
   8426     else
   8427       shared_archive_member_spec=shr
   8428     fi
   8429   fi
   8430   ;;
   8431 *)
   8432   with_aix_soname=aix
   8433   ;;
   8434 esac
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 # This can be used to rebuild libtool when needed
   8446 LIBTOOL_DEPS=$ltmain
   8447 
   8448 # Always use our own libtool.
   8449 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472 
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 test -z "$LN_S" && LN_S="ln -s"
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 if test -n "${ZSH_VERSION+set}"; then
   8496    setopt NO_GLOB_SUBST
   8497 fi
   8498 
   8499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8500 printf %s "checking for objdir... " >&6; }
   8501 if test ${lt_cv_objdir+y}
   8502 then :
   8503   printf %s "(cached) " >&6
   8504 else $as_nop
   8505   rm -f .libs 2>/dev/null
   8506 mkdir .libs 2>/dev/null
   8507 if test -d .libs; then
   8508   lt_cv_objdir=.libs
   8509 else
   8510   # MS-DOS does not allow filenames that begin with a dot.
   8511   lt_cv_objdir=_libs
   8512 fi
   8513 rmdir .libs 2>/dev/null
   8514 fi
   8515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8516 printf "%s\n" "$lt_cv_objdir" >&6; }
   8517 objdir=$lt_cv_objdir
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8524 
   8525 
   8526 
   8527 
   8528 case $host_os in
   8529 aix3*)
   8530   # AIX sometimes has problems with the GCC collect2 program.  For some
   8531   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8532   # vanish in a puff of smoke.
   8533   if test set != "${COLLECT_NAMES+set}"; then
   8534     COLLECT_NAMES=
   8535     export COLLECT_NAMES
   8536   fi
   8537   ;;
   8538 esac
   8539 
   8540 # Global variables:
   8541 ofile=libtool
   8542 can_build_shared=yes
   8543 
   8544 # All known linkers require a '.a' archive for static linking (except MSVC,
   8545 # which needs '.lib').
   8546 libext=a
   8547 
   8548 with_gnu_ld=$lt_cv_prog_gnu_ld
   8549 
   8550 old_CC=$CC
   8551 old_CFLAGS=$CFLAGS
   8552 
   8553 # Set sane defaults for various variables
   8554 test -z "$CC" && CC=cc
   8555 test -z "$LTCC" && LTCC=$CC
   8556 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8557 test -z "$LD" && LD=ld
   8558 test -z "$ac_objext" && ac_objext=o
   8559 
   8560 func_cc_basename $compiler
   8561 cc_basename=$func_cc_basename_result
   8562 
   8563 
   8564 # Only perform the check for file, if the check method requires it
   8565 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8566 case $deplibs_check_method in
   8567 file_magic*)
   8568   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8569     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8570 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8571 if test ${lt_cv_path_MAGIC_CMD+y}
   8572 then :
   8573   printf %s "(cached) " >&6
   8574 else $as_nop
   8575   case $MAGIC_CMD in
   8576 [\\/*] |  ?:[\\/]*)
   8577   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8578   ;;
   8579 *)
   8580   lt_save_MAGIC_CMD=$MAGIC_CMD
   8581   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8582   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8583   for ac_dir in $ac_dummy; do
   8584     IFS=$lt_save_ifs
   8585     test -z "$ac_dir" && ac_dir=.
   8586     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8587       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8588       if test -n "$file_magic_test_file"; then
   8589 	case $deplibs_check_method in
   8590 	"file_magic "*)
   8591 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8592 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8593 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8594 	    $EGREP "$file_magic_regex" > /dev/null; then
   8595 	    :
   8596 	  else
   8597 	    cat <<_LT_EOF 1>&2
   8598 
   8599 *** Warning: the command libtool uses to detect shared libraries,
   8600 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8601 *** The result is that libtool may fail to recognize shared libraries
   8602 *** as such.  This will affect the creation of libtool libraries that
   8603 *** depend on shared libraries, but programs linked with such libtool
   8604 *** libraries will work regardless of this problem.  Nevertheless, you
   8605 *** may want to report the problem to your system manager and/or to
   8606 *** bug-libtool@gnu.org
   8607 
   8608 _LT_EOF
   8609 	  fi ;;
   8610 	esac
   8611       fi
   8612       break
   8613     fi
   8614   done
   8615   IFS=$lt_save_ifs
   8616   MAGIC_CMD=$lt_save_MAGIC_CMD
   8617   ;;
   8618 esac
   8619 fi
   8620 
   8621 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8622 if test -n "$MAGIC_CMD"; then
   8623   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8624 printf "%s\n" "$MAGIC_CMD" >&6; }
   8625 else
   8626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8627 printf "%s\n" "no" >&6; }
   8628 fi
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8635   if test -n "$ac_tool_prefix"; then
   8636     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8637 printf %s "checking for file... " >&6; }
   8638 if test ${lt_cv_path_MAGIC_CMD+y}
   8639 then :
   8640   printf %s "(cached) " >&6
   8641 else $as_nop
   8642   case $MAGIC_CMD in
   8643 [\\/*] |  ?:[\\/]*)
   8644   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8645   ;;
   8646 *)
   8647   lt_save_MAGIC_CMD=$MAGIC_CMD
   8648   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8649   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8650   for ac_dir in $ac_dummy; do
   8651     IFS=$lt_save_ifs
   8652     test -z "$ac_dir" && ac_dir=.
   8653     if test -f "$ac_dir/file"; then
   8654       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8655       if test -n "$file_magic_test_file"; then
   8656 	case $deplibs_check_method in
   8657 	"file_magic "*)
   8658 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8659 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8660 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8661 	    $EGREP "$file_magic_regex" > /dev/null; then
   8662 	    :
   8663 	  else
   8664 	    cat <<_LT_EOF 1>&2
   8665 
   8666 *** Warning: the command libtool uses to detect shared libraries,
   8667 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8668 *** The result is that libtool may fail to recognize shared libraries
   8669 *** as such.  This will affect the creation of libtool libraries that
   8670 *** depend on shared libraries, but programs linked with such libtool
   8671 *** libraries will work regardless of this problem.  Nevertheless, you
   8672 *** may want to report the problem to your system manager and/or to
   8673 *** bug-libtool@gnu.org
   8674 
   8675 _LT_EOF
   8676 	  fi ;;
   8677 	esac
   8678       fi
   8679       break
   8680     fi
   8681   done
   8682   IFS=$lt_save_ifs
   8683   MAGIC_CMD=$lt_save_MAGIC_CMD
   8684   ;;
   8685 esac
   8686 fi
   8687 
   8688 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8689 if test -n "$MAGIC_CMD"; then
   8690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8691 printf "%s\n" "$MAGIC_CMD" >&6; }
   8692 else
   8693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8694 printf "%s\n" "no" >&6; }
   8695 fi
   8696 
   8697 
   8698   else
   8699     MAGIC_CMD=:
   8700   fi
   8701 fi
   8702 
   8703   fi
   8704   ;;
   8705 esac
   8706 
   8707 # Use C for the default configuration in the libtool script
   8708 
   8709 lt_save_CC=$CC
   8710 ac_ext=c
   8711 ac_cpp='$CPP $CPPFLAGS'
   8712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8715 
   8716 
   8717 # Source file extension for C test sources.
   8718 ac_ext=c
   8719 
   8720 # Object file extension for compiled C test sources.
   8721 objext=o
   8722 objext=$objext
   8723 
   8724 # Code to be used in simple compile tests
   8725 lt_simple_compile_test_code="int some_variable = 0;"
   8726 
   8727 # Code to be used in simple link tests
   8728 lt_simple_link_test_code='int main(){return(0);}'
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 # If no C compiler was specified, use CC.
   8737 LTCC=${LTCC-"$CC"}
   8738 
   8739 # If no C compiler flags were specified, use CFLAGS.
   8740 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8741 
   8742 # Allow CC to be a program name with arguments.
   8743 compiler=$CC
   8744 
   8745 # Save the default compiler, since it gets overwritten when the other
   8746 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8747 compiler_DEFAULT=$CC
   8748 
   8749 # save warnings/boilerplate of simple test code
   8750 ac_outfile=conftest.$ac_objext
   8751 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8752 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8753 _lt_compiler_boilerplate=`cat conftest.err`
   8754 $RM conftest*
   8755 
   8756 ac_outfile=conftest.$ac_objext
   8757 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8758 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8759 _lt_linker_boilerplate=`cat conftest.err`
   8760 $RM -r conftest*
   8761 
   8762 
   8763 if test -n "$compiler"; then
   8764 
   8765 lt_prog_compiler_no_builtin_flag=
   8766 
   8767 if test yes = "$GCC"; then
   8768   case $cc_basename in
   8769   nvcc*)
   8770     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8771   *)
   8772     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8773   esac
   8774 
   8775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8776 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8777 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8778 then :
   8779   printf %s "(cached) " >&6
   8780 else $as_nop
   8781   lt_cv_prog_compiler_rtti_exceptions=no
   8782    ac_outfile=conftest.$ac_objext
   8783    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8784    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8785    # Insert the option either (1) after the last *FLAGS variable, or
   8786    # (2) before a word containing "conftest.", or (3) at the end.
   8787    # Note that $ac_compile itself does not contain backslashes and begins
   8788    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8789    # The option is referenced via a variable to avoid confusing sed.
   8790    lt_compile=`echo "$ac_compile" | $SED \
   8791    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8792    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8793    -e 's:$: $lt_compiler_flag:'`
   8794    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8795    (eval "$lt_compile" 2>conftest.err)
   8796    ac_status=$?
   8797    cat conftest.err >&5
   8798    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8799    if (exit $ac_status) && test -s "$ac_outfile"; then
   8800      # The compiler can only warn and ignore the option if not recognized
   8801      # So say no if there are warnings other than the usual output.
   8802      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8803      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8804      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8805        lt_cv_prog_compiler_rtti_exceptions=yes
   8806      fi
   8807    fi
   8808    $RM conftest*
   8809 
   8810 fi
   8811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8812 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8813 
   8814 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8815     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8816 else
   8817     :
   8818 fi
   8819 
   8820 fi
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827   lt_prog_compiler_wl=
   8828 lt_prog_compiler_pic=
   8829 lt_prog_compiler_static=
   8830 
   8831 
   8832   if test yes = "$GCC"; then
   8833     lt_prog_compiler_wl='-Wl,'
   8834     lt_prog_compiler_static='-static'
   8835 
   8836     case $host_os in
   8837       aix*)
   8838       # All AIX code is PIC.
   8839       if test ia64 = "$host_cpu"; then
   8840 	# AIX 5 now supports IA64 processor
   8841 	lt_prog_compiler_static='-Bstatic'
   8842       fi
   8843       lt_prog_compiler_pic='-fPIC'
   8844       ;;
   8845 
   8846     amigaos*)
   8847       case $host_cpu in
   8848       powerpc)
   8849             # see comment about AmigaOS4 .so support
   8850             lt_prog_compiler_pic='-fPIC'
   8851         ;;
   8852       m68k)
   8853             # FIXME: we need at least 68020 code to build shared libraries, but
   8854             # adding the '-m68020' flag to GCC prevents building anything better,
   8855             # like '-m68040'.
   8856             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8857         ;;
   8858       esac
   8859       ;;
   8860 
   8861     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8862       # PIC is the default for these OSes.
   8863       ;;
   8864 
   8865     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8866       # This hack is so that the source file can tell whether it is being
   8867       # built for inclusion in a dll (and should export symbols for example).
   8868       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8869       # (--disable-auto-import) libraries
   8870       lt_prog_compiler_pic='-DDLL_EXPORT'
   8871       case $host_os in
   8872       os2*)
   8873 	lt_prog_compiler_static='$wl-static'
   8874 	;;
   8875       esac
   8876       ;;
   8877 
   8878     darwin* | rhapsody*)
   8879       # PIC is the default on this platform
   8880       # Common symbols not allowed in MH_DYLIB files
   8881       lt_prog_compiler_pic='-fno-common'
   8882       ;;
   8883 
   8884     haiku*)
   8885       # PIC is the default for Haiku.
   8886       # The "-static" flag exists, but is broken.
   8887       lt_prog_compiler_static=
   8888       ;;
   8889 
   8890     hpux*)
   8891       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8892       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8893       # sets the default TLS model and affects inlining.
   8894       case $host_cpu in
   8895       hppa*64*)
   8896 	# +Z the default
   8897 	;;
   8898       *)
   8899 	lt_prog_compiler_pic='-fPIC'
   8900 	;;
   8901       esac
   8902       ;;
   8903 
   8904     interix[3-9]*)
   8905       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8906       # Instead, we relocate shared libraries at runtime.
   8907       ;;
   8908 
   8909     msdosdjgpp*)
   8910       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8911       # on systems that don't support them.
   8912       lt_prog_compiler_can_build_shared=no
   8913       enable_shared=no
   8914       ;;
   8915 
   8916     *nto* | *qnx*)
   8917       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8918       # it will coredump.
   8919       lt_prog_compiler_pic='-fPIC -shared'
   8920       ;;
   8921 
   8922     sysv4*MP*)
   8923       if test -d /usr/nec; then
   8924 	lt_prog_compiler_pic=-Kconform_pic
   8925       fi
   8926       ;;
   8927 
   8928     *)
   8929       lt_prog_compiler_pic='-fPIC'
   8930       ;;
   8931     esac
   8932 
   8933     case $cc_basename in
   8934     nvcc*) # Cuda Compiler Driver 2.2
   8935       lt_prog_compiler_wl='-Xlinker '
   8936       if test -n "$lt_prog_compiler_pic"; then
   8937         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8938       fi
   8939       ;;
   8940     esac
   8941   else
   8942     # PORTME Check for flag to pass linker flags through the system compiler.
   8943     case $host_os in
   8944     aix*)
   8945       lt_prog_compiler_wl='-Wl,'
   8946       if test ia64 = "$host_cpu"; then
   8947 	# AIX 5 now supports IA64 processor
   8948 	lt_prog_compiler_static='-Bstatic'
   8949       else
   8950 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8951       fi
   8952       ;;
   8953 
   8954     darwin* | rhapsody*)
   8955       # PIC is the default on this platform
   8956       # Common symbols not allowed in MH_DYLIB files
   8957       lt_prog_compiler_pic='-fno-common'
   8958       case $cc_basename in
   8959       nagfor*)
   8960         # NAG Fortran compiler
   8961         lt_prog_compiler_wl='-Wl,-Wl,,'
   8962         lt_prog_compiler_pic='-PIC'
   8963         lt_prog_compiler_static='-Bstatic'
   8964         ;;
   8965       esac
   8966       ;;
   8967 
   8968     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8969       # This hack is so that the source file can tell whether it is being
   8970       # built for inclusion in a dll (and should export symbols for example).
   8971       lt_prog_compiler_pic='-DDLL_EXPORT'
   8972       case $host_os in
   8973       os2*)
   8974 	lt_prog_compiler_static='$wl-static'
   8975 	;;
   8976       esac
   8977       ;;
   8978 
   8979     hpux9* | hpux10* | hpux11*)
   8980       lt_prog_compiler_wl='-Wl,'
   8981       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8982       # not for PA HP-UX.
   8983       case $host_cpu in
   8984       hppa*64*|ia64*)
   8985 	# +Z the default
   8986 	;;
   8987       *)
   8988 	lt_prog_compiler_pic='+Z'
   8989 	;;
   8990       esac
   8991       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8992       lt_prog_compiler_static='$wl-a ${wl}archive'
   8993       ;;
   8994 
   8995     irix5* | irix6* | nonstopux*)
   8996       lt_prog_compiler_wl='-Wl,'
   8997       # PIC (with -KPIC) is the default.
   8998       lt_prog_compiler_static='-non_shared'
   8999       ;;
   9000 
   9001     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9002       case $cc_basename in
   9003       # old Intel for x86_64, which still supported -KPIC.
   9004       ecc*)
   9005 	lt_prog_compiler_wl='-Wl,'
   9006 	lt_prog_compiler_pic='-KPIC'
   9007 	lt_prog_compiler_static='-static'
   9008         ;;
   9009       # icc used to be incompatible with GCC.
   9010       # ICC 10 doesn't accept -KPIC any more.
   9011       icc* | ifort*)
   9012 	lt_prog_compiler_wl='-Wl,'
   9013 	lt_prog_compiler_pic='-fPIC'
   9014 	lt_prog_compiler_static='-static'
   9015         ;;
   9016       # Lahey Fortran 8.1.
   9017       lf95*)
   9018 	lt_prog_compiler_wl='-Wl,'
   9019 	lt_prog_compiler_pic='--shared'
   9020 	lt_prog_compiler_static='--static'
   9021 	;;
   9022       nagfor*)
   9023 	# NAG Fortran compiler
   9024 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9025 	lt_prog_compiler_pic='-PIC'
   9026 	lt_prog_compiler_static='-Bstatic'
   9027 	;;
   9028       tcc*)
   9029 	# Fabrice Bellard et al's Tiny C Compiler
   9030 	lt_prog_compiler_wl='-Wl,'
   9031 	lt_prog_compiler_pic='-fPIC'
   9032 	lt_prog_compiler_static='-static'
   9033 	;;
   9034       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9035         # Portland Group compilers (*not* the Pentium gcc compiler,
   9036 	# which looks to be a dead project)
   9037 	lt_prog_compiler_wl='-Wl,'
   9038 	lt_prog_compiler_pic='-fpic'
   9039 	lt_prog_compiler_static='-Bstatic'
   9040         ;;
   9041       ccc*)
   9042         lt_prog_compiler_wl='-Wl,'
   9043         # All Alpha code is PIC.
   9044         lt_prog_compiler_static='-non_shared'
   9045         ;;
   9046       xl* | bgxl* | bgf* | mpixl*)
   9047 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9048 	lt_prog_compiler_wl='-Wl,'
   9049 	lt_prog_compiler_pic='-qpic'
   9050 	lt_prog_compiler_static='-qstaticlink'
   9051 	;;
   9052       *)
   9053 	case `$CC -V 2>&1 | sed 5q` in
   9054 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9055 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9056 	  lt_prog_compiler_pic='-KPIC'
   9057 	  lt_prog_compiler_static='-Bstatic'
   9058 	  lt_prog_compiler_wl=''
   9059 	  ;;
   9060 	*Sun\ F* | *Sun*Fortran*)
   9061 	  lt_prog_compiler_pic='-KPIC'
   9062 	  lt_prog_compiler_static='-Bstatic'
   9063 	  lt_prog_compiler_wl='-Qoption ld '
   9064 	  ;;
   9065 	*Sun\ C*)
   9066 	  # Sun C 5.9
   9067 	  lt_prog_compiler_pic='-KPIC'
   9068 	  lt_prog_compiler_static='-Bstatic'
   9069 	  lt_prog_compiler_wl='-Wl,'
   9070 	  ;;
   9071         *Intel*\ [CF]*Compiler*)
   9072 	  lt_prog_compiler_wl='-Wl,'
   9073 	  lt_prog_compiler_pic='-fPIC'
   9074 	  lt_prog_compiler_static='-static'
   9075 	  ;;
   9076 	*Portland\ Group*)
   9077 	  lt_prog_compiler_wl='-Wl,'
   9078 	  lt_prog_compiler_pic='-fpic'
   9079 	  lt_prog_compiler_static='-Bstatic'
   9080 	  ;;
   9081 	esac
   9082 	;;
   9083       esac
   9084       ;;
   9085 
   9086     newsos6)
   9087       lt_prog_compiler_pic='-KPIC'
   9088       lt_prog_compiler_static='-Bstatic'
   9089       ;;
   9090 
   9091     *nto* | *qnx*)
   9092       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9093       # it will coredump.
   9094       lt_prog_compiler_pic='-fPIC -shared'
   9095       ;;
   9096 
   9097     osf3* | osf4* | osf5*)
   9098       lt_prog_compiler_wl='-Wl,'
   9099       # All OSF/1 code is PIC.
   9100       lt_prog_compiler_static='-non_shared'
   9101       ;;
   9102 
   9103     rdos*)
   9104       lt_prog_compiler_static='-non_shared'
   9105       ;;
   9106 
   9107     solaris*)
   9108       lt_prog_compiler_pic='-KPIC'
   9109       lt_prog_compiler_static='-Bstatic'
   9110       case $cc_basename in
   9111       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9112 	lt_prog_compiler_wl='-Qoption ld ';;
   9113       *)
   9114 	lt_prog_compiler_wl='-Wl,';;
   9115       esac
   9116       ;;
   9117 
   9118     sunos4*)
   9119       lt_prog_compiler_wl='-Qoption ld '
   9120       lt_prog_compiler_pic='-PIC'
   9121       lt_prog_compiler_static='-Bstatic'
   9122       ;;
   9123 
   9124     sysv4 | sysv4.2uw2* | sysv4.3*)
   9125       lt_prog_compiler_wl='-Wl,'
   9126       lt_prog_compiler_pic='-KPIC'
   9127       lt_prog_compiler_static='-Bstatic'
   9128       ;;
   9129 
   9130     sysv4*MP*)
   9131       if test -d /usr/nec; then
   9132 	lt_prog_compiler_pic='-Kconform_pic'
   9133 	lt_prog_compiler_static='-Bstatic'
   9134       fi
   9135       ;;
   9136 
   9137     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9138       lt_prog_compiler_wl='-Wl,'
   9139       lt_prog_compiler_pic='-KPIC'
   9140       lt_prog_compiler_static='-Bstatic'
   9141       ;;
   9142 
   9143     unicos*)
   9144       lt_prog_compiler_wl='-Wl,'
   9145       lt_prog_compiler_can_build_shared=no
   9146       ;;
   9147 
   9148     uts4*)
   9149       lt_prog_compiler_pic='-pic'
   9150       lt_prog_compiler_static='-Bstatic'
   9151       ;;
   9152 
   9153     *)
   9154       lt_prog_compiler_can_build_shared=no
   9155       ;;
   9156     esac
   9157   fi
   9158 
   9159 case $host_os in
   9160   # For platforms that do not support PIC, -DPIC is meaningless:
   9161   *djgpp*)
   9162     lt_prog_compiler_pic=
   9163     ;;
   9164   *)
   9165     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9166     ;;
   9167 esac
   9168 
   9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9170 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9171 if test ${lt_cv_prog_compiler_pic+y}
   9172 then :
   9173   printf %s "(cached) " >&6
   9174 else $as_nop
   9175   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9176 fi
   9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9178 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9179 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9180 
   9181 #
   9182 # Check to make sure the PIC flag actually works.
   9183 #
   9184 if test -n "$lt_prog_compiler_pic"; then
   9185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9186 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9187 if test ${lt_cv_prog_compiler_pic_works+y}
   9188 then :
   9189   printf %s "(cached) " >&6
   9190 else $as_nop
   9191   lt_cv_prog_compiler_pic_works=no
   9192    ac_outfile=conftest.$ac_objext
   9193    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9194    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9195    # Insert the option either (1) after the last *FLAGS variable, or
   9196    # (2) before a word containing "conftest.", or (3) at the end.
   9197    # Note that $ac_compile itself does not contain backslashes and begins
   9198    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9199    # The option is referenced via a variable to avoid confusing sed.
   9200    lt_compile=`echo "$ac_compile" | $SED \
   9201    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9202    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9203    -e 's:$: $lt_compiler_flag:'`
   9204    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9205    (eval "$lt_compile" 2>conftest.err)
   9206    ac_status=$?
   9207    cat conftest.err >&5
   9208    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9209    if (exit $ac_status) && test -s "$ac_outfile"; then
   9210      # The compiler can only warn and ignore the option if not recognized
   9211      # So say no if there are warnings other than the usual output.
   9212      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9213      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9214      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9215        lt_cv_prog_compiler_pic_works=yes
   9216      fi
   9217    fi
   9218    $RM conftest*
   9219 
   9220 fi
   9221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9222 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9223 
   9224 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9225     case $lt_prog_compiler_pic in
   9226      "" | " "*) ;;
   9227      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9228      esac
   9229 else
   9230     lt_prog_compiler_pic=
   9231      lt_prog_compiler_can_build_shared=no
   9232 fi
   9233 
   9234 fi
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 #
   9247 # Check to make sure the static flag actually works.
   9248 #
   9249 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9251 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9252 if test ${lt_cv_prog_compiler_static_works+y}
   9253 then :
   9254   printf %s "(cached) " >&6
   9255 else $as_nop
   9256   lt_cv_prog_compiler_static_works=no
   9257    save_LDFLAGS=$LDFLAGS
   9258    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9259    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9260    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9261      # The linker can only warn and ignore the option if not recognized
   9262      # So say no if there are warnings
   9263      if test -s conftest.err; then
   9264        # Append any errors to the config.log.
   9265        cat conftest.err 1>&5
   9266        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9267        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9268        if diff conftest.exp conftest.er2 >/dev/null; then
   9269          lt_cv_prog_compiler_static_works=yes
   9270        fi
   9271      else
   9272        lt_cv_prog_compiler_static_works=yes
   9273      fi
   9274    fi
   9275    $RM -r conftest*
   9276    LDFLAGS=$save_LDFLAGS
   9277 
   9278 fi
   9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9280 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9281 
   9282 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9283     :
   9284 else
   9285     lt_prog_compiler_static=
   9286 fi
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9295 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9296 if test ${lt_cv_prog_compiler_c_o+y}
   9297 then :
   9298   printf %s "(cached) " >&6
   9299 else $as_nop
   9300   lt_cv_prog_compiler_c_o=no
   9301    $RM -r conftest 2>/dev/null
   9302    mkdir conftest
   9303    cd conftest
   9304    mkdir out
   9305    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9306 
   9307    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9308    # Insert the option either (1) after the last *FLAGS variable, or
   9309    # (2) before a word containing "conftest.", or (3) at the end.
   9310    # Note that $ac_compile itself does not contain backslashes and begins
   9311    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9312    lt_compile=`echo "$ac_compile" | $SED \
   9313    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9314    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9315    -e 's:$: $lt_compiler_flag:'`
   9316    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9317    (eval "$lt_compile" 2>out/conftest.err)
   9318    ac_status=$?
   9319    cat out/conftest.err >&5
   9320    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9321    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9322    then
   9323      # The compiler can only warn and ignore the option if not recognized
   9324      # So say no if there are warnings
   9325      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9326      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9327      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9328        lt_cv_prog_compiler_c_o=yes
   9329      fi
   9330    fi
   9331    chmod u+w . 2>&5
   9332    $RM conftest*
   9333    # SGI C++ compiler will create directory out/ii_files/ for
   9334    # template instantiation
   9335    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9336    $RM out/* && rmdir out
   9337    cd ..
   9338    $RM -r conftest
   9339    $RM conftest*
   9340 
   9341 fi
   9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9343 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9351 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9352 if test ${lt_cv_prog_compiler_c_o+y}
   9353 then :
   9354   printf %s "(cached) " >&6
   9355 else $as_nop
   9356   lt_cv_prog_compiler_c_o=no
   9357    $RM -r conftest 2>/dev/null
   9358    mkdir conftest
   9359    cd conftest
   9360    mkdir out
   9361    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9362 
   9363    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9364    # Insert the option either (1) after the last *FLAGS variable, or
   9365    # (2) before a word containing "conftest.", or (3) at the end.
   9366    # Note that $ac_compile itself does not contain backslashes and begins
   9367    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9368    lt_compile=`echo "$ac_compile" | $SED \
   9369    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9370    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9371    -e 's:$: $lt_compiler_flag:'`
   9372    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9373    (eval "$lt_compile" 2>out/conftest.err)
   9374    ac_status=$?
   9375    cat out/conftest.err >&5
   9376    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9377    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9378    then
   9379      # The compiler can only warn and ignore the option if not recognized
   9380      # So say no if there are warnings
   9381      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9382      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9383      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9384        lt_cv_prog_compiler_c_o=yes
   9385      fi
   9386    fi
   9387    chmod u+w . 2>&5
   9388    $RM conftest*
   9389    # SGI C++ compiler will create directory out/ii_files/ for
   9390    # template instantiation
   9391    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9392    $RM out/* && rmdir out
   9393    cd ..
   9394    $RM -r conftest
   9395    $RM conftest*
   9396 
   9397 fi
   9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9399 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9400 
   9401 
   9402 
   9403 
   9404 hard_links=nottested
   9405 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9406   # do not overwrite the value of need_locks provided by the user
   9407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9408 printf %s "checking if we can lock with hard links... " >&6; }
   9409   hard_links=yes
   9410   $RM conftest*
   9411   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9412   touch conftest.a
   9413   ln conftest.a conftest.b 2>&5 || hard_links=no
   9414   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9416 printf "%s\n" "$hard_links" >&6; }
   9417   if test no = "$hard_links"; then
   9418     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9419 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9420     need_locks=warn
   9421   fi
   9422 else
   9423   need_locks=no
   9424 fi
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9432 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9433 
   9434   runpath_var=
   9435   allow_undefined_flag=
   9436   always_export_symbols=no
   9437   archive_cmds=
   9438   archive_expsym_cmds=
   9439   compiler_needs_object=no
   9440   enable_shared_with_static_runtimes=no
   9441   export_dynamic_flag_spec=
   9442   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9443   hardcode_automatic=no
   9444   hardcode_direct=no
   9445   hardcode_direct_absolute=no
   9446   hardcode_libdir_flag_spec=
   9447   hardcode_libdir_separator=
   9448   hardcode_minus_L=no
   9449   hardcode_shlibpath_var=unsupported
   9450   inherit_rpath=no
   9451   link_all_deplibs=unknown
   9452   module_cmds=
   9453   module_expsym_cmds=
   9454   old_archive_from_new_cmds=
   9455   old_archive_from_expsyms_cmds=
   9456   thread_safe_flag_spec=
   9457   whole_archive_flag_spec=
   9458   # include_expsyms should be a list of space-separated symbols to be *always*
   9459   # included in the symbol list
   9460   include_expsyms=
   9461   # exclude_expsyms can be an extended regexp of symbols to exclude
   9462   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9463   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9464   # as well as any symbol that contains 'd'.
   9465   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9466   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9467   # platforms (ab)use it in PIC code, but their linkers get confused if
   9468   # the symbol is explicitly referenced.  Since portable code cannot
   9469   # rely on this symbol name, it's probably fine to never include it in
   9470   # preloaded symbol tables.
   9471   # Exclude shared library initialization/finalization symbols.
   9472   extract_expsyms_cmds=
   9473 
   9474   case $host_os in
   9475   cygwin* | mingw* | pw32* | cegcc*)
   9476     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9477     # When not using gcc, we currently assume that we are using
   9478     # Microsoft Visual C++.
   9479     if test yes != "$GCC"; then
   9480       with_gnu_ld=no
   9481     fi
   9482     ;;
   9483   interix*)
   9484     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9485     with_gnu_ld=yes
   9486     ;;
   9487   openbsd* | bitrig*)
   9488     with_gnu_ld=no
   9489     ;;
   9490   esac
   9491 
   9492   ld_shlibs=yes
   9493 
   9494   # On some targets, GNU ld is compatible enough with the native linker
   9495   # that we're better off using the native interface for both.
   9496   lt_use_gnu_ld_interface=no
   9497   if test yes = "$with_gnu_ld"; then
   9498     case $host_os in
   9499       aix*)
   9500 	# The AIX port of GNU ld has always aspired to compatibility
   9501 	# with the native linker.  However, as the warning in the GNU ld
   9502 	# block says, versions before 2.19.5* couldn't really create working
   9503 	# shared libraries, regardless of the interface used.
   9504 	case `$LD -v 2>&1` in
   9505 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9506 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9507 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9508 	  *)
   9509 	    lt_use_gnu_ld_interface=yes
   9510 	    ;;
   9511 	esac
   9512 	;;
   9513       *)
   9514 	lt_use_gnu_ld_interface=yes
   9515 	;;
   9516     esac
   9517   fi
   9518 
   9519   if test yes = "$lt_use_gnu_ld_interface"; then
   9520     # If archive_cmds runs LD, not CC, wlarc should be empty
   9521     wlarc='$wl'
   9522 
   9523     # Set some defaults for GNU ld with shared library support. These
   9524     # are reset later if shared libraries are not supported. Putting them
   9525     # here allows them to be overridden if necessary.
   9526     runpath_var=LD_RUN_PATH
   9527     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9528     export_dynamic_flag_spec='$wl--export-dynamic'
   9529     # ancient GNU ld didn't support --whole-archive et. al.
   9530     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9531       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9532     else
   9533       whole_archive_flag_spec=
   9534     fi
   9535     supports_anon_versioning=no
   9536     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9537       *GNU\ gold*) supports_anon_versioning=yes ;;
   9538       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9539       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9540       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9541       *\ 2.11.*) ;; # other 2.11 versions
   9542       *) supports_anon_versioning=yes ;;
   9543     esac
   9544 
   9545     # See if GNU ld supports shared libraries.
   9546     case $host_os in
   9547     aix[3-9]*)
   9548       # On AIX/PPC, the GNU linker is very broken
   9549       if test ia64 != "$host_cpu"; then
   9550 	ld_shlibs=no
   9551 	cat <<_LT_EOF 1>&2
   9552 
   9553 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9554 *** to be unable to reliably create shared libraries on AIX.
   9555 *** Therefore, libtool is disabling shared libraries support.  If you
   9556 *** really care for shared libraries, you may want to install binutils
   9557 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9558 *** You will then need to restart the configuration process.
   9559 
   9560 _LT_EOF
   9561       fi
   9562       ;;
   9563 
   9564     amigaos*)
   9565       case $host_cpu in
   9566       powerpc)
   9567             # see comment about AmigaOS4 .so support
   9568             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9569             archive_expsym_cmds=''
   9570         ;;
   9571       m68k)
   9572             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)'
   9573             hardcode_libdir_flag_spec='-L$libdir'
   9574             hardcode_minus_L=yes
   9575         ;;
   9576       esac
   9577       ;;
   9578 
   9579     beos*)
   9580       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9581 	allow_undefined_flag=unsupported
   9582 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9583 	# support --undefined.  This deserves some investigation.  FIXME
   9584 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9585       else
   9586 	ld_shlibs=no
   9587       fi
   9588       ;;
   9589 
   9590     cygwin* | mingw* | pw32* | cegcc*)
   9591       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9592       # as there is no search path for DLLs.
   9593       hardcode_libdir_flag_spec='-L$libdir'
   9594       export_dynamic_flag_spec='$wl--export-all-symbols'
   9595       allow_undefined_flag=unsupported
   9596       always_export_symbols=no
   9597       enable_shared_with_static_runtimes=yes
   9598       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'
   9599       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9600 
   9601       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9602         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9603 	# If the export-symbols file already is a .def file, use it as
   9604 	# is; otherwise, prepend EXPORTS...
   9605 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9606           cp $export_symbols $output_objdir/$soname.def;
   9607         else
   9608           echo EXPORTS > $output_objdir/$soname.def;
   9609           cat $export_symbols >> $output_objdir/$soname.def;
   9610         fi~
   9611         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9612       else
   9613 	ld_shlibs=no
   9614       fi
   9615       ;;
   9616 
   9617     haiku*)
   9618       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9619       link_all_deplibs=yes
   9620       ;;
   9621 
   9622     os2*)
   9623       hardcode_libdir_flag_spec='-L$libdir'
   9624       hardcode_minus_L=yes
   9625       allow_undefined_flag=unsupported
   9626       shrext_cmds=.dll
   9627       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9628 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9629 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9630 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9631 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9632 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9633 	emximp -o $lib $output_objdir/$libname.def'
   9634       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9635 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9636 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9637 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9638 	prefix_cmds="$SED"~
   9639 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9640 	  prefix_cmds="$prefix_cmds -e 1d";
   9641 	fi~
   9642 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9643 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9644 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9645 	emximp -o $lib $output_objdir/$libname.def'
   9646       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9647       enable_shared_with_static_runtimes=yes
   9648       ;;
   9649 
   9650     interix[3-9]*)
   9651       hardcode_direct=no
   9652       hardcode_shlibpath_var=no
   9653       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9654       export_dynamic_flag_spec='$wl-E'
   9655       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9656       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9657       # default) and relocated if they conflict, which is a slow very memory
   9658       # consuming and fragmenting process.  To avoid this, we pick a random,
   9659       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9660       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9661       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9662       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'
   9663       ;;
   9664 
   9665     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9666       tmp_diet=no
   9667       if test linux-dietlibc = "$host_os"; then
   9668 	case $cc_basename in
   9669 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9670 	esac
   9671       fi
   9672       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9673 	 && test no = "$tmp_diet"
   9674       then
   9675 	tmp_addflag=' $pic_flag'
   9676 	tmp_sharedflag='-shared'
   9677 	case $cc_basename,$host_cpu in
   9678         pgcc*)				# Portland Group C compiler
   9679 	  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'
   9680 	  tmp_addflag=' $pic_flag'
   9681 	  ;;
   9682 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9683 					# Portland Group f77 and f90 compilers
   9684 	  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'
   9685 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9686 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9687 	  tmp_addflag=' -i_dynamic' ;;
   9688 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9689 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9690 	ifc* | ifort*)			# Intel Fortran compiler
   9691 	  tmp_addflag=' -nofor_main' ;;
   9692 	lf95*)				# Lahey Fortran 8.1
   9693 	  whole_archive_flag_spec=
   9694 	  tmp_sharedflag='--shared' ;;
   9695         nagfor*)                        # NAGFOR 5.3
   9696           tmp_sharedflag='-Wl,-shared' ;;
   9697 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9698 	  tmp_sharedflag='-qmkshrobj'
   9699 	  tmp_addflag= ;;
   9700 	nvcc*)	# Cuda Compiler Driver 2.2
   9701 	  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'
   9702 	  compiler_needs_object=yes
   9703 	  ;;
   9704 	esac
   9705 	case `$CC -V 2>&1 | sed 5q` in
   9706 	*Sun\ C*)			# Sun C 5.9
   9707 	  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'
   9708 	  compiler_needs_object=yes
   9709 	  tmp_sharedflag='-G' ;;
   9710 	*Sun\ F*)			# Sun Fortran 8.3
   9711 	  tmp_sharedflag='-G' ;;
   9712 	esac
   9713 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9714 
   9715         if test yes = "$supports_anon_versioning"; then
   9716           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9717             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9718             echo "local: *; };" >> $output_objdir/$libname.ver~
   9719             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9720         fi
   9721 
   9722 	case $cc_basename in
   9723 	tcc*)
   9724 	  export_dynamic_flag_spec='-rdynamic'
   9725 	  ;;
   9726 	xlf* | bgf* | bgxlf* | mpixlf*)
   9727 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9728 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9729 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9730 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9731 	  if test yes = "$supports_anon_versioning"; then
   9732 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9733               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9734               echo "local: *; };" >> $output_objdir/$libname.ver~
   9735               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9736 	  fi
   9737 	  ;;
   9738 	esac
   9739       else
   9740         ld_shlibs=no
   9741       fi
   9742       ;;
   9743 
   9744     netbsd*)
   9745       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9746 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9747 	wlarc=
   9748       else
   9749 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9750 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9751       fi
   9752       ;;
   9753 
   9754     solaris*)
   9755       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9756 	ld_shlibs=no
   9757 	cat <<_LT_EOF 1>&2
   9758 
   9759 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9760 *** create shared libraries on Solaris systems.  Therefore, libtool
   9761 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9762 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9763 *** your PATH or compiler configuration so that the native linker is
   9764 *** used, and then restart.
   9765 
   9766 _LT_EOF
   9767       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9768 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9769 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9770       else
   9771 	ld_shlibs=no
   9772       fi
   9773       ;;
   9774 
   9775     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9776       case `$LD -v 2>&1` in
   9777         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9778 	ld_shlibs=no
   9779 	cat <<_LT_EOF 1>&2
   9780 
   9781 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9782 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9783 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9784 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9785 *** your PATH or compiler configuration so that the native linker is
   9786 *** used, and then restart.
   9787 
   9788 _LT_EOF
   9789 	;;
   9790 	*)
   9791 	  # For security reasons, it is highly recommended that you always
   9792 	  # use absolute paths for naming shared libraries, and exclude the
   9793 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9794 	  # requires that you compile everything twice, which is a pain.
   9795 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9796 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9797 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9798 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9799 	  else
   9800 	    ld_shlibs=no
   9801 	  fi
   9802 	;;
   9803       esac
   9804       ;;
   9805 
   9806     sunos4*)
   9807       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9808       wlarc=
   9809       hardcode_direct=yes
   9810       hardcode_shlibpath_var=no
   9811       ;;
   9812 
   9813     *)
   9814       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9815 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9816 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9817       else
   9818 	ld_shlibs=no
   9819       fi
   9820       ;;
   9821     esac
   9822 
   9823     if test no = "$ld_shlibs"; then
   9824       runpath_var=
   9825       hardcode_libdir_flag_spec=
   9826       export_dynamic_flag_spec=
   9827       whole_archive_flag_spec=
   9828     fi
   9829   else
   9830     # PORTME fill in a description of your system's linker (not GNU ld)
   9831     case $host_os in
   9832     aix3*)
   9833       allow_undefined_flag=unsupported
   9834       always_export_symbols=yes
   9835       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'
   9836       # Note: this linker hardcodes the directories in LIBPATH if there
   9837       # are no directories specified by -L.
   9838       hardcode_minus_L=yes
   9839       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9840 	# Neither direct hardcoding nor static linking is supported with a
   9841 	# broken collect2.
   9842 	hardcode_direct=unsupported
   9843       fi
   9844       ;;
   9845 
   9846     aix[4-9]*)
   9847       if test ia64 = "$host_cpu"; then
   9848 	# On IA64, the linker does run time linking by default, so we don't
   9849 	# have to do anything special.
   9850 	aix_use_runtimelinking=no
   9851 	exp_sym_flag='-Bexport'
   9852 	no_entry_flag=
   9853       else
   9854 	# If we're using GNU nm, then we don't want the "-C" option.
   9855 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9856 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9857 	# weak defined symbols like other global defined symbols, whereas
   9858 	# GNU nm marks them as "W".
   9859 	# While the 'weak' keyword is ignored in the Export File, we need
   9860 	# it in the Import File for the 'aix-soname' feature, so we have
   9861 	# to replace the "-B" option with "-P" for AIX nm.
   9862 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9863 	  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'
   9864 	else
   9865 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9866 	fi
   9867 	aix_use_runtimelinking=no
   9868 
   9869 	# Test if we are trying to use run time linking or normal
   9870 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9871 	# have runtime linking enabled, and use it for executables.
   9872 	# For shared libraries, we enable/disable runtime linking
   9873 	# depending on the kind of the shared library created -
   9874 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9875 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9876 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9877 	#            lib.a           static archive
   9878 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9879 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9880 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9881 	#            lib.a(lib.so.V) shared, rtl:no
   9882 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9883 	#            lib.a           static archive
   9884 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9885 	  for ld_flag in $LDFLAGS; do
   9886 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9887 	    aix_use_runtimelinking=yes
   9888 	    break
   9889 	  fi
   9890 	  done
   9891 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9892 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9893 	    # so we don't have lib.a shared libs to link our executables.
   9894 	    # We have to force runtime linking in this case.
   9895 	    aix_use_runtimelinking=yes
   9896 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9897 	  fi
   9898 	  ;;
   9899 	esac
   9900 
   9901 	exp_sym_flag='-bexport'
   9902 	no_entry_flag='-bnoentry'
   9903       fi
   9904 
   9905       # When large executables or shared objects are built, AIX ld can
   9906       # have problems creating the table of contents.  If linking a library
   9907       # or program results in "error TOC overflow" add -mminimal-toc to
   9908       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9909       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9910 
   9911       archive_cmds=''
   9912       hardcode_direct=yes
   9913       hardcode_direct_absolute=yes
   9914       hardcode_libdir_separator=':'
   9915       link_all_deplibs=yes
   9916       file_list_spec='$wl-f,'
   9917       case $with_aix_soname,$aix_use_runtimelinking in
   9918       aix,*) ;; # traditional, no import file
   9919       svr4,* | *,yes) # use import file
   9920 	# The Import File defines what to hardcode.
   9921 	hardcode_direct=no
   9922 	hardcode_direct_absolute=no
   9923 	;;
   9924       esac
   9925 
   9926       if test yes = "$GCC"; then
   9927 	case $host_os in aix4.[012]|aix4.[012].*)
   9928 	# We only want to do this on AIX 4.2 and lower, the check
   9929 	# below for broken collect2 doesn't work under 4.3+
   9930 	  collect2name=`$CC -print-prog-name=collect2`
   9931 	  if test -f "$collect2name" &&
   9932 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9933 	  then
   9934 	  # We have reworked collect2
   9935 	  :
   9936 	  else
   9937 	  # We have old collect2
   9938 	  hardcode_direct=unsupported
   9939 	  # It fails to find uninstalled libraries when the uninstalled
   9940 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9941 	  # to unsupported forces relinking
   9942 	  hardcode_minus_L=yes
   9943 	  hardcode_libdir_flag_spec='-L$libdir'
   9944 	  hardcode_libdir_separator=
   9945 	  fi
   9946 	  ;;
   9947 	esac
   9948 	shared_flag='-shared'
   9949 	if test yes = "$aix_use_runtimelinking"; then
   9950 	  shared_flag="$shared_flag "'$wl-G'
   9951 	fi
   9952 	# Need to ensure runtime linking is disabled for the traditional
   9953 	# shared library, or the linker may eventually find shared libraries
   9954 	# /with/ Import File - we do not want to mix them.
   9955 	shared_flag_aix='-shared'
   9956 	shared_flag_svr4='-shared $wl-G'
   9957       else
   9958 	# not using gcc
   9959 	if test ia64 = "$host_cpu"; then
   9960 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9961 	# chokes on -Wl,-G. The following line is correct:
   9962 	  shared_flag='-G'
   9963 	else
   9964 	  if test yes = "$aix_use_runtimelinking"; then
   9965 	    shared_flag='$wl-G'
   9966 	  else
   9967 	    shared_flag='$wl-bM:SRE'
   9968 	  fi
   9969 	  shared_flag_aix='$wl-bM:SRE'
   9970 	  shared_flag_svr4='$wl-G'
   9971 	fi
   9972       fi
   9973 
   9974       export_dynamic_flag_spec='$wl-bexpall'
   9975       # It seems that -bexpall does not export symbols beginning with
   9976       # underscore (_), so it is better to generate a list of symbols to export.
   9977       always_export_symbols=yes
   9978       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9979 	# Warning - without using the other runtime loading flags (-brtl),
   9980 	# -berok will link without error, but may produce a broken library.
   9981 	allow_undefined_flag='-berok'
   9982         # Determine the default libpath from the value encoded in an
   9983         # empty executable.
   9984         if test set = "${lt_cv_aix_libpath+set}"; then
   9985   aix_libpath=$lt_cv_aix_libpath
   9986 else
   9987   if test ${lt_cv_aix_libpath_+y}
   9988 then :
   9989   printf %s "(cached) " >&6
   9990 else $as_nop
   9991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9992 /* end confdefs.h.  */
   9993 
   9994 int
   9995 main (void)
   9996 {
   9997 
   9998   ;
   9999   return 0;
   10000 }
   10001 _ACEOF
   10002 if ac_fn_c_try_link "$LINENO"
   10003 then :
   10004 
   10005   lt_aix_libpath_sed='
   10006       /Import File Strings/,/^$/ {
   10007 	  /^0/ {
   10008 	      s/^0  *\([^ ]*\) *$/\1/
   10009 	      p
   10010 	  }
   10011       }'
   10012   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10013   # Check for a 64-bit object if we didn't find anything.
   10014   if test -z "$lt_cv_aix_libpath_"; then
   10015     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10016   fi
   10017 fi
   10018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10019     conftest$ac_exeext conftest.$ac_ext
   10020   if test -z "$lt_cv_aix_libpath_"; then
   10021     lt_cv_aix_libpath_=/usr/lib:/lib
   10022   fi
   10023 
   10024 fi
   10025 
   10026   aix_libpath=$lt_cv_aix_libpath_
   10027 fi
   10028 
   10029         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10030         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
   10031       else
   10032 	if test ia64 = "$host_cpu"; then
   10033 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10034 	  allow_undefined_flag="-z nodefs"
   10035 	  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"
   10036 	else
   10037 	 # Determine the default libpath from the value encoded in an
   10038 	 # empty executable.
   10039 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10040   aix_libpath=$lt_cv_aix_libpath
   10041 else
   10042   if test ${lt_cv_aix_libpath_+y}
   10043 then :
   10044   printf %s "(cached) " >&6
   10045 else $as_nop
   10046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10047 /* end confdefs.h.  */
   10048 
   10049 int
   10050 main (void)
   10051 {
   10052 
   10053   ;
   10054   return 0;
   10055 }
   10056 _ACEOF
   10057 if ac_fn_c_try_link "$LINENO"
   10058 then :
   10059 
   10060   lt_aix_libpath_sed='
   10061       /Import File Strings/,/^$/ {
   10062 	  /^0/ {
   10063 	      s/^0  *\([^ ]*\) *$/\1/
   10064 	      p
   10065 	  }
   10066       }'
   10067   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10068   # Check for a 64-bit object if we didn't find anything.
   10069   if test -z "$lt_cv_aix_libpath_"; then
   10070     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10071   fi
   10072 fi
   10073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10074     conftest$ac_exeext conftest.$ac_ext
   10075   if test -z "$lt_cv_aix_libpath_"; then
   10076     lt_cv_aix_libpath_=/usr/lib:/lib
   10077   fi
   10078 
   10079 fi
   10080 
   10081   aix_libpath=$lt_cv_aix_libpath_
   10082 fi
   10083 
   10084 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10085 	  # Warning - without using the other run time loading flags,
   10086 	  # -berok will link without error, but may produce a broken library.
   10087 	  no_undefined_flag=' $wl-bernotok'
   10088 	  allow_undefined_flag=' $wl-berok'
   10089 	  if test yes = "$with_gnu_ld"; then
   10090 	    # We only use this code for GNU lds that support --whole-archive.
   10091 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10092 	  else
   10093 	    # Exported symbols can be pulled into shared objects from archives
   10094 	    whole_archive_flag_spec='$convenience'
   10095 	  fi
   10096 	  archive_cmds_need_lc=yes
   10097 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10098 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10099 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10100 	  if test svr4 != "$with_aix_soname"; then
   10101 	    # This is similar to how AIX traditionally builds its shared libraries.
   10102 	    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'
   10103 	  fi
   10104 	  if test aix != "$with_aix_soname"; then
   10105 	    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'
   10106 	  else
   10107 	    # used by -dlpreopen to get the symbols
   10108 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10109 	  fi
   10110 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10111 	fi
   10112       fi
   10113       ;;
   10114 
   10115     amigaos*)
   10116       case $host_cpu in
   10117       powerpc)
   10118             # see comment about AmigaOS4 .so support
   10119             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10120             archive_expsym_cmds=''
   10121         ;;
   10122       m68k)
   10123             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)'
   10124             hardcode_libdir_flag_spec='-L$libdir'
   10125             hardcode_minus_L=yes
   10126         ;;
   10127       esac
   10128       ;;
   10129 
   10130     bsdi[45]*)
   10131       export_dynamic_flag_spec=-rdynamic
   10132       ;;
   10133 
   10134     cygwin* | mingw* | pw32* | cegcc*)
   10135       # When not using gcc, we currently assume that we are using
   10136       # Microsoft Visual C++.
   10137       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10138       # no search path for DLLs.
   10139       case $cc_basename in
   10140       cl*)
   10141 	# Native MSVC
   10142 	hardcode_libdir_flag_spec=' '
   10143 	allow_undefined_flag=unsupported
   10144 	always_export_symbols=yes
   10145 	file_list_spec='@'
   10146 	# Tell ltmain to make .lib files, not .a files.
   10147 	libext=lib
   10148 	# Tell ltmain to make .dll files, not .so files.
   10149 	shrext_cmds=.dll
   10150 	# FIXME: Setting linknames here is a bad hack.
   10151 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10152 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10153             cp "$export_symbols" "$output_objdir/$soname.def";
   10154             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10155           else
   10156             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10157           fi~
   10158           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10159           linknames='
   10160 	# The linker will not automatically build a static lib if we build a DLL.
   10161 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10162 	enable_shared_with_static_runtimes=yes
   10163 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10164 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10165 	# Don't use ranlib
   10166 	old_postinstall_cmds='chmod 644 $oldlib'
   10167 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10168           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10169           case $lt_outputfile in
   10170             *.exe|*.EXE) ;;
   10171             *)
   10172               lt_outputfile=$lt_outputfile.exe
   10173               lt_tool_outputfile=$lt_tool_outputfile.exe
   10174               ;;
   10175           esac~
   10176           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10177             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10178             $RM "$lt_outputfile.manifest";
   10179           fi'
   10180 	;;
   10181       *)
   10182 	# Assume MSVC wrapper
   10183 	hardcode_libdir_flag_spec=' '
   10184 	allow_undefined_flag=unsupported
   10185 	# Tell ltmain to make .lib files, not .a files.
   10186 	libext=lib
   10187 	# Tell ltmain to make .dll files, not .so files.
   10188 	shrext_cmds=.dll
   10189 	# FIXME: Setting linknames here is a bad hack.
   10190 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10191 	# The linker will automatically build a .lib file if we build a DLL.
   10192 	old_archive_from_new_cmds='true'
   10193 	# FIXME: Should let the user specify the lib program.
   10194 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10195 	enable_shared_with_static_runtimes=yes
   10196 	;;
   10197       esac
   10198       ;;
   10199 
   10200     darwin* | rhapsody*)
   10201 
   10202 
   10203   archive_cmds_need_lc=no
   10204   hardcode_direct=no
   10205   hardcode_automatic=yes
   10206   hardcode_shlibpath_var=unsupported
   10207   if test yes = "$lt_cv_ld_force_load"; then
   10208     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\"`'
   10209 
   10210   else
   10211     whole_archive_flag_spec=''
   10212   fi
   10213   link_all_deplibs=yes
   10214   allow_undefined_flag=$_lt_dar_allow_undefined
   10215   case $cc_basename in
   10216      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10217      *) _lt_dar_can_shared=$GCC ;;
   10218   esac
   10219   if test yes = "$_lt_dar_can_shared"; then
   10220     output_verbose_link_cmd=func_echo_all
   10221     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10222     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10223     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"
   10224     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"
   10225 
   10226   else
   10227   ld_shlibs=no
   10228   fi
   10229 
   10230       ;;
   10231 
   10232     dgux*)
   10233       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10234       hardcode_libdir_flag_spec='-L$libdir'
   10235       hardcode_shlibpath_var=no
   10236       ;;
   10237 
   10238     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10239     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10240     # does not break anything, and helps significantly (at the cost of a little
   10241     # extra space).
   10242     freebsd2.2*)
   10243       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10244       hardcode_libdir_flag_spec='-R$libdir'
   10245       hardcode_direct=yes
   10246       hardcode_shlibpath_var=no
   10247       ;;
   10248 
   10249     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10250     freebsd2.*)
   10251       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10252       hardcode_direct=yes
   10253       hardcode_minus_L=yes
   10254       hardcode_shlibpath_var=no
   10255       ;;
   10256 
   10257     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10258     freebsd* | dragonfly*)
   10259       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10260       hardcode_libdir_flag_spec='-R$libdir'
   10261       hardcode_direct=yes
   10262       hardcode_shlibpath_var=no
   10263       ;;
   10264 
   10265     hpux9*)
   10266       if test yes = "$GCC"; then
   10267 	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'
   10268       else
   10269 	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'
   10270       fi
   10271       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10272       hardcode_libdir_separator=:
   10273       hardcode_direct=yes
   10274 
   10275       # hardcode_minus_L: Not really in the search PATH,
   10276       # but as the default location of the library.
   10277       hardcode_minus_L=yes
   10278       export_dynamic_flag_spec='$wl-E'
   10279       ;;
   10280 
   10281     hpux10*)
   10282       if test yes,no = "$GCC,$with_gnu_ld"; then
   10283 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10284       else
   10285 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10286       fi
   10287       if test no = "$with_gnu_ld"; then
   10288 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10289 	hardcode_libdir_separator=:
   10290 	hardcode_direct=yes
   10291 	hardcode_direct_absolute=yes
   10292 	export_dynamic_flag_spec='$wl-E'
   10293 	# hardcode_minus_L: Not really in the search PATH,
   10294 	# but as the default location of the library.
   10295 	hardcode_minus_L=yes
   10296       fi
   10297       ;;
   10298 
   10299     hpux11*)
   10300       if test yes,no = "$GCC,$with_gnu_ld"; then
   10301 	case $host_cpu in
   10302 	hppa*64*)
   10303 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10304 	  ;;
   10305 	ia64*)
   10306 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10307 	  ;;
   10308 	*)
   10309 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10310 	  ;;
   10311 	esac
   10312       else
   10313 	case $host_cpu in
   10314 	hppa*64*)
   10315 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10316 	  ;;
   10317 	ia64*)
   10318 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10319 	  ;;
   10320 	*)
   10321 
   10322 	  # Older versions of the 11.00 compiler do not understand -b yet
   10323 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10324 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10325 printf %s "checking if $CC understands -b... " >&6; }
   10326 if test ${lt_cv_prog_compiler__b+y}
   10327 then :
   10328   printf %s "(cached) " >&6
   10329 else $as_nop
   10330   lt_cv_prog_compiler__b=no
   10331    save_LDFLAGS=$LDFLAGS
   10332    LDFLAGS="$LDFLAGS -b"
   10333    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10334    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10335      # The linker can only warn and ignore the option if not recognized
   10336      # So say no if there are warnings
   10337      if test -s conftest.err; then
   10338        # Append any errors to the config.log.
   10339        cat conftest.err 1>&5
   10340        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10341        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10342        if diff conftest.exp conftest.er2 >/dev/null; then
   10343          lt_cv_prog_compiler__b=yes
   10344        fi
   10345      else
   10346        lt_cv_prog_compiler__b=yes
   10347      fi
   10348    fi
   10349    $RM -r conftest*
   10350    LDFLAGS=$save_LDFLAGS
   10351 
   10352 fi
   10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10354 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10355 
   10356 if test yes = "$lt_cv_prog_compiler__b"; then
   10357     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10358 else
   10359     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10360 fi
   10361 
   10362 	  ;;
   10363 	esac
   10364       fi
   10365       if test no = "$with_gnu_ld"; then
   10366 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10367 	hardcode_libdir_separator=:
   10368 
   10369 	case $host_cpu in
   10370 	hppa*64*|ia64*)
   10371 	  hardcode_direct=no
   10372 	  hardcode_shlibpath_var=no
   10373 	  ;;
   10374 	*)
   10375 	  hardcode_direct=yes
   10376 	  hardcode_direct_absolute=yes
   10377 	  export_dynamic_flag_spec='$wl-E'
   10378 
   10379 	  # hardcode_minus_L: Not really in the search PATH,
   10380 	  # but as the default location of the library.
   10381 	  hardcode_minus_L=yes
   10382 	  ;;
   10383 	esac
   10384       fi
   10385       ;;
   10386 
   10387     irix5* | irix6* | nonstopux*)
   10388       if test yes = "$GCC"; then
   10389 	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'
   10390 	# Try to use the -exported_symbol ld option, if it does not
   10391 	# work, assume that -exports_file does not work either and
   10392 	# implicitly export all symbols.
   10393 	# This should be the same for all languages, so no per-tag cache variable.
   10394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10395 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10396 if test ${lt_cv_irix_exported_symbol+y}
   10397 then :
   10398   printf %s "(cached) " >&6
   10399 else $as_nop
   10400   save_LDFLAGS=$LDFLAGS
   10401 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10402 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10403 /* end confdefs.h.  */
   10404 int foo (void) { return 0; }
   10405 _ACEOF
   10406 if ac_fn_c_try_link "$LINENO"
   10407 then :
   10408   lt_cv_irix_exported_symbol=yes
   10409 else $as_nop
   10410   lt_cv_irix_exported_symbol=no
   10411 fi
   10412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10413     conftest$ac_exeext conftest.$ac_ext
   10414            LDFLAGS=$save_LDFLAGS
   10415 fi
   10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10417 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10418 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10419           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'
   10420 	fi
   10421       else
   10422 	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'
   10423 	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'
   10424       fi
   10425       archive_cmds_need_lc='no'
   10426       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10427       hardcode_libdir_separator=:
   10428       inherit_rpath=yes
   10429       link_all_deplibs=yes
   10430       ;;
   10431 
   10432     linux*)
   10433       case $cc_basename in
   10434       tcc*)
   10435 	# Fabrice Bellard et al's Tiny C Compiler
   10436 	ld_shlibs=yes
   10437 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10438 	;;
   10439       esac
   10440       ;;
   10441 
   10442     netbsd*)
   10443       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10444 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10445       else
   10446 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10447       fi
   10448       hardcode_libdir_flag_spec='-R$libdir'
   10449       hardcode_direct=yes
   10450       hardcode_shlibpath_var=no
   10451       ;;
   10452 
   10453     newsos6)
   10454       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10455       hardcode_direct=yes
   10456       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10457       hardcode_libdir_separator=:
   10458       hardcode_shlibpath_var=no
   10459       ;;
   10460 
   10461     *nto* | *qnx*)
   10462       ;;
   10463 
   10464     openbsd* | bitrig*)
   10465       if test -f /usr/libexec/ld.so; then
   10466 	hardcode_direct=yes
   10467 	hardcode_shlibpath_var=no
   10468 	hardcode_direct_absolute=yes
   10469 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10470 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10471 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10472 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10473 	  export_dynamic_flag_spec='$wl-E'
   10474 	else
   10475 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10476 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10477 	fi
   10478       else
   10479 	ld_shlibs=no
   10480       fi
   10481       ;;
   10482 
   10483     os2*)
   10484       hardcode_libdir_flag_spec='-L$libdir'
   10485       hardcode_minus_L=yes
   10486       allow_undefined_flag=unsupported
   10487       shrext_cmds=.dll
   10488       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10489 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10490 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10491 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10492 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10493 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10494 	emximp -o $lib $output_objdir/$libname.def'
   10495       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10496 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10497 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10498 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10499 	prefix_cmds="$SED"~
   10500 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10501 	  prefix_cmds="$prefix_cmds -e 1d";
   10502 	fi~
   10503 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10504 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10505 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10506 	emximp -o $lib $output_objdir/$libname.def'
   10507       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10508       enable_shared_with_static_runtimes=yes
   10509       ;;
   10510 
   10511     osf3*)
   10512       if test yes = "$GCC"; then
   10513 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10514 	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'
   10515       else
   10516 	allow_undefined_flag=' -expect_unresolved \*'
   10517 	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'
   10518       fi
   10519       archive_cmds_need_lc='no'
   10520       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10521       hardcode_libdir_separator=:
   10522       ;;
   10523 
   10524     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10525       if test yes = "$GCC"; then
   10526 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10527 	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'
   10528 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10529       else
   10530 	allow_undefined_flag=' -expect_unresolved \*'
   10531 	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'
   10532 	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~
   10533           $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'
   10534 
   10535 	# Both c and cxx compiler support -rpath directly
   10536 	hardcode_libdir_flag_spec='-rpath $libdir'
   10537       fi
   10538       archive_cmds_need_lc='no'
   10539       hardcode_libdir_separator=:
   10540       ;;
   10541 
   10542     solaris*)
   10543       no_undefined_flag=' -z defs'
   10544       if test yes = "$GCC"; then
   10545 	wlarc='$wl'
   10546 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10547 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10548           $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'
   10549       else
   10550 	case `$CC -V 2>&1` in
   10551 	*"Compilers 5.0"*)
   10552 	  wlarc=''
   10553 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10554 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10555             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10556 	  ;;
   10557 	*)
   10558 	  wlarc='$wl'
   10559 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10560 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10561             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10562 	  ;;
   10563 	esac
   10564       fi
   10565       hardcode_libdir_flag_spec='-R$libdir'
   10566       hardcode_shlibpath_var=no
   10567       case $host_os in
   10568       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10569       *)
   10570 	# The compiler driver will combine and reorder linker options,
   10571 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10572 	# but is careful enough not to reorder.
   10573 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10574 	if test yes = "$GCC"; then
   10575 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10576 	else
   10577 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10578 	fi
   10579 	;;
   10580       esac
   10581       link_all_deplibs=yes
   10582       ;;
   10583 
   10584     sunos4*)
   10585       if test sequent = "$host_vendor"; then
   10586 	# Use $CC to link under sequent, because it throws in some extra .o
   10587 	# files that make .init and .fini sections work.
   10588 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10589       else
   10590 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10591       fi
   10592       hardcode_libdir_flag_spec='-L$libdir'
   10593       hardcode_direct=yes
   10594       hardcode_minus_L=yes
   10595       hardcode_shlibpath_var=no
   10596       ;;
   10597 
   10598     sysv4)
   10599       case $host_vendor in
   10600 	sni)
   10601 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10602 	  hardcode_direct=yes # is this really true???
   10603 	;;
   10604 	siemens)
   10605 	  ## LD is ld it makes a PLAMLIB
   10606 	  ## CC just makes a GrossModule.
   10607 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10608 	  reload_cmds='$CC -r -o $output$reload_objs'
   10609 	  hardcode_direct=no
   10610         ;;
   10611 	motorola)
   10612 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10613 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10614 	;;
   10615       esac
   10616       runpath_var='LD_RUN_PATH'
   10617       hardcode_shlibpath_var=no
   10618       ;;
   10619 
   10620     sysv4.3*)
   10621       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10622       hardcode_shlibpath_var=no
   10623       export_dynamic_flag_spec='-Bexport'
   10624       ;;
   10625 
   10626     sysv4*MP*)
   10627       if test -d /usr/nec; then
   10628 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10629 	hardcode_shlibpath_var=no
   10630 	runpath_var=LD_RUN_PATH
   10631 	hardcode_runpath_var=yes
   10632 	ld_shlibs=yes
   10633       fi
   10634       ;;
   10635 
   10636     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10637       no_undefined_flag='$wl-z,text'
   10638       archive_cmds_need_lc=no
   10639       hardcode_shlibpath_var=no
   10640       runpath_var='LD_RUN_PATH'
   10641 
   10642       if test yes = "$GCC"; then
   10643 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10644 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10645       else
   10646 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10647 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10648       fi
   10649       ;;
   10650 
   10651     sysv5* | sco3.2v5* | sco5v6*)
   10652       # Note: We CANNOT use -z defs as we might desire, because we do not
   10653       # link with -lc, and that would cause any symbols used from libc to
   10654       # always be unresolved, which means just about no library would
   10655       # ever link correctly.  If we're not using GNU ld we use -z text
   10656       # though, which does catch some bad symbols but isn't as heavy-handed
   10657       # as -z defs.
   10658       no_undefined_flag='$wl-z,text'
   10659       allow_undefined_flag='$wl-z,nodefs'
   10660       archive_cmds_need_lc=no
   10661       hardcode_shlibpath_var=no
   10662       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10663       hardcode_libdir_separator=':'
   10664       link_all_deplibs=yes
   10665       export_dynamic_flag_spec='$wl-Bexport'
   10666       runpath_var='LD_RUN_PATH'
   10667 
   10668       if test yes = "$GCC"; then
   10669 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10670 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10671       else
   10672 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10673 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10674       fi
   10675       ;;
   10676 
   10677     uts4*)
   10678       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10679       hardcode_libdir_flag_spec='-L$libdir'
   10680       hardcode_shlibpath_var=no
   10681       ;;
   10682 
   10683     *)
   10684       ld_shlibs=no
   10685       ;;
   10686     esac
   10687 
   10688     if test sni = "$host_vendor"; then
   10689       case $host in
   10690       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10691 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10692 	;;
   10693       esac
   10694     fi
   10695   fi
   10696 
   10697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10698 printf "%s\n" "$ld_shlibs" >&6; }
   10699 test no = "$ld_shlibs" && can_build_shared=no
   10700 
   10701 with_gnu_ld=$with_gnu_ld
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 #
   10718 # Do we need to explicitly link libc?
   10719 #
   10720 case "x$archive_cmds_need_lc" in
   10721 x|xyes)
   10722   # Assume -lc should be added
   10723   archive_cmds_need_lc=yes
   10724 
   10725   if test yes,yes = "$GCC,$enable_shared"; then
   10726     case $archive_cmds in
   10727     *'~'*)
   10728       # FIXME: we may have to deal with multi-command sequences.
   10729       ;;
   10730     '$CC '*)
   10731       # Test whether the compiler implicitly links with -lc since on some
   10732       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10733       # to ld, don't add -lc before -lgcc.
   10734       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10735 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10736 if test ${lt_cv_archive_cmds_need_lc+y}
   10737 then :
   10738   printf %s "(cached) " >&6
   10739 else $as_nop
   10740   $RM conftest*
   10741 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10742 
   10743 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10744   (eval $ac_compile) 2>&5
   10745   ac_status=$?
   10746   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10747   test $ac_status = 0; } 2>conftest.err; then
   10748 	  soname=conftest
   10749 	  lib=conftest
   10750 	  libobjs=conftest.$ac_objext
   10751 	  deplibs=
   10752 	  wl=$lt_prog_compiler_wl
   10753 	  pic_flag=$lt_prog_compiler_pic
   10754 	  compiler_flags=-v
   10755 	  linker_flags=-v
   10756 	  verstring=
   10757 	  output_objdir=.
   10758 	  libname=conftest
   10759 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10760 	  allow_undefined_flag=
   10761 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10762   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10763   ac_status=$?
   10764   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10765   test $ac_status = 0; }
   10766 	  then
   10767 	    lt_cv_archive_cmds_need_lc=no
   10768 	  else
   10769 	    lt_cv_archive_cmds_need_lc=yes
   10770 	  fi
   10771 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10772 	else
   10773 	  cat conftest.err 1>&5
   10774 	fi
   10775 	$RM conftest*
   10776 
   10777 fi
   10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10779 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10780       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10781       ;;
   10782     esac
   10783   fi
   10784   ;;
   10785 esac
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10939 printf %s "checking dynamic linker characteristics... " >&6; }
   10940 
   10941 if test yes = "$GCC"; then
   10942   case $host_os in
   10943     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10944     *) lt_awk_arg='/^libraries:/' ;;
   10945   esac
   10946   case $host_os in
   10947     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10948     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10949   esac
   10950   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10951   case $lt_search_path_spec in
   10952   *\;*)
   10953     # if the path contains ";" then we assume it to be the separator
   10954     # otherwise default to the standard path separator (i.e. ":") - it is
   10955     # assumed that no part of a normal pathname contains ";" but that should
   10956     # okay in the real world where ";" in dirpaths is itself problematic.
   10957     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10958     ;;
   10959   *)
   10960     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10961     ;;
   10962   esac
   10963   # Ok, now we have the path, separated by spaces, we can step through it
   10964   # and add multilib dir if necessary...
   10965   lt_tmp_lt_search_path_spec=
   10966   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10967   # ...but if some path component already ends with the multilib dir we assume
   10968   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10969   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10970   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10971     lt_multi_os_dir=
   10972     ;;
   10973   esac
   10974   for lt_sys_path in $lt_search_path_spec; do
   10975     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10976       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10977     elif test -n "$lt_multi_os_dir"; then
   10978       test -d "$lt_sys_path" && \
   10979 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10980     fi
   10981   done
   10982   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10983 BEGIN {RS = " "; FS = "/|\n";} {
   10984   lt_foo = "";
   10985   lt_count = 0;
   10986   for (lt_i = NF; lt_i > 0; lt_i--) {
   10987     if ($lt_i != "" && $lt_i != ".") {
   10988       if ($lt_i == "..") {
   10989         lt_count++;
   10990       } else {
   10991         if (lt_count == 0) {
   10992           lt_foo = "/" $lt_i lt_foo;
   10993         } else {
   10994           lt_count--;
   10995         }
   10996       }
   10997     }
   10998   }
   10999   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11000   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11001 }'`
   11002   # AWK program above erroneously prepends '/' to C:/dos/paths
   11003   # for these hosts.
   11004   case $host_os in
   11005     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11006       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11007   esac
   11008   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11009 else
   11010   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11011 fi
   11012 library_names_spec=
   11013 libname_spec='lib$name'
   11014 soname_spec=
   11015 shrext_cmds=.so
   11016 postinstall_cmds=
   11017 postuninstall_cmds=
   11018 finish_cmds=
   11019 finish_eval=
   11020 shlibpath_var=
   11021 shlibpath_overrides_runpath=unknown
   11022 version_type=none
   11023 dynamic_linker="$host_os ld.so"
   11024 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11025 need_lib_prefix=unknown
   11026 hardcode_into_libs=no
   11027 
   11028 # when you set need_version to no, make sure it does not cause -set_version
   11029 # flags to be left without arguments
   11030 need_version=unknown
   11031 
   11032 
   11033 
   11034 case $host_os in
   11035 aix3*)
   11036   version_type=linux # correct to gnu/linux during the next big refactor
   11037   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11038   shlibpath_var=LIBPATH
   11039 
   11040   # AIX 3 has no versioning support, so we append a major version to the name.
   11041   soname_spec='$libname$release$shared_ext$major'
   11042   ;;
   11043 
   11044 aix[4-9]*)
   11045   version_type=linux # correct to gnu/linux during the next big refactor
   11046   need_lib_prefix=no
   11047   need_version=no
   11048   hardcode_into_libs=yes
   11049   if test ia64 = "$host_cpu"; then
   11050     # AIX 5 supports IA64
   11051     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11052     shlibpath_var=LD_LIBRARY_PATH
   11053   else
   11054     # With GCC up to 2.95.x, collect2 would create an import file
   11055     # for dependence libraries.  The import file would start with
   11056     # the line '#! .'.  This would cause the generated library to
   11057     # depend on '.', always an invalid library.  This was fixed in
   11058     # development snapshots of GCC prior to 3.0.
   11059     case $host_os in
   11060       aix4 | aix4.[01] | aix4.[01].*)
   11061       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11062 	   echo ' yes '
   11063 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11064 	:
   11065       else
   11066 	can_build_shared=no
   11067       fi
   11068       ;;
   11069     esac
   11070     # Using Import Files as archive members, it is possible to support
   11071     # filename-based versioning of shared library archives on AIX. While
   11072     # this would work for both with and without runtime linking, it will
   11073     # prevent static linking of such archives. So we do filename-based
   11074     # shared library versioning with .so extension only, which is used
   11075     # when both runtime linking and shared linking is enabled.
   11076     # Unfortunately, runtime linking may impact performance, so we do
   11077     # not want this to be the default eventually. Also, we use the
   11078     # versioned .so libs for executables only if there is the -brtl
   11079     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11080     # To allow for filename-based versioning support, we need to create
   11081     # libNAME.so.V as an archive file, containing:
   11082     # *) an Import File, referring to the versioned filename of the
   11083     #    archive as well as the shared archive member, telling the
   11084     #    bitwidth (32 or 64) of that shared object, and providing the
   11085     #    list of exported symbols of that shared object, eventually
   11086     #    decorated with the 'weak' keyword
   11087     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11088     #    it being seen by the linker.
   11089     # At run time we better use the real file rather than another symlink,
   11090     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11091 
   11092     case $with_aix_soname,$aix_use_runtimelinking in
   11093     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11094     # soname into executable. Probably we can add versioning support to
   11095     # collect2, so additional links can be useful in future.
   11096     aix,yes) # traditional libtool
   11097       dynamic_linker='AIX unversionable lib.so'
   11098       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11099       # instead of lib<name>.a to let people know that these are not
   11100       # typical AIX shared libraries.
   11101       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11102       ;;
   11103     aix,no) # traditional AIX only
   11104       dynamic_linker='AIX lib.a(lib.so.V)'
   11105       # We preserve .a as extension for shared libraries through AIX4.2
   11106       # and later when we are not doing run time linking.
   11107       library_names_spec='$libname$release.a $libname.a'
   11108       soname_spec='$libname$release$shared_ext$major'
   11109       ;;
   11110     svr4,*) # full svr4 only
   11111       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11112       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11113       # We do not specify a path in Import Files, so LIBPATH fires.
   11114       shlibpath_overrides_runpath=yes
   11115       ;;
   11116     *,yes) # both, prefer svr4
   11117       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11118       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11119       # unpreferred sharedlib libNAME.a needs extra handling
   11120       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"'
   11121       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"'
   11122       # We do not specify a path in Import Files, so LIBPATH fires.
   11123       shlibpath_overrides_runpath=yes
   11124       ;;
   11125     *,no) # both, prefer aix
   11126       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11127       library_names_spec='$libname$release.a $libname.a'
   11128       soname_spec='$libname$release$shared_ext$major'
   11129       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11130       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)'
   11131       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"'
   11132       ;;
   11133     esac
   11134     shlibpath_var=LIBPATH
   11135   fi
   11136   ;;
   11137 
   11138 amigaos*)
   11139   case $host_cpu in
   11140   powerpc)
   11141     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11142     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11143     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11144     ;;
   11145   m68k)
   11146     library_names_spec='$libname.ixlibrary $libname.a'
   11147     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11148     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'
   11149     ;;
   11150   esac
   11151   ;;
   11152 
   11153 beos*)
   11154   library_names_spec='$libname$shared_ext'
   11155   dynamic_linker="$host_os ld.so"
   11156   shlibpath_var=LIBRARY_PATH
   11157   ;;
   11158 
   11159 bsdi[45]*)
   11160   version_type=linux # correct to gnu/linux during the next big refactor
   11161   need_version=no
   11162   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11163   soname_spec='$libname$release$shared_ext$major'
   11164   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11165   shlibpath_var=LD_LIBRARY_PATH
   11166   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11167   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11168   # the default ld.so.conf also contains /usr/contrib/lib and
   11169   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11170   # libtool to hard-code these into programs
   11171   ;;
   11172 
   11173 cygwin* | mingw* | pw32* | cegcc*)
   11174   version_type=windows
   11175   shrext_cmds=.dll
   11176   need_version=no
   11177   need_lib_prefix=no
   11178 
   11179   case $GCC,$cc_basename in
   11180   yes,*)
   11181     # gcc
   11182     library_names_spec='$libname.dll.a'
   11183     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11184     postinstall_cmds='base_file=`basename \$file`~
   11185       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11186       dldir=$destdir/`dirname \$dlpath`~
   11187       test -d \$dldir || mkdir -p \$dldir~
   11188       $install_prog $dir/$dlname \$dldir/$dlname~
   11189       chmod a+x \$dldir/$dlname~
   11190       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11191         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11192       fi'
   11193     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11194       dlpath=$dir/\$dldll~
   11195        $RM \$dlpath'
   11196     shlibpath_overrides_runpath=yes
   11197 
   11198     case $host_os in
   11199     cygwin*)
   11200       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11201       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11202 
   11203       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11204       ;;
   11205     mingw* | cegcc*)
   11206       # MinGW DLLs use traditional 'lib' prefix
   11207       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11208       ;;
   11209     pw32*)
   11210       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11211       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11212       ;;
   11213     esac
   11214     dynamic_linker='Win32 ld.exe'
   11215     ;;
   11216 
   11217   *,cl*)
   11218     # Native MSVC
   11219     libname_spec='$name'
   11220     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11221     library_names_spec='$libname.dll.lib'
   11222 
   11223     case $build_os in
   11224     mingw*)
   11225       sys_lib_search_path_spec=
   11226       lt_save_ifs=$IFS
   11227       IFS=';'
   11228       for lt_path in $LIB
   11229       do
   11230         IFS=$lt_save_ifs
   11231         # Let DOS variable expansion print the short 8.3 style file name.
   11232         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11233         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11234       done
   11235       IFS=$lt_save_ifs
   11236       # Convert to MSYS style.
   11237       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11238       ;;
   11239     cygwin*)
   11240       # Convert to unix form, then to dos form, then back to unix form
   11241       # but this time dos style (no spaces!) so that the unix form looks
   11242       # like /cygdrive/c/PROGRA~1:/cygdr...
   11243       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11244       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11245       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11246       ;;
   11247     *)
   11248       sys_lib_search_path_spec=$LIB
   11249       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11250         # It is most probably a Windows format PATH.
   11251         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11252       else
   11253         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11254       fi
   11255       # FIXME: find the short name or the path components, as spaces are
   11256       # common. (e.g. "Program Files" -> "PROGRA~1")
   11257       ;;
   11258     esac
   11259 
   11260     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11261     postinstall_cmds='base_file=`basename \$file`~
   11262       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11263       dldir=$destdir/`dirname \$dlpath`~
   11264       test -d \$dldir || mkdir -p \$dldir~
   11265       $install_prog $dir/$dlname \$dldir/$dlname'
   11266     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11267       dlpath=$dir/\$dldll~
   11268        $RM \$dlpath'
   11269     shlibpath_overrides_runpath=yes
   11270     dynamic_linker='Win32 link.exe'
   11271     ;;
   11272 
   11273   *)
   11274     # Assume MSVC wrapper
   11275     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11276     dynamic_linker='Win32 ld.exe'
   11277     ;;
   11278   esac
   11279   # FIXME: first we should search . and the directory the executable is in
   11280   shlibpath_var=PATH
   11281   ;;
   11282 
   11283 darwin* | rhapsody*)
   11284   dynamic_linker="$host_os dyld"
   11285   version_type=darwin
   11286   need_lib_prefix=no
   11287   need_version=no
   11288   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   11289   soname_spec='$libname$release$major$shared_ext'
   11290   shlibpath_overrides_runpath=yes
   11291   shlibpath_var=DYLD_LIBRARY_PATH
   11292   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   11293 
   11294   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11295   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11296   ;;
   11297 
   11298 dgux*)
   11299   version_type=linux # correct to gnu/linux during the next big refactor
   11300   need_lib_prefix=no
   11301   need_version=no
   11302   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11303   soname_spec='$libname$release$shared_ext$major'
   11304   shlibpath_var=LD_LIBRARY_PATH
   11305   ;;
   11306 
   11307 freebsd* | dragonfly*)
   11308   # DragonFly does not have aout.  When/if they implement a new
   11309   # versioning mechanism, adjust this.
   11310   if test -x /usr/bin/objformat; then
   11311     objformat=`/usr/bin/objformat`
   11312   else
   11313     case $host_os in
   11314     freebsd[23].*) objformat=aout ;;
   11315     *) objformat=elf ;;
   11316     esac
   11317   fi
   11318   # Handle Gentoo/FreeBSD as it was Linux
   11319   case $host_vendor in
   11320     gentoo)
   11321       version_type=linux ;;
   11322     *)
   11323       version_type=freebsd-$objformat ;;
   11324   esac
   11325 
   11326   case $version_type in
   11327     freebsd-elf*)
   11328       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11329       soname_spec='$libname$release$shared_ext$major'
   11330       need_version=no
   11331       need_lib_prefix=no
   11332       ;;
   11333     freebsd-*)
   11334       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11335       need_version=yes
   11336       ;;
   11337     linux)
   11338       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11339       soname_spec='${libname}${release}${shared_ext}$major'
   11340       need_lib_prefix=no
   11341       need_version=no
   11342       ;;
   11343   esac
   11344   shlibpath_var=LD_LIBRARY_PATH
   11345   case $host_os in
   11346   freebsd2.*)
   11347     shlibpath_overrides_runpath=yes
   11348     ;;
   11349   freebsd3.[01]* | freebsdelf3.[01]*)
   11350     shlibpath_overrides_runpath=yes
   11351     hardcode_into_libs=yes
   11352     ;;
   11353   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11354   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11355     shlibpath_overrides_runpath=no
   11356     hardcode_into_libs=yes
   11357     ;;
   11358   *) # from 4.6 on, and DragonFly
   11359     shlibpath_overrides_runpath=yes
   11360     hardcode_into_libs=yes
   11361     ;;
   11362   esac
   11363   ;;
   11364 
   11365 haiku*)
   11366   version_type=linux # correct to gnu/linux during the next big refactor
   11367   need_lib_prefix=no
   11368   need_version=no
   11369   dynamic_linker="$host_os runtime_loader"
   11370   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11371   soname_spec='$libname$release$shared_ext$major'
   11372   shlibpath_var=LIBRARY_PATH
   11373   shlibpath_overrides_runpath=no
   11374   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11375   hardcode_into_libs=yes
   11376   ;;
   11377 
   11378 hpux9* | hpux10* | hpux11*)
   11379   # Give a soname corresponding to the major version so that dld.sl refuses to
   11380   # link against other versions.
   11381   version_type=sunos
   11382   need_lib_prefix=no
   11383   need_version=no
   11384   case $host_cpu in
   11385   ia64*)
   11386     shrext_cmds='.so'
   11387     hardcode_into_libs=yes
   11388     dynamic_linker="$host_os dld.so"
   11389     shlibpath_var=LD_LIBRARY_PATH
   11390     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11391     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11392     soname_spec='$libname$release$shared_ext$major'
   11393     if test 32 = "$HPUX_IA64_MODE"; then
   11394       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11395       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11396     else
   11397       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11398       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11399     fi
   11400     ;;
   11401   hppa*64*)
   11402     shrext_cmds='.sl'
   11403     hardcode_into_libs=yes
   11404     dynamic_linker="$host_os dld.sl"
   11405     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11406     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11407     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11408     soname_spec='$libname$release$shared_ext$major'
   11409     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11410     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11411     ;;
   11412   *)
   11413     shrext_cmds='.sl'
   11414     dynamic_linker="$host_os dld.sl"
   11415     shlibpath_var=SHLIB_PATH
   11416     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11417     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11418     soname_spec='$libname$release$shared_ext$major'
   11419     ;;
   11420   esac
   11421   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11422   postinstall_cmds='chmod 555 $lib'
   11423   # or fails outright, so override atomically:
   11424   install_override_mode=555
   11425   ;;
   11426 
   11427 interix[3-9]*)
   11428   version_type=linux # correct to gnu/linux during the next big refactor
   11429   need_lib_prefix=no
   11430   need_version=no
   11431   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11432   soname_spec='$libname$release$shared_ext$major'
   11433   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11434   shlibpath_var=LD_LIBRARY_PATH
   11435   shlibpath_overrides_runpath=no
   11436   hardcode_into_libs=yes
   11437   ;;
   11438 
   11439 irix5* | irix6* | nonstopux*)
   11440   case $host_os in
   11441     nonstopux*) version_type=nonstopux ;;
   11442     *)
   11443 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11444 		version_type=linux # correct to gnu/linux during the next big refactor
   11445 	else
   11446 		version_type=irix
   11447 	fi ;;
   11448   esac
   11449   need_lib_prefix=no
   11450   need_version=no
   11451   soname_spec='$libname$release$shared_ext$major'
   11452   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11453   case $host_os in
   11454   irix5* | nonstopux*)
   11455     libsuff= shlibsuff=
   11456     ;;
   11457   *)
   11458     case $LD in # libtool.m4 will add one of these switches to LD
   11459     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11460       libsuff= shlibsuff= libmagic=32-bit;;
   11461     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11462       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11463     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11464       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11465     *) libsuff= shlibsuff= libmagic=never-match;;
   11466     esac
   11467     ;;
   11468   esac
   11469   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11470   shlibpath_overrides_runpath=no
   11471   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11472   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11473   hardcode_into_libs=yes
   11474   ;;
   11475 
   11476 # No shared lib support for Linux oldld, aout, or coff.
   11477 linux*oldld* | linux*aout* | linux*coff*)
   11478   dynamic_linker=no
   11479   ;;
   11480 
   11481 linux*android*)
   11482   version_type=none # Android doesn't support versioned libraries.
   11483   need_lib_prefix=no
   11484   need_version=no
   11485   library_names_spec='$libname$release$shared_ext'
   11486   soname_spec='$libname$release$shared_ext'
   11487   finish_cmds=
   11488   shlibpath_var=LD_LIBRARY_PATH
   11489   shlibpath_overrides_runpath=yes
   11490 
   11491   # This implies no fast_install, which is unacceptable.
   11492   # Some rework will be needed to allow for fast_install
   11493   # before this can be enabled.
   11494   hardcode_into_libs=yes
   11495 
   11496   dynamic_linker='Android linker'
   11497   # Don't embed -rpath directories since the linker doesn't support them.
   11498   hardcode_libdir_flag_spec='-L$libdir'
   11499   ;;
   11500 
   11501 # This must be glibc/ELF.
   11502 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11503   version_type=linux # correct to gnu/linux during the next big refactor
   11504   need_lib_prefix=no
   11505   need_version=no
   11506   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11507   soname_spec='$libname$release$shared_ext$major'
   11508   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11509   shlibpath_var=LD_LIBRARY_PATH
   11510   shlibpath_overrides_runpath=no
   11511 
   11512   # Some binutils ld are patched to set DT_RUNPATH
   11513   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11514 then :
   11515   printf %s "(cached) " >&6
   11516 else $as_nop
   11517   lt_cv_shlibpath_overrides_runpath=no
   11518     save_LDFLAGS=$LDFLAGS
   11519     save_libdir=$libdir
   11520     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11521 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11523 /* end confdefs.h.  */
   11524 
   11525 int
   11526 main (void)
   11527 {
   11528 
   11529   ;
   11530   return 0;
   11531 }
   11532 _ACEOF
   11533 if ac_fn_c_try_link "$LINENO"
   11534 then :
   11535   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11536 then :
   11537   lt_cv_shlibpath_overrides_runpath=yes
   11538 fi
   11539 fi
   11540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11541     conftest$ac_exeext conftest.$ac_ext
   11542     LDFLAGS=$save_LDFLAGS
   11543     libdir=$save_libdir
   11544 
   11545 fi
   11546 
   11547   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11548 
   11549   # This implies no fast_install, which is unacceptable.
   11550   # Some rework will be needed to allow for fast_install
   11551   # before this can be enabled.
   11552   hardcode_into_libs=yes
   11553 
   11554   # Ideally, we could use ldconfig to report *all* directores which are
   11555   # searched for libraries, however this is still not possible.  Aside from not
   11556   # being certain /sbin/ldconfig is available, command
   11557   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11558   # even though it is searched at run-time.  Try to do the best guess by
   11559   # appending ld.so.conf contents (and includes) to the search path.
   11560   if test -f /etc/ld.so.conf; then
   11561     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' ' '`
   11562     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11563   fi
   11564 
   11565   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11566   # powerpc, because MkLinux only supported shared libraries with the
   11567   # GNU dynamic linker.  Since this was broken with cross compilers,
   11568   # most powerpc-linux boxes support dynamic linking these days and
   11569   # people can always --disable-shared, the test was removed, and we
   11570   # assume the GNU/Linux dynamic linker is in use.
   11571   dynamic_linker='GNU/Linux ld.so'
   11572   ;;
   11573 
   11574 netbsd*)
   11575   version_type=sunos
   11576   need_lib_prefix=no
   11577   need_version=no
   11578   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11579     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11580     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11581     dynamic_linker='NetBSD (a.out) ld.so'
   11582   else
   11583     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11584     soname_spec='$libname$release$shared_ext$major'
   11585     dynamic_linker='NetBSD ld.elf_so'
   11586   fi
   11587   shlibpath_var=LD_LIBRARY_PATH
   11588   shlibpath_overrides_runpath=yes
   11589   hardcode_into_libs=yes
   11590   ;;
   11591 
   11592 newsos6)
   11593   version_type=linux # correct to gnu/linux during the next big refactor
   11594   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11595   shlibpath_var=LD_LIBRARY_PATH
   11596   shlibpath_overrides_runpath=yes
   11597   ;;
   11598 
   11599 *nto* | *qnx*)
   11600   version_type=qnx
   11601   need_lib_prefix=no
   11602   need_version=no
   11603   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11604   soname_spec='$libname$release$shared_ext$major'
   11605   shlibpath_var=LD_LIBRARY_PATH
   11606   shlibpath_overrides_runpath=no
   11607   hardcode_into_libs=yes
   11608   dynamic_linker='ldqnx.so'
   11609   ;;
   11610 
   11611 openbsd* | bitrig*)
   11612   version_type=sunos
   11613   sys_lib_dlsearch_path_spec=/usr/lib
   11614   need_lib_prefix=no
   11615   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11616     need_version=no
   11617   else
   11618     need_version=yes
   11619   fi
   11620   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11621   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11622   shlibpath_var=LD_LIBRARY_PATH
   11623   shlibpath_overrides_runpath=yes
   11624   ;;
   11625 
   11626 os2*)
   11627   libname_spec='$name'
   11628   version_type=windows
   11629   shrext_cmds=.dll
   11630   need_version=no
   11631   need_lib_prefix=no
   11632   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11633   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11634     v=$($ECHO $release$versuffix | tr -d .-);
   11635     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11636     $ECHO $n$v`$shared_ext'
   11637   library_names_spec='${libname}_dll.$libext'
   11638   dynamic_linker='OS/2 ld.exe'
   11639   shlibpath_var=BEGINLIBPATH
   11640   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11641   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11642   postinstall_cmds='base_file=`basename \$file`~
   11643     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11644     dldir=$destdir/`dirname \$dlpath`~
   11645     test -d \$dldir || mkdir -p \$dldir~
   11646     $install_prog $dir/$dlname \$dldir/$dlname~
   11647     chmod a+x \$dldir/$dlname~
   11648     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11649       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11650     fi'
   11651   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11652     dlpath=$dir/\$dldll~
   11653     $RM \$dlpath'
   11654   ;;
   11655 
   11656 osf3* | osf4* | osf5*)
   11657   version_type=osf
   11658   need_lib_prefix=no
   11659   need_version=no
   11660   soname_spec='$libname$release$shared_ext$major'
   11661   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11662   shlibpath_var=LD_LIBRARY_PATH
   11663   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11664   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11665   ;;
   11666 
   11667 rdos*)
   11668   dynamic_linker=no
   11669   ;;
   11670 
   11671 solaris*)
   11672   version_type=linux # correct to gnu/linux during the next big refactor
   11673   need_lib_prefix=no
   11674   need_version=no
   11675   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11676   soname_spec='$libname$release$shared_ext$major'
   11677   shlibpath_var=LD_LIBRARY_PATH
   11678   shlibpath_overrides_runpath=yes
   11679   hardcode_into_libs=yes
   11680   # ldd complains unless libraries are executable
   11681   postinstall_cmds='chmod +x $lib'
   11682   ;;
   11683 
   11684 sunos4*)
   11685   version_type=sunos
   11686   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11687   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11688   shlibpath_var=LD_LIBRARY_PATH
   11689   shlibpath_overrides_runpath=yes
   11690   if test yes = "$with_gnu_ld"; then
   11691     need_lib_prefix=no
   11692   fi
   11693   need_version=yes
   11694   ;;
   11695 
   11696 sysv4 | sysv4.3*)
   11697   version_type=linux # correct to gnu/linux during the next big refactor
   11698   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11699   soname_spec='$libname$release$shared_ext$major'
   11700   shlibpath_var=LD_LIBRARY_PATH
   11701   case $host_vendor in
   11702     sni)
   11703       shlibpath_overrides_runpath=no
   11704       need_lib_prefix=no
   11705       runpath_var=LD_RUN_PATH
   11706       ;;
   11707     siemens)
   11708       need_lib_prefix=no
   11709       ;;
   11710     motorola)
   11711       need_lib_prefix=no
   11712       need_version=no
   11713       shlibpath_overrides_runpath=no
   11714       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11715       ;;
   11716   esac
   11717   ;;
   11718 
   11719 sysv4*MP*)
   11720   if test -d /usr/nec; then
   11721     version_type=linux # correct to gnu/linux during the next big refactor
   11722     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11723     soname_spec='$libname$shared_ext.$major'
   11724     shlibpath_var=LD_LIBRARY_PATH
   11725   fi
   11726   ;;
   11727 
   11728 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11729   version_type=sco
   11730   need_lib_prefix=no
   11731   need_version=no
   11732   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11733   soname_spec='$libname$release$shared_ext$major'
   11734   shlibpath_var=LD_LIBRARY_PATH
   11735   shlibpath_overrides_runpath=yes
   11736   hardcode_into_libs=yes
   11737   if test yes = "$with_gnu_ld"; then
   11738     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11739   else
   11740     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11741     case $host_os in
   11742       sco3.2v5*)
   11743         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11744 	;;
   11745     esac
   11746   fi
   11747   sys_lib_dlsearch_path_spec='/usr/lib'
   11748   ;;
   11749 
   11750 tpf*)
   11751   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11752   version_type=linux # correct to gnu/linux during the next big refactor
   11753   need_lib_prefix=no
   11754   need_version=no
   11755   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11756   shlibpath_var=LD_LIBRARY_PATH
   11757   shlibpath_overrides_runpath=no
   11758   hardcode_into_libs=yes
   11759   ;;
   11760 
   11761 uts4*)
   11762   version_type=linux # correct to gnu/linux during the next big refactor
   11763   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11764   soname_spec='$libname$release$shared_ext$major'
   11765   shlibpath_var=LD_LIBRARY_PATH
   11766   ;;
   11767 
   11768 *)
   11769   dynamic_linker=no
   11770   ;;
   11771 esac
   11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11773 printf "%s\n" "$dynamic_linker" >&6; }
   11774 test no = "$dynamic_linker" && can_build_shared=no
   11775 
   11776 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11777 if test yes = "$GCC"; then
   11778   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11779 fi
   11780 
   11781 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11782   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11783 fi
   11784 
   11785 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11786   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11787 fi
   11788 
   11789 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11790 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11791 
   11792 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11793 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11794 
   11795 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11796 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11895 printf %s "checking how to hardcode library paths into programs... " >&6; }
   11896 hardcode_action=
   11897 if test -n "$hardcode_libdir_flag_spec" ||
   11898    test -n "$runpath_var" ||
   11899    test yes = "$hardcode_automatic"; then
   11900 
   11901   # We can hardcode non-existent directories.
   11902   if test no != "$hardcode_direct" &&
   11903      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11904      # have to relink, otherwise we might link with an installed library
   11905      # when we should be linking with a yet-to-be-installed one
   11906      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11907      test no != "$hardcode_minus_L"; then
   11908     # Linking always hardcodes the temporary library directory.
   11909     hardcode_action=relink
   11910   else
   11911     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11912     hardcode_action=immediate
   11913   fi
   11914 else
   11915   # We cannot hardcode anything, or else we can only hardcode existing
   11916   # directories.
   11917   hardcode_action=unsupported
   11918 fi
   11919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11920 printf "%s\n" "$hardcode_action" >&6; }
   11921 
   11922 if test relink = "$hardcode_action" ||
   11923    test yes = "$inherit_rpath"; then
   11924   # Fast installation is not supported
   11925   enable_fast_install=no
   11926 elif test yes = "$shlibpath_overrides_runpath" ||
   11927      test no = "$enable_shared"; then
   11928   # Fast installation is not necessary
   11929   enable_fast_install=needless
   11930 fi
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937   if test yes != "$enable_dlopen"; then
   11938   enable_dlopen=unknown
   11939   enable_dlopen_self=unknown
   11940   enable_dlopen_self_static=unknown
   11941 else
   11942   lt_cv_dlopen=no
   11943   lt_cv_dlopen_libs=
   11944 
   11945   case $host_os in
   11946   beos*)
   11947     lt_cv_dlopen=load_add_on
   11948     lt_cv_dlopen_libs=
   11949     lt_cv_dlopen_self=yes
   11950     ;;
   11951 
   11952   mingw* | pw32* | cegcc*)
   11953     lt_cv_dlopen=LoadLibrary
   11954     lt_cv_dlopen_libs=
   11955     ;;
   11956 
   11957   cygwin*)
   11958     lt_cv_dlopen=dlopen
   11959     lt_cv_dlopen_libs=
   11960     ;;
   11961 
   11962   darwin*)
   11963     # if libdl is installed we need to link against it
   11964     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11965 printf %s "checking for dlopen in -ldl... " >&6; }
   11966 if test ${ac_cv_lib_dl_dlopen+y}
   11967 then :
   11968   printf %s "(cached) " >&6
   11969 else $as_nop
   11970   ac_check_lib_save_LIBS=$LIBS
   11971 LIBS="-ldl  $LIBS"
   11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11973 /* end confdefs.h.  */
   11974 
   11975 /* Override any GCC internal prototype to avoid an error.
   11976    Use char because int might match the return type of a GCC
   11977    builtin and then its argument prototype would still apply.  */
   11978 char dlopen ();
   11979 int
   11980 main (void)
   11981 {
   11982 return dlopen ();
   11983   ;
   11984   return 0;
   11985 }
   11986 _ACEOF
   11987 if ac_fn_c_try_link "$LINENO"
   11988 then :
   11989   ac_cv_lib_dl_dlopen=yes
   11990 else $as_nop
   11991   ac_cv_lib_dl_dlopen=no
   11992 fi
   11993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11994     conftest$ac_exeext conftest.$ac_ext
   11995 LIBS=$ac_check_lib_save_LIBS
   11996 fi
   11997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11998 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   11999 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12000 then :
   12001   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12002 else $as_nop
   12003 
   12004     lt_cv_dlopen=dyld
   12005     lt_cv_dlopen_libs=
   12006     lt_cv_dlopen_self=yes
   12007 
   12008 fi
   12009 
   12010     ;;
   12011 
   12012   tpf*)
   12013     # Don't try to run any link tests for TPF.  We know it's impossible
   12014     # because TPF is a cross-compiler, and we know how we open DSOs.
   12015     lt_cv_dlopen=dlopen
   12016     lt_cv_dlopen_libs=
   12017     lt_cv_dlopen_self=no
   12018     ;;
   12019 
   12020   *)
   12021     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12022 if test "x$ac_cv_func_shl_load" = xyes
   12023 then :
   12024   lt_cv_dlopen=shl_load
   12025 else $as_nop
   12026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12027 printf %s "checking for shl_load in -ldld... " >&6; }
   12028 if test ${ac_cv_lib_dld_shl_load+y}
   12029 then :
   12030   printf %s "(cached) " >&6
   12031 else $as_nop
   12032   ac_check_lib_save_LIBS=$LIBS
   12033 LIBS="-ldld  $LIBS"
   12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12035 /* end confdefs.h.  */
   12036 
   12037 /* Override any GCC internal prototype to avoid an error.
   12038    Use char because int might match the return type of a GCC
   12039    builtin and then its argument prototype would still apply.  */
   12040 char shl_load ();
   12041 int
   12042 main (void)
   12043 {
   12044 return shl_load ();
   12045   ;
   12046   return 0;
   12047 }
   12048 _ACEOF
   12049 if ac_fn_c_try_link "$LINENO"
   12050 then :
   12051   ac_cv_lib_dld_shl_load=yes
   12052 else $as_nop
   12053   ac_cv_lib_dld_shl_load=no
   12054 fi
   12055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12056     conftest$ac_exeext conftest.$ac_ext
   12057 LIBS=$ac_check_lib_save_LIBS
   12058 fi
   12059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12060 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12061 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12062 then :
   12063   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12064 else $as_nop
   12065   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12066 if test "x$ac_cv_func_dlopen" = xyes
   12067 then :
   12068   lt_cv_dlopen=dlopen
   12069 else $as_nop
   12070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12071 printf %s "checking for dlopen in -ldl... " >&6; }
   12072 if test ${ac_cv_lib_dl_dlopen+y}
   12073 then :
   12074   printf %s "(cached) " >&6
   12075 else $as_nop
   12076   ac_check_lib_save_LIBS=$LIBS
   12077 LIBS="-ldl  $LIBS"
   12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12079 /* end confdefs.h.  */
   12080 
   12081 /* Override any GCC internal prototype to avoid an error.
   12082    Use char because int might match the return type of a GCC
   12083    builtin and then its argument prototype would still apply.  */
   12084 char dlopen ();
   12085 int
   12086 main (void)
   12087 {
   12088 return dlopen ();
   12089   ;
   12090   return 0;
   12091 }
   12092 _ACEOF
   12093 if ac_fn_c_try_link "$LINENO"
   12094 then :
   12095   ac_cv_lib_dl_dlopen=yes
   12096 else $as_nop
   12097   ac_cv_lib_dl_dlopen=no
   12098 fi
   12099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12100     conftest$ac_exeext conftest.$ac_ext
   12101 LIBS=$ac_check_lib_save_LIBS
   12102 fi
   12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12104 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12105 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12106 then :
   12107   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12108 else $as_nop
   12109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12110 printf %s "checking for dlopen in -lsvld... " >&6; }
   12111 if test ${ac_cv_lib_svld_dlopen+y}
   12112 then :
   12113   printf %s "(cached) " >&6
   12114 else $as_nop
   12115   ac_check_lib_save_LIBS=$LIBS
   12116 LIBS="-lsvld  $LIBS"
   12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12118 /* end confdefs.h.  */
   12119 
   12120 /* Override any GCC internal prototype to avoid an error.
   12121    Use char because int might match the return type of a GCC
   12122    builtin and then its argument prototype would still apply.  */
   12123 char dlopen ();
   12124 int
   12125 main (void)
   12126 {
   12127 return dlopen ();
   12128   ;
   12129   return 0;
   12130 }
   12131 _ACEOF
   12132 if ac_fn_c_try_link "$LINENO"
   12133 then :
   12134   ac_cv_lib_svld_dlopen=yes
   12135 else $as_nop
   12136   ac_cv_lib_svld_dlopen=no
   12137 fi
   12138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12139     conftest$ac_exeext conftest.$ac_ext
   12140 LIBS=$ac_check_lib_save_LIBS
   12141 fi
   12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12143 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12144 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12145 then :
   12146   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12147 else $as_nop
   12148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12149 printf %s "checking for dld_link in -ldld... " >&6; }
   12150 if test ${ac_cv_lib_dld_dld_link+y}
   12151 then :
   12152   printf %s "(cached) " >&6
   12153 else $as_nop
   12154   ac_check_lib_save_LIBS=$LIBS
   12155 LIBS="-ldld  $LIBS"
   12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12157 /* end confdefs.h.  */
   12158 
   12159 /* Override any GCC internal prototype to avoid an error.
   12160    Use char because int might match the return type of a GCC
   12161    builtin and then its argument prototype would still apply.  */
   12162 char dld_link ();
   12163 int
   12164 main (void)
   12165 {
   12166 return dld_link ();
   12167   ;
   12168   return 0;
   12169 }
   12170 _ACEOF
   12171 if ac_fn_c_try_link "$LINENO"
   12172 then :
   12173   ac_cv_lib_dld_dld_link=yes
   12174 else $as_nop
   12175   ac_cv_lib_dld_dld_link=no
   12176 fi
   12177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12178     conftest$ac_exeext conftest.$ac_ext
   12179 LIBS=$ac_check_lib_save_LIBS
   12180 fi
   12181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12182 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12183 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12184 then :
   12185   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12186 fi
   12187 
   12188 
   12189 fi
   12190 
   12191 
   12192 fi
   12193 
   12194 
   12195 fi
   12196 
   12197 
   12198 fi
   12199 
   12200 
   12201 fi
   12202 
   12203     ;;
   12204   esac
   12205 
   12206   if test no = "$lt_cv_dlopen"; then
   12207     enable_dlopen=no
   12208   else
   12209     enable_dlopen=yes
   12210   fi
   12211 
   12212   case $lt_cv_dlopen in
   12213   dlopen)
   12214     save_CPPFLAGS=$CPPFLAGS
   12215     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12216 
   12217     save_LDFLAGS=$LDFLAGS
   12218     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12219 
   12220     save_LIBS=$LIBS
   12221     LIBS="$lt_cv_dlopen_libs $LIBS"
   12222 
   12223     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12224 printf %s "checking whether a program can dlopen itself... " >&6; }
   12225 if test ${lt_cv_dlopen_self+y}
   12226 then :
   12227   printf %s "(cached) " >&6
   12228 else $as_nop
   12229   	  if test yes = "$cross_compiling"; then :
   12230   lt_cv_dlopen_self=cross
   12231 else
   12232   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12233   lt_status=$lt_dlunknown
   12234   cat > conftest.$ac_ext <<_LT_EOF
   12235 #line $LINENO "configure"
   12236 #include "confdefs.h"
   12237 
   12238 #if HAVE_DLFCN_H
   12239 #include <dlfcn.h>
   12240 #endif
   12241 
   12242 #include <stdio.h>
   12243 
   12244 #ifdef RTLD_GLOBAL
   12245 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12246 #else
   12247 #  ifdef DL_GLOBAL
   12248 #    define LT_DLGLOBAL		DL_GLOBAL
   12249 #  else
   12250 #    define LT_DLGLOBAL		0
   12251 #  endif
   12252 #endif
   12253 
   12254 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12255    find out it does not work in some platform. */
   12256 #ifndef LT_DLLAZY_OR_NOW
   12257 #  ifdef RTLD_LAZY
   12258 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12259 #  else
   12260 #    ifdef DL_LAZY
   12261 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12262 #    else
   12263 #      ifdef RTLD_NOW
   12264 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12265 #      else
   12266 #        ifdef DL_NOW
   12267 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12268 #        else
   12269 #          define LT_DLLAZY_OR_NOW	0
   12270 #        endif
   12271 #      endif
   12272 #    endif
   12273 #  endif
   12274 #endif
   12275 
   12276 /* When -fvisibility=hidden is used, assume the code has been annotated
   12277    correspondingly for the symbols needed.  */
   12278 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12279 int fnord () __attribute__((visibility("default")));
   12280 #endif
   12281 
   12282 int fnord () { return 42; }
   12283 int main ()
   12284 {
   12285   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12286   int status = $lt_dlunknown;
   12287 
   12288   if (self)
   12289     {
   12290       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12291       else
   12292         {
   12293 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12294           else puts (dlerror ());
   12295 	}
   12296       /* dlclose (self); */
   12297     }
   12298   else
   12299     puts (dlerror ());
   12300 
   12301   return status;
   12302 }
   12303 _LT_EOF
   12304   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12305   (eval $ac_link) 2>&5
   12306   ac_status=$?
   12307   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12308   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12309     (./conftest; exit; ) >&5 2>/dev/null
   12310     lt_status=$?
   12311     case x$lt_status in
   12312       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12313       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12314       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12315     esac
   12316   else :
   12317     # compilation failed
   12318     lt_cv_dlopen_self=no
   12319   fi
   12320 fi
   12321 rm -fr conftest*
   12322 
   12323 
   12324 fi
   12325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12326 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12327 
   12328     if test yes = "$lt_cv_dlopen_self"; then
   12329       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12330       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12331 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12332 if test ${lt_cv_dlopen_self_static+y}
   12333 then :
   12334   printf %s "(cached) " >&6
   12335 else $as_nop
   12336   	  if test yes = "$cross_compiling"; then :
   12337   lt_cv_dlopen_self_static=cross
   12338 else
   12339   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12340   lt_status=$lt_dlunknown
   12341   cat > conftest.$ac_ext <<_LT_EOF
   12342 #line $LINENO "configure"
   12343 #include "confdefs.h"
   12344 
   12345 #if HAVE_DLFCN_H
   12346 #include <dlfcn.h>
   12347 #endif
   12348 
   12349 #include <stdio.h>
   12350 
   12351 #ifdef RTLD_GLOBAL
   12352 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12353 #else
   12354 #  ifdef DL_GLOBAL
   12355 #    define LT_DLGLOBAL		DL_GLOBAL
   12356 #  else
   12357 #    define LT_DLGLOBAL		0
   12358 #  endif
   12359 #endif
   12360 
   12361 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12362    find out it does not work in some platform. */
   12363 #ifndef LT_DLLAZY_OR_NOW
   12364 #  ifdef RTLD_LAZY
   12365 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12366 #  else
   12367 #    ifdef DL_LAZY
   12368 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12369 #    else
   12370 #      ifdef RTLD_NOW
   12371 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12372 #      else
   12373 #        ifdef DL_NOW
   12374 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12375 #        else
   12376 #          define LT_DLLAZY_OR_NOW	0
   12377 #        endif
   12378 #      endif
   12379 #    endif
   12380 #  endif
   12381 #endif
   12382 
   12383 /* When -fvisibility=hidden is used, assume the code has been annotated
   12384    correspondingly for the symbols needed.  */
   12385 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12386 int fnord () __attribute__((visibility("default")));
   12387 #endif
   12388 
   12389 int fnord () { return 42; }
   12390 int main ()
   12391 {
   12392   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12393   int status = $lt_dlunknown;
   12394 
   12395   if (self)
   12396     {
   12397       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12398       else
   12399         {
   12400 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12401           else puts (dlerror ());
   12402 	}
   12403       /* dlclose (self); */
   12404     }
   12405   else
   12406     puts (dlerror ());
   12407 
   12408   return status;
   12409 }
   12410 _LT_EOF
   12411   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12412   (eval $ac_link) 2>&5
   12413   ac_status=$?
   12414   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12415   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12416     (./conftest; exit; ) >&5 2>/dev/null
   12417     lt_status=$?
   12418     case x$lt_status in
   12419       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12420       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12421       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12422     esac
   12423   else :
   12424     # compilation failed
   12425     lt_cv_dlopen_self_static=no
   12426   fi
   12427 fi
   12428 rm -fr conftest*
   12429 
   12430 
   12431 fi
   12432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12433 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12434     fi
   12435 
   12436     CPPFLAGS=$save_CPPFLAGS
   12437     LDFLAGS=$save_LDFLAGS
   12438     LIBS=$save_LIBS
   12439     ;;
   12440   esac
   12441 
   12442   case $lt_cv_dlopen_self in
   12443   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12444   *) enable_dlopen_self=unknown ;;
   12445   esac
   12446 
   12447   case $lt_cv_dlopen_self_static in
   12448   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12449   *) enable_dlopen_self_static=unknown ;;
   12450   esac
   12451 fi
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 striplib=
   12470 old_striplib=
   12471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12472 printf %s "checking whether stripping libraries is possible... " >&6; }
   12473 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12474   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12475   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12477 printf "%s\n" "yes" >&6; }
   12478 else
   12479 # FIXME - insert some real tests, host_os isn't really good enough
   12480   case $host_os in
   12481   darwin*)
   12482     if test -n "$STRIP"; then
   12483       striplib="$STRIP -x"
   12484       old_striplib="$STRIP -S"
   12485       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12486 printf "%s\n" "yes" >&6; }
   12487     else
   12488       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12489 printf "%s\n" "no" >&6; }
   12490     fi
   12491     ;;
   12492   *)
   12493     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12494 printf "%s\n" "no" >&6; }
   12495     ;;
   12496   esac
   12497 fi
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510   # Report what library types will actually be built
   12511   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12512 printf %s "checking if libtool supports shared libraries... " >&6; }
   12513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12514 printf "%s\n" "$can_build_shared" >&6; }
   12515 
   12516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12517 printf %s "checking whether to build shared libraries... " >&6; }
   12518   test no = "$can_build_shared" && enable_shared=no
   12519 
   12520   # On AIX, shared libraries and static libraries use the same namespace, and
   12521   # are all built from PIC.
   12522   case $host_os in
   12523   aix3*)
   12524     test yes = "$enable_shared" && enable_static=no
   12525     if test -n "$RANLIB"; then
   12526       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12527       postinstall_cmds='$RANLIB $lib'
   12528     fi
   12529     ;;
   12530 
   12531   aix[4-9]*)
   12532     if test ia64 != "$host_cpu"; then
   12533       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12534       yes,aix,yes) ;;			# shared object as lib.so file only
   12535       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12536       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12537       esac
   12538     fi
   12539     ;;
   12540   esac
   12541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12542 printf "%s\n" "$enable_shared" >&6; }
   12543 
   12544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12545 printf %s "checking whether to build static libraries... " >&6; }
   12546   # Make sure either enable_shared or enable_static is yes.
   12547   test yes = "$enable_shared" || enable_static=yes
   12548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12549 printf "%s\n" "$enable_static" >&6; }
   12550 
   12551 
   12552 
   12553 
   12554 fi
   12555 ac_ext=c
   12556 ac_cpp='$CPP $CPPFLAGS'
   12557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12560 
   12561 CC=$lt_save_CC
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577         ac_config_commands="$ac_config_commands libtool"
   12578 
   12579 
   12580 
   12581 
   12582 # Only expand once:
   12583 
   12584 
   12585 
   12586 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12600 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12601 if test ${ac_cv_c_undeclared_builtin_options+y}
   12602 then :
   12603   printf %s "(cached) " >&6
   12604 else $as_nop
   12605   ac_save_CFLAGS=$CFLAGS
   12606    ac_cv_c_undeclared_builtin_options='cannot detect'
   12607    for ac_arg in '' -fno-builtin; do
   12608      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12609      # This test program should *not* compile successfully.
   12610      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12611 /* end confdefs.h.  */
   12612 
   12613 int
   12614 main (void)
   12615 {
   12616 (void) strchr;
   12617   ;
   12618   return 0;
   12619 }
   12620 _ACEOF
   12621 if ac_fn_c_try_compile "$LINENO"
   12622 then :
   12623 
   12624 else $as_nop
   12625   # This test program should compile successfully.
   12626         # No library function is consistently available on
   12627         # freestanding implementations, so test against a dummy
   12628         # declaration.  Include always-available headers on the
   12629         # off chance that they somehow elicit warnings.
   12630         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12631 /* end confdefs.h.  */
   12632 #include <float.h>
   12633 #include <limits.h>
   12634 #include <stdarg.h>
   12635 #include <stddef.h>
   12636 extern void ac_decl (int, char *);
   12637 
   12638 int
   12639 main (void)
   12640 {
   12641 (void) ac_decl (0, (char *) 0);
   12642   (void) ac_decl;
   12643 
   12644   ;
   12645   return 0;
   12646 }
   12647 _ACEOF
   12648 if ac_fn_c_try_compile "$LINENO"
   12649 then :
   12650   if test x"$ac_arg" = x
   12651 then :
   12652   ac_cv_c_undeclared_builtin_options='none needed'
   12653 else $as_nop
   12654   ac_cv_c_undeclared_builtin_options=$ac_arg
   12655 fi
   12656           break
   12657 fi
   12658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12659 fi
   12660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12661     done
   12662     CFLAGS=$ac_save_CFLAGS
   12663 
   12664 fi
   12665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12666 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12667   case $ac_cv_c_undeclared_builtin_options in #(
   12668   'cannot detect') :
   12669     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12670 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12671 as_fn_error $? "cannot make $CC report undeclared builtins
   12672 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12673   'none needed') :
   12674     ac_c_undeclared_builtin_options='' ;; #(
   12675   *) :
   12676     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12677 esac
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12684 if test "x$ac_cv_have_decl___clang__" = xyes
   12685 then :
   12686   CLANGCC="yes"
   12687 else $as_nop
   12688   CLANGCC="no"
   12689 fi
   12690 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12691 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12692 then :
   12693   INTELCC="yes"
   12694 else $as_nop
   12695   INTELCC="no"
   12696 fi
   12697 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12698 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12699 then :
   12700   SUNCC="yes"
   12701 else $as_nop
   12702   SUNCC="no"
   12703 fi
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12713 	if test -n "$ac_tool_prefix"; then
   12714   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12715 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12717 printf %s "checking for $ac_word... " >&6; }
   12718 if test ${ac_cv_path_PKG_CONFIG+y}
   12719 then :
   12720   printf %s "(cached) " >&6
   12721 else $as_nop
   12722   case $PKG_CONFIG in
   12723   [\\/]* | ?:[\\/]*)
   12724   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12725   ;;
   12726   *)
   12727   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12728 for as_dir in $PATH
   12729 do
   12730   IFS=$as_save_IFS
   12731   case $as_dir in #(((
   12732     '') as_dir=./ ;;
   12733     */) ;;
   12734     *) as_dir=$as_dir/ ;;
   12735   esac
   12736     for ac_exec_ext in '' $ac_executable_extensions; do
   12737   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12738     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12739     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12740     break 2
   12741   fi
   12742 done
   12743   done
   12744 IFS=$as_save_IFS
   12745 
   12746   ;;
   12747 esac
   12748 fi
   12749 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12750 if test -n "$PKG_CONFIG"; then
   12751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12752 printf "%s\n" "$PKG_CONFIG" >&6; }
   12753 else
   12754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12755 printf "%s\n" "no" >&6; }
   12756 fi
   12757 
   12758 
   12759 fi
   12760 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12761   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12762   # Extract the first word of "pkg-config", so it can be a program name with args.
   12763 set dummy pkg-config; ac_word=$2
   12764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12765 printf %s "checking for $ac_word... " >&6; }
   12766 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12767 then :
   12768   printf %s "(cached) " >&6
   12769 else $as_nop
   12770   case $ac_pt_PKG_CONFIG in
   12771   [\\/]* | ?:[\\/]*)
   12772   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12773   ;;
   12774   *)
   12775   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12776 for as_dir in $PATH
   12777 do
   12778   IFS=$as_save_IFS
   12779   case $as_dir in #(((
   12780     '') as_dir=./ ;;
   12781     */) ;;
   12782     *) as_dir=$as_dir/ ;;
   12783   esac
   12784     for ac_exec_ext in '' $ac_executable_extensions; do
   12785   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12786     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12787     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12788     break 2
   12789   fi
   12790 done
   12791   done
   12792 IFS=$as_save_IFS
   12793 
   12794   ;;
   12795 esac
   12796 fi
   12797 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12798 if test -n "$ac_pt_PKG_CONFIG"; then
   12799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12800 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12801 else
   12802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12803 printf "%s\n" "no" >&6; }
   12804 fi
   12805 
   12806   if test "x$ac_pt_PKG_CONFIG" = x; then
   12807     PKG_CONFIG=""
   12808   else
   12809     case $cross_compiling:$ac_tool_warned in
   12810 yes:)
   12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12812 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12813 ac_tool_warned=yes ;;
   12814 esac
   12815     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12816   fi
   12817 else
   12818   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12819 fi
   12820 
   12821 fi
   12822 if test -n "$PKG_CONFIG"; then
   12823 	_pkg_min_version=0.9.0
   12824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12825 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12826 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12828 printf "%s\n" "yes" >&6; }
   12829 	else
   12830 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12831 printf "%s\n" "no" >&6; }
   12832 		PKG_CONFIG=""
   12833 	fi
   12834 fi
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 # Check whether --enable-selective-werror was given.
   12841 if test ${enable_selective_werror+y}
   12842 then :
   12843   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12844 else $as_nop
   12845   SELECTIVE_WERROR=yes
   12846 fi
   12847 
   12848 
   12849 
   12850 
   12851 
   12852 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12853 if test "x$SUNCC" = "xyes"; then
   12854     BASE_CFLAGS="-v"
   12855 else
   12856     BASE_CFLAGS=""
   12857 fi
   12858 
   12859 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 xorg_testset_save_CFLAGS="$CFLAGS"
   12874 
   12875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12880 then :
   12881   printf %s "(cached) " >&6
   12882 else $as_nop
   12883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12884 /* end confdefs.h.  */
   12885 int i;
   12886 _ACEOF
   12887 if ac_fn_c_try_compile "$LINENO"
   12888 then :
   12889   xorg_cv_cc_flag_unknown_warning_option=yes
   12890 else $as_nop
   12891   xorg_cv_cc_flag_unknown_warning_option=no
   12892 fi
   12893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12894 fi
   12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12898 	CFLAGS="$xorg_testset_save_CFLAGS"
   12899 fi
   12900 
   12901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12904 	fi
   12905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12909 then :
   12910   printf %s "(cached) " >&6
   12911 else $as_nop
   12912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12913 /* end confdefs.h.  */
   12914 int i;
   12915 _ACEOF
   12916 if ac_fn_c_try_compile "$LINENO"
   12917 then :
   12918   xorg_cv_cc_flag_unused_command_line_argument=yes
   12919 else $as_nop
   12920   xorg_cv_cc_flag_unused_command_line_argument=no
   12921 fi
   12922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12923 fi
   12924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12927 	CFLAGS="$xorg_testset_save_CFLAGS"
   12928 fi
   12929 
   12930 found="no"
   12931 
   12932 	if test $found = "no" ; then
   12933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12935 		fi
   12936 
   12937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12939 		fi
   12940 
   12941 		CFLAGS="$CFLAGS -Wall"
   12942 
   12943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12944 printf %s "checking if $CC supports -Wall... " >&6; }
   12945 		cacheid=xorg_cv_cc_flag__Wall
   12946 		if eval test \${$cacheid+y}
   12947 then :
   12948   printf %s "(cached) " >&6
   12949 else $as_nop
   12950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12951 /* end confdefs.h.  */
   12952 int i;
   12953 int
   12954 main (void)
   12955 {
   12956 
   12957   ;
   12958   return 0;
   12959 }
   12960 _ACEOF
   12961 if ac_fn_c_try_link "$LINENO"
   12962 then :
   12963   eval $cacheid=yes
   12964 else $as_nop
   12965   eval $cacheid=no
   12966 fi
   12967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12968     conftest$ac_exeext conftest.$ac_ext
   12969 fi
   12970 
   12971 
   12972 		CFLAGS="$xorg_testset_save_CFLAGS"
   12973 
   12974 		eval supported=\$$cacheid
   12975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12976 printf "%s\n" "$supported" >&6; }
   12977 		if test "$supported" = "yes" ; then
   12978 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12979 			found="yes"
   12980 		fi
   12981 	fi
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 xorg_testset_save_CFLAGS="$CFLAGS"
   12998 
   12999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13004 then :
   13005   printf %s "(cached) " >&6
   13006 else $as_nop
   13007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13008 /* end confdefs.h.  */
   13009 int i;
   13010 _ACEOF
   13011 if ac_fn_c_try_compile "$LINENO"
   13012 then :
   13013   xorg_cv_cc_flag_unknown_warning_option=yes
   13014 else $as_nop
   13015   xorg_cv_cc_flag_unknown_warning_option=no
   13016 fi
   13017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13018 fi
   13019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13022 	CFLAGS="$xorg_testset_save_CFLAGS"
   13023 fi
   13024 
   13025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13028 	fi
   13029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13033 then :
   13034   printf %s "(cached) " >&6
   13035 else $as_nop
   13036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13037 /* end confdefs.h.  */
   13038 int i;
   13039 _ACEOF
   13040 if ac_fn_c_try_compile "$LINENO"
   13041 then :
   13042   xorg_cv_cc_flag_unused_command_line_argument=yes
   13043 else $as_nop
   13044   xorg_cv_cc_flag_unused_command_line_argument=no
   13045 fi
   13046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13047 fi
   13048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13051 	CFLAGS="$xorg_testset_save_CFLAGS"
   13052 fi
   13053 
   13054 found="no"
   13055 
   13056 	if test $found = "no" ; then
   13057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13059 		fi
   13060 
   13061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13063 		fi
   13064 
   13065 		CFLAGS="$CFLAGS -Wpointer-arith"
   13066 
   13067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13068 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13069 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13070 		if eval test \${$cacheid+y}
   13071 then :
   13072   printf %s "(cached) " >&6
   13073 else $as_nop
   13074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13075 /* end confdefs.h.  */
   13076 int i;
   13077 int
   13078 main (void)
   13079 {
   13080 
   13081   ;
   13082   return 0;
   13083 }
   13084 _ACEOF
   13085 if ac_fn_c_try_link "$LINENO"
   13086 then :
   13087   eval $cacheid=yes
   13088 else $as_nop
   13089   eval $cacheid=no
   13090 fi
   13091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13092     conftest$ac_exeext conftest.$ac_ext
   13093 fi
   13094 
   13095 
   13096 		CFLAGS="$xorg_testset_save_CFLAGS"
   13097 
   13098 		eval supported=\$$cacheid
   13099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13100 printf "%s\n" "$supported" >&6; }
   13101 		if test "$supported" = "yes" ; then
   13102 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13103 			found="yes"
   13104 		fi
   13105 	fi
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 xorg_testset_save_CFLAGS="$CFLAGS"
   13122 
   13123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13128 then :
   13129   printf %s "(cached) " >&6
   13130 else $as_nop
   13131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13132 /* end confdefs.h.  */
   13133 int i;
   13134 _ACEOF
   13135 if ac_fn_c_try_compile "$LINENO"
   13136 then :
   13137   xorg_cv_cc_flag_unknown_warning_option=yes
   13138 else $as_nop
   13139   xorg_cv_cc_flag_unknown_warning_option=no
   13140 fi
   13141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13142 fi
   13143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13144 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13146 	CFLAGS="$xorg_testset_save_CFLAGS"
   13147 fi
   13148 
   13149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13152 	fi
   13153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13157 then :
   13158   printf %s "(cached) " >&6
   13159 else $as_nop
   13160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13161 /* end confdefs.h.  */
   13162 int i;
   13163 _ACEOF
   13164 if ac_fn_c_try_compile "$LINENO"
   13165 then :
   13166   xorg_cv_cc_flag_unused_command_line_argument=yes
   13167 else $as_nop
   13168   xorg_cv_cc_flag_unused_command_line_argument=no
   13169 fi
   13170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13171 fi
   13172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13173 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13175 	CFLAGS="$xorg_testset_save_CFLAGS"
   13176 fi
   13177 
   13178 found="no"
   13179 
   13180 	if test $found = "no" ; then
   13181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13183 		fi
   13184 
   13185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13187 		fi
   13188 
   13189 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13190 
   13191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13192 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13193 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13194 		if eval test \${$cacheid+y}
   13195 then :
   13196   printf %s "(cached) " >&6
   13197 else $as_nop
   13198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13199 /* end confdefs.h.  */
   13200 int i;
   13201 int
   13202 main (void)
   13203 {
   13204 
   13205   ;
   13206   return 0;
   13207 }
   13208 _ACEOF
   13209 if ac_fn_c_try_link "$LINENO"
   13210 then :
   13211   eval $cacheid=yes
   13212 else $as_nop
   13213   eval $cacheid=no
   13214 fi
   13215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13216     conftest$ac_exeext conftest.$ac_ext
   13217 fi
   13218 
   13219 
   13220 		CFLAGS="$xorg_testset_save_CFLAGS"
   13221 
   13222 		eval supported=\$$cacheid
   13223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13224 printf "%s\n" "$supported" >&6; }
   13225 		if test "$supported" = "yes" ; then
   13226 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13227 			found="yes"
   13228 		fi
   13229 	fi
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 xorg_testset_save_CFLAGS="$CFLAGS"
   13246 
   13247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13250 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13251 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13252 then :
   13253   printf %s "(cached) " >&6
   13254 else $as_nop
   13255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13256 /* end confdefs.h.  */
   13257 int i;
   13258 _ACEOF
   13259 if ac_fn_c_try_compile "$LINENO"
   13260 then :
   13261   xorg_cv_cc_flag_unknown_warning_option=yes
   13262 else $as_nop
   13263   xorg_cv_cc_flag_unknown_warning_option=no
   13264 fi
   13265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13266 fi
   13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13268 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13269 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13270 	CFLAGS="$xorg_testset_save_CFLAGS"
   13271 fi
   13272 
   13273 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13274 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13275 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13276 	fi
   13277 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13279 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13280 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13281 then :
   13282   printf %s "(cached) " >&6
   13283 else $as_nop
   13284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13285 /* end confdefs.h.  */
   13286 int i;
   13287 _ACEOF
   13288 if ac_fn_c_try_compile "$LINENO"
   13289 then :
   13290   xorg_cv_cc_flag_unused_command_line_argument=yes
   13291 else $as_nop
   13292   xorg_cv_cc_flag_unused_command_line_argument=no
   13293 fi
   13294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13295 fi
   13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13297 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13299 	CFLAGS="$xorg_testset_save_CFLAGS"
   13300 fi
   13301 
   13302 found="no"
   13303 
   13304 	if test $found = "no" ; then
   13305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13307 		fi
   13308 
   13309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13311 		fi
   13312 
   13313 		CFLAGS="$CFLAGS -Wformat=2"
   13314 
   13315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13316 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13317 		cacheid=xorg_cv_cc_flag__Wformat_2
   13318 		if eval test \${$cacheid+y}
   13319 then :
   13320   printf %s "(cached) " >&6
   13321 else $as_nop
   13322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13323 /* end confdefs.h.  */
   13324 int i;
   13325 int
   13326 main (void)
   13327 {
   13328 
   13329   ;
   13330   return 0;
   13331 }
   13332 _ACEOF
   13333 if ac_fn_c_try_link "$LINENO"
   13334 then :
   13335   eval $cacheid=yes
   13336 else $as_nop
   13337   eval $cacheid=no
   13338 fi
   13339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13340     conftest$ac_exeext conftest.$ac_ext
   13341 fi
   13342 
   13343 
   13344 		CFLAGS="$xorg_testset_save_CFLAGS"
   13345 
   13346 		eval supported=\$$cacheid
   13347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13348 printf "%s\n" "$supported" >&6; }
   13349 		if test "$supported" = "yes" ; then
   13350 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13351 			found="yes"
   13352 		fi
   13353 	fi
   13354 
   13355 	if test $found = "no" ; then
   13356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13358 		fi
   13359 
   13360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13362 		fi
   13363 
   13364 		CFLAGS="$CFLAGS -Wformat"
   13365 
   13366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13367 printf %s "checking if $CC supports -Wformat... " >&6; }
   13368 		cacheid=xorg_cv_cc_flag__Wformat
   13369 		if eval test \${$cacheid+y}
   13370 then :
   13371   printf %s "(cached) " >&6
   13372 else $as_nop
   13373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13374 /* end confdefs.h.  */
   13375 int i;
   13376 int
   13377 main (void)
   13378 {
   13379 
   13380   ;
   13381   return 0;
   13382 }
   13383 _ACEOF
   13384 if ac_fn_c_try_link "$LINENO"
   13385 then :
   13386   eval $cacheid=yes
   13387 else $as_nop
   13388   eval $cacheid=no
   13389 fi
   13390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13391     conftest$ac_exeext conftest.$ac_ext
   13392 fi
   13393 
   13394 
   13395 		CFLAGS="$xorg_testset_save_CFLAGS"
   13396 
   13397 		eval supported=\$$cacheid
   13398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13399 printf "%s\n" "$supported" >&6; }
   13400 		if test "$supported" = "yes" ; then
   13401 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13402 			found="yes"
   13403 		fi
   13404 	fi
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 xorg_testset_save_CFLAGS="$CFLAGS"
   13423 
   13424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13427 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13428 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13429 then :
   13430   printf %s "(cached) " >&6
   13431 else $as_nop
   13432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13433 /* end confdefs.h.  */
   13434 int i;
   13435 _ACEOF
   13436 if ac_fn_c_try_compile "$LINENO"
   13437 then :
   13438   xorg_cv_cc_flag_unknown_warning_option=yes
   13439 else $as_nop
   13440   xorg_cv_cc_flag_unknown_warning_option=no
   13441 fi
   13442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13443 fi
   13444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13445 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13447 	CFLAGS="$xorg_testset_save_CFLAGS"
   13448 fi
   13449 
   13450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13453 	fi
   13454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13456 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13457 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13458 then :
   13459   printf %s "(cached) " >&6
   13460 else $as_nop
   13461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13462 /* end confdefs.h.  */
   13463 int i;
   13464 _ACEOF
   13465 if ac_fn_c_try_compile "$LINENO"
   13466 then :
   13467   xorg_cv_cc_flag_unused_command_line_argument=yes
   13468 else $as_nop
   13469   xorg_cv_cc_flag_unused_command_line_argument=no
   13470 fi
   13471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13472 fi
   13473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13474 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13476 	CFLAGS="$xorg_testset_save_CFLAGS"
   13477 fi
   13478 
   13479 found="no"
   13480 
   13481 	if test $found = "no" ; then
   13482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13484 		fi
   13485 
   13486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13488 		fi
   13489 
   13490 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13491 
   13492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13493 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13494 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13495 		if eval test \${$cacheid+y}
   13496 then :
   13497   printf %s "(cached) " >&6
   13498 else $as_nop
   13499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13500 /* end confdefs.h.  */
   13501 int i;
   13502 int
   13503 main (void)
   13504 {
   13505 
   13506   ;
   13507   return 0;
   13508 }
   13509 _ACEOF
   13510 if ac_fn_c_try_link "$LINENO"
   13511 then :
   13512   eval $cacheid=yes
   13513 else $as_nop
   13514   eval $cacheid=no
   13515 fi
   13516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13517     conftest$ac_exeext conftest.$ac_ext
   13518 fi
   13519 
   13520 
   13521 		CFLAGS="$xorg_testset_save_CFLAGS"
   13522 
   13523 		eval supported=\$$cacheid
   13524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13525 printf "%s\n" "$supported" >&6; }
   13526 		if test "$supported" = "yes" ; then
   13527 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13528 			found="yes"
   13529 		fi
   13530 	fi
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 xorg_testset_save_CFLAGS="$CFLAGS"
   13547 
   13548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13550 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13551 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13552 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13553 then :
   13554   printf %s "(cached) " >&6
   13555 else $as_nop
   13556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13557 /* end confdefs.h.  */
   13558 int i;
   13559 _ACEOF
   13560 if ac_fn_c_try_compile "$LINENO"
   13561 then :
   13562   xorg_cv_cc_flag_unknown_warning_option=yes
   13563 else $as_nop
   13564   xorg_cv_cc_flag_unknown_warning_option=no
   13565 fi
   13566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13567 fi
   13568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13569 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13570 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13571 	CFLAGS="$xorg_testset_save_CFLAGS"
   13572 fi
   13573 
   13574 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13575 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13576 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13577 	fi
   13578 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13579 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13580 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13581 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13582 then :
   13583   printf %s "(cached) " >&6
   13584 else $as_nop
   13585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13586 /* end confdefs.h.  */
   13587 int i;
   13588 _ACEOF
   13589 if ac_fn_c_try_compile "$LINENO"
   13590 then :
   13591   xorg_cv_cc_flag_unused_command_line_argument=yes
   13592 else $as_nop
   13593   xorg_cv_cc_flag_unused_command_line_argument=no
   13594 fi
   13595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13596 fi
   13597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13598 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13599 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13600 	CFLAGS="$xorg_testset_save_CFLAGS"
   13601 fi
   13602 
   13603 found="no"
   13604 
   13605 	if test $found = "no" ; then
   13606 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13607 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13608 		fi
   13609 
   13610 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13611 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13612 		fi
   13613 
   13614 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13615 
   13616 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13617 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13618 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13619 		if eval test \${$cacheid+y}
   13620 then :
   13621   printf %s "(cached) " >&6
   13622 else $as_nop
   13623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13624 /* end confdefs.h.  */
   13625 int i;
   13626 int
   13627 main (void)
   13628 {
   13629 
   13630   ;
   13631   return 0;
   13632 }
   13633 _ACEOF
   13634 if ac_fn_c_try_link "$LINENO"
   13635 then :
   13636   eval $cacheid=yes
   13637 else $as_nop
   13638   eval $cacheid=no
   13639 fi
   13640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13641     conftest$ac_exeext conftest.$ac_ext
   13642 fi
   13643 
   13644 
   13645 		CFLAGS="$xorg_testset_save_CFLAGS"
   13646 
   13647 		eval supported=\$$cacheid
   13648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13649 printf "%s\n" "$supported" >&6; }
   13650 		if test "$supported" = "yes" ; then
   13651 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13652 			found="yes"
   13653 		fi
   13654 	fi
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 xorg_testset_save_CFLAGS="$CFLAGS"
   13671 
   13672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13674 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13675 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13676 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13677 then :
   13678   printf %s "(cached) " >&6
   13679 else $as_nop
   13680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13681 /* end confdefs.h.  */
   13682 int i;
   13683 _ACEOF
   13684 if ac_fn_c_try_compile "$LINENO"
   13685 then :
   13686   xorg_cv_cc_flag_unknown_warning_option=yes
   13687 else $as_nop
   13688   xorg_cv_cc_flag_unknown_warning_option=no
   13689 fi
   13690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13691 fi
   13692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13693 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13695 	CFLAGS="$xorg_testset_save_CFLAGS"
   13696 fi
   13697 
   13698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13701 	fi
   13702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13704 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13705 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13706 then :
   13707   printf %s "(cached) " >&6
   13708 else $as_nop
   13709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13710 /* end confdefs.h.  */
   13711 int i;
   13712 _ACEOF
   13713 if ac_fn_c_try_compile "$LINENO"
   13714 then :
   13715   xorg_cv_cc_flag_unused_command_line_argument=yes
   13716 else $as_nop
   13717   xorg_cv_cc_flag_unused_command_line_argument=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13720 fi
   13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13722 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13724 	CFLAGS="$xorg_testset_save_CFLAGS"
   13725 fi
   13726 
   13727 found="no"
   13728 
   13729 	if test $found = "no" ; then
   13730 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13732 		fi
   13733 
   13734 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13736 		fi
   13737 
   13738 		CFLAGS="$CFLAGS -Wnested-externs"
   13739 
   13740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13741 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13742 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13743 		if eval test \${$cacheid+y}
   13744 then :
   13745   printf %s "(cached) " >&6
   13746 else $as_nop
   13747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13748 /* end confdefs.h.  */
   13749 int i;
   13750 int
   13751 main (void)
   13752 {
   13753 
   13754   ;
   13755   return 0;
   13756 }
   13757 _ACEOF
   13758 if ac_fn_c_try_link "$LINENO"
   13759 then :
   13760   eval $cacheid=yes
   13761 else $as_nop
   13762   eval $cacheid=no
   13763 fi
   13764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13765     conftest$ac_exeext conftest.$ac_ext
   13766 fi
   13767 
   13768 
   13769 		CFLAGS="$xorg_testset_save_CFLAGS"
   13770 
   13771 		eval supported=\$$cacheid
   13772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13773 printf "%s\n" "$supported" >&6; }
   13774 		if test "$supported" = "yes" ; then
   13775 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13776 			found="yes"
   13777 		fi
   13778 	fi
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 
   13794 xorg_testset_save_CFLAGS="$CFLAGS"
   13795 
   13796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13798 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13799 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13800 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13801 then :
   13802   printf %s "(cached) " >&6
   13803 else $as_nop
   13804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13805 /* end confdefs.h.  */
   13806 int i;
   13807 _ACEOF
   13808 if ac_fn_c_try_compile "$LINENO"
   13809 then :
   13810   xorg_cv_cc_flag_unknown_warning_option=yes
   13811 else $as_nop
   13812   xorg_cv_cc_flag_unknown_warning_option=no
   13813 fi
   13814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13815 fi
   13816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13817 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13819 	CFLAGS="$xorg_testset_save_CFLAGS"
   13820 fi
   13821 
   13822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13825 	fi
   13826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13828 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13829 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13830 then :
   13831   printf %s "(cached) " >&6
   13832 else $as_nop
   13833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13834 /* end confdefs.h.  */
   13835 int i;
   13836 _ACEOF
   13837 if ac_fn_c_try_compile "$LINENO"
   13838 then :
   13839   xorg_cv_cc_flag_unused_command_line_argument=yes
   13840 else $as_nop
   13841   xorg_cv_cc_flag_unused_command_line_argument=no
   13842 fi
   13843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13844 fi
   13845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13846 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13848 	CFLAGS="$xorg_testset_save_CFLAGS"
   13849 fi
   13850 
   13851 found="no"
   13852 
   13853 	if test $found = "no" ; then
   13854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13856 		fi
   13857 
   13858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13860 		fi
   13861 
   13862 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13863 
   13864 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13865 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   13866 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13867 		if eval test \${$cacheid+y}
   13868 then :
   13869   printf %s "(cached) " >&6
   13870 else $as_nop
   13871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13872 /* end confdefs.h.  */
   13873 int i;
   13874 int
   13875 main (void)
   13876 {
   13877 
   13878   ;
   13879   return 0;
   13880 }
   13881 _ACEOF
   13882 if ac_fn_c_try_link "$LINENO"
   13883 then :
   13884   eval $cacheid=yes
   13885 else $as_nop
   13886   eval $cacheid=no
   13887 fi
   13888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13889     conftest$ac_exeext conftest.$ac_ext
   13890 fi
   13891 
   13892 
   13893 		CFLAGS="$xorg_testset_save_CFLAGS"
   13894 
   13895 		eval supported=\$$cacheid
   13896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13897 printf "%s\n" "$supported" >&6; }
   13898 		if test "$supported" = "yes" ; then
   13899 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13900 			found="yes"
   13901 		fi
   13902 	fi
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 xorg_testset_save_CFLAGS="$CFLAGS"
   13919 
   13920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13923 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13924 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13925 then :
   13926   printf %s "(cached) " >&6
   13927 else $as_nop
   13928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13929 /* end confdefs.h.  */
   13930 int i;
   13931 _ACEOF
   13932 if ac_fn_c_try_compile "$LINENO"
   13933 then :
   13934   xorg_cv_cc_flag_unknown_warning_option=yes
   13935 else $as_nop
   13936   xorg_cv_cc_flag_unknown_warning_option=no
   13937 fi
   13938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13939 fi
   13940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13941 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13943 	CFLAGS="$xorg_testset_save_CFLAGS"
   13944 fi
   13945 
   13946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13949 	fi
   13950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13951 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13952 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13953 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13954 then :
   13955   printf %s "(cached) " >&6
   13956 else $as_nop
   13957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13958 /* end confdefs.h.  */
   13959 int i;
   13960 _ACEOF
   13961 if ac_fn_c_try_compile "$LINENO"
   13962 then :
   13963   xorg_cv_cc_flag_unused_command_line_argument=yes
   13964 else $as_nop
   13965   xorg_cv_cc_flag_unused_command_line_argument=no
   13966 fi
   13967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13968 fi
   13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13970 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13972 	CFLAGS="$xorg_testset_save_CFLAGS"
   13973 fi
   13974 
   13975 found="no"
   13976 
   13977 	if test $found = "no" ; then
   13978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13980 		fi
   13981 
   13982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13984 		fi
   13985 
   13986 		CFLAGS="$CFLAGS -Wold-style-definition"
   13987 
   13988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13989 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   13990 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13991 		if eval test \${$cacheid+y}
   13992 then :
   13993   printf %s "(cached) " >&6
   13994 else $as_nop
   13995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13996 /* end confdefs.h.  */
   13997 int i;
   13998 int
   13999 main (void)
   14000 {
   14001 
   14002   ;
   14003   return 0;
   14004 }
   14005 _ACEOF
   14006 if ac_fn_c_try_link "$LINENO"
   14007 then :
   14008   eval $cacheid=yes
   14009 else $as_nop
   14010   eval $cacheid=no
   14011 fi
   14012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14013     conftest$ac_exeext conftest.$ac_ext
   14014 fi
   14015 
   14016 
   14017 		CFLAGS="$xorg_testset_save_CFLAGS"
   14018 
   14019 		eval supported=\$$cacheid
   14020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14021 printf "%s\n" "$supported" >&6; }
   14022 		if test "$supported" = "yes" ; then
   14023 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14024 			found="yes"
   14025 		fi
   14026 	fi
   14027 
   14028 	if test $found = "no" ; then
   14029 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14031 		fi
   14032 
   14033 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14035 		fi
   14036 
   14037 		CFLAGS="$CFLAGS -fd"
   14038 
   14039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14040 printf %s "checking if $CC supports -fd... " >&6; }
   14041 		cacheid=xorg_cv_cc_flag__fd
   14042 		if eval test \${$cacheid+y}
   14043 then :
   14044   printf %s "(cached) " >&6
   14045 else $as_nop
   14046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14047 /* end confdefs.h.  */
   14048 int i;
   14049 int
   14050 main (void)
   14051 {
   14052 
   14053   ;
   14054   return 0;
   14055 }
   14056 _ACEOF
   14057 if ac_fn_c_try_link "$LINENO"
   14058 then :
   14059   eval $cacheid=yes
   14060 else $as_nop
   14061   eval $cacheid=no
   14062 fi
   14063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14064     conftest$ac_exeext conftest.$ac_ext
   14065 fi
   14066 
   14067 
   14068 		CFLAGS="$xorg_testset_save_CFLAGS"
   14069 
   14070 		eval supported=\$$cacheid
   14071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14072 printf "%s\n" "$supported" >&6; }
   14073 		if test "$supported" = "yes" ; then
   14074 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14075 			found="yes"
   14076 		fi
   14077 	fi
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 xorg_testset_save_CFLAGS="$CFLAGS"
   14094 
   14095 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14096 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14098 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14099 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14100 then :
   14101   printf %s "(cached) " >&6
   14102 else $as_nop
   14103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14104 /* end confdefs.h.  */
   14105 int i;
   14106 _ACEOF
   14107 if ac_fn_c_try_compile "$LINENO"
   14108 then :
   14109   xorg_cv_cc_flag_unknown_warning_option=yes
   14110 else $as_nop
   14111   xorg_cv_cc_flag_unknown_warning_option=no
   14112 fi
   14113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14114 fi
   14115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14116 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14117 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14118 	CFLAGS="$xorg_testset_save_CFLAGS"
   14119 fi
   14120 
   14121 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14122 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14123 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14124 	fi
   14125 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14127 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14128 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14129 then :
   14130   printf %s "(cached) " >&6
   14131 else $as_nop
   14132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14133 /* end confdefs.h.  */
   14134 int i;
   14135 _ACEOF
   14136 if ac_fn_c_try_compile "$LINENO"
   14137 then :
   14138   xorg_cv_cc_flag_unused_command_line_argument=yes
   14139 else $as_nop
   14140   xorg_cv_cc_flag_unused_command_line_argument=no
   14141 fi
   14142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14143 fi
   14144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14147 	CFLAGS="$xorg_testset_save_CFLAGS"
   14148 fi
   14149 
   14150 found="no"
   14151 
   14152 	if test $found = "no" ; then
   14153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14155 		fi
   14156 
   14157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14159 		fi
   14160 
   14161 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14162 
   14163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14164 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14165 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14166 		if eval test \${$cacheid+y}
   14167 then :
   14168   printf %s "(cached) " >&6
   14169 else $as_nop
   14170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14171 /* end confdefs.h.  */
   14172 int i;
   14173 int
   14174 main (void)
   14175 {
   14176 
   14177   ;
   14178   return 0;
   14179 }
   14180 _ACEOF
   14181 if ac_fn_c_try_link "$LINENO"
   14182 then :
   14183   eval $cacheid=yes
   14184 else $as_nop
   14185   eval $cacheid=no
   14186 fi
   14187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14188     conftest$ac_exeext conftest.$ac_ext
   14189 fi
   14190 
   14191 
   14192 		CFLAGS="$xorg_testset_save_CFLAGS"
   14193 
   14194 		eval supported=\$$cacheid
   14195 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14196 printf "%s\n" "$supported" >&6; }
   14197 		if test "$supported" = "yes" ; then
   14198 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14199 			found="yes"
   14200 		fi
   14201 	fi
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 # This chunk adds additional warnings that could catch undesired effects.
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 xorg_testset_save_CFLAGS="$CFLAGS"
   14222 
   14223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14225 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14226 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14227 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14228 then :
   14229   printf %s "(cached) " >&6
   14230 else $as_nop
   14231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14232 /* end confdefs.h.  */
   14233 int i;
   14234 _ACEOF
   14235 if ac_fn_c_try_compile "$LINENO"
   14236 then :
   14237   xorg_cv_cc_flag_unknown_warning_option=yes
   14238 else $as_nop
   14239   xorg_cv_cc_flag_unknown_warning_option=no
   14240 fi
   14241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14242 fi
   14243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14246 	CFLAGS="$xorg_testset_save_CFLAGS"
   14247 fi
   14248 
   14249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14252 	fi
   14253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14257 then :
   14258   printf %s "(cached) " >&6
   14259 else $as_nop
   14260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14261 /* end confdefs.h.  */
   14262 int i;
   14263 _ACEOF
   14264 if ac_fn_c_try_compile "$LINENO"
   14265 then :
   14266   xorg_cv_cc_flag_unused_command_line_argument=yes
   14267 else $as_nop
   14268   xorg_cv_cc_flag_unused_command_line_argument=no
   14269 fi
   14270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14271 fi
   14272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14273 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14274 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14275 	CFLAGS="$xorg_testset_save_CFLAGS"
   14276 fi
   14277 
   14278 found="no"
   14279 
   14280 	if test $found = "no" ; then
   14281 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14282 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14283 		fi
   14284 
   14285 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14286 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14287 		fi
   14288 
   14289 		CFLAGS="$CFLAGS -Wunused"
   14290 
   14291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14292 printf %s "checking if $CC supports -Wunused... " >&6; }
   14293 		cacheid=xorg_cv_cc_flag__Wunused
   14294 		if eval test \${$cacheid+y}
   14295 then :
   14296   printf %s "(cached) " >&6
   14297 else $as_nop
   14298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14299 /* end confdefs.h.  */
   14300 int i;
   14301 int
   14302 main (void)
   14303 {
   14304 
   14305   ;
   14306   return 0;
   14307 }
   14308 _ACEOF
   14309 if ac_fn_c_try_link "$LINENO"
   14310 then :
   14311   eval $cacheid=yes
   14312 else $as_nop
   14313   eval $cacheid=no
   14314 fi
   14315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14316     conftest$ac_exeext conftest.$ac_ext
   14317 fi
   14318 
   14319 
   14320 		CFLAGS="$xorg_testset_save_CFLAGS"
   14321 
   14322 		eval supported=\$$cacheid
   14323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14324 printf "%s\n" "$supported" >&6; }
   14325 		if test "$supported" = "yes" ; then
   14326 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14327 			found="yes"
   14328 		fi
   14329 	fi
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 xorg_testset_save_CFLAGS="$CFLAGS"
   14346 
   14347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14349 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14350 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14351 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14352 then :
   14353   printf %s "(cached) " >&6
   14354 else $as_nop
   14355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14356 /* end confdefs.h.  */
   14357 int i;
   14358 _ACEOF
   14359 if ac_fn_c_try_compile "$LINENO"
   14360 then :
   14361   xorg_cv_cc_flag_unknown_warning_option=yes
   14362 else $as_nop
   14363   xorg_cv_cc_flag_unknown_warning_option=no
   14364 fi
   14365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14366 fi
   14367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14368 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14369 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14370 	CFLAGS="$xorg_testset_save_CFLAGS"
   14371 fi
   14372 
   14373 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14374 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14375 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14376 	fi
   14377 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14378 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14379 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14380 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14381 then :
   14382   printf %s "(cached) " >&6
   14383 else $as_nop
   14384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14385 /* end confdefs.h.  */
   14386 int i;
   14387 _ACEOF
   14388 if ac_fn_c_try_compile "$LINENO"
   14389 then :
   14390   xorg_cv_cc_flag_unused_command_line_argument=yes
   14391 else $as_nop
   14392   xorg_cv_cc_flag_unused_command_line_argument=no
   14393 fi
   14394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14395 fi
   14396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14397 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14399 	CFLAGS="$xorg_testset_save_CFLAGS"
   14400 fi
   14401 
   14402 found="no"
   14403 
   14404 	if test $found = "no" ; then
   14405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14407 		fi
   14408 
   14409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14411 		fi
   14412 
   14413 		CFLAGS="$CFLAGS -Wuninitialized"
   14414 
   14415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14416 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14417 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14418 		if eval test \${$cacheid+y}
   14419 then :
   14420   printf %s "(cached) " >&6
   14421 else $as_nop
   14422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14423 /* end confdefs.h.  */
   14424 int i;
   14425 int
   14426 main (void)
   14427 {
   14428 
   14429   ;
   14430   return 0;
   14431 }
   14432 _ACEOF
   14433 if ac_fn_c_try_link "$LINENO"
   14434 then :
   14435   eval $cacheid=yes
   14436 else $as_nop
   14437   eval $cacheid=no
   14438 fi
   14439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14440     conftest$ac_exeext conftest.$ac_ext
   14441 fi
   14442 
   14443 
   14444 		CFLAGS="$xorg_testset_save_CFLAGS"
   14445 
   14446 		eval supported=\$$cacheid
   14447 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14448 printf "%s\n" "$supported" >&6; }
   14449 		if test "$supported" = "yes" ; then
   14450 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14451 			found="yes"
   14452 		fi
   14453 	fi
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 xorg_testset_save_CFLAGS="$CFLAGS"
   14470 
   14471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14473 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14474 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14475 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14476 then :
   14477   printf %s "(cached) " >&6
   14478 else $as_nop
   14479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14480 /* end confdefs.h.  */
   14481 int i;
   14482 _ACEOF
   14483 if ac_fn_c_try_compile "$LINENO"
   14484 then :
   14485   xorg_cv_cc_flag_unknown_warning_option=yes
   14486 else $as_nop
   14487   xorg_cv_cc_flag_unknown_warning_option=no
   14488 fi
   14489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14490 fi
   14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14492 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14494 	CFLAGS="$xorg_testset_save_CFLAGS"
   14495 fi
   14496 
   14497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14500 	fi
   14501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14503 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14504 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14505 then :
   14506   printf %s "(cached) " >&6
   14507 else $as_nop
   14508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14509 /* end confdefs.h.  */
   14510 int i;
   14511 _ACEOF
   14512 if ac_fn_c_try_compile "$LINENO"
   14513 then :
   14514   xorg_cv_cc_flag_unused_command_line_argument=yes
   14515 else $as_nop
   14516   xorg_cv_cc_flag_unused_command_line_argument=no
   14517 fi
   14518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14519 fi
   14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14521 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14523 	CFLAGS="$xorg_testset_save_CFLAGS"
   14524 fi
   14525 
   14526 found="no"
   14527 
   14528 	if test $found = "no" ; then
   14529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14531 		fi
   14532 
   14533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14535 		fi
   14536 
   14537 		CFLAGS="$CFLAGS -Wshadow"
   14538 
   14539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14540 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14541 		cacheid=xorg_cv_cc_flag__Wshadow
   14542 		if eval test \${$cacheid+y}
   14543 then :
   14544   printf %s "(cached) " >&6
   14545 else $as_nop
   14546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14547 /* end confdefs.h.  */
   14548 int i;
   14549 int
   14550 main (void)
   14551 {
   14552 
   14553   ;
   14554   return 0;
   14555 }
   14556 _ACEOF
   14557 if ac_fn_c_try_link "$LINENO"
   14558 then :
   14559   eval $cacheid=yes
   14560 else $as_nop
   14561   eval $cacheid=no
   14562 fi
   14563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14564     conftest$ac_exeext conftest.$ac_ext
   14565 fi
   14566 
   14567 
   14568 		CFLAGS="$xorg_testset_save_CFLAGS"
   14569 
   14570 		eval supported=\$$cacheid
   14571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14572 printf "%s\n" "$supported" >&6; }
   14573 		if test "$supported" = "yes" ; then
   14574 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14575 			found="yes"
   14576 		fi
   14577 	fi
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 xorg_testset_save_CFLAGS="$CFLAGS"
   14594 
   14595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14598 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14599 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14600 then :
   14601   printf %s "(cached) " >&6
   14602 else $as_nop
   14603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14604 /* end confdefs.h.  */
   14605 int i;
   14606 _ACEOF
   14607 if ac_fn_c_try_compile "$LINENO"
   14608 then :
   14609   xorg_cv_cc_flag_unknown_warning_option=yes
   14610 else $as_nop
   14611   xorg_cv_cc_flag_unknown_warning_option=no
   14612 fi
   14613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14614 fi
   14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14616 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14618 	CFLAGS="$xorg_testset_save_CFLAGS"
   14619 fi
   14620 
   14621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14624 	fi
   14625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14627 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14628 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14629 then :
   14630   printf %s "(cached) " >&6
   14631 else $as_nop
   14632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14633 /* end confdefs.h.  */
   14634 int i;
   14635 _ACEOF
   14636 if ac_fn_c_try_compile "$LINENO"
   14637 then :
   14638   xorg_cv_cc_flag_unused_command_line_argument=yes
   14639 else $as_nop
   14640   xorg_cv_cc_flag_unused_command_line_argument=no
   14641 fi
   14642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14643 fi
   14644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14645 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14647 	CFLAGS="$xorg_testset_save_CFLAGS"
   14648 fi
   14649 
   14650 found="no"
   14651 
   14652 	if test $found = "no" ; then
   14653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14655 		fi
   14656 
   14657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14659 		fi
   14660 
   14661 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14662 
   14663 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14664 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14665 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14666 		if eval test \${$cacheid+y}
   14667 then :
   14668   printf %s "(cached) " >&6
   14669 else $as_nop
   14670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14671 /* end confdefs.h.  */
   14672 int i;
   14673 int
   14674 main (void)
   14675 {
   14676 
   14677   ;
   14678   return 0;
   14679 }
   14680 _ACEOF
   14681 if ac_fn_c_try_link "$LINENO"
   14682 then :
   14683   eval $cacheid=yes
   14684 else $as_nop
   14685   eval $cacheid=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14688     conftest$ac_exeext conftest.$ac_ext
   14689 fi
   14690 
   14691 
   14692 		CFLAGS="$xorg_testset_save_CFLAGS"
   14693 
   14694 		eval supported=\$$cacheid
   14695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14696 printf "%s\n" "$supported" >&6; }
   14697 		if test "$supported" = "yes" ; then
   14698 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14699 			found="yes"
   14700 		fi
   14701 	fi
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 xorg_testset_save_CFLAGS="$CFLAGS"
   14718 
   14719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14722 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14723 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14724 then :
   14725   printf %s "(cached) " >&6
   14726 else $as_nop
   14727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14728 /* end confdefs.h.  */
   14729 int i;
   14730 _ACEOF
   14731 if ac_fn_c_try_compile "$LINENO"
   14732 then :
   14733   xorg_cv_cc_flag_unknown_warning_option=yes
   14734 else $as_nop
   14735   xorg_cv_cc_flag_unknown_warning_option=no
   14736 fi
   14737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14738 fi
   14739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14740 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14742 	CFLAGS="$xorg_testset_save_CFLAGS"
   14743 fi
   14744 
   14745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14748 	fi
   14749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14751 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14752 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14753 then :
   14754   printf %s "(cached) " >&6
   14755 else $as_nop
   14756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14757 /* end confdefs.h.  */
   14758 int i;
   14759 _ACEOF
   14760 if ac_fn_c_try_compile "$LINENO"
   14761 then :
   14762   xorg_cv_cc_flag_unused_command_line_argument=yes
   14763 else $as_nop
   14764   xorg_cv_cc_flag_unused_command_line_argument=no
   14765 fi
   14766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14767 fi
   14768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14769 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14771 	CFLAGS="$xorg_testset_save_CFLAGS"
   14772 fi
   14773 
   14774 found="no"
   14775 
   14776 	if test $found = "no" ; then
   14777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14779 		fi
   14780 
   14781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14783 		fi
   14784 
   14785 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14786 
   14787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14788 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14789 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14790 		if eval test \${$cacheid+y}
   14791 then :
   14792   printf %s "(cached) " >&6
   14793 else $as_nop
   14794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14795 /* end confdefs.h.  */
   14796 int i;
   14797 int
   14798 main (void)
   14799 {
   14800 
   14801   ;
   14802   return 0;
   14803 }
   14804 _ACEOF
   14805 if ac_fn_c_try_link "$LINENO"
   14806 then :
   14807   eval $cacheid=yes
   14808 else $as_nop
   14809   eval $cacheid=no
   14810 fi
   14811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14812     conftest$ac_exeext conftest.$ac_ext
   14813 fi
   14814 
   14815 
   14816 		CFLAGS="$xorg_testset_save_CFLAGS"
   14817 
   14818 		eval supported=\$$cacheid
   14819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14820 printf "%s\n" "$supported" >&6; }
   14821 		if test "$supported" = "yes" ; then
   14822 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14823 			found="yes"
   14824 		fi
   14825 	fi
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 xorg_testset_save_CFLAGS="$CFLAGS"
   14842 
   14843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14846 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14847 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14848 then :
   14849   printf %s "(cached) " >&6
   14850 else $as_nop
   14851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14852 /* end confdefs.h.  */
   14853 int i;
   14854 _ACEOF
   14855 if ac_fn_c_try_compile "$LINENO"
   14856 then :
   14857   xorg_cv_cc_flag_unknown_warning_option=yes
   14858 else $as_nop
   14859   xorg_cv_cc_flag_unknown_warning_option=no
   14860 fi
   14861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14862 fi
   14863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14866 	CFLAGS="$xorg_testset_save_CFLAGS"
   14867 fi
   14868 
   14869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14872 	fi
   14873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14877 then :
   14878   printf %s "(cached) " >&6
   14879 else $as_nop
   14880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14881 /* end confdefs.h.  */
   14882 int i;
   14883 _ACEOF
   14884 if ac_fn_c_try_compile "$LINENO"
   14885 then :
   14886   xorg_cv_cc_flag_unused_command_line_argument=yes
   14887 else $as_nop
   14888   xorg_cv_cc_flag_unused_command_line_argument=no
   14889 fi
   14890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14891 fi
   14892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14893 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14895 	CFLAGS="$xorg_testset_save_CFLAGS"
   14896 fi
   14897 
   14898 found="no"
   14899 
   14900 	if test $found = "no" ; then
   14901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14903 		fi
   14904 
   14905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14907 		fi
   14908 
   14909 		CFLAGS="$CFLAGS -Wredundant-decls"
   14910 
   14911 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14912 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   14913 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14914 		if eval test \${$cacheid+y}
   14915 then :
   14916   printf %s "(cached) " >&6
   14917 else $as_nop
   14918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14919 /* end confdefs.h.  */
   14920 int i;
   14921 int
   14922 main (void)
   14923 {
   14924 
   14925   ;
   14926   return 0;
   14927 }
   14928 _ACEOF
   14929 if ac_fn_c_try_link "$LINENO"
   14930 then :
   14931   eval $cacheid=yes
   14932 else $as_nop
   14933   eval $cacheid=no
   14934 fi
   14935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14936     conftest$ac_exeext conftest.$ac_ext
   14937 fi
   14938 
   14939 
   14940 		CFLAGS="$xorg_testset_save_CFLAGS"
   14941 
   14942 		eval supported=\$$cacheid
   14943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14944 printf "%s\n" "$supported" >&6; }
   14945 		if test "$supported" = "yes" ; then
   14946 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14947 			found="yes"
   14948 		fi
   14949 	fi
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 xorg_testset_save_CFLAGS="$CFLAGS"
   14966 
   14967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14972 then :
   14973   printf %s "(cached) " >&6
   14974 else $as_nop
   14975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14976 /* end confdefs.h.  */
   14977 int i;
   14978 _ACEOF
   14979 if ac_fn_c_try_compile "$LINENO"
   14980 then :
   14981   xorg_cv_cc_flag_unknown_warning_option=yes
   14982 else $as_nop
   14983   xorg_cv_cc_flag_unknown_warning_option=no
   14984 fi
   14985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14986 fi
   14987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14988 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14990 	CFLAGS="$xorg_testset_save_CFLAGS"
   14991 fi
   14992 
   14993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14996 	fi
   14997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14999 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15000 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15001 then :
   15002   printf %s "(cached) " >&6
   15003 else $as_nop
   15004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15005 /* end confdefs.h.  */
   15006 int i;
   15007 _ACEOF
   15008 if ac_fn_c_try_compile "$LINENO"
   15009 then :
   15010   xorg_cv_cc_flag_unused_command_line_argument=yes
   15011 else $as_nop
   15012   xorg_cv_cc_flag_unused_command_line_argument=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15015 fi
   15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15017 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15019 	CFLAGS="$xorg_testset_save_CFLAGS"
   15020 fi
   15021 
   15022 found="no"
   15023 
   15024 	if test $found = "no" ; then
   15025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15027 		fi
   15028 
   15029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15031 		fi
   15032 
   15033 		CFLAGS="$CFLAGS -Wlogical-op"
   15034 
   15035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15036 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15037 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15038 		if eval test \${$cacheid+y}
   15039 then :
   15040   printf %s "(cached) " >&6
   15041 else $as_nop
   15042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15043 /* end confdefs.h.  */
   15044 int i;
   15045 int
   15046 main (void)
   15047 {
   15048 
   15049   ;
   15050   return 0;
   15051 }
   15052 _ACEOF
   15053 if ac_fn_c_try_link "$LINENO"
   15054 then :
   15055   eval $cacheid=yes
   15056 else $as_nop
   15057   eval $cacheid=no
   15058 fi
   15059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15060     conftest$ac_exeext conftest.$ac_ext
   15061 fi
   15062 
   15063 
   15064 		CFLAGS="$xorg_testset_save_CFLAGS"
   15065 
   15066 		eval supported=\$$cacheid
   15067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15068 printf "%s\n" "$supported" >&6; }
   15069 		if test "$supported" = "yes" ; then
   15070 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15071 			found="yes"
   15072 		fi
   15073 	fi
   15074 
   15075 
   15076 
   15077 # These are currently disabled because they are noisy.  They will be enabled
   15078 # in the future once the codebase is sufficiently modernized to silence
   15079 # them.  For now, I don't want them to drown out the other warnings.
   15080 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15081 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15082 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15083 
   15084 # Turn some warnings into errors, so we don't accidently get successful builds
   15085 # when there are problems that should be fixed.
   15086 
   15087 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15088 
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 xorg_testset_save_CFLAGS="$CFLAGS"
   15102 
   15103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15106 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15107 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15108 then :
   15109   printf %s "(cached) " >&6
   15110 else $as_nop
   15111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15112 /* end confdefs.h.  */
   15113 int i;
   15114 _ACEOF
   15115 if ac_fn_c_try_compile "$LINENO"
   15116 then :
   15117   xorg_cv_cc_flag_unknown_warning_option=yes
   15118 else $as_nop
   15119   xorg_cv_cc_flag_unknown_warning_option=no
   15120 fi
   15121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15122 fi
   15123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15124 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15126 	CFLAGS="$xorg_testset_save_CFLAGS"
   15127 fi
   15128 
   15129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15132 	fi
   15133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15135 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15136 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15137 then :
   15138   printf %s "(cached) " >&6
   15139 else $as_nop
   15140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15141 /* end confdefs.h.  */
   15142 int i;
   15143 _ACEOF
   15144 if ac_fn_c_try_compile "$LINENO"
   15145 then :
   15146   xorg_cv_cc_flag_unused_command_line_argument=yes
   15147 else $as_nop
   15148   xorg_cv_cc_flag_unused_command_line_argument=no
   15149 fi
   15150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15151 fi
   15152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15153 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15155 	CFLAGS="$xorg_testset_save_CFLAGS"
   15156 fi
   15157 
   15158 found="no"
   15159 
   15160 	if test $found = "no" ; then
   15161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15163 		fi
   15164 
   15165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15167 		fi
   15168 
   15169 		CFLAGS="$CFLAGS -Werror=implicit"
   15170 
   15171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15172 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15173 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15174 		if eval test \${$cacheid+y}
   15175 then :
   15176   printf %s "(cached) " >&6
   15177 else $as_nop
   15178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15179 /* end confdefs.h.  */
   15180 int i;
   15181 int
   15182 main (void)
   15183 {
   15184 
   15185   ;
   15186   return 0;
   15187 }
   15188 _ACEOF
   15189 if ac_fn_c_try_link "$LINENO"
   15190 then :
   15191   eval $cacheid=yes
   15192 else $as_nop
   15193   eval $cacheid=no
   15194 fi
   15195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15196     conftest$ac_exeext conftest.$ac_ext
   15197 fi
   15198 
   15199 
   15200 		CFLAGS="$xorg_testset_save_CFLAGS"
   15201 
   15202 		eval supported=\$$cacheid
   15203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15204 printf "%s\n" "$supported" >&6; }
   15205 		if test "$supported" = "yes" ; then
   15206 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15207 			found="yes"
   15208 		fi
   15209 	fi
   15210 
   15211 	if test $found = "no" ; then
   15212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15214 		fi
   15215 
   15216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15218 		fi
   15219 
   15220 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15221 
   15222 		{ 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
   15223 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15224 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15225 		if eval test \${$cacheid+y}
   15226 then :
   15227   printf %s "(cached) " >&6
   15228 else $as_nop
   15229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15230 /* end confdefs.h.  */
   15231 int i;
   15232 int
   15233 main (void)
   15234 {
   15235 
   15236   ;
   15237   return 0;
   15238 }
   15239 _ACEOF
   15240 if ac_fn_c_try_link "$LINENO"
   15241 then :
   15242   eval $cacheid=yes
   15243 else $as_nop
   15244   eval $cacheid=no
   15245 fi
   15246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15247     conftest$ac_exeext conftest.$ac_ext
   15248 fi
   15249 
   15250 
   15251 		CFLAGS="$xorg_testset_save_CFLAGS"
   15252 
   15253 		eval supported=\$$cacheid
   15254 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15255 printf "%s\n" "$supported" >&6; }
   15256 		if test "$supported" = "yes" ; then
   15257 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15258 			found="yes"
   15259 		fi
   15260 	fi
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 xorg_testset_save_CFLAGS="$CFLAGS"
   15277 
   15278 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15279 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15280 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15281 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15282 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15283 then :
   15284   printf %s "(cached) " >&6
   15285 else $as_nop
   15286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15287 /* end confdefs.h.  */
   15288 int i;
   15289 _ACEOF
   15290 if ac_fn_c_try_compile "$LINENO"
   15291 then :
   15292   xorg_cv_cc_flag_unknown_warning_option=yes
   15293 else $as_nop
   15294   xorg_cv_cc_flag_unknown_warning_option=no
   15295 fi
   15296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15297 fi
   15298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15299 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15300 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15301 	CFLAGS="$xorg_testset_save_CFLAGS"
   15302 fi
   15303 
   15304 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15305 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15307 	fi
   15308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15309 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15310 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15311 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15312 then :
   15313   printf %s "(cached) " >&6
   15314 else $as_nop
   15315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15316 /* end confdefs.h.  */
   15317 int i;
   15318 _ACEOF
   15319 if ac_fn_c_try_compile "$LINENO"
   15320 then :
   15321   xorg_cv_cc_flag_unused_command_line_argument=yes
   15322 else $as_nop
   15323   xorg_cv_cc_flag_unused_command_line_argument=no
   15324 fi
   15325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15326 fi
   15327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15328 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15329 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15330 	CFLAGS="$xorg_testset_save_CFLAGS"
   15331 fi
   15332 
   15333 found="no"
   15334 
   15335 	if test $found = "no" ; then
   15336 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15337 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15338 		fi
   15339 
   15340 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15341 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15342 		fi
   15343 
   15344 		CFLAGS="$CFLAGS -Werror=nonnull"
   15345 
   15346 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15347 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15348 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15349 		if eval test \${$cacheid+y}
   15350 then :
   15351   printf %s "(cached) " >&6
   15352 else $as_nop
   15353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15354 /* end confdefs.h.  */
   15355 int i;
   15356 int
   15357 main (void)
   15358 {
   15359 
   15360   ;
   15361   return 0;
   15362 }
   15363 _ACEOF
   15364 if ac_fn_c_try_link "$LINENO"
   15365 then :
   15366   eval $cacheid=yes
   15367 else $as_nop
   15368   eval $cacheid=no
   15369 fi
   15370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15371     conftest$ac_exeext conftest.$ac_ext
   15372 fi
   15373 
   15374 
   15375 		CFLAGS="$xorg_testset_save_CFLAGS"
   15376 
   15377 		eval supported=\$$cacheid
   15378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15379 printf "%s\n" "$supported" >&6; }
   15380 		if test "$supported" = "yes" ; then
   15381 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15382 			found="yes"
   15383 		fi
   15384 	fi
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 xorg_testset_save_CFLAGS="$CFLAGS"
   15401 
   15402 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15403 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15405 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15406 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15407 then :
   15408   printf %s "(cached) " >&6
   15409 else $as_nop
   15410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15411 /* end confdefs.h.  */
   15412 int i;
   15413 _ACEOF
   15414 if ac_fn_c_try_compile "$LINENO"
   15415 then :
   15416   xorg_cv_cc_flag_unknown_warning_option=yes
   15417 else $as_nop
   15418   xorg_cv_cc_flag_unknown_warning_option=no
   15419 fi
   15420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15421 fi
   15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15423 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15425 	CFLAGS="$xorg_testset_save_CFLAGS"
   15426 fi
   15427 
   15428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15431 	fi
   15432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15433 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15434 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15435 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15436 then :
   15437   printf %s "(cached) " >&6
   15438 else $as_nop
   15439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15440 /* end confdefs.h.  */
   15441 int i;
   15442 _ACEOF
   15443 if ac_fn_c_try_compile "$LINENO"
   15444 then :
   15445   xorg_cv_cc_flag_unused_command_line_argument=yes
   15446 else $as_nop
   15447   xorg_cv_cc_flag_unused_command_line_argument=no
   15448 fi
   15449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15450 fi
   15451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15452 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15454 	CFLAGS="$xorg_testset_save_CFLAGS"
   15455 fi
   15456 
   15457 found="no"
   15458 
   15459 	if test $found = "no" ; then
   15460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15462 		fi
   15463 
   15464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15466 		fi
   15467 
   15468 		CFLAGS="$CFLAGS -Werror=init-self"
   15469 
   15470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15471 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15472 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15473 		if eval test \${$cacheid+y}
   15474 then :
   15475   printf %s "(cached) " >&6
   15476 else $as_nop
   15477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15478 /* end confdefs.h.  */
   15479 int i;
   15480 int
   15481 main (void)
   15482 {
   15483 
   15484   ;
   15485   return 0;
   15486 }
   15487 _ACEOF
   15488 if ac_fn_c_try_link "$LINENO"
   15489 then :
   15490   eval $cacheid=yes
   15491 else $as_nop
   15492   eval $cacheid=no
   15493 fi
   15494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15495     conftest$ac_exeext conftest.$ac_ext
   15496 fi
   15497 
   15498 
   15499 		CFLAGS="$xorg_testset_save_CFLAGS"
   15500 
   15501 		eval supported=\$$cacheid
   15502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15503 printf "%s\n" "$supported" >&6; }
   15504 		if test "$supported" = "yes" ; then
   15505 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15506 			found="yes"
   15507 		fi
   15508 	fi
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 
   15523 
   15524 xorg_testset_save_CFLAGS="$CFLAGS"
   15525 
   15526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15529 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15530 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15531 then :
   15532   printf %s "(cached) " >&6
   15533 else $as_nop
   15534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15535 /* end confdefs.h.  */
   15536 int i;
   15537 _ACEOF
   15538 if ac_fn_c_try_compile "$LINENO"
   15539 then :
   15540   xorg_cv_cc_flag_unknown_warning_option=yes
   15541 else $as_nop
   15542   xorg_cv_cc_flag_unknown_warning_option=no
   15543 fi
   15544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15545 fi
   15546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15547 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15548 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15549 	CFLAGS="$xorg_testset_save_CFLAGS"
   15550 fi
   15551 
   15552 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15553 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15554 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15555 	fi
   15556 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15557 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15558 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15559 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15560 then :
   15561   printf %s "(cached) " >&6
   15562 else $as_nop
   15563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15564 /* end confdefs.h.  */
   15565 int i;
   15566 _ACEOF
   15567 if ac_fn_c_try_compile "$LINENO"
   15568 then :
   15569   xorg_cv_cc_flag_unused_command_line_argument=yes
   15570 else $as_nop
   15571   xorg_cv_cc_flag_unused_command_line_argument=no
   15572 fi
   15573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15574 fi
   15575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15576 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15577 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15578 	CFLAGS="$xorg_testset_save_CFLAGS"
   15579 fi
   15580 
   15581 found="no"
   15582 
   15583 	if test $found = "no" ; then
   15584 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15585 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15586 		fi
   15587 
   15588 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15589 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15590 		fi
   15591 
   15592 		CFLAGS="$CFLAGS -Werror=main"
   15593 
   15594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15595 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15596 		cacheid=xorg_cv_cc_flag__Werror_main
   15597 		if eval test \${$cacheid+y}
   15598 then :
   15599   printf %s "(cached) " >&6
   15600 else $as_nop
   15601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15602 /* end confdefs.h.  */
   15603 int i;
   15604 int
   15605 main (void)
   15606 {
   15607 
   15608   ;
   15609   return 0;
   15610 }
   15611 _ACEOF
   15612 if ac_fn_c_try_link "$LINENO"
   15613 then :
   15614   eval $cacheid=yes
   15615 else $as_nop
   15616   eval $cacheid=no
   15617 fi
   15618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15619     conftest$ac_exeext conftest.$ac_ext
   15620 fi
   15621 
   15622 
   15623 		CFLAGS="$xorg_testset_save_CFLAGS"
   15624 
   15625 		eval supported=\$$cacheid
   15626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15627 printf "%s\n" "$supported" >&6; }
   15628 		if test "$supported" = "yes" ; then
   15629 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15630 			found="yes"
   15631 		fi
   15632 	fi
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 xorg_testset_save_CFLAGS="$CFLAGS"
   15649 
   15650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15653 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15654 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15655 then :
   15656   printf %s "(cached) " >&6
   15657 else $as_nop
   15658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15659 /* end confdefs.h.  */
   15660 int i;
   15661 _ACEOF
   15662 if ac_fn_c_try_compile "$LINENO"
   15663 then :
   15664   xorg_cv_cc_flag_unknown_warning_option=yes
   15665 else $as_nop
   15666   xorg_cv_cc_flag_unknown_warning_option=no
   15667 fi
   15668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15669 fi
   15670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15671 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15673 	CFLAGS="$xorg_testset_save_CFLAGS"
   15674 fi
   15675 
   15676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15679 	fi
   15680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15681 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15682 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15683 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15684 then :
   15685   printf %s "(cached) " >&6
   15686 else $as_nop
   15687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15688 /* end confdefs.h.  */
   15689 int i;
   15690 _ACEOF
   15691 if ac_fn_c_try_compile "$LINENO"
   15692 then :
   15693   xorg_cv_cc_flag_unused_command_line_argument=yes
   15694 else $as_nop
   15695   xorg_cv_cc_flag_unused_command_line_argument=no
   15696 fi
   15697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15698 fi
   15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15700 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15701 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15702 	CFLAGS="$xorg_testset_save_CFLAGS"
   15703 fi
   15704 
   15705 found="no"
   15706 
   15707 	if test $found = "no" ; then
   15708 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15709 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15710 		fi
   15711 
   15712 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15713 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15714 		fi
   15715 
   15716 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15717 
   15718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15719 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15720 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15721 		if eval test \${$cacheid+y}
   15722 then :
   15723   printf %s "(cached) " >&6
   15724 else $as_nop
   15725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15726 /* end confdefs.h.  */
   15727 int i;
   15728 int
   15729 main (void)
   15730 {
   15731 
   15732   ;
   15733   return 0;
   15734 }
   15735 _ACEOF
   15736 if ac_fn_c_try_link "$LINENO"
   15737 then :
   15738   eval $cacheid=yes
   15739 else $as_nop
   15740   eval $cacheid=no
   15741 fi
   15742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15743     conftest$ac_exeext conftest.$ac_ext
   15744 fi
   15745 
   15746 
   15747 		CFLAGS="$xorg_testset_save_CFLAGS"
   15748 
   15749 		eval supported=\$$cacheid
   15750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15751 printf "%s\n" "$supported" >&6; }
   15752 		if test "$supported" = "yes" ; then
   15753 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15754 			found="yes"
   15755 		fi
   15756 	fi
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 xorg_testset_save_CFLAGS="$CFLAGS"
   15773 
   15774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15777 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15778 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15779 then :
   15780   printf %s "(cached) " >&6
   15781 else $as_nop
   15782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15783 /* end confdefs.h.  */
   15784 int i;
   15785 _ACEOF
   15786 if ac_fn_c_try_compile "$LINENO"
   15787 then :
   15788   xorg_cv_cc_flag_unknown_warning_option=yes
   15789 else $as_nop
   15790   xorg_cv_cc_flag_unknown_warning_option=no
   15791 fi
   15792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15793 fi
   15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15795 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15796 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15797 	CFLAGS="$xorg_testset_save_CFLAGS"
   15798 fi
   15799 
   15800 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15801 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15802 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15803 	fi
   15804 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15805 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15806 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15807 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15808 then :
   15809   printf %s "(cached) " >&6
   15810 else $as_nop
   15811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15812 /* end confdefs.h.  */
   15813 int i;
   15814 _ACEOF
   15815 if ac_fn_c_try_compile "$LINENO"
   15816 then :
   15817   xorg_cv_cc_flag_unused_command_line_argument=yes
   15818 else $as_nop
   15819   xorg_cv_cc_flag_unused_command_line_argument=no
   15820 fi
   15821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15822 fi
   15823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15824 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15826 	CFLAGS="$xorg_testset_save_CFLAGS"
   15827 fi
   15828 
   15829 found="no"
   15830 
   15831 	if test $found = "no" ; then
   15832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15834 		fi
   15835 
   15836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15838 		fi
   15839 
   15840 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15841 
   15842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15843 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15844 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15845 		if eval test \${$cacheid+y}
   15846 then :
   15847   printf %s "(cached) " >&6
   15848 else $as_nop
   15849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15850 /* end confdefs.h.  */
   15851 int i;
   15852 int
   15853 main (void)
   15854 {
   15855 
   15856   ;
   15857   return 0;
   15858 }
   15859 _ACEOF
   15860 if ac_fn_c_try_link "$LINENO"
   15861 then :
   15862   eval $cacheid=yes
   15863 else $as_nop
   15864   eval $cacheid=no
   15865 fi
   15866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15867     conftest$ac_exeext conftest.$ac_ext
   15868 fi
   15869 
   15870 
   15871 		CFLAGS="$xorg_testset_save_CFLAGS"
   15872 
   15873 		eval supported=\$$cacheid
   15874 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15875 printf "%s\n" "$supported" >&6; }
   15876 		if test "$supported" = "yes" ; then
   15877 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15878 			found="yes"
   15879 		fi
   15880 	fi
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 
   15890 
   15891 
   15892 
   15893 
   15894 
   15895 
   15896 xorg_testset_save_CFLAGS="$CFLAGS"
   15897 
   15898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15903 then :
   15904   printf %s "(cached) " >&6
   15905 else $as_nop
   15906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15907 /* end confdefs.h.  */
   15908 int i;
   15909 _ACEOF
   15910 if ac_fn_c_try_compile "$LINENO"
   15911 then :
   15912   xorg_cv_cc_flag_unknown_warning_option=yes
   15913 else $as_nop
   15914   xorg_cv_cc_flag_unknown_warning_option=no
   15915 fi
   15916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15917 fi
   15918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15919 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15921 	CFLAGS="$xorg_testset_save_CFLAGS"
   15922 fi
   15923 
   15924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15927 	fi
   15928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15930 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15931 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15932 then :
   15933   printf %s "(cached) " >&6
   15934 else $as_nop
   15935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15936 /* end confdefs.h.  */
   15937 int i;
   15938 _ACEOF
   15939 if ac_fn_c_try_compile "$LINENO"
   15940 then :
   15941   xorg_cv_cc_flag_unused_command_line_argument=yes
   15942 else $as_nop
   15943   xorg_cv_cc_flag_unused_command_line_argument=no
   15944 fi
   15945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15946 fi
   15947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15948 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15950 	CFLAGS="$xorg_testset_save_CFLAGS"
   15951 fi
   15952 
   15953 found="no"
   15954 
   15955 	if test $found = "no" ; then
   15956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15958 		fi
   15959 
   15960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15962 		fi
   15963 
   15964 		CFLAGS="$CFLAGS -Werror=return-type"
   15965 
   15966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15967 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   15968 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15969 		if eval test \${$cacheid+y}
   15970 then :
   15971   printf %s "(cached) " >&6
   15972 else $as_nop
   15973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15974 /* end confdefs.h.  */
   15975 int i;
   15976 int
   15977 main (void)
   15978 {
   15979 
   15980   ;
   15981   return 0;
   15982 }
   15983 _ACEOF
   15984 if ac_fn_c_try_link "$LINENO"
   15985 then :
   15986   eval $cacheid=yes
   15987 else $as_nop
   15988   eval $cacheid=no
   15989 fi
   15990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15991     conftest$ac_exeext conftest.$ac_ext
   15992 fi
   15993 
   15994 
   15995 		CFLAGS="$xorg_testset_save_CFLAGS"
   15996 
   15997 		eval supported=\$$cacheid
   15998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15999 printf "%s\n" "$supported" >&6; }
   16000 		if test "$supported" = "yes" ; then
   16001 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16002 			found="yes"
   16003 		fi
   16004 	fi
   16005 
   16006 	if test $found = "no" ; then
   16007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16009 		fi
   16010 
   16011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16013 		fi
   16014 
   16015 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16016 
   16017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16018 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16019 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16020 		if eval test \${$cacheid+y}
   16021 then :
   16022   printf %s "(cached) " >&6
   16023 else $as_nop
   16024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16025 /* end confdefs.h.  */
   16026 int i;
   16027 int
   16028 main (void)
   16029 {
   16030 
   16031   ;
   16032   return 0;
   16033 }
   16034 _ACEOF
   16035 if ac_fn_c_try_link "$LINENO"
   16036 then :
   16037   eval $cacheid=yes
   16038 else $as_nop
   16039   eval $cacheid=no
   16040 fi
   16041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16042     conftest$ac_exeext conftest.$ac_ext
   16043 fi
   16044 
   16045 
   16046 		CFLAGS="$xorg_testset_save_CFLAGS"
   16047 
   16048 		eval supported=\$$cacheid
   16049 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16050 printf "%s\n" "$supported" >&6; }
   16051 		if test "$supported" = "yes" ; then
   16052 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16053 			found="yes"
   16054 		fi
   16055 	fi
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 xorg_testset_save_CFLAGS="$CFLAGS"
   16072 
   16073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16076 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16077 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16078 then :
   16079   printf %s "(cached) " >&6
   16080 else $as_nop
   16081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16082 /* end confdefs.h.  */
   16083 int i;
   16084 _ACEOF
   16085 if ac_fn_c_try_compile "$LINENO"
   16086 then :
   16087   xorg_cv_cc_flag_unknown_warning_option=yes
   16088 else $as_nop
   16089   xorg_cv_cc_flag_unknown_warning_option=no
   16090 fi
   16091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16092 fi
   16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16096 	CFLAGS="$xorg_testset_save_CFLAGS"
   16097 fi
   16098 
   16099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16102 	fi
   16103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16107 then :
   16108   printf %s "(cached) " >&6
   16109 else $as_nop
   16110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16111 /* end confdefs.h.  */
   16112 int i;
   16113 _ACEOF
   16114 if ac_fn_c_try_compile "$LINENO"
   16115 then :
   16116   xorg_cv_cc_flag_unused_command_line_argument=yes
   16117 else $as_nop
   16118   xorg_cv_cc_flag_unused_command_line_argument=no
   16119 fi
   16120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16121 fi
   16122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16123 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16125 	CFLAGS="$xorg_testset_save_CFLAGS"
   16126 fi
   16127 
   16128 found="no"
   16129 
   16130 	if test $found = "no" ; then
   16131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16133 		fi
   16134 
   16135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16137 		fi
   16138 
   16139 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16140 
   16141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16142 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16143 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16144 		if eval test \${$cacheid+y}
   16145 then :
   16146   printf %s "(cached) " >&6
   16147 else $as_nop
   16148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16149 /* end confdefs.h.  */
   16150 int i;
   16151 int
   16152 main (void)
   16153 {
   16154 
   16155   ;
   16156   return 0;
   16157 }
   16158 _ACEOF
   16159 if ac_fn_c_try_link "$LINENO"
   16160 then :
   16161   eval $cacheid=yes
   16162 else $as_nop
   16163   eval $cacheid=no
   16164 fi
   16165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16166     conftest$ac_exeext conftest.$ac_ext
   16167 fi
   16168 
   16169 
   16170 		CFLAGS="$xorg_testset_save_CFLAGS"
   16171 
   16172 		eval supported=\$$cacheid
   16173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16174 printf "%s\n" "$supported" >&6; }
   16175 		if test "$supported" = "yes" ; then
   16176 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16177 			found="yes"
   16178 		fi
   16179 	fi
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 xorg_testset_save_CFLAGS="$CFLAGS"
   16196 
   16197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16202 then :
   16203   printf %s "(cached) " >&6
   16204 else $as_nop
   16205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16206 /* end confdefs.h.  */
   16207 int i;
   16208 _ACEOF
   16209 if ac_fn_c_try_compile "$LINENO"
   16210 then :
   16211   xorg_cv_cc_flag_unknown_warning_option=yes
   16212 else $as_nop
   16213   xorg_cv_cc_flag_unknown_warning_option=no
   16214 fi
   16215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16216 fi
   16217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16218 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16220 	CFLAGS="$xorg_testset_save_CFLAGS"
   16221 fi
   16222 
   16223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16226 	fi
   16227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16229 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16230 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16231 then :
   16232   printf %s "(cached) " >&6
   16233 else $as_nop
   16234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16235 /* end confdefs.h.  */
   16236 int i;
   16237 _ACEOF
   16238 if ac_fn_c_try_compile "$LINENO"
   16239 then :
   16240   xorg_cv_cc_flag_unused_command_line_argument=yes
   16241 else $as_nop
   16242   xorg_cv_cc_flag_unused_command_line_argument=no
   16243 fi
   16244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16245 fi
   16246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16247 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16249 	CFLAGS="$xorg_testset_save_CFLAGS"
   16250 fi
   16251 
   16252 found="no"
   16253 
   16254 	if test $found = "no" ; then
   16255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16257 		fi
   16258 
   16259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16261 		fi
   16262 
   16263 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16264 
   16265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16266 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16267 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16268 		if eval test \${$cacheid+y}
   16269 then :
   16270   printf %s "(cached) " >&6
   16271 else $as_nop
   16272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16273 /* end confdefs.h.  */
   16274 int i;
   16275 int
   16276 main (void)
   16277 {
   16278 
   16279   ;
   16280   return 0;
   16281 }
   16282 _ACEOF
   16283 if ac_fn_c_try_link "$LINENO"
   16284 then :
   16285   eval $cacheid=yes
   16286 else $as_nop
   16287   eval $cacheid=no
   16288 fi
   16289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16290     conftest$ac_exeext conftest.$ac_ext
   16291 fi
   16292 
   16293 
   16294 		CFLAGS="$xorg_testset_save_CFLAGS"
   16295 
   16296 		eval supported=\$$cacheid
   16297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16298 printf "%s\n" "$supported" >&6; }
   16299 		if test "$supported" = "yes" ; then
   16300 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16301 			found="yes"
   16302 		fi
   16303 	fi
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 
   16315 
   16316 
   16317 
   16318 
   16319 xorg_testset_save_CFLAGS="$CFLAGS"
   16320 
   16321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16324 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16325 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16326 then :
   16327   printf %s "(cached) " >&6
   16328 else $as_nop
   16329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16330 /* end confdefs.h.  */
   16331 int i;
   16332 _ACEOF
   16333 if ac_fn_c_try_compile "$LINENO"
   16334 then :
   16335   xorg_cv_cc_flag_unknown_warning_option=yes
   16336 else $as_nop
   16337   xorg_cv_cc_flag_unknown_warning_option=no
   16338 fi
   16339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16340 fi
   16341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16342 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16344 	CFLAGS="$xorg_testset_save_CFLAGS"
   16345 fi
   16346 
   16347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16350 	fi
   16351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16353 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16354 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16355 then :
   16356   printf %s "(cached) " >&6
   16357 else $as_nop
   16358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16359 /* end confdefs.h.  */
   16360 int i;
   16361 _ACEOF
   16362 if ac_fn_c_try_compile "$LINENO"
   16363 then :
   16364   xorg_cv_cc_flag_unused_command_line_argument=yes
   16365 else $as_nop
   16366   xorg_cv_cc_flag_unused_command_line_argument=no
   16367 fi
   16368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16369 fi
   16370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16373 	CFLAGS="$xorg_testset_save_CFLAGS"
   16374 fi
   16375 
   16376 found="no"
   16377 
   16378 	if test $found = "no" ; then
   16379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16381 		fi
   16382 
   16383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16385 		fi
   16386 
   16387 		CFLAGS="$CFLAGS -Werror=write-strings"
   16388 
   16389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16390 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16391 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16392 		if eval test \${$cacheid+y}
   16393 then :
   16394   printf %s "(cached) " >&6
   16395 else $as_nop
   16396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16397 /* end confdefs.h.  */
   16398 int i;
   16399 int
   16400 main (void)
   16401 {
   16402 
   16403   ;
   16404   return 0;
   16405 }
   16406 _ACEOF
   16407 if ac_fn_c_try_link "$LINENO"
   16408 then :
   16409   eval $cacheid=yes
   16410 else $as_nop
   16411   eval $cacheid=no
   16412 fi
   16413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16414     conftest$ac_exeext conftest.$ac_ext
   16415 fi
   16416 
   16417 
   16418 		CFLAGS="$xorg_testset_save_CFLAGS"
   16419 
   16420 		eval supported=\$$cacheid
   16421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16422 printf "%s\n" "$supported" >&6; }
   16423 		if test "$supported" = "yes" ; then
   16424 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16425 			found="yes"
   16426 		fi
   16427 	fi
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 xorg_testset_save_CFLAGS="$CFLAGS"
   16444 
   16445 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16446 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16447 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16448 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16449 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16450 then :
   16451   printf %s "(cached) " >&6
   16452 else $as_nop
   16453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16454 /* end confdefs.h.  */
   16455 int i;
   16456 _ACEOF
   16457 if ac_fn_c_try_compile "$LINENO"
   16458 then :
   16459   xorg_cv_cc_flag_unknown_warning_option=yes
   16460 else $as_nop
   16461   xorg_cv_cc_flag_unknown_warning_option=no
   16462 fi
   16463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16464 fi
   16465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16466 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16468 	CFLAGS="$xorg_testset_save_CFLAGS"
   16469 fi
   16470 
   16471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16474 	fi
   16475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16476 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16477 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16478 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16479 then :
   16480   printf %s "(cached) " >&6
   16481 else $as_nop
   16482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16483 /* end confdefs.h.  */
   16484 int i;
   16485 _ACEOF
   16486 if ac_fn_c_try_compile "$LINENO"
   16487 then :
   16488   xorg_cv_cc_flag_unused_command_line_argument=yes
   16489 else $as_nop
   16490   xorg_cv_cc_flag_unused_command_line_argument=no
   16491 fi
   16492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16493 fi
   16494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16495 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16497 	CFLAGS="$xorg_testset_save_CFLAGS"
   16498 fi
   16499 
   16500 found="no"
   16501 
   16502 	if test $found = "no" ; then
   16503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16505 		fi
   16506 
   16507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16509 		fi
   16510 
   16511 		CFLAGS="$CFLAGS -Werror=address"
   16512 
   16513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16514 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16515 		cacheid=xorg_cv_cc_flag__Werror_address
   16516 		if eval test \${$cacheid+y}
   16517 then :
   16518   printf %s "(cached) " >&6
   16519 else $as_nop
   16520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16521 /* end confdefs.h.  */
   16522 int i;
   16523 int
   16524 main (void)
   16525 {
   16526 
   16527   ;
   16528   return 0;
   16529 }
   16530 _ACEOF
   16531 if ac_fn_c_try_link "$LINENO"
   16532 then :
   16533   eval $cacheid=yes
   16534 else $as_nop
   16535   eval $cacheid=no
   16536 fi
   16537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16538     conftest$ac_exeext conftest.$ac_ext
   16539 fi
   16540 
   16541 
   16542 		CFLAGS="$xorg_testset_save_CFLAGS"
   16543 
   16544 		eval supported=\$$cacheid
   16545 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16546 printf "%s\n" "$supported" >&6; }
   16547 		if test "$supported" = "yes" ; then
   16548 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16549 			found="yes"
   16550 		fi
   16551 	fi
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 xorg_testset_save_CFLAGS="$CFLAGS"
   16568 
   16569 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16570 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16572 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16573 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16574 then :
   16575   printf %s "(cached) " >&6
   16576 else $as_nop
   16577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16578 /* end confdefs.h.  */
   16579 int i;
   16580 _ACEOF
   16581 if ac_fn_c_try_compile "$LINENO"
   16582 then :
   16583   xorg_cv_cc_flag_unknown_warning_option=yes
   16584 else $as_nop
   16585   xorg_cv_cc_flag_unknown_warning_option=no
   16586 fi
   16587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16588 fi
   16589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16590 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16592 	CFLAGS="$xorg_testset_save_CFLAGS"
   16593 fi
   16594 
   16595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16598 	fi
   16599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16601 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16602 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16603 then :
   16604   printf %s "(cached) " >&6
   16605 else $as_nop
   16606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16607 /* end confdefs.h.  */
   16608 int i;
   16609 _ACEOF
   16610 if ac_fn_c_try_compile "$LINENO"
   16611 then :
   16612   xorg_cv_cc_flag_unused_command_line_argument=yes
   16613 else $as_nop
   16614   xorg_cv_cc_flag_unused_command_line_argument=no
   16615 fi
   16616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16617 fi
   16618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16619 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16620 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16621 	CFLAGS="$xorg_testset_save_CFLAGS"
   16622 fi
   16623 
   16624 found="no"
   16625 
   16626 	if test $found = "no" ; then
   16627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16629 		fi
   16630 
   16631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16633 		fi
   16634 
   16635 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16636 
   16637 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16638 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16639 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16640 		if eval test \${$cacheid+y}
   16641 then :
   16642   printf %s "(cached) " >&6
   16643 else $as_nop
   16644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16645 /* end confdefs.h.  */
   16646 int i;
   16647 int
   16648 main (void)
   16649 {
   16650 
   16651   ;
   16652   return 0;
   16653 }
   16654 _ACEOF
   16655 if ac_fn_c_try_link "$LINENO"
   16656 then :
   16657   eval $cacheid=yes
   16658 else $as_nop
   16659   eval $cacheid=no
   16660 fi
   16661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16662     conftest$ac_exeext conftest.$ac_ext
   16663 fi
   16664 
   16665 
   16666 		CFLAGS="$xorg_testset_save_CFLAGS"
   16667 
   16668 		eval supported=\$$cacheid
   16669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16670 printf "%s\n" "$supported" >&6; }
   16671 		if test "$supported" = "yes" ; then
   16672 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16673 			found="yes"
   16674 		fi
   16675 	fi
   16676 
   16677 	if test $found = "no" ; then
   16678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16680 		fi
   16681 
   16682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16684 		fi
   16685 
   16686 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16687 
   16688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16689 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16690 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16691 		if eval test \${$cacheid+y}
   16692 then :
   16693   printf %s "(cached) " >&6
   16694 else $as_nop
   16695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16696 /* end confdefs.h.  */
   16697 int i;
   16698 int
   16699 main (void)
   16700 {
   16701 
   16702   ;
   16703   return 0;
   16704 }
   16705 _ACEOF
   16706 if ac_fn_c_try_link "$LINENO"
   16707 then :
   16708   eval $cacheid=yes
   16709 else $as_nop
   16710   eval $cacheid=no
   16711 fi
   16712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16713     conftest$ac_exeext conftest.$ac_ext
   16714 fi
   16715 
   16716 
   16717 		CFLAGS="$xorg_testset_save_CFLAGS"
   16718 
   16719 		eval supported=\$$cacheid
   16720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16721 printf "%s\n" "$supported" >&6; }
   16722 		if test "$supported" = "yes" ; then
   16723 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16724 			found="yes"
   16725 		fi
   16726 	fi
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 xorg_testset_save_CFLAGS="$CFLAGS"
   16743 
   16744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16747 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16748 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16749 then :
   16750   printf %s "(cached) " >&6
   16751 else $as_nop
   16752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16753 /* end confdefs.h.  */
   16754 int i;
   16755 _ACEOF
   16756 if ac_fn_c_try_compile "$LINENO"
   16757 then :
   16758   xorg_cv_cc_flag_unknown_warning_option=yes
   16759 else $as_nop
   16760   xorg_cv_cc_flag_unknown_warning_option=no
   16761 fi
   16762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16763 fi
   16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16765 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16766 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16767 	CFLAGS="$xorg_testset_save_CFLAGS"
   16768 fi
   16769 
   16770 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16771 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16773 	fi
   16774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16776 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16777 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16778 then :
   16779   printf %s "(cached) " >&6
   16780 else $as_nop
   16781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16782 /* end confdefs.h.  */
   16783 int i;
   16784 _ACEOF
   16785 if ac_fn_c_try_compile "$LINENO"
   16786 then :
   16787   xorg_cv_cc_flag_unused_command_line_argument=yes
   16788 else $as_nop
   16789   xorg_cv_cc_flag_unused_command_line_argument=no
   16790 fi
   16791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16792 fi
   16793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16796 	CFLAGS="$xorg_testset_save_CFLAGS"
   16797 fi
   16798 
   16799 found="no"
   16800 
   16801 	if test $found = "no" ; then
   16802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16804 		fi
   16805 
   16806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16808 		fi
   16809 
   16810 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16811 
   16812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16813 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16814 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16815 		if eval test \${$cacheid+y}
   16816 then :
   16817   printf %s "(cached) " >&6
   16818 else $as_nop
   16819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16820 /* end confdefs.h.  */
   16821 int i;
   16822 int
   16823 main (void)
   16824 {
   16825 
   16826   ;
   16827   return 0;
   16828 }
   16829 _ACEOF
   16830 if ac_fn_c_try_link "$LINENO"
   16831 then :
   16832   eval $cacheid=yes
   16833 else $as_nop
   16834   eval $cacheid=no
   16835 fi
   16836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16837     conftest$ac_exeext conftest.$ac_ext
   16838 fi
   16839 
   16840 
   16841 		CFLAGS="$xorg_testset_save_CFLAGS"
   16842 
   16843 		eval supported=\$$cacheid
   16844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16845 printf "%s\n" "$supported" >&6; }
   16846 		if test "$supported" = "yes" ; then
   16847 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16848 			found="yes"
   16849 		fi
   16850 	fi
   16851 
   16852  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16853 else
   16854 { 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
   16855 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;}
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 
   16867 
   16868 
   16869 xorg_testset_save_CFLAGS="$CFLAGS"
   16870 
   16871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16876 then :
   16877   printf %s "(cached) " >&6
   16878 else $as_nop
   16879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16880 /* end confdefs.h.  */
   16881 int i;
   16882 _ACEOF
   16883 if ac_fn_c_try_compile "$LINENO"
   16884 then :
   16885   xorg_cv_cc_flag_unknown_warning_option=yes
   16886 else $as_nop
   16887   xorg_cv_cc_flag_unknown_warning_option=no
   16888 fi
   16889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16890 fi
   16891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16894 	CFLAGS="$xorg_testset_save_CFLAGS"
   16895 fi
   16896 
   16897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16900 	fi
   16901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16905 then :
   16906   printf %s "(cached) " >&6
   16907 else $as_nop
   16908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16909 /* end confdefs.h.  */
   16910 int i;
   16911 _ACEOF
   16912 if ac_fn_c_try_compile "$LINENO"
   16913 then :
   16914   xorg_cv_cc_flag_unused_command_line_argument=yes
   16915 else $as_nop
   16916   xorg_cv_cc_flag_unused_command_line_argument=no
   16917 fi
   16918 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16919 fi
   16920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16921 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16923 	CFLAGS="$xorg_testset_save_CFLAGS"
   16924 fi
   16925 
   16926 found="no"
   16927 
   16928 	if test $found = "no" ; then
   16929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16931 		fi
   16932 
   16933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16935 		fi
   16936 
   16937 		CFLAGS="$CFLAGS -Wimplicit"
   16938 
   16939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16940 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   16941 		cacheid=xorg_cv_cc_flag__Wimplicit
   16942 		if eval test \${$cacheid+y}
   16943 then :
   16944   printf %s "(cached) " >&6
   16945 else $as_nop
   16946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16947 /* end confdefs.h.  */
   16948 int i;
   16949 int
   16950 main (void)
   16951 {
   16952 
   16953   ;
   16954   return 0;
   16955 }
   16956 _ACEOF
   16957 if ac_fn_c_try_link "$LINENO"
   16958 then :
   16959   eval $cacheid=yes
   16960 else $as_nop
   16961   eval $cacheid=no
   16962 fi
   16963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16964     conftest$ac_exeext conftest.$ac_ext
   16965 fi
   16966 
   16967 
   16968 		CFLAGS="$xorg_testset_save_CFLAGS"
   16969 
   16970 		eval supported=\$$cacheid
   16971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16972 printf "%s\n" "$supported" >&6; }
   16973 		if test "$supported" = "yes" ; then
   16974 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16975 			found="yes"
   16976 		fi
   16977 	fi
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 xorg_testset_save_CFLAGS="$CFLAGS"
   16994 
   16995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16998 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16999 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17000 then :
   17001   printf %s "(cached) " >&6
   17002 else $as_nop
   17003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17004 /* end confdefs.h.  */
   17005 int i;
   17006 _ACEOF
   17007 if ac_fn_c_try_compile "$LINENO"
   17008 then :
   17009   xorg_cv_cc_flag_unknown_warning_option=yes
   17010 else $as_nop
   17011   xorg_cv_cc_flag_unknown_warning_option=no
   17012 fi
   17013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17014 fi
   17015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17016 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17017 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17018 	CFLAGS="$xorg_testset_save_CFLAGS"
   17019 fi
   17020 
   17021 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17022 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17023 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17024 	fi
   17025 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17026 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17027 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17028 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17029 then :
   17030   printf %s "(cached) " >&6
   17031 else $as_nop
   17032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17033 /* end confdefs.h.  */
   17034 int i;
   17035 _ACEOF
   17036 if ac_fn_c_try_compile "$LINENO"
   17037 then :
   17038   xorg_cv_cc_flag_unused_command_line_argument=yes
   17039 else $as_nop
   17040   xorg_cv_cc_flag_unused_command_line_argument=no
   17041 fi
   17042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17043 fi
   17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17045 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17047 	CFLAGS="$xorg_testset_save_CFLAGS"
   17048 fi
   17049 
   17050 found="no"
   17051 
   17052 	if test $found = "no" ; then
   17053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17055 		fi
   17056 
   17057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17059 		fi
   17060 
   17061 		CFLAGS="$CFLAGS -Wnonnull"
   17062 
   17063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17064 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17065 		cacheid=xorg_cv_cc_flag__Wnonnull
   17066 		if eval test \${$cacheid+y}
   17067 then :
   17068   printf %s "(cached) " >&6
   17069 else $as_nop
   17070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17071 /* end confdefs.h.  */
   17072 int i;
   17073 int
   17074 main (void)
   17075 {
   17076 
   17077   ;
   17078   return 0;
   17079 }
   17080 _ACEOF
   17081 if ac_fn_c_try_link "$LINENO"
   17082 then :
   17083   eval $cacheid=yes
   17084 else $as_nop
   17085   eval $cacheid=no
   17086 fi
   17087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17088     conftest$ac_exeext conftest.$ac_ext
   17089 fi
   17090 
   17091 
   17092 		CFLAGS="$xorg_testset_save_CFLAGS"
   17093 
   17094 		eval supported=\$$cacheid
   17095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17096 printf "%s\n" "$supported" >&6; }
   17097 		if test "$supported" = "yes" ; then
   17098 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17099 			found="yes"
   17100 		fi
   17101 	fi
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 xorg_testset_save_CFLAGS="$CFLAGS"
   17118 
   17119 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17120 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17122 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17123 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17124 then :
   17125   printf %s "(cached) " >&6
   17126 else $as_nop
   17127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17128 /* end confdefs.h.  */
   17129 int i;
   17130 _ACEOF
   17131 if ac_fn_c_try_compile "$LINENO"
   17132 then :
   17133   xorg_cv_cc_flag_unknown_warning_option=yes
   17134 else $as_nop
   17135   xorg_cv_cc_flag_unknown_warning_option=no
   17136 fi
   17137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17138 fi
   17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17140 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17142 	CFLAGS="$xorg_testset_save_CFLAGS"
   17143 fi
   17144 
   17145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17148 	fi
   17149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17151 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17152 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17153 then :
   17154   printf %s "(cached) " >&6
   17155 else $as_nop
   17156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17157 /* end confdefs.h.  */
   17158 int i;
   17159 _ACEOF
   17160 if ac_fn_c_try_compile "$LINENO"
   17161 then :
   17162   xorg_cv_cc_flag_unused_command_line_argument=yes
   17163 else $as_nop
   17164   xorg_cv_cc_flag_unused_command_line_argument=no
   17165 fi
   17166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17167 fi
   17168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17169 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17171 	CFLAGS="$xorg_testset_save_CFLAGS"
   17172 fi
   17173 
   17174 found="no"
   17175 
   17176 	if test $found = "no" ; then
   17177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17179 		fi
   17180 
   17181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17183 		fi
   17184 
   17185 		CFLAGS="$CFLAGS -Winit-self"
   17186 
   17187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17188 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17189 		cacheid=xorg_cv_cc_flag__Winit_self
   17190 		if eval test \${$cacheid+y}
   17191 then :
   17192   printf %s "(cached) " >&6
   17193 else $as_nop
   17194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17195 /* end confdefs.h.  */
   17196 int i;
   17197 int
   17198 main (void)
   17199 {
   17200 
   17201   ;
   17202   return 0;
   17203 }
   17204 _ACEOF
   17205 if ac_fn_c_try_link "$LINENO"
   17206 then :
   17207   eval $cacheid=yes
   17208 else $as_nop
   17209   eval $cacheid=no
   17210 fi
   17211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17212     conftest$ac_exeext conftest.$ac_ext
   17213 fi
   17214 
   17215 
   17216 		CFLAGS="$xorg_testset_save_CFLAGS"
   17217 
   17218 		eval supported=\$$cacheid
   17219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17220 printf "%s\n" "$supported" >&6; }
   17221 		if test "$supported" = "yes" ; then
   17222 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17223 			found="yes"
   17224 		fi
   17225 	fi
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 
   17239 
   17240 
   17241 xorg_testset_save_CFLAGS="$CFLAGS"
   17242 
   17243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17246 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17247 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17248 then :
   17249   printf %s "(cached) " >&6
   17250 else $as_nop
   17251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17252 /* end confdefs.h.  */
   17253 int i;
   17254 _ACEOF
   17255 if ac_fn_c_try_compile "$LINENO"
   17256 then :
   17257   xorg_cv_cc_flag_unknown_warning_option=yes
   17258 else $as_nop
   17259   xorg_cv_cc_flag_unknown_warning_option=no
   17260 fi
   17261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17262 fi
   17263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17266 	CFLAGS="$xorg_testset_save_CFLAGS"
   17267 fi
   17268 
   17269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17272 	fi
   17273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17277 then :
   17278   printf %s "(cached) " >&6
   17279 else $as_nop
   17280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17281 /* end confdefs.h.  */
   17282 int i;
   17283 _ACEOF
   17284 if ac_fn_c_try_compile "$LINENO"
   17285 then :
   17286   xorg_cv_cc_flag_unused_command_line_argument=yes
   17287 else $as_nop
   17288   xorg_cv_cc_flag_unused_command_line_argument=no
   17289 fi
   17290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17291 fi
   17292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17293 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17295 	CFLAGS="$xorg_testset_save_CFLAGS"
   17296 fi
   17297 
   17298 found="no"
   17299 
   17300 	if test $found = "no" ; then
   17301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17303 		fi
   17304 
   17305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17307 		fi
   17308 
   17309 		CFLAGS="$CFLAGS -Wmain"
   17310 
   17311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17312 printf %s "checking if $CC supports -Wmain... " >&6; }
   17313 		cacheid=xorg_cv_cc_flag__Wmain
   17314 		if eval test \${$cacheid+y}
   17315 then :
   17316   printf %s "(cached) " >&6
   17317 else $as_nop
   17318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17319 /* end confdefs.h.  */
   17320 int i;
   17321 int
   17322 main (void)
   17323 {
   17324 
   17325   ;
   17326   return 0;
   17327 }
   17328 _ACEOF
   17329 if ac_fn_c_try_link "$LINENO"
   17330 then :
   17331   eval $cacheid=yes
   17332 else $as_nop
   17333   eval $cacheid=no
   17334 fi
   17335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17336     conftest$ac_exeext conftest.$ac_ext
   17337 fi
   17338 
   17339 
   17340 		CFLAGS="$xorg_testset_save_CFLAGS"
   17341 
   17342 		eval supported=\$$cacheid
   17343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17344 printf "%s\n" "$supported" >&6; }
   17345 		if test "$supported" = "yes" ; then
   17346 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17347 			found="yes"
   17348 		fi
   17349 	fi
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 
   17361 
   17362 
   17363 
   17364 
   17365 xorg_testset_save_CFLAGS="$CFLAGS"
   17366 
   17367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17369 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17370 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17371 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17372 then :
   17373   printf %s "(cached) " >&6
   17374 else $as_nop
   17375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17376 /* end confdefs.h.  */
   17377 int i;
   17378 _ACEOF
   17379 if ac_fn_c_try_compile "$LINENO"
   17380 then :
   17381   xorg_cv_cc_flag_unknown_warning_option=yes
   17382 else $as_nop
   17383   xorg_cv_cc_flag_unknown_warning_option=no
   17384 fi
   17385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17386 fi
   17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17388 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17390 	CFLAGS="$xorg_testset_save_CFLAGS"
   17391 fi
   17392 
   17393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17396 	fi
   17397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17399 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17400 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17401 then :
   17402   printf %s "(cached) " >&6
   17403 else $as_nop
   17404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17405 /* end confdefs.h.  */
   17406 int i;
   17407 _ACEOF
   17408 if ac_fn_c_try_compile "$LINENO"
   17409 then :
   17410   xorg_cv_cc_flag_unused_command_line_argument=yes
   17411 else $as_nop
   17412   xorg_cv_cc_flag_unused_command_line_argument=no
   17413 fi
   17414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17415 fi
   17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17417 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17419 	CFLAGS="$xorg_testset_save_CFLAGS"
   17420 fi
   17421 
   17422 found="no"
   17423 
   17424 	if test $found = "no" ; then
   17425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17427 		fi
   17428 
   17429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17431 		fi
   17432 
   17433 		CFLAGS="$CFLAGS -Wmissing-braces"
   17434 
   17435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17436 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17437 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17438 		if eval test \${$cacheid+y}
   17439 then :
   17440   printf %s "(cached) " >&6
   17441 else $as_nop
   17442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17443 /* end confdefs.h.  */
   17444 int i;
   17445 int
   17446 main (void)
   17447 {
   17448 
   17449   ;
   17450   return 0;
   17451 }
   17452 _ACEOF
   17453 if ac_fn_c_try_link "$LINENO"
   17454 then :
   17455   eval $cacheid=yes
   17456 else $as_nop
   17457   eval $cacheid=no
   17458 fi
   17459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17460     conftest$ac_exeext conftest.$ac_ext
   17461 fi
   17462 
   17463 
   17464 		CFLAGS="$xorg_testset_save_CFLAGS"
   17465 
   17466 		eval supported=\$$cacheid
   17467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17468 printf "%s\n" "$supported" >&6; }
   17469 		if test "$supported" = "yes" ; then
   17470 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17471 			found="yes"
   17472 		fi
   17473 	fi
   17474 
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 xorg_testset_save_CFLAGS="$CFLAGS"
   17490 
   17491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17494 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17495 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17496 then :
   17497   printf %s "(cached) " >&6
   17498 else $as_nop
   17499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17500 /* end confdefs.h.  */
   17501 int i;
   17502 _ACEOF
   17503 if ac_fn_c_try_compile "$LINENO"
   17504 then :
   17505   xorg_cv_cc_flag_unknown_warning_option=yes
   17506 else $as_nop
   17507   xorg_cv_cc_flag_unknown_warning_option=no
   17508 fi
   17509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17510 fi
   17511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17512 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17514 	CFLAGS="$xorg_testset_save_CFLAGS"
   17515 fi
   17516 
   17517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17520 	fi
   17521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17523 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17524 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17525 then :
   17526   printf %s "(cached) " >&6
   17527 else $as_nop
   17528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17529 /* end confdefs.h.  */
   17530 int i;
   17531 _ACEOF
   17532 if ac_fn_c_try_compile "$LINENO"
   17533 then :
   17534   xorg_cv_cc_flag_unused_command_line_argument=yes
   17535 else $as_nop
   17536   xorg_cv_cc_flag_unused_command_line_argument=no
   17537 fi
   17538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17539 fi
   17540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17541 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17543 	CFLAGS="$xorg_testset_save_CFLAGS"
   17544 fi
   17545 
   17546 found="no"
   17547 
   17548 	if test $found = "no" ; then
   17549 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17551 		fi
   17552 
   17553 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17555 		fi
   17556 
   17557 		CFLAGS="$CFLAGS -Wsequence-point"
   17558 
   17559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17560 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17561 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17562 		if eval test \${$cacheid+y}
   17563 then :
   17564   printf %s "(cached) " >&6
   17565 else $as_nop
   17566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17567 /* end confdefs.h.  */
   17568 int i;
   17569 int
   17570 main (void)
   17571 {
   17572 
   17573   ;
   17574   return 0;
   17575 }
   17576 _ACEOF
   17577 if ac_fn_c_try_link "$LINENO"
   17578 then :
   17579   eval $cacheid=yes
   17580 else $as_nop
   17581   eval $cacheid=no
   17582 fi
   17583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17584     conftest$ac_exeext conftest.$ac_ext
   17585 fi
   17586 
   17587 
   17588 		CFLAGS="$xorg_testset_save_CFLAGS"
   17589 
   17590 		eval supported=\$$cacheid
   17591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17592 printf "%s\n" "$supported" >&6; }
   17593 		if test "$supported" = "yes" ; then
   17594 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17595 			found="yes"
   17596 		fi
   17597 	fi
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 xorg_testset_save_CFLAGS="$CFLAGS"
   17614 
   17615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17617 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17618 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17619 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17620 then :
   17621   printf %s "(cached) " >&6
   17622 else $as_nop
   17623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17624 /* end confdefs.h.  */
   17625 int i;
   17626 _ACEOF
   17627 if ac_fn_c_try_compile "$LINENO"
   17628 then :
   17629   xorg_cv_cc_flag_unknown_warning_option=yes
   17630 else $as_nop
   17631   xorg_cv_cc_flag_unknown_warning_option=no
   17632 fi
   17633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17634 fi
   17635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17636 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17638 	CFLAGS="$xorg_testset_save_CFLAGS"
   17639 fi
   17640 
   17641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17644 	fi
   17645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17647 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17648 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17649 then :
   17650   printf %s "(cached) " >&6
   17651 else $as_nop
   17652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17653 /* end confdefs.h.  */
   17654 int i;
   17655 _ACEOF
   17656 if ac_fn_c_try_compile "$LINENO"
   17657 then :
   17658   xorg_cv_cc_flag_unused_command_line_argument=yes
   17659 else $as_nop
   17660   xorg_cv_cc_flag_unused_command_line_argument=no
   17661 fi
   17662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17663 fi
   17664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17667 	CFLAGS="$xorg_testset_save_CFLAGS"
   17668 fi
   17669 
   17670 found="no"
   17671 
   17672 	if test $found = "no" ; then
   17673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17675 		fi
   17676 
   17677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17679 		fi
   17680 
   17681 		CFLAGS="$CFLAGS -Wreturn-type"
   17682 
   17683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17684 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17685 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17686 		if eval test \${$cacheid+y}
   17687 then :
   17688   printf %s "(cached) " >&6
   17689 else $as_nop
   17690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17691 /* end confdefs.h.  */
   17692 int i;
   17693 int
   17694 main (void)
   17695 {
   17696 
   17697   ;
   17698   return 0;
   17699 }
   17700 _ACEOF
   17701 if ac_fn_c_try_link "$LINENO"
   17702 then :
   17703   eval $cacheid=yes
   17704 else $as_nop
   17705   eval $cacheid=no
   17706 fi
   17707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17708     conftest$ac_exeext conftest.$ac_ext
   17709 fi
   17710 
   17711 
   17712 		CFLAGS="$xorg_testset_save_CFLAGS"
   17713 
   17714 		eval supported=\$$cacheid
   17715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17716 printf "%s\n" "$supported" >&6; }
   17717 		if test "$supported" = "yes" ; then
   17718 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17719 			found="yes"
   17720 		fi
   17721 	fi
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 xorg_testset_save_CFLAGS="$CFLAGS"
   17738 
   17739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17742 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17743 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17744 then :
   17745   printf %s "(cached) " >&6
   17746 else $as_nop
   17747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17748 /* end confdefs.h.  */
   17749 int i;
   17750 _ACEOF
   17751 if ac_fn_c_try_compile "$LINENO"
   17752 then :
   17753   xorg_cv_cc_flag_unknown_warning_option=yes
   17754 else $as_nop
   17755   xorg_cv_cc_flag_unknown_warning_option=no
   17756 fi
   17757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17758 fi
   17759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17760 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17762 	CFLAGS="$xorg_testset_save_CFLAGS"
   17763 fi
   17764 
   17765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17768 	fi
   17769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17771 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17772 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17773 then :
   17774   printf %s "(cached) " >&6
   17775 else $as_nop
   17776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17777 /* end confdefs.h.  */
   17778 int i;
   17779 _ACEOF
   17780 if ac_fn_c_try_compile "$LINENO"
   17781 then :
   17782   xorg_cv_cc_flag_unused_command_line_argument=yes
   17783 else $as_nop
   17784   xorg_cv_cc_flag_unused_command_line_argument=no
   17785 fi
   17786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17787 fi
   17788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17789 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17791 	CFLAGS="$xorg_testset_save_CFLAGS"
   17792 fi
   17793 
   17794 found="no"
   17795 
   17796 	if test $found = "no" ; then
   17797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17799 		fi
   17800 
   17801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17803 		fi
   17804 
   17805 		CFLAGS="$CFLAGS -Wtrigraphs"
   17806 
   17807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17808 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17809 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17810 		if eval test \${$cacheid+y}
   17811 then :
   17812   printf %s "(cached) " >&6
   17813 else $as_nop
   17814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17815 /* end confdefs.h.  */
   17816 int i;
   17817 int
   17818 main (void)
   17819 {
   17820 
   17821   ;
   17822   return 0;
   17823 }
   17824 _ACEOF
   17825 if ac_fn_c_try_link "$LINENO"
   17826 then :
   17827   eval $cacheid=yes
   17828 else $as_nop
   17829   eval $cacheid=no
   17830 fi
   17831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17832     conftest$ac_exeext conftest.$ac_ext
   17833 fi
   17834 
   17835 
   17836 		CFLAGS="$xorg_testset_save_CFLAGS"
   17837 
   17838 		eval supported=\$$cacheid
   17839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17840 printf "%s\n" "$supported" >&6; }
   17841 		if test "$supported" = "yes" ; then
   17842 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17843 			found="yes"
   17844 		fi
   17845 	fi
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 xorg_testset_save_CFLAGS="$CFLAGS"
   17862 
   17863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17866 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17867 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17868 then :
   17869   printf %s "(cached) " >&6
   17870 else $as_nop
   17871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17872 /* end confdefs.h.  */
   17873 int i;
   17874 _ACEOF
   17875 if ac_fn_c_try_compile "$LINENO"
   17876 then :
   17877   xorg_cv_cc_flag_unknown_warning_option=yes
   17878 else $as_nop
   17879   xorg_cv_cc_flag_unknown_warning_option=no
   17880 fi
   17881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17882 fi
   17883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17884 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17886 	CFLAGS="$xorg_testset_save_CFLAGS"
   17887 fi
   17888 
   17889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17892 	fi
   17893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17895 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17896 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17897 then :
   17898   printf %s "(cached) " >&6
   17899 else $as_nop
   17900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17901 /* end confdefs.h.  */
   17902 int i;
   17903 _ACEOF
   17904 if ac_fn_c_try_compile "$LINENO"
   17905 then :
   17906   xorg_cv_cc_flag_unused_command_line_argument=yes
   17907 else $as_nop
   17908   xorg_cv_cc_flag_unused_command_line_argument=no
   17909 fi
   17910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17911 fi
   17912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17913 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17915 	CFLAGS="$xorg_testset_save_CFLAGS"
   17916 fi
   17917 
   17918 found="no"
   17919 
   17920 	if test $found = "no" ; then
   17921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17923 		fi
   17924 
   17925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17927 		fi
   17928 
   17929 		CFLAGS="$CFLAGS -Warray-bounds"
   17930 
   17931 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17932 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   17933 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17934 		if eval test \${$cacheid+y}
   17935 then :
   17936   printf %s "(cached) " >&6
   17937 else $as_nop
   17938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17939 /* end confdefs.h.  */
   17940 int i;
   17941 int
   17942 main (void)
   17943 {
   17944 
   17945   ;
   17946   return 0;
   17947 }
   17948 _ACEOF
   17949 if ac_fn_c_try_link "$LINENO"
   17950 then :
   17951   eval $cacheid=yes
   17952 else $as_nop
   17953   eval $cacheid=no
   17954 fi
   17955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17956     conftest$ac_exeext conftest.$ac_ext
   17957 fi
   17958 
   17959 
   17960 		CFLAGS="$xorg_testset_save_CFLAGS"
   17961 
   17962 		eval supported=\$$cacheid
   17963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17964 printf "%s\n" "$supported" >&6; }
   17965 		if test "$supported" = "yes" ; then
   17966 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17967 			found="yes"
   17968 		fi
   17969 	fi
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 xorg_testset_save_CFLAGS="$CFLAGS"
   17986 
   17987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17990 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17991 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17992 then :
   17993   printf %s "(cached) " >&6
   17994 else $as_nop
   17995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17996 /* end confdefs.h.  */
   17997 int i;
   17998 _ACEOF
   17999 if ac_fn_c_try_compile "$LINENO"
   18000 then :
   18001   xorg_cv_cc_flag_unknown_warning_option=yes
   18002 else $as_nop
   18003   xorg_cv_cc_flag_unknown_warning_option=no
   18004 fi
   18005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18006 fi
   18007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18008 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18010 	CFLAGS="$xorg_testset_save_CFLAGS"
   18011 fi
   18012 
   18013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18016 	fi
   18017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18019 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18020 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18021 then :
   18022   printf %s "(cached) " >&6
   18023 else $as_nop
   18024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18025 /* end confdefs.h.  */
   18026 int i;
   18027 _ACEOF
   18028 if ac_fn_c_try_compile "$LINENO"
   18029 then :
   18030   xorg_cv_cc_flag_unused_command_line_argument=yes
   18031 else $as_nop
   18032   xorg_cv_cc_flag_unused_command_line_argument=no
   18033 fi
   18034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18035 fi
   18036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18037 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18039 	CFLAGS="$xorg_testset_save_CFLAGS"
   18040 fi
   18041 
   18042 found="no"
   18043 
   18044 	if test $found = "no" ; then
   18045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18047 		fi
   18048 
   18049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18051 		fi
   18052 
   18053 		CFLAGS="$CFLAGS -Wwrite-strings"
   18054 
   18055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18056 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18057 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18058 		if eval test \${$cacheid+y}
   18059 then :
   18060   printf %s "(cached) " >&6
   18061 else $as_nop
   18062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18063 /* end confdefs.h.  */
   18064 int i;
   18065 int
   18066 main (void)
   18067 {
   18068 
   18069   ;
   18070   return 0;
   18071 }
   18072 _ACEOF
   18073 if ac_fn_c_try_link "$LINENO"
   18074 then :
   18075   eval $cacheid=yes
   18076 else $as_nop
   18077   eval $cacheid=no
   18078 fi
   18079 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18080     conftest$ac_exeext conftest.$ac_ext
   18081 fi
   18082 
   18083 
   18084 		CFLAGS="$xorg_testset_save_CFLAGS"
   18085 
   18086 		eval supported=\$$cacheid
   18087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18088 printf "%s\n" "$supported" >&6; }
   18089 		if test "$supported" = "yes" ; then
   18090 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18091 			found="yes"
   18092 		fi
   18093 	fi
   18094 
   18095 
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 
   18105 
   18106 
   18107 
   18108 
   18109 xorg_testset_save_CFLAGS="$CFLAGS"
   18110 
   18111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18113 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18114 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18115 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18116 then :
   18117   printf %s "(cached) " >&6
   18118 else $as_nop
   18119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18120 /* end confdefs.h.  */
   18121 int i;
   18122 _ACEOF
   18123 if ac_fn_c_try_compile "$LINENO"
   18124 then :
   18125   xorg_cv_cc_flag_unknown_warning_option=yes
   18126 else $as_nop
   18127   xorg_cv_cc_flag_unknown_warning_option=no
   18128 fi
   18129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18130 fi
   18131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18132 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18134 	CFLAGS="$xorg_testset_save_CFLAGS"
   18135 fi
   18136 
   18137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18140 	fi
   18141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18142 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18143 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18144 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18145 then :
   18146   printf %s "(cached) " >&6
   18147 else $as_nop
   18148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18149 /* end confdefs.h.  */
   18150 int i;
   18151 _ACEOF
   18152 if ac_fn_c_try_compile "$LINENO"
   18153 then :
   18154   xorg_cv_cc_flag_unused_command_line_argument=yes
   18155 else $as_nop
   18156   xorg_cv_cc_flag_unused_command_line_argument=no
   18157 fi
   18158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18159 fi
   18160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18161 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18162 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18163 	CFLAGS="$xorg_testset_save_CFLAGS"
   18164 fi
   18165 
   18166 found="no"
   18167 
   18168 	if test $found = "no" ; then
   18169 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18170 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18171 		fi
   18172 
   18173 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18174 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18175 		fi
   18176 
   18177 		CFLAGS="$CFLAGS -Waddress"
   18178 
   18179 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18180 printf %s "checking if $CC supports -Waddress... " >&6; }
   18181 		cacheid=xorg_cv_cc_flag__Waddress
   18182 		if eval test \${$cacheid+y}
   18183 then :
   18184   printf %s "(cached) " >&6
   18185 else $as_nop
   18186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18187 /* end confdefs.h.  */
   18188 int i;
   18189 int
   18190 main (void)
   18191 {
   18192 
   18193   ;
   18194   return 0;
   18195 }
   18196 _ACEOF
   18197 if ac_fn_c_try_link "$LINENO"
   18198 then :
   18199   eval $cacheid=yes
   18200 else $as_nop
   18201   eval $cacheid=no
   18202 fi
   18203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18204     conftest$ac_exeext conftest.$ac_ext
   18205 fi
   18206 
   18207 
   18208 		CFLAGS="$xorg_testset_save_CFLAGS"
   18209 
   18210 		eval supported=\$$cacheid
   18211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18212 printf "%s\n" "$supported" >&6; }
   18213 		if test "$supported" = "yes" ; then
   18214 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18215 			found="yes"
   18216 		fi
   18217 	fi
   18218 
   18219 
   18220 
   18221 
   18222 
   18223 
   18224 
   18225 
   18226 
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 
   18233 xorg_testset_save_CFLAGS="$CFLAGS"
   18234 
   18235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18237 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18238 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18239 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18240 then :
   18241   printf %s "(cached) " >&6
   18242 else $as_nop
   18243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18244 /* end confdefs.h.  */
   18245 int i;
   18246 _ACEOF
   18247 if ac_fn_c_try_compile "$LINENO"
   18248 then :
   18249   xorg_cv_cc_flag_unknown_warning_option=yes
   18250 else $as_nop
   18251   xorg_cv_cc_flag_unknown_warning_option=no
   18252 fi
   18253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18254 fi
   18255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18256 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18258 	CFLAGS="$xorg_testset_save_CFLAGS"
   18259 fi
   18260 
   18261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18264 	fi
   18265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18266 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18267 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18268 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18269 then :
   18270   printf %s "(cached) " >&6
   18271 else $as_nop
   18272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18273 /* end confdefs.h.  */
   18274 int i;
   18275 _ACEOF
   18276 if ac_fn_c_try_compile "$LINENO"
   18277 then :
   18278   xorg_cv_cc_flag_unused_command_line_argument=yes
   18279 else $as_nop
   18280   xorg_cv_cc_flag_unused_command_line_argument=no
   18281 fi
   18282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18283 fi
   18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18285 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18287 	CFLAGS="$xorg_testset_save_CFLAGS"
   18288 fi
   18289 
   18290 found="no"
   18291 
   18292 	if test $found = "no" ; then
   18293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18295 		fi
   18296 
   18297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18299 		fi
   18300 
   18301 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18302 
   18303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18304 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18305 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18306 		if eval test \${$cacheid+y}
   18307 then :
   18308   printf %s "(cached) " >&6
   18309 else $as_nop
   18310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18311 /* end confdefs.h.  */
   18312 int i;
   18313 int
   18314 main (void)
   18315 {
   18316 
   18317   ;
   18318   return 0;
   18319 }
   18320 _ACEOF
   18321 if ac_fn_c_try_link "$LINENO"
   18322 then :
   18323   eval $cacheid=yes
   18324 else $as_nop
   18325   eval $cacheid=no
   18326 fi
   18327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18328     conftest$ac_exeext conftest.$ac_ext
   18329 fi
   18330 
   18331 
   18332 		CFLAGS="$xorg_testset_save_CFLAGS"
   18333 
   18334 		eval supported=\$$cacheid
   18335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18336 printf "%s\n" "$supported" >&6; }
   18337 		if test "$supported" = "yes" ; then
   18338 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18339 			found="yes"
   18340 		fi
   18341 	fi
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 xorg_testset_save_CFLAGS="$CFLAGS"
   18358 
   18359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18361 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18362 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18363 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18364 then :
   18365   printf %s "(cached) " >&6
   18366 else $as_nop
   18367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18368 /* end confdefs.h.  */
   18369 int i;
   18370 _ACEOF
   18371 if ac_fn_c_try_compile "$LINENO"
   18372 then :
   18373   xorg_cv_cc_flag_unknown_warning_option=yes
   18374 else $as_nop
   18375   xorg_cv_cc_flag_unknown_warning_option=no
   18376 fi
   18377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18378 fi
   18379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18380 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18382 	CFLAGS="$xorg_testset_save_CFLAGS"
   18383 fi
   18384 
   18385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18388 	fi
   18389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18390 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18391 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18392 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18393 then :
   18394   printf %s "(cached) " >&6
   18395 else $as_nop
   18396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18397 /* end confdefs.h.  */
   18398 int i;
   18399 _ACEOF
   18400 if ac_fn_c_try_compile "$LINENO"
   18401 then :
   18402   xorg_cv_cc_flag_unused_command_line_argument=yes
   18403 else $as_nop
   18404   xorg_cv_cc_flag_unused_command_line_argument=no
   18405 fi
   18406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18407 fi
   18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18409 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18410 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18411 	CFLAGS="$xorg_testset_save_CFLAGS"
   18412 fi
   18413 
   18414 found="no"
   18415 
   18416 	if test $found = "no" ; then
   18417 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18418 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18419 		fi
   18420 
   18421 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18422 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18423 		fi
   18424 
   18425 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18426 
   18427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18428 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18429 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18430 		if eval test \${$cacheid+y}
   18431 then :
   18432   printf %s "(cached) " >&6
   18433 else $as_nop
   18434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18435 /* end confdefs.h.  */
   18436 int i;
   18437 int
   18438 main (void)
   18439 {
   18440 
   18441   ;
   18442   return 0;
   18443 }
   18444 _ACEOF
   18445 if ac_fn_c_try_link "$LINENO"
   18446 then :
   18447   eval $cacheid=yes
   18448 else $as_nop
   18449   eval $cacheid=no
   18450 fi
   18451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18452     conftest$ac_exeext conftest.$ac_ext
   18453 fi
   18454 
   18455 
   18456 		CFLAGS="$xorg_testset_save_CFLAGS"
   18457 
   18458 		eval supported=\$$cacheid
   18459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18460 printf "%s\n" "$supported" >&6; }
   18461 		if test "$supported" = "yes" ; then
   18462 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18463 			found="yes"
   18464 		fi
   18465 	fi
   18466 
   18467 
   18468 fi
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 		CWARNFLAGS="$BASE_CFLAGS"
   18477 		if  test "x$GCC" = xyes ; then
   18478 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18479 		fi
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 # Check whether --enable-strict-compilation was given.
   18489 if test ${enable_strict_compilation+y}
   18490 then :
   18491   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18492 else $as_nop
   18493   STRICT_COMPILE=no
   18494 fi
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 STRICT_CFLAGS=""
   18502 
   18503 
   18504 
   18505 
   18506 
   18507 
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 xorg_testset_save_CFLAGS="$CFLAGS"
   18516 
   18517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18519 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18520 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18521 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18522 then :
   18523   printf %s "(cached) " >&6
   18524 else $as_nop
   18525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18526 /* end confdefs.h.  */
   18527 int i;
   18528 _ACEOF
   18529 if ac_fn_c_try_compile "$LINENO"
   18530 then :
   18531   xorg_cv_cc_flag_unknown_warning_option=yes
   18532 else $as_nop
   18533   xorg_cv_cc_flag_unknown_warning_option=no
   18534 fi
   18535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18536 fi
   18537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18540 	CFLAGS="$xorg_testset_save_CFLAGS"
   18541 fi
   18542 
   18543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18546 	fi
   18547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18551 then :
   18552   printf %s "(cached) " >&6
   18553 else $as_nop
   18554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18555 /* end confdefs.h.  */
   18556 int i;
   18557 _ACEOF
   18558 if ac_fn_c_try_compile "$LINENO"
   18559 then :
   18560   xorg_cv_cc_flag_unused_command_line_argument=yes
   18561 else $as_nop
   18562   xorg_cv_cc_flag_unused_command_line_argument=no
   18563 fi
   18564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18565 fi
   18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18567 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18568 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18569 	CFLAGS="$xorg_testset_save_CFLAGS"
   18570 fi
   18571 
   18572 found="no"
   18573 
   18574 	if test $found = "no" ; then
   18575 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18576 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18577 		fi
   18578 
   18579 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18580 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18581 		fi
   18582 
   18583 		CFLAGS="$CFLAGS -pedantic"
   18584 
   18585 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18586 printf %s "checking if $CC supports -pedantic... " >&6; }
   18587 		cacheid=xorg_cv_cc_flag__pedantic
   18588 		if eval test \${$cacheid+y}
   18589 then :
   18590   printf %s "(cached) " >&6
   18591 else $as_nop
   18592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18593 /* end confdefs.h.  */
   18594 int i;
   18595 int
   18596 main (void)
   18597 {
   18598 
   18599   ;
   18600   return 0;
   18601 }
   18602 _ACEOF
   18603 if ac_fn_c_try_link "$LINENO"
   18604 then :
   18605   eval $cacheid=yes
   18606 else $as_nop
   18607   eval $cacheid=no
   18608 fi
   18609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18610     conftest$ac_exeext conftest.$ac_ext
   18611 fi
   18612 
   18613 
   18614 		CFLAGS="$xorg_testset_save_CFLAGS"
   18615 
   18616 		eval supported=\$$cacheid
   18617 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18618 printf "%s\n" "$supported" >&6; }
   18619 		if test "$supported" = "yes" ; then
   18620 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18621 			found="yes"
   18622 		fi
   18623 	fi
   18624 
   18625 
   18626 
   18627 
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 xorg_testset_save_CFLAGS="$CFLAGS"
   18640 
   18641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18644 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18645 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18646 then :
   18647   printf %s "(cached) " >&6
   18648 else $as_nop
   18649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18650 /* end confdefs.h.  */
   18651 int i;
   18652 _ACEOF
   18653 if ac_fn_c_try_compile "$LINENO"
   18654 then :
   18655   xorg_cv_cc_flag_unknown_warning_option=yes
   18656 else $as_nop
   18657   xorg_cv_cc_flag_unknown_warning_option=no
   18658 fi
   18659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18660 fi
   18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18662 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18663 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18664 	CFLAGS="$xorg_testset_save_CFLAGS"
   18665 fi
   18666 
   18667 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18668 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18669 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18670 	fi
   18671 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18672 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18673 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18674 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18675 then :
   18676   printf %s "(cached) " >&6
   18677 else $as_nop
   18678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18679 /* end confdefs.h.  */
   18680 int i;
   18681 _ACEOF
   18682 if ac_fn_c_try_compile "$LINENO"
   18683 then :
   18684   xorg_cv_cc_flag_unused_command_line_argument=yes
   18685 else $as_nop
   18686   xorg_cv_cc_flag_unused_command_line_argument=no
   18687 fi
   18688 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18689 fi
   18690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18691 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18693 	CFLAGS="$xorg_testset_save_CFLAGS"
   18694 fi
   18695 
   18696 found="no"
   18697 
   18698 	if test $found = "no" ; then
   18699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18701 		fi
   18702 
   18703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18705 		fi
   18706 
   18707 		CFLAGS="$CFLAGS -Werror"
   18708 
   18709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18710 printf %s "checking if $CC supports -Werror... " >&6; }
   18711 		cacheid=xorg_cv_cc_flag__Werror
   18712 		if eval test \${$cacheid+y}
   18713 then :
   18714   printf %s "(cached) " >&6
   18715 else $as_nop
   18716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18717 /* end confdefs.h.  */
   18718 int i;
   18719 int
   18720 main (void)
   18721 {
   18722 
   18723   ;
   18724   return 0;
   18725 }
   18726 _ACEOF
   18727 if ac_fn_c_try_link "$LINENO"
   18728 then :
   18729   eval $cacheid=yes
   18730 else $as_nop
   18731   eval $cacheid=no
   18732 fi
   18733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18734     conftest$ac_exeext conftest.$ac_ext
   18735 fi
   18736 
   18737 
   18738 		CFLAGS="$xorg_testset_save_CFLAGS"
   18739 
   18740 		eval supported=\$$cacheid
   18741 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18742 printf "%s\n" "$supported" >&6; }
   18743 		if test "$supported" = "yes" ; then
   18744 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18745 			found="yes"
   18746 		fi
   18747 	fi
   18748 
   18749 	if test $found = "no" ; then
   18750 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18751 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18752 		fi
   18753 
   18754 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18755 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18756 		fi
   18757 
   18758 		CFLAGS="$CFLAGS -errwarn"
   18759 
   18760 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18761 printf %s "checking if $CC supports -errwarn... " >&6; }
   18762 		cacheid=xorg_cv_cc_flag__errwarn
   18763 		if eval test \${$cacheid+y}
   18764 then :
   18765   printf %s "(cached) " >&6
   18766 else $as_nop
   18767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18768 /* end confdefs.h.  */
   18769 int i;
   18770 int
   18771 main (void)
   18772 {
   18773 
   18774   ;
   18775   return 0;
   18776 }
   18777 _ACEOF
   18778 if ac_fn_c_try_link "$LINENO"
   18779 then :
   18780   eval $cacheid=yes
   18781 else $as_nop
   18782   eval $cacheid=no
   18783 fi
   18784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18785     conftest$ac_exeext conftest.$ac_ext
   18786 fi
   18787 
   18788 
   18789 		CFLAGS="$xorg_testset_save_CFLAGS"
   18790 
   18791 		eval supported=\$$cacheid
   18792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18793 printf "%s\n" "$supported" >&6; }
   18794 		if test "$supported" = "yes" ; then
   18795 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18796 			found="yes"
   18797 		fi
   18798 	fi
   18799 
   18800 
   18801 
   18802 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18803 # activate it with -Werror, so we add it here explicitly.
   18804 
   18805 
   18806 
   18807 
   18808 
   18809 
   18810 
   18811 
   18812 
   18813 
   18814 
   18815 
   18816 
   18817 xorg_testset_save_CFLAGS="$CFLAGS"
   18818 
   18819 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18820 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18821 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18822 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18823 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18824 then :
   18825   printf %s "(cached) " >&6
   18826 else $as_nop
   18827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18828 /* end confdefs.h.  */
   18829 int i;
   18830 _ACEOF
   18831 if ac_fn_c_try_compile "$LINENO"
   18832 then :
   18833   xorg_cv_cc_flag_unknown_warning_option=yes
   18834 else $as_nop
   18835   xorg_cv_cc_flag_unknown_warning_option=no
   18836 fi
   18837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18838 fi
   18839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18840 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18842 	CFLAGS="$xorg_testset_save_CFLAGS"
   18843 fi
   18844 
   18845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18848 	fi
   18849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18851 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18852 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18853 then :
   18854   printf %s "(cached) " >&6
   18855 else $as_nop
   18856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18857 /* end confdefs.h.  */
   18858 int i;
   18859 _ACEOF
   18860 if ac_fn_c_try_compile "$LINENO"
   18861 then :
   18862   xorg_cv_cc_flag_unused_command_line_argument=yes
   18863 else $as_nop
   18864   xorg_cv_cc_flag_unused_command_line_argument=no
   18865 fi
   18866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18867 fi
   18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18869 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18871 	CFLAGS="$xorg_testset_save_CFLAGS"
   18872 fi
   18873 
   18874 found="no"
   18875 
   18876 	if test $found = "no" ; then
   18877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18879 		fi
   18880 
   18881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18883 		fi
   18884 
   18885 		CFLAGS="$CFLAGS -Werror=attributes"
   18886 
   18887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18888 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   18889 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18890 		if eval test \${$cacheid+y}
   18891 then :
   18892   printf %s "(cached) " >&6
   18893 else $as_nop
   18894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18895 /* end confdefs.h.  */
   18896 int i;
   18897 int
   18898 main (void)
   18899 {
   18900 
   18901   ;
   18902   return 0;
   18903 }
   18904 _ACEOF
   18905 if ac_fn_c_try_link "$LINENO"
   18906 then :
   18907   eval $cacheid=yes
   18908 else $as_nop
   18909   eval $cacheid=no
   18910 fi
   18911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18912     conftest$ac_exeext conftest.$ac_ext
   18913 fi
   18914 
   18915 
   18916 		CFLAGS="$xorg_testset_save_CFLAGS"
   18917 
   18918 		eval supported=\$$cacheid
   18919 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18920 printf "%s\n" "$supported" >&6; }
   18921 		if test "$supported" = "yes" ; then
   18922 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18923 			found="yes"
   18924 		fi
   18925 	fi
   18926 
   18927 
   18928 
   18929 if test "x$STRICT_COMPILE" = "xyes"; then
   18930     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18931     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18932 fi
   18933 
   18934 
   18935 
   18936 
   18937 
   18938 
   18939 cat >>confdefs.h <<_ACEOF
   18940 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18941 _ACEOF
   18942 
   18943 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18944 	if test "x$PVM" = "x"; then
   18945 		PVM="0"
   18946 	fi
   18947 
   18948 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   18949 
   18950 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18951 	if test "x$PVP" = "x"; then
   18952 		PVP="0"
   18953 	fi
   18954 
   18955 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   18956 
   18957 
   18958 
   18959 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   18960 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18961 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   18962 touch \$(top_srcdir)/ChangeLog; \
   18963 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   18964 
   18965 
   18966 
   18967 
   18968 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18969 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18970 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18971 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   18972 touch \$(top_srcdir)/INSTALL; \
   18973 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   18974 
   18975 
   18976 
   18977 
   18978 
   18979 
   18980 case $host_os in
   18981     solaris*)
   18982         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   18983         # check for a man page file found in later versions that use
   18984         # traditional section numbers instead
   18985         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   18986 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   18987 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   18988 then :
   18989   printf %s "(cached) " >&6
   18990 else $as_nop
   18991   test "$cross_compiling" = yes &&
   18992   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18993 if test -r "/usr/share/man/man7/attributes.7"; then
   18994   ac_cv_file__usr_share_man_man7_attributes_7=yes
   18995 else
   18996   ac_cv_file__usr_share_man_man7_attributes_7=no
   18997 fi
   18998 fi
   18999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19000 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19001 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19002 then :
   19003   SYSV_MAN_SECTIONS=false
   19004 else $as_nop
   19005   SYSV_MAN_SECTIONS=true
   19006 fi
   19007 
   19008         ;;
   19009     *) SYSV_MAN_SECTIONS=false ;;
   19010 esac
   19011 
   19012 if test x$APP_MAN_SUFFIX = x    ; then
   19013     APP_MAN_SUFFIX=1
   19014 fi
   19015 if test x$APP_MAN_DIR = x    ; then
   19016     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19017 fi
   19018 
   19019 if test x$LIB_MAN_SUFFIX = x    ; then
   19020     LIB_MAN_SUFFIX=3
   19021 fi
   19022 if test x$LIB_MAN_DIR = x    ; then
   19023     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19024 fi
   19025 
   19026 if test x$FILE_MAN_SUFFIX = x    ; then
   19027     case $SYSV_MAN_SECTIONS in
   19028 	true)				FILE_MAN_SUFFIX=4  ;;
   19029 	*)				FILE_MAN_SUFFIX=5  ;;
   19030     esac
   19031 fi
   19032 if test x$FILE_MAN_DIR = x    ; then
   19033     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19034 fi
   19035 
   19036 if test x$MISC_MAN_SUFFIX = x    ; then
   19037     case $SYSV_MAN_SECTIONS in
   19038 	true)				MISC_MAN_SUFFIX=5  ;;
   19039 	*)				MISC_MAN_SUFFIX=7  ;;
   19040     esac
   19041 fi
   19042 if test x$MISC_MAN_DIR = x    ; then
   19043     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19044 fi
   19045 
   19046 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19047     case $SYSV_MAN_SECTIONS in
   19048 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19049 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19050     esac
   19051 fi
   19052 if test x$DRIVER_MAN_DIR = x    ; then
   19053     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19054 fi
   19055 
   19056 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19057     case $SYSV_MAN_SECTIONS in
   19058 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19059 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19060     esac
   19061 fi
   19062 if test x$ADMIN_MAN_DIR = x    ; then
   19063     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19064 fi
   19065 
   19066 
   19067 
   19068 
   19069 
   19070 
   19071 
   19072 
   19073 
   19074 
   19075 
   19076 
   19077 
   19078 
   19079 
   19080 XORG_MAN_PAGE="X Version 11"
   19081 
   19082 MAN_SUBSTS="\
   19083 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19084 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19085 	-e 's|__xservername__|Xorg|g' \
   19086 	-e 's|__xconfigfile__|xorg.conf|g' \
   19087 	-e 's|__projectroot__|\$(prefix)|g' \
   19088 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19089 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19090 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19091 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19092 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19093 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19094 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19095 
   19096 
   19097 
   19098 # Check whether --enable-silent-rules was given.
   19099 if test ${enable_silent_rules+y}
   19100 then :
   19101   enableval=$enable_silent_rules;
   19102 fi
   19103 
   19104 case $enable_silent_rules in # (((
   19105   yes) AM_DEFAULT_VERBOSITY=0;;
   19106    no) AM_DEFAULT_VERBOSITY=1;;
   19107     *) AM_DEFAULT_VERBOSITY=0;;
   19108 esac
   19109 am_make=${MAKE-make}
   19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19111 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19112 if test ${am_cv_make_support_nested_variables+y}
   19113 then :
   19114   printf %s "(cached) " >&6
   19115 else $as_nop
   19116   if printf "%s\n" 'TRUE=$(BAR$(V))
   19117 BAR0=false
   19118 BAR1=true
   19119 V=1
   19120 am__doit:
   19121 	@$(TRUE)
   19122 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19123   am_cv_make_support_nested_variables=yes
   19124 else
   19125   am_cv_make_support_nested_variables=no
   19126 fi
   19127 fi
   19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19129 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19130 if test $am_cv_make_support_nested_variables = yes; then
   19131     AM_V='$(V)'
   19132   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19133 else
   19134   AM_V=$AM_DEFAULT_VERBOSITY
   19135   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19136 fi
   19137 AM_BACKSLASH='\'
   19138 
   19139 
   19140 
   19141 # Check whether --enable-malloc0returnsnull was given.
   19142 if test ${enable_malloc0returnsnull+y}
   19143 then :
   19144   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   19145 else $as_nop
   19146   MALLOC_ZERO_RETURNS_NULL=auto
   19147 fi
   19148 
   19149 
   19150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   19151 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   19152 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   19153 if test ${xorg_cv_malloc0_returns_null+y}
   19154 then :
   19155   printf %s "(cached) " >&6
   19156 else $as_nop
   19157   if test "$cross_compiling" = yes
   19158 then :
   19159   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19160 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19161 as_fn_error $? "cannot run test program while cross compiling
   19162 See \`config.log' for more details" "$LINENO" 5; }
   19163 else $as_nop
   19164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19165 /* end confdefs.h.  */
   19166 
   19167 #include <stdlib.h>
   19168 
   19169 int
   19170 main (void)
   19171 {
   19172 
   19173     char *m0, *r0, *c0, *p;
   19174     m0 = malloc(0);
   19175     p = malloc(10);
   19176     r0 = realloc(p,0);
   19177     c0 = calloc(0,10);
   19178     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   19179 
   19180   ;
   19181   return 0;
   19182 }
   19183 _ACEOF
   19184 if ac_fn_c_try_run "$LINENO"
   19185 then :
   19186   xorg_cv_malloc0_returns_null=yes
   19187 else $as_nop
   19188   xorg_cv_malloc0_returns_null=no
   19189 fi
   19190 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   19191   conftest.$ac_objext conftest.beam conftest.$ac_ext
   19192 fi
   19193 
   19194 fi
   19195 
   19196 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   19197 fi
   19198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   19199 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   19200 
   19201 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   19202 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   19203 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   19204 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   19205 else
   19206 	MALLOC_ZERO_CFLAGS=""
   19207 	XMALLOC_ZERO_CFLAGS=""
   19208 	XTMALLOC_ZERO_CFLAGS=""
   19209 fi
   19210 
   19211 
   19212 
   19213 
   19214 
   19215 
   19216 # Obtain compiler/linker options for dependencies
   19217 
   19218 pkg_failed=no
   19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XVMC" >&5
   19220 printf %s "checking for XVMC... " >&6; }
   19221 
   19222 if test -n "$XVMC_CFLAGS"; then
   19223     pkg_cv_XVMC_CFLAGS="$XVMC_CFLAGS"
   19224  elif test -n "$PKG_CONFIG"; then
   19225     if test -n "$PKG_CONFIG" && \
   19226     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5
   19227   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xv xextproto videoproto") 2>&5
   19228   ac_status=$?
   19229   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19230   test $ac_status = 0; }; then
   19231   pkg_cv_XVMC_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 xext xv xextproto videoproto" 2>/dev/null`
   19232 		      test "x$?" != "x0" && pkg_failed=yes
   19233 else
   19234   pkg_failed=yes
   19235 fi
   19236  else
   19237     pkg_failed=untried
   19238 fi
   19239 if test -n "$XVMC_LIBS"; then
   19240     pkg_cv_XVMC_LIBS="$XVMC_LIBS"
   19241  elif test -n "$PKG_CONFIG"; then
   19242     if test -n "$PKG_CONFIG" && \
   19243     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 xext xv xextproto videoproto\""; } >&5
   19244   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 xext xv xextproto videoproto") 2>&5
   19245   ac_status=$?
   19246   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19247   test $ac_status = 0; }; then
   19248   pkg_cv_XVMC_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 xext xv xextproto videoproto" 2>/dev/null`
   19249 		      test "x$?" != "x0" && pkg_failed=yes
   19250 else
   19251   pkg_failed=yes
   19252 fi
   19253  else
   19254     pkg_failed=untried
   19255 fi
   19256 
   19257 
   19258 
   19259 if test $pkg_failed = yes; then
   19260    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19261 printf "%s\n" "no" >&6; }
   19262 
   19263 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19264         _pkg_short_errors_supported=yes
   19265 else
   19266         _pkg_short_errors_supported=no
   19267 fi
   19268         if test $_pkg_short_errors_supported = yes; then
   19269 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 xext xv xextproto videoproto" 2>&1`
   19270         else
   19271 	        XVMC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 xext xv xextproto videoproto" 2>&1`
   19272         fi
   19273 	# Put the nasty error message in config.log where it belongs
   19274 	echo "$XVMC_PKG_ERRORS" >&5
   19275 
   19276 	as_fn_error $? "Package requirements (x11 >= 1.6 xext xv xextproto videoproto) were not met:
   19277 
   19278 $XVMC_PKG_ERRORS
   19279 
   19280 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19281 installed software in a non-standard prefix.
   19282 
   19283 Alternatively, you may set the environment variables XVMC_CFLAGS
   19284 and XVMC_LIBS to avoid the need to call pkg-config.
   19285 See the pkg-config man page for more details." "$LINENO" 5
   19286 elif test $pkg_failed = untried; then
   19287      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19288 printf "%s\n" "no" >&6; }
   19289 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19290 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19291 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19292 is in your PATH or set the PKG_CONFIG environment variable to the full
   19293 path to pkg-config.
   19294 
   19295 Alternatively, you may set the environment variables XVMC_CFLAGS
   19296 and XVMC_LIBS to avoid the need to call pkg-config.
   19297 See the pkg-config man page for more details.
   19298 
   19299 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19300 See \`config.log' for more details" "$LINENO" 5; }
   19301 else
   19302 	XVMC_CFLAGS=$pkg_cv_XVMC_CFLAGS
   19303 	XVMC_LIBS=$pkg_cv_XVMC_LIBS
   19304         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19305 printf "%s\n" "yes" >&6; }
   19306 
   19307 fi
   19308 
   19309 # Checks for library functions.
   19310 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   19311 if test "x$ac_cv_func_shmat" = xyes
   19312 then :
   19313   printf "%s\n" "#define HAVE_SHMAT 1" >>confdefs.h
   19314 
   19315 fi
   19316 
   19317 
   19318 # Check to see if dlopen is in default libraries (like Solaris, which
   19319 # has it in libc), or if libdl is needed to get it.
   19320 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   19321 if test "x$ac_cv_func_dlopen" = xyes
   19322 then :
   19323 
   19324 else $as_nop
   19325   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   19326 printf %s "checking for dlopen in -ldl... " >&6; }
   19327 if test ${ac_cv_lib_dl_dlopen+y}
   19328 then :
   19329   printf %s "(cached) " >&6
   19330 else $as_nop
   19331   ac_check_lib_save_LIBS=$LIBS
   19332 LIBS="-ldl  $LIBS"
   19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19334 /* end confdefs.h.  */
   19335 
   19336 /* Override any GCC internal prototype to avoid an error.
   19337    Use char because int might match the return type of a GCC
   19338    builtin and then its argument prototype would still apply.  */
   19339 char dlopen ();
   19340 int
   19341 main (void)
   19342 {
   19343 return dlopen ();
   19344   ;
   19345   return 0;
   19346 }
   19347 _ACEOF
   19348 if ac_fn_c_try_link "$LINENO"
   19349 then :
   19350   ac_cv_lib_dl_dlopen=yes
   19351 else $as_nop
   19352   ac_cv_lib_dl_dlopen=no
   19353 fi
   19354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19355     conftest$ac_exeext conftest.$ac_ext
   19356 LIBS=$ac_check_lib_save_LIBS
   19357 fi
   19358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   19359 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   19360 if test "x$ac_cv_lib_dl_dlopen" = xyes
   19361 then :
   19362   DLOPEN_LIBS="-ldl"
   19363 fi
   19364 
   19365 fi
   19366 
   19367 
   19368 
   19369 # Allow checking code with lint, sparse, etc.
   19370 
   19371 
   19372 
   19373 
   19374 
   19375 # Check whether --with-lint was given.
   19376 if test ${with_lint+y}
   19377 then :
   19378   withval=$with_lint; use_lint=$withval
   19379 else $as_nop
   19380   use_lint=no
   19381 fi
   19382 
   19383 
   19384 # Obtain platform specific info like program name and options
   19385 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19386 case $host_os in
   19387   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19388 	lint_name=splint
   19389 	lint_options="-badflag"
   19390 	;;
   19391   *freebsd* | *netbsd*)
   19392 	lint_name=lint
   19393 	lint_options="-u -b"
   19394 	;;
   19395   *solaris*)
   19396 	lint_name=lint
   19397 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19398 	;;
   19399 esac
   19400 
   19401 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19402 if test "x$use_lint" = x"yes" ; then
   19403    # Extract the first word of "$lint_name", so it can be a program name with args.
   19404 set dummy $lint_name; ac_word=$2
   19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19406 printf %s "checking for $ac_word... " >&6; }
   19407 if test ${ac_cv_path_LINT+y}
   19408 then :
   19409   printf %s "(cached) " >&6
   19410 else $as_nop
   19411   case $LINT in
   19412   [\\/]* | ?:[\\/]*)
   19413   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19414   ;;
   19415   *)
   19416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19417 for as_dir in $PATH
   19418 do
   19419   IFS=$as_save_IFS
   19420   case $as_dir in #(((
   19421     '') as_dir=./ ;;
   19422     */) ;;
   19423     *) as_dir=$as_dir/ ;;
   19424   esac
   19425     for ac_exec_ext in '' $ac_executable_extensions; do
   19426   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19427     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   19428     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19429     break 2
   19430   fi
   19431 done
   19432   done
   19433 IFS=$as_save_IFS
   19434 
   19435   ;;
   19436 esac
   19437 fi
   19438 LINT=$ac_cv_path_LINT
   19439 if test -n "$LINT"; then
   19440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19441 printf "%s\n" "$LINT" >&6; }
   19442 else
   19443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19444 printf "%s\n" "no" >&6; }
   19445 fi
   19446 
   19447 
   19448    if test "x$LINT" = "x"; then
   19449         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19450    fi
   19451 elif test "x$use_lint" = x"no" ; then
   19452    if test "x$LINT" != "x"; then
   19453       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19454 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19455    fi
   19456 else
   19457    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   19458 fi
   19459 
   19460 # User supplied flags override default flags
   19461 if test "x$LINT_FLAGS" != "x"; then
   19462    lint_options=$LINT_FLAGS
   19463 fi
   19464 
   19465 LINT_FLAGS=$lint_options
   19466 
   19467  if test "x$LINT" != x; then
   19468   LINT_TRUE=
   19469   LINT_FALSE='#'
   19470 else
   19471   LINT_TRUE='#'
   19472   LINT_FALSE=
   19473 fi
   19474 
   19475 
   19476 
   19477 LINT_FLAGS="${LINT_FLAGS} ${XVMC_CFLAGS}"
   19478 
   19479 ac_config_files="$ac_config_files Makefile include/Makefile include/X11/Makefile include/X11/extensions/Makefile src/Makefile wrapper/Makefile xvmc.pc xvmc-wrapper.pc"
   19480 
   19481 cat >confcache <<\_ACEOF
   19482 # This file is a shell script that caches the results of configure
   19483 # tests run on this system so they can be shared between configure
   19484 # scripts and configure runs, see configure's option --config-cache.
   19485 # It is not useful on other systems.  If it contains results you don't
   19486 # want to keep, you may remove or edit it.
   19487 #
   19488 # config.status only pays attention to the cache file if you give it
   19489 # the --recheck option to rerun configure.
   19490 #
   19491 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19492 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19493 # following values.
   19494 
   19495 _ACEOF
   19496 
   19497 # The following way of writing the cache mishandles newlines in values,
   19498 # but we know of no workaround that is simple, portable, and efficient.
   19499 # So, we kill variables containing newlines.
   19500 # Ultrix sh set writes to stderr and can't be redirected directly,
   19501 # and sets the high bit in the cache file unless we assign to the vars.
   19502 (
   19503   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19504     eval ac_val=\$$ac_var
   19505     case $ac_val in #(
   19506     *${as_nl}*)
   19507       case $ac_var in #(
   19508       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19509 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19510       esac
   19511       case $ac_var in #(
   19512       _ | IFS | as_nl) ;; #(
   19513       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19514       *) { eval $ac_var=; unset $ac_var;} ;;
   19515       esac ;;
   19516     esac
   19517   done
   19518 
   19519   (set) 2>&1 |
   19520     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19521     *${as_nl}ac_space=\ *)
   19522       # `set' does not quote correctly, so add quotes: double-quote
   19523       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19524       sed -n \
   19525 	"s/'/'\\\\''/g;
   19526 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19527       ;; #(
   19528     *)
   19529       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19530       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19531       ;;
   19532     esac |
   19533     sort
   19534 ) |
   19535   sed '
   19536      /^ac_cv_env_/b end
   19537      t clear
   19538      :clear
   19539      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19540      t end
   19541      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19542      :end' >>confcache
   19543 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19544   if test -w "$cache_file"; then
   19545     if test "x$cache_file" != "x/dev/null"; then
   19546       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19547 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19548       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19549 	cat confcache >"$cache_file"
   19550       else
   19551         case $cache_file in #(
   19552         */* | ?:*)
   19553 	  mv -f confcache "$cache_file"$$ &&
   19554 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19555         *)
   19556 	  mv -f confcache "$cache_file" ;;
   19557 	esac
   19558       fi
   19559     fi
   19560   else
   19561     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19562 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19563   fi
   19564 fi
   19565 rm -f confcache
   19566 
   19567 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19568 # Let make expand exec_prefix.
   19569 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19570 
   19571 DEFS=-DHAVE_CONFIG_H
   19572 
   19573 ac_libobjs=
   19574 ac_ltlibobjs=
   19575 U=
   19576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19577   # 1. Remove the extension, and $U if already installed.
   19578   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19579   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19580   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19581   #    will be set to the directory where LIBOBJS objects are built.
   19582   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19583   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19584 done
   19585 LIBOBJS=$ac_libobjs
   19586 
   19587 LTLIBOBJS=$ac_ltlibobjs
   19588 
   19589 
   19590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19591 printf %s "checking that generated files are newer than configure... " >&6; }
   19592    if test -n "$am_sleep_pid"; then
   19593      # Hide warnings about reused PIDs.
   19594      wait $am_sleep_pid 2>/dev/null
   19595    fi
   19596    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19597 printf "%s\n" "done" >&6; }
   19598  if test -n "$EXEEXT"; then
   19599   am__EXEEXT_TRUE=
   19600   am__EXEEXT_FALSE='#'
   19601 else
   19602   am__EXEEXT_TRUE='#'
   19603   am__EXEEXT_FALSE=
   19604 fi
   19605 
   19606 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19607   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19609 fi
   19610 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19611   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19613 fi
   19614 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   19615   as_fn_error $? "conditional \"LINT\" was never defined.
   19616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19617 fi
   19618 
   19619 : "${CONFIG_STATUS=./config.status}"
   19620 ac_write_fail=0
   19621 ac_clean_files_save=$ac_clean_files
   19622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19624 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19625 as_write_fail=0
   19626 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19627 #! $SHELL
   19628 # Generated by $as_me.
   19629 # Run this file to recreate the current configuration.
   19630 # Compiler output produced by configure, useful for debugging
   19631 # configure, is in config.log if it exists.
   19632 
   19633 debug=false
   19634 ac_cs_recheck=false
   19635 ac_cs_silent=false
   19636 
   19637 SHELL=\${CONFIG_SHELL-$SHELL}
   19638 export SHELL
   19639 _ASEOF
   19640 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19641 ## -------------------- ##
   19642 ## M4sh Initialization. ##
   19643 ## -------------------- ##
   19644 
   19645 # Be more Bourne compatible
   19646 DUALCASE=1; export DUALCASE # for MKS sh
   19647 as_nop=:
   19648 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19649 then :
   19650   emulate sh
   19651   NULLCMD=:
   19652   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19653   # is contrary to our usage.  Disable this feature.
   19654   alias -g '${1+"$@"}'='"$@"'
   19655   setopt NO_GLOB_SUBST
   19656 else $as_nop
   19657   case `(set -o) 2>/dev/null` in #(
   19658   *posix*) :
   19659     set -o posix ;; #(
   19660   *) :
   19661      ;;
   19662 esac
   19663 fi
   19664 
   19665 
   19666 
   19667 # Reset variables that may have inherited troublesome values from
   19668 # the environment.
   19669 
   19670 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19671 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19672 # side effect of setting IFS to empty, thus disabling word splitting.)
   19673 # Quoting is to prevent editors from complaining about space-tab.
   19674 as_nl='
   19675 '
   19676 export as_nl
   19677 IFS=" ""	$as_nl"
   19678 
   19679 PS1='$ '
   19680 PS2='> '
   19681 PS4='+ '
   19682 
   19683 # Ensure predictable behavior from utilities with locale-dependent output.
   19684 LC_ALL=C
   19685 export LC_ALL
   19686 LANGUAGE=C
   19687 export LANGUAGE
   19688 
   19689 # We cannot yet rely on "unset" to work, but we need these variables
   19690 # to be unset--not just set to an empty or harmless value--now, to
   19691 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19692 # also avoids known problems related to "unset" and subshell syntax
   19693 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19694 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19695 do eval test \${$as_var+y} \
   19696   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19697 done
   19698 
   19699 # Ensure that fds 0, 1, and 2 are open.
   19700 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19701 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19702 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19703 
   19704 # The user is always right.
   19705 if ${PATH_SEPARATOR+false} :; then
   19706   PATH_SEPARATOR=:
   19707   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19708     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19709       PATH_SEPARATOR=';'
   19710   }
   19711 fi
   19712 
   19713 
   19714 # Find who we are.  Look in the path if we contain no directory separator.
   19715 as_myself=
   19716 case $0 in #((
   19717   *[\\/]* ) as_myself=$0 ;;
   19718   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19719 for as_dir in $PATH
   19720 do
   19721   IFS=$as_save_IFS
   19722   case $as_dir in #(((
   19723     '') as_dir=./ ;;
   19724     */) ;;
   19725     *) as_dir=$as_dir/ ;;
   19726   esac
   19727     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19728   done
   19729 IFS=$as_save_IFS
   19730 
   19731      ;;
   19732 esac
   19733 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19734 # in which case we are not to be found in the path.
   19735 if test "x$as_myself" = x; then
   19736   as_myself=$0
   19737 fi
   19738 if test ! -f "$as_myself"; then
   19739   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19740   exit 1
   19741 fi
   19742 
   19743 
   19744 
   19745 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19746 # ----------------------------------------
   19747 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19748 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19749 # script with STATUS, using 1 if that was 0.
   19750 as_fn_error ()
   19751 {
   19752   as_status=$1; test $as_status -eq 0 && as_status=1
   19753   if test "$4"; then
   19754     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19755     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19756   fi
   19757   printf "%s\n" "$as_me: error: $2" >&2
   19758   as_fn_exit $as_status
   19759 } # as_fn_error
   19760 
   19761 
   19762 
   19763 # as_fn_set_status STATUS
   19764 # -----------------------
   19765 # Set $? to STATUS, without forking.
   19766 as_fn_set_status ()
   19767 {
   19768   return $1
   19769 } # as_fn_set_status
   19770 
   19771 # as_fn_exit STATUS
   19772 # -----------------
   19773 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19774 as_fn_exit ()
   19775 {
   19776   set +e
   19777   as_fn_set_status $1
   19778   exit $1
   19779 } # as_fn_exit
   19780 
   19781 # as_fn_unset VAR
   19782 # ---------------
   19783 # Portably unset VAR.
   19784 as_fn_unset ()
   19785 {
   19786   { eval $1=; unset $1;}
   19787 }
   19788 as_unset=as_fn_unset
   19789 
   19790 # as_fn_append VAR VALUE
   19791 # ----------------------
   19792 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19793 # advantage of any shell optimizations that allow amortized linear growth over
   19794 # repeated appends, instead of the typical quadratic growth present in naive
   19795 # implementations.
   19796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19797 then :
   19798   eval 'as_fn_append ()
   19799   {
   19800     eval $1+=\$2
   19801   }'
   19802 else $as_nop
   19803   as_fn_append ()
   19804   {
   19805     eval $1=\$$1\$2
   19806   }
   19807 fi # as_fn_append
   19808 
   19809 # as_fn_arith ARG...
   19810 # ------------------
   19811 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19812 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19813 # must be portable across $(()) and expr.
   19814 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19815 then :
   19816   eval 'as_fn_arith ()
   19817   {
   19818     as_val=$(( $* ))
   19819   }'
   19820 else $as_nop
   19821   as_fn_arith ()
   19822   {
   19823     as_val=`expr "$@" || test $? -eq 1`
   19824   }
   19825 fi # as_fn_arith
   19826 
   19827 
   19828 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19829    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19830   as_expr=expr
   19831 else
   19832   as_expr=false
   19833 fi
   19834 
   19835 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19836   as_basename=basename
   19837 else
   19838   as_basename=false
   19839 fi
   19840 
   19841 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19842   as_dirname=dirname
   19843 else
   19844   as_dirname=false
   19845 fi
   19846 
   19847 as_me=`$as_basename -- "$0" ||
   19848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19849 	 X"$0" : 'X\(//\)$' \| \
   19850 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19851 printf "%s\n" X/"$0" |
   19852     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19853 	    s//\1/
   19854 	    q
   19855 	  }
   19856 	  /^X\/\(\/\/\)$/{
   19857 	    s//\1/
   19858 	    q
   19859 	  }
   19860 	  /^X\/\(\/\).*/{
   19861 	    s//\1/
   19862 	    q
   19863 	  }
   19864 	  s/.*/./; q'`
   19865 
   19866 # Avoid depending upon Character Ranges.
   19867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19870 as_cr_digits='0123456789'
   19871 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19872 
   19873 
   19874 # Determine whether it's possible to make 'echo' print without a newline.
   19875 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   19876 # for compatibility with existing Makefiles.
   19877 ECHO_C= ECHO_N= ECHO_T=
   19878 case `echo -n x` in #(((((
   19879 -n*)
   19880   case `echo 'xy\c'` in
   19881   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19882   xy)  ECHO_C='\c';;
   19883   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19884        ECHO_T='	';;
   19885   esac;;
   19886 *)
   19887   ECHO_N='-n';;
   19888 esac
   19889 
   19890 # For backward compatibility with old third-party macros, we provide
   19891 # the shell variables $as_echo and $as_echo_n.  New code should use
   19892 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   19893 as_echo='printf %s\n'
   19894 as_echo_n='printf %s'
   19895 
   19896 rm -f conf$$ conf$$.exe conf$$.file
   19897 if test -d conf$$.dir; then
   19898   rm -f conf$$.dir/conf$$.file
   19899 else
   19900   rm -f conf$$.dir
   19901   mkdir conf$$.dir 2>/dev/null
   19902 fi
   19903 if (echo >conf$$.file) 2>/dev/null; then
   19904   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19905     as_ln_s='ln -s'
   19906     # ... but there are two gotchas:
   19907     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19908     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19909     # In both cases, we have to default to `cp -pR'.
   19910     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19911       as_ln_s='cp -pR'
   19912   elif ln conf$$.file conf$$ 2>/dev/null; then
   19913     as_ln_s=ln
   19914   else
   19915     as_ln_s='cp -pR'
   19916   fi
   19917 else
   19918   as_ln_s='cp -pR'
   19919 fi
   19920 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19921 rmdir conf$$.dir 2>/dev/null
   19922 
   19923 
   19924 # as_fn_mkdir_p
   19925 # -------------
   19926 # Create "$as_dir" as a directory, including parents if necessary.
   19927 as_fn_mkdir_p ()
   19928 {
   19929 
   19930   case $as_dir in #(
   19931   -*) as_dir=./$as_dir;;
   19932   esac
   19933   test -d "$as_dir" || eval $as_mkdir_p || {
   19934     as_dirs=
   19935     while :; do
   19936       case $as_dir in #(
   19937       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19938       *) as_qdir=$as_dir;;
   19939       esac
   19940       as_dirs="'$as_qdir' $as_dirs"
   19941       as_dir=`$as_dirname -- "$as_dir" ||
   19942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19943 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19944 	 X"$as_dir" : 'X\(//\)$' \| \
   19945 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19946 printf "%s\n" X"$as_dir" |
   19947     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19948 	    s//\1/
   19949 	    q
   19950 	  }
   19951 	  /^X\(\/\/\)[^/].*/{
   19952 	    s//\1/
   19953 	    q
   19954 	  }
   19955 	  /^X\(\/\/\)$/{
   19956 	    s//\1/
   19957 	    q
   19958 	  }
   19959 	  /^X\(\/\).*/{
   19960 	    s//\1/
   19961 	    q
   19962 	  }
   19963 	  s/.*/./; q'`
   19964       test -d "$as_dir" && break
   19965     done
   19966     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19967   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19968 
   19969 
   19970 } # as_fn_mkdir_p
   19971 if mkdir -p . 2>/dev/null; then
   19972   as_mkdir_p='mkdir -p "$as_dir"'
   19973 else
   19974   test -d ./-p && rmdir ./-p
   19975   as_mkdir_p=false
   19976 fi
   19977 
   19978 
   19979 # as_fn_executable_p FILE
   19980 # -----------------------
   19981 # Test if FILE is an executable regular file.
   19982 as_fn_executable_p ()
   19983 {
   19984   test -f "$1" && test -x "$1"
   19985 } # as_fn_executable_p
   19986 as_test_x='test -x'
   19987 as_executable_p=as_fn_executable_p
   19988 
   19989 # Sed expression to map a string onto a valid CPP name.
   19990 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19991 
   19992 # Sed expression to map a string onto a valid variable name.
   19993 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19994 
   19995 
   19996 exec 6>&1
   19997 ## ----------------------------------- ##
   19998 ## Main body of $CONFIG_STATUS script. ##
   19999 ## ----------------------------------- ##
   20000 _ASEOF
   20001 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20002 
   20003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20004 # Save the log message, to keep $0 and so on meaningful, and to
   20005 # report actual input values of CONFIG_FILES etc. instead of their
   20006 # values after options handling.
   20007 ac_log="
   20008 This file was extended by libXvMC $as_me 1.0.13, which was
   20009 generated by GNU Autoconf 2.71.  Invocation command line was
   20010 
   20011   CONFIG_FILES    = $CONFIG_FILES
   20012   CONFIG_HEADERS  = $CONFIG_HEADERS
   20013   CONFIG_LINKS    = $CONFIG_LINKS
   20014   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20015   $ $0 $@
   20016 
   20017 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20018 "
   20019 
   20020 _ACEOF
   20021 
   20022 case $ac_config_files in *"
   20023 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20024 esac
   20025 
   20026 case $ac_config_headers in *"
   20027 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20028 esac
   20029 
   20030 
   20031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20032 # Files that config.status was made for.
   20033 config_files="$ac_config_files"
   20034 config_headers="$ac_config_headers"
   20035 config_commands="$ac_config_commands"
   20036 
   20037 _ACEOF
   20038 
   20039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20040 ac_cs_usage="\
   20041 \`$as_me' instantiates files and other configuration actions
   20042 from templates according to the current configuration.  Unless the files
   20043 and actions are specified as TAGs, all are instantiated by default.
   20044 
   20045 Usage: $0 [OPTION]... [TAG]...
   20046 
   20047   -h, --help       print this help, then exit
   20048   -V, --version    print version number and configuration settings, then exit
   20049       --config     print configuration, then exit
   20050   -q, --quiet, --silent
   20051                    do not print progress messages
   20052   -d, --debug      don't remove temporary files
   20053       --recheck    update $as_me by reconfiguring in the same conditions
   20054       --file=FILE[:TEMPLATE]
   20055                    instantiate the configuration file FILE
   20056       --header=FILE[:TEMPLATE]
   20057                    instantiate the configuration header FILE
   20058 
   20059 Configuration files:
   20060 $config_files
   20061 
   20062 Configuration headers:
   20063 $config_headers
   20064 
   20065 Configuration commands:
   20066 $config_commands
   20067 
   20068 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXvMC/issues>."
   20069 
   20070 _ACEOF
   20071 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20072 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20074 ac_cs_config='$ac_cs_config_escaped'
   20075 ac_cs_version="\\
   20076 libXvMC config.status 1.0.13
   20077 configured by $0, generated by GNU Autoconf 2.71,
   20078   with options \\"\$ac_cs_config\\"
   20079 
   20080 Copyright (C) 2021 Free Software Foundation, Inc.
   20081 This config.status script is free software; the Free Software Foundation
   20082 gives unlimited permission to copy, distribute and modify it."
   20083 
   20084 ac_pwd='$ac_pwd'
   20085 srcdir='$srcdir'
   20086 INSTALL='$INSTALL'
   20087 MKDIR_P='$MKDIR_P'
   20088 AWK='$AWK'
   20089 test -n "\$AWK" || AWK=awk
   20090 _ACEOF
   20091 
   20092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20093 # The default lists apply if the user does not specify any file.
   20094 ac_need_defaults=:
   20095 while test $# != 0
   20096 do
   20097   case $1 in
   20098   --*=?*)
   20099     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20100     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20101     ac_shift=:
   20102     ;;
   20103   --*=)
   20104     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20105     ac_optarg=
   20106     ac_shift=:
   20107     ;;
   20108   *)
   20109     ac_option=$1
   20110     ac_optarg=$2
   20111     ac_shift=shift
   20112     ;;
   20113   esac
   20114 
   20115   case $ac_option in
   20116   # Handling of the options.
   20117   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20118     ac_cs_recheck=: ;;
   20119   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20120     printf "%s\n" "$ac_cs_version"; exit ;;
   20121   --config | --confi | --conf | --con | --co | --c )
   20122     printf "%s\n" "$ac_cs_config"; exit ;;
   20123   --debug | --debu | --deb | --de | --d | -d )
   20124     debug=: ;;
   20125   --file | --fil | --fi | --f )
   20126     $ac_shift
   20127     case $ac_optarg in
   20128     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20129     '') as_fn_error $? "missing file argument" ;;
   20130     esac
   20131     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20132     ac_need_defaults=false;;
   20133   --header | --heade | --head | --hea )
   20134     $ac_shift
   20135     case $ac_optarg in
   20136     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20137     esac
   20138     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20139     ac_need_defaults=false;;
   20140   --he | --h)
   20141     # Conflict between --help and --header
   20142     as_fn_error $? "ambiguous option: \`$1'
   20143 Try \`$0 --help' for more information.";;
   20144   --help | --hel | -h )
   20145     printf "%s\n" "$ac_cs_usage"; exit ;;
   20146   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20147   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20148     ac_cs_silent=: ;;
   20149 
   20150   # This is an error.
   20151   -*) as_fn_error $? "unrecognized option: \`$1'
   20152 Try \`$0 --help' for more information." ;;
   20153 
   20154   *) as_fn_append ac_config_targets " $1"
   20155      ac_need_defaults=false ;;
   20156 
   20157   esac
   20158   shift
   20159 done
   20160 
   20161 ac_configure_extra_args=
   20162 
   20163 if $ac_cs_silent; then
   20164   exec 6>/dev/null
   20165   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20166 fi
   20167 
   20168 _ACEOF
   20169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20170 if \$ac_cs_recheck; then
   20171   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20172   shift
   20173   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20174   CONFIG_SHELL='$SHELL'
   20175   export CONFIG_SHELL
   20176   exec "\$@"
   20177 fi
   20178 
   20179 _ACEOF
   20180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20181 exec 5>>config.log
   20182 {
   20183   echo
   20184   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20185 ## Running $as_me. ##
   20186 _ASBOX
   20187   printf "%s\n" "$ac_log"
   20188 } >&5
   20189 
   20190 _ACEOF
   20191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20192 #
   20193 # INIT-COMMANDS
   20194 #
   20195 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20196 
   20197 
   20198 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20199 # if CDPATH is set.
   20200 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20201 
   20202 sed_quote_subst='$sed_quote_subst'
   20203 double_quote_subst='$double_quote_subst'
   20204 delay_variable_subst='$delay_variable_subst'
   20205 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20206 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20207 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20208 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20209 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20210 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20211 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20212 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20213 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20214 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20215 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20216 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20217 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20218 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20219 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20220 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20221 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20222 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20223 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20224 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20225 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20226 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20227 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20228 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20229 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20230 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20231 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20232 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20233 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20234 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20235 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20236 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20237 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20238 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20239 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20240 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20241 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20242 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20243 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20244 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20245 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20246 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20247 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20248 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20249 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20250 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20251 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20252 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20253 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20254 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20255 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20256 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20257 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20258 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20259 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20260 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20261 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20262 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20263 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"`'
   20264 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20265 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20266 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20267 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20268 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20269 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20270 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20271 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20272 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20273 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20274 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20275 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20276 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20277 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20278 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20279 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20280 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20281 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20282 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20283 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20284 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20285 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20286 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20287 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20288 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20289 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20290 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20291 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20292 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20293 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20294 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20295 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20296 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20297 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20298 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20299 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20300 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20301 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20302 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20303 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20304 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20305 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20306 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20307 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20308 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20309 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20310 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20311 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20312 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20313 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20314 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20315 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20316 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20317 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20318 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20319 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20320 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20321 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20322 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20323 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20324 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20325 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20326 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20327 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20328 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20329 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20330 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20331 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20332 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20333 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20334 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20335 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20336 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20337 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20338 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20339 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20340 
   20341 LTCC='$LTCC'
   20342 LTCFLAGS='$LTCFLAGS'
   20343 compiler='$compiler_DEFAULT'
   20344 
   20345 # A function that is used when there is no print builtin or printf.
   20346 func_fallback_echo ()
   20347 {
   20348   eval 'cat <<_LTECHO_EOF
   20349 \$1
   20350 _LTECHO_EOF'
   20351 }
   20352 
   20353 # Quote evaled strings.
   20354 for var in SHELL \
   20355 ECHO \
   20356 PATH_SEPARATOR \
   20357 SED \
   20358 GREP \
   20359 EGREP \
   20360 FGREP \
   20361 LD \
   20362 NM \
   20363 LN_S \
   20364 lt_SP2NL \
   20365 lt_NL2SP \
   20366 reload_flag \
   20367 OBJDUMP \
   20368 deplibs_check_method \
   20369 file_magic_cmd \
   20370 file_magic_glob \
   20371 want_nocaseglob \
   20372 DLLTOOL \
   20373 sharedlib_from_linklib_cmd \
   20374 AR \
   20375 AR_FLAGS \
   20376 archiver_list_spec \
   20377 STRIP \
   20378 RANLIB \
   20379 CC \
   20380 CFLAGS \
   20381 compiler \
   20382 lt_cv_sys_global_symbol_pipe \
   20383 lt_cv_sys_global_symbol_to_cdecl \
   20384 lt_cv_sys_global_symbol_to_import \
   20385 lt_cv_sys_global_symbol_to_c_name_address \
   20386 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20387 lt_cv_nm_interface \
   20388 nm_file_list_spec \
   20389 lt_cv_truncate_bin \
   20390 lt_prog_compiler_no_builtin_flag \
   20391 lt_prog_compiler_pic \
   20392 lt_prog_compiler_wl \
   20393 lt_prog_compiler_static \
   20394 lt_cv_prog_compiler_c_o \
   20395 need_locks \
   20396 MANIFEST_TOOL \
   20397 DSYMUTIL \
   20398 NMEDIT \
   20399 LIPO \
   20400 OTOOL \
   20401 OTOOL64 \
   20402 shrext_cmds \
   20403 export_dynamic_flag_spec \
   20404 whole_archive_flag_spec \
   20405 compiler_needs_object \
   20406 with_gnu_ld \
   20407 allow_undefined_flag \
   20408 no_undefined_flag \
   20409 hardcode_libdir_flag_spec \
   20410 hardcode_libdir_separator \
   20411 exclude_expsyms \
   20412 include_expsyms \
   20413 file_list_spec \
   20414 variables_saved_for_relink \
   20415 libname_spec \
   20416 library_names_spec \
   20417 soname_spec \
   20418 install_override_mode \
   20419 finish_eval \
   20420 old_striplib \
   20421 striplib; do
   20422     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20423     *[\\\\\\\`\\"\\\$]*)
   20424       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20425       ;;
   20426     *)
   20427       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20428       ;;
   20429     esac
   20430 done
   20431 
   20432 # Double-quote double-evaled strings.
   20433 for var in reload_cmds \
   20434 old_postinstall_cmds \
   20435 old_postuninstall_cmds \
   20436 old_archive_cmds \
   20437 extract_expsyms_cmds \
   20438 old_archive_from_new_cmds \
   20439 old_archive_from_expsyms_cmds \
   20440 archive_cmds \
   20441 archive_expsym_cmds \
   20442 module_cmds \
   20443 module_expsym_cmds \
   20444 export_symbols_cmds \
   20445 prelink_cmds \
   20446 postlink_cmds \
   20447 postinstall_cmds \
   20448 postuninstall_cmds \
   20449 finish_cmds \
   20450 sys_lib_search_path_spec \
   20451 configure_time_dlsearch_path \
   20452 configure_time_lt_sys_library_path; do
   20453     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20454     *[\\\\\\\`\\"\\\$]*)
   20455       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20456       ;;
   20457     *)
   20458       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20459       ;;
   20460     esac
   20461 done
   20462 
   20463 ac_aux_dir='$ac_aux_dir'
   20464 
   20465 # See if we are running on zsh, and set the options that allow our
   20466 # commands through without removal of \ escapes INIT.
   20467 if test -n "\${ZSH_VERSION+set}"; then
   20468    setopt NO_GLOB_SUBST
   20469 fi
   20470 
   20471 
   20472     PACKAGE='$PACKAGE'
   20473     VERSION='$VERSION'
   20474     RM='$RM'
   20475     ofile='$ofile'
   20476 
   20477 
   20478 
   20479 
   20480 _ACEOF
   20481 
   20482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20483 
   20484 # Handling of arguments.
   20485 for ac_config_target in $ac_config_targets
   20486 do
   20487   case $ac_config_target in
   20488     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20489     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20490     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20491     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20492     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   20493     "include/X11/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/Makefile" ;;
   20494     "include/X11/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES include/X11/extensions/Makefile" ;;
   20495     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20496     "wrapper/Makefile") CONFIG_FILES="$CONFIG_FILES wrapper/Makefile" ;;
   20497     "xvmc.pc") CONFIG_FILES="$CONFIG_FILES xvmc.pc" ;;
   20498     "xvmc-wrapper.pc") CONFIG_FILES="$CONFIG_FILES xvmc-wrapper.pc" ;;
   20499 
   20500   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20501   esac
   20502 done
   20503 
   20504 
   20505 # If the user did not use the arguments to specify the items to instantiate,
   20506 # then the envvar interface is used.  Set only those that are not.
   20507 # We use the long form for the default assignment because of an extremely
   20508 # bizarre bug on SunOS 4.1.3.
   20509 if $ac_need_defaults; then
   20510   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20511   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20512   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20513 fi
   20514 
   20515 # Have a temporary directory for convenience.  Make it in the build tree
   20516 # simply because there is no reason against having it here, and in addition,
   20517 # creating and moving files from /tmp can sometimes cause problems.
   20518 # Hook for its removal unless debugging.
   20519 # Note that there is a small window in which the directory will not be cleaned:
   20520 # after its creation but before its name has been assigned to `$tmp'.
   20521 $debug ||
   20522 {
   20523   tmp= ac_tmp=
   20524   trap 'exit_status=$?
   20525   : "${ac_tmp:=$tmp}"
   20526   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20527 ' 0
   20528   trap 'as_fn_exit 1' 1 2 13 15
   20529 }
   20530 # Create a (secure) tmp directory for tmp files.
   20531 
   20532 {
   20533   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20534   test -d "$tmp"
   20535 }  ||
   20536 {
   20537   tmp=./conf$$-$RANDOM
   20538   (umask 077 && mkdir "$tmp")
   20539 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20540 ac_tmp=$tmp
   20541 
   20542 # Set up the scripts for CONFIG_FILES section.
   20543 # No need to generate them if there are no CONFIG_FILES.
   20544 # This happens for instance with `./config.status config.h'.
   20545 if test -n "$CONFIG_FILES"; then
   20546 
   20547 
   20548 ac_cr=`echo X | tr X '\015'`
   20549 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20550 # But we know of no other shell where ac_cr would be empty at this
   20551 # point, so we can use a bashism as a fallback.
   20552 if test "x$ac_cr" = x; then
   20553   eval ac_cr=\$\'\\r\'
   20554 fi
   20555 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20556 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20557   ac_cs_awk_cr='\\r'
   20558 else
   20559   ac_cs_awk_cr=$ac_cr
   20560 fi
   20561 
   20562 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20563 _ACEOF
   20564 
   20565 
   20566 {
   20567   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20568   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20569   echo "_ACEOF"
   20570 } >conf$$subs.sh ||
   20571   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20572 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20573 ac_delim='%!_!# '
   20574 for ac_last_try in false false false false false :; do
   20575   . ./conf$$subs.sh ||
   20576     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20577 
   20578   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20579   if test $ac_delim_n = $ac_delim_num; then
   20580     break
   20581   elif $ac_last_try; then
   20582     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20583   else
   20584     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20585   fi
   20586 done
   20587 rm -f conf$$subs.sh
   20588 
   20589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20590 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20591 _ACEOF
   20592 sed -n '
   20593 h
   20594 s/^/S["/; s/!.*/"]=/
   20595 p
   20596 g
   20597 s/^[^!]*!//
   20598 :repl
   20599 t repl
   20600 s/'"$ac_delim"'$//
   20601 t delim
   20602 :nl
   20603 h
   20604 s/\(.\{148\}\)..*/\1/
   20605 t more1
   20606 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20607 p
   20608 n
   20609 b repl
   20610 :more1
   20611 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20612 p
   20613 g
   20614 s/.\{148\}//
   20615 t nl
   20616 :delim
   20617 h
   20618 s/\(.\{148\}\)..*/\1/
   20619 t more2
   20620 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20621 p
   20622 b
   20623 :more2
   20624 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20625 p
   20626 g
   20627 s/.\{148\}//
   20628 t delim
   20629 ' <conf$$subs.awk | sed '
   20630 /^[^""]/{
   20631   N
   20632   s/\n//
   20633 }
   20634 ' >>$CONFIG_STATUS || ac_write_fail=1
   20635 rm -f conf$$subs.awk
   20636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20637 _ACAWK
   20638 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20639   for (key in S) S_is_set[key] = 1
   20640   FS = ""
   20641 
   20642 }
   20643 {
   20644   line = $ 0
   20645   nfields = split(line, field, "@")
   20646   substed = 0
   20647   len = length(field[1])
   20648   for (i = 2; i < nfields; i++) {
   20649     key = field[i]
   20650     keylen = length(key)
   20651     if (S_is_set[key]) {
   20652       value = S[key]
   20653       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20654       len += length(value) + length(field[++i])
   20655       substed = 1
   20656     } else
   20657       len += 1 + keylen
   20658   }
   20659 
   20660   print line
   20661 }
   20662 
   20663 _ACAWK
   20664 _ACEOF
   20665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20666 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20667   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20668 else
   20669   cat
   20670 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20671   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20672 _ACEOF
   20673 
   20674 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20675 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20676 # trailing colons and then remove the whole line if VPATH becomes empty
   20677 # (actually we leave an empty line to preserve line numbers).
   20678 if test "x$srcdir" = x.; then
   20679   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20680 h
   20681 s///
   20682 s/^/:/
   20683 s/[	 ]*$/:/
   20684 s/:\$(srcdir):/:/g
   20685 s/:\${srcdir}:/:/g
   20686 s/:@srcdir@:/:/g
   20687 s/^:*//
   20688 s/:*$//
   20689 x
   20690 s/\(=[	 ]*\).*/\1/
   20691 G
   20692 s/\n//
   20693 s/^[^=]*=[	 ]*$//
   20694 }'
   20695 fi
   20696 
   20697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20698 fi # test -n "$CONFIG_FILES"
   20699 
   20700 # Set up the scripts for CONFIG_HEADERS section.
   20701 # No need to generate them if there are no CONFIG_HEADERS.
   20702 # This happens for instance with `./config.status Makefile'.
   20703 if test -n "$CONFIG_HEADERS"; then
   20704 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20705 BEGIN {
   20706 _ACEOF
   20707 
   20708 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20709 # here-document in config.status, that substitutes the proper values into
   20710 # config.h.in to produce config.h.
   20711 
   20712 # Create a delimiter string that does not exist in confdefs.h, to ease
   20713 # handling of long lines.
   20714 ac_delim='%!_!# '
   20715 for ac_last_try in false false :; do
   20716   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20717   if test -z "$ac_tt"; then
   20718     break
   20719   elif $ac_last_try; then
   20720     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20721   else
   20722     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20723   fi
   20724 done
   20725 
   20726 # For the awk script, D is an array of macro values keyed by name,
   20727 # likewise P contains macro parameters if any.  Preserve backslash
   20728 # newline sequences.
   20729 
   20730 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20731 sed -n '
   20732 s/.\{148\}/&'"$ac_delim"'/g
   20733 t rset
   20734 :rset
   20735 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20736 t def
   20737 d
   20738 :def
   20739 s/\\$//
   20740 t bsnl
   20741 s/["\\]/\\&/g
   20742 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20743 D["\1"]=" \3"/p
   20744 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20745 d
   20746 :bsnl
   20747 s/["\\]/\\&/g
   20748 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20749 D["\1"]=" \3\\\\\\n"\\/p
   20750 t cont
   20751 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20752 t cont
   20753 d
   20754 :cont
   20755 n
   20756 s/.\{148\}/&'"$ac_delim"'/g
   20757 t clear
   20758 :clear
   20759 s/\\$//
   20760 t bsnlc
   20761 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20762 d
   20763 :bsnlc
   20764 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20765 b cont
   20766 ' <confdefs.h | sed '
   20767 s/'"$ac_delim"'/"\\\
   20768 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20769 
   20770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20771   for (key in D) D_is_set[key] = 1
   20772   FS = ""
   20773 }
   20774 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20775   line = \$ 0
   20776   split(line, arg, " ")
   20777   if (arg[1] == "#") {
   20778     defundef = arg[2]
   20779     mac1 = arg[3]
   20780   } else {
   20781     defundef = substr(arg[1], 2)
   20782     mac1 = arg[2]
   20783   }
   20784   split(mac1, mac2, "(") #)
   20785   macro = mac2[1]
   20786   prefix = substr(line, 1, index(line, defundef) - 1)
   20787   if (D_is_set[macro]) {
   20788     # Preserve the white space surrounding the "#".
   20789     print prefix "define", macro P[macro] D[macro]
   20790     next
   20791   } else {
   20792     # Replace #undef with comments.  This is necessary, for example,
   20793     # in the case of _POSIX_SOURCE, which is predefined and required
   20794     # on some systems where configure will not decide to define it.
   20795     if (defundef == "undef") {
   20796       print "/*", prefix defundef, macro, "*/"
   20797       next
   20798     }
   20799   }
   20800 }
   20801 { print }
   20802 _ACAWK
   20803 _ACEOF
   20804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20805   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20806 fi # test -n "$CONFIG_HEADERS"
   20807 
   20808 
   20809 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20810 shift
   20811 for ac_tag
   20812 do
   20813   case $ac_tag in
   20814   :[FHLC]) ac_mode=$ac_tag; continue;;
   20815   esac
   20816   case $ac_mode$ac_tag in
   20817   :[FHL]*:*);;
   20818   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20819   :[FH]-) ac_tag=-:-;;
   20820   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20821   esac
   20822   ac_save_IFS=$IFS
   20823   IFS=:
   20824   set x $ac_tag
   20825   IFS=$ac_save_IFS
   20826   shift
   20827   ac_file=$1
   20828   shift
   20829 
   20830   case $ac_mode in
   20831   :L) ac_source=$1;;
   20832   :[FH])
   20833     ac_file_inputs=
   20834     for ac_f
   20835     do
   20836       case $ac_f in
   20837       -) ac_f="$ac_tmp/stdin";;
   20838       *) # Look for the file first in the build tree, then in the source tree
   20839 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20840 	 # because $ac_f cannot contain `:'.
   20841 	 test -f "$ac_f" ||
   20842 	   case $ac_f in
   20843 	   [\\/$]*) false;;
   20844 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20845 	   esac ||
   20846 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20847       esac
   20848       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20849       as_fn_append ac_file_inputs " '$ac_f'"
   20850     done
   20851 
   20852     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20853     # use $as_me), people would be surprised to read:
   20854     #    /* config.h.  Generated by config.status.  */
   20855     configure_input='Generated from '`
   20856 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20857 	`' by configure.'
   20858     if test x"$ac_file" != x-; then
   20859       configure_input="$ac_file.  $configure_input"
   20860       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20861 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   20862     fi
   20863     # Neutralize special characters interpreted by sed in replacement strings.
   20864     case $configure_input in #(
   20865     *\&* | *\|* | *\\* )
   20866        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   20867        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20868     *) ac_sed_conf_input=$configure_input;;
   20869     esac
   20870 
   20871     case $ac_tag in
   20872     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20873       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20874     esac
   20875     ;;
   20876   esac
   20877 
   20878   ac_dir=`$as_dirname -- "$ac_file" ||
   20879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20880 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20881 	 X"$ac_file" : 'X\(//\)$' \| \
   20882 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20883 printf "%s\n" X"$ac_file" |
   20884     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20885 	    s//\1/
   20886 	    q
   20887 	  }
   20888 	  /^X\(\/\/\)[^/].*/{
   20889 	    s//\1/
   20890 	    q
   20891 	  }
   20892 	  /^X\(\/\/\)$/{
   20893 	    s//\1/
   20894 	    q
   20895 	  }
   20896 	  /^X\(\/\).*/{
   20897 	    s//\1/
   20898 	    q
   20899 	  }
   20900 	  s/.*/./; q'`
   20901   as_dir="$ac_dir"; as_fn_mkdir_p
   20902   ac_builddir=.
   20903 
   20904 case "$ac_dir" in
   20905 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20906 *)
   20907   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   20908   # A ".." for each directory in $ac_dir_suffix.
   20909   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20910   case $ac_top_builddir_sub in
   20911   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20912   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20913   esac ;;
   20914 esac
   20915 ac_abs_top_builddir=$ac_pwd
   20916 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20917 # for backward compatibility:
   20918 ac_top_builddir=$ac_top_build_prefix
   20919 
   20920 case $srcdir in
   20921   .)  # We are building in place.
   20922     ac_srcdir=.
   20923     ac_top_srcdir=$ac_top_builddir_sub
   20924     ac_abs_top_srcdir=$ac_pwd ;;
   20925   [\\/]* | ?:[\\/]* )  # Absolute name.
   20926     ac_srcdir=$srcdir$ac_dir_suffix;
   20927     ac_top_srcdir=$srcdir
   20928     ac_abs_top_srcdir=$srcdir ;;
   20929   *) # Relative name.
   20930     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20931     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20932     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20933 esac
   20934 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20935 
   20936 
   20937   case $ac_mode in
   20938   :F)
   20939   #
   20940   # CONFIG_FILE
   20941   #
   20942 
   20943   case $INSTALL in
   20944   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20945   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20946   esac
   20947   ac_MKDIR_P=$MKDIR_P
   20948   case $MKDIR_P in
   20949   [\\/$]* | ?:[\\/]* ) ;;
   20950   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20951   esac
   20952 _ACEOF
   20953 
   20954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20955 # If the template does not know about datarootdir, expand it.
   20956 # FIXME: This hack should be removed a few years after 2.60.
   20957 ac_datarootdir_hack=; ac_datarootdir_seen=
   20958 ac_sed_dataroot='
   20959 /datarootdir/ {
   20960   p
   20961   q
   20962 }
   20963 /@datadir@/p
   20964 /@docdir@/p
   20965 /@infodir@/p
   20966 /@localedir@/p
   20967 /@mandir@/p'
   20968 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20969 *datarootdir*) ac_datarootdir_seen=yes;;
   20970 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20972 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20973 _ACEOF
   20974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20975   ac_datarootdir_hack='
   20976   s&@datadir@&$datadir&g
   20977   s&@docdir@&$docdir&g
   20978   s&@infodir@&$infodir&g
   20979   s&@localedir@&$localedir&g
   20980   s&@mandir@&$mandir&g
   20981   s&\\\${datarootdir}&$datarootdir&g' ;;
   20982 esac
   20983 _ACEOF
   20984 
   20985 # Neutralize VPATH when `$srcdir' = `.'.
   20986 # Shell code in configure.ac might set extrasub.
   20987 # FIXME: do we really want to maintain this feature?
   20988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20989 ac_sed_extra="$ac_vpsub
   20990 $extrasub
   20991 _ACEOF
   20992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20993 :t
   20994 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20995 s|@configure_input@|$ac_sed_conf_input|;t t
   20996 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20997 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20998 s&@srcdir@&$ac_srcdir&;t t
   20999 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21000 s&@top_srcdir@&$ac_top_srcdir&;t t
   21001 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21002 s&@builddir@&$ac_builddir&;t t
   21003 s&@abs_builddir@&$ac_abs_builddir&;t t
   21004 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21005 s&@INSTALL@&$ac_INSTALL&;t t
   21006 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21007 $ac_datarootdir_hack
   21008 "
   21009 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21010   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21011 
   21012 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21013   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21014   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21015       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21017 which seems to be undefined.  Please make sure it is defined" >&5
   21018 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21019 which seems to be undefined.  Please make sure it is defined" >&2;}
   21020 
   21021   rm -f "$ac_tmp/stdin"
   21022   case $ac_file in
   21023   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21024   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21025   esac \
   21026   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21027  ;;
   21028   :H)
   21029   #
   21030   # CONFIG_HEADER
   21031   #
   21032   if test x"$ac_file" != x-; then
   21033     {
   21034       printf "%s\n" "/* $configure_input  */" >&1 \
   21035       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21036     } >"$ac_tmp/config.h" \
   21037       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21038     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21039       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21040 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21041     else
   21042       rm -f "$ac_file"
   21043       mv "$ac_tmp/config.h" "$ac_file" \
   21044 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21045     fi
   21046   else
   21047     printf "%s\n" "/* $configure_input  */" >&1 \
   21048       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21049       || as_fn_error $? "could not create -" "$LINENO" 5
   21050   fi
   21051 # Compute "$ac_file"'s index in $config_headers.
   21052 _am_arg="$ac_file"
   21053 _am_stamp_count=1
   21054 for _am_header in $config_headers :; do
   21055   case $_am_header in
   21056     $_am_arg | $_am_arg:* )
   21057       break ;;
   21058     * )
   21059       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21060   esac
   21061 done
   21062 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21063 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21064 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21065 	 X"$_am_arg" : 'X\(//\)$' \| \
   21066 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21067 printf "%s\n" X"$_am_arg" |
   21068     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21069 	    s//\1/
   21070 	    q
   21071 	  }
   21072 	  /^X\(\/\/\)[^/].*/{
   21073 	    s//\1/
   21074 	    q
   21075 	  }
   21076 	  /^X\(\/\/\)$/{
   21077 	    s//\1/
   21078 	    q
   21079 	  }
   21080 	  /^X\(\/\).*/{
   21081 	    s//\1/
   21082 	    q
   21083 	  }
   21084 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21085  ;;
   21086 
   21087   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21088 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21089  ;;
   21090   esac
   21091 
   21092 
   21093   case $ac_file$ac_mode in
   21094     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21095   # Older Autoconf quotes --file arguments for eval, but not when files
   21096   # are listed without --file.  Let's play safe and only enable the eval
   21097   # if we detect the quoting.
   21098   # TODO: see whether this extra hack can be removed once we start
   21099   # requiring Autoconf 2.70 or later.
   21100   case $CONFIG_FILES in #(
   21101   *\'*) :
   21102     eval set x "$CONFIG_FILES" ;; #(
   21103   *) :
   21104     set x $CONFIG_FILES ;; #(
   21105   *) :
   21106      ;;
   21107 esac
   21108   shift
   21109   # Used to flag and report bootstrapping failures.
   21110   am_rc=0
   21111   for am_mf
   21112   do
   21113     # Strip MF so we end up with the name of the file.
   21114     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21115     # Check whether this is an Automake generated Makefile which includes
   21116     # dependency-tracking related rules and includes.
   21117     # Grep'ing the whole file directly is not great: AIX grep has a line
   21118     # limit of 2048, but all sed's we know have understand at least 4000.
   21119     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21120       || continue
   21121     am_dirpart=`$as_dirname -- "$am_mf" ||
   21122 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21123 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21124 	 X"$am_mf" : 'X\(//\)$' \| \
   21125 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21126 printf "%s\n" X"$am_mf" |
   21127     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21128 	    s//\1/
   21129 	    q
   21130 	  }
   21131 	  /^X\(\/\/\)[^/].*/{
   21132 	    s//\1/
   21133 	    q
   21134 	  }
   21135 	  /^X\(\/\/\)$/{
   21136 	    s//\1/
   21137 	    q
   21138 	  }
   21139 	  /^X\(\/\).*/{
   21140 	    s//\1/
   21141 	    q
   21142 	  }
   21143 	  s/.*/./; q'`
   21144     am_filepart=`$as_basename -- "$am_mf" ||
   21145 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21146 	 X"$am_mf" : 'X\(//\)$' \| \
   21147 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21148 printf "%s\n" X/"$am_mf" |
   21149     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21150 	    s//\1/
   21151 	    q
   21152 	  }
   21153 	  /^X\/\(\/\/\)$/{
   21154 	    s//\1/
   21155 	    q
   21156 	  }
   21157 	  /^X\/\(\/\).*/{
   21158 	    s//\1/
   21159 	    q
   21160 	  }
   21161 	  s/.*/./; q'`
   21162     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21163       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21164         | $MAKE -f - am--depfiles" >&5
   21165    (cd "$am_dirpart" \
   21166       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21167         | $MAKE -f - am--depfiles) >&5 2>&5
   21168    ac_status=$?
   21169    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21170    (exit $ac_status); } || am_rc=$?
   21171   done
   21172   if test $am_rc -ne 0; then
   21173     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21174 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21175 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21176     for automatic dependency tracking.  If GNU make was not used, consider
   21177     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21178     necessary).  You can also try re-running configure with the
   21179     '--disable-dependency-tracking' option to at least be able to build
   21180     the package (albeit without support for automatic dependency tracking).
   21181 See \`config.log' for more details" "$LINENO" 5; }
   21182   fi
   21183   { am_dirpart=; unset am_dirpart;}
   21184   { am_filepart=; unset am_filepart;}
   21185   { am_mf=; unset am_mf;}
   21186   { am_rc=; unset am_rc;}
   21187   rm -f conftest-deps.mk
   21188 }
   21189  ;;
   21190     "libtool":C)
   21191 
   21192     # See if we are running on zsh, and set the options that allow our
   21193     # commands through without removal of \ escapes.
   21194     if test -n "${ZSH_VERSION+set}"; then
   21195       setopt NO_GLOB_SUBST
   21196     fi
   21197 
   21198     cfgfile=${ofile}T
   21199     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21200     $RM "$cfgfile"
   21201 
   21202     cat <<_LT_EOF >> "$cfgfile"
   21203 #! $SHELL
   21204 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21205 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21206 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21207 
   21208 # Provide generalized library-building support services.
   21209 # Written by Gordon Matzigkeit, 1996
   21210 
   21211 # Copyright (C) 2014 Free Software Foundation, Inc.
   21212 # This is free software; see the source for copying conditions.  There is NO
   21213 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21214 
   21215 # GNU Libtool is free software; you can redistribute it and/or modify
   21216 # it under the terms of the GNU General Public License as published by
   21217 # the Free Software Foundation; either version 2 of of the License, or
   21218 # (at your option) any later version.
   21219 #
   21220 # As a special exception to the GNU General Public License, if you
   21221 # distribute this file as part of a program or library that is built
   21222 # using GNU Libtool, you may include this file under the  same
   21223 # distribution terms that you use for the rest of that program.
   21224 #
   21225 # GNU Libtool is distributed in the hope that it will be useful, but
   21226 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21227 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21228 # GNU General Public License for more details.
   21229 #
   21230 # You should have received a copy of the GNU General Public License
   21231 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21232 
   21233 
   21234 # The names of the tagged configurations supported by this script.
   21235 available_tags=''
   21236 
   21237 # Configured defaults for sys_lib_dlsearch_path munging.
   21238 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21239 
   21240 # ### BEGIN LIBTOOL CONFIG
   21241 
   21242 # Which release of libtool.m4 was used?
   21243 macro_version=$macro_version
   21244 macro_revision=$macro_revision
   21245 
   21246 # Whether or not to build shared libraries.
   21247 build_libtool_libs=$enable_shared
   21248 
   21249 # Whether or not to build static libraries.
   21250 build_old_libs=$enable_static
   21251 
   21252 # What type of objects to build.
   21253 pic_mode=$pic_mode
   21254 
   21255 # Whether or not to optimize for fast installation.
   21256 fast_install=$enable_fast_install
   21257 
   21258 # Shared archive member basename,for filename based shared library versioning on AIX.
   21259 shared_archive_member_spec=$shared_archive_member_spec
   21260 
   21261 # Shell to use when invoking shell scripts.
   21262 SHELL=$lt_SHELL
   21263 
   21264 # An echo program that protects backslashes.
   21265 ECHO=$lt_ECHO
   21266 
   21267 # The PATH separator for the build system.
   21268 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21269 
   21270 # The host system.
   21271 host_alias=$host_alias
   21272 host=$host
   21273 host_os=$host_os
   21274 
   21275 # The build system.
   21276 build_alias=$build_alias
   21277 build=$build
   21278 build_os=$build_os
   21279 
   21280 # A sed program that does not truncate output.
   21281 SED=$lt_SED
   21282 
   21283 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21284 Xsed="\$SED -e 1s/^X//"
   21285 
   21286 # A grep program that handles long lines.
   21287 GREP=$lt_GREP
   21288 
   21289 # An ERE matcher.
   21290 EGREP=$lt_EGREP
   21291 
   21292 # A literal string matcher.
   21293 FGREP=$lt_FGREP
   21294 
   21295 # A BSD- or MS-compatible name lister.
   21296 NM=$lt_NM
   21297 
   21298 # Whether we need soft or hard links.
   21299 LN_S=$lt_LN_S
   21300 
   21301 # What is the maximum length of a command?
   21302 max_cmd_len=$max_cmd_len
   21303 
   21304 # Object file suffix (normally "o").
   21305 objext=$ac_objext
   21306 
   21307 # Executable file suffix (normally "").
   21308 exeext=$exeext
   21309 
   21310 # whether the shell understands "unset".
   21311 lt_unset=$lt_unset
   21312 
   21313 # turn spaces into newlines.
   21314 SP2NL=$lt_lt_SP2NL
   21315 
   21316 # turn newlines into spaces.
   21317 NL2SP=$lt_lt_NL2SP
   21318 
   21319 # convert \$build file names to \$host format.
   21320 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21321 
   21322 # convert \$build files to toolchain format.
   21323 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21324 
   21325 # An object symbol dumper.
   21326 OBJDUMP=$lt_OBJDUMP
   21327 
   21328 # Method to check whether dependent libraries are shared objects.
   21329 deplibs_check_method=$lt_deplibs_check_method
   21330 
   21331 # Command to use when deplibs_check_method = "file_magic".
   21332 file_magic_cmd=$lt_file_magic_cmd
   21333 
   21334 # How to find potential files when deplibs_check_method = "file_magic".
   21335 file_magic_glob=$lt_file_magic_glob
   21336 
   21337 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21338 want_nocaseglob=$lt_want_nocaseglob
   21339 
   21340 # DLL creation program.
   21341 DLLTOOL=$lt_DLLTOOL
   21342 
   21343 # Command to associate shared and link libraries.
   21344 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21345 
   21346 # The archiver.
   21347 AR=$lt_AR
   21348 
   21349 # Flags to create an archive.
   21350 AR_FLAGS=$lt_AR_FLAGS
   21351 
   21352 # How to feed a file listing to the archiver.
   21353 archiver_list_spec=$lt_archiver_list_spec
   21354 
   21355 # A symbol stripping program.
   21356 STRIP=$lt_STRIP
   21357 
   21358 # Commands used to install an old-style archive.
   21359 RANLIB=$lt_RANLIB
   21360 old_postinstall_cmds=$lt_old_postinstall_cmds
   21361 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21362 
   21363 # Whether to use a lock for old archive extraction.
   21364 lock_old_archive_extraction=$lock_old_archive_extraction
   21365 
   21366 # A C compiler.
   21367 LTCC=$lt_CC
   21368 
   21369 # LTCC compiler flags.
   21370 LTCFLAGS=$lt_CFLAGS
   21371 
   21372 # Take the output of nm and produce a listing of raw symbols and C names.
   21373 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21374 
   21375 # Transform the output of nm in a proper C declaration.
   21376 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21377 
   21378 # Transform the output of nm into a list of symbols to manually relocate.
   21379 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21380 
   21381 # Transform the output of nm in a C name address pair.
   21382 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21383 
   21384 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21385 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21386 
   21387 # The name lister interface.
   21388 nm_interface=$lt_lt_cv_nm_interface
   21389 
   21390 # Specify filename containing input files for \$NM.
   21391 nm_file_list_spec=$lt_nm_file_list_spec
   21392 
   21393 # The root where to search for dependent libraries,and where our libraries should be installed.
   21394 lt_sysroot=$lt_sysroot
   21395 
   21396 # Command to truncate a binary pipe.
   21397 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21398 
   21399 # The name of the directory that contains temporary libtool files.
   21400 objdir=$objdir
   21401 
   21402 # Used to examine libraries when file_magic_cmd begins with "file".
   21403 MAGIC_CMD=$MAGIC_CMD
   21404 
   21405 # Must we lock files when doing compilation?
   21406 need_locks=$lt_need_locks
   21407 
   21408 # Manifest tool.
   21409 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21410 
   21411 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21412 DSYMUTIL=$lt_DSYMUTIL
   21413 
   21414 # Tool to change global to local symbols on Mac OS X.
   21415 NMEDIT=$lt_NMEDIT
   21416 
   21417 # Tool to manipulate fat objects and archives on Mac OS X.
   21418 LIPO=$lt_LIPO
   21419 
   21420 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21421 OTOOL=$lt_OTOOL
   21422 
   21423 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21424 OTOOL64=$lt_OTOOL64
   21425 
   21426 # Old archive suffix (normally "a").
   21427 libext=$libext
   21428 
   21429 # Shared library suffix (normally ".so").
   21430 shrext_cmds=$lt_shrext_cmds
   21431 
   21432 # The commands to extract the exported symbol list from a shared archive.
   21433 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21434 
   21435 # Variables whose values should be saved in libtool wrapper scripts and
   21436 # restored at link time.
   21437 variables_saved_for_relink=$lt_variables_saved_for_relink
   21438 
   21439 # Do we need the "lib" prefix for modules?
   21440 need_lib_prefix=$need_lib_prefix
   21441 
   21442 # Do we need a version for libraries?
   21443 need_version=$need_version
   21444 
   21445 # Library versioning type.
   21446 version_type=$version_type
   21447 
   21448 # Shared library runtime path variable.
   21449 runpath_var=$runpath_var
   21450 
   21451 # Shared library path variable.
   21452 shlibpath_var=$shlibpath_var
   21453 
   21454 # Is shlibpath searched before the hard-coded library search path?
   21455 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21456 
   21457 # Format of library name prefix.
   21458 libname_spec=$lt_libname_spec
   21459 
   21460 # List of archive names.  First name is the real one, the rest are links.
   21461 # The last name is the one that the linker finds with -lNAME
   21462 library_names_spec=$lt_library_names_spec
   21463 
   21464 # The coded name of the library, if different from the real name.
   21465 soname_spec=$lt_soname_spec
   21466 
   21467 # Permission mode override for installation of shared libraries.
   21468 install_override_mode=$lt_install_override_mode
   21469 
   21470 # Command to use after installation of a shared archive.
   21471 postinstall_cmds=$lt_postinstall_cmds
   21472 
   21473 # Command to use after uninstallation of a shared archive.
   21474 postuninstall_cmds=$lt_postuninstall_cmds
   21475 
   21476 # Commands used to finish a libtool library installation in a directory.
   21477 finish_cmds=$lt_finish_cmds
   21478 
   21479 # As "finish_cmds", except a single script fragment to be evaled but
   21480 # not shown.
   21481 finish_eval=$lt_finish_eval
   21482 
   21483 # Whether we should hardcode library paths into libraries.
   21484 hardcode_into_libs=$hardcode_into_libs
   21485 
   21486 # Compile-time system search path for libraries.
   21487 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21488 
   21489 # Detected run-time system search path for libraries.
   21490 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21491 
   21492 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21493 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21494 
   21495 # Whether dlopen is supported.
   21496 dlopen_support=$enable_dlopen
   21497 
   21498 # Whether dlopen of programs is supported.
   21499 dlopen_self=$enable_dlopen_self
   21500 
   21501 # Whether dlopen of statically linked programs is supported.
   21502 dlopen_self_static=$enable_dlopen_self_static
   21503 
   21504 # Commands to strip libraries.
   21505 old_striplib=$lt_old_striplib
   21506 striplib=$lt_striplib
   21507 
   21508 
   21509 # The linker used to build libraries.
   21510 LD=$lt_LD
   21511 
   21512 # How to create reloadable object files.
   21513 reload_flag=$lt_reload_flag
   21514 reload_cmds=$lt_reload_cmds
   21515 
   21516 # Commands used to build an old-style archive.
   21517 old_archive_cmds=$lt_old_archive_cmds
   21518 
   21519 # A language specific compiler.
   21520 CC=$lt_compiler
   21521 
   21522 # Is the compiler the GNU compiler?
   21523 with_gcc=$GCC
   21524 
   21525 # Compiler flag to turn off builtin functions.
   21526 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21527 
   21528 # Additional compiler flags for building library objects.
   21529 pic_flag=$lt_lt_prog_compiler_pic
   21530 
   21531 # How to pass a linker flag through the compiler.
   21532 wl=$lt_lt_prog_compiler_wl
   21533 
   21534 # Compiler flag to prevent dynamic linking.
   21535 link_static_flag=$lt_lt_prog_compiler_static
   21536 
   21537 # Does compiler simultaneously support -c and -o options?
   21538 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21539 
   21540 # Whether or not to add -lc for building shared libraries.
   21541 build_libtool_need_lc=$archive_cmds_need_lc
   21542 
   21543 # Whether or not to disallow shared libs when runtime libs are static.
   21544 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21545 
   21546 # Compiler flag to allow reflexive dlopens.
   21547 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21548 
   21549 # Compiler flag to generate shared objects directly from archives.
   21550 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21551 
   21552 # Whether the compiler copes with passing no objects directly.
   21553 compiler_needs_object=$lt_compiler_needs_object
   21554 
   21555 # Create an old-style archive from a shared archive.
   21556 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21557 
   21558 # Create a temporary old-style archive to link instead of a shared archive.
   21559 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21560 
   21561 # Commands used to build a shared archive.
   21562 archive_cmds=$lt_archive_cmds
   21563 archive_expsym_cmds=$lt_archive_expsym_cmds
   21564 
   21565 # Commands used to build a loadable module if different from building
   21566 # a shared archive.
   21567 module_cmds=$lt_module_cmds
   21568 module_expsym_cmds=$lt_module_expsym_cmds
   21569 
   21570 # Whether we are building with GNU ld or not.
   21571 with_gnu_ld=$lt_with_gnu_ld
   21572 
   21573 # Flag that allows shared libraries with undefined symbols to be built.
   21574 allow_undefined_flag=$lt_allow_undefined_flag
   21575 
   21576 # Flag that enforces no undefined symbols.
   21577 no_undefined_flag=$lt_no_undefined_flag
   21578 
   21579 # Flag to hardcode \$libdir into a binary during linking.
   21580 # This must work even if \$libdir does not exist
   21581 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21582 
   21583 # Whether we need a single "-rpath" flag with a separated argument.
   21584 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21585 
   21586 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21587 # DIR into the resulting binary.
   21588 hardcode_direct=$hardcode_direct
   21589 
   21590 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21591 # DIR into the resulting binary and the resulting library dependency is
   21592 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21593 # library is relocated.
   21594 hardcode_direct_absolute=$hardcode_direct_absolute
   21595 
   21596 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21597 # into the resulting binary.
   21598 hardcode_minus_L=$hardcode_minus_L
   21599 
   21600 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21601 # into the resulting binary.
   21602 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21603 
   21604 # Set to "yes" if building a shared library automatically hardcodes DIR
   21605 # into the library and all subsequent libraries and executables linked
   21606 # against it.
   21607 hardcode_automatic=$hardcode_automatic
   21608 
   21609 # Set to yes if linker adds runtime paths of dependent libraries
   21610 # to runtime path list.
   21611 inherit_rpath=$inherit_rpath
   21612 
   21613 # Whether libtool must link a program against all its dependency libraries.
   21614 link_all_deplibs=$link_all_deplibs
   21615 
   21616 # Set to "yes" if exported symbols are required.
   21617 always_export_symbols=$always_export_symbols
   21618 
   21619 # The commands to list exported symbols.
   21620 export_symbols_cmds=$lt_export_symbols_cmds
   21621 
   21622 # Symbols that should not be listed in the preloaded symbols.
   21623 exclude_expsyms=$lt_exclude_expsyms
   21624 
   21625 # Symbols that must always be exported.
   21626 include_expsyms=$lt_include_expsyms
   21627 
   21628 # Commands necessary for linking programs (against libraries) with templates.
   21629 prelink_cmds=$lt_prelink_cmds
   21630 
   21631 # Commands necessary for finishing linking programs.
   21632 postlink_cmds=$lt_postlink_cmds
   21633 
   21634 # Specify filename containing input files.
   21635 file_list_spec=$lt_file_list_spec
   21636 
   21637 # How to hardcode a shared library path into an executable.
   21638 hardcode_action=$hardcode_action
   21639 
   21640 # ### END LIBTOOL CONFIG
   21641 
   21642 _LT_EOF
   21643 
   21644     cat <<'_LT_EOF' >> "$cfgfile"
   21645 
   21646 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21647 
   21648 # func_munge_path_list VARIABLE PATH
   21649 # -----------------------------------
   21650 # VARIABLE is name of variable containing _space_ separated list of
   21651 # directories to be munged by the contents of PATH, which is string
   21652 # having a format:
   21653 # "DIR[:DIR]:"
   21654 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21655 # ":DIR[:DIR]"
   21656 #       string "DIR[ DIR]" will be appended to VARIABLE
   21657 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21658 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21659 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21660 # "DIR[:DIR]"
   21661 #       VARIABLE will be replaced by "DIR[ DIR]"
   21662 func_munge_path_list ()
   21663 {
   21664     case x$2 in
   21665     x)
   21666         ;;
   21667     *:)
   21668         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21669         ;;
   21670     x:*)
   21671         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21672         ;;
   21673     *::*)
   21674         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21675         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21676         ;;
   21677     *)
   21678         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21679         ;;
   21680     esac
   21681 }
   21682 
   21683 
   21684 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21685 func_cc_basename ()
   21686 {
   21687     for cc_temp in $*""; do
   21688       case $cc_temp in
   21689         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21690         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21691         \-*) ;;
   21692         *) break;;
   21693       esac
   21694     done
   21695     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21696 }
   21697 
   21698 
   21699 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21700 
   21701 _LT_EOF
   21702 
   21703   case $host_os in
   21704   aix3*)
   21705     cat <<\_LT_EOF >> "$cfgfile"
   21706 # AIX sometimes has problems with the GCC collect2 program.  For some
   21707 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21708 # vanish in a puff of smoke.
   21709 if test set != "${COLLECT_NAMES+set}"; then
   21710   COLLECT_NAMES=
   21711   export COLLECT_NAMES
   21712 fi
   21713 _LT_EOF
   21714     ;;
   21715   esac
   21716 
   21717 
   21718 
   21719 ltmain=$ac_aux_dir/ltmain.sh
   21720 
   21721 
   21722   # We use sed instead of cat because bash on DJGPP gets confused if
   21723   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21724   # text mode, it properly converts lines to CR/LF.  This bash problem
   21725   # is reportedly fixed, but why not run on old versions too?
   21726   sed '$q' "$ltmain" >> "$cfgfile" \
   21727      || (rm -f "$cfgfile"; exit 1)
   21728 
   21729    mv -f "$cfgfile" "$ofile" ||
   21730     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21731   chmod +x "$ofile"
   21732 
   21733  ;;
   21734 
   21735   esac
   21736 done # for ac_tag
   21737 
   21738 
   21739 as_fn_exit 0
   21740 _ACEOF
   21741 ac_clean_files=$ac_clean_files_save
   21742 
   21743 test $ac_write_fail = 0 ||
   21744   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21745 
   21746 
   21747 # configure is writing to config.log, and then calls config.status.
   21748 # config.status does its own redirection, appending to config.log.
   21749 # Unfortunately, on DOS this fails, as config.log is still kept open
   21750 # by configure, so config.status won't be able to write to it; its
   21751 # output is simply discarded.  So we exec the FD to /dev/null,
   21752 # effectively closing config.log, so it can be properly (re)opened and
   21753 # appended to by config.status.  When coming back to configure, we
   21754 # need to make the FD available again.
   21755 if test "$no_create" != yes; then
   21756   ac_cs_success=:
   21757   ac_config_status_args=
   21758   test "$silent" = yes &&
   21759     ac_config_status_args="$ac_config_status_args --quiet"
   21760   exec 5>/dev/null
   21761   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21762   exec 5>>config.log
   21763   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21764   # would make configure fail if this is the last instruction.
   21765   $ac_cs_success || as_fn_exit 1
   21766 fi
   21767 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21769 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21770 fi
   21771 
   21772 
   21773